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