summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org>2009-10-02 22:32:54 +0000
committerJorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org>2009-10-02 22:32:54 +0000
commitaa5f85cb09b924543d12d22d2426758abceba156 (patch)
treeeda47d121ae4ee69d0f49911ba7c709023dcb9c8 /kde-base/kdm/files
parentStable for ppc. (diff)
downloadgentoo-2-aa5f85cb09b924543d12d22d2426758abceba156.tar.gz
gentoo-2-aa5f85cb09b924543d12d22d2426758abceba156.tar.bz2
gentoo-2-aa5f85cb09b924543d12d22d2426758abceba156.zip
Moved updated kdm ebuild from kde-testing overlay to the tree - thanks to Maciej Mrozowski (reavertm).
Added Fabio kdm patch to 4.3.1 version (invoke xinirc.d scripts). (Portage version: 2.2_rc42/cvs/Linux x86_64)
Diffstat (limited to 'kde-base/kdm/files')
-rw-r--r--kde-base/kdm/files/kdm-4-gentoo-xinitrc.d.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/kde-base/kdm/files/kdm-4-gentoo-xinitrc.d.patch b/kde-base/kdm/files/kdm-4-gentoo-xinitrc.d.patch
new file mode 100644
index 000000000000..538363af045e
--- /dev/null
+++ b/kde-base/kdm/files/kdm-4-gentoo-xinitrc.d.patch
@@ -0,0 +1,19 @@
+diff -Nurp kdm-4.3.1.orig/kdm/kfrontend/genkdmconf.c kdm-4.3.1/kdm/kfrontend/genkdmconf.c
+--- kdm-4.3.1.orig/kdm/kfrontend/genkdmconf.c 2009-09-20 07:57:19.746730568 +0200
++++ kdm-4.3.1/kdm/kfrontend/genkdmconf.c 2009-09-20 08:01:17.767496412 +0200
+@@ -687,6 +687,15 @@ static const char def_session2[] =
+ "[ -f /etc/xprofile ] && . /etc/xprofile\n"
+ "[ -f $HOME/.xprofile ] && . $HOME/.xprofile\n"
+ "\n"
++"# run all system xinitrc shell scripts.\n"
++"if [ -d /etc/X11/xinit/xinitrc.d ]; then\n"
++" for i in /etc/X11/xinit/xinitrc.d/* ; do\n"
++" if [ -x \"$i\" ]; then\n"
++" . \"$i\"\n"
++" fi\n"
++" done\n"
++"fi\n"
++"\n"
+ "case $session in\n"
+ " \"\")\n"
+ " exec xmessage -center -buttons OK:0 -default OK \"Sorry, $DESKTOP_SESSION is no valid session.\"\n"