SOURCES: sabayon-pld.patch (NEW), sabayon-pythonpath.patch (NEW) -...

patrys patrys at pld-linux.org
Thu Mar 13 00:04:43 CET 2008


Author: patrys                       Date: Wed Mar 12 23:04:43 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- make it work

---- Files affected:
SOURCES:
   sabayon-pld.patch (NONE -> 1.1)  (NEW), sabayon-pythonpath.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/sabayon-pld.patch
diff -u /dev/null SOURCES/sabayon-pld.patch:1.1
--- /dev/null	Thu Mar 13 00:04:43 2008
+++ SOURCES/sabayon-pld.patch	Thu Mar 13 00:04:38 2008
@@ -0,0 +1,23 @@
+--- sabayon-2.22.0/configure.ac~	2008-03-11 21:41:44.000000000 +0100
++++ sabayon-2.22.0/configure.ac	2008-03-12 23:03:58.670495070 +0100
+@@ -111,6 +111,7 @@
+   AC_CHECK_FILE(/etc/mandriva-release, with_distro="mandriva")
+   AC_CHECK_FILE(/etc/mandrakelinux-release, with_distro="mandriva")
+   AC_CHECK_FILE(/etc/frugalware-release, with_distro="frugalware")
++  AC_CHECK_FILE(/etc/pld-release, with_distro="pld")
+ fi
+ with_distro=`echo ${with_distro} | tr '[[:upper:]]' '[[:lower:]]' `
+ 
+@@ -161,6 +162,12 @@
+       install_xinitrc_script="yes"
+       XINITRC_SYSCONFDIR="X11/xinit/xinitrc.d"
+       ;;
++    pld)
++      XSESSION="/etc/gdm/Xsession"
++      SESSION_NAME="gnome-session"
++      install_xinitrc_script="yes"
++      XINITRC_SYSCONFDIR="X11/xinit/xinitrc.d"
++      ;;
+     *)
+       echo "Your distribution (${with_distro}) is not yet supported!  (patches welcome)"
+       exit 1

================================================================
Index: SOURCES/sabayon-pythonpath.patch
diff -u /dev/null SOURCES/sabayon-pythonpath.patch:1.1
--- /dev/null	Thu Mar 13 00:04:43 2008
+++ SOURCES/sabayon-pythonpath.patch	Thu Mar 13 00:04:38 2008
@@ -0,0 +1,12 @@
+--- sabayon-2.22.0/admin-tool/sabayon-session~	2008-03-11 21:41:44.000000000 +0100
++++ sabayon-2.22.0/admin-tool/sabayon-session	2008-03-12 23:48:12.991223866 +0100
+@@ -25,6 +25,9 @@
+     import pygtk; pygtk.require('2.0');
+     import gtk
+ 
++    #make sure we don't end up importing libxml2 from libdir
++    sys.path.pop(0)
++
+     from sabayon import debuglog
+     from sabayon import config
+     from sabayon import errors
================================================================


More information about the pld-cvs-commit mailing list