summaryrefslogtreecommitdiff
path: root/app-misc/tracker
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-08-17 03:31:10 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-08-17 03:31:10 +0100
commit280d9db9f9470686aae5ce1fa4cfa57b26e9beb2 (patch)
tree604fa555cdb815d5774494412f041887debf5220 /app-misc/tracker
parent2ef316f0ffbd90d833effd2d09d1232e5767e321 (diff)
gentoo auto-resync : 17:08:2023 - 03:31:10
Diffstat (limited to 'app-misc/tracker')
-rw-r--r--app-misc/tracker/Manifest3
-rw-r--r--app-misc/tracker/files/3.5.2-build-Define-_GNU_SOURCE-for-gmtime_r.patch46
-rw-r--r--app-misc/tracker/tracker-3.5.2.ebuild110
3 files changed, 0 insertions, 159 deletions
diff --git a/app-misc/tracker/Manifest b/app-misc/tracker/Manifest
index 5fe4dae24faf..3e6d169dba16 100644
--- a/app-misc/tracker/Manifest
+++ b/app-misc/tracker/Manifest
@@ -1,8 +1,5 @@
-AUX 3.5.2-build-Define-_GNU_SOURCE-for-gmtime_r.patch 2031 BLAKE2B 5c284833ea33cb54ee86b377ff17a303ccd575f1125267a31815cf1221f435ca2db89ef69d38b09fd4cfccbb41427f774ec358e3317b1c2a5a31db7597f04ab7 SHA512 4fa809f499d667c3e53fd436504db67eb6958c10e1339b337da0fceefd4104320bb7b2b51603aa0f179b4e1ecb933b25af8b53e0a3e8c8867798b4149a587ff3
-DIST tracker-3.5.2.tar.xz 2566540 BLAKE2B 53b8e26bf3f11c202b03a181b8817e931130b77648410ddf59e4d454bc60a209648779c5e1cbe1203b2529ebfe3fa9c5f39c6f862264e7807776c466cba26012 SHA512 e7162116c1089f4e1a06c6bf60e515b9dd9ce174a3ab8862d52c638004a1df7feb1d69c7b958051bdcff60202eaa58c29023e9a0012c0511d75d26e76a27cd10
DIST tracker-3.5.3.tar.xz 2569412 BLAKE2B 8e35234f74eb4ae22c23661fedf6b3898e6daa41868d18473a9cbf998a7edbff893e63f15573585c130b8b7c40c65a4f5df8e057fd14dfe76dcfe2a9abed4cdb SHA512 ed75f7cbb75daab6597bab58937554b531bc2c32581148c2d828cb313644b198a057024c5202d0990237bc01119d1789f0fbc87868919fc2f00bcb40e76f7b23
DIST tracker-3.6.alpha.tar.xz 2570268 BLAKE2B 3fc175457daecfd6733039d10b6724b47853fb06194fc2248b1643b765284ebfb0c56eeb56d8a2019bc289f0ca320c1db0d84e20a0e1b7a26fbb57ee24a2d14b SHA512 d74c2ca4b8b34e4addf232c0be76478c1034828d04d0ea24528d845492287b08e68dfc5a5e34e0d2feda5c0630792ef1171db87a0140072ba60c9e56b56f6d3e
-EBUILD tracker-3.5.2.ebuild 2540 BLAKE2B 0d5c8ebfb5c6f9eaddd09a2baa2d24a5445898db989e5fdb1db2e74f0f3798e794f08482d67f0409e094f3254b5b9851117182a389df8aabf4b9231282eabdd1 SHA512 6be0d239f720fff00d11b8507863da1191232d08e146da94e900ae4ea8a538c17db62018d2cfbdade556ceba57bcaa628c4a3af67e6f09da7685afc32f310492
EBUILD tracker-3.5.3.ebuild 2462 BLAKE2B 0dfa199cd395c7d92c3665c3b5ffa888298bb44d2992d00ac7e8cb007d46aaafdfe07d050c0a45cb01c1070827829a7d3a187b98e48888097bb1dbc6ae10c63a SHA512 c3b63de9f4071b035a9be78d6ede1822324d1c181150b9c40fc415b6760a720017b097c550154d8f46f4c4728404513cd9252271365819a0a34c8a96c016ac18
EBUILD tracker-3.6_alpha.ebuild 2462 BLAKE2B d4ff4bd1dde2efd6cc47c02f1f069966bb5cb8a92645505eff1b3f558407d8062e82177ac7b9ed24180ffd44f2759b0984abf436f8b7094d71d6381b602faaaa SHA512 773432f981e8b471234522d9311d69797180b02e16462720f555831ace47e20351d90f790144bdb7919cb556a00a699fad383fd51504fb1b0111535a5e02c0cb
MISC metadata.xml 586 BLAKE2B 8244e6f8d9491a0c224ed84f17ee6ad64b22e0c373243a319e7911739a7db6223ce47693ed5b31053b4465f35d20108db1469d74afcebb36b4516a53cbd7f98a SHA512 0a60b0e4b077bb03d02b7990511041695c5dff7a8a0972fa80abe9968b643ad5c2ba65182c079e8d5f3d1ef72a2c4dcc659d6ec283bf80813135c94cab2dddef
diff --git a/app-misc/tracker/files/3.5.2-build-Define-_GNU_SOURCE-for-gmtime_r.patch b/app-misc/tracker/files/3.5.2-build-Define-_GNU_SOURCE-for-gmtime_r.patch
deleted file mode 100644
index f60d86c0513a..000000000000
--- a/app-misc/tracker/files/3.5.2-build-Define-_GNU_SOURCE-for-gmtime_r.patch
+++ /dev/null
@@ -1,46 +0,0 @@
-https://gitlab.gnome.org/GNOME/tracker/-/merge_requests/596
-
-From 4fc04fea1755c3c4f8913877c2c1889779d3d4d1 Mon Sep 17 00:00:00 2001
-From: Brahmajit Das <brahmajit.xyz@gmail.com>
-Date: Sun, 14 May 2023 09:59:58 +0530
-Subject: [PATCH] build: Define _GNU_SOURCE for gmtime_r
-
-Found while building tracker 3.5.2 with clang 16, which enable
-Wimplicit-function-declaration by default.
-
-Without _GNU_SOURCE defined, tracker would fail in the configure phase
-with Checking if "strftime 4-digit year modifier" runs: DID NOT
-COMPILE error. And investigating the meson log we see
-
-Compiler stderr:
- /var/tmp/portage/app-misc/tracker-3.5.2/work/tracker-3.5.2-build/meson-private/tmplr2vm6b0/testfile.c:12:5: error: call to undeclared function 'gmtime_r'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
- gmtime_r (&timestamp, &tm);
-
-And a little further up
-
-Command line: clang /var/tmp/portage/app-misc/tracker-3.5.2/work/tracker-3.5.2-build/meson-private/tmplr2vm6b0/testfile.c -o /var/tmp/portage/app-misc/tracker-3.5.2/work/tracker-3.5.2-build/meson-private/tmplr2vm6b0/output.exe -O2 -pipe -march=native -DTRACKER_DEBUG -DG_DISABLE_CAST_CHECKS -D_FILE_OFFSET_BITS=64 -O0 -Werror=implicit-function-declaration -std=c99 -Wl,-O1 -Wl,--as-needed -fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind -Wl,--as-needed
-
-Seems like cc.run() doesn't pick up the general compiler args we set
-earlier. We have already set it for the main build, so adding it just
-for the configure test should be fine.
-
-Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>
----
- meson.build | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/meson.build b/meson.build
-index 7b22cb1f9..00af07e6e 100644
---- a/meson.build
-+++ b/meson.build
-@@ -202,6 +202,7 @@ endif
- # Get an appropriate 4-digit year modifier for strftime
- ##################################################################
- result = cc.run('''
-+ #define _GNU_SOURCE
- #include <stdio.h>
- #include <string.h>
- #include <time.h>
---
-2.39.3
-
diff --git a/app-misc/tracker/tracker-3.5.2.ebuild b/app-misc/tracker/tracker-3.5.2.ebuild
deleted file mode 100644
index 06ea9f120f4d..000000000000
--- a/app-misc/tracker/tracker-3.5.2.ebuild
+++ /dev/null
@@ -1,110 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-PYTHON_COMPAT=( python3_{9..11} )
-
-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 https://gitlab.gnome.org/GNOME/tracker"
-
-LICENSE="GPL-2+ LGPL-2.1+"
-SLOT="3/0" # libtracker-sparql-3.0 soname version
-KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86"
-IUSE="gtk-doc +miners stemmer test vala"
-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.99.2:3.0
- >=dev-libs/libxml2-2.7
- >=dev-db/sqlite-3.29.0:3
- stemmer? ( dev-libs/snowball-stemmer:= )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
- dev-util/glib-utils
- app-text/asciidoc
- dev-libs/libxslt
- $(vala_depend)
- >=sys-devel/gettext-0.19.8
- virtual/pkgconfig
- gtk-doc? ( dev-util/gi-docgen )
- 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}/${PV}-build-Define-_GNU_SOURCE-for-gmtime_r.patch"
-)
-
-python_check_deps() {
- python_has_version -b \
- "dev-python/pygobject[${PYTHON_USEDEP}]" \
- "dev-python/tappy[${PYTHON_USEDEP}]"
-}
-
-pkg_setup() {
- local CONFIG_CHECK="~INOTIFY_USER"
- linux-info_pkg_setup
-
- use test && python-any-r1_pkg_setup
-}
-
-src_prepare() {
- default
- vala_setup
- xdg_environment_reset
-}
-
-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
- $(meson_feature vala vapi)
- -Dsoup=soup3
- )
- meson_src_configure
-}
-
-src_test() {
- dbus-run-session meson test -C "${BUILD_DIR}" || die 'tests failed'
-}
-
-src_install() {
- meson_src_install
-
- if use gtk-doc; then
- mkdir -p "${ED}"/usr/share/gtk-doc/html/ || die
- mv "${ED}"/usr/share/doc/Tracker-3.0 "${ED}"/usr/share/gtk-doc/html/ || die
- fi
-}
-
-pkg_postinst() {
- xdg_pkg_postinst
- gnome2_schemas_update
-}
-
-pkg_postrm() {
- xdg_pkg_postrm
- gnome2_schemas_update
-}