1 |
lxnay 11/08/02 05:45:08 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: packagekit-base-0.6.17.ebuild |
5 |
Log: |
6 |
version bump |
7 |
|
8 |
(Portage version: 2.2.0_alpha37/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.2 app-admin/packagekit-base/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/packagekit-base/ChangeLog?rev=1.2&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/packagekit-base/ChangeLog?rev=1.2&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/packagekit-base/ChangeLog?r1=1.1&r2=1.2 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/app-admin/packagekit-base/ChangeLog,v |
20 |
retrieving revision 1.1 |
21 |
retrieving revision 1.2 |
22 |
diff -u -r1.1 -r1.2 |
23 |
--- ChangeLog 19 Jul 2011 19:12:59 -0000 1.1 |
24 |
+++ ChangeLog 2 Aug 2011 05:45:08 -0000 1.2 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for app-admin/packagekit-base |
27 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/app-admin/packagekit-base/ChangeLog,v 1.1 2011/07/19 19:12:59 lxnay Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/app-admin/packagekit-base/ChangeLog,v 1.2 2011/08/02 05:45:08 lxnay Exp $ |
30 |
+ |
31 |
+*packagekit-base-0.6.17 (02 Aug 2011) |
32 |
+ |
33 |
+ 02 Aug 2011; Fabio Erculiani <lxnay@g.o> |
34 |
+ +packagekit-base-0.6.17.ebuild: |
35 |
+ version bump |
36 |
|
37 |
*packagekit-base-0.6.16 (19 Jul 2011) |
38 |
|
39 |
|
40 |
|
41 |
|
42 |
1.1 app-admin/packagekit-base/packagekit-base-0.6.17.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/packagekit-base/packagekit-base-0.6.17.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/packagekit-base/packagekit-base-0.6.17.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: packagekit-base-0.6.17.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/app-admin/packagekit-base/packagekit-base-0.6.17.ebuild,v 1.1 2011/08/02 05:45:08 lxnay Exp $ |
52 |
|
53 |
EAPI="3" |
54 |
|
55 |
inherit eutils multilib python nsplugins bash-completion |
56 |
|
57 |
MY_PN="PackageKit" |
58 |
MY_P=${MY_PN}-${PV} |
59 |
|
60 |
DESCRIPTION="Manage packages in a secure way using a cross-distro and cross-architecture API" |
61 |
HOMEPAGE="http://www.packagekit.org/" |
62 |
SRC_URI="http://www.packagekit.org/releases/${MY_P}.tar.xz" |
63 |
|
64 |
LICENSE="GPL-2" |
65 |
SLOT="0" |
66 |
KEYWORDS="~amd64 ~x86" |
67 |
IUSE="connman cron doc +introspection networkmanager nsplugin pm-utils +policykit entropy static-libs test udev" |
68 |
|
69 |
CDEPEND="connman? ( net-misc/connman ) |
70 |
introspection? ( >=dev-libs/gobject-introspection-0.9.8 ) |
71 |
networkmanager? ( >=net-misc/networkmanager-0.6.4 ) |
72 |
nsplugin? ( |
73 |
dev-libs/nspr |
74 |
x11-libs/cairo |
75 |
>=x11-libs/gtk+-2.14.0:2 |
76 |
x11-libs/pango |
77 |
) |
78 |
policykit? ( >=sys-auth/polkit-0.94 ) |
79 |
udev? ( || ( >=sys-fs/udev-171[gudev] >=sys-fs/udev-145[extras] ) ) |
80 |
dev-db/sqlite:3 |
81 |
>=dev-libs/dbus-glib-0.74 |
82 |
>=dev-libs/glib-2.16.1:2 |
83 |
>=sys-apps/dbus-1.3.0" |
84 |
DEPEND="${CDEPEND} |
85 |
doc? ( dev-util/gtk-doc ) |
86 |
nsplugin? ( >=net-libs/xulrunner-1.9.1 ) |
87 |
dev-libs/libxslt |
88 |
>=dev-util/intltool-0.35.0 |
89 |
dev-util/pkgconfig |
90 |
sys-devel/gettext" |
91 |
|
92 |
RDEPEND="${CDEPEND} |
93 |
entropy? ( >=sys-apps/entropy-1.0_rc27 ) |
94 |
pm-utils? ( sys-power/pm-utils ) |
95 |
>=app-portage/layman-1.2.3 |
96 |
>=sys-apps/portage-2.1.9 |
97 |
sys-auth/consolekit" |
98 |
|
99 |
APP_LINGUAS="as bg bn ca cs da de el en_GB es fi fr gu he hi hu it ja kn ko ml mr |
100 |
ms nb nl or pa pl pt pt_BR ro ru sk sr sr@latin sv ta te th tr uk zh_CN zh_TW" |
101 |
for X in ${APP_LINGUAS}; do |
102 |
IUSE=" ${IUSE} linguas_${X}" |
103 |
done |
104 |
|
105 |
S="${WORKDIR}/${MY_P}" |
106 |
RESTRICT="test" # tests are failing atm |
107 |
|
108 |
# NOTES: |
109 |
# do not use a specific user, useless and not more secure according to upstream |
110 |
# doc is in the tarball and always installed |
111 |
# mono doesn't install anything (RDEPEND dev-dotnet/gtk-sharp-gapi:2 |
112 |
# (R)DEPEND dev-dotnet/glib-sharp:2 dev-lang/mono), upstream bug 23247 |
113 |
|
114 |
# UPSTREAM: |
115 |
# documentation/website with --enable-doc-install |
116 |
# failing tests |
117 |
|
118 |
src_configure() { |
119 |
local myconf="" |
120 |
|
121 |
if use policykit; then |
122 |
myconf+=" --with-security-framework=polkit" |
123 |
else |
124 |
myconf+=" --with-security-framework=dummy" |
125 |
fi |
126 |
|
127 |
if [[ -z "${LINGUAS}" ]]; then |
128 |
myconf+=" --disable-nls" |
129 |
else |
130 |
myconf+=" --enable-nls" |
131 |
fi |
132 |
|
133 |
# localstatedir: for gentoo it's /var/lib but for $PN it's /var |
134 |
# dep-tracking,option-check,libtool-lock,strict,local: obvious reasons |
135 |
# command,debuginfo,gstreamer,service-packs: not supported by backend |
136 |
|
137 |
# NOTE: default backend is autodetected at runtime, also |
138 |
if use entropy; then |
139 |
myconf+=" --with-default-backend=entropy" |
140 |
else |
141 |
myconf+=" --with-default-backend=portage" |
142 |
fi |
143 |
econf \ |
144 |
${myconf} \ |
145 |
--enable-introspection=no \ |
146 |
--localstatedir=/var \ |
147 |
--disable-dependency-tracking \ |
148 |
--enable-option-checking \ |
149 |
--enable-libtool-lock \ |
150 |
--disable-strict \ |
151 |
--disable-local \ |
152 |
$(use_enable doc gtk-doc) \ |
153 |
$(use_enable bash-completion command-not-found) \ |
154 |
--disable-debuginfo-install \ |
155 |
--disable-gstreamer-plugin \ |
156 |
--disable-service-packs \ |
157 |
--enable-man-pages \ |
158 |
--enable-portage \ |
159 |
$(use_enable entropy) \ |
160 |
$(use_enable cron) \ |
161 |
--disable-gtk-module \ |
162 |
$(use_enable introspection) \ |
163 |
$(use_enable networkmanager) \ |
164 |
$(use_enable nsplugin browser-plugin) \ |
165 |
$(use_enable pm-utils) \ |
166 |
--disable-qt \ |
167 |
$(use_enable static-libs static) \ |
168 |
$(use_enable test tests) \ |
169 |
$(use_enable udev device-rebind) |
170 |
} |
171 |
|
172 |
src_install() { |
173 |
emake DESTDIR="${D}" install || die "emake install failed" |
174 |
|
175 |
dodoc AUTHORS MAINTAINERS NEWS README TODO || die "dodoc failed" |
176 |
dodoc ChangeLog || die "dodoc failed" |
177 |
|
178 |
if use nsplugin; then |
179 |
src_mv_plugins /usr/$(get_libdir)/mozilla/plugins |
180 |
fi |
181 |
|
182 |
if ! use static-libs; then |
183 |
find "${D}" -name *.la | xargs rm || die "removing .la files failed" |
184 |
fi |
185 |
|
186 |
# Remove precompiled python modules, we handle byte compiling |
187 |
rm -f "${D}/$(python_get_sitedir)"/${PN}*.py[co] |
188 |
|
189 |
dobashcompletion "${S}/contrib/pk-completion.bash" ${PN} |
190 |
# Remove bashcomp file installed by build-system |
191 |
rm -f "${D}/bash_completion.d/pk-completion.bash" |
192 |
|
193 |
# Remove unwanted PackageKit website stuff |
194 |
rm -rf "${D}/usr/share/PackageKit/website" |
195 |
|
196 |
} |
197 |
|
198 |
pkg_postinst() { |
199 |
python_mod_optimize ${PN/-base} |
200 |
|
201 |
if ! use policykit; then |
202 |
ewarn "You are not using policykit, the daemon can't be considered as secure." |
203 |
ewarn "All users will be able to do anything through ${MY_PN}." |
204 |
ewarn "Please, consider rebuilding ${MY_PN} with policykit USE flag." |
205 |
ewarn "THIS IS A SECURITY ISSUE." |
206 |
echo |
207 |
ebeep |
208 |
epause 5 |
209 |
fi |
210 |
bash-completion_pkg_postinst |
211 |
} |
212 |
|
213 |
pkg_prerm() { |
214 |
einfo "Removing downloaded files with ${MY_PN}..." |
215 |
[[ -d "${ROOT}"/var/cache/${MY_PN}/downloads/ ]] && \ |
216 |
rm -rf /var/cache/PackageKit/downloads/* |
217 |
} |
218 |
|
219 |
pkg_postrm() { |
220 |
python_mod_cleanup ${PN/-base} |
221 |
} |