summaryrefslogtreecommitdiff
path: root/packages/e17/entrance
diff options
context:
space:
mode:
authorJustin Patrin <papercrane@gmail.com>2005-08-16 06:41:25 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-08-16 06:41:25 +0000
commitb1fa2ef160702d78bd4d4a794b36eb2c06aeb142 (patch)
tree56b4ef8a4c15705875ce821c1e06079c9436c43a /packages/e17/entrance
parenta0614e469bea3e87c609d4f35a1a402cc7f0b252 (diff)
Use bash in entrance_session to get around "entrance quitting right after login" bug
Alter entrance_wrapper to call Xinit scripts (forcefully disable 99gpe-login for now) Add a Failsafe Session file Rename Session back to Sessions (config db has been updated accordingly) Change config db to have all 7 entries filled out (most with Enlightenment) to stop crashes
Diffstat (limited to 'packages/e17/entrance')
-rw-r--r--packages/e17/entrance/Sessions/.mtn2git_empty (renamed from packages/e17/entrance/Session/.mtn2git_empty)0
-rw-r--r--packages/e17/entrance/Sessions/Enlightenment (renamed from packages/e17/entrance/Session/Enlightenment)0
-rw-r--r--packages/e17/entrance/Sessions/Failsafe3
-rw-r--r--packages/e17/entrance/config-db.patch58
-rw-r--r--packages/e17/entrance/run-Xinit.patch17
-rw-r--r--packages/e17/entrance/use-bash.patch11
6 files changed, 59 insertions, 30 deletions
diff --git a/packages/e17/entrance/Session/.mtn2git_empty b/packages/e17/entrance/Sessions/.mtn2git_empty
index e69de29bb2..e69de29bb2 100644
--- a/packages/e17/entrance/Session/.mtn2git_empty
+++ b/packages/e17/entrance/Sessions/.mtn2git_empty
diff --git a/packages/e17/entrance/Session/Enlightenment b/packages/e17/entrance/Sessions/Enlightenment
index 4d33bbb2e9..4d33bbb2e9 100644
--- a/packages/e17/entrance/Session/Enlightenment
+++ b/packages/e17/entrance/Sessions/Enlightenment
diff --git a/packages/e17/entrance/Sessions/Failsafe b/packages/e17/entrance/Sessions/Failsafe
new file mode 100644
index 0000000000..cf4fcced12
--- /dev/null
+++ b/packages/e17/entrance/Sessions/Failsafe
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+rxvt \ No newline at end of file
diff --git a/packages/e17/entrance/config-db.patch b/packages/e17/entrance/config-db.patch
index 33da62435f..874231b95b 100644
--- a/packages/e17/entrance/config-db.patch
+++ b/packages/e17/entrance/config-db.patch
@@ -1,5 +1,5 @@
---- entrance/data/config/build_config.sh.in.orig 2005-08-14 18:19:30.912299673 +0200
-+++ entrance/data/config/build_config.sh.in 2005-08-14 18:21:36.309692562 +0200
+--- entrance/data/config/build_config.sh.in~ 2005-08-15 23:24:39.000000000 -0700
++++ entrance/data/config/build_config.sh.in 2005-08-15 23:25:15.000000000 -0700
@@ -3,7 +3,7 @@
rm -f $DB
@@ -9,13 +9,15 @@
# uncomment the below to enable experimental OpenGL hardware acceleration
#edb_ed $DB add /entrance/engine int 1
-@@ -19,31 +19,31 @@
+@@ -18,30 +18,30 @@
+ #edb_ed $DB add /entrance/fonts/0/str str "/usr/share/fonts/truetype/"
#edb_ed $DB add /entrance/fonts/1/str str "/usr/X11R6/lib/X11/fonts/Truetype/"
edb_ed $DB add /entrance/greeting/before str "Welcome to "
- edb_ed $DB add /entrance/greeting/after str ""
--edb_ed $DB add /entrance/session/count int 8
-+edb_ed $DB add /entrance/session/count int 4
- edb_ed $DB add /entrance/session/0/session str "default"
+-edb_ed $DB add /entrance/greeting/after str ""
++edb_ed $DB add /entrance/greeting/after str " e17/OE"
+ edb_ed $DB add /entrance/session/count int 8
+-edb_ed $DB add /entrance/session/0/session str "default"
++edb_ed $DB add /entrance/session/0/session str "/etc/X11/Sessions/Default"
edb_ed $DB add /entrance/session/0/title str "Default"
edb_ed $DB add /entrance/session/0/icon str "default.png"
edb_ed $DB add /entrance/session/1/icon str "enlightenment.png"
@@ -37,27 +39,23 @@
-edb_ed $DB add /entrance/session/6/title str "XFce"
-edb_ed $DB add /entrance/session/6/icon str "xfce.png"
-edb_ed $DB add /entrance/session/7/session str "failsafe"
--edb_ed $DB add /entrance/session/7/title str "Failsafe"
--edb_ed $DB add /entrance/session/7/icon str "failsafe.png"
-+edb_ed $DB add /entrance/session/1/session str "/etc/X11/Session/Enlightenment"
-+#edb_ed $DB add /entrance/session/2/session str "kde"
-+#edb_ed $DB add /entrance/session/2/title str "KDE"
-+#edb_ed $DB add /entrance/session/2/icon str "kde.png"
-+edb_ed $DB add /entrance/session/2/session str "/etc/X11/Session/GPE"
-+edb_ed $DB add /entrance/session/2/title str "GPE"
-+edb_ed $DB add /entrance/session/2/icon str "gnome.png"
-+#edb_ed $DB add /entrance/session/4/session str "blackbox"
-+#edb_ed $DB add /entrance/session/4/title str "Blackbox"
-+#edb_ed $DB add /entrance/session/4/icon str "blackbox.png"
-+#edb_ed $DB add /entrance/session/5/session str "sawfish"
-+#edb_ed $DB add /entrance/session/5/title str "Sawfish"
-+#edb_ed $DB add /entrance/session/5/icon str "default.png"
-+#edb_ed $DB add /entrance/session/6/session str "xfce"
-+#edb_ed $DB add /entrance/session/6/title str "XFce"
-+#edb_ed $DB add /entrance/session/6/icon str "xfce.png"
-+edb_ed $DB add /entrance/session/3/session str "/etc/X11/Session/Failsafe"
-+edb_ed $DB add /entrance/session/3/title str "Failsafe"
-+edb_ed $DB add /entrance/session/3/icon str "failsafe.png"
++edb_ed $DB add /entrance/session/2/session str "/etc/X11/Sessions/Enlightenment"
++edb_ed $DB add /entrance/session/2/icon str "enlightenment.png"
++edb_ed $DB add /entrance/session/2/title str "Enlightenment"
++edb_ed $DB add /entrance/session/3/session str "/etc/X11/Sessions/Enlightenment"
++edb_ed $DB add /entrance/session/3/icon str "enlightenment.png"
++edb_ed $DB add /entrance/session/3/title str "Enlightenment"
++edb_ed $DB add /entrance/session/4/session str "/etc/X11/Sessions/Enlightenment"
++edb_ed $DB add /entrance/session/4/icon str "enlightenment.png"
++edb_ed $DB add /entrance/session/4/title str "Enlightenment"
++edb_ed $DB add /entrance/session/5/session str "/etc/X11/Sessions/Enlightenment"
++edb_ed $DB add /entrance/session/5/icon str "enlightenment.png"
++edb_ed $DB add /entrance/session/5/title str "Enlightenment"
++edb_ed $DB add /entrance/session/6/session str "/etc/X11/Sessions/Enlightenment"
++edb_ed $DB add /entrance/session/6/icon str "enlightenment.png"
++edb_ed $DB add /entrance/session/6/title str "Enlightenment"
++edb_ed $DB add /entrance/session/1/session str "/etc/X11/Sessions/Enlightenment"
++edb_ed $DB add /entrance/session/7/session str "/etc/X11/Sessions/Failsafe"
+ edb_ed $DB add /entrance/session/7/title str "Failsafe"
+ edb_ed $DB add /entrance/session/7/icon str "failsafe.png"
edb_ed $DB add /entrance/system/reboot int 1
- edb_ed $DB add /entrance/system/halt int 1
- edb_ed $DB add /entrance/user/remember int 1
diff --git a/packages/e17/entrance/run-Xinit.patch b/packages/e17/entrance/run-Xinit.patch
new file mode 100644
index 0000000000..1d6c2307f7
--- /dev/null
+++ b/packages/e17/entrance/run-Xinit.patch
@@ -0,0 +1,17 @@
+--- entrance/src/daemon/entrance_wrapper.in.~1.1.~ 2003-01-31 13:57:06.000000000 -0800
++++ entrance/src/daemon/entrance_wrapper.in 2005-08-15 20:13:57.000000000 -0700
+@@ -5,8 +5,13 @@
+
+ test -f /etc/profile && . /etc/profile
+
++if [ -x /etc/X11/Xinit.d/99gpe-login ]; then
++ chmod -x /etc/X11/Xinit.d/99gpe-login
++fi
++
++/etc/X11/Xinit
++
+ exec @prefix@/bin/entrance "$@"
+
+ #fallback
+ exec entrance "$@"
+-
diff --git a/packages/e17/entrance/use-bash.patch b/packages/e17/entrance/use-bash.patch
new file mode 100644
index 0000000000..4d3b2f4aae
--- /dev/null
+++ b/packages/e17/entrance/use-bash.patch
@@ -0,0 +1,11 @@
+--- entrance/src/client/entrance_session.c.~1.71.~ 2005-05-28 02:31:14.000000000 -0700
++++ entrance/src/client/entrance_session.c 2005-08-15 21:45:53.000000000 -0700
+@@ -451,7 +451,7 @@
+ (int) pid);
+ }
+ _entrance_session_user_list_fix(e);
+- shell = strdup("/bin/sh");
++ shell = strdup("/bin/bash");
+ /* this bypasses a race condition where entrance loses its x
+ connection before the wm gets it and x goes and resets itself */
+ sleep(10);