Gentoo Archives: gentoo-commits

From: Chi-Thanh Christopher Nguyen <chithanh@××××××××××××.de>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/x11:master commit in: x11-apps/xinit/, x11-apps/xinit/files/
Date: Thu, 01 Dec 2011 08:03:16
Message-Id: 3a1c137d68b5ca2cba99178d3f542b5650b96dde.chithead@gentoo
1 commit: 3a1c137d68b5ca2cba99178d3f542b5650b96dde
2 Author: Chi-Thanh Christopher Nguyen <chithanh <AT> gentoo <DOT> org>
3 AuthorDate: Thu Dec 1 08:03:20 2011 +0000
4 Commit: Chi-Thanh Christopher Nguyen <chithanh <AT> cs <DOT> tu-berlin <DOT> de>
5 CommitDate: Thu Dec 1 08:03:20 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/x11.git;a=commit;h=3a1c137d
7
8 x11-apps/xinit: import Xsession.desktop from portage
9
10 ---
11 x11-apps/xinit/files/Xsession.desktop | 9 +++++++++
12 x11-apps/xinit/xinit-9999.ebuild | 3 +++
13 2 files changed, 12 insertions(+), 0 deletions(-)
14
15 diff --git a/x11-apps/xinit/files/Xsession.desktop b/x11-apps/xinit/files/Xsession.desktop
16 new file mode 100644
17 index 0000000..4ed3a5c
18 --- /dev/null
19 +++ b/x11-apps/xinit/files/Xsession.desktop
20 @@ -0,0 +1,9 @@
21 +[Desktop Entry]
22 +Encoding=UTF-8
23 +Name=XSession
24 +Comment=This session logs you into your custom Xsession
25 +Exec=/etc/X11/Sessions/Xsession
26 +TryExec=/etc/X11/Sessions/Xsession
27 +# no icon yet, only the top three are currently used
28 +Icon=
29 +Type=Application
30
31 diff --git a/x11-apps/xinit/xinit-9999.ebuild b/x11-apps/xinit/xinit-9999.ebuild
32 index b1264d4..e2162f3 100644
33 --- a/x11-apps/xinit/xinit-9999.ebuild
34 +++ b/x11-apps/xinit/xinit-9999.ebuild
35 @@ -50,6 +50,9 @@ src_install() {
36 doexe "${FILESDIR}"/xserverrc
37 exeinto /etc/X11/xinit/xinitrc.d/
38 doexe "${FILESDIR}/00-xhost"
39 +
40 + insinto /usr/share/xsessions
41 + doins "${FILESDIR}/Xsession.desktop"
42 }
43
44 pkg_postinst() {