1 |
commit: c51554cbfecf02dcbb5d2b9b77f3a8a541ae7245 |
2 |
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jun 24 20:26:17 2016 +0000 |
4 |
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jun 24 20:43:54 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c51554cb |
7 |
|
8 |
app-misc/tracker: Drop old |
9 |
|
10 |
Package-Manager: portage-2.3.0_rc1 |
11 |
|
12 |
app-misc/tracker/Manifest | 1 - |
13 |
app-misc/tracker/tracker-1.6.1.ebuild | 263 ---------------------------------- |
14 |
2 files changed, 264 deletions(-) |
15 |
|
16 |
diff --git a/app-misc/tracker/Manifest b/app-misc/tracker/Manifest |
17 |
index 14ebe99..34bf748 100644 |
18 |
--- a/app-misc/tracker/Manifest |
19 |
+++ b/app-misc/tracker/Manifest |
20 |
@@ -1,2 +1 @@ |
21 |
-DIST tracker-1.6.1.tar.xz 4905544 SHA256 653ed73f4f454b836df56bec1f1141c7a8d77cbeba97ea1e38df9f60a5f0c1ed SHA512 f3002576164cc4ba60b9c2f19bd301be7c1a9ef187216a7e1366d52ed0925f6d9fb29d2527d4bc5a88eb75314765de26621d5183741ecb9f21eb988a19d3f0ae WHIRLPOOL c3a8a9840528949799be58c212a493e3319e6ad25830ff286d8bf47c13acbbbcf573287bd633cb9ca6b24e907c3bd0491c60c23d8f50f92f2898b022c689048c |
22 |
DIST tracker-1.6.2.tar.xz 6128492 SHA256 d3583f32e6a06ccb1146ca31939710edb630d7ffe3da37b01f893b45f4480045 SHA512 280f2feab5c6af611c77ce90db925ecb6278eb4b516f22ac9f8b44ebfd87806fdbca51985ca28eccdabb503ee15ac76ded31d9380ea448cb2dc3fdd1ee4d5914 WHIRLPOOL d5ceca74daf114a3d09b2975d2ae3d21891c2f0a6cb9923ceda89e9f57b5fe049c9f23164f6f5c00806c664b98cc01dc5e8760fe6dcf5046125b520530924852 |
23 |
|
24 |
diff --git a/app-misc/tracker/tracker-1.6.1.ebuild b/app-misc/tracker/tracker-1.6.1.ebuild |
25 |
deleted file mode 100644 |
26 |
index cd51902..0000000 |
27 |
--- a/app-misc/tracker/tracker-1.6.1.ebuild |
28 |
+++ /dev/null |
29 |
@@ -1,263 +0,0 @@ |
30 |
-# Copyright 1999-2016 Gentoo Foundation |
31 |
-# Distributed under the terms of the GNU General Public License v2 |
32 |
-# $Id$ |
33 |
- |
34 |
-EAPI="5" |
35 |
-GCONF_DEBUG="no" |
36 |
-GNOME2_LA_PUNT="yes" |
37 |
-PYTHON_COMPAT=( python2_7 ) |
38 |
- |
39 |
-inherit autotools bash-completion-r1 eutils gnome2 linux-info multilib python-any-r1 vala versionator virtualx |
40 |
- |
41 |
-DESCRIPTION="A tagging metadata database, search tool and indexer" |
42 |
-HOMEPAGE="https://wiki.gnome.org/Projects/Tracker" |
43 |
- |
44 |
-LICENSE="GPL-2+ LGPL-2.1+" |
45 |
-SLOT="0/100" |
46 |
-IUSE="cue eds elibc_glibc exif ffmpeg firefox-bookmarks flac gif gsf |
47 |
-gstreamer gtk iptc +iso +jpeg libav +miner-fs mp3 nautilus networkmanager |
48 |
-pdf playlist rss stemmer test thunderbird +tiff upnp-av upower +vorbis +xml xmp xps" |
49 |
- |
50 |
-KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc x86" |
51 |
- |
52 |
-REQUIRED_USE=" |
53 |
- ?? ( gstreamer ffmpeg ) |
54 |
- cue? ( gstreamer ) |
55 |
- upnp-av? ( gstreamer ) |
56 |
- !miner-fs? ( !cue !exif !flac !gif !gsf !iptc !iso !jpeg !mp3 !pdf !playlist !tiff !vorbis !xml !xmp !xps ) |
57 |
-" |
58 |
- |
59 |
-# According to NEWS, introspection is non-optional |
60 |
-# glibc-2.12 needed for SCHED_IDLE (see bug #385003) |
61 |
-# sqlite-3.7.16 for FTS4 support |
62 |
-RDEPEND=" |
63 |
- >=app-i18n/enca-1.9 |
64 |
- >=dev-db/sqlite-3.7.16:= |
65 |
- >=dev-libs/glib-2.40:2 |
66 |
- >=dev-libs/gobject-introspection-0.9.5:= |
67 |
- >=dev-libs/icu-4.8.1.1:= |
68 |
- || ( |
69 |
- >=media-gfx/imagemagick-5.2.1[png,jpeg?] |
70 |
- media-gfx/graphicsmagick[imagemagick,png,jpeg?] ) |
71 |
- >=media-libs/libpng-1.2:0= |
72 |
- >=media-libs/libmediaart-1.9:2.0 |
73 |
- >=x11-libs/pango-1:= |
74 |
- sys-apps/util-linux |
75 |
- |
76 |
- cue? ( media-libs/libcue ) |
77 |
- eds? ( |
78 |
- >=mail-client/evolution-3.3.5:= |
79 |
- >=gnome-extra/evolution-data-server-3.3.5:= |
80 |
- <mail-client/evolution-3.5.3 |
81 |
- <gnome-extra/evolution-data-server-3.5.3 ) |
82 |
- elibc_glibc? ( >=sys-libs/glibc-2.12 ) |
83 |
- exif? ( >=media-libs/libexif-0.6 ) |
84 |
- ffmpeg? ( |
85 |
- libav? ( media-video/libav:= ) |
86 |
- !libav? ( media-video/ffmpeg:0= ) |
87 |
- ) |
88 |
- firefox-bookmarks? ( || ( |
89 |
- >=www-client/firefox-4.0 |
90 |
- >=www-client/firefox-bin-4.0 ) ) |
91 |
- flac? ( >=media-libs/flac-1.2.1 ) |
92 |
- gif? ( media-libs/giflib:= ) |
93 |
- gsf? ( >=gnome-extra/libgsf-1.14.24 ) |
94 |
- gstreamer? ( |
95 |
- media-libs/gstreamer:1.0 |
96 |
- media-libs/gst-plugins-base:1.0 ) |
97 |
- gtk? ( |
98 |
- >=dev-libs/libgee-0.3:0.8 |
99 |
- >=x11-libs/gtk+-3:3 ) |
100 |
- iptc? ( media-libs/libiptcdata ) |
101 |
- iso? ( >=sys-libs/libosinfo-0.2.9:= ) |
102 |
- jpeg? ( virtual/jpeg:0 ) |
103 |
- upower? ( || ( >=sys-power/upower-0.9 sys-power/upower-pm-utils ) ) |
104 |
- mp3? ( >=media-libs/taglib-1.6 ) |
105 |
- networkmanager? ( >=net-misc/networkmanager-0.8 ) |
106 |
- pdf? ( |
107 |
- >=x11-libs/cairo-1:= |
108 |
- >=app-text/poppler-0.16:=[cairo,utils] |
109 |
- >=x11-libs/gtk+-2.12:2 ) |
110 |
- playlist? ( >=dev-libs/totem-pl-parser-3 ) |
111 |
- rss? ( >=net-libs/libgrss-0.7:0 ) |
112 |
- stemmer? ( dev-libs/snowball-stemmer ) |
113 |
- thunderbird? ( || ( |
114 |
- >=mail-client/thunderbird-5.0 |
115 |
- >=mail-client/thunderbird-bin-5.0 ) ) |
116 |
- tiff? ( media-libs/tiff:0 ) |
117 |
- upnp-av? ( >=media-libs/gupnp-dlna-0.9.4:2.0 ) |
118 |
- vorbis? ( >=media-libs/libvorbis-0.22 ) |
119 |
- xml? ( >=dev-libs/libxml2-2.6 ) |
120 |
- xmp? ( >=media-libs/exempi-2.1 ) |
121 |
- xps? ( app-text/libgxps ) |
122 |
- !gstreamer? ( !ffmpeg? ( || ( media-video/totem media-video/mplayer ) ) ) |
123 |
-" |
124 |
-DEPEND="${RDEPEND} |
125 |
- ${PYTHON_DEPS} |
126 |
- $(vala_depend) |
127 |
- dev-util/gdbus-codegen |
128 |
- >=dev-libs/libxslt-1 |
129 |
- >=dev-util/gtk-doc-am-1.8 |
130 |
- >=dev-util/intltool-0.40.0 |
131 |
- >=sys-devel/gettext-0.17 |
132 |
- virtual/pkgconfig |
133 |
- gtk? ( >=dev-libs/libgee-0.3:0.8 ) |
134 |
- test? ( |
135 |
- >=dev-libs/dbus-glib-0.82-r1 |
136 |
- >=sys-apps/dbus-1.3.1[X] ) |
137 |
-" |
138 |
-PDEPEND="nautilus? ( ~gnome-extra/nautilus-tracker-tags-${PV} )" |
139 |
- |
140 |
-function inotify_enabled() { |
141 |
- if linux_config_exists; then |
142 |
- if ! linux_chkconfig_present INOTIFY_USER; then |
143 |
- ewarn "You should enable the INOTIFY support in your kernel." |
144 |
- ewarn "Check the 'Inotify support for userland' under the 'File systems'" |
145 |
- ewarn "option. It is marked as CONFIG_INOTIFY_USER in the config" |
146 |
- die 'missing CONFIG_INOTIFY' |
147 |
- fi |
148 |
- else |
149 |
- einfo "Could not check for INOTIFY support in your kernel." |
150 |
- fi |
151 |
-} |
152 |
- |
153 |
-pkg_setup() { |
154 |
- linux-info_pkg_setup |
155 |
- inotify_enabled |
156 |
- |
157 |
- python-any-r1_pkg_setup |
158 |
-} |
159 |
- |
160 |
-src_prepare() { |
161 |
- # Don't run 'firefox --version' or 'thunderbird --version'; it results in |
162 |
- # access violations on some setups (bug #385347, #385495). |
163 |
- create_version_script "www-client/firefox" "Mozilla Firefox" firefox-version.sh |
164 |
- create_version_script "mail-client/thunderbird" "Mozilla Thunderbird" thunderbird-version.sh |
165 |
- |
166 |
- # Looks like sorting got fixed but not test reference files |
167 |
- sort "${S}"/tests/libtracker-data/functions/functions-tracker-1.out \ |
168 |
- -o "${S}"/tests/libtracker-data/functions/functions-tracker-1.out || die |
169 |
- sort "${S}"/tests/libtracker-data/functions/functions-tracker-2.out \ |
170 |
- -o "${S}"/tests/libtracker-data/functions/functions-tracker-2.out || die |
171 |
- |
172 |
- eautoreconf # See bug #367975 |
173 |
- gnome2_src_prepare |
174 |
- vala_src_prepare |
175 |
-} |
176 |
- |
177 |
-src_configure() { |
178 |
- local myconf="" |
179 |
- |
180 |
- if use gstreamer ; then |
181 |
- myconf="${myconf} --enable-generic-media-extractor=gstreamer" |
182 |
- if use upnp-av; then |
183 |
- myconf="${myconf} --with-gstreamer-backend=gupnp-dlna" |
184 |
- else |
185 |
- myconf="${myconf} --with-gstreamer-backend=discoverer" |
186 |
- fi |
187 |
- elif use ffmpeg ; then |
188 |
- myconf="${myconf} --enable-generic-media-extractor=libav" |
189 |
- else |
190 |
- myconf="${myconf} --enable-generic-media-extractor=external" |
191 |
- fi |
192 |
- |
193 |
- # unicode-support: libunistring, libicu or glib ? |
194 |
- # According to NEWS, introspection is required |
195 |
- # is not being generated |
196 |
- # nautilus extension is in a separate package, nautilus-tracker-tags |
197 |
- gnome2_src_configure \ |
198 |
- --disable-hal \ |
199 |
- --disable-nautilus-extension \ |
200 |
- --disable-static \ |
201 |
- --enable-abiword \ |
202 |
- --enable-artwork \ |
203 |
- --enable-cfg-man-pages \ |
204 |
- --enable-dvi \ |
205 |
- --enable-enca \ |
206 |
- --enable-guarantee-metadata \ |
207 |
- --enable-icon \ |
208 |
- --enable-introspection \ |
209 |
- --enable-libmediaart \ |
210 |
- --enable-libpng \ |
211 |
- --enable-miner-apps \ |
212 |
- --enable-miner-user-guides \ |
213 |
- --enable-ps \ |
214 |
- --enable-text \ |
215 |
- --enable-tracker-fts \ |
216 |
- --enable-tracker-writeback \ |
217 |
- --with-unicode-support=libicu \ |
218 |
- --with-bash-completion-dir="$(get_bashcompdir)" \ |
219 |
- $(use_enable cue libcue) \ |
220 |
- $(use_enable eds miner-evolution) \ |
221 |
- $(use_enable exif libexif) \ |
222 |
- $(use_enable firefox-bookmarks miner-firefox) \ |
223 |
- $(use_with firefox-bookmarks firefox-plugin-dir "${EPREFIX}"/usr/$(get_libdir)/firefox/extensions) \ |
224 |
- FIREFOX="${S}"/firefox-version.sh \ |
225 |
- $(use_enable flac libflac) \ |
226 |
- $(use_enable gif libgif) \ |
227 |
- $(use_enable gsf libgsf) \ |
228 |
- $(use_enable gtk tracker-needle) \ |
229 |
- $(use_enable gtk tracker-preferences) \ |
230 |
- $(use_enable iptc libiptcdata) \ |
231 |
- $(use_enable iso libosinfo) \ |
232 |
- $(use_enable jpeg libjpeg) \ |
233 |
- $(use_enable upower upower) \ |
234 |
- $(use_enable miner-fs) \ |
235 |
- $(use_enable mp3 taglib) \ |
236 |
- $(use_enable mp3) \ |
237 |
- $(use_enable networkmanager network-manager) \ |
238 |
- $(use_enable pdf poppler) \ |
239 |
- $(use_enable playlist) \ |
240 |
- $(use_enable rss miner-rss) \ |
241 |
- $(use_enable stemmer libstemmer) \ |
242 |
- $(use_enable test functional-tests) \ |
243 |
- $(use_enable test unit-tests) \ |
244 |
- $(use_enable thunderbird miner-thunderbird) \ |
245 |
- $(use_with thunderbird thunderbird-plugin-dir "${EPREFIX}"/usr/$(get_libdir)/thunderbird/extensions) \ |
246 |
- THUNDERBIRD="${S}"/thunderbird-version.sh \ |
247 |
- $(use_enable tiff libtiff) \ |
248 |
- $(use_enable vorbis libvorbis) \ |
249 |
- $(use_enable xml libxml2) \ |
250 |
- $(use_enable xmp exempi) \ |
251 |
- $(use_enable xps libgxps) \ |
252 |
- ${myconf} |
253 |
-} |
254 |
- |
255 |
-src_test() { |
256 |
- # G_MESSAGES_DEBUG, upstream bug #699401#c1 |
257 |
- Xemake check TESTS_ENVIRONMENT="dbus-run-session" G_MESSAGES_DEBUG="all" |
258 |
-} |
259 |
- |
260 |
-src_install() { |
261 |
- gnome2_src_install |
262 |
- |
263 |
- # Manually symlink extensions for {firefox,thunderbird}-bin |
264 |
- if use firefox-bookmarks; then |
265 |
- dosym /usr/share/xul-ext/trackerfox \ |
266 |
- /usr/$(get_libdir)/firefox-bin/extensions/trackerfox@×××××××.org |
267 |
- fi |
268 |
- |
269 |
- if use thunderbird; then |
270 |
- dosym /usr/share/xul-ext/trackerbird \ |
271 |
- /usr/$(get_libdir)/thunderbird-bin/extensions/trackerbird@×××××××.org |
272 |
- fi |
273 |
-} |
274 |
- |
275 |
-create_version_script() { |
276 |
- # Create script $3 that prints "$2 MAX(VERSION($1), VERSION($1-bin))" |
277 |
- |
278 |
- local v=$(best_version ${1}) |
279 |
- v=${v#${1}-} |
280 |
- local vbin=$(best_version ${1}-bin) |
281 |
- vbin=${vbin#${1}-bin-} |
282 |
- |
283 |
- if [[ -z ${v} ]]; then |
284 |
- v=${vbin} |
285 |
- else |
286 |
- version_compare ${v} ${vbin} |
287 |
- [[ $? -eq 1 ]] && v=${vbin} |
288 |
- fi |
289 |
- |
290 |
- echo -e "#!/bin/sh\necho $2 $v" > "$3" || die |
291 |
- chmod +x "$3" || die |
292 |
-} |