[Lunar-commits] r19427 - in moonbase/trunk/zbeta: . libdrm-cvs mesa-lib

Moritz Heiber moe at lunar-linux.org
Fri Mar 24 22:15:47 UTC 2006


Author: moe
Date: 2006-03-24 22:15:45 +0000 (Fri, 24 Mar 2006)
New Revision: 19427

Added:
   moonbase/trunk/zbeta/libdrm-cvs/
   moonbase/trunk/zbeta/libdrm-cvs/BUILD
   moonbase/trunk/zbeta/libdrm-cvs/DETAILS
Modified:
   moonbase/trunk/zbeta/mesa-lib/BUILD
   moonbase/trunk/zbeta/mesa-lib/DETAILS
Log:
Small adjustment to mesa-lib to use the real cvs sources.

Added libdrm-cvs. They're needed to build the kernel DRM part
of the DRI infrastructure. Only works with linux-2.6* for now.
I'm planning on adding support for 2.4.x later.

Again, this does not work yet .. not even with glxgears or info.



Added: moonbase/trunk/zbeta/libdrm-cvs/BUILD
===================================================================
--- moonbase/trunk/zbeta/libdrm-cvs/BUILD	                        (rev 0)
+++ moonbase/trunk/zbeta/libdrm-cvs/BUILD	2006-03-24 22:15:45 UTC (rev 19427)
@@ -0,0 +1,14 @@
+(
+
+  ./autogen.sh  &&
+  default_build	&&
+
+  if $(uname -r | grep -q "^2\.6") ; then
+	cd linux-core;
+	make;
+	mkdir -p /lib/modules/$(uname -r)/kernel/drivers/char/drm;
+	cp *.ko /lib/modules/$(uname -r)/kernel/drivers/char/drm;
+	depmod -a $(uname -r);
+  fi
+
+) > $C_FIFO 2>&1

Added: moonbase/trunk/zbeta/libdrm-cvs/DETAILS
===================================================================
--- moonbase/trunk/zbeta/libdrm-cvs/DETAILS	                        (rev 0)
+++ moonbase/trunk/zbeta/libdrm-cvs/DETAILS	2006-03-24 22:15:45 UTC (rev 19427)
@@ -0,0 +1,13 @@
+          MODULE=libdrm-cvs
+         VERSION=beta
+          SOURCE=$MODULE-$VERSION.tar.bz2
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/drm
+      SOURCE_URL=cvs://:pserver:anonymous@anoncvs.freedesktop.org:/cvs/dri:drm
+   MODULE_PREFIX=${X11R7_PREFIX:-/usr/X11R7}
+        WEB_SITE=http://www.freedesktop.org/
+         ENTERED=20060120
+         UPDATED=20060120
+           SHORT=""
+cat << EOF
+EOF
+

Modified: moonbase/trunk/zbeta/mesa-lib/BUILD
===================================================================
--- moonbase/trunk/zbeta/mesa-lib/BUILD	2006-03-24 22:05:19 UTC (rev 19426)
+++ moonbase/trunk/zbeta/mesa-lib/BUILD	2006-03-24 22:15:45 UTC (rev 19427)
@@ -4,12 +4,12 @@
 
   find . -type f -exec sed -i 's@/usr/X11R6@/usr/X11 at g' {} \; &&
   sed -i 's at lib/modules at lib/X11/modules@' src/glx/x11/dri_glx.c	&&
-  
+   
   unpack $SOURCE2 &&
 
-  make linux-dri CFLAGS="${CFLAGS}" \
-		 CXXFLAGS="${CXXFLAGS}" \
-		 DRM_SOURCE_PATH="${SOURCE_DIRECTORY}/drm" &&
+  make linux-dri && #CFLAGS="${CFLAGS}" \
+		 #CXXFLAGS="${CXXFLAGS}" \
+		 #DRM_SOURCE_PATH="${SOURCE_DIRECTORY}/drm" &&
 
   prepare_install &&
 

Modified: moonbase/trunk/zbeta/mesa-lib/DETAILS
===================================================================
--- moonbase/trunk/zbeta/mesa-lib/DETAILS	2006-03-24 22:05:19 UTC (rev 19426)
+++ moonbase/trunk/zbeta/mesa-lib/DETAILS	2006-03-24 22:15:45 UTC (rev 19427)
@@ -1,7 +1,7 @@
 	  MODULE=mesa-lib
 	 VERSION=6.4.2
 	  SOURCE=MesaLib-$VERSION.tar.bz2
-	 SOURCE2=libdrm-beta.tar.bz2
+	 SOURCE2=libdrm-cvs-beta.tar.bz2
          SOURCE3=MesaDemos-$VERSION.tar.bz2
 	 SOURCE4=MesaGLUT-$VERSION.tar.bz2
 SOURCE_DIRECTORY=$BUILD_DIRECTORY/Mesa-$VERSION



More information about the Lunar-commits mailing list