diff options
Diffstat (limited to 'app-misc')
-rw-r--r-- | app-misc/Manifest.gz | bin | 47259 -> 47264 bytes | |||
-rw-r--r-- | app-misc/beanstalkd/Manifest | 2 | ||||
-rw-r--r-- | app-misc/beanstalkd/beanstalkd-1.10.ebuild | 2 | ||||
-rw-r--r-- | app-misc/bfr/Manifest | 2 | ||||
-rw-r--r-- | app-misc/bfr/bfr-1.6-r3.ebuild | 2 | ||||
-rw-r--r-- | app-misc/pax-utils/Manifest | 2 | ||||
-rw-r--r-- | app-misc/pax-utils/pax-utils-1.2.8.ebuild | 78 | ||||
-rw-r--r-- | app-misc/tracker-miners/Manifest | 5 | ||||
-rw-r--r-- | app-misc/tracker-miners/files/2.3.5-fix-autostart-build.patch | 80 | ||||
-rw-r--r-- | app-misc/tracker-miners/tracker-miners-2.3.4.ebuild | 154 | ||||
-rw-r--r-- | app-misc/tracker-miners/tracker-miners-2.3.5.ebuild | 162 | ||||
-rw-r--r-- | app-misc/tracker/Manifest | 4 | ||||
-rw-r--r-- | app-misc/tracker/tracker-2.3.4.ebuild | 1 | ||||
-rw-r--r-- | app-misc/tracker/tracker-2.3.5.ebuild | 103 |
14 files changed, 592 insertions, 5 deletions
diff --git a/app-misc/Manifest.gz b/app-misc/Manifest.gz Binary files differindex 53502e1bd64d..9ad4b2078f09 100644 --- a/app-misc/Manifest.gz +++ b/app-misc/Manifest.gz diff --git a/app-misc/beanstalkd/Manifest b/app-misc/beanstalkd/Manifest index 71dc1e9380c5..8f29b84bfbf2 100644 --- a/app-misc/beanstalkd/Manifest +++ b/app-misc/beanstalkd/Manifest @@ -4,6 +4,6 @@ AUX init 477 BLAKE2B 9f0ce8f2c5c17e526f49d25e744d00f3784e672ef06e30fd3033e7b76a5 AUX init-1.9 511 BLAKE2B 8651a6f023f99f183bb7092a79f5a7d5d7d56f3321c18ceb0fcf8199f3217505a1e1238fa584d0ab9c7276d04abd9c5527ed2f732a44f39a6044310a20399b58 SHA512 7e16023709e72724f411953b2d042c6bb369be7c0a9c891d3e03ea12d4c175ce82e57466c8b2c2bf8611cb1f5aee9c76ae5adad0ad38e99c93525d732715546a DIST beanstalkd-1.10.tar.gz 66243 BLAKE2B ff9c37b82073435523e0bc98169026ba9c1f8e8963100f35f63c4bdcb35e9dc512f726e06b91931ac44e20f7d3c8a0b80e8be3675f924ff4339a5495b10f7c91 SHA512 db85e4a32c686330e50d64d497a39bb9806de42a2c2d2c84eb260ae8cfad91b4c99eef6a8f0ab3e62d0ca71a31837778ec68a4299899ac5a9d94a5a4403d673b DIST beanstalkd-1.11.tar.gz 73386 BLAKE2B 345873711b4d40c17044dddfec02a03a95cb42b274fa2a3459227aba585678c1b3e192947c4c82e9b6688050e1add5623c38ed75040a1135d523c888706d519e SHA512 322e6400c36fb3d7b06b7feb3e7dde5e64137382fb81ca1f11e3b9f72b4246ba719d139a571efcde9fe1738ba0e9e05a6ce3ac2d49a9628f6d455c81ec2a033e -EBUILD beanstalkd-1.10.ebuild 1052 BLAKE2B a33b258f2ba61e14b97c91a7bdb1ba086fcef9863c698e72fb32ce13fd04e6a39b54dd96be74f20bd8fcd3c7d1b559978a3d388a2e16d8e890c883208e6c31f5 SHA512 40275b672b14f144421067d42ed765ce76b03876f648a34c138bbefd983ae397936d256b0f1c413baebe65cc91324f4650e6b405ac4d4158bf1874676c3fdc2b +EBUILD beanstalkd-1.10.ebuild 1049 BLAKE2B 16ddc34489d3d35f1674e00608e45e5864397454a8cf006a879e68fb180160e1d60e055b1dc39549aa6e863f5aa7e8e447cedba1181e6a1d7e98bf585f437216 SHA512 36d51d0a13997f972e399ee10dda2eacfbac6cd774cb7624936946b4c159c6d794b6a81e3920df704d855d5fe00afc91cf153177ae1433bd11215f754569bd16 EBUILD beanstalkd-1.11.ebuild 985 BLAKE2B 729045c56f460a1d9f517308885cf16edfb0c41f81854ce959c578fbe22f57c0afeac260233378ccb1168c30e657569f6928fe21814bc4676a73d9ce035c6c9c SHA512 d8cca359f0e66c4f48b08fc15a49b0f295c23a62c09fe8b9f741cda0205290165e4d929f8c8296efebceaebedaf5aba3517caf8ef4f34414a133e510208e1ef1 MISC metadata.xml 335 BLAKE2B 4e07d8ed52588274c004754f8d1e379057a081091f2d4d7fdb21c8b0cd07a6f0b8ca2ecf447686051a60a969179bd5401c9117c50d5317c5667296678ce6f1f3 SHA512 ef75a50ccb4db0c6c8423aa8527e25b23bfbe88db0d1c2461c0921bdd859b2dc823227642d91e420e81c26fd08729ae51b38ca8b6b3ccddfa90e7ca75fe7c7f1 diff --git a/app-misc/beanstalkd/beanstalkd-1.10.ebuild b/app-misc/beanstalkd/beanstalkd-1.10.ebuild index 83319c020748..5569e1b96c6a 100644 --- a/app-misc/beanstalkd/beanstalkd-1.10.ebuild +++ b/app-misc/beanstalkd/beanstalkd-1.10.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=5 diff --git a/app-misc/bfr/Manifest b/app-misc/bfr/Manifest index 23b45d0d86d8..955144ac090e 100644 --- a/app-misc/bfr/Manifest +++ b/app-misc/bfr/Manifest @@ -1,4 +1,4 @@ AUX bfr-1.6-perl.patch 326 BLAKE2B b5e5273b8cd5e198d5c3dd76740d7d3e8588571e29822095ffe3b0eb50a85d6422163aca0774d8de955c64bf066ffc445d3e140eb5dcb4d06e39274c07e8e6fe SHA512 8f65f5113b60a6cbe692b9b2cbf02a7a7b3f046a6a5203cc05cae7a08e1344afd5ababa41608d334d5d1f04afb0eb2bf705622056c5620626805eec41351ffc3 DIST bfr-1.6.tar.bz2 81002 BLAKE2B 24339eb7e882ca319b29a2a5e033ccfd6a0abe920572d4f023b4ad0321e2e9ce3096c3aba317bada297f9d17bbe368edf08cddd903377e99f5cc2a1dda7261ea SHA512 19939218029219cc328e3efb8e799bb8c755ccff7b8cb81ba0c735d499a48f581aa42322045fdbd153dcfdb8792e84d9fddbfba9e9c5d94675e2830163936762 -EBUILD bfr-1.6-r3.ebuild 482 BLAKE2B edf341b5d4625ce3dd6680d708b0002fb9fc8ccab0449e450c25ff5e2961cd410c6205d7c73293b311f0b6f274ebefc5096a59e415bcb23c205d8d73843c0bc4 SHA512 4162532066eb59e3fa83a4a6ed0d297aaad2b717dbe6e147dd12082ab8b3235fd1d994d399d565123418b4f8b22d04831b61aa2a1936bac1b56fe85f39e1d14a +EBUILD bfr-1.6-r3.ebuild 479 BLAKE2B 0d0c8fd7d21988f96454d26bed93a3a87e30befb7a50b7d5ee1b547bb371d0febe8512f47d60fb87d428986fea66c41d452310a91c1f1f7a9c8c0a48977b241b SHA512 e4578e964f849da1f5469c28345ea13d7cd13af2965432fad4e467f69e0de73e34aa21aa1b62ec2784c6ba1427212e35f8d38dbf6e2fd5d9f55ea2460a4cbee6 MISC metadata.xml 271 BLAKE2B 46146f4bf13e9f4d33435225ec1012dd9bb89b20812963dc50368cab2a60a3c542052cb72f8963cc72074b2c13a5b054c77152de1d108027752601a349bc4ef8 SHA512 3e98f5382cf789992bdfc0f32e6e36eba31944be654c03f2ed9bd00baf56c8b768c256c4f8778d5775d6df38da4afcf8e32b6e6495a1ecfc8e7982c7c8943b1b diff --git a/app-misc/bfr/bfr-1.6-r3.ebuild b/app-misc/bfr/bfr-1.6-r3.ebuild index 36da22707188..b9381a4178cb 100644 --- a/app-misc/bfr/bfr-1.6-r3.ebuild +++ b/app-misc/bfr/bfr-1.6-r3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 diff --git a/app-misc/pax-utils/Manifest b/app-misc/pax-utils/Manifest index bd07f9628bb6..8525589c92e4 100644 --- a/app-misc/pax-utils/Manifest +++ b/app-misc/pax-utils/Manifest @@ -1,3 +1,5 @@ DIST pax-utils-1.2.6.tar.xz 680696 BLAKE2B b271e19ed5ec1024d7c6e5723c12464c6ab07646dfbfd4738bfe0250629205051642421425d7c7c5f540b1ac3d100c13d1beca398d9766f7f477830ab128eef2 SHA512 59fe16c5573414aa2952a99c5b85c16cf10dbbee76943f263d31d5b1aa8818a9b00fa78c8b6dadbe02216de54fc32b26d80303a17e2d854de6bb9dd8b431f617 +DIST pax-utils-1.2.8.tar.xz 704804 BLAKE2B b64b50f985320618e10528aaddbeee9a2c86b05724d8564342fc78fd8bd31a84f3cfe5e6051b3b8a1a882bb0b3da586ca351b6fdda0fd6168930e8e4a44806cb SHA512 c211defb72921a6dfa950173bef7ef6bc5ac059dbb394a82d2b2455d082843fc7722a6819f37aa39033bd37a5a77880f193f8be550020320e87ce5becfa6e5bf EBUILD pax-utils-1.2.6.ebuild 1903 BLAKE2B 308656bc3fbf8c597c984dd61c86ec4fcf5084b75c4a83e417ccdc49fae8c49b65b0195ad0156e009fe8e41d6ae6a5555df8781b55c4a8288b3abe01fa4f2d44 SHA512 b4a3b8872fc4e6f23ba6a22fb77bb0f73624bd76450ee8be8823bd9b7b487266b407cc7cbb5526a609fb8b0c8df5a8f9307ead8f0af741a49ea9f5997825a9dc +EBUILD pax-utils-1.2.8.ebuild 1912 BLAKE2B 6b93612f1ce8aa8e109fc0ec667592d0b5eccfdf49db0be3aa84680187ad62b19ce5de2866d49bc7fdd9b21eaacf02359beea29aa14e59a4eaf8971cd0e228a4 SHA512 ba8f8de048d29b678ca5efb18ea9880781c26cbcdf799a7b3cbc406973f296311ca308520a3e947d461e9e4cb63d9160d75c68e0b2657f6c96a7e2b9294ff5de MISC metadata.xml 795 BLAKE2B 410a2dbab6104e5da8b29d92f288ac82619bea027e1e452428c9bb993d8b34475a2ce6d7d0ed8c40244f0ac31b619cc7a221c3545b46b8029284adbcbd45d9e5 SHA512 97e8fafd52f62a3db3d28a61f55895ecf667592516be68977599dd82d10c2107eb325218ccfc102d51cf8ce453c3f64e8ab4b82b25a5298bcf3ff0e33cdf40f3 diff --git a/app-misc/pax-utils/pax-utils-1.2.8.ebuild b/app-misc/pax-utils/pax-utils-1.2.8.ebuild new file mode 100644 index 000000000000..97ad76dbc3c2 --- /dev/null +++ b/app-misc/pax-utils/pax-utils-1.2.8.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8,9} ) + +inherit eutils python-single-r1 toolchain-funcs + +DESCRIPTION="ELF utils that can check files for security relevant properties" +HOMEPAGE="https://wiki.gentoo.org/index.php?title=Project:Hardened/PaX_Utilities" +SRC_URI="mirror://gentoo/${P}.tar.xz + https://dev.gentoo.org/~slyfox/distfiles/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="caps debug kernel_linux python seccomp" + +RDEPEND="caps? ( >=sys-libs/libcap-2.24 ) + python? ( + ${PYTHON_DEPS} + $(python_gen_cond_dep ' + dev-python/pyelftools[${PYTHON_MULTI_USEDEP}] + ') + ) + seccomp? ( sys-libs/libseccomp ) +" +# >=linux-headers-4.11 to pick linux headers with statx, bug #737094 +DEPEND=" + ${RDEPEND} + kernel_linux? ( !prefix-guest? ( >=sys-kernel/linux-headers-4.11 ) ) +" +BDEPEND=" + caps? ( virtual/pkgconfig ) + seccomp? ( virtual/pkgconfig ) +" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +_emake() { + emake \ + USE_CAP=$(usex caps) \ + USE_DEBUG=$(usex debug) \ + USE_PYTHON=$(usex python) \ + USE_SECCOMP=$(usex seccomp) \ + "$@" +} + +pkg_setup() { + if use python; then + python-single-r1_pkg_setup + fi +} + +src_configure() { + # Avoid slow configure+gnulib+make if on an up-to-date Linux system + if use prefix || ! use kernel_linux || + has_version '<sys-libs/glibc-2.10' + then + econf $(use_with caps) $(use_with debug) $(use_with python) $(use_with seccomp) + else + tc-export CC PKG_CONFIG + fi +} + +src_compile() { + _emake +} + +src_test() { + _emake check +} + +src_install() { + _emake DESTDIR="${D}" PKGDOCDIR='$(DOCDIR)'/${PF} install + + use python && python_fix_shebang "${ED}"/usr/bin/lddtree +} diff --git a/app-misc/tracker-miners/Manifest b/app-misc/tracker-miners/Manifest index 76c1c91074f1..3406a7f03597 100644 --- a/app-misc/tracker-miners/Manifest +++ b/app-misc/tracker-miners/Manifest @@ -1,3 +1,8 @@ +AUX 2.3.5-fix-autostart-build.patch 3518 BLAKE2B e41b39cb8576a533bb4e1bae9b96daf3d2614109a94f4cf6edb8968a7a17b3788d824f3b3b156a17eeea7232ad720306f5c081c3beb4c891ddfbb911af5ed3c1 SHA512 4b325b89675c3e2f470c6be48da4f2598bdfc8be5b44ea55e09e161428b041ee8b7f3ecc3b6c3a9dcac612b46f3f05511fabbaf8ed2b17ed589349f103c0fae6 DIST tracker-miners-2.3.3.tar.xz 3144712 BLAKE2B a5789cce89dedd7cf35548b730acc80eb9b8bcbc8338c4ee55b07c97af4b9fbadc46bf0fdc552a3384e995d71aca0defe2d57dc21d99f775dee6f33f69e0aa9b SHA512 1e845aaa5412125df84298a05f29888b3872c0f4d9251f026dd51846831fcd4aa0c6965c85752d7b6ed6548268d21f0fd2a8427c922a5dc0afcd294286c607e2 +DIST tracker-miners-2.3.4.tar.xz 3128484 BLAKE2B f52c46123c95252f8f16df824ff7498a8f44698cea13fa78653d7733590bef0a502139fea686b4fd9012f7569a6f946e1dbf8e053a16c474230c733d37103a3f SHA512 ceddddfa6c3151b5caeb197a4ae4dbe24fa2674e807bf66a9cc72227b60ee295171b52c2edb35236a3fbf9d8803678f55f8b990864a7a3a32bf362b0739d03ba +DIST tracker-miners-2.3.5.tar.xz 3128428 BLAKE2B a45c642fb03433a6cf12d0904a82498aa6645f97ac70b1cfe04cc3b739b33b5d3fe307cd96f45a5a4af8927f029b4eade60195d2f72c1a684aa26ee723025d8a SHA512 13da1106bc1bc8a550093c4d1bf4336a205f636e0487dc9d42cee9ce2666eca73ead479fd04f03ccf15acb4e3b27a1c898860f63bdfa69ca74b02aa041731fa9 EBUILD tracker-miners-2.3.3.ebuild 4637 BLAKE2B 436138e7a33ec47ee1fe93c160de931830cd1b5c7a3294b8aa53b016a9b290621e8fdd4741930f65280c63d074570fd7210069824d138f3810222998a7e7f6ae SHA512 66c19d0ff11de4d249207f0227fabac984ef53f8aa82e4b4eef4d9c4f215f508b4f3f38d322ae0d34739c69bb93f0a5e75c00adcbcff400c181d49894a1c7f2a +EBUILD tracker-miners-2.3.4.ebuild 4640 BLAKE2B 13b4176e6046e40f7fff1121272bfa60311e2ed164a4a5885c3fae9123b0790bc64fab07f4c3062e3374da6c041b325a4f7788d231e5c23b5a24217b270e0f45 SHA512 78c7ce8f2e884b10cbd8260e6f4c1c25fc93d3b49cbe30b4bfe9f69bf3218fcd5fe1e6bfb10474ea30b12b6cab645ce41061015319e0616c361bd63a6442a51b +EBUILD tracker-miners-2.3.5.ebuild 5006 BLAKE2B 25d947ab63738d8cd867add854a2f40d5b707b0d8b36042807e53556b5873e7f528a1b382a918583e4da393cac1ede138a3545c689d7e3d7914e8aa524cf557c SHA512 68a121035c66072bf49a79c1cef592b34a7c9210e6f6a3aa308e01b10d5e2e73ff534174809e4bfed27001b88508baa28c85749a110844b6d5d358bca58647f1 MISC metadata.xml 739 BLAKE2B 0ac1d8e892ef4b1caebea7f598b35694bc21956680ccfc16b2693528f913fde9354fb984fc09f20bbf9ad3671af2438818691d05fbfc05a06783cd2aa401ed8c SHA512 e685c1ed8e5029828251ed7a6e8124e8716b365172d976116a29aea67ec01744450892a30e53ce0a3ae4f1fa2b41d9af8fd4429667c31478e83aa3086cc0aa01 diff --git a/app-misc/tracker-miners/files/2.3.5-fix-autostart-build.patch b/app-misc/tracker-miners/files/2.3.5-fix-autostart-build.patch new file mode 100644 index 000000000000..85f201bcf051 --- /dev/null +++ b/app-misc/tracker-miners/files/2.3.5-fix-autostart-build.patch @@ -0,0 +1,80 @@ +From e7b6d5f8b7541a4693c61be5d210fad85a5c9d06 Mon Sep 17 00:00:00 2001 +From: Carlos Garnacho <carlosg@gnome.org> +Date: Sat, 12 Sep 2020 13:37:11 +0200 +Subject: [PATCH] build: Fix -Dautostart=true + +Meson doesn't seem to like that we use install_data() with custom target +results. Make this option toggle the "install" keyword argument in the +custom target itself. +--- + src/miners/fs/meson.build | 10 +++------- + src/miners/rss/meson.build | 10 +++------- + src/tracker-extract/meson.build | 10 +++------- + 3 files changed, 9 insertions(+), 21 deletions(-) + +diff --git a/src/miners/fs/meson.build b/src/miners/fs/meson.build +index a770516c9..5a23bd06c 100644 +--- a/src/miners/fs/meson.build ++++ b/src/miners/fs/meson.build +@@ -54,13 +54,9 @@ desktop_file_untranslated = configure_file( + desktop_file = custom_target('tracker-miner-fs-desktop-file', + input: desktop_file_untranslated, + output: 'tracker-miner-fs.desktop', +- command: ['intltool-merge', '--quiet', '--desktop-style', '--utf8', join_paths(meson.source_root(), 'po'), '@INPUT@', '@OUTPUT@']) +- +-if get_option('autostart') +- install_data(desktop_file, +- install: true, +- install_dir: join_paths(get_option('sysconfdir'), 'xdg/autostart')) +-endif ++ command: ['intltool-merge', '--quiet', '--desktop-style', '--utf8', join_paths(meson.source_root(), 'po'), '@INPUT@', '@OUTPUT@'], ++ install: get_option('autostart'), ++ install_dir: join_paths(get_option('sysconfdir'), 'xdg/autostart')) + + if install_systemd_user_services + configure_file( +diff --git a/src/miners/rss/meson.build b/src/miners/rss/meson.build +index f540befe2..0bf0bb765 100644 +--- a/src/miners/rss/meson.build ++++ b/src/miners/rss/meson.build +@@ -31,13 +31,9 @@ desktop_file_untranslated = configure_file( + desktop_file = custom_target('tracker-miner-rss-desktop-file', + input: desktop_file_untranslated, + output: 'tracker-miner-rss.desktop', +- command: ['intltool-merge', '--quiet', '--desktop-style', '--utf8', join_paths(meson.source_root(), 'po'), '@INPUT@', '@OUTPUT@']) +- +-if get_option('autostart') +- install_data(desktop_file, +- install: true, +- install_dir: join_paths(get_option('sysconfdir'), 'xdg/autostart')) +-endif ++ command: ['intltool-merge', '--quiet', '--desktop-style', '--utf8', join_paths(meson.source_root(), 'po'), '@INPUT@', '@OUTPUT@'], ++ install: get_option('autostart'), ++ install_dir: join_paths(get_option('sysconfdir'), 'xdg/autostart')) + + if install_systemd_user_services + configure_file( +diff --git a/src/tracker-extract/meson.build b/src/tracker-extract/meson.build +index 239907179..aec37bfcc 100644 +--- a/src/tracker-extract/meson.build ++++ b/src/tracker-extract/meson.build +@@ -189,13 +189,9 @@ desktop_file_untranslated = configure_file( + desktop_file = custom_target('tracker-extract-desktop-file', + input: desktop_file_untranslated, + output: 'tracker-extract.desktop', +- command: ['intltool-merge', '--quiet', '--desktop-style', '--utf8', join_paths(meson.source_root(), 'po'), '@INPUT@', '@OUTPUT@']) +- +-if get_option('autostart') +- install_data(desktop_file, +- install: true, +- install_dir: join_paths(get_option('sysconfdir'), 'xdg/autostart')) +-endif ++ command: ['intltool-merge', '--quiet', '--desktop-style', '--utf8', join_paths(meson.source_root(), 'po'), '@INPUT@', '@OUTPUT@'], ++ install: get_option('autostart'), ++ install_dir: join_paths(get_option('sysconfdir'), 'xdg/autostart')) + + if install_systemd_user_services + configure_file( +-- +2.27.0 + diff --git a/app-misc/tracker-miners/tracker-miners-2.3.4.ebuild b/app-misc/tracker-miners/tracker-miners-2.3.4.ebuild new file mode 100644 index 000000000000..4bbd15f12ee0 --- /dev/null +++ b/app-misc/tracker-miners/tracker-miners-2.3.4.ebuild @@ -0,0 +1,154 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{6,7,8} ) + +inherit 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" + +LICENSE="GPL-2+ LGPL-2.1+" +SLOT="0" +IUSE="cue exif ffmpeg gif gsf +gstreamer iptc +iso +jpeg +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 ~ppc ~ppc64 ~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.46:2 + >=app-misc/tracker-2.2.0:= + gstreamer? ( + media-libs/gstreamer:1.0 + media-libs/gst-plugins-base:1.0 + media-plugins/gst-plugins-meta:1.0 ) + !gstreamer? ( + ffmpeg? ( media-video/ffmpeg:0= ) ) + + >=sys-apps/dbus-1.3.1 + xmp? ( >=media-libs/exempi-2.1.0:= ) + raw? ( media-libs/gexiv2 ) + >=dev-libs/icu-4.8.1.2:= + 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? ( virtual/jpeg:0 ) + iso? ( >=sys-libs/libosinfo-0.2.10 ) + >=media-libs/libpng-1.2:0= + seccomp? ( >=sys-libs/libseccomp-2.0 ) + tiff? ( media-libs/tiff:0 ) + xml? ( >=dev-libs/libxml2-2.6 ) + pdf? ( >=app-text/poppler-0.16.0[cairo] ) + playlist? ( >=dev-libs/totem-pl-parser-3:= ) + upower? ( >=sys-power/upower-0.9.0 ) + sys-libs/zlib:0 + gif? ( media-libs/giflib:= ) + + rss? ( >=net-libs/libgrss-0.7:0 ) + app-arch/gzip +" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-util/glib-utils + dev-util/gdbus-codegen + + >=dev-util/intltool-0.40.0 + >=sys-devel/gettext-0.19.8 + virtual/pkgconfig + test? ( ${PYTHON_DEPS} + gstreamer? ( + media-libs/gstreamer:1.0[introspection] + || ( media-plugins/gst-plugins-libav:1.0 + media-plugins/gst-plugins-openh264:1.0 ) + ) ) +" +# intltool-merge manually called in meson.build in 2.2.2; might be properly gone by 2.3 + +pkg_setup() { + use test && python-any-r1_pkg_setup +} + +src_prepare() { + # 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 + xdg_src_prepare + gnome2_environment_reset # sets gstreamer safety variables +} + +src_configure() { + local media_extractor="none" + if use gstreamer ; then + media_extractor="gstreamer" + elif use ffmpeg ; then + media_extractor="libav" + fi + + local emesonargs=( + -Dtracker_core=system + + -Ddocs=true + -Dextract=true + -Dfunctional_tests=false # currently broken, may fare better in 2.2.3 or 2.3; if re-enabled re-add dconf test dep + #$(meson_use test functional_tests) + -Dminer_fs=true + $(meson_use rss miner_rss) + -Dwriteback=true + -Dabiword=true + -Ddvi=true + -Dicon=true + -Dmp3=true + -Dps=true + -Dtext=true + -Dunzip_ps_gz_files=true # spawns gunzip + + $(meson_feature cue) + $(meson_feature exif) + -Dflac=disabled # never use external flac extractor - gst-plugins-flac is for that; ffmpeg one is maybe worse, but that's non-default + $(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) + -Dvorbis=disabled # never use external vorbis extractor - gst-plugins-base[vorbis] is for that; ffmpeg one is maybe worse, but that's non-default + $(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="$(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-miners/tracker-miners-2.3.5.ebuild b/app-misc/tracker-miners/tracker-miners-2.3.5.ebuild new file mode 100644 index 000000000000..a6259ef3ba7e --- /dev/null +++ b/app-misc/tracker-miners/tracker-miners-2.3.5.ebuild @@ -0,0 +1,162 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{6,7,8} ) + +inherit 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" + +LICENSE="GPL-2+ LGPL-2.1+" +SLOT="0" +IUSE="cue exif ffmpeg gif gsf +gstreamer iptc +iso +jpeg +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 ~ppc ~ppc64 ~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.46:2 + >=app-misc/tracker-2.2.0:0= + gstreamer? ( + media-libs/gstreamer:1.0 + media-libs/gst-plugins-base:1.0 + media-plugins/gst-plugins-meta:1.0 ) + !gstreamer? ( + ffmpeg? ( media-video/ffmpeg:0= ) ) + + >=sys-apps/dbus-1.3.1 + xmp? ( >=media-libs/exempi-2.1.0:= ) + raw? ( media-libs/gexiv2 ) + >=dev-libs/icu-4.8.1.2:= + 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? ( virtual/jpeg:0 ) + iso? ( >=sys-libs/libosinfo-0.2.10 ) + >=media-libs/libpng-1.2:0= + seccomp? ( >=sys-libs/libseccomp-2.0 ) + tiff? ( media-libs/tiff:0 ) + xml? ( >=dev-libs/libxml2-2.6 ) + pdf? ( >=app-text/poppler-0.16.0[cairo] ) + playlist? ( >=dev-libs/totem-pl-parser-3:= ) + upower? ( >=sys-power/upower-0.9.0 ) + sys-libs/zlib:0 + gif? ( media-libs/giflib:= ) + + rss? ( >=net-libs/libgrss-0.7:0 ) + app-arch/gzip +" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-util/glib-utils + dev-util/gdbus-codegen + + >=dev-util/intltool-0.40.0 + >=sys-devel/gettext-0.19.8 + virtual/pkgconfig + test? ( ${PYTHON_DEPS} + gstreamer? ( + media-libs/gstreamer:1.0[introspection] + || ( media-plugins/gst-plugins-libav:1.0 + media-plugins/gst-plugins-openh264:1.0 ) + ) ) +" +# intltool-merge manually called in meson.build in 2.3.5; might be properly gone by 3.0 +RDEPEND="${RDEPEND} + !>=app-misc/tracker-miners-2.99 +" # Incompatible revision for (upcoming) parallel-installable tracker-miners-3 due to autostart; a revision that disables autostart and drops the blocker to be added together with v3 + +PATCHES=( + "${FILESDIR}"/${PV}-fix-autostart-build.patch +) + +pkg_setup() { + use test && python-any-r1_pkg_setup +} + +src_prepare() { + # 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 + xdg_src_prepare + gnome2_environment_reset # sets gstreamer safety variables +} + +src_configure() { + local media_extractor="none" + if use gstreamer ; then + media_extractor="gstreamer" + elif use ffmpeg ; then + media_extractor="libav" + fi + + local emesonargs=( + -Dtracker_core=system + + -Ddocs=true + -Dextract=true + -Dfunctional_tests=false # currently broken, may fare better in 2.2.3 or 2.3; if re-enabled re-add dconf test dep + #$(meson_use test functional_tests) + -Dminer_fs=true + $(meson_use rss miner_rss) + -Dwriteback=true + -Dabiword=true + -Ddvi=true + -Dicon=true + -Dmp3=true + -Dps=true + -Dtext=true + -Dunzip_ps_gz_files=true # spawns gunzip + + $(meson_feature cue) + $(meson_feature exif) + -Dflac=disabled # never use external flac extractor - gst-plugins-flac is for that; ffmpeg one is maybe worse, but that's non-default + $(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) + -Dvorbis=disabled # never use external vorbis extractor - gst-plugins-base[vorbis] is for that; ffmpeg one is maybe worse, but that's non-default + $(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 + -Dautostart=true # turn to false to co-exist with tracker-miners-3 + -Dsystemd_user_services="$(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 ff1399807173..b77593710cc2 100644 --- a/app-misc/tracker/Manifest +++ b/app-misc/tracker/Manifest @@ -1,3 +1,5 @@ DIST tracker-2.3.4.tar.xz 1607928 BLAKE2B f0285480091fdac3aab1d258496643b7644f2d58383eb0d7cdd10f273a79e75a36507285db4737bb270dda8cb195482d6f8e2770b24fce13c72dd32325c3976e SHA512 8b8ffc33962a5dffbae83dfb8ea73b0d2ff6ee002fbd9e4b574ef5f8e562338e359caab290ab804f2801a14e04d2c76eb0a52cf06be4d236ea043de4fc39dadf -EBUILD tracker-2.3.4.ebuild 2592 BLAKE2B 2a5c66824cf6405495f2facaf0d8c30eeee6b2d7993fc5ccaf69949fb9c5ff0a4070587932d52a94303707cd7d3d6ceb04196c1bc536a9f510f74204a408159e SHA512 8c23b0ad1c7b7aca2399a6fd84a25d6f03bf507e45253042c5e0958321cd876af3c8359d5f7dc48cc7503b39b31c867a6a182a5d9aba9e262318eac177e4b744 +DIST tracker-2.3.5.tar.xz 1604004 BLAKE2B ad79682cb703056fd927649021a5f37fddb2e978ecc710d020c23ef5dd076f88c7e0c2cd9d4385343e9d6c2c2ac7473af7508d86793c505e2361a8021bf27d50 SHA512 74cd3b2671b811f3267a516e6f6047594fffa7c8a4a23fa5be4f7d71f581c417a88f12f614757418a848077a9231c0c876617d4486f3bb5b103382b871913d34 +EBUILD tracker-2.3.4.ebuild 2620 BLAKE2B 8ccdf4ea140a4ede4a8324a87ef8b026591ebc25f658b24aff751ba4422da3e86e030bc55ecc92878e0d66db384daa5af43a142eee7f1df4aec72ef57f704366 SHA512 26b5717fcf43485257b4b2ad53ccd13585817c59046174325c658499bee412d5fb71e711368562433015f38a6a74cd549de0ac16293639b80977b3d013bbdaf4 +EBUILD tracker-2.3.5.ebuild 2595 BLAKE2B 4b241983c1284eefdc4c7c44749927389959d0b789a970b23d59adccc0ba315d2c0f2b460eb6ac761cdac70a7f0557867da1108605e978780e256c688a868c3e SHA512 11dec80a2cf4c148683ffc6dc6659354d367915d029c83992ef6a694751a24a9b0414ef3125f1369b15932dbc773891dc3b54e1e4bd99a0074035faab6ae391e MISC metadata.xml 497 BLAKE2B 8517491ae43f5a339d49b10ac0acf928e942e69e4ff56d679fefc4ea102c8026f88442d77ab01411c8fa3b13348b590c53dfcfc849750ce488b7254ae6983090 SHA512 2062034fb1b59354a7f1c154ed059c602beba4959a984a3bd3d0abcc7c0b8449186f7c2a44acf325c5bb142bc2dfed3321b0eb25c041dacd121c23cf0281fb96 diff --git a/app-misc/tracker/tracker-2.3.4.ebuild b/app-misc/tracker/tracker-2.3.4.ebuild index cb4efce3cb78..fb616ad99c5d 100644 --- a/app-misc/tracker/tracker-2.3.4.ebuild +++ b/app-misc/tracker/tracker-2.3.4.ebuild @@ -4,6 +4,7 @@ EAPI=7 PYTHON_COMPAT=( python3_{6,7,8} ) VALA_MIN_API_VERSION="0.40" +VALA_MAX_API_VERSION="0.48" inherit bash-completion-r1 gnome.org gnome2-utils linux-info meson python-any-r1 systemd vala xdg diff --git a/app-misc/tracker/tracker-2.3.5.ebuild b/app-misc/tracker/tracker-2.3.5.ebuild new file mode 100644 index 000000000000..c5a3577c1c9e --- /dev/null +++ b/app-misc/tracker/tracker-2.3.5.ebuild @@ -0,0 +1,103 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{6,7,8} ) +VALA_MIN_API_VERSION="0.40" + +inherit bash-completion-r1 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="0/2.0" +IUSE="gtk-doc +miners networkmanager stemmer" + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" +#RESTRICT="!test? ( test )" + +PV_SERIES=$(ver_cut 1-2) + +# In 2.2.0 util-linux should only be necessary if glib is older than 2.52 at compile-time +# But build still needs it - https://gitlab.gnome.org/GNOME/tracker/issues/131 +RDEPEND=" + >=dev-libs/glib-2.46: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.0 + >=net-libs/libsoup-2.40.1:2.4 + >=dev-libs/libxml2-2.7 + >=dev-db/sqlite-3.20.0 + networkmanager? ( >=net-misc/networkmanager-0.8 ) + stemmer? ( dev-libs/snowball-stemmer ) + sys-apps/util-linux +" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-util/glib-utils + $(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 + ${PYTHON_DEPS} +" +PDEPEND="miners? ( >=app-misc/tracker-miners-${PV_SERIES} )" + +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() { + xdg_src_prepare + vala_src_prepare +} + +src_configure() { + local emesonargs=( + $(meson_use gtk-doc docs) + -Dfts=true + -Dfunctional_tests=false # many fail in 2.2; retry with 2.3 + #$(meson_use test functional_tests) + -Dman=true + $(meson_feature networkmanager network_manager) + $(meson_feature stemmer) + -Dunicode_support=icu + -Dbash_completion="$(get_bashcompdir)" + -Dsystemd_user_services="$(systemd_get_userunitdir)" + ) + 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 +} |