diff options
Diffstat (limited to 'x11-misc/entrance/files/0.0.2.20030310-gentoo-sessions.patch')
-rw-r--r-- | x11-misc/entrance/files/0.0.2.20030310-gentoo-sessions.patch | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/x11-misc/entrance/files/0.0.2.20030310-gentoo-sessions.patch b/x11-misc/entrance/files/0.0.2.20030310-gentoo-sessions.patch deleted file mode 100644 index 6b1c8e390a66..000000000000 --- a/x11-misc/entrance/files/0.0.2.20030310-gentoo-sessions.patch +++ /dev/null @@ -1,56 +0,0 @@ ---- data/config/build_config.sh.orig 2003-03-01 01:22:06.000000000 -0500 -+++ data/config/build_config.sh 2003-03-01 01:25:06.000000000 -0500 -@@ -1,4 +1,4 @@ --#!/bin/sh -e -+#!/bin/bash - DB="./entrance_config.db" - rm -f $DB - -@@ -10,21 +10,30 @@ - edb_ed $DB add /entrance/xinerama/on/w int 1 - edb_ed $DB add /entrance/xinerama/on/h int 1 - edb_ed $DB add /entrance/theme str "BlueCrystal" --edb_ed $DB add /entrance/session/0/name str "enlightenment" --edb_ed $DB add /entrance/session/0/path str "" --edb_ed $DB add /entrance/session/0/icon str "enlightenment.png" --edb_ed $DB add /entrance/session/1/name str "kde2" --edb_ed $DB add /entrance/session/1/path str "" --edb_ed $DB add /entrance/session/1/icon str "kde.png" --edb_ed $DB add /entrance/session/2/name str "blackbox" --edb_ed $DB add /entrance/session/2/path str "" --edb_ed $DB add /entrance/session/2/icon str "blackbox.png" --edb_ed $DB add /entrance/session/3/name str "fluxbox" --edb_ed $DB add /entrance/session/3/path str "" --edb_ed $DB add /entrance/session/3/icon str "default.png" --edb_ed $DB add /entrance/session/4/name str "Failsafe" --edb_ed $DB add /entrance/session/4/path str "failsafe" --edb_ed $DB add /entrance/session/4/icon str "default.png" --edb_ed $DB add /entrance/session/count int 5 --edb_ed $DB add /entrance/session/default int 0 - -+pick_icon() { -+ case "`basename $(echo $1 | awk '{print toupper($1)}')`" in -+ KDE*) echo -n "kde";; -+ GNOME*) echo -n "gnome";; -+ ENLIGHTENMENT) echo -n "e16";; -+ E17) echo -n "enlightenment";; -+ WMAKER) echo -n "widowmaker";; -+ BLACKBOX) echo -n "blackbox";; -+ *) echo -n "default";; -+ esac -+ echo ".png"; -+} -+ -+count=-1 -+for ses in /etc/X11/Sessions/* ; do -+ let "count++" -+ edb_ed $DB add /entrance/session/${count}/name str "`basename ${ses}`" -+ edb_ed $DB add /entrance/session/${count}/path str "${ses}" -+ edb_ed $DB add /entrance/session/${count}/icon str "`pick_icon ${ses}`" -+done -+let "count++" -+edb_ed $DB add /entrance/session/${count}/name str "Failsafe" -+edb_ed $DB add /entrance/session/${count}/path str "/etc/X11/Sessions/Xsession failsafe" -+edb_ed $DB add /entrance/session/${count}/icon str "default.png" -+edb_ed $DB add /entrance/session/count int ${count} -+edb_ed $DB add /entrance/session/default int 0 |