Gentoo Archives: gentoo-commits

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