Gentoo Archives: gentoo-dev

From: Gilles Dartiguelongue <eva@g.o>
To: gentoo-dev@l.g.o, ssuominen@g.o
Subject: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in gnome-extra/polkit-gnome: polkit-gnome-0.99.ebuild ChangeLog
Date: Wed, 29 Dec 2010 09:34:05
Message-Id: 1293615203.28885.0.camel@gdartigu.lan.rep.sj
1 Le mardi 28 décembre 2010 à 18:38 +0000, Samuli Suominen (ssuominen) a
2 écrit :
3 > ssuominen 10/12/28 18:38:42
4 >
5 > Modified: polkit-gnome-0.99.ebuild ChangeLog
6 > Log:
7 > Remove unused app-text/scrollkeeper and gnome-base/gconf dependencies wrt #349954 by Andrew Brouwers. ebuild cleanup
8 >
9 > (Portage version: 2.2.0_alpha10/cvs/Linux x86_64)
10 >
11 > Revision Changes Path
12 > 1.2 gnome-extra/polkit-gnome/polkit-gnome-0.99.ebuild
13 >
14 > file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/polkit-gnome/polkit-gnome-0.99.ebuild?rev=1.2&view=markup
15 > plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/polkit-gnome/polkit-gnome-0.99.ebuild?rev=1.2&content-type=text/plain
16 > diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/polkit-gnome/polkit-gnome-0.99.ebuild?r1=1.1&r2=1.2
17 >
18 > Index: polkit-gnome-0.99.ebuild
19 > ===================================================================
20 > RCS file: /var/cvsroot/gentoo-x86/gnome-extra/polkit-gnome/polkit-gnome-0.99.ebuild,v
21 > retrieving revision 1.1
22 > retrieving revision 1.2
23 > diff -u -r1.1 -r1.2
24 > --- polkit-gnome-0.99.ebuild 25 Sep 2010 02:13:40 -0000 1.1
25 > +++ polkit-gnome-0.99.ebuild 28 Dec 2010 18:38:42 -0000 1.2
26 > @@ -1,53 +1,62 @@
27 > # Copyright 1999-2010 Gentoo Foundation
28 > # Distributed under the terms of the GNU General Public License v2
29 > -# $Header: /var/cvsroot/gentoo-x86/gnome-extra/polkit-gnome/polkit-gnome-0.99.ebuild,v 1.1 2010/09/25 02:13:40 nirbheek Exp $
30 > +# $Header: /var/cvsroot/gentoo-x86/gnome-extra/polkit-gnome/polkit-gnome-0.99.ebuild,v 1.2 2010/12/28 18:38:42 ssuominen Exp $
31 >
32 > -EAPI="2"
33 > +EAPI=2
34 > +inherit autotools eutils
35 >
36 > -inherit autotools eutils gnome2
37 > -
38 > -DESCRIPTION="PolicyKit policies and configurations for the GNOME desktop"
39 > -HOMEPAGE="http://hal.freedesktop.org/docs/PolicyKit"
40 > +DESCRIPTION="A dbus session bus service that is used to bring up authentication dialogs"
41 > +HOMEPAGE="http://hal.freedesktop.org/docs/PolicyKit/"
42 > SRC_URI="http://hal.freedesktop.org/releases/${P}.tar.bz2"
43 >
44 > -LICENSE="LGPL-2 GPL-2"
45 > +LICENSE="GPL-2 LGPL-2"
46 > SLOT="0"
47 > KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
48 > IUSE="doc examples +introspection"
49 >
50 > RDEPEND=">=x11-libs/gtk+-2.17.1
51 > - >=gnome-base/gconf-2.8
52 > >=sys-auth/polkit-0.97
53 > - introspection? ( >=dev-libs/gobject-introspection-0.6.2 )"
54 > + introspection? ( >=dev-libs/gobject-introspection-0.6.2 )
55 > + !lxde-base/lxpolkit"
56 > DEPEND="${RDEPEND}
57 > - sys-devel/gettext
58 > - >=dev-util/pkgconfig-0.19
59 > + dev-util/gtk-doc-am
60 > >=dev-util/intltool-0.35.0
61 > - >=app-text/scrollkeeper-0.3.14
62 > + dev-util/pkgconfig
63 > gnome-base/gnome-common
64 > - dev-util/gtk-doc-am
65 > + sys-devel/gettext
66 > doc? ( >=dev-util/gtk-doc-1.3 )"
67 > -# gtk-doc-am is required for eautoreconf
68 > -DOCS="AUTHORS HACKING NEWS TODO"
69 >
70 > src_prepare() {
71 > - G2CONF="${G2CONF}
72 > - $(use_enable examples)
73 > - $(use_enable introspection)"
74 > -
75 > # polkit-gnome is useful also for LXDE, XFCE, and others
76 > sed -i \
77 > -e 's:OnlyShowIn=GNOME:NotShowIn=KDE:' \
78 > src/polkit-gnome-authentication-agent-1.desktop.in.in || die
79 >
80 > # Fix make check, bug 298345
81 > - epatch "${FILESDIR}/${PN}-0.95-fix-make-check.patch"
82 > + epatch "${FILESDIR}"/${PN}-0.95-fix-make-check.patch
83 >
84 > if use doc; then
85 > # Fix parallel build failure, bug 293247
86 > - epatch "${FILESDIR}/${PN}-0.95-parallel-build-failure.patch"
87 > + epatch "${FILESDIR}"/${PN}-0.95-parallel-build-failure.patch
88 >
89 > - gtkdocize || die "gtkdocize failed"
90 > + gtkdocize || die
91 > eautoreconf
92 > fi
93 > }
94 > +
95 > +src_configure() {
96 > + # Do we need USE static-libs ? By user request.
97 > + econf \
98 > + --disable-dependency-tracking \
99 > + --disable-static \
100 > + $(use_enable doc gtk-doc) \
101 > + $(use_enable examples) \
102 > + $(use_enable introspection)
103 > +}
104 > +
105 > +src_install() {
106 > + emake DESTDIR="${D}" install || die
107 > + dodoc AUTHORS HACKING NEWS
108 > +
109 > + find "${D}" -name '*.la' -exec rm -f '{}' +
110 > +}
111 >
112 >
113 >
114 > 1.23 gnome-extra/polkit-gnome/ChangeLog
115 >
116 > file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/polkit-gnome/ChangeLog?rev=1.23&view=markup
117 > plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/polkit-gnome/ChangeLog?rev=1.23&content-type=text/plain
118 > diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/polkit-gnome/ChangeLog?r1=1.22&r2=1.23
119 >
120 > Index: ChangeLog
121 > ===================================================================
122 > RCS file: /var/cvsroot/gentoo-x86/gnome-extra/polkit-gnome/ChangeLog,v
123 > retrieving revision 1.22
124 > retrieving revision 1.23
125 > diff -u -r1.22 -r1.23
126 > --- ChangeLog 12 Dec 2010 17:44:03 -0000 1.22
127 > +++ ChangeLog 28 Dec 2010 18:38:42 -0000 1.23
128 > @@ -1,6 +1,10 @@
129 > # ChangeLog for gnome-extra/polkit-gnome
130 > # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
131 > -# $Header: /var/cvsroot/gentoo-x86/gnome-extra/polkit-gnome/ChangeLog,v 1.22 2010/12/12 17:44:03 ssuominen Exp $
132 > +# $Header: /var/cvsroot/gentoo-x86/gnome-extra/polkit-gnome/ChangeLog,v 1.23 2010/12/28 18:38:42 ssuominen Exp $
133 > +
134 > + 28 Dec 2010; Samuli Suominen <ssuominen@g.o> polkit-gnome-0.99.ebuild:
135 > + Remove unused app-text/scrollkeeper and gnome-base/gconf dependencies wrt
136 > + #349954 by Andrew Brouwers.
137 >
138
139 may the gnome team know why this needed a full ebuild rewrite ???
140
141
142 --
143 Gilles Dartiguelongue <eva@g.o>
144 Gentoo