summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2022-05-31 11:27:55 -0400
committerMatt Turner <mattst88@gentoo.org>2022-05-31 14:23:27 -0400
commitde1d7a08e173bbaa8d4f5d9cf20782493196fbcf (patch)
tree0dbfd6f4dec995f5374f3312c6ce98bf5d50af7e /app-misc
parentapp-misc/gnote: Drop old versions (diff)
downloadgentoo-de1d7a08e173bbaa8d4f5d9cf20782493196fbcf.tar.gz
gentoo-de1d7a08e173bbaa8d4f5d9cf20782493196fbcf.tar.bz2
gentoo-de1d7a08e173bbaa8d4f5d9cf20782493196fbcf.zip
app-misc/tracker: Drop old versions
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/tracker/Manifest1
-rw-r--r--app-misc/tracker/files/tracker-3.1.1-Fix-asciidoc-manpage.xsl-location.patch25
-rw-r--r--app-misc/tracker/files/tracker-3.2.1-Add-config-options-for-libsoup.patch41
-rw-r--r--app-misc/tracker/files/tracker-3.2.1-build-Add-an-option-to-control-building-tests.patch69
-rw-r--r--app-misc/tracker/tracker-3.2.1.ebuild119
5 files changed, 0 insertions, 255 deletions
diff --git a/app-misc/tracker/Manifest b/app-misc/tracker/Manifest
index 0273c2755643..c285875d6bef 100644
--- a/app-misc/tracker/Manifest
+++ b/app-misc/tracker/Manifest
@@ -1,3 +1,2 @@
DIST tracker-2.3.6.tar.xz 1606716 BLAKE2B ea39df4438e4502bc0229a5cc3b42a2fe6e13a643ac8e4034004b1291da49ff3ad1a177227035a4a02fd8f3723a735d37371c898bb03a6fc10573606a1c29d70 SHA512 1b8ae06b6c64a0cbe7d4c987bafe392fb38014215fc698f919273ba1f422dd0bc24344d3fd73164b00bfea315e527e2886ba90f1f1b86d5fceff24455b36d67e
-DIST tracker-3.2.1.tar.xz 1947304 BLAKE2B 9095a457157cd2bedfd34b01afc9fd832af0a5c57c6ba5b9c00175f382b70135e20437d6fd2ca9cc06df28634627e487536b15548f2c5d54c68297f26f06447b SHA512 3e8f33de0f77d45af2ed82e8fd216d6fb4c3aa080648cf490bdaef233fac1c635e10660ac0bfcdf0a43af48d454e0d4d7c04cb650f5f89660e8e4efc10104f56
DIST tracker-3.3.0.tar.xz 1969132 BLAKE2B a43183599ee3d3947450e4d58fd02094a41d5978d0c3be120b995844eca5ddc0f7e37bd98e886bec99d5c9342f5ba6f92eec2cd729a1793ce2141bfa5ff99908 SHA512 0a55a80b44c2267f149c4c83ecbe42ca27a0645bd4fc206984999520f6bed3b7c63c71f81450f40ce2896223ce17326add20e7f39a71c821d754f30b8ce157bc
diff --git a/app-misc/tracker/files/tracker-3.1.1-Fix-asciidoc-manpage.xsl-location.patch b/app-misc/tracker/files/tracker-3.1.1-Fix-asciidoc-manpage.xsl-location.patch
deleted file mode 100644
index 3383e2be28e5..000000000000
--- a/app-misc/tracker/files/tracker-3.1.1-Fix-asciidoc-manpage.xsl-location.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From c14fa25f2b616b170b453861de87ef21c05dc6c4 Mon Sep 17 00:00:00 2001
-From: Matt Turner <mattst88@gmail.com>
-Date: Sat, 13 Mar 2021 14:29:58 -0500
-Subject: [PATCH] Fix asciidoc manpage.xsl location
-
----
- docs/manpages/meson.build | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/docs/manpages/meson.build b/docs/manpages/meson.build
-index f90c757cf..101cbca16 100644
---- a/docs/manpages/meson.build
-+++ b/docs/manpages/meson.build
-@@ -32,7 +32,7 @@ foreach m : manpages
- command: [xsltproc,
- '--output', '@OUTPUT@',
- '--stringparam', 'man.authors.section.enabled', '0',
-- '/etc/asciidoc/docbook-xsl/manpage.xsl', '@INPUT@'],
-+ '/usr/share/asciidoc/docbook-xsl/manpage.xsl', '@INPUT@'],
- input: xml,
- output: manpage,
- install: true,
---
-2.26.3
-
diff --git a/app-misc/tracker/files/tracker-3.2.1-Add-config-options-for-libsoup.patch b/app-misc/tracker/files/tracker-3.2.1-Add-config-options-for-libsoup.patch
deleted file mode 100644
index c6895f36512f..000000000000
--- a/app-misc/tracker/files/tracker-3.2.1-Add-config-options-for-libsoup.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-From 6ebc7d09f005898236ee27a780f6fc0426cdd271 Mon Sep 17 00:00:00 2001
-From: Matt Turner <mattst88@gmail.com>
-Date: Wed, 26 Jan 2022 18:08:24 -0800
-Subject: [PATCH] Add config options for libsoup
-
----
- meson.build | 4 ++--
- meson_options.txt | 5 +++++
- 2 files changed, 7 insertions(+), 2 deletions(-)
-
-diff --git a/meson.build b/meson.build
-index 4109293a9..39947437a 100644
---- a/meson.build
-+++ b/meson.build
-@@ -53,8 +53,8 @@ json_glib = dependency('json-glib-1.0', version: '>= 1.4', required: true)
- libxml2 = dependency('libxml-2.0', version: '> 2.6')
- sqlite = dependency('sqlite3', version: '>' + sqlite_required)
- dbus = dependency('dbus-1')
--libsoup2 = dependency('libsoup-2.4', version: '> 2.40', required: false)
--libsoup3 = dependency('libsoup-3.0', version: '>= 2.99.2', required: false)
-+libsoup2 = dependency('libsoup-2.4', version: '> 2.40', required: get_option('libsoup2'))
-+libsoup3 = dependency('libsoup-3.0', version: '>= 2.99.2', required: get_option('libsoup3'))
-
- libmath = cc.find_library('m', required: false)
- libdl = cc.find_library('dl')
-diff --git a/meson_options.txt b/meson_options.txt
-index a7e647d02..d431caa03 100644
---- a/meson_options.txt
-+++ b/meson_options.txt
-@@ -28,3 +28,8 @@ option('tests_tap_protocol', type: 'boolean', value: false,
- description: 'Whether to enable TAP protocol on tests')
- option('introspection', type: 'feature', value: 'enabled',
- description: 'Whether to enable introspection')
-+
-+option('libsoup2', type: 'feature', value: 'enabled',
-+ description: 'Whether to enable libsoup2')
-+option('libsoup3', type: 'feature', value: 'enabled',
-+ description: 'Whether to enable libsoup3')
---
-2.34.1
-
diff --git a/app-misc/tracker/files/tracker-3.2.1-build-Add-an-option-to-control-building-tests.patch b/app-misc/tracker/files/tracker-3.2.1-build-Add-an-option-to-control-building-tests.patch
deleted file mode 100644
index 9480a6269c75..000000000000
--- a/app-misc/tracker/files/tracker-3.2.1-build-Add-an-option-to-control-building-tests.patch
+++ /dev/null
@@ -1,69 +0,0 @@
-From db36d010737d5eeceff300e3dd5e315c5d0382a2 Mon Sep 17 00:00:00 2001
-From: Matt Turner <mattst88@gmail.com>
-Date: Wed, 16 Feb 2022 10:59:33 -0800
-Subject: [PATCH] build: Add an option to control building tests
-
-Commit 8569c99d2926 ("Look for a Python installation with the tap
-module") correctly added a dependency on the gi Python module for tests.
-Commit 51ca035697a4 ("Make tracker:endpoint test work on macOS")
-restructured Python probing by moving it to the top-level meson.build.
-
-These two commits have the side-effect of exposing the fact that the
-gi Python module is really only a test dependency, and should not be
-required if building without tests.
-
-As such, add a -Dtests=bool option to disable building tests. This
-reduces the number of ninja targets from 232 to 188 on my non-test
-build.
----
- meson.build | 13 +++++++++----
- meson_options.txt | 2 ++
- 2 files changed, 11 insertions(+), 4 deletions(-)
-
-diff --git a/meson.build b/meson.build
-index 4e59b8240..f4dd58fd4 100644
---- a/meson.build
-+++ b/meson.build
-@@ -75,9 +75,12 @@ if get_option('man')
- a2x = find_program('a2x')
- endif
-
--py_modules = ['gi']
--if get_option('tests_tap_protocol')
-- py_modules += 'tap'
-+py_modules = []
-+if get_option('tests')
-+ py_modules += 'gi'
-+ if get_option('tests_tap_protocol')
-+ py_modules += 'tap'
-+ endif
- endif
- python = import('python').find_installation('python3', modules: py_modules)
-
-@@ -358,7 +361,9 @@ tracker_uninstalled_nepomuk_ontologies_dir = join_paths(meson.current_source_dir
- tracker_uninstalled_stop_words_dir = join_paths(meson.current_source_dir(), 'src', 'libtracker-common', 'stop-words')
- tracker_uninstalled_testutils_dir = join_paths(meson.current_source_dir(), 'utils')
-
--subdir('tests')
-+if get_option('tests')
-+ subdir('tests')
-+endif
- subdir('examples')
-
- subdir('po')
-diff --git a/meson_options.txt b/meson_options.txt
-index a7e647d02..ec8ea8bc2 100644
---- a/meson_options.txt
-+++ b/meson_options.txt
-@@ -20,6 +20,8 @@ option('systemd_user_services', type: 'boolean', value: true, yield: true,
- description: 'Whether to install systemd user .service files')
- option('systemd_user_services_dir', type: 'string', value: '', yield: true,
- description: 'Directory to install systemd user unit files (or empty to use default)')
-+option('tests', type: 'boolean', value: true,
-+ description: 'Whether to build tests')
- option('test_utils', type: 'boolean', value: true,
- description: 'Whether to install the trackertestutils Python package')
- option('test_utils_dir', type: 'string', value: '',
---
-2.34.1
-
diff --git a/app-misc/tracker/tracker-3.2.1.ebuild b/app-misc/tracker/tracker-3.2.1.ebuild
deleted file mode 100644
index 3106a0b44c3a..000000000000
--- a/app-misc/tracker/tracker-3.2.1.ebuild
+++ /dev/null
@@ -1,119 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-PYTHON_COMPAT=( python3_{8..10} )
-VALA_MIN_API_VERSION="0.40"
-
-inherit bash-completion-r1 flag-o-matic gnome.org gnome2-utils linux-info meson python-any-r1 systemd vala xdg
-
-DESCRIPTION="A tagging metadata database, search tool and indexer"
-HOMEPAGE="https://wiki.gnome.org/Projects/Tracker"
-
-LICENSE="GPL-2+ LGPL-2.1+"
-SLOT="3/0" # libtracker-sparql-3.0 soname version
-KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc x86"
-IUSE="gtk-doc +miners stemmer test"
-RESTRICT="!test? ( test )"
-
-PV_SERIES=$(ver_cut 1-2)
-
-RDEPEND="
- >=dev-libs/glib-2.52:2
- >=sys-apps/dbus-1.3.2
- >=dev-libs/gobject-introspection-1.54:=
- >=dev-libs/icu-4.8.1.2:=
- >=dev-libs/json-glib-1.4
- >=net-libs/libsoup-2.40.1:2.4
- >=dev-libs/libxml2-2.7
- >=dev-db/sqlite-3.29.0
- stemmer? ( dev-libs/snowball-stemmer:= )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
- dev-util/glib-utils
- app-text/asciidoc
- dev-libs/libxslt
- $(vala_depend)
- gtk-doc? (
- >=dev-util/gtk-doc-1.8
- app-text/docbook-xml-dtd:4.1.2
- app-text/docbook-xml-dtd:4.5
- )
- >=sys-devel/gettext-0.19.8
- virtual/pkgconfig
- test? (
- $(python_gen_any_dep 'dev-python/pygobject[${PYTHON_USEDEP}]')
- $(python_gen_any_dep 'dev-python/tappy[${PYTHON_USEDEP}]')
- )
- ${PYTHON_DEPS}
-"
-PDEPEND="miners? ( >=app-misc/tracker-miners-${PV_SERIES} )"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-3.1.1-Fix-asciidoc-manpage.xsl-location.patch
- "${FILESDIR}"/${PN}-3.2.1-Add-config-options-for-libsoup.patch
- "${FILESDIR}"/${PN}-3.2.1-build-Add-an-option-to-control-building-tests.patch
-)
-
-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
-}
-
-python_check_deps() {
- use test || return 0
- has_version -b "dev-python/tappy[${PYTHON_USEDEP}]"
-}
-
-pkg_setup() {
- linux-info_pkg_setup
- inotify_enabled
-
- python-any-r1_pkg_setup
-}
-
-src_prepare() {
- xdg_src_prepare
- vala_src_prepare
-}
-
-src_configure() {
- append-cflags -DTRACKER_DEBUG -DG_DISABLE_CAST_CHECKS
-
- local emesonargs=(
- $(meson_use gtk-doc docs)
- -Dman=true
- $(meson_feature stemmer)
- -Dunicode_support=icu
- -Dbash_completion_dir="$(get_bashcompdir)"
- -Dsystemd_user_services_dir="$(systemd_get_userunitdir)"
- $(meson_use test tests)
- -Dintrospection=enabled
- -Dlibsoup2=enabled
- -Dlibsoup3=disabled
- )
- meson_src_configure
-}
-
-src_test() {
- dbus-run-session meson test -C "${BUILD_DIR}" || die 'tests failed'
-}
-
-pkg_postinst() {
- xdg_pkg_postinst
- gnome2_schemas_update
-}
-
-pkg_postrm() {
- xdg_pkg_postrm
- gnome2_schemas_update
-}