[arch-commits] Commit in nouveau-drm/repos (4 files)

andyrtr at archlinux.org andyrtr at archlinux.org
Sat Jun 13 05:16:00 EDT 2009


    Date: Saturday, June 13, 2009 @ 05:15:59
  Author: andyrtr
Revision: 42332

Merged revisions 42330 via svnmerge from 
svn+ssh://svn.archlinux.org/srv/svn-packages/nouveau-drm/trunk

........
  r42330 | andyrtr | 2009-06-13 09:15:24 +0000 (Sat, 13 Jun 2009) | 2 lines
  
  upgpkg: nouveau-drm 20090612-1
      update kernel module, include libdrm-git that is required by a recent driver shot
........

Added:
  nouveau-drm/repos/testing-x86_64/COPYING
    (from rev 42330, nouveau-drm/trunk/COPYING)
Modified:
  nouveau-drm/repos/testing-x86_64/	(properties)
  nouveau-drm/repos/testing-x86_64/PKGBUILD
  nouveau-drm/repos/testing-x86_64/dont_check_for_pthread.patch

------------------------------+
 COPYING                      |   48 +++++++++++++++++++++++++++++++++++++++++
 PKGBUILD                     |   26 ++++++++++++++--------
 dont_check_for_pthread.patch |   40 ++++++++++++++++++++++++++++++++--
 3 files changed, 103 insertions(+), 11 deletions(-)


Property changes on: nouveau-drm/repos/testing-x86_64
___________________________________________________________________
Modified: svnmerge-integrated
   - /nouveau-drm/trunk:1-42311
   + /nouveau-drm/trunk:1-42331

Copied: nouveau-drm/repos/testing-x86_64/COPYING (from rev 42330, nouveau-drm/trunk/COPYING)
===================================================================
--- testing-x86_64/COPYING	                        (rev 0)
+++ testing-x86_64/COPYING	2009-06-13 09:15:59 UTC (rev 42332)
@@ -0,0 +1,48 @@
+ Copyright 2005 Adam Jackson.
+
+ Permission is hereby granted, free of charge, to any person obtaining
+ a copy of this software and associated documentation files (the
+ "Software"), to deal in the Software without restriction, including
+ without limitation on the rights to use, copy, modify, merge,
+ publish, distribute, sub license, and/or sell copies of the Software,
+ and to permit persons to whom the Software is furnished to do so,
+ subject to the following conditions:
+
+ The above copyright notice and this permission notice (including the
+ next paragraph) shall be included in all copies or substantial
+ portions of the Software.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ NON-INFRINGEMENT.  IN NO EVENT SHALL ADAM JACKSON BE LIABLE FOR ANY
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+------------------------------------------------------------------------
+
+ Copyright 1999 Precision Insight, Inc., Cedar Park, Texas.
+ Copyright 2000 VA Linux Systems, Inc., Sunnyvale, California.
+ All Rights Reserved.
+
+ Permission is hereby granted, free of charge, to any person obtaining
+ a copy of this software and associated documentation files (the
+ "Software"), to deal in the Software without restriction, including
+ without limitation the rights to use, copy, modify, merge, publish,
+ distribute, sublicense, and/or sell copies of the Software, and to
+ permit persons to whom the Software is furnished to do so, subject to
+ the following conditions:
+
+ The above copyright notice and this permission notice (including the
+ next paragraph) shall be included in all copies or substantial
+ portions of the Software.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ NONINFRINGEMENT.  IN NO EVENT SHALL PRECISION INSIGHT AND/OR ITS
+ SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ DEALINGS IN THE SOFTWARE.

Modified: testing-x86_64/PKGBUILD
===================================================================
--- testing-x86_64/PKGBUILD	2009-06-13 09:15:26 UTC (rev 42331)
+++ testing-x86_64/PKGBUILD	2009-06-13 09:15:59 UTC (rev 42332)
@@ -14,12 +14,16 @@
 depends=("kernel26>=2.6.30" "kernel26<2.6.31" 'udev>=141' 'cairo')
 install=${pkgname}.install
 license=('GPL')
-md5sums=()
+replaces=('libdrm' 'libdrm-git')
+provides=('libdrm' 'libdrm-git')
+conflicts=('libdrm' 'libdrm-git')
 source=(ftp://ftp.archlinux.org/other/$pkgname/mesa-drm-${_gitdate}.tar.bz2
-	dont_check_for_pthread.patch)
+	dont_check_for_pthread.patch COPYING)
 md5sums=('b673761e0e64546638fc533b91da801a'
-         '237f3cdb1bfc5c62bfa7b038b7a20b2a')
-
+         'e5f8f3b9f6357c2f82950cdfb8e9c9ec'
+         'ba65e71c481b94ef0fb6c23c7f21ffa1')
+options=('!libtool')
+                  
 build() {
   # get git code
 #  cd ${srcdir}
@@ -28,12 +32,17 @@
 #  git archive --prefix=mesa-drm-${_gitdate}/ --format=tar HEAD | bzip2 > ../../mesa-drm-${_gitdate}.tar.bz2
 #  return 1
 
-  # build the drm kernel module
-  # make sure the system kernel doesn't have "drm" set to "yes", 
-  # default Arch kernel26 has it as module drm.ko, make sure it's not loaded
   cd ${srcdir}/mesa-drm-${_gitdate}
-  patch -Np0 -i ${srcdir}/dont_check_for_pthread.patch || return 1
+  patch -Np1 -i ${srcdir}/dont_check_for_pthread.patch || return 1
   ./autogen.sh --prefix=/usr --enable-nouveau-experimental-api --enable-udev
+  
+  # libdrm-git now
+  make || return 1
+  make DESTDIR="${pkgdir}" install || return 1
+  install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -m644 "${srcdir}/COPYING" "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1
+
+  # build the drm kernel module
   cd linux-core
   make DRM_MODULES="nouveau" || return 1
   install -D -m 0644 drm.ko ${pkgdir}/lib/modules/`uname -r`/updates/drm.ko || return 1
@@ -43,4 +52,3 @@
   # install script
   sed -i -e "s/KERNEL_VERSION='.*'/KERNEL_VERSION='${_kernver}'/" ${startdir}/${pkgname}.install
 }
-

Modified: testing-x86_64/dont_check_for_pthread.patch
===================================================================
--- testing-x86_64/dont_check_for_pthread.patch	2009-06-13 09:15:26 UTC (rev 42331)
+++ testing-x86_64/dont_check_for_pthread.patch	2009-06-13 09:15:59 UTC (rev 42332)
@@ -1,5 +1,6 @@
---- configure.ac	2008-10-25 18:15:50.000000000 +0200
-+++ configure.ac.new	2008-10-26 21:33:53.000000000 +0100
+diff -ru libdrm-2.4.0/configure.ac libdrm-2.4.0-nostubs/configure.ac
+--- libdrm-2.4.0/configure.ac	2008-10-09 21:57:09.000000000 +0200
++++ libdrm-2.4.0-nostubs/configure.ac	2008-10-21 10:48:24.000000000 +0200
 @@ -32,10 +32,6 @@
  AC_HEADER_STDC
  AC_SYS_LARGEFILE
@@ -11,3 +12,38 @@
  pkgconfigdir=${libdir}/pkgconfig
  AC_SUBST(pkgconfigdir)
  AC_ARG_ENABLE(udev,	AS_HELP_STRING([--enable-udev],
+diff -ru libdrm-2.4.0/libdrm/intel/Makefile.am libdrm-2.4.0-nostubs/libdrm/intel/Makefile.am
+--- libdrm-2.4.0/libdrm/intel/Makefile.am	2008-10-14 01:39:32.000000000 +0200
++++ libdrm-2.4.0-nostubs/libdrm/intel/Makefile.am	2008-10-21 10:49:00.000000000 +0200
+@@ -26,13 +26,12 @@
+ 	$(WARN_CFLAGS) \
+ 	-I$(top_srcdir)/libdrm \
+ 	-I$(top_srcdir)/libdrm/intel \
+-	$(PTHREADSTUBS_CFLAGS) \
+ 	-I$(top_srcdir)/shared-core
+ 
+ libdrm_intel_la_LTLIBRARIES = libdrm_intel.la
+ libdrm_intel_ladir = $(libdir)
+ libdrm_intel_la_LDFLAGS = -version-number 1:0:0 -no-undefined
+-libdrm_intel_la_LIBADD = ../libdrm.la @PTHREADSTUBS_LIBS@
++libdrm_intel_la_LIBADD = ../libdrm.la
+ 
+ libdrm_intel_la_SOURCES = \
+ 	intel_bufmgr.c \
+--- libdrm-2.4.5/libdrm/nouveau/Makefile.am.orig	2009-02-28 19:06:24.000000000 +0000
++++ libdrm-2.4.5/libdrm/nouveau/Makefile.am	2009-02-28 19:06:33.000000000 +0000
+@@ -2,13 +2,12 @@
+ 	$(WARN_CFLAGS) \
+ 	-I$(top_srcdir)/libdrm \
+ 	-I$(top_srcdir)/libdrm/nouveau \
+-	$(PTHREADSTUBS_CFLAGS) \
+ 	-I$(top_srcdir)/shared-core
+ 
+ libdrm_nouveau_la_LTLIBRARIES = libdrm_nouveau.la
+ libdrm_nouveau_ladir = $(libdir)
+ libdrm_nouveau_la_LDFLAGS = -version-number 1:0:0 -no-undefined
+-libdrm_nouveau_la_LIBADD = ../libdrm.la @PTHREADSTUBS_LIBS@
++libdrm_nouveau_la_LIBADD = ../libdrm.la
+ 
+ libdrm_nouveau_la_SOURCES = \
+ 			    nouveau_device.c \



More information about the arch-commits mailing list