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.1.ebuild
Date: Mon, 01 Aug 2011 21:16:25
Message-Id: 20110801211616.701EA2004C@flycatcher.gentoo.org
1 chithanh 11/08/01 21:16:16
2
3 Modified: ChangeLog
4 Added: xinit-1.3.1.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.0_alpha49/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.210 x11-apps/xinit/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-apps/xinit/ChangeLog?rev=1.210&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-apps/xinit/ChangeLog?rev=1.210&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-apps/xinit/ChangeLog?r1=1.209&r2=1.210
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/x11-apps/xinit/ChangeLog,v
20 retrieving revision 1.209
21 retrieving revision 1.210
22 diff -u -r1.209 -r1.210
23 --- ChangeLog 4 May 2011 11:18:34 -0000 1.209
24 +++ ChangeLog 1 Aug 2011 21:16:16 -0000 1.210
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.209 2011/05/04 11:18:34 scarabeus Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/x11-apps/xinit/ChangeLog,v 1.210 2011/08/01 21:16:16 chithanh Exp $
30 +
31 +*xinit-1.3.1 (01 Aug 2011)
32 +
33 + 01 Aug 2011; Chí-Thanh Christopher Nguyễn <chithanh@g.o>
34 + +xinit-1.3.1.ebuild:
35 + Version bump.
36
37 04 May 2011; Tomáš Chvátal <scarabeus@g.o>
38 -files/0001-Gentoo-specific-customizations.patch, -files/xdm-setup.initd-1,
39
40
41
42 1.1 x11-apps/xinit/xinit-1.3.1.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-apps/xinit/xinit-1.3.1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-apps/xinit/xinit-1.3.1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: xinit-1.3.1.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.1.ebuild,v 1.1 2011/08/01 21:16:16 chithanh Exp $
52
53 EAPI=4
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 XORG_CONFIGURE_OPTIONS=(
86 --with-xinitdir=/etc/X11/xinit
87 )
88 }
89
90 src_install() {
91 xorg-2_src_install
92
93 exeinto /etc/X11
94 doexe "${FILESDIR}"/chooser.sh "${FILESDIR}"/startDM.sh
95 exeinto /etc/X11/Sessions
96 doexe "${FILESDIR}"/Xsession
97 exeinto /etc/X11/xinit
98 doexe "${FILESDIR}"/xserverrc
99 exeinto /etc/X11/xinit/xinitrc.d/
100 doexe "${FILESDIR}/00-xhost"
101 }
102
103 pkg_postinst() {
104 xorg-2_pkg_postinst
105 ewarn "If you use startx to start X instead of a login manager like gdm/kdm,"
106 ewarn "you can set the XSESSION variable to anything in /etc/X11/Sessions/ or"
107 ewarn "any executable. When you run startx, it will run this as the login session."
108 ewarn "You can set this in a file in /etc/env.d/ for the entire system,"
109 ewarn "or set it per-user in ~/.bash_profile (or similar for other shells)."
110 ewarn "Here's an example of setting it for the whole system:"
111 ewarn " echo XSESSION=\"Gnome\" > /etc/env.d/90xsession"
112 ewarn " env-update && source /etc/profile"
113 }