diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-01-30 11:49:23 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-01-30 11:49:23 +0000 |
commit | 840a65e2af3f2cc7527e723a28f6e627a9592fb7 (patch) | |
tree | 66e124d9e55317fe43e1af9984e75c156df5cb29 /dev-libs | |
parent | 73e3b099187df1c4f2df056e45f345a56d2535aa (diff) |
gentoo auto-resync : 30:01:2024 - 11:49:23
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/Manifest.gz | bin | 97669 -> 97671 bytes | |||
-rw-r--r-- | dev-libs/boost/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/boost/boost-1.83.0-r2.ebuild | 2 | ||||
-rw-r--r-- | dev-libs/folks/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/folks/files/folks-0.15.6-implicit-decl.patch | 61 | ||||
-rw-r--r-- | dev-libs/folks/folks-0.15.6-r1.ebuild | 102 | ||||
-rw-r--r-- | dev-libs/liberasurecode/Manifest | 3 | ||||
-rw-r--r-- | dev-libs/liberasurecode/files/0001-configure-fix-basic-syntax-errors-in-the-shell-scrip.patch | 109 | ||||
-rw-r--r-- | dev-libs/liberasurecode/liberasurecode-1.6.3.ebuild | 15 | ||||
-rw-r--r-- | dev-libs/libverto/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/libverto/metadata.xml | 1 | ||||
-rw-r--r-- | dev-libs/yaz/Manifest | 7 | ||||
-rw-r--r-- | dev-libs/yaz/files/yaz-3.0.47-icu-automagic.patch | 25 | ||||
-rw-r--r-- | dev-libs/yaz/files/yaz-5.34.0-fix-atoi-header.patch | 54 | ||||
-rw-r--r-- | dev-libs/yaz/files/yaz-5.34.0-fix-libxml2-2.12.patch | 108 | ||||
-rw-r--r-- | dev-libs/yaz/yaz-5.34.0.ebuild (renamed from dev-libs/yaz/yaz-3.0.53.ebuild) | 34 |
16 files changed, 480 insertions, 47 deletions
diff --git a/dev-libs/Manifest.gz b/dev-libs/Manifest.gz Binary files differindex 927277162e18..b9ddaae65162 100644 --- a/dev-libs/Manifest.gz +++ b/dev-libs/Manifest.gz diff --git a/dev-libs/boost/Manifest b/dev-libs/boost/Manifest index 1b4e030489ab..fe65f0733ec3 100644 --- a/dev-libs/boost/Manifest +++ b/dev-libs/boost/Manifest @@ -14,7 +14,7 @@ DIST boost_1_83_0.tar.bz2 122892751 BLAKE2B c4af1713712da82f964fe08451141ea96905 DIST boost_1_84_0.tar.bz2 123110547 BLAKE2B a872ee00402be0383726020f4d13a7df6c2765c52eac2e09aab1604432931d26dd597503f5dcbbf788d7e7528d13c6d1dbfff1e85d22bf92c7828ef74cf2405d SHA512 5dfeb35198bb096e46cf9e131ef0334cb95bc0bf09f343f291b860b112598b3c36111bd8c232439c401a2b2fb832fa0c399a8d5b96afc60bd359dff070154497 EBUILD boost-1.82.0-r1.ebuild 11360 BLAKE2B 0b42b206ee6dd64ea8fbcb48b717f91b4a71cb4365ace331648122b9a2383c9359675333968d85097128187f86538cf445753e84c11e7097ef036713b2d85260 SHA512 7113033d9861a03918f64199b7e8a602f5bdb3e627fd505c82df6cd0e1e5fda27d5822ce59340dc0baee6907525d08b1869af21ee48b8924ae51e37dd598dd74 EBUILD boost-1.83.0-r1.ebuild 11579 BLAKE2B 4dc543767181261fd3777c48524c99e215e354bfd5627a789282b7afbdee7510a9bc01fa3879b785fe9137090b7b9608c5ffa65648eced500dd86a209233cd32 SHA512 d24e18961775931cb8de8875004ba02ec86923ce511e282176c1c15758dac0d20b45300ccd9e9d5a5aff0ae16d618517a2df5c04f3682f588e4c6fd8cc84eab0 -EBUILD boost-1.83.0-r2.ebuild 11627 BLAKE2B 2bc11d9a44247459daf262343d332ce15d3e4f6d1cfd3f613cdc2bc6f9f10c95df0441ed90ad134e3f50a45599c3b65869a94ffd62d481d4494e8f6ac9603286 SHA512 fc246d5b54fa4f08a588608322373fa2f3895ff74f4cbe2dbc02b8841fc2296cfb8534d5ba07bf889ec37abdb634faf40f52fd07364d561d7580c76921189119 +EBUILD boost-1.83.0-r2.ebuild 11626 BLAKE2B ba832eb880cd34344228eb8045a8365142f7df84e7e646088889424483541f873809aad972b32115ac0fe141ca713cb681a970c19dd22d15a6a33060dbac5e89 SHA512 14b19690dbd1647552347bf3ab9a645aa789d2a948ab46f492d993b4efeb37cf3213d1c712f8be9955cf2ab9ce0abe0819482382a03e51392e54eaac0a1cb1ee EBUILD boost-1.83.0-r3.ebuild 11672 BLAKE2B b7a30aa91c971072ef7e8a95c384a865aeedbbe7fedc1d7f7a3fefca8fccccf5be6b56d68de7fc75a639279eb83c752b6c828e9ba98b4d27fffe7f62124efa08 SHA512 0e7006907408ecb70e8331883331c6d75a2676e5b2298af4b1eda29dccc76b38ecb1e307a1168deac258e5761a4df37ef775ca5be994d9c4b48739377206ebcf EBUILD boost-1.84.0-r3.ebuild 11414 BLAKE2B 9314b22910ee32cca85ca378e4578fe840172e34ce599e1cae0ec00abf1aa491bd5f171ab55a48071babec10f9968111ffc90b923902b9e63dbc876cf4c3618a SHA512 f0cfee0825d8b8b8aa3ef9180040efc334aeb05662111f2ffc248dfe37f706bb72fcb135963b837a41721663cd0b4bc0eaa2f63f8f3570311bd339316fddcf9b MISC metadata.xml 9162 BLAKE2B c8df087c7fe1e4af3a59f21763777d3f1318aebcd524e077b6a93c374e0910ff31b1e73b8b4908130d63c2bb7d060348602cffd215648f09afd8015c782e2340 SHA512 3c45d74e046e0fd09f152fcfa7af942c9097e3ed91a0915a2541caad14a8b94b9faceccdbc74bf8aa7c8f7b383db7e91e09babba9c2c28fd7855a7b809616839 diff --git a/dev-libs/boost/boost-1.83.0-r2.ebuild b/dev-libs/boost/boost-1.83.0-r2.ebuild index 4e6628840892..17311aed454c 100644 --- a/dev-libs/boost/boost-1.83.0-r2.ebuild +++ b/dev-libs/boost/boost-1.83.0-r2.ebuild @@ -22,7 +22,7 @@ S="${WORKDIR}/${PN}_${MY_PV}" LICENSE="Boost-1.0" SLOT="0/${PV}" # ${PV} instead of the major version due to bug 486122 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" IUSE="bzip2 +context debug doc icu lzma +nls mpi numpy python +stacktrace tools zlib zstd" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" # the tests will never fail because these are not intended as sanity diff --git a/dev-libs/folks/Manifest b/dev-libs/folks/Manifest index 5ef46b78833a..a11a7bc48dd6 100644 --- a/dev-libs/folks/Manifest +++ b/dev-libs/folks/Manifest @@ -1,3 +1,5 @@ +AUX folks-0.15.6-implicit-decl.patch 2355 BLAKE2B a366f9c58f161f3e776e4a91165b9e2847ce1419eb17559c188306a7e5739fd2d9179b4e6b9cbd6efa35eb428c96f17a0b84f95dcb4bbe184e83a555415cb73b SHA512 5770414af17016951bffe1de6099ba0b1b29881a044cc7d41e279c848fa4ffae57d5bdeca254858c2158bd470a09a478080c3645c529fcea81bc09c85119c027 DIST folks-0.15.6.tar.xz 497968 BLAKE2B bb9237fae05a748a18a85d29034e879947c4ffcc1d3dbe7277c8e1f41e6e9c9ec27170e9e7d2ccb6dcc89789d331f7f320648620636e1ee54685906fc67ba4f9 SHA512 8d77c3b4c963d88877798b24da9edd977b3ac4b18568ed75885fa87bf81e0e8f29dc8232352e3fefc0bf2c9bb8ca6cea984d87d946a3892963a158bd4f45dc30 +EBUILD folks-0.15.6-r1.ebuild 2531 BLAKE2B a94e34e46ee987d7f10d59abf552d4e932280ffa2818625dc95ec0cf4f235e0d8751229320de0e72b6173be2c841fa78d843b6b292fcba955561ced229e91a16 SHA512 89483d61ac8bfb0e6c9e062e32b0b4c6a7979cc8fba52979eeba962df3a8a7958ddd1cd753fdc55bc9cb195b4c40f9499d3e530ba31c182a7c751d30ad6e44e3 EBUILD folks-0.15.6.ebuild 2316 BLAKE2B 755a2cc016bc6a4152b49f7fc98bd68203bc0b2278eb6750ab6a9d5022a21607cb2ae4448a8a2540f3a3f5c9928c563156a1e4e46d39abba5bb47022d184b1c6 SHA512 befd3a9ef73778806b1b2d5d072c2a8838a8f88197d9164c28f0305e9dc2456db231304fa465d15446180c62178bdc7c2404ae875d566b0d2813d522db95b957 MISC metadata.xml 502 BLAKE2B 7f53a803053323804b7c28f44e2490e4ffa63a26a2c0fc153850043b2b91e75bcbb817fbaf8b9e3af0e8a0735b60c827c34f13b5a567300c4a97918be4e955c8 SHA512 934fd324cb9d464af7cbfc0c6746071d00f0404d716319ce7e2460a0ddb0e60f60fec211cac8d87cf9d7e70c849744a8d62e7268c7774d677f2e8481a30a3a09 diff --git a/dev-libs/folks/files/folks-0.15.6-implicit-decl.patch b/dev-libs/folks/files/folks-0.15.6-implicit-decl.patch new file mode 100644 index 000000000000..f61d655343e4 --- /dev/null +++ b/dev-libs/folks/files/folks-0.15.6-implicit-decl.patch @@ -0,0 +1,61 @@ +From 127bacf86b7ef639c37dd07afc0bf848c005c3c2 Mon Sep 17 00:00:00 2001 +From: Mohammed Anas <triallax@tutanota.com> +Date: Sun, 14 Jan 2024 03:27:31 +0000 +Subject: [PATCH] build: add missing API declaration -include to dummy and EDS + backends + +In 7a9c8133468c1f8eb7fbb0e68a6a7e061b9452fb, the original +`-include redeclare-internal-api.h` was added for autotools. It is +necessary due to vala internals that require guaranteeing a private +ABI's prototype is available when compiling folks, even though vala +doesn't generate that prototype. + +During the port to meson, this `-include` was dropped. + +Without it, `-Werror=implicit-function-declaration` will cause folks to +fail to compile. Implicit function declarations are a terrible feature +-- they were part of c89, but c99 removed them without a deprecation +because they were too dangerous to use, notable in a language that +doesn't like to remove features even *with* a deprecation. + +For over two decades, compilers have, by default, allowed this invalid C +anyways, on the grounds that it commonly existed, but modern compilers +are finally starting to enforce this. It will become a fatal error by +default in gcc 14, and clang 16. + +Folks got this right all the way back in 2013; it disappeared by +accident. Let's restore it as originally intended. +--- +Upstream: https://gitlab.gnome.org/GNOME/folks/-/merge_requests/68 + + backends/dummy/lib/meson.build | 1 + + backends/eds/lib/meson.build | 1 + + 2 files changed, 2 insertions(+) + +diff --git a/backends/dummy/lib/meson.build b/backends/dummy/lib/meson.build +index 32448f35..eacc0e7a 100644 +--- a/backends/dummy/lib/meson.build ++++ b/backends/dummy/lib/meson.build +@@ -23,6 +23,7 @@ dummy_backendlib_vala_flags = [ + + dummy_backendlib_c_flags = [ + '-include', 'config.h', ++ '-include', 'folks/redeclare-internal-api.h', + '-DBACKEND_NAME="@0@"'.format(dummy_backend_name), + '-DG_LOG_DOMAIN="@0@"'.format(dummy_backend_name), + ] +diff --git a/backends/eds/lib/meson.build b/backends/eds/lib/meson.build +index 3e3db84c..68d803b3 100644 +--- a/backends/eds/lib/meson.build ++++ b/backends/eds/lib/meson.build +@@ -40,6 +40,7 @@ endif + + eds_backendlib_c_flags = [ + '-include', 'config.h', ++ '-include', 'folks/redeclare-internal-api.h', + '-DBACKEND_NAME="@0@"'.format(eds_backend_name), + '-DG_LOG_DOMAIN="@0@"'.format(eds_backend_name), + ] +-- +GitLab + diff --git a/dev-libs/folks/folks-0.15.6-r1.ebuild b/dev-libs/folks/folks-0.15.6-r1.ebuild new file mode 100644 index 000000000000..a01a4476a16d --- /dev/null +++ b/dev-libs/folks/folks-0.15.6-r1.ebuild @@ -0,0 +1,102 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +PYTHON_COMPAT=( python3_{9..11} ) + +inherit gnome.org gnome2-utils meson python-any-r1 vala xdg + +DESCRIPTION="Library for aggregating people from multiple sources" +HOMEPAGE="https://wiki.gnome.org/Projects/Folks https://gitlab.gnome.org/GNOME/folks" + +LICENSE="LGPL-2.1+" +SLOT="0/26" # subslot = libfolks soname version +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x86-linux" + +IUSE="bluetooth eds telepathy test utils" +REQUIRED_USE="bluetooth? ( eds )" +RESTRICT="!test? ( test )" + +DEPEND=" + >=dev-libs/glib-2.58:2 + >=dev-libs/libgee-0.10:0.8[introspection] + >=dev-libs/gobject-introspection-1.54:= + telepathy? ( + >=net-libs/telepathy-glib-0.19.9 + dev-libs/dbus-glib + ) + eds? ( >=gnome-extra/evolution-data-server-3.38:= ) + dev-libs/libxml2:2 + utils? ( sys-libs/readline:0= ) +" +# telepathy-mission-control needed at runtime; it is used by the telepathy +# backend via telepathy-glib's AccountManager binding. +RDEPEND="${DEPEND} + bluetooth? ( >=net-wireless/bluez-5[obex] ) + telepathy? ( net-im/telepathy-mission-control ) +" +BDEPEND=" + ${PYTHON_DEPS} + >=sys-devel/gettext-0.19.8 + virtual/pkgconfig + $(vala_depend) + telepathy? ( net-libs/telepathy-glib[vala] ) + eds? ( gnome-extra/evolution-data-server[vala] ) + test? ( + sys-apps/dbus + bluetooth? ( + $(python_gen_any_dep ' + dev-python/python-dbusmock[${PYTHON_USEDEP}] + ') + ) + ) +" + +PATCHES=( + # implicit function declaration (Modern C porting): + # - https://bugs.gentoo.org/920098 + # - https://gitlab.gnome.org/GNOME/folks/-/merge_requests/68 + "${FILESDIR}"/folks-0.15.6-implicit-decl.patch +) + +python_check_deps() { + if use test && use bluetooth; then + python_has_version "dev-python/python-dbusmock[${PYTHON_USEDEP}]" + fi +} + +src_prepare() { + default + vala_setup + xdg_environment_reset +} + +src_configure() { + local emesonargs=( + $(meson_use bluetooth bluez_backend) + $(meson_use eds eds_backend) + $(meson_use eds ofono_backend) + $(meson_use telepathy telepathy_backend) + -Dzeitgeist=false # last rited package + -Dimport_tool=true + $(meson_use utils inspect_tool) + $(meson_use test tests) + -Dinstalled_tests=false + -Ddocs=false # Needs find_program sedding to specific version; only dev docs, don't bother + ) + meson_src_configure +} + +src_test() { + dbus-run-session meson test -C "${BUILD_DIR}" -t 5 +} + +pkg_postinst() { + xdg_pkg_postinst + gnome2_schemas_update +} + +pkg_postrm() { + xdg_pkg_postrm + gnome2_schemas_update +} diff --git a/dev-libs/liberasurecode/Manifest b/dev-libs/liberasurecode/Manifest index d5e3e51835e6..7e8240f2cb0a 100644 --- a/dev-libs/liberasurecode/Manifest +++ b/dev-libs/liberasurecode/Manifest @@ -1,3 +1,4 @@ +AUX 0001-configure-fix-basic-syntax-errors-in-the-shell-scrip.patch 3954 BLAKE2B 7d9cfa31d4c94f78a63961571be417574e01bf0f5734135f5c67dafd07aa97cd735264bad4bba70b5b9aa91ba05afee706ccf6928eb4a5a00824ef699b4e616b SHA512 7ceb503d63dcd4041db3470c2da582736627b7a2feddaa88e16ee56b39e33bcf3a50b80cc5a9427cafd2f05eeae7f50d945e017d2331e891fa41c145bf0031da DIST liberasurecode-1.6.3.tar.gz 210599 BLAKE2B d0e9ec0a28d99e109d7dd130283bf986d3fb2f2b0960567ca91b1380ce9c2a12eb14dee683cb2f994f5b3b4820b449c65f5b206f123101b4c2ed7f8910a44627 SHA512 d5daa962324ef19fd195cfa842ec375d9dd5e62e3391b4a1cbf49a850b852b18cfc9be929ab18786d6b839139f6260d5cb4c88a0ba440c06b0e54e04ffb1bee1 -EBUILD liberasurecode-1.6.3.ebuild 750 BLAKE2B faaaa9b954c38efadc9cd3eb95ea7a770aef8947f1760dd1753ba8e6e286d2fcac0b70db980b6b1d0fafeacc1eea12db33aef013d7797a4c96cc59745e3ab925 SHA512 5f876e75f682b1ceb7116b00799a71f92aae3cefc55a15d020ae2816ebf6c88f839d341cfd944eee4c9239dac39b374d6d1bc719e1250162c5fd8a634f1c930c +EBUILD liberasurecode-1.6.3.ebuild 1084 BLAKE2B e17273c074440c74491e231b5c4f8c5b5e43ecb5de7fa0a2f35fa72c72a174ff0e8ef5854675dc2f030263df269a617ecd6ac8861f11320697b56d8c94fa4b05 SHA512 1a01cda42028361d2566e2b451691ae64979558a3524f5c19a9e8136bb7f628b79a35c2f0dc4e532dc97397e69927ce96956c2b6188e610d9204fc4f3e87b0c5 MISC metadata.xml 465 BLAKE2B 92e3cc53cbbfcbfc2b99df3a02b64e08076fd6c3f435c4617074f628b17b589d33ca76ace9ec47efd05eae9b1cdfe6205048f92aa286a6eccca2307c58c9e079 SHA512 461b346bd7a354bdfbb1ff45dd578e9b2fa7c4121897db9b5308622a9cd058aba8a9a75281e1c81b51f94ac60caaf0f13d78be3241741c017f25f6d6bb0295cb diff --git a/dev-libs/liberasurecode/files/0001-configure-fix-basic-syntax-errors-in-the-shell-scrip.patch b/dev-libs/liberasurecode/files/0001-configure-fix-basic-syntax-errors-in-the-shell-scrip.patch new file mode 100644 index 000000000000..bd1038803122 --- /dev/null +++ b/dev-libs/liberasurecode/files/0001-configure-fix-basic-syntax-errors-in-the-shell-scrip.patch @@ -0,0 +1,109 @@ +From b9a8a5b0b8249ca63a785f092bdbb0e0402119fb Mon Sep 17 00:00:00 2001 +From: Eli Schwartz <eschwartz93@gmail.com> +Date: Mon, 29 Jan 2024 17:57:06 -0500 +Subject: [PATCH] configure: fix basic syntax errors in the shell script + programming language + +Fixes regression in commit f3a99e81e997cf0d8db47056b36ca2c2e3beee8f +which prevented successfully running on non-bash shells. + +Bash provides the standard `test XXX = YYY` or `[ XXX = YYY ]` +utilities. It also provides the ability to spell the equals sign as a +double equals. This does nothing whatsoever -- it adds no new +functionality to bash, it forbids nothing, it is *literally* an exact +alias. + +It should never be used under any circumstances. All developers must +immediately forget that it exists. Using it is non-portable and does not +work in /bin/sh scripts such as configure scripts, and it results in +dangerous muscle memory when used in bash scripts because it makes +people unthinkingly use the double equals even in /bin/sh scripts. To +add insult to injury, it makes scripts take up more disk space (by a +whole byte! and sometimes even a few bytes...) + +Delete this accidental bashism, and restore the ability to get correct +./configure behavior on systems where /bin/sh is something other than a +symlink to GNU bash. + +Change-Id: I38ee6d19d12cf8702ef394f3ee40f353f749b2c6 +Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> +--- + configure.ac | 20 ++++++++++---------- + 1 file changed, 10 insertions(+), 10 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 16d4dc4..5497a89 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -3,7 +3,7 @@ + ################################################################################ + + AC_PREREQ([2.61]) +-AC_INIT(liberasurecode, [-], ++AC_INIT(liberasurecode, [-], + [tusharsg AT gmail DOT com, kmgreen2 AT gmail DOT com], + [], [https://github.com/openstack/liberasurecode]) + AM_MAINTAINER_MODE([disable]) +@@ -164,42 +164,42 @@ if test x$mmi = xtrue ; then + + SUPPORTED_FLAGS="" + $CC - -E -mmmx </dev/null >/dev/null 2>&1 +- if [[ $? == "0" ]]; then ++ if [[ $? = 0 ]]; then + SUPPORTED_FLAGS="-mmmx" + AC_MSG_RESULT([$CC supports -mmmx]) + fi + $CC - -E -msse </dev/null >/dev/null 2>&1 +- if [[ $? == "0" ]]; then ++ if [[ $? = 0 ]]; then + SUPPORTED_FLAGS="$SUPPORTED_FLAGS -msse" + AC_MSG_RESULT([$CC supports -msse]) + fi + $CC - -E -msse2 </dev/null >/dev/null 2>&1 +- if [[ $? == "0" ]]; then ++ if [[ $? = 0 ]]; then + SUPPORTED_FLAGS="$SUPPORTED_FLAGS -msse2" + AC_MSG_RESULT([$CC supports -msse2]) + fi + $CC - -E -msse3 </dev/null >/dev/null 2>&1 +- if [[ $? == "0" ]]; then ++ if [[ $? = 0 ]]; then + SUPPORTED_FLAGS="$SUPPORTED_FLAGS -msse3" + AC_MSG_RESULT([$CC supports -msse3]) + fi + $CC - -E -mssse3 </dev/null >/dev/null 2>&1 +- if [[ $? == "0" ]]; then ++ if [[ $? = 0 ]]; then + SUPPORTED_FLAGS="$SUPPORTED_FLAGS -mssse3" + AC_MSG_RESULT([$CC supports -mssse3]) + fi + $CC - -E -msse4.1 </dev/null >/dev/null 2>&1 +- if [[ $? == "0" ]]; then ++ if [[ $? = 0 ]]; then + SUPPORTED_FLAGS="$SUPPORTED_FLAGS -msse4.1" + AC_MSG_RESULT([$CC supports -msse4.1]) + fi + $CC - -E -msse4.2 </dev/null >/dev/null 2>&1 +- if [[ $? == "0" ]]; then ++ if [[ $? = 0 ]]; then + SUPPORTED_FLAGS="$SUPPORTED_FLAGS -msse4.2" + AC_MSG_RESULT([$CC supports -msse4.2]) + fi + $CC - -E -mavx </dev/null >/dev/null 2>&1 +- if [[ $? == "0" ]]; then ++ if [[ $? = 0 ]]; then + SUPPORTED_FLAGS="$SUPPORTED_FLAGS -mavx" + AC_MSG_RESULT([$CC supports -mavx]) + fi +@@ -227,7 +227,7 @@ if test x$mmi = xtrue ; then + CFLAGS="$CFLAGS $SIMD_FLAGS" + fi + +-# Certain code may be dependent on 32 vs. 64-bit arch, so add a ++# Certain code may be dependent on 32 vs. 64-bit arch, so add a + # flag for 64-bit + AC_CHECK_SIZEOF([long]) + if test "$ac_cv_sizeof_long" -eq 8; then +-- +2.43.0 + diff --git a/dev-libs/liberasurecode/liberasurecode-1.6.3.ebuild b/dev-libs/liberasurecode/liberasurecode-1.6.3.ebuild index 748ec14f9738..f600ce77a6a5 100644 --- a/dev-libs/liberasurecode/liberasurecode-1.6.3.ebuild +++ b/dev-libs/liberasurecode/liberasurecode-1.6.3.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit autotools +inherit autotools flag-o-matic DESCRIPTION="Erasure Code API library written in C with pluggable Erasure Code backends" HOMEPAGE="https://bitbucket.org/tsg-/liberasurecode/overview" @@ -16,12 +16,23 @@ IUSE="doc static-libs" DEPEND="doc? ( app-text/doxygen )" +PATCHES=( + # bashism in configure.ac + # Patch submitted upstream as https://review.opendev.org/c/openstack/liberasurecode/+/907156 + "${FILESDIR}"/0001-configure-fix-basic-syntax-errors-in-the-shell-scrip.patch +) + src_prepare() { - eapply_user + default eautoreconf } src_configure() { + + # fails with -Werror=lto-type-mismatch + # https://bugs.launchpad.net/liberasurecode/+bug/2051613 + filter-lto + econf \ --htmldir=/usr/share/doc/${PF} \ --disable-werror \ diff --git a/dev-libs/libverto/Manifest b/dev-libs/libverto/Manifest index 554899a044ce..fd42412db809 100644 --- a/dev-libs/libverto/Manifest +++ b/dev-libs/libverto/Manifest @@ -2,4 +2,4 @@ AUX libverto-0.3.1-non-bash.patch 5519 BLAKE2B a829048133f79a2eb954bba3f094233f1 AUX libverto-0.3.2-non-bash.patch 4444 BLAKE2B 43480f36158a6ff59ab3d1dc23752c2696ce488c746568f52aa0627aab3a3e298e549ed51221c2244d0ed473bc551527f0239637648424285f32f2fd7ffb5966 SHA512 7bfc23b48089b8362d8336b0dd3ac4903626c76ea3cfff02a30775d4b91eeddb31d34f125e60d2f8247e69132dbaac12041cd8ba21ae4bb733b32e10bf4b54b2 DIST libverto-0.3.2.tar.gz 383181 BLAKE2B 76d43397ecd6b7839be2a588c5b668eb6657138e48b786cde6fd82bb33aa071ce5f9efa19f06765d868033fa2ef4a03cf6d43bcd087c431909d2ca17562a5a48 SHA512 342f20f83b8f674230fefba013505e1339dab0022e5e232c39d6763e4307088fa290b5a8e83f588e97142f5c4d190b1430288750e45f37a5fe4174d84ef85fc1 EBUILD libverto-0.3.2.ebuild 1133 BLAKE2B f5c979c879b728dda4367f49e563905facedc76f0a1fc9ce35146e86fd4f17fb6777e2e0f8aafa6be830cb27c497568933a74116390ce294702f82ad05693546 SHA512 5f99d97989a343dde31c77a2542d56d44e3e98730b46c0d3182e3a6d11f3ff3b51fe9f808f5e52855f56c7a73111b8ec16308b451429b42e1d7975ad011b6e36 -MISC metadata.xml 1163 BLAKE2B a1d9d64eebcd572fc704feb6cd0e390f5515fbd2bfb18aeca3fbfd31764f89ee78fc82f663b710d48274dd2d619ff4a365b05b9fc99968cafe7c7d5dfc099286 SHA512 9d7a5755e7bd62363a29a090dd0b589d40d0aaafa8423bbe537a63f4cb791656ef1d19c541e2059419984450f1c37b970f7012bf8b2d72ec73b45d96ad6ab1c6 +MISC metadata.xml 1079 BLAKE2B c08a25bc20ab1e2b6f1b3d86355bc50ce783263d7a907cc89947c2857b930ff1e02b9929a37ac4ae7187b59888b4a28d996dbe73554adb2cb6adccd80ed3920e SHA512 5b803de06ab662040a673ede8f80ccdc308367bbc97089b8e3d140f8b963c61b82b43b6125f7db759a863d5f79148cb39d44f6baf386d78fe0b5e11e89b4169f diff --git a/dev-libs/libverto/metadata.xml b/dev-libs/libverto/metadata.xml index 53b04b18b748..a8ac1e8d61f8 100644 --- a/dev-libs/libverto/metadata.xml +++ b/dev-libs/libverto/metadata.xml @@ -13,6 +13,5 @@ <flag name="glib">Support event loops using <pkg>dev-libs/glib</pkg></flag> <flag name="libev">Support event loops using <pkg>dev-libs/libev</pkg></flag> <flag name="libevent">Support event loops using <pkg>dev-libs/libevent</pkg></flag> - <flag name="tevent">Support event loops using <pkg>sys-libs/tevent</pkg></flag> </use> </pkgmetadata> diff --git a/dev-libs/yaz/Manifest b/dev-libs/yaz/Manifest index 025edfc2b144..06b63c635cdc 100644 --- a/dev-libs/yaz/Manifest +++ b/dev-libs/yaz/Manifest @@ -1,6 +1,7 @@ -AUX yaz-3.0.47-icu-automagic.patch 804 BLAKE2B 37016fbe77f2f611f4118ee5995b6f9050cc6e47bd8546bf8b681084a6844b888e084d567f943b5734a0c33cd12918ae5cec5c6b7ab19dc169d8e9950792cb1d SHA512 b0b38a85342045ef68e0b866a6f15f30605e246c7f795402238e68e70aec26ad7b985257879cbba2698d6f0c40a8373b522dd7fbea9253dbd6d2ceed2a0d4dcf -DIST yaz-3.0.53.tar.gz 2164681 BLAKE2B e42a97d63e031f14234258c7c44735a615ebc83774c1532d7e1b50f1f231dc933168e41a1b35a139ec193e694f6253336a666daad627a4aae9a0c7ffe34ca360 SHA512 537d54757e401c1b29ad2120209b2cd038f26ff7f43ffc3c1e22808e12a1580aedee3880478e951fd4b3057ca9af4a34afa2a64c0b8ffcbec24f76deb83ddc89 +AUX yaz-5.34.0-fix-atoi-header.patch 1288 BLAKE2B 2ca0a3045ea5f15ecb90bdf277c02732f7d40ebc109a5af8dcd801b2c7419cf463c78cdb5d1788fd320bed1cb2e773f48f9cf9ee5fde50b004483704866ce898 SHA512 948a0d715422edb35bd9a6dd9c953769362c83b9f251bb615f8423fd65142ebe4cffef21b13d8f4b815b57d6d4534116a40a4941f1c446aee0af23beadba1ed6 +AUX yaz-5.34.0-fix-libxml2-2.12.patch 2284 BLAKE2B 6d0b9ed696570ce3cf4d2cdf032646ba5e2be3f74ef8659507831e8a787f62f0a613971a2c7a0827df78832f90f3b66e52a7a6db254d6269b3df3ea3ac804963 SHA512 4301be54f021e056786a7fa01db02b3cc0c902d0411bdb02e3c79b2ca2c2c0fa1c2862259c7eae886c0803ad61b439539363efc2a701bc7a99d2050ff9b0621e DIST yaz-5.32.0.tar.gz 2607933 BLAKE2B 9119b77a262ef2d6f0b1140425384575218a5b93cbe50a716bb254b07e2427eaad55de3c4590d0d6843af31b987b201fa733fdf010e463648a35b5600d055d5a SHA512 a4d40b5c20b1d4acab0e687235eda361fe0550c00396f6aa26d1965d2ecdd217433ba65160eda07fcc4c263d9e2e47b607e4b668412f81123b2904b9deece763 -EBUILD yaz-3.0.53.ebuild 1535 BLAKE2B d5450a2a4966e8a3fce716699a758c78cf0513edc063f6405dec1dc5cca56b46c7184c21b4574d28b501662580d12d3a5a9c64073ea08a8033dda246a9b8c755 SHA512 d9426db75f171481a1ebda3d9d35847b72040bd1db9905c75308f921c2775af7d40118fb7ab1580265d43982674b698d80f7e0efa2b6607abaee9282738207ec +DIST yaz-5.34.0.tar.gz 2656382 BLAKE2B 7a16974dc815c1121aaea4179843a6982600a0491c8c95a03f28cf0c68725b986ebc39049e2159cd0d105b23811d35ae3d3538a83e945b64951cc9215efe7f3d SHA512 0c835b98b4640e077459c9ead8043cea941a75f39dace9501efbb56c38837b1525349b8668c135ac0753ba7a4803e38d9c90d7bf3f6f2951c0e7e863b4c51f65 EBUILD yaz-5.32.0.ebuild 1514 BLAKE2B d4d13982df3dd4a79f12b183051d94ea3f2b2f67096132c93a5eaa171922b876d1e9054230836f6c7e5b4e06e2b6e39bd1910489a6eec57631f50114920f6400 SHA512 9f3c71cd2d95e7ad0719d07f1eac9932621805b7c26e5072e48c26dc94239665f8bab0bb93bed3c27b62b772f8562568f7d9c3f3484b6f92a2e4a8bcd7a655e9 +EBUILD yaz-5.34.0.ebuild 1758 BLAKE2B 9fbefdd2fc248de5b5cf3e36cc5d70638e0ef39d7bdfbb95ddff0a120b124a7fcb251e6f1f59b4db4decd5b2bb8e9688f233fc70bcf43f2c6563efe44898c60d SHA512 d2943d654d2d69d36ff8ce1a810f3c346aa75f4754106f467db667e382fbafe5f48c7add3282787f1df3663c0f1c98155c40b541962be3237b808f12cfad4d86 MISC metadata.xml 347 BLAKE2B 19555e3c2c7609fe2af5c064fbfe51a27dd44a512a33b53d8968e1a5824da8cb39df6b0507a6cef8364275b7f78abfef25f929139a7662efc841364917c81dc1 SHA512 7239ce6a2a684a53a4e1769e08bc86650798c772e2b95da476e96f189646a5fd8bf4d46d655eb9c3796a7784efd20ed64d4ef3daf287772518ba8f91a4c6719b diff --git a/dev-libs/yaz/files/yaz-3.0.47-icu-automagic.patch b/dev-libs/yaz/files/yaz-3.0.47-icu-automagic.patch deleted file mode 100644 index dd78635e013e..000000000000 --- a/dev-libs/yaz/files/yaz-3.0.47-icu-automagic.patch +++ /dev/null @@ -1,25 +0,0 @@ ---- a/configure.ac -+++ b/configure.ac -@@ -367,14 +367,14 @@ - - dnl - dnl --AC_CHECK_ICU([3.4],[ -- if test "$xml_enabled" = "true"; then -- ICU_CPPFLAGS="$ICU_CPPFLAGS -D YAZ_HAVE_ICU=1" -- else -- ICU_CPPFLAGS="" -- AC_MSG_WARN([ICU support disabled because XML support is unavailable]) -- fi --]) -+dnl ------ ICU -+AC_ARG_ENABLE(icu, [ --enable-icu enable ICU support],[enable_icu=$enableval],[enable_icu=no]) -+if test "$enable_icu" = "yes"; then -+ AC_CHECK_ICU([3.4],[ -+ ICU_CPPFLAGS="$ICU_CPPFLAGS -D YAZ_HAVE_ICU=1"],[ -+ AC_MSG_ERROR([For ICU support please install libicu34-dev or similar]) -+ ]) -+fi - dnl - dnl ------ Memory debugging - AC_ARG_ENABLE([memdebug],[ --enable-memdebug enable memory debugging],[enable_memdebug=$enableval],[enable_memdebug=none]) diff --git a/dev-libs/yaz/files/yaz-5.34.0-fix-atoi-header.patch b/dev-libs/yaz/files/yaz-5.34.0-fix-atoi-header.patch new file mode 100644 index 000000000000..c68b85c7017e --- /dev/null +++ b/dev-libs/yaz/files/yaz-5.34.0-fix-atoi-header.patch @@ -0,0 +1,54 @@ +https://bugs.gentoo.org/923291 +https://github.com/indexdata/yaz/issues/104 +https://github.com/indexdata/yaz/pull/105 + +From 3c61afce2c2517369c2bf1ba6846ff17f81c4b18 Mon Sep 17 00:00:00 2001 +From: Mamoru TASAKA <mtasaka@fedoraproject.org> +Date: Tue, 21 Nov 2023 23:47:18 +0900 +Subject: [PATCH] FIX: fix build error with glibc 2.39 + +glibc 2.39 does some refactoring for header file inclusion +and some additional header inclusion is needed for yaz +source. + +Closes #104 . +--- a/src/record_conv.c ++++ b/src/record_conv.c +@@ -11,6 +11,7 @@ + #include <config.h> + #endif + ++#include <stdlib.h> + #include <string.h> + #include <yaz/log.h> + #include <yaz/yaz-iconv.h> +--- a/src/xmlquery.c ++++ b/src/xmlquery.c +@@ -10,6 +10,7 @@ + #endif + + #include <stdio.h> ++#include <stdlib.h> + #include <string.h> + #include <assert.h> + +--- a/test/test_record_conv.c ++++ b/test/test_record_conv.c +@@ -9,6 +9,7 @@ + #include <yaz/record_conv.h> + #include <yaz/test.h> + #include <yaz/wrbuf.h> ++#include <stdlib.h> + #include <string.h> + #include <yaz/log.h> + #include <yaz/proto.h> +--- a/test/test_retrieval.c ++++ b/test/test_retrieval.c +@@ -9,6 +9,7 @@ + #include <yaz/retrieval.h> + #include <yaz/test.h> + #include <yaz/wrbuf.h> ++#include <stdlib.h> + #include <string.h> + #include <yaz/log.h> + #include <yaz/oid_db.h> diff --git a/dev-libs/yaz/files/yaz-5.34.0-fix-libxml2-2.12.patch b/dev-libs/yaz/files/yaz-5.34.0-fix-libxml2-2.12.patch new file mode 100644 index 000000000000..379d15e4ab2d --- /dev/null +++ b/dev-libs/yaz/files/yaz-5.34.0-fix-libxml2-2.12.patch @@ -0,0 +1,108 @@ +https://bugs.gentoo.org/917537 +https://github.com/indexdata/yaz/issues/102 +https://github.com/indexdata/yaz/pull/103 + +From b10643c42ea64b1ee09fe53aec2490129f903bcb Mon Sep 17 00:00:00 2001 +From: Mamoru TASAKA <mtasaka@fedoraproject.org> +Date: Tue, 21 Nov 2023 23:39:48 +0900 +Subject: [PATCH] FIX: fix build error with libxml2 2.12.0 + +libxml2 2.12.0 changed which header file to define functions +and header inclusion. Due to this refactoring, some yaz source +files need additional inclusion of libxml2 header file, +especially for libxml/parser.h . + +Closes #102 . +--- a/client/client.c ++++ b/client/client.c +@@ -73,6 +73,10 @@ + #include <readline/history.h> + #endif + ++#if YAZ_HAVE_XML2 ++#include <libxml/parser.h> ++#endif ++ + + #include "admin.h" + #include "tabcomplete.h" +--- a/src/record_render.c ++++ b/src/record_render.c +@@ -23,6 +23,7 @@ + #include <yaz/base64.h> + + #if YAZ_HAVE_XML2 ++#include <libxml/parser.h> + #include <libxml/xpath.h> + #include <libxml/xpathInternals.h> + #endif +--- a/test/test_ccl.c ++++ b/test/test_ccl.c +@@ -11,6 +11,9 @@ + #include <yaz/log.h> + #include <yaz/test.h> + ++#if YAZ_HAVE_XML2 ++#include <libxml/parser.h> ++#endif + + static int tst_ccl_query(CCL_bibset bibset, + const char *query, +--- a/test/test_icu.c ++++ b/test/test_icu.c +@@ -28,6 +28,7 @@ + #endif + + #if YAZ_HAVE_XML2 ++#include <libxml/parser.h> + #include <libxml/xmlmemory.h> + #endif + +--- a/test/test_xml_include.c ++++ b/test/test_xml_include.c +@@ -12,6 +12,9 @@ + + #include <yaz/xml_include.h> + #include <yaz/test.h> ++#if YAZ_HAVE_XML2 ++#include <libxml/parser.h> ++#endif + + static void tst_xml_include1(void) + { +--- a/util/cclsh.c ++++ b/util/cclsh.c +@@ -20,6 +20,9 @@ + #include <readline/history.h> + #endif + ++#if YAZ_HAVE_XML2 ++#include <libxml/parser.h> ++#endif + + static int debug = 0; + static char *prog; +--- a/util/yaz-icu.c ++++ b/util/yaz-icu.c +@@ -17,6 +17,8 @@ + + #if YAZ_HAVE_ICU + ++#include <libxml/parser.h> ++ + #include <unicode/ucnv.h> + #include <unicode/ustring.h> + #include <unicode/ucol.h> +--- a/util/yaz-record-conv.c ++++ b/util/yaz-record-conv.c +@@ -13,6 +13,10 @@ + #include <yaz/record_conv.h> + #include <yaz/backtrace.h> + ++#if YAZ_HAVE_XML2 ++#include <libxml/parser.h> ++#endif ++ + const char *prog = "yaz-record-conv"; + + static void usage(void) diff --git a/dev-libs/yaz/yaz-3.0.53.ebuild b/dev-libs/yaz/yaz-5.34.0.ebuild index 1425841a824e..c625bf890ffe 100644 --- a/dev-libs/yaz/yaz-3.0.53.ebuild +++ b/dev-libs/yaz/yaz-5.34.0.ebuild @@ -1,20 +1,27 @@ # Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit autotools DESCRIPTION="C/C++ toolkit for Z39.50v3 clients and servers" HOMEPAGE="https://www.indexdata.com/resources/software/yaz/" -SRC_URI="https://ftp.indexdata.com/pub/${PN}/${P}.tar.gz" + +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/indexdata/yaz.git" +else + SRC_URI="https://ftp.indexdata.com/pub/${PN}/${P}.tar.gz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" +fi LICENSE="BSD GPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~s390 ~sparc x86" -IUSE="debug icu gnutls tcpd ziffy" +SLOT="0/5" +IUSE="gnutls tcpd ziffy" RDEPEND=" + dev-libs/icu:= dev-libs/libxml2 dev-libs/libxslt sys-libs/readline:= @@ -22,7 +29,6 @@ RDEPEND=" virtual/libintl !gnutls? ( dev-libs/openssl:0= ) gnutls? ( net-libs/gnutls:= ) - icu? ( dev-libs/icu:= ) tcpd? ( sys-apps/tcp-wrappers ) ziffy? ( net-libs/libpcap ) " @@ -35,21 +41,23 @@ BDEPEND=" " PATCHES=( - "${FILESDIR}"/${PN}-3.0.47-icu-automagic.patch + "${FILESDIR}"/yaz-5.34.0-fix-atoi-header.patch + "${FILESDIR}"/yaz-5.34.0-fix-libxml2-2.12.patch ) src_prepare() { default - AT_M4DIR="m4" eautoreconf + + # Hardcoded assumption of libraries residing in lib/, bug #730016 + sed -i -e "s|/lib\"|/$(get_libdir)\"|" configure.ac || die + + eautoreconf } src_configure() { econf \ - --enable-static \ --enable-shared \ - $(use_enable debug memdebug) \ $(use_with gnutls) \ - $(use_enable icu) \ $(use_enable tcpd tcpd /usr) } @@ -57,10 +65,12 @@ src_install() { local docdir="/usr/share/doc/${PF}" emake DESTDIR="${D}" docdir="${EPREFIX}/${docdir}" install + find "${D}" -name '*.la' -delete || die + dodir "${docdir}"/html mv -f "${ED}"/${docdir}/*.{html,png} "${ED}"/${docdir}/html/ || die "Failed to move HTML docs" mv -f "${ED}"/usr/share/doc/${PN}/common "${ED}"/${docdir}/html/ || die "Failed to move HTML docs" rm -rf "${ED}"/usr/share/doc/${PN} || die - dodoc ChangeLog NEWS README + dodoc ChangeLog NEWS } |