Gentoo Archives: gentoo-commits

From: "Gilles Dartiguelongue (eva)" <eva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-libs/gksu: metadata.xml ChangeLog gksu-2.0.2.ebuild gksu-1.9.1.ebuild gksu-2.0.0-r1.ebuild
Date: Sun, 22 Mar 2009 17:42:12
Message-Id: E1LlRgY-0006cr-QT@stork.gentoo.org
1 eva 09/03/22 17:42:10
2
3 Modified: metadata.xml ChangeLog
4 Added: gksu-2.0.2.ebuild
5 Removed: gksu-1.9.1.ebuild gksu-2.0.0-r1.ebuild
6 Log:
7 Bump to 2.0.2. Closes #263074.
8 (Portage version: 2.2_rc25/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.3 x11-libs/gksu/metadata.xml
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/gksu/metadata.xml?rev=1.3&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/gksu/metadata.xml?rev=1.3&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/gksu/metadata.xml?r1=1.2&r2=1.3
16
17 Index: metadata.xml
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/x11-libs/gksu/metadata.xml,v
20 retrieving revision 1.2
21 retrieving revision 1.3
22 diff -u -r1.2 -r1.3
23 --- metadata.xml 13 Sep 2006 21:34:27 -0000 1.2
24 +++ metadata.xml 22 Mar 2009 17:42:10 -0000 1.3
25 @@ -3,7 +3,7 @@
26 <pkgmetadata>
27 <herd>gnome</herd>
28 <maintainer>
29 - <email>dang@g.o</email>
30 - <name>Daniel Gryniewicz</name>
31 + <email>dang@g.o</email>
32 + <name>Daniel Gryniewicz</name>
33 </maintainer>
34 </pkgmetadata>
35
36
37
38 1.50 x11-libs/gksu/ChangeLog
39
40 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/gksu/ChangeLog?rev=1.50&view=markup
41 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/gksu/ChangeLog?rev=1.50&content-type=text/plain
42 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/gksu/ChangeLog?r1=1.49&r2=1.50
43
44 Index: ChangeLog
45 ===================================================================
46 RCS file: /var/cvsroot/gentoo-x86/x11-libs/gksu/ChangeLog,v
47 retrieving revision 1.49
48 retrieving revision 1.50
49 diff -u -r1.49 -r1.50
50 --- ChangeLog 29 Oct 2008 19:01:34 -0000 1.49
51 +++ ChangeLog 22 Mar 2009 17:42:10 -0000 1.50
52 @@ -1,6 +1,12 @@
53 # ChangeLog for x11-libs/gksu
54 -# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
55 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/gksu/ChangeLog,v 1.49 2008/10/29 19:01:34 dang Exp $
56 +# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
57 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/gksu/ChangeLog,v 1.50 2009/03/22 17:42:10 eva Exp $
58 +
59 +*gksu-2.0.2 (22 Mar 2009)
60 +
61 + 22 Mar 2009; Gilles Dartiguelongue <eva@g.o> -gksu-1.9.1.ebuild,
62 + -gksu-2.0.0-r1.ebuild, +gksu-2.0.2.ebuild:
63 + Bump to 2.0.2. Closes #263074.
64
65 *gksu-2.0.0-r2 (29 Oct 2008)
66
67
68
69
70 1.1 x11-libs/gksu/gksu-2.0.2.ebuild
71
72 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/gksu/gksu-2.0.2.ebuild?rev=1.1&view=markup
73 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/gksu/gksu-2.0.2.ebuild?rev=1.1&content-type=text/plain
74
75 Index: gksu-2.0.2.ebuild
76 ===================================================================
77 # Copyright 1999-2009 Gentoo Foundation
78 # Distributed under the terms of the GNU General Public License v2
79 # $Header: /var/cvsroot/gentoo-x86/x11-libs/gksu/gksu-2.0.2.ebuild,v 1.1 2009/03/22 17:42:10 eva Exp $
80
81 EAPI="2"
82
83 inherit gnome2 fixheadtails eutils autotools
84
85 DESCRIPTION="A gtk+ frontend for libgksu"
86 HOMEPAGE="http://www.nongnu.org/gksu/"
87 SRC_URI="http://people.debian.org/~kov/gksu/${P}.tar.gz"
88
89 LICENSE="GPL-2"
90 SLOT="0"
91 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
92 IUSE="doc gnome"
93
94 RDEPEND=">=x11-libs/libgksu-2.0.8
95 >=x11-libs/gtk+-2.4.0
96 >=gnome-base/gconf-2.0
97 gnome? (
98 >=gnome-base/gnome-vfs-2
99 >=gnome-base/nautilus-2
100 x11-terms/gnome-terminal )"
101 DEPEND="${RDEPEND}
102 doc? ( dev-util/gtk-doc )"
103
104 pkg_setup() {
105 DOCS="AUTHORS ChangeLog NEWS README"
106 G2CONF="${G2CONF}
107 $(use_enable gnome nautilus-extension)"
108 }
109
110 src_prepare() {
111 gnome2_src_prepare
112
113 ht_fix_file "${S}/gksu-migrate-conf.sh"
114
115 # Fix nautilus plugin linking
116 epatch "${FILESDIR}"/${PN}-2.0.0-gnome-2.22.patch
117
118 if use gnome ; then
119 sed 's/x-terminal-emulator/gnome-terminal/' \
120 -i gksu.desktop || die "sed 1 failed"
121 else
122 sed 's/dist_desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)/dist_desktop_DATA =/' \
123 -i Makefile.am Makefile.in || die "sed 2 failed"
124 fi
125
126 eautoreconf
127 }
128
129 src_install() {
130 gnome2_src_install
131 chmod +x "${D}/usr/share/gksu/gksu-migrate-conf.sh"
132 }
133
134 pkg_postinst() {
135 gnome2_pkg_postinst
136 einfo 'updating configuration'
137 "${ROOT}"/usr/share/gksu/gksu-migrate-conf.sh
138 einfo ""
139 einfo "A note on gksudo: It actually runs sudo to get it's work done"
140 einfo "However, by default, Gentoo's sudo wipes your environment."
141 einfo "This means that gksudo will fail to run any X-based programs."
142 einfo "You need to either add yourself to wheel and uncomment this line"
143 einfo "in your /etc/sudoers:"
144 einfo "Defaults:%wheel !env_reset"
145 einfo "Or remove the env_reset line entirely. This can cause security"
146 einfo "problems; if you don't trust your users, don't do this, use gksu"
147 einfo "instead."
148 }