[sabayon] Patch to add Arch Linux to the distributions list



Hey,
   Here is a patch to add ArchLinux to the distros list. I needed this
to complete a jhbuild checkout. There is a package in the Arch repos,
only it uses the slackware configuration. This patch simply copies the
same setup under a new name (arch) and proceeds. Should I change it to
just use slackware when it finds the arch-release file?

Cheers,
-- 
Arun Tejasvi Chaganty
Index: configure.ac
===================================================================
--- configure.ac	(revision 1026)
+++ configure.ac	(working copy)
@@ -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/arch-release, with_distro="arch")
 fi
 with_distro=`echo ${with_distro} | tr '[[:upper:]]' '[[:lower:]]' `
 
@@ -161,6 +162,12 @@
       install_xinitrc_script="yes"
       XINITRC_SYSCONFDIR="X11/xinit/xinitrc.d"
       ;;
+    arch)
+      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]