diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-03-18 18:31:43 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-03-18 18:31:43 +0000 |
commit | cd0d9000770337b445051f1852fe3971ceb7a6e2 (patch) | |
tree | 49c82dbb14c2d960e04e7482bdefe6ed2d53a173 /app-misc | |
parent | 12c505f7fcc9ddc89e96ed178df05aceec162d92 (diff) |
gentoo auto-resync : 18:03:2023 - 18:31:42
Diffstat (limited to 'app-misc')
-rw-r--r-- | app-misc/Manifest.gz | bin | 50106 -> 49802 bytes | |||
-rw-r--r-- | app-misc/gcalcli/Manifest | 5 | ||||
-rw-r--r-- | app-misc/gcalcli/gcalcli-4.2.0-r1.ebuild | 33 | ||||
-rw-r--r-- | app-misc/gcalcli/gcalcli-4.3.0.ebuild | 31 | ||||
-rw-r--r-- | app-misc/gcalcli/metadata.xml | 13 | ||||
-rw-r--r-- | app-misc/goobook/Manifest | 4 | ||||
-rw-r--r-- | app-misc/goobook/files/goobook-3.5.1-pyxdg.patch | 105 | ||||
-rw-r--r-- | app-misc/goobook/goobook-3.5.1-r3.ebuild | 48 | ||||
-rw-r--r-- | app-misc/goobook/metadata.xml | 16 | ||||
-rw-r--r-- | app-misc/tracker-miners/Manifest | 2 | ||||
-rw-r--r-- | app-misc/tracker-miners/tracker-miners-3.5.0_rc.ebuild | 179 | ||||
-rw-r--r-- | app-misc/tracker/Manifest | 2 | ||||
-rw-r--r-- | app-misc/tracker/tracker-3.5.0_rc.ebuild | 108 |
13 files changed, 291 insertions, 255 deletions
diff --git a/app-misc/Manifest.gz b/app-misc/Manifest.gz Binary files differindex 6780160d672d..d41be515651d 100644 --- a/app-misc/Manifest.gz +++ b/app-misc/Manifest.gz diff --git a/app-misc/gcalcli/Manifest b/app-misc/gcalcli/Manifest deleted file mode 100644 index d0f51db6a5aa..000000000000 --- a/app-misc/gcalcli/Manifest +++ /dev/null @@ -1,5 +0,0 @@ -DIST gcalcli-4.2.0.tar.gz 1701050 BLAKE2B a0e310097cdb740ac873049d19d21dc8698afe61c919fd082258864e7170f5ca42a55b4eb211cfa9ecd9b2bef63f3e107839a4e3cad9ec2c278a8529f58ac33c SHA512 2dd39a62e3fd81753f30b77be196476ef366cb6914e62c5de82ab946b7159751a5cbf246aa54eaed1fb6adfef7dbba785d10e29571a454b627b7ff45b52375d6 -DIST gcalcli-4.3.0.gh.tar.gz 1702967 BLAKE2B 04623e2140769a56c28a03e315f8ef1e9fe51571f2e46d2529e1fca062c85de251c6adc631057df228494d449b93564e9fe71998f8702ed87dbc5ec5e7803bbd SHA512 ea8680be5351d7b18206ea7b010d49a8c87cbafc9d754cf7f47587a09228c45b29f76d29644770a881cb7c750a1e0e59262b7875eca77aee5bc2476e456b807e -EBUILD gcalcli-4.2.0-r1.ebuild 875 BLAKE2B f1c501b5ff161695333cd9f06b3623cb83efc9f8daac2b587ee753b80403330f73f547c07ea41b7889672c50773bb3d412d37428567ff792a4a8fe1eea6d8b9b SHA512 7c8c49ffdf5679705fa4d0f920de9c9d42a8bd6d0fb456a50719385579320752b46fea8f3e48b4be78d8dd62a4952db842a4079a7f978f837afc3204435b488a -EBUILD gcalcli-4.3.0.ebuild 828 BLAKE2B e1d8c13994a49c83a163c0da3a987bd7be1cbe35a2481730ff45bf4d0989ff208b03f948ee36c7bb5d535f5da973f51fd22db0cbb43363b625c7ca583d9aef61 SHA512 e38bef7d8f90c271771d8463f55a852c1317260418646f1ae5f0dd03894c0c8b711f59559fc81bb287fcf83f1185395c67744a3f91ee761ee7561d85f96bbd6d -MISC metadata.xml 413 BLAKE2B 939af02f1077e01b65a014a06ca7b6f8244b0371a66048302f566eed042cf336ff1f6d2856674a4a69c3e9a22589b32539fa649433e59d30c6ec2d87d5ceb8a1 SHA512 8a6b6190e4cbe51677ff7ae4fe1838dcfd97ee8a7bfd9c39b03481795c0567baace4d50c4a090d2e2bbb9f28157e3778822da49e416334b8114d76a89a759b05 diff --git a/app-misc/gcalcli/gcalcli-4.2.0-r1.ebuild b/app-misc/gcalcli/gcalcli-4.2.0-r1.ebuild deleted file mode 100644 index 78922029329c..000000000000 --- a/app-misc/gcalcli/gcalcli-4.2.0-r1.ebuild +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_10 ) -DISTUTILS_USE_SETUPTOOLS=rdepend -inherit distutils-r1 - -MY_PV="4.2.0" -DESCRIPTION="Google Calendar Command Line Interface" -HOMEPAGE="https://github.com/insanum/gcalcli" -SRC_URI="https://github.com/insanum/gcalcli/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/gcalcli-${MY_PV}" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=" - >=dev-python/google-api-python-client-1.5.3[${PYTHON_USEDEP}] - dev-python/oauth2client[${PYTHON_USEDEP}] - dev-python/parsedatetime[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] - dev-python/python-gflags[${PYTHON_USEDEP}] - dev-python/vobject[${PYTHON_USEDEP}]" - -distutils_enable_tests pytest - -src_install() { - dodoc -r ChangeLog README.md docs - distutils-r1_src_install -} diff --git a/app-misc/gcalcli/gcalcli-4.3.0.ebuild b/app-misc/gcalcli/gcalcli-4.3.0.ebuild deleted file mode 100644 index 9011c82b338f..000000000000 --- a/app-misc/gcalcli/gcalcli-4.3.0.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_10 ) -inherit distutils-r1 - -DESCRIPTION="Google Calendar Command Line Interface" -HOMEPAGE="https://github.com/insanum/gcalcli" -SRC_URI="https://github.com/insanum/gcalcli/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=" - >=dev-python/google-api-python-client-1.5.3[${PYTHON_USEDEP}] - dev-python/oauth2client[${PYTHON_USEDEP}] - dev-python/parsedatetime[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] - dev-python/python-gflags[${PYTHON_USEDEP}] - dev-python/vobject[${PYTHON_USEDEP}]" - -distutils_enable_tests pytest - -src_install() { - dodoc -r ChangeLog README.md docs - distutils-r1_src_install -} diff --git a/app-misc/gcalcli/metadata.xml b/app-misc/gcalcli/metadata.xml deleted file mode 100644 index 4b02113ea41b..000000000000 --- a/app-misc/gcalcli/metadata.xml +++ /dev/null @@ -1,13 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>robbat2@gentoo.org</email> - <name>Robin H. Johnson</name> - </maintainer> - <stabilize-allarches/> - <upstream> - <remote-id type="github">insanum/gcalcli</remote-id> - <remote-id type="pypi">gcalcli</remote-id> - </upstream> -</pkgmetadata> diff --git a/app-misc/goobook/Manifest b/app-misc/goobook/Manifest deleted file mode 100644 index 62dd7d2f0bfb..000000000000 --- a/app-misc/goobook/Manifest +++ /dev/null @@ -1,4 +0,0 @@ -AUX goobook-3.5.1-pyxdg.patch 4669 BLAKE2B 9d1e86d9d2a54b4050378fa0e9799135db6d124b4546393d03981d17dee20d51d47a483075948cb7a9df75f7ab452c11b161db6aa5546bc27509e3b0ce6aad09 SHA512 0ffef1b4710b6b3e6c35d098380b6a3ff7b9b4d77c9b0c651ad5a46aa0491e7feb334bac2c472e11677cf8ae0fe47776abd5ece84efd053ef1fe202f51a37ae3 -DIST goobook-3.5.1.tar.gz 38176 BLAKE2B 99a068256ca83e800a2d2e82c88adba85797107dc72edde9fbb3c9790ef38fff627b4db64c21baff14aa8a4c69788c29aeb01dae60533c7f389352aee9401e9c SHA512 58d056d7d76843bc874e55424912bb00068541e674b780511b7753da31f2df9514baa188017dd0a7479b5527cd50c47e35f37afc493bdc973e0eb1624998a611 -EBUILD goobook-3.5.1-r3.ebuild 1202 BLAKE2B 1ec10eb3159d5dd246accec4e5dd8f9d7cc57057a25cfed31c3a9bfd9bddbc05f720721a9dec77429812681f54a1b965072843c75b33a4f3fdff6e5286d54903 SHA512 fa11761cba794d9cbaacb62f9cb34214330f64e1ce3b62b9e456439bf6860a7ae74925fce7112111d6eee5f529d3eed44662868ffcddb1c5d2eaf082a15e5a10 -MISC metadata.xml 509 BLAKE2B a8e461dfe042e8819f4cac60713d2792750a60d8c57b6f694bea9eb24ea8290cbbd5880fc6e3d7095f1ccb596a2c0335f3499b379b291b30cc62e3980b74f3ec SHA512 b52bc1eb9070cfc52be70b94704b214be745151ba00c986d9f4988d4f99fe9311a4283aff8cc2c4882f99404fd0257c8ad2d98142b03775b7018046b3fd5765f diff --git a/app-misc/goobook/files/goobook-3.5.1-pyxdg.patch b/app-misc/goobook/files/goobook-3.5.1-pyxdg.patch deleted file mode 100644 index e40bc051295f..000000000000 --- a/app-misc/goobook/files/goobook-3.5.1-pyxdg.patch +++ /dev/null @@ -1,105 +0,0 @@ -From 391c081199f9cba5026460fbffba43c03602fa13 Mon Sep 17 00:00:00 2001 -From: Jan Baier <jbaier@suse.cz> -Date: Mon, 22 Mar 2021 15:04:38 +0100 -Subject: [PATCH] Switch from xdg to pyxdg - -As both of them provides the xdg and cannot be installed at the same -time, pyxdg should be used as it is older, has more features (xdg is a -subset of pyxdg) and is more used. This change should resolve conflicts -like https://github.com/srstevenson/xdg/issues/35 - -Fixes #96 ---- - CHANGES.rst | 6 ++++++ - Pipfile | 2 +- - goobook/config.py | 16 ++++++++-------- - setup.py | 4 ++-- - 4 files changed, 17 insertions(+), 11 deletions(-) - -diff --git a/goobook/config.py b/goobook/config.py -index c948469..05589b1 100644 ---- a/goobook/config.py -+++ b/goobook/config.py -@@ -10,7 +10,7 @@ import configparser - import logging - - import oauth2client.client --import xdg -+from xdg import BaseDirectory - - from goobook.storage import Storage - -@@ -61,8 +61,8 @@ def read_config(config_file=None): - if config_file: # config file explicitly given on the commandline - config_file = os.path.expanduser(config_file) - else: # search for goobookrc in XDG dirs and homedir -- config_files = [dir_ / "goobookrc" for dir_ in [xdg.XDG_CONFIG_HOME] + -- xdg.XDG_CONFIG_DIRS] + [LEGACY_CONFIG_FILE] -+ config_files = [dir_ / "goobookrc" for dir_ in [pathlib.Path(BaseDirectory.xdg_config_home)] + -+ [pathlib.Path(p) for p in BaseDirectory.xdg_config_dirs]] + [LEGACY_CONFIG_FILE] - log.debug("config file search path: %s", config_files) - for config_file_ in config_files: - if config_file_.exists(): -@@ -93,7 +93,7 @@ def read_config(config_file=None): - if config.cache_filename: # If explicitly specified in config file - config.cache_filename = realpath(expanduser(config.cache_filename)) - else: # search for goobook_cache in XDG dirs and homedir -- cache_files = [xdg.XDG_CACHE_HOME / "goobook_cache", LEGACY_CACHE_FILE] -+ cache_files = [pathlib.Path(BaseDirectory.xdg_cache_home) / "goobook_cache", LEGACY_CACHE_FILE] - log.debug("cache file search path: %s", cache_files) - for cache_file in cache_files: - cache_file = cache_file.resolve() -@@ -101,7 +101,7 @@ def read_config(config_file=None): - log.debug("found cache file: %s", cache_file) - break - else: # If there is none, create in XDG_CACHE_HOME -- cache_file = xdg.XDG_CACHE_HOME / "goobook_cache" -+ cache_file = pathlib.Path(BaseDirectory.xdg_cache_home) / "goobook_cache" - log.debug("no cache file found, will use %s", cache_file) - config.cache_filename = str(cache_file) - -@@ -110,8 +110,8 @@ def read_config(config_file=None): - config.oauth_db_filename = realpath(expanduser(config.oauth_db_filename)) - auth_file = pathlib.Path(config.oauth_db_filename) - else: # search for goobook_auth.json in XDG dirs and homedir -- auth_files = [dir_ / "goobook_auth.json" for dir_ in [xdg.XDG_DATA_HOME] + -- xdg.XDG_DATA_DIRS] + [LEGACY_AUTH_FILE] -+ auth_files = [dir_ / "goobook_auth.json" for dir_ in [pathlib.Path(BaseDirectory.xdg_data_home)] + -+ [pathlib.Path(p) for p in BaseDirectory.xdg_data_dirs]] + [LEGACY_AUTH_FILE] - log.debug("auth file search path: %s", auth_files) - for auth_file in auth_files: - auth_file = auth_file.resolve() -@@ -119,7 +119,7 @@ def read_config(config_file=None): - log.debug("found auth file: %s", auth_file) - break - else: # If there is none, create in XDG_DATA_HOME -- auth_file = xdg.XDG_DATA_HOME / "goobook_auth.json" -+ auth_file = pathlib.Path(BaseDirectory.xdg_data_home) / "goobook_auth.json" - log.debug("no auth file found, will use %s", auth_file) - config.oauth_db_filename = str(auth_file) - -diff --git a/setup.py b/setup.py -index e2bed5c..4a6c764 100755 ---- a/setup.py -+++ b/setup.py -@@ -12,7 +12,7 @@ NEWS = open(os.path.join(HERE, 'CHANGES.rst')).read() - - setuptools.setup( - name='goobook', -- version='3.5.1', -+ version='3.6', - description='Search your google contacts from the command-line or mutt.', - long_description=README + '\n\n' + NEWS, - long_description_content_type="text/x-rst", -@@ -39,7 +39,7 @@ setuptools.setup( - 'google-api-python-client>=1.7.12', - 'simplejson>=3.16.0', - 'oauth2client>=1.5.0,<5.0.0dev', -- 'xdg>=4.0.1' -+ 'pyxdg>=0.26' - ], - extras_require={ - }, --- -GitLab - diff --git a/app-misc/goobook/goobook-3.5.1-r3.ebuild b/app-misc/goobook/goobook-3.5.1-r3.ebuild deleted file mode 100644 index 1ddc2c09d924..000000000000 --- a/app-misc/goobook/goobook-3.5.1-r3.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_10 ) -inherit distutils-r1 readme.gentoo-r1 pypi - -DESCRIPTION="Access your Google contacts from the command line" -HOMEPAGE="https://gitlab.com/goobook/goobook" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=" - >=dev-python/google-api-python-client-1.7.12[${PYTHON_USEDEP}] - >=dev-python/simplejson-3.16.0[${PYTHON_USEDEP}] - >=dev-python/oauth2client-1.5.0[${PYTHON_USEDEP}] - <dev-python/oauth2client-5[${PYTHON_USEDEP}] - dev-python/pyxdg[${PYTHON_USEDEP}]" - -PATCHES=( - # https://gitlab.com/goobook/goobook/-/merge_requests/13 - "${FILESDIR}"/${P}-pyxdg.patch -) - -DISABLE_AUTOFORMATTING=1 -DOC_CONTENTS=" -To setup initial authentication, execute: - -~ $ goobook authenticate - -If you want to use goobook from mutt, add this in your .muttrc file: - set query_command=\"goobook query '%s'\" -to query address book. - -You may find more information and advanced configuration tips at -https://pypi.org/project/${PN}/${PV} in \"Configure/Mutt\" section" - -src_install() { - distutils-r1_src_install - readme.gentoo_create_doc -} - -pkg_postinst() { - readme.gentoo_print_elog -} diff --git a/app-misc/goobook/metadata.xml b/app-misc/goobook/metadata.xml deleted file mode 100644 index cc7896d7b32b..000000000000 --- a/app-misc/goobook/metadata.xml +++ /dev/null @@ -1,16 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person" proxied="yes"> - <name>Kalin KOZHUHAROV</name> - <email>kalin@thinrope.net</email> - </maintainer> - <maintainer type="project" proxied="proxy"> - <email>proxy-maint@gentoo.org</email> - <name>Proxy Maintainers</name> - </maintainer> - <stabilize-allarches/> - <upstream> - <remote-id type="pypi">goobook</remote-id> - </upstream> -</pkgmetadata> diff --git a/app-misc/tracker-miners/Manifest b/app-misc/tracker-miners/Manifest index 19efa94b8165..437f7a2f91df 100644 --- a/app-misc/tracker-miners/Manifest +++ b/app-misc/tracker-miners/Manifest @@ -1,4 +1,6 @@ AUX 3.4.2-functional-tests-Run-png-region-of-interest-only-if-.patch 935 BLAKE2B fda094d7e2b291a1efbcbc3a7219678d37e556891527e36480a877ac665d6cf094627f5b04a00f77d04978561ab818d3c255e29589fbc6107f587c269fc501f2 SHA512 db95fe5b6ea6a160ab9e31c41bd70198048ea183393fee44062c75d011254d8c6dc8c0a26c472a58e5f82543792e9a0f9c778cf08c768891a0760fab81bec65f DIST tracker-miners-3.4.3.tar.xz 7244744 BLAKE2B e018e8e80c5b87eda7ef50b00fe87b4d555806a1d630c147dd4c5a11bdf7140c28f68ef0724ec281f11acd5b63d9857eae8d23e51ed5607136c90d783c7a205b SHA512 b7287bd14be9c14be582109b660166b38c515199b809503a7b06e411f4cc1e0c1f59ce95ab70e1b404d7440b7f23312f1150a4e033e38cabfc0f396e3c1edc3c +DIST tracker-miners-3.5.0.rc.tar.xz 7503452 BLAKE2B 769c7a28deeb1e8698bde22918b0b24c68c11aca2d690297ec55d891b6fcb978640fa50c5558b8f0a38e437ca9d5b893fb49f50d30c12acea207d2bdf6393ca6 SHA512 43285cdd0d43c19934995dcd1479dc7cd596eaa2e3e6be010c8789acac9f0bdec2930bec60d78ee551024f4cdb3789233e9e275eaec9157aa922f3f5d272db54 EBUILD tracker-miners-3.4.3.ebuild 4776 BLAKE2B 8249d2d3a93380248098f073d96a150962022ac35809586324a49fd95edc6593f61d12e669b12dd6fa75268f4ea89583775411cb4c1a0127d91b99ead760b747 SHA512 859c86202d274bc91ae90c8448512dcf1ecb8a414dc36877d73327252e2d9486d9f55474db7093f3c071a788003e92a30284974b1a78951973e2c536db656862 +EBUILD tracker-miners-3.5.0_rc.ebuild 4896 BLAKE2B b80d23469716f02062d8980be775b6b8715d3330b9d48a38c54c0cbdfc4189f5a1c3b0eacaa50008c623ca73273f41d43cd8f4a4fbc9289862867e87b8272f94 SHA512 bd416e7216e3ae66df475ec9150c3a2b4f61e8a3f6faa3308397ece20a4f16c7accd65a49c1d5412d652d7381bd915647e815a296b804eeec98199d69f7cffba MISC metadata.xml 835 BLAKE2B a7f0c667be6eaaebcd62fd782c72831f8f95f778d2ff1ee36c278fc3a902761ca10d73fd7e6b15afa83d36a960d5f20dc765b62dc6f85022db01d9d0d356bcbd SHA512 9d348dbec07ab8e344dab0d6f3acdc48e91d80171e411353b233f8b49989f4152817c8ed522c234d5dd9a3849cdab3d46f41256702a5d50bbf1e591f112cddd5 diff --git a/app-misc/tracker-miners/tracker-miners-3.5.0_rc.ebuild b/app-misc/tracker-miners/tracker-miners-3.5.0_rc.ebuild new file mode 100644 index 000000000000..0ae7be5286e0 --- /dev/null +++ b/app-misc/tracker-miners/tracker-miners-3.5.0_rc.ebuild @@ -0,0 +1,179 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +PYTHON_COMPAT=( python3_{9..11} ) + +inherit flag-o-matic gnome.org gnome2-utils meson python-any-r1 systemd xdg + +DESCRIPTION="Collection of data extractors for Tracker/Nepomuk" +HOMEPAGE="https://wiki.gnome.org/Projects/Tracker" +SRC_URI="https://download.gnome.org/sources/${PN}/3.5/${PN}-3.5.0.rc.tar.xz" +S="${WORKDIR}/${PN}-3.5.0.rc" + +LICENSE="GPL-2+ LGPL-2.1+" +SLOT="3" +IUSE="cue exif ffmpeg gif gsf +gstreamer iptc +iso +jpeg networkmanager +pdf +playlist raw +rss seccomp test +tiff upower +xml xmp xps" + +REQUIRED_USE="cue? ( gstreamer )" # cue is currently only supported via gstreamer, not ffmpeg +RESTRICT="!test? ( test )" + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" + +# tracker-2.1.7 currently always depends on ICU (theoretically could be libunistring instead); so choose ICU over enca always here for the time being (ICU is preferred) +RDEPEND=" + >=dev-libs/glib-2.70:2 + >=app-misc/tracker-3.4.0:3 + + >=sys-apps/dbus-1.3.1 + xmp? ( >=media-libs/exempi-2.1.0:= ) + raw? ( media-libs/gexiv2 ) + cue? ( media-libs/libcue:= ) + exif? ( >=media-libs/libexif-0.6 ) + gsf? ( >=gnome-extra/libgsf-1.14.24:= ) + xps? ( app-text/libgxps ) + iptc? ( media-libs/libiptcdata ) + jpeg? ( media-libs/libjpeg-turbo:0= ) + iso? ( >=sys-libs/libosinfo-1.10.0-r1 ) + >=media-libs/libpng-1.2:0= + seccomp? ( >=sys-libs/libseccomp-2.0 ) + tiff? ( media-libs/tiff:= ) + xml? ( >=dev-libs/libxml2-2.6 ) + pdf? ( >=app-text/poppler-0.16.0:=[cairo] ) + playlist? ( >=dev-libs/totem-pl-parser-3:= ) + sys-apps/util-linux + + gif? ( media-libs/giflib:= ) + + networkmanager? ( net-misc/networkmanager ) + + rss? ( >=net-libs/libgrss-0.7:0 ) + app-arch/gzip + + upower? ( >=sys-power/upower-0.9.0:= ) + + >=dev-libs/icu-4.8.1.1:= + + gstreamer? ( + >=media-libs/gstreamer-1.20:1.0 + >=media-libs/gst-plugins-base-1.20:1.0 + >=media-plugins/gst-plugins-meta-1.20:1.0 ) + !gstreamer? ( + ffmpeg? ( media-video/ffmpeg:0= ) ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + app-text/asciidoc + dev-libs/libxslt + dev-util/glib-utils + dev-util/gdbus-codegen + + >=sys-devel/gettext-0.19.8 + virtual/pkgconfig + test? ( + ${PYTHON_DEPS} + $(python_gen_any_dep 'dev-python/pygobject[${PYTHON_USEDEP}]') + $(python_gen_any_dep 'dev-python/tappy[${PYTHON_USEDEP}]') + gstreamer? ( + media-libs/gstreamer:1.0[introspection] + || ( + media-plugins/gst-plugins-libav:1.0 + media-plugins/gst-plugins-openh264:1.0 + ) + ) + ) +" + +PATCHES=( + "${FILESDIR}"/3.4.2-functional-tests-Run-png-region-of-interest-only-if-.patch +) + +python_check_deps() { + python_has_version -b \ + "dev-python/pygobject[${PYTHON_USEDEP}]" \ + "dev-python/tappy[${PYTHON_USEDEP}]" +} + +pkg_setup() { + use test && python-any-r1_pkg_setup +} + +src_prepare() { + default + + # Avoid gst-inspect calls that may trigger sandbox; instead assume the detection will succeed and add the needed test deps for that + if use gstreamer; then + sed -i -e 's:detect-h264-codec.sh:/bin/true:' tests/functional-tests/meson.build || die + else + sed -i -e 's:detect-h264-codec.sh:/bin/false:' tests/functional-tests/meson.build || die + fi + gnome2_environment_reset # sets gstreamer safety variables +} + +src_configure() { + append-cflags -DTRACKER_DEBUG -DG_DISABLE_CAST_CHECKS + + local media_extractor="none" + if use gstreamer ; then + media_extractor="gstreamer" + elif use ffmpeg ; then + media_extractor="libav" + fi + + local emesonargs=( + -Dtracker_core=system + + -Dman=true + -Dextract=true + $(meson_use test functional_tests) + $(meson_use test tests_tap_protocol) + -Dminer_fs=true + $(meson_use rss miner_rss) + -Dwriteback=true + -Dabiword=true + -Dicon=true + -Dmp3=true + -Dps=true + -Dtext=true + -Dunzip_ps_gz_files=true # spawns gunzip + + $(meson_feature networkmanager network_manager) + $(meson_feature cue) + $(meson_feature exif) + $(meson_feature gif) + $(meson_feature gsf) + $(meson_feature iptc) + $(meson_feature iso) + $(meson_feature jpeg) + $(meson_feature pdf) + $(meson_feature playlist) + -Dpng=enabled + $(meson_feature raw) + $(meson_feature tiff) + $(meson_feature xml) + $(meson_feature xmp) + $(meson_feature xps) + + -Dbattery_detection=$(usex upower upower none) + -Dcharset_detection=icu # enca is a possibility, but right now we have tracker core always dep on icu and icu is preferred over enca + -Dgeneric_media_extractor=${media_extractor} + # gupnp gstreamer_backend is in bad state, upstream suggests to use discoverer, which is the default + -Dsystemd_user_services_dir="$(systemd_get_userunitdir)" + ) + meson_src_configure +} + +src_test() { + export GSETTINGS_BACKEND="dconf" # Tests require dconf and explicitly check for it (env_reset set it to "memory") + 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 +} diff --git a/app-misc/tracker/Manifest b/app-misc/tracker/Manifest index edc7c061cfeb..0718ed9beb10 100644 --- a/app-misc/tracker/Manifest +++ b/app-misc/tracker/Manifest @@ -1,3 +1,5 @@ DIST tracker-3.4.2.tar.xz 1865236 BLAKE2B 31cdb33de38d9251fc60a71b31c539e3f045748fb5dc160656dd5187dce109da858bad5390864cda8b63466a5113e0a193e0799b662ec250a31cfdff79467e6e SHA512 2214bce7cdbaf1039b11986cf101f615337bbc450331ee703edcfd7ad62dee6e1db831c2c89bf341663cadcdaae6ee9e5a15f49a8087acaafd58b389292ef480 +DIST tracker-3.5.0.rc.tar.xz 1330772 BLAKE2B 27f6b942bb7a26266ede88466cbc1671779d49fa95278b2949d6338f6f976aa83aa15ef79c61f30a3c61b0304aee0ae125253185904794ba566b18397b868988 SHA512 cdbf903900a66ce0115e94193834d800a94d7dc7ff023125a8c1da9bf8d743829633bbe6af748bf0535071e492bd249b37e937527a3039143376511a320ddf44 EBUILD tracker-3.4.2.ebuild 2719 BLAKE2B fa701f0dc1306fc893e0125bd8502c2724213f4084c902608cffc3f69de3ebb9ba474e8038213d1c847d013cf918bda4ddbc5049e62a21433e2e508308fc8d89 SHA512 0f917521e0e083765cba5ca5e64cad9a98e1b13735523217bee2f97e15a9c27899d675deefa9779e0664fa7ba573c31ed58967a753bb8b26c15a921b62d8cc95 +EBUILD tracker-3.5.0_rc.ebuild 2571 BLAKE2B ec79c514cfa58b64a51213abd77a14763ac4355daa644f866003acb0c78eb628d6ae231e33b0e6b615f8a1761c718f4dbbebc5a13d9d3b19c89e0e333df74a0c SHA512 a621978f3b78ce1c5099dcf6546f9cca1cde39b9a70aaf2b1271d58c3d3f7b53c668a8026886b2ab50091e073493aa8633acf234775719d0e79ce1f6c5ffa5ba MISC metadata.xml 586 BLAKE2B 8244e6f8d9491a0c224ed84f17ee6ad64b22e0c373243a319e7911739a7db6223ce47693ed5b31053b4465f35d20108db1469d74afcebb36b4516a53cbd7f98a SHA512 0a60b0e4b077bb03d02b7990511041695c5dff7a8a0972fa80abe9968b643ad5c2ba65182c079e8d5f3d1ef72a2c4dcc659d6ec283bf80813135c94cab2dddef diff --git a/app-misc/tracker/tracker-3.5.0_rc.ebuild b/app-misc/tracker/tracker-3.5.0_rc.ebuild new file mode 100644 index 000000000000..4fd068651f29 --- /dev/null +++ b/app-misc/tracker/tracker-3.5.0_rc.ebuild @@ -0,0 +1,108 @@ +# 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" +SRC_URI="https://download.gnome.org/sources/${PN}/3.5/${PN}-3.5.0.rc.tar.xz" +S="${WORKDIR}/${PN}-3.5.0.rc" + +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} )" + +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 +} |