Gentoo Archives: gentoo-commits

From: "Fabio Erculiani (lxnay)" <lxnay@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-apps/xinit: ChangeLog xinit-1.3.0-r2.ebuild
Date: Sat, 22 Jan 2011 17:56:55
Message-Id: 20110122175644.77E2D20054@flycatcher.gentoo.org
1 lxnay 11/01/22 17:56:44
2
3 Modified: ChangeLog
4 Added: xinit-1.3.0-r2.ebuild
5 Log:
6 revision bump, this is the first version supporting lxdm, reset KEYWORDS to ~arch
7
8 (Portage version: 2.2.0_alpha13/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.201 x11-apps/xinit/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-apps/xinit/ChangeLog?rev=1.201&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-apps/xinit/ChangeLog?rev=1.201&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-apps/xinit/ChangeLog?r1=1.200&r2=1.201
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/x11-apps/xinit/ChangeLog,v
20 retrieving revision 1.200
21 retrieving revision 1.201
22 diff -u -r1.200 -r1.201
23 --- ChangeLog 22 Jan 2011 15:35:49 -0000 1.200
24 +++ ChangeLog 22 Jan 2011 17:56:44 -0000 1.201
25 @@ -1,6 +1,12 @@
26 # ChangeLog for x11-apps/xinit
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/x11-apps/xinit/ChangeLog,v 1.200 2011/01/22 15:35:49 lxnay Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/x11-apps/xinit/ChangeLog,v 1.201 2011/01/22 17:56:44 lxnay Exp $
30 +
31 +*xinit-1.3.0-r2 (22 Jan 2011)
32 +
33 + 22 Jan 2011; Fabio Erculiani <lxnay@g.o> +xinit-1.3.0-r2.ebuild:
34 + revision bump, this is the first version supporting lxdm, reset KEYWORDS
35 + to ~arch
36
37 22 Jan 2011; Fabio Erculiani <lxnay@g.o> files/startDM.sh:
38 add lxdm support (changes required in order to load lxdm with
39
40
41
42 1.1 x11-apps/xinit/xinit-1.3.0-r2.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-apps/xinit/xinit-1.3.0-r2.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-apps/xinit/xinit-1.3.0-r2.ebuild?rev=1.1&content-type=text/plain
46
47 Index: xinit-1.3.0-r2.ebuild
48 ===================================================================
49 # Copyright 1999-2011 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/x11-apps/xinit/xinit-1.3.0-r2.ebuild,v 1.1 2011/01/22 17:56:44 lxnay Exp $
52
53 EAPI=3
54
55 inherit xorg-2
56
57 DESCRIPTION="X Window System initializer"
58
59 LICENSE="${LICENSE} GPL-2"
60 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
61 IUSE="+minimal"
62
63 RDEPEND="
64 !<x11-base/xorg-server-1.8.0
65 x11-apps/xauth
66 x11-libs/libX11
67 "
68 DEPEND="${RDEPEND}"
69 PDEPEND="x11-apps/xrdb
70 !minimal? (
71 x11-apps/xclock
72 x11-apps/xsm
73 x11-terms/xterm
74 x11-wm/twm
75 )
76 "
77
78 PATCHES=(
79 "${FILESDIR}/0001-Gentoo-customizations.patch"
80 )
81
82 pkg_setup() {
83 xorg-2_pkg_setup
84
85 CONFIGURE_OPTIONS="--with-xinitdir=/etc/X11/xinit"
86 }
87
88 src_install() {
89 xorg-2_src_install
90
91 exeinto /etc/X11
92 doexe "${FILESDIR}"/chooser.sh "${FILESDIR}"/startDM.sh || die
93 exeinto /etc/X11/Sessions
94 doexe "${FILESDIR}"/Xsession || die
95 exeinto /etc/X11/xinit
96 doexe "${FILESDIR}"/xserverrc || die
97 exeinto /etc/X11/xinit/xinitrc.d/
98 doexe "${FILESDIR}/00-xhost"
99 }
100
101 pkg_postinst() {
102 xorg-2_pkg_postinst
103 ewarn "If you use startx to start X instead of a login manager like gdm/kdm,"
104 ewarn "you can set the XSESSION variable to anything in /etc/X11/Sessions/ or"
105 ewarn "any executable. When you run startx, it will run this as the login session."
106 ewarn "You can set this in a file in /etc/env.d/ for the entire system,"
107 ewarn "or set it per-user in ~/.bash_profile (or similar for other shells)."
108 ewarn "Here's an example of setting it for the whole system:"
109 ewarn " echo XSESSION=\"Gnome\" > /etc/env.d/90xsession"
110 ewarn " env-update && source /etc/profile"
111 }