summaryrefslogtreecommitdiff
path: root/app-misc/tracker
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-04-28 09:54:45 +0100
committerV3n3RiX <venerix@redcorelinux.org>2019-04-28 09:54:45 +0100
commitb7ebc951da8800f711142f69d9d958bde67a112d (patch)
treee318514216845acb8f2e49fff7a5cba4027e9d91 /app-misc/tracker
parentdc7cbdfa65fd814b3b9aa3c56257da201109e807 (diff)
gentoo resync : 28.04.2019
Diffstat (limited to 'app-misc/tracker')
-rw-r--r--app-misc/tracker/Manifest6
-rw-r--r--app-misc/tracker/metadata.xml16
-rw-r--r--app-misc/tracker/tracker-1.12.4-r1.ebuild246
-rw-r--r--app-misc/tracker/tracker-2.1.8.ebuild4
4 files changed, 4 insertions, 268 deletions
diff --git a/app-misc/tracker/Manifest b/app-misc/tracker/Manifest
index cd7706cdb37c..b573193336e1 100644
--- a/app-misc/tracker/Manifest
+++ b/app-misc/tracker/Manifest
@@ -2,8 +2,6 @@ AUX 2.1.8-doc-options.patch 2121 BLAKE2B 08344eae558de800f1081c7a12a3b373915adf9
AUX 2.1.8-fix-library-symlinks.patch 2937 BLAKE2B f26621b37fbd3f4e58289b8182bf56afcef760d6aceaa5b286389676c27dc529f62b5b4be26dd7ba28d6cbe865cf1d0e3e0b0c76bd4e026cfeff25b63b7d98a3 SHA512 0ddadfebdd8f3b8275b9f16c110e63c557549cc903e0fe8b2df4975fb69d3c529bfa6e7a4f7e78dfca2845b6b6b561a5d608bc139e74d45788d0bed477bb5eaf
AUX 2.1.8-prevent-stack-smashing.patch 1669 BLAKE2B 8c0e603f8c2aafe0cb2b381feaf5c7f87afdfde764f1940735617cbad12afc02e25df9b9a848a580d4e5b969cd0f55b889ba50f5618c33cb9f9e5966d82ea996 SHA512 0d7374605e6221f14877539db2e17d4536ce45adc25d76adfb78043d3d699a291a213aeccd4e0bc4338a10454bb93c47270cfc525b258bf2a1029e856c1b47a9
AUX 2.1.8-test-fix.patch 1674 BLAKE2B 5e0ff6c8d8ece11ec49c818521fbb248c13e09b14860b33e93229f41db36779aebeb3b398fc3d4c590332280cd98e756787755c54b2a600e031abe45746fbe26 SHA512 588eacbe421355b252cb98d00ef67b0205b6c9437e58ff893da822732d338cf453583b0cde3b71940c5dd24d562b0aa32cd7c0f7bd978c382eddb77527adc3f2
-DIST tracker-1.12.4.tar.xz 5051884 BLAKE2B 99cc85fc4d49691eb0a73e4f1776d9971b5cbe5844478825e473137b4d7b13e2578065be497da57285abc2d3cf4c6d1ed1b077a01cd68dc093e18ddd7674c1f1 SHA512 e81af22733c7d80535c79e23a4b3edbbcf888eede1dff071d466518054e90d4c207af76bcb4d8c73dc20729ae2eab60444ca91ee7ae09e96c0da2fdab97752c1
DIST tracker-2.1.8.tar.xz 2585924 BLAKE2B 8548f6a615c3357eb2f1a1656d81f50816cef2f59e23fe7bd2111eeade8b3e5c0a33abf1bc830a0baa9c1c1d74ee92d3e44da00cd6f65ab853ef04eb2f57a69e SHA512 447e519699bbb0c9802230629667a87ce39ec3f6bb9c605063319d5e6a019c95a76762fdc889b1a11280be08b8520f22f097f9c9779dcd7a6c7cf239b4da2696
-EBUILD tracker-1.12.4-r1.ebuild 7448 BLAKE2B b1552ee19ab27c1a2fb7ec5fa43de63f53f88da98d77772c979a4941bcff54299d991e20f432155652152d1b3315ffc64eaeed9073261c2f428c334f5f576e41 SHA512 b84d10c8f9979fe3e66007c7e20b229d181c9e1961a92aa70500c6461197ac4a976cc7849e4901107bb4aedb3195540ec12e577f9ab368ea4aa10059ddcf3131
-EBUILD tracker-2.1.8.ebuild 2820 BLAKE2B 57729529f599964d142f2da8a5f9568a23bc15ace8d93859b1a65e505fb94e97806e5f5fed70316952214ac13bba83a31f31dc2cad0739d52176ea78a397d42b SHA512 9386ce363bde67ccd20ccf15403fc450a4baf7a7374b9b5f3896c356dd23686df6291a9d35e07ffc127da065b2bfc1c8f168ba6dd8fcb50e114cec1bc9ec0f55
-MISC metadata.xml 1545 BLAKE2B 1fee1210e27ad5a33c7e121372a64ed7d70c5c8169ce7b2688ff395cb56a218d53a8c5561701498d52d7772be1ce77d44275c938ad9486dc039e2f301bb14b6d SHA512 b379f0ca9737f7847ec7e0e83148ef354a56433d5fcd45996feaa86d9773c60b97f226ca21aba48aaba31f17ead8ea1922d408193328f477d58449ed3a732f71
+EBUILD tracker-2.1.8.ebuild 2816 BLAKE2B eb6bb2f0476e98f9c5e48ddc602c6b5fedc07f740666c419c0b83f39b4ae247b1a3d72ff88cc54344c2bf33e928e884c607ccb1e7acbb0b209778a2963087d16 SHA512 a9bb8bce1fac193010db66dab020068013689ccfda79dd03385b16975ef039574b0721145c78e32308e3831ab8fd8bc7cf6580717bca0632945e9dcafa381618
+MISC metadata.xml 497 BLAKE2B 8517491ae43f5a339d49b10ac0acf928e942e69e4ff56d679fefc4ea102c8026f88442d77ab01411c8fa3b13348b590c53dfcfc849750ce488b7254ae6983090 SHA512 2062034fb1b59354a7f1c154ed059c602beba4959a984a3bd3d0abcc7c0b8449186f7c2a44acf325c5bb142bc2dfed3321b0eb25c041dacd121c23cf0281fb96
diff --git a/app-misc/tracker/metadata.xml b/app-misc/tracker/metadata.xml
index 7516a51a113d..b9ec09b52c1b 100644
--- a/app-misc/tracker/metadata.xml
+++ b/app-misc/tracker/metadata.xml
@@ -6,23 +6,7 @@
<name>Gentoo GNOME Desktop</name>
</maintainer>
<use>
- <flag name="cue">Enable cue sheet parsing</flag>
- <!-- 'firefox-bookmarks' instead of 'firefox' to prevent most users from
- enabling this by accident; it has some stability problems and
- performance implications -->
- <flag name="firefox-bookmarks">Install bookmark data miner plugin for
- <pkg>www-client/firefox</pkg> and <pkg>www-client/firefox-bin</pkg></flag>
- <flag name="gsf">Enable <pkg>gnome-extra/libgsf</pkg> based data extractor and
- for ODT.</flag>
- <flag name="iptc">Enable extraction of IPTC data from pictures</flag>
- <flag name="iso">Enable extraction of metadata from ISO disk images</flag>
<flag name="miners">Install the <pkg>app-misc/tracker-miners</pkg> package for actual data mining support for tracker</flag>
- <flag name="miner-fs">Enable tracker-miner-fs (required for filesystem indexing)</flag>
- <flag name="playlist">Add support for playlists</flag>
<flag name="stemmer">Add word stemming via <pkg>dev-libs/snowball-stemmer</pkg>.</flag>
- <flag name="thunderbird">Install email data miner plugin for
- <pkg>mail-client/thunderbird</pkg> and
- <pkg>mail-client/thunderbird-bin</pkg></flag>
- <flag name="xps">Add support for XPS file format through <pkg>app-text/libgxps</pkg>.</flag>
</use>
</pkgmetadata>
diff --git a/app-misc/tracker/tracker-1.12.4-r1.ebuild b/app-misc/tracker/tracker-1.12.4-r1.ebuild
deleted file mode 100644
index 1e40f5389097..000000000000
--- a/app-misc/tracker/tracker-1.12.4-r1.ebuild
+++ /dev/null
@@ -1,246 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-GNOME2_LA_PUNT="yes"
-PYTHON_COMPAT=( python2_7 )
-
-inherit autotools bash-completion-r1 eutils 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 elibc_glibc exif ffmpeg firefox-bookmarks flac gif gsf gstreamer gtk iptc +iso +jpeg libav +miner-fs mp3 networkmanager pdf playlist rss seccomp stemmer test thunderbird +tiff upnp-av upower +vorbis +xml xmp xps"
-
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~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)
-# seccomp is automagic, though we want to use it whenever possible (linux)
-# >=media-libs/libmediaart-1.9:2.0 is suggested to be disabled for 1.10 for security;
-# It is disable in configure in 1.12; revisit for 1.14/2 (configure flag)
-RDEPEND="
- >=app-i18n/enca-1.9
- >=dev-db/sqlite-3.20:=
- >=dev-libs/glib-2.44:2
- >=dev-libs/gobject-introspection-0.9.5:=
- >=dev-libs/icu-4.8.1.1:=
- >=dev-libs/json-glib-1.0
- >=media-libs/libpng-1.2:0=
- >=net-libs/libsoup-2.40:2.4
- >=x11-libs/pango-1:=
- sys-apps/util-linux
- virtual/imagemagick-tools[png,jpeg?]
-
- cue? ( media-libs/libcue )
- elibc_glibc? ( >=sys-libs/glibc-2.12 )
- exif? ( >=media-libs/libexif-0.6 )
- ffmpeg? (
- libav? ( media-video/libav:= )
- !libav? ( media-video/ffmpeg:0= )
- )
- 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? (
- >=x11-libs/gtk+-3:3 )
- iptc? ( media-libs/libiptcdata )
- iso? ( >=sys-libs/libosinfo-0.2.9:= )
- jpeg? ( virtual/jpeg:0 )
- upower? ( >=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.7:0 )
- stemmer? ( dev-libs/snowball-stemmer )
- thunderbird? ( || (
- >=mail-client/thunderbird-5.0
- >=mail-client/thunderbird-bin-5.0 ) )
- tiff? ( media-libs/tiff:0 )
- 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 ) ) )
- seccomp? ( >=sys-libs/libseccomp-2.0 )
-"
-DEPEND="${RDEPEND}
- ${PYTHON_DEPS}
- $(vala_depend)
- dev-util/gdbus-codegen
- dev-util/glib-utils
- >=dev-util/gtk-doc-am-1.8
- >=dev-util/intltool-0.40.0
- >=sys-devel/gettext-0.17
- virtual/pkgconfig
- test? (
- >=dev-libs/dbus-glib-0.82-r1
- >=sys-apps/dbus-1.3.1[X] )
-"
-
-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
-
- 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
- # miner-evolution disabled as it's incompatible with current eds
- gnome2_src_configure \
- --disable-hal \
- --disable-miner-evolution \
- --disable-nautilus-extension \
- --disable-static \
- --enable-abiword \
- --enable-artwork \
- --enable-dvi \
- --enable-enca \
- --enable-guarantee-metadata \
- --enable-icon \
- --enable-introspection \
- --disable-libmediaart \
- --enable-libpng \
- --enable-miner-apps \
- --enable-miner-user-guides \
- --enable-ps \
- --enable-text \
- --enable-tracker-fts \
- --enable-tracker-writeback \
- --with-unicode-support=libicu \
- --with-bash-completion-dir="$(get_bashcompdir)" \
- $(use_enable cue libcue) \
- $(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 upower 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 stemmer libstemmer) \
- $(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() {
- # G_MESSAGES_DEBUG, upstream bug #699401#c1
- virtx emake check TESTS_ENVIRONMENT="dbus-run-session" G_MESSAGES_DEBUG="all"
-}
-
-src_install() {
- gnome2_src_install
-
- # Manually symlink extensions for {firefox,thunderbird}-bin
- if use firefox-bookmarks; then
- dosym ../../../share/xul-ext/trackerfox \
- /usr/$(get_libdir)/firefox-bin/extensions/trackerfox@bustany.org
- fi
-
- if use thunderbird; then
- dosym ../../../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
-}
diff --git a/app-misc/tracker/tracker-2.1.8.ebuild b/app-misc/tracker/tracker-2.1.8.ebuild
index 643340f1f2c1..e4ad7a80ea7a 100644
--- a/app-misc/tracker/tracker-2.1.8.ebuild
+++ b/app-misc/tracker/tracker-2.1.8.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=6
-PYTHON_COMPAT=( python3_{4,5,6,7} )
+PYTHON_COMPAT=( python3_{5,6,7} )
inherit bash-completion-r1 eapi7-ver gnome.org linux-info meson python-any-r1 systemd vala xdg
@@ -13,7 +13,7 @@ LICENSE="GPL-2+ LGPL-2.1+"
SLOT="0/2.0"
IUSE="gtk-doc +miners networkmanager stemmer"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc x86"
PV_SERIES=$(ver_cut 1-2)