1 |
ssuominen 12/01/28 07:52:04 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: xdm-1.1.11-r1.ebuild |
5 |
Log: |
6 |
Import native support for ConsoleKit wrt #360987 |
7 |
|
8 |
(Portage version: 2.2.0_alpha84/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.2 x11-apps/xdm/metadata.xml |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-apps/xdm/metadata.xml?rev=1.2&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-apps/xdm/metadata.xml?rev=1.2&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-apps/xdm/metadata.xml?r1=1.1&r2=1.2 |
16 |
|
17 |
Index: metadata.xml |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/x11-apps/xdm/metadata.xml,v |
20 |
retrieving revision 1.1 |
21 |
retrieving revision 1.2 |
22 |
diff -u -r1.1 -r1.2 |
23 |
--- metadata.xml 9 Sep 2005 07:07:26 -0000 1.1 |
24 |
+++ metadata.xml 28 Jan 2012 07:52:04 -0000 1.2 |
25 |
@@ -1,5 +1,8 @@ |
26 |
<?xml version="1.0" encoding="UTF-8"?> |
27 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
28 |
<pkgmetadata> |
29 |
-<herd>x11</herd> |
30 |
+ <herd>x11</herd> |
31 |
+ <use> |
32 |
+ <flag name='consolekit'>Enable native <pkg>sys-auth/consolekit</pkg> support</flag> |
33 |
+ </use> |
34 |
</pkgmetadata> |
35 |
|
36 |
|
37 |
|
38 |
1.132 x11-apps/xdm/ChangeLog |
39 |
|
40 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-apps/xdm/ChangeLog?rev=1.132&view=markup |
41 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-apps/xdm/ChangeLog?rev=1.132&content-type=text/plain |
42 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-apps/xdm/ChangeLog?r1=1.131&r2=1.132 |
43 |
|
44 |
Index: ChangeLog |
45 |
=================================================================== |
46 |
RCS file: /var/cvsroot/gentoo-x86/x11-apps/xdm/ChangeLog,v |
47 |
retrieving revision 1.131 |
48 |
retrieving revision 1.132 |
49 |
diff -u -r1.131 -r1.132 |
50 |
--- ChangeLog 27 Dec 2011 20:52:41 -0000 1.131 |
51 |
+++ ChangeLog 28 Jan 2012 07:52:04 -0000 1.132 |
52 |
@@ -1,6 +1,12 @@ |
53 |
# ChangeLog for x11-apps/xdm |
54 |
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
55 |
-# $Header: /var/cvsroot/gentoo-x86/x11-apps/xdm/ChangeLog,v 1.131 2011/12/27 20:52:41 maekke Exp $ |
56 |
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
57 |
+# $Header: /var/cvsroot/gentoo-x86/x11-apps/xdm/ChangeLog,v 1.132 2012/01/28 07:52:04 ssuominen Exp $ |
58 |
+ |
59 |
+*xdm-1.1.11-r1 (28 Jan 2012) |
60 |
+ |
61 |
+ 28 Jan 2012; Samuli Suominen <ssuominen@g.o> +xdm-1.1.11-r1.ebuild, |
62 |
+ +files/xdm-consolekit.patch: |
63 |
+ Import native support for ConsoleKit wrt #360987 |
64 |
|
65 |
27 Dec 2011; Markus Meier <maekke@g.o> xdm-1.1.11.ebuild: |
66 |
x86 stable, bug #394393 |
67 |
|
68 |
|
69 |
|
70 |
1.1 x11-apps/xdm/xdm-1.1.11-r1.ebuild |
71 |
|
72 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-apps/xdm/xdm-1.1.11-r1.ebuild?rev=1.1&view=markup |
73 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-apps/xdm/xdm-1.1.11-r1.ebuild?rev=1.1&content-type=text/plain |
74 |
|
75 |
Index: xdm-1.1.11-r1.ebuild |
76 |
=================================================================== |
77 |
# Copyright 1999-2012 Gentoo Foundation |
78 |
# Distributed under the terms of the GNU General Public License v2 |
79 |
# $Header: /var/cvsroot/gentoo-x86/x11-apps/xdm/xdm-1.1.11-r1.ebuild,v 1.1 2012/01/28 07:52:04 ssuominen Exp $ |
80 |
|
81 |
EAPI=4 |
82 |
|
83 |
XORG_EAUTORECONF=yes |
84 |
|
85 |
inherit multilib xorg-2 pam systemd |
86 |
|
87 |
DEFAULTVT=vt7 |
88 |
|
89 |
DESCRIPTION="X.Org xdm application" |
90 |
|
91 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" |
92 |
IUSE="consolekit ipv6 pam" |
93 |
|
94 |
RDEPEND="x11-apps/xrdb |
95 |
x11-libs/libXdmcp |
96 |
x11-libs/libXaw |
97 |
>=x11-apps/xinit-1.0.2-r3 |
98 |
x11-libs/libXinerama |
99 |
x11-libs/libXmu |
100 |
x11-libs/libX11 |
101 |
x11-libs/libXt |
102 |
x11-apps/sessreg |
103 |
x11-apps/xconsole |
104 |
consolekit? ( sys-auth/consolekit ) |
105 |
pam? ( virtual/pam )" |
106 |
DEPEND="${RDEPEND} |
107 |
x11-proto/xineramaproto |
108 |
x11-proto/xproto" |
109 |
|
110 |
pkg_setup() { |
111 |
PATCHES=( "${FILESDIR}"/${PN}-consolekit.patch ) |
112 |
|
113 |
XORG_CONFIGURE_OPTIONS=( |
114 |
$(use_enable ipv6) |
115 |
$(use_with pam) |
116 |
"$(systemd_with_unitdir)" |
117 |
--with-default-vt=${DEFAULTVT} |
118 |
--with-xdmconfigdir=/etc/X11/xdm |
119 |
$(use_with consolekit) |
120 |
) |
121 |
} |
122 |
|
123 |
src_install() { |
124 |
xorg-2_src_install |
125 |
|
126 |
exeinto /usr/$(get_libdir)/X11/xdm |
127 |
doexe "${FILESDIR}"/Xsession |
128 |
|
129 |
use pam && pamd_mimic system-local-login xdm auth account session |
130 |
|
131 |
# Keep /var/lib/xdm. This is where authfiles are stored. See #286350. |
132 |
keepdir /var/lib/xdm |
133 |
} |
134 |
|
135 |
pkg_postinst() { |
136 |
# Mea culpa, feel free to remove that after some time --mgorny. |
137 |
if [[ -L "${ROOT}"/etc/systemd/system/graphical.target.wants/${PN}'@tty7'.service ]] |
138 |
then |
139 |
ebegin "Renaming ${PN}@tty7.service to ${PN}.service" |
140 |
ln -s "${ROOT}"/lib/systemd/system/xdm.service \ |
141 |
"${ROOT}"/etc/systemd/system/graphical.target.wants/${PN}.service && \ |
142 |
rm -f "${ROOT}"/etc/systemd/system/graphical.target.wants/${PN}'@tty7'.service |
143 |
eend ${?} \ |
144 |
"Please try to re-enable xdm.service" |
145 |
fi |
146 |
} |