1 |
pacho 13/08/01 19:43:09 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: tracker-0.16.2.ebuild |
5 |
Removed: tracker-9999.ebuild |
6 |
Log: |
7 |
Version bump, drop old |
8 |
|
9 |
(Portage version: 2.1.13.2/cvs/Linux x86_64, signed Manifest commit with key A188FBD4) |
10 |
|
11 |
Revision Changes Path |
12 |
1.160 app-misc/tracker/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/tracker/ChangeLog?rev=1.160&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/tracker/ChangeLog?rev=1.160&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/tracker/ChangeLog?r1=1.159&r2=1.160 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/app-misc/tracker/ChangeLog,v |
21 |
retrieving revision 1.159 |
22 |
retrieving revision 1.160 |
23 |
diff -u -r1.159 -r1.160 |
24 |
--- ChangeLog 14 May 2013 21:37:42 -0000 1.159 |
25 |
+++ ChangeLog 1 Aug 2013 19:43:09 -0000 1.160 |
26 |
@@ -1,6 +1,12 @@ |
27 |
# ChangeLog for app-misc/tracker |
28 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/app-misc/tracker/ChangeLog,v 1.159 2013/05/14 21:37:42 eva Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/app-misc/tracker/ChangeLog,v 1.160 2013/08/01 19:43:09 pacho Exp $ |
31 |
+ |
32 |
+*tracker-0.16.2 (01 Aug 2013) |
33 |
+ |
34 |
+ 01 Aug 2013; Pacho Ramos <pacho@g.o> +tracker-0.16.2.ebuild, |
35 |
+ -tracker-9999.ebuild: |
36 |
+ Version bump, drop old |
37 |
|
38 |
14 May 2013; Gilles Dartiguelongue <eva@g.o> tracker-0.14.5.ebuild, |
39 |
-tracker-0.16.0.ebuild, tracker-0.16.1.ebuild: |
40 |
|
41 |
|
42 |
|
43 |
1.1 app-misc/tracker/tracker-0.16.2.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/tracker/tracker-0.16.2.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/tracker/tracker-0.16.2.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: tracker-0.16.2.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2013 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/app-misc/tracker/tracker-0.16.2.ebuild,v 1.1 2013/08/01 19:43:09 pacho Exp $ |
53 |
|
54 |
EAPI="5" |
55 |
GCONF_DEBUG="no" |
56 |
GNOME2_LA_PUNT="yes" |
57 |
PYTHON_COMPAT=( python2_{6,7} ) |
58 |
VALA_MIN_API_VERSION="0.14" |
59 |
|
60 |
inherit autotools gnome2 linux-info multilib python-any-r1 vala versionator virtualx |
61 |
|
62 |
DESCRIPTION="A tagging metadata database, search tool and indexer" |
63 |
HOMEPAGE="http://projects.gnome.org/tracker/" |
64 |
|
65 |
LICENSE="GPL-2+ LGPL-2.1+" |
66 |
SLOT="0/16" |
67 |
IUSE="cue eds elibc_glibc exif firefox-bookmarks flac gif gsf gstreamer gtk iptc +iso +jpeg laptop libsecret +miner-fs mp3 nautilus networkmanager pdf playlist rss test thunderbird +tiff upnp-av +vorbis xine +xml xmp xps" # qt4 strigi |
68 |
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
69 |
|
70 |
REQUIRED_USE=" |
71 |
^^ ( gstreamer xine ) |
72 |
cue? ( gstreamer ) |
73 |
upnp-av? ( gstreamer ) |
74 |
!miner-fs? ( !cue !exif !flac !gif !gsf !iptc !iso !jpeg !mp3 !pdf !playlist !tiff !vorbis !xml !xmp !xps ) |
75 |
" |
76 |
|
77 |
# According to NEWS, introspection is non-optional |
78 |
# glibc-2.12 needed for SCHED_IDLE (see bug #385003) |
79 |
# sqlite-3.7.16 for FTS4 support |
80 |
RDEPEND=" |
81 |
>=app-i18n/enca-1.9 |
82 |
>=dev-db/sqlite-3.7.16:= |
83 |
>=dev-libs/glib-2.35.1:2 |
84 |
>=dev-libs/gobject-introspection-0.9.5 |
85 |
>=dev-libs/icu-4:= |
86 |
|| ( |
87 |
>=media-gfx/imagemagick-5.2.1[png,jpeg=] |
88 |
media-gfx/graphicsmagick[imagemagick,png,jpeg=] ) |
89 |
>=media-libs/libpng-1.2:0= |
90 |
>=x11-libs/pango-1:= |
91 |
sys-apps/util-linux |
92 |
|
93 |
cue? ( media-libs/libcue ) |
94 |
eds? ( |
95 |
>=mail-client/evolution-3.3.5:= |
96 |
>=gnome-extra/evolution-data-server-3.3.5:= |
97 |
<mail-client/evolution-3.5.3 |
98 |
<gnome-extra/evolution-data-server-3.5.3 ) |
99 |
elibc_glibc? ( >=sys-libs/glibc-2.12 ) |
100 |
exif? ( >=media-libs/libexif-0.6 ) |
101 |
firefox-bookmarks? ( || ( |
102 |
>=www-client/firefox-4.0 |
103 |
>=www-client/firefox-bin-4.0 ) ) |
104 |
flac? ( >=media-libs/flac-1.2.1 ) |
105 |
gif? ( media-libs/giflib ) |
106 |
gsf? ( >=gnome-extra/libgsf-1.13 ) |
107 |
gstreamer? ( |
108 |
media-libs/gstreamer:1.0 |
109 |
media-libs/gst-plugins-base:1.0 ) |
110 |
gtk? ( |
111 |
>=dev-libs/libgee-0.3:0.8 |
112 |
>=x11-libs/gtk+-3:3 ) |
113 |
iptc? ( media-libs/libiptcdata ) |
114 |
iso? ( >=sys-libs/libosinfo-0.0.2:= ) |
115 |
jpeg? ( virtual/jpeg:0 ) |
116 |
laptop? ( >=sys-power/upower-0.9 ) |
117 |
libsecret? ( >=app-crypt/libsecret-0.5 ) |
118 |
mp3? ( |
119 |
>=media-libs/taglib-1.6 |
120 |
gtk? ( x11-libs/gdk-pixbuf:2 ) ) |
121 |
networkmanager? ( >=net-misc/networkmanager-0.8 ) |
122 |
pdf? ( |
123 |
>=x11-libs/cairo-1:= |
124 |
>=app-text/poppler-0.16:=[cairo,utils] |
125 |
>=x11-libs/gtk+-2.12:2 ) |
126 |
playlist? ( >=dev-libs/totem-pl-parser-3 ) |
127 |
rss? ( net-libs/libgrss:0.5 ) |
128 |
thunderbird? ( || ( |
129 |
>=mail-client/thunderbird-5.0 |
130 |
>=mail-client/thunderbird-bin-5.0 ) ) |
131 |
tiff? ( media-libs/tiff ) |
132 |
upnp-av? ( >=media-libs/gupnp-dlna-0.9.4:2.0 ) |
133 |
vorbis? ( >=media-libs/libvorbis-0.22 ) |
134 |
xine? ( >=media-libs/xine-lib-1 ) |
135 |
xml? ( >=dev-libs/libxml2-2.6 ) |
136 |
xmp? ( >=media-libs/exempi-2.1 ) |
137 |
xps? ( app-text/libgxps ) |
138 |
!gstreamer? ( !xine? ( || ( media-video/totem media-video/mplayer ) ) ) |
139 |
" |
140 |
# strigi? ( >=app-misc/strigi-0.7 ) |
141 |
# mp3? ( qt4? ( >=dev-qt/qtgui-4.7.1:4 ) ) |
142 |
DEPEND="${RDEPEND} |
143 |
${PYTHON_DEPS} |
144 |
$(vala_depend) |
145 |
>=dev-util/gtk-doc-am-1.8 |
146 |
>=dev-util/intltool-0.40 |
147 |
>=sys-devel/gettext-0.17 |
148 |
virtual/pkgconfig |
149 |
gtk? ( >=dev-libs/libgee-0.3 ) |
150 |
test? ( |
151 |
>=dev-libs/dbus-glib-0.82-r1 |
152 |
>=sys-apps/dbus-1.3.1[X] ) |
153 |
" |
154 |
PDEPEND="nautilus? ( ~gnome-extra/nautilus-tracker-tags-${PV} )" |
155 |
|
156 |
# configure mixes enable-compile-warnings and with-compile-warnings |
157 |
# See upstream bug #705315 |
158 |
QA_CONFIGURE_OPTIONS="--enable-compile-warnings" |
159 |
|
160 |
function inotify_enabled() { |
161 |
if linux_config_exists; then |
162 |
if ! linux_chkconfig_present INOTIFY_USER; then |
163 |
ewarn "You should enable the INOTIFY support in your kernel." |
164 |
ewarn "Check the 'Inotify support for userland' under the 'File systems'" |
165 |
ewarn "option. It is marked as CONFIG_INOTIFY_USER in the config" |
166 |
die 'missing CONFIG_INOTIFY' |
167 |
fi |
168 |
else |
169 |
einfo "Could not check for INOTIFY support in your kernel." |
170 |
fi |
171 |
} |
172 |
|
173 |
pkg_setup() { |
174 |
linux-info_pkg_setup |
175 |
inotify_enabled |
176 |
|
177 |
python-any-r1_pkg_setup |
178 |
} |
179 |
|
180 |
src_prepare() { |
181 |
# Don't run 'firefox --version' or 'thunderbird --version'; it results in |
182 |
# access violations on some setups (bug #385347, #385495). |
183 |
create_version_script "www-client/firefox" "Mozilla Firefox" firefox-version.sh |
184 |
create_version_script "mail-client/thunderbird" "Mozilla Thunderbird" thunderbird-version.sh |
185 |
|
186 |
# Skip broken tests |
187 |
# https://bugzilla.gnome.org/show_bug.cgi?id=699408 |
188 |
sed -e '\%/libtracker-common/file-utils/has_write_access_or_was_created%,+1 d' \ |
189 |
-i tests/libtracker-common/tracker-file-utils-test.c || die |
190 |
# https://bugzilla.gnome.org/show_bug.cgi?id=699410 |
191 |
sed -e '\%/libtracker-miner/tracker-password-provider/setting%,+1 d' \ |
192 |
-e '\%/libtracker-miner/tracker-password-provider/getting%,+1 d' \ |
193 |
-i tests/libtracker-miner/tracker-password-provider-test.c || die |
194 |
# https://bugzilla.gnome.org/show_bug.cgi?id=699412 |
195 |
sed -e '/#if HAVE_TRACKER_FTS/,/#endif/ d' \ |
196 |
-i tests/libtracker-sparql/tracker-test.c || die |
197 |
# https://bugzilla.gnome.org/show_bug.cgi?id=699412 |
198 |
sed -e 's/\({ "本州最主流的风味",.*TRUE, \) 8/\1 5/' \ |
199 |
-e 's/\({ "ホモ・サピエンス.*TRUE, \) 13/\1 10/' \ |
200 |
-i tests/libtracker-fts/tracker-parser-test.c || die |
201 |
# Fails inside portage, not outside |
202 |
# https://bugzilla.gnome.org/show_bug.cgi?id=699413 |
203 |
sed -e '\%/steroids/tracker/tracker_sparql_update_async%,+1 d' \ |
204 |
-i tests/tracker-steroids/tracker-test.c || die |
205 |
|
206 |
eautoreconf # See bug #367975 |
207 |
gnome2_src_prepare |
208 |
vala_src_prepare |
209 |
} |
210 |
|
211 |
src_configure() { |
212 |
local myconf="" |
213 |
|
214 |
if use gstreamer ; then |
215 |
myconf="${myconf} --enable-generic-media-extractor=gstreamer" |
216 |
if use upnp-av; then |
217 |
myconf="${myconf} --with-gstreamer-backend=gupnp-dlna" |
218 |
else |
219 |
myconf="${myconf} --with-gstreamer-backend=discoverer" |
220 |
fi |
221 |
elif use xine ; then |
222 |
myconf="${myconf} --enable-generic-media-extractor=xine" |
223 |
else |
224 |
myconf="${myconf} --enable-generic-media-extractor=external" |
225 |
fi |
226 |
|
227 |
# if use mp3 && (use gtk || use qt4); then |
228 |
if use mp3 && use gtk; then |
229 |
#myconf="${myconf} $(use_enable !qt4 gdkpixbuf) $(use_enable qt4 qt)" |
230 |
myconf="${myconf} --enable-gdkpixbuf" |
231 |
fi |
232 |
|
233 |
# unicode-support: libunistring, libicu or glib ? |
234 |
# According to NEWS, introspection is required |
235 |
# FIXME: disabling streamanalyzer for now since tracker-sparql-builder.h |
236 |
# is not being generated |
237 |
# XXX: disabling qt since tracker-albumart-qt is unstable; bug #385345 |
238 |
# nautilus extension is in a separate package, nautilus-tracker-tags |
239 |
gnome2_src_configure \ |
240 |
--disable-hal \ |
241 |
--disable-libstreamanalyzer \ |
242 |
--disable-nautilus-extension \ |
243 |
--disable-qt \ |
244 |
--enable-abiword \ |
245 |
--enable-artwork \ |
246 |
--enable-dvi \ |
247 |
--enable-icon \ |
248 |
--enable-ps \ |
249 |
--enable-text \ |
250 |
--enable-guarantee-metadata \ |
251 |
--enable-introspection \ |
252 |
--enable-libpng \ |
253 |
--enable-tracker-fts \ |
254 |
--with-enca \ |
255 |
--with-unicode-support=libicu \ |
256 |
$(use_enable cue libcue) \ |
257 |
$(use_enable eds miner-evolution) \ |
258 |
$(use_enable exif libexif) \ |
259 |
$(use_enable firefox-bookmarks miner-firefox) \ |
260 |
$(use_with firefox-bookmarks firefox-plugin-dir "${EPREFIX}"/usr/$(get_libdir)/firefox/extensions) \ |
261 |
FIREFOX="${S}"/firefox-version.sh \ |
262 |
$(use_enable flac libflac) \ |
263 |
$(use_enable gif libgif) \ |
264 |
$(use_enable gsf libgsf) \ |
265 |
$(use_enable gtk tracker-needle) \ |
266 |
$(use_enable gtk tracker-preferences) \ |
267 |
$(use_enable iptc libiptcdata) \ |
268 |
$(use_enable iso libosinfo) \ |
269 |
$(use_enable jpeg libjpeg) \ |
270 |
$(use_enable laptop upower) \ |
271 |
$(use_enable libsecret) \ |
272 |
$(use_enable miner-fs) \ |
273 |
$(use_enable mp3 taglib) \ |
274 |
$(use_enable mp3) \ |
275 |
$(use_enable networkmanager network-manager) \ |
276 |
$(use_enable pdf poppler) \ |
277 |
$(use_enable playlist) \ |
278 |
$(use_enable rss miner-rss) \ |
279 |
$(use_enable test functional-tests) \ |
280 |
$(use_enable test unit-tests) \ |
281 |
$(use_enable thunderbird miner-thunderbird) \ |
282 |
$(use_with thunderbird thunderbird-plugin-dir "${EPREFIX}"/usr/$(get_libdir)/thunderbird/extensions) \ |
283 |
THUNDERBIRD="${S}"/thunderbird-version.sh \ |
284 |
$(use_enable tiff libtiff) \ |
285 |
$(use_enable vorbis libvorbis) \ |
286 |
$(use_enable xml libxml2) \ |
287 |
$(use_enable xmp exempi) \ |
288 |
$(use_enable xps libgxps) \ |
289 |
${myconf} |
290 |
# $(use_enable strigi libstreamanalyzer) |
291 |
} |
292 |
|
293 |
src_test() { |
294 |
export G_MESSAGES_DEBUG=all # upstream bug #699401#c1 |
295 |
unset DBUS_SESSION_BUS_ADDRESS |
296 |
Xemake check XDG_DATA_HOME="${T}" XDG_CONFIG_HOME="${T}" |
297 |
} |
298 |
|
299 |
src_install() { |
300 |
gnome2_src_install |
301 |
|
302 |
# Manually symlink extensions for {firefox,thunderbird}-bin |
303 |
if use firefox-bookmarks; then |
304 |
dosym /usr/share/xul-ext/trackerfox \ |
305 |
/usr/$(get_libdir)/firefox-bin/extensions/trackerfox@×××××××.org |
306 |
fi |
307 |
|
308 |
if use thunderbird; then |
309 |
dosym /usr/share/xul-ext/trackerbird \ |
310 |
/usr/$(get_libdir)/thunderbird-bin/extensions/trackerbird@×××××××.org |
311 |
fi |
312 |
} |
313 |
|
314 |
create_version_script() { |
315 |
# Create script $3 that prints "$2 MAX(VERSION($1), VERSION($1-bin))" |
316 |
|
317 |
local v=$(best_version ${1}) |
318 |
v=${v#${1}-} |
319 |
local vbin=$(best_version ${1}-bin) |
320 |
vbin=${vbin#${1}-bin-} |
321 |
|
322 |
if [[ -z ${v} ]]; then |
323 |
v=${vbin} |
324 |
else |
325 |
version_compare ${v} ${vbin} |
326 |
[[ $? -eq 1 ]] && v=${vbin} |
327 |
fi |
328 |
|
329 |
echo -e "#!/bin/sh\necho $2 $v" > "$3" || die |
330 |
chmod +x "$3" || die |
331 |
} |