[sabayon] Patch for Frugalware Linux support



Hi,

I am a Frugalware Linux developer, and I've been hacking away at Sabayon all evening. I must say that it is a very nice program. Anyway, I have written a patch that will allow Sabayon to run on Frugalware Linux. The patch should be attached to this mail. I have only included the changes to configure.ac, but there were some other changes that I have made, too. I changed the .desktop file so that it appears in Desktop -> Administration, and also it runs Sabayon with gksu.

Thanks,
Alex
diff -urN sabayon-2.12.3.orig/configure.ac sabayon-2.12.3/configure.ac
--- sabayon-2.12.3.orig/configure.ac	2006-01-27 00:23:12.000000000 +0000
+++ sabayon-2.12.3/configure.ac	2006-03-21 18:21:40.000000000 +0000
@@ -99,6 +99,7 @@
   AC_CHECK_FILE(/etc/SuSE-release, with_distro="suse")
   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")
 fi
 with_distro=`echo ${with_distro} | tr '[[:upper:]]' '[[:lower:]]' `
 
@@ -142,6 +143,12 @@
       install_xinitrc_script="yes"
       XINITRC_SYSCONFDIR="X11/xinit.d"
       ;;
+    frugalware)
+      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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]