1 |
dang 08/10/29 19:01:35 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: gksu-2.0.0-r2.ebuild |
5 |
Log: |
6 |
Bump to gksu-2.0.0-r2 |
7 |
- Fix nautilus extension directory. Bug #241586 |
8 |
(Portage version: 2.2_rc12/cvs/Linux 2.6.27-gentoo-r1 x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.49 x11-libs/gksu/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/gksu/ChangeLog?rev=1.49&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/gksu/ChangeLog?rev=1.49&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/gksu/ChangeLog?r1=1.48&r2=1.49 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/x11-libs/gksu/ChangeLog,v |
20 |
retrieving revision 1.48 |
21 |
retrieving revision 1.49 |
22 |
diff -u -r1.48 -r1.49 |
23 |
--- ChangeLog 24 May 2008 16:13:46 -0000 1.48 |
24 |
+++ ChangeLog 29 Oct 2008 19:01:34 -0000 1.49 |
25 |
@@ -1,6 +1,14 @@ |
26 |
# ChangeLog for x11-libs/gksu |
27 |
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/gksu/ChangeLog,v 1.48 2008/05/24 16:13:46 dang Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/gksu/ChangeLog,v 1.49 2008/10/29 19:01:34 dang Exp $ |
30 |
+ |
31 |
+*gksu-2.0.0-r2 (29 Oct 2008) |
32 |
+ |
33 |
+ 29 Oct 2008; Daniel Gryniewicz <dang@g.o> |
34 |
+ +files/gksu-2.0.0-new-nautilus.patch, +gksu-2.0.0-r2.ebuild: |
35 |
+ Bump to gksu-2.0.0-r2 |
36 |
+ |
37 |
+ - Fix nautilus extension directory. Bug #241586 |
38 |
|
39 |
24 May 2008; Daniel Gryniewicz <dang@g.o> gksu-2.0.0-r1.ebuild: |
40 |
Oops, forgot the dep on gnome-terminal |
41 |
|
42 |
|
43 |
|
44 |
1.1 x11-libs/gksu/gksu-2.0.0-r2.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/gksu/gksu-2.0.0-r2.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/gksu/gksu-2.0.0-r2.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: gksu-2.0.0-r2.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2008 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
# $Header: /var/cvsroot/gentoo-x86/x11-libs/gksu/gksu-2.0.0-r2.ebuild,v 1.1 2008/10/29 19:01:34 dang Exp $ |
54 |
|
55 |
inherit gnome2 fixheadtails eutils autotools |
56 |
|
57 |
DESCRIPTION="A gtk+ frontend for libgksu" |
58 |
HOMEPAGE="http://www.nongnu.org/gksu/" |
59 |
SRC_URI="http://people.debian.org/~kov/gksu/${P}.tar.gz" |
60 |
|
61 |
LICENSE="GPL-2" |
62 |
SLOT="0" |
63 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd" |
64 |
IUSE="doc gnome" |
65 |
|
66 |
RDEPEND=">=x11-libs/libgksu-2 |
67 |
>=x11-libs/gtk+-2.4.0 |
68 |
>=gnome-base/gconf-2.0 |
69 |
gnome? ( |
70 |
>=gnome-base/gnome-vfs-2 |
71 |
>=gnome-base/nautilus-2 |
72 |
x11-terms/gnome-terminal |
73 |
)" |
74 |
DEPEND="${RDEPEND} |
75 |
doc? ( dev-util/gtk-doc )" |
76 |
|
77 |
pkg_setup() { |
78 |
DOCS="AUTHORS ChangeLog NEWS README" |
79 |
G2CONF="$(use_enable doc gtk-doc) $(use_enable gnome nautilus-extension)" |
80 |
USE_DESTDIR="1" |
81 |
} |
82 |
|
83 |
src_unpack() { |
84 |
gnome2_src_unpack |
85 |
ht_fix_file "${S}/gksu-migrate-conf.sh" |
86 |
|
87 |
epatch "${FILESDIR}"/${P}-gnome-2.22.patch |
88 |
|
89 |
# Fix the nautilus extension directory. Bug #241586 |
90 |
epatch "${FILESDIR}"/${P}-new-nautilus.patch |
91 |
|
92 |
if use gnome ; then |
93 |
sed -i 's/x-terminal-emulator/gnome-terminal/' gksu.desktop |
94 |
else |
95 |
sed -i 's/dist_desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)/dist_desktop_DATA =/' Makefile.am |
96 |
sed -i 's/dist_desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)/dist_desktop_DATA =/' Makefile.in |
97 |
fi |
98 |
|
99 |
eautoreconf |
100 |
} |
101 |
|
102 |
src_install() { |
103 |
gnome2_src_install |
104 |
chmod +x "${D}/usr/share/gksu/gksu-migrate-conf.sh" |
105 |
} |
106 |
|
107 |
pkg_postinst() { |
108 |
gnome2_pkg_postinst |
109 |
einfo 'updating configuration' |
110 |
"${ROOT}"/usr/share/gksu/gksu-migrate-conf.sh |
111 |
einfo "" |
112 |
einfo "A note on gksudo: It actually runs sudo to get it's work done" |
113 |
einfo "However, by default, Gentoo's sudo wipes your environment." |
114 |
einfo "This means that gksudo will fail to run any X-based programs." |
115 |
einfo "You need to either add yourself to wheel and uncomment this line" |
116 |
einfo "in your /etc/sudoers:" |
117 |
einfo "Defaults:%wheel !env_reset" |
118 |
einfo "Or remove the env_reset line entirely. This can cause security" |
119 |
einfo "problems; if you don't trust your users, don't do this, use gksu" |
120 |
einfo "instead." |
121 |
} |