summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2014-05-29 19:28:03 +0000
committerPacho Ramos <pacho@gentoo.org>2014-05-29 19:28:03 +0000
commit8f30bcca7c733f6ec1ee87cb5807213da4fa371c (patch)
treef7725790e389c6797c390427b378aa1da031cd9b /app-misc/tracker
parentVersion bump (diff)
downloadhistorical-8f30bcca7c733f6ec1ee87cb5807213da4fa371c.tar.gz
historical-8f30bcca7c733f6ec1ee87cb5807213da4fa371c.tar.bz2
historical-8f30bcca7c733f6ec1ee87cb5807213da4fa371c.zip
Version bump
Package-Manager: portage-2.2.10/cvs/Linux x86_64 Manifest-Sign-Key: 0xA188FBD4
Diffstat (limited to 'app-misc/tracker')
-rw-r--r--app-misc/tracker/ChangeLog7
-rw-r--r--app-misc/tracker/Manifest10
-rw-r--r--app-misc/tracker/tracker-1.0.1.ebuild256
3 files changed, 268 insertions, 5 deletions
diff --git a/app-misc/tracker/ChangeLog b/app-misc/tracker/ChangeLog
index 7751d92e7ef3..0be5a6e410ab 100644
--- a/app-misc/tracker/ChangeLog
+++ b/app-misc/tracker/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-misc/tracker
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/tracker/ChangeLog,v 1.166 2014/04/27 15:53:15 eva Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/tracker/ChangeLog,v 1.167 2014/05/29 19:28:02 pacho Exp $
+
+*tracker-1.0.1 (29 May 2014)
+
+ 29 May 2014; Pacho Ramos <pacho@gentoo.org> +tracker-1.0.1.ebuild:
+ Version bump
*tracker-1.0.0 (27 Apr 2014)
diff --git a/app-misc/tracker/Manifest b/app-misc/tracker/Manifest
index c65fb4eeff4f..4693cff7e97d 100644
--- a/app-misc/tracker/Manifest
+++ b/app-misc/tracker/Manifest
@@ -3,14 +3,16 @@ Hash: SHA256
DIST tracker-0.16.4.tar.xz 5745592 SHA256 9c2f50839c2b8b352ab9a022597ef985c1900e6286c0c3bcb7a64da39dbb3580 SHA512 82cc63f5a89e70e5d7d3c306005c9119b7f52a244cc453b789f19f56ec4858fd4c02421e07ab392dc1198b3352e99022986dfff043f9b4757e59723c038ffda0 WHIRLPOOL 07ec3cb39f619b930fba194c8cb5843786d9b0afa0d759498f72b35305ad06e1b9aba53fee64dad73186d74b7207c80ffa892adc9b5b350a108d882eaead9d9a
DIST tracker-1.0.0.tar.xz 6172700 SHA256 a1d033faf2c78f0e239f3c2c961b96623c9a7dabd938c08e3f5660bd70f54ba2 SHA512 0a0e452e84d2746f3e340f25ffb2f09c91927a4c0cf2953bba65f21fc8e42add0cacae331bb184346b115fbafcc6f9c93421872daf10df0bf2663981ac5c51d4 WHIRLPOOL 7d2ae59efe46fea6b978d13f6ef0e42cdf0706b238ffa9f3484742e12beaf9506346e7fdf38325c97dbf17c866b1848aa69dd542f6691a4f8fa343f2aee2b319
+DIST tracker-1.0.1.tar.xz 6060276 SHA256 76e7918e62526a8209f9c9226f82abe592a6332826ac7c12e6e405063181e889 SHA512 b41908756e10a1019901ad9313d795958eff40b7025d72e1c6670810b14f2968e05fa7f35451a53c354ba70d938aeb49e1ee9ab81d88531d1dfd75037b5e38eb WHIRLPOOL 08b46212e7ba5be97044bed416d5966ed5e1ec3ebe134827253fd20b3463f37f13449b82d8e705cb02dd5d29fd8d059911562c159e8ae5012454063f7265b826
EBUILD tracker-0.16.4.ebuild 9116 SHA256 d97d38498efe2a95ad769479ced12e218732ab85bfa5ea46d4c7af04350e3be7 SHA512 1fedbc570827355beaa4a5997f04893b03794bcf36faa60bbd7b8afd313adc671ceb17fe4bb2d7b22c1bace0ae008dc13a74b689a8b991a4aa927832ee46561d WHIRLPOOL d2932beaf0b368d8c79ec598bf0e0987192b721ed4cba190b84ec6bd22ea5c169d85ef39c3f98904ba7d6ee92f298d4a27917e17662ba344f8ba683c6a77af56
EBUILD tracker-1.0.0.ebuild 7904 SHA256 852140fb33391dd61dee61554b712f8b8953e02b6193e4096987e0c7099c737e SHA512 812d486e92ffe2ed4411f3ce9a448ea67adbfebc763f2392b7049d5ecdc12f7eef7ca023df0c4264a72863da70f9b334010efa4fb6305a88506e7382aa360a91 WHIRLPOOL 875f42a8907f8863dbd402b1d62c01bb4bb78c06f64ed7e02f346531dd086b8c228e4b5b636be75a35324a7a21d9f294d141f177d5d10a0071a2ee251b9dee86
-MISC ChangeLog 31108 SHA256 c3551a90351f092aa806de85afb53f588e5fb28d1ab4b5216478856c1db293d7 SHA512 ba759bd90fecc8e75b35d0c18c7b8bd42c651b4413bd6fc2eefd0c20bdd54459d7f2d8458163f7d21a1d8ec495dd7be71858eaba19361cabc32ae745be21e287 WHIRLPOOL 0655c9326f853601a61f47f31f14acc09c571ac1d496cc26cc166184caf54afeee3c101f58ddece720f07a79c97f5b9ef8011250d9c9fe205bf794c330c08e26
+EBUILD tracker-1.0.1.ebuild 7869 SHA256 0254a1476530d8743ec34cccefa6d637bad0965a84ea2c752ed20b56ff15c39e SHA512 818e3ce62bba448ac775166089b273de98c36f3a2aa73c7885512532881bbf8353901608849c4ee617febfef26c8c2105e40d088656acaabba0c78191a9df354 WHIRLPOOL 5094daa5d0235e4ec1bd1253cd1ec89a22e40c3290217133dbbc6b77d271f64f474fc2a20075ffea00bce5cb1ae2d3adb48cd7bc9ab491255a7ad2cab84e1a5c
+MISC ChangeLog 31225 SHA256 96688d046cdd79b70d5925cc405fa2036693e8522b90a400690410bc96ddf575 SHA512 586a7974273344e511fcc6030ba94d59e3082f636cae37fc0537daff750409f27bf3ac68e568f21020f427577a2c0b77abe7517e34d027177254fb3f07e20743 WHIRLPOOL daebfc2f82ebc5ec333d1b7db4a9b658244c139ff3140fbc7d82d650b98b5901d1c03bd2dd93d60ed707343547b8ce62d777e10f4e68b2437b65783d5c658577
MISC metadata.xml 1484 SHA256 5d395e74b62ec9b377456b66221e5ecb1b3afb8097db358cfe9029c5018cb1dc SHA512 c188ca86938c56518d0fa01fedacd1aee189364358dbbda2cc8b70d2efd9549c2e4b3b92f3f177733a5061e31ae78048a25c30e90c0e6d065879688c53f94e63 WHIRLPOOL 232fff635a2fb3437f915301aa57a096189b4bc6658038d63c626e2b8cf8814b24bfd7b4ff96d9e9f4ac24ee562b16127ea7ec195b7923bc6799fc0002cb210d
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
-iEYEAREIAAYFAlNdJ+wACgkQ1fmVwcYIWAaKxgCfR4T5fxId+oocLmPEqGN65Tmj
-7SgAoIrjPRtDVlMRL1ATmvOFgxl/sWpW
-=Qct1
+iEYEAREIAAYFAlOHikMACgkQCaWpQKGI+9TqIgCeKXZlhzA+pOr5Nhw4+A3yBcg9
+3VAAniErLKu/rUGQTkzDlFxHtCZ2W4vd
+=zMiH
-----END PGP SIGNATURE-----
diff --git a/app-misc/tracker/tracker-1.0.1.ebuild b/app-misc/tracker/tracker-1.0.1.ebuild
new file mode 100644
index 000000000000..08b964810446
--- /dev/null
+++ b/app-misc/tracker/tracker-1.0.1.ebuild
@@ -0,0 +1,256 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/tracker/tracker-1.0.1.ebuild,v 1.1 2014/05/29 19:28:02 pacho Exp $
+
+EAPI="5"
+GCONF_DEBUG="no"
+GNOME2_LA_PUNT="yes"
+PYTHON_COMPAT=( python2_{6,7} )
+VALA_MIN_API_VERSION="0.14"
+
+inherit autotools gnome2 linux-info multilib python-any-r1 vala versionator virtualx
+
+DESCRIPTION="A tagging metadata database, search tool and indexer"
+HOMEPAGE="https://wiki.gnome.org/Projects/Tracker"
+
+LICENSE="GPL-2+ LGPL-2.1+"
+SLOT="0/100"
+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"
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+
+REQUIRED_USE="
+ ?? ( gstreamer ffmpeg )
+ cue? ( gstreamer )
+ upnp-av? ( gstreamer )
+ !miner-fs? ( !cue !exif !flac !gif !gsf !iptc !iso !jpeg !mp3 !pdf !playlist !tiff !vorbis !xml !xmp !xps )
+"
+
+# According to NEWS, introspection is non-optional
+# glibc-2.12 needed for SCHED_IDLE (see bug #385003)
+# sqlite-3.7.16 for FTS4 support
+RDEPEND="
+ >=app-i18n/enca-1.9
+ >=dev-db/sqlite-3.7.16:=
+ >=dev-libs/glib-2.38:2
+ >=dev-libs/gobject-introspection-0.9.5
+ >=dev-libs/icu-4.8.1.1:=
+ || (
+ >=media-gfx/imagemagick-5.2.1[png,jpeg=]
+ media-gfx/graphicsmagick[imagemagick,png,jpeg=] )
+ >=media-libs/libpng-1.2:0=
+ >=media-libs/libmediaart-0.1:1.0
+ >=x11-libs/pango-1:=
+ sys-apps/util-linux
+
+ cue? ( media-libs/libcue )
+ eds? (
+ >=mail-client/evolution-3.3.5:=
+ >=gnome-extra/evolution-data-server-3.3.5:=
+ <mail-client/evolution-3.5.3
+ <gnome-extra/evolution-data-server-3.5.3 )
+ elibc_glibc? ( >=sys-libs/glibc-2.12 )
+ exif? ( >=media-libs/libexif-0.6 )
+ ffmpeg? ( >=virtual/ffmpeg-9 )
+ firefox-bookmarks? ( || (
+ >=www-client/firefox-4.0
+ >=www-client/firefox-bin-4.0 ) )
+ flac? ( >=media-libs/flac-1.2.1 )
+ gif? ( media-libs/giflib )
+ gsf? ( >=gnome-extra/libgsf-1.14.24 )
+ gstreamer? (
+ media-libs/gstreamer:1.0
+ media-libs/gst-plugins-base:1.0 )
+ gtk? (
+ >=dev-libs/libgee-0.3:0.8
+ >=x11-libs/gtk+-3:3 )
+ iptc? ( media-libs/libiptcdata )
+ iso? ( >=sys-libs/libosinfo-0.2.9:= )
+ jpeg? ( virtual/jpeg:0 )
+ laptop? ( >=sys-power/upower-0.9 )
+ mp3? ( >=media-libs/taglib-1.6 )
+ networkmanager? ( >=net-misc/networkmanager-0.8 )
+ pdf? (
+ >=x11-libs/cairo-1:=
+ >=app-text/poppler-0.16:=[cairo,utils]
+ >=x11-libs/gtk+-2.12:2 )
+ playlist? ( >=dev-libs/totem-pl-parser-3 )
+ rss? ( net-libs/libgrss:0.5 )
+ thunderbird? ( || (
+ >=mail-client/thunderbird-5.0
+ >=mail-client/thunderbird-bin-5.0 ) )
+ tiff? ( media-libs/tiff )
+ upnp-av? ( >=media-libs/gupnp-dlna-0.9.4:2.0 )
+ vorbis? ( >=media-libs/libvorbis-0.22 )
+ xml? ( >=dev-libs/libxml2-2.6 )
+ xmp? ( >=media-libs/exempi-2.1 )
+ xps? ( app-text/libgxps )
+ !gstreamer? ( !ffmpeg? ( || ( media-video/totem media-video/mplayer ) ) )
+"
+DEPEND="${RDEPEND}
+ ${PYTHON_DEPS}
+ $(vala_depend)
+ >=dev-util/gtk-doc-am-1.8
+ >=dev-util/intltool-0.40
+ >=sys-devel/gettext-0.17
+ virtual/pkgconfig
+ gtk? ( >=dev-libs/libgee-0.3 )
+ test? (
+ >=dev-libs/dbus-glib-0.82-r1
+ >=sys-apps/dbus-1.3.1[X] )
+"
+PDEPEND="nautilus? ( ~gnome-extra/nautilus-tracker-tags-${PV} )"
+
+# configure mixes enable-compile-warnings and with-compile-warnings
+# See upstream bug #705315
+QA_CONFIGURE_OPTIONS="--enable-compile-warnings"
+
+function inotify_enabled() {
+ if linux_config_exists; then
+ if ! linux_chkconfig_present INOTIFY_USER; then
+ ewarn "You should enable the INOTIFY support in your kernel."
+ ewarn "Check the 'Inotify support for userland' under the 'File systems'"
+ ewarn "option. It is marked as CONFIG_INOTIFY_USER in the config"
+ die 'missing CONFIG_INOTIFY'
+ fi
+ else
+ einfo "Could not check for INOTIFY support in your kernel."
+ fi
+}
+
+pkg_setup() {
+ linux-info_pkg_setup
+ inotify_enabled
+
+ python-any-r1_pkg_setup
+}
+
+src_prepare() {
+ # Don't run 'firefox --version' or 'thunderbird --version'; it results in
+ # access violations on some setups (bug #385347, #385495).
+ create_version_script "www-client/firefox" "Mozilla Firefox" firefox-version.sh
+ create_version_script "mail-client/thunderbird" "Mozilla Thunderbird" thunderbird-version.sh
+
+ # Skip broken tests
+ # https://bugzilla.gnome.org/show_bug.cgi?id=699408
+ sed -e '\%/libtracker-common/file-utils/has_write_access_or_was_created%,+1 d' \
+ -i tests/libtracker-common/tracker-file-utils-test.c || die
+ # Fails inside portage, not outside
+ # https://bugzilla.gnome.org/show_bug.cgi?id=699413
+ sed -e '\%/steroids/tracker/tracker_sparql_update_async%,+3 d' \
+ -i tests/tracker-steroids/tracker-test.c || die
+
+ eautoreconf # See bug #367975
+ gnome2_src_prepare
+ vala_src_prepare
+}
+
+src_configure() {
+ local myconf=""
+
+ if use gstreamer ; then
+ myconf="${myconf} --enable-generic-media-extractor=gstreamer"
+ if use upnp-av; then
+ myconf="${myconf} --with-gstreamer-backend=gupnp-dlna"
+ else
+ myconf="${myconf} --with-gstreamer-backend=discoverer"
+ fi
+ elif use ffmpeg ; then
+ myconf="${myconf} --enable-generic-media-extractor=libav"
+ else
+ myconf="${myconf} --enable-generic-media-extractor=external"
+ fi
+
+ # unicode-support: libunistring, libicu or glib ?
+ # According to NEWS, introspection is required
+ # is not being generated
+ # nautilus extension is in a separate package, nautilus-tracker-tags
+ gnome2_src_configure \
+ --disable-hal \
+ --disable-nautilus-extension \
+ --enable-abiword \
+ --enable-artwork \
+ --enable-dvi \
+ --enable-icon \
+ --enable-ps \
+ --enable-text \
+ --enable-guarantee-metadata \
+ --enable-introspection \
+ --enable-libpng \
+ --enable-libmediaart \
+ --enable-tracker-fts \
+ --enable-enca \
+ --with-unicode-support=libicu \
+ $(use_enable cue libcue) \
+ $(use_enable eds miner-evolution) \
+ $(use_enable exif libexif) \
+ $(use_enable firefox-bookmarks miner-firefox) \
+ $(use_with firefox-bookmarks firefox-plugin-dir "${EPREFIX}"/usr/$(get_libdir)/firefox/extensions) \
+ FIREFOX="${S}"/firefox-version.sh \
+ $(use_enable flac libflac) \
+ $(use_enable gif libgif) \
+ $(use_enable gsf libgsf) \
+ $(use_enable gtk tracker-needle) \
+ $(use_enable gtk tracker-preferences) \
+ $(use_enable iptc libiptcdata) \
+ $(use_enable iso libosinfo) \
+ $(use_enable jpeg libjpeg) \
+ $(use_enable laptop upower) \
+ $(use_enable miner-fs) \
+ $(use_enable mp3 taglib) \
+ $(use_enable mp3) \
+ $(use_enable networkmanager network-manager) \
+ $(use_enable pdf poppler) \
+ $(use_enable playlist) \
+ $(use_enable rss miner-rss) \
+ $(use_enable test functional-tests) \
+ $(use_enable test unit-tests) \
+ $(use_enable thunderbird miner-thunderbird) \
+ $(use_with thunderbird thunderbird-plugin-dir "${EPREFIX}"/usr/$(get_libdir)/thunderbird/extensions) \
+ THUNDERBIRD="${S}"/thunderbird-version.sh \
+ $(use_enable tiff libtiff) \
+ $(use_enable vorbis libvorbis) \
+ $(use_enable xml libxml2) \
+ $(use_enable xmp exempi) \
+ $(use_enable xps libgxps) \
+ ${myconf}
+}
+
+src_test() {
+ export G_MESSAGES_DEBUG=all # upstream bug #699401#c1
+ unset DBUS_SESSION_BUS_ADDRESS
+ Xemake check
+}
+
+src_install() {
+ gnome2_src_install
+
+ # Manually symlink extensions for {firefox,thunderbird}-bin
+ if use firefox-bookmarks; then
+ dosym /usr/share/xul-ext/trackerfox \
+ /usr/$(get_libdir)/firefox-bin/extensions/trackerfox@bustany.org
+ fi
+
+ if use thunderbird; then
+ dosym /usr/share/xul-ext/trackerbird \
+ /usr/$(get_libdir)/thunderbird-bin/extensions/trackerbird@bustany.org
+ fi
+}
+
+create_version_script() {
+ # Create script $3 that prints "$2 MAX(VERSION($1), VERSION($1-bin))"
+
+ local v=$(best_version ${1})
+ v=${v#${1}-}
+ local vbin=$(best_version ${1}-bin)
+ vbin=${vbin#${1}-bin-}
+
+ if [[ -z ${v} ]]; then
+ v=${vbin}
+ else
+ version_compare ${v} ${vbin}
+ [[ $? -eq 1 ]] && v=${vbin}
+ fi
+
+ echo -e "#!/bin/sh\necho $2 $v" > "$3" || die
+ chmod +x "$3" || die
+}