[Lunar-commits] r16335 - in moonbase/trunk/zbeta: . XOrg-drm-cvs
Auke Kok
sofar at lunar-linux.org
Sat Sep 3 15:40:54 UTC 2005
Author: sofar
Date: 2005-09-03 15:40:53 +0000 (Sat, 03 Sep 2005)
New Revision: 16335
Added:
moonbase/trunk/zbeta/XOrg-drm-cvs/
moonbase/trunk/zbeta/XOrg-drm-cvs/BUILD
moonbase/trunk/zbeta/XOrg-drm-cvs/CONFIGURE
moonbase/trunk/zbeta/XOrg-drm-cvs/CONFLICTS
moonbase/trunk/zbeta/XOrg-drm-cvs/DEPENDS
moonbase/trunk/zbeta/XOrg-drm-cvs/DETAILS
moonbase/trunk/zbeta/XOrg-drm-cvs/drivers
Log:
Adding the -cvs version of XOrg-drm, which installs the XOrg/Open Source DRM kernel modules =^).
Added: moonbase/trunk/zbeta/XOrg-drm-cvs/BUILD
===================================================================
--- moonbase/trunk/zbeta/XOrg-drm-cvs/BUILD 2005-09-03 13:37:40 UTC (rev 16334)
+++ moonbase/trunk/zbeta/XOrg-drm-cvs/BUILD 2005-09-03 15:40:53 UTC (rev 16335)
@@ -0,0 +1,20 @@
+(
+
+ KVER=$(grep UTS_RELEASE /usr/src/linux/include/linux/version.h | cut -d '"' -f2)
+ KSUFFIX=o
+ if echo $KVER | grep -q "^2.6." ; then
+ KSUFFIX=ko
+ TWOSIX="-2.6"
+ fi
+
+ ./autogen.sh &&
+ cd linux$TWOSIX &&
+ make DRM_MODULES="$DRM_MODULES" &&
+ prepare_install &&
+ mkdir -p /lib/modules/$KVER/kernel/drivers/drm &&
+ for MOD in $DRM_MODULES; do
+ install $MOD.$KSUFFIX /lib/modules/$KVER/kernel/drivers/drm/
+ done &&
+ depmod -a $KVER
+
+) > $C_FIFO 2>&1
Added: moonbase/trunk/zbeta/XOrg-drm-cvs/CONFIGURE
===================================================================
--- moonbase/trunk/zbeta/XOrg-drm-cvs/CONFIGURE 2005-09-03 13:37:40 UTC (rev 16334)
+++ moonbase/trunk/zbeta/XOrg-drm-cvs/CONFIGURE 2005-09-03 15:40:53 UTC (rev 16335)
@@ -0,0 +1,29 @@
+# only lin -r will trigger the driver chooser
+if [ -n "$DRM_MODULES" ] || [ -n "$RECONFIGURE" ] || query "Select DRM drivers to build?" n ; then
+ ALL_DRM_MODULES=$(cat $SCRIPT_DIRECTORY/drivers | cut -d: -f1)
+ DRM_MODULES=$(get_module_config DRM_MODULES)
+ if [ -z "$DRM_MODULES" ]; then
+ DRM_MODULES=$(grep ':on$' $SCRIPT_DIRECTORY/drivers | cut -d: -f1)
+ fi
+
+ # if it's empty we just enable all
+ list_xorg_drivers()
+ {
+ (
+ unset IFS
+ for DRIVER in $ALL_DRM_MODULES; do
+ echo $DRIVER
+ echo $(grep ^$DRIVER: $SCRIPT_DIRECTORY/drivers | cut -d: -f2)
+ if echo $DRM_MODULES | grep -qw $DRIVER; then
+ echo on
+ else
+ echo off
+ fi
+ done
+ )
+ }
+
+ IFS="$TAB_ENTER_IFS" DRM_MODULES=`dialog --backtitle "XOrg DRM driver selection" --stdout --separate-output --checklist "Key: [X] = on, [ ] = off" 0 0 0 $(list_xorg_drivers)`
+ # hack to strip newlines
+ set_module_config DRM_MODULES "$(echo $DRM_MODULES)"
+fi
Added: moonbase/trunk/zbeta/XOrg-drm-cvs/CONFLICTS
===================================================================
--- moonbase/trunk/zbeta/XOrg-drm-cvs/CONFLICTS 2005-09-03 13:37:40 UTC (rev 16334)
+++ moonbase/trunk/zbeta/XOrg-drm-cvs/CONFLICTS 2005-09-03 15:40:53 UTC (rev 16335)
@@ -0,0 +1 @@
+conflicts XOrg-drm
Added: moonbase/trunk/zbeta/XOrg-drm-cvs/DEPENDS
===================================================================
--- moonbase/trunk/zbeta/XOrg-drm-cvs/DEPENDS 2005-09-03 13:37:40 UTC (rev 16334)
+++ moonbase/trunk/zbeta/XOrg-drm-cvs/DEPENDS 2005-09-03 15:40:53 UTC (rev 16335)
@@ -0,0 +1 @@
+depends cvs
Added: moonbase/trunk/zbeta/XOrg-drm-cvs/DETAILS
===================================================================
--- moonbase/trunk/zbeta/XOrg-drm-cvs/DETAILS 2005-09-03 13:37:40 UTC (rev 16334)
+++ moonbase/trunk/zbeta/XOrg-drm-cvs/DETAILS 2005-09-03 15:40:53 UTC (rev 16335)
@@ -0,0 +1,13 @@
+ MODULE=XOrg-drm-cvs
+ VERSION=cvs
+ SOURCE=XOrg-drm-cvs-cvs.tar.bz2
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/drm
+ SOURCE_URL=cvs://:pserver:anonymous@dri.freedesktop.org:/cvs/dri:drm
+ WEB_SITE=http://xorg.freedesktop.org/
+ ENTERED=20050828
+ UPDATED=20050829
+ SHORT="Kernel DRM modules for XOrg - development version"
+cat << EOF
+This module provides the kernel DRM modules for XOrg 6.8.2 separately
+from the XOrg module. This module fetches
+EOF
Added: moonbase/trunk/zbeta/XOrg-drm-cvs/drivers
===================================================================
--- moonbase/trunk/zbeta/XOrg-drm-cvs/drivers 2005-09-03 13:37:40 UTC (rev 16334)
+++ moonbase/trunk/zbeta/XOrg-drm-cvs/drivers 2005-09-03 15:40:53 UTC (rev 16335)
@@ -0,0 +1,12 @@
+gamma:Gamma
+tdfx:Trident
+r128:r128
+radeon:Ati
+mga:Matrox
+i810:Intel
+i830:Intel
+i915:Intel
+sis:sis
+savage:savage
+via:Embedded chipsets
+mach64:Mach
More information about the Lunar-commits
mailing list