From a3bb28551df94028000fb72308a9e9baa01458b0 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 3 Jun 2024 00:07:26 +0100 Subject: gentoo auto-resync : 03:06:2024 - 00:07:25 --- dev-libs/Manifest.gz | Bin 98550 -> 98538 bytes dev-libs/capstone/Manifest | 9 +- dev-libs/capstone/capstone-4.0.2-r2.ebuild | 84 ---------------- dev-libs/capstone/capstone-5.0.1.ebuild | 6 +- dev-libs/capstone/capstone-9999.ebuild | 14 ++- .../capstone/files/capstone-4.0.2-libsuffix.patch | 12 --- dev-libs/capstone/files/capstone-9999-werror.patch | 14 +-- dev-libs/libliftoff/Manifest | 6 +- dev-libs/libliftoff/libliftoff-0.3.0.ebuild | 20 ---- dev-libs/libliftoff/libliftoff-0.5.0.ebuild | 20 ++++ dev-libs/libliftoff/metadata.xml | 3 + dev-libs/liblouis/Manifest | 2 + dev-libs/liblouis/liblouis-3.29.0.ebuild | 106 +++++++++++++++++++ dev-libs/libratbag/Manifest | 9 +- .../files/libratbag-0.16-musl-error.h.patch | 69 ------------- .../files/libratbag-0.17-python3.12-imp.patch | 38 +++++++ dev-libs/libratbag/libratbag-0.15.ebuild | 101 ------------------- dev-libs/libratbag/libratbag-0.16.ebuild | 105 ------------------- dev-libs/libratbag/libratbag-0.17-r2.ebuild | 112 +++++++++++++++++++++ dev-libs/libratbag/libratbag-9999.ebuild | 2 +- dev-libs/libsodium/Manifest | 11 +- .../files/libsodium-1.0.10-cpuflags.patch | 40 -------- .../libsodium/libsodium-1.0.18_p20220618.ebuild | 74 -------------- dev-libs/libsodium/libsodium-1.0.19-r1.ebuild | 74 -------------- dev-libs/libsodium/libsodium-1.0.19-r2.ebuild | 73 -------------- dev-libs/libsodium/libsodium-1.0.20.ebuild | 76 ++++++++++++++ dev-libs/mimalloc/Manifest | 2 + dev-libs/mimalloc/mimalloc-2.1.7.ebuild | 32 ++++++ 28 files changed, 425 insertions(+), 689 deletions(-) delete mode 100644 dev-libs/capstone/capstone-4.0.2-r2.ebuild delete mode 100644 dev-libs/capstone/files/capstone-4.0.2-libsuffix.patch delete mode 100644 dev-libs/libliftoff/libliftoff-0.3.0.ebuild create mode 100644 dev-libs/libliftoff/libliftoff-0.5.0.ebuild create mode 100644 dev-libs/liblouis/liblouis-3.29.0.ebuild delete mode 100644 dev-libs/libratbag/files/libratbag-0.16-musl-error.h.patch create mode 100644 dev-libs/libratbag/files/libratbag-0.17-python3.12-imp.patch delete mode 100644 dev-libs/libratbag/libratbag-0.15.ebuild delete mode 100644 dev-libs/libratbag/libratbag-0.16.ebuild create mode 100644 dev-libs/libratbag/libratbag-0.17-r2.ebuild delete mode 100644 dev-libs/libsodium/files/libsodium-1.0.10-cpuflags.patch delete mode 100644 dev-libs/libsodium/libsodium-1.0.18_p20220618.ebuild delete mode 100644 dev-libs/libsodium/libsodium-1.0.19-r1.ebuild delete mode 100644 dev-libs/libsodium/libsodium-1.0.19-r2.ebuild create mode 100644 dev-libs/libsodium/libsodium-1.0.20.ebuild create mode 100644 dev-libs/mimalloc/mimalloc-2.1.7.ebuild (limited to 'dev-libs') diff --git a/dev-libs/Manifest.gz b/dev-libs/Manifest.gz index 3a24871d79ab..2a0434d40356 100644 Binary files a/dev-libs/Manifest.gz and b/dev-libs/Manifest.gz differ diff --git a/dev-libs/capstone/Manifest b/dev-libs/capstone/Manifest index cc925d39276e..dc791ad7a6f5 100644 --- a/dev-libs/capstone/Manifest +++ b/dev-libs/capstone/Manifest @@ -1,8 +1,5 @@ -AUX capstone-4.0.2-libsuffix.patch 347 BLAKE2B 5478a08d072cff0873c3410ce99dcf20c7aa12594148102498c7d0ed3216af95712f0daef5e9484d1faf368b93b2b014832ead5466d60d139e9ed7bb2bd1ed02 SHA512 81ffee2dc4a406e980025402dc3f8bee886cba9f305312e03c735d4b47e69887e90240274ae1949ff9900ba2a66413d33e7ef7a9ebb83a3dc9d2769f3d008395 -AUX capstone-9999-werror.patch 533 BLAKE2B ec2589edaf25bcf551cc3b3321fd77109551270da3fbac1c0457031b14aa9bd85dff06440e219e0db22017898d7f2e779e11f63fdcc7e7112baee040393ca1f4 SHA512 c98e83e296147d4520b5323393347739b07e93ef00a339154de131a31c4eba420a6387c23a4f9382408fa9dc243b55a262f73a48412da6bc7d7d1b31cfb19f11 -DIST capstone-4.0.2.tar.gz 3439542 BLAKE2B 435729a8fef2dce6495635352101b3befe563c8404efdbb0dccabecbe2bded332221665bacdbcd9043dda72b652b6f29c0e1a548cefb8c64d5b6b9dc174ed3d9 SHA512 7f93534517307b737422a8825b66b2a1f3e1cca2049465d60ab12595940154aaf843ba40ed348fce58de58b990c19a0caef289060eb72898cb008a88c470970e +AUX capstone-9999-werror.patch 791 BLAKE2B f8456764a5af797eb0c5ad9460a44c7621e96d0a673450ed7c529b9ba73d90ebd3221aefaee95f210e65c900471aebdc82e6224f9b0ed24d4b855e28b4042ece SHA512 708908bd93f6fad559075414ccd6449fa285afe18d92c377fffaddf475755249fda9cd66e5504379976f350beaf934e5cdd37e8697ff00cc24532372caed15f9 DIST capstone-5.0.1.tar.gz 7654195 BLAKE2B 83f6681d4c9c748df00daf59f7b33637ab72eee661261c22acae40a6db2def70bb6b5339d731244fdbae6f1e1b0b5b22bb6f60c1390a1bebceb97b3f810aedb0 SHA512 350aba77ce2d96b5c25764913591ba80e4497177ae0a8b2c820c6755ee8310848fbfc54e7ccac27fafc2dbc6778118ad92c53d1b5cb601d4fa146dec7d7e11e5 -EBUILD capstone-4.0.2-r2.ebuild 1536 BLAKE2B ff48fcc776ee396d790f6c1a52a9059fc1db4650b1f73ef5b2de2caa0ed51c662ffef2d53c0008d7a3abb5261dd7ae22fbc0f214882b33e674ab7e64c2929831 SHA512 6b5913274cf1d6c9d6deb0972a2e2d3532b81e52acc88191560effa22bfc8df3374d09ea2ffa5f6ca804c292e671d523793dd937c7e658fe03cbc53ff331f3f7 -EBUILD capstone-5.0.1.ebuild 1772 BLAKE2B f76ea315ba0d0f008d73b41aba175fefb2c97c7bd2b59a5f7d1239d04a925d558cd443a2bc52a18f64d9fb960d6fd6430db0b8a3ae7a9a48eac604a6be46d048 SHA512 a5c49ebf8c4794bac61d2125711cf6f746e8ceab4e8df7b4ab6277a07c759f8d956e87de395b02fc7a4c93f9943d67d6a2b15eabf73c2625a66df45d5f406137 -EBUILD capstone-9999.ebuild 2011 BLAKE2B ba99ea124dc4bde09972d93f5f13878eb79efba8faec9fe0be830a4b925257bdcba3776d5eedf7675c5788438935993e05e987c4c4e22cf74a43e793cbd809ca SHA512 0f43f3a9a17bf0b20aedaa6373c774ec15b551e6641b311857c3d7fba83cc2f0a7c2e04c3f7eb48ff85a95343fa53ef6ce22e8f850a86db484f93d637a9130cc +EBUILD capstone-5.0.1.ebuild 1799 BLAKE2B 1cf12fc111a83bf589f9f0d29a8eefe3a35bebaba45a6657e05a3a62373046e0a0a8525b7af77c47c397bacafbc92ba92eed4f8976e71362ab62616b28af2134 SHA512 9c591b8383f45d3a7d9cd64f66977f6b7b86fd869028745a422f061cf8844849106f3682c982f1a6b11f93482b33774c779cf06e22a1ca3ac5714592dffdd344 +EBUILD capstone-9999.ebuild 2043 BLAKE2B 1f3402a4ec5367ee7a345a67bbf904dbe90caee87c9a877f52ac736844ee182c9af81c0d4eb80c94f3f17cb45a43bb92988d662a34ea313a57f0159d6fc14f64 SHA512 b74f47af67c46a46bc2aae10bc64049e7875f81205cdf8f5b4d3a962fefd8823d76841e25df2ff93be3001448db3606385a59daf1efa97179767fc4d34504e3c MISC metadata.xml 484 BLAKE2B 32c39bf06443ce4ca18191a4c9626cf517d5bd4f837c179e6186a68a0053217bf41d61d2c4d46c9792b1974879d22b36e4a02fa461a1b085acf5c4406bde4891 SHA512 f06dcd3133982f72cf21c5bb3d9a34207d7083233b5e70856f6a1dab60ef361cf1432659af30ea6b90fcb38cfdaec49f0792623ef841e136bc33cb5e1c40d1cf diff --git a/dev-libs/capstone/capstone-4.0.2-r2.ebuild b/dev-libs/capstone/capstone-4.0.2-r2.ebuild deleted file mode 100644 index 579ef58d9929..000000000000 --- a/dev-libs/capstone/capstone-4.0.2-r2.ebuild +++ /dev/null @@ -1,84 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_OPTIONAL=1 -PYTHON_COMPAT=( python3_{9..11} ) - -inherit cmake distutils-r1 toolchain-funcs - -DESCRIPTION="disassembly/disassembler framework + bindings" -HOMEPAGE="https://www.capstone-engine.org/" -SRC_URI="https://github.com/capstone-engine/capstone/archive/${PV/_rc/-rc}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0/4" # libcapstone.so.4 -KEYWORDS="amd64 ~arm ~arm64 ~riscv x86" - -# A few disassembly outputs need an update -RESTRICT="test" - -IUSE="python static-libs test" -RDEPEND="python? ( ${PYTHON_DEPS} )" -DEPEND="${RDEPEND} - python? ( dev-python/setuptools[${PYTHON_USEDEP}] ) -" -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" - -#TODO: needs upstream fixes -#distutils_enable_tests setup.py - -S=${WORKDIR}/${P/_rc/-rc} - -PATCHES=( - "${FILESDIR}"/${P}-libsuffix.patch -) - -wrap_python() { - local phase=$1 - shift - - if use python; then - pushd bindings/python >/dev/null || die - echo distutils-r1_${phase} "$@" - pwd - distutils-r1_${phase} "$@" - popd >/dev/null - fi -} - -src_prepare() { - tc-export RANLIB - cmake_src_prepare - - wrap_python ${FUNCNAME} -} - -src_configure() { - local mycmakeargs=( - -DCAPSTONE_BUILD_TESTS="$(usex test)" - -DCAPSTONE_BUILD_STATIC="$(usex static-libs)" - ) - cmake_src_configure - - wrap_python ${FUNCNAME} -} - -src_compile() { - cmake_src_compile - - wrap_python ${FUNCNAME} -} - -src_test() { - cmake_src_test - - wrap_python ${FUNCNAME} -} - -src_install() { - cmake_src_install - - wrap_python ${FUNCNAME} -} diff --git a/dev-libs/capstone/capstone-5.0.1.ebuild b/dev-libs/capstone/capstone-5.0.1.ebuild index 2e024af16add..3fc30763814c 100644 --- a/dev-libs/capstone/capstone-5.0.1.ebuild +++ b/dev-libs/capstone/capstone-5.0.1.ebuild @@ -35,7 +35,7 @@ DEPEND="${RDEPEND} BDEPEND="${DISTUTILS_DEPS}" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" -distutils_enable_tests setup.py +RESTRICT="!test? ( test )" if [[ ${PV} == *_rc* ]]; then # Upstream doesn't flag release candidates (bug 858350) @@ -90,3 +90,7 @@ src_install() { find "${ED}" -name '*.a' -delete || die fi } + +python_test() { + emake check +} diff --git a/dev-libs/capstone/capstone-9999.ebuild b/dev-libs/capstone/capstone-9999.ebuild index 6d46a0133be7..ae151ecdb8fb 100644 --- a/dev-libs/capstone/capstone-9999.ebuild +++ b/dev-libs/capstone/capstone-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -35,15 +35,15 @@ DEPEND="${RDEPEND} BDEPEND="${DISTUTILS_DEPS}" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" +RESTRICT="!test? ( test )" + PATCHES=( # Currently "-Werror" is only added in the `next`-development branch, but - # not merged into 5.* releases. Eventually this patch may be needed in - # version 5 releas line. See bug #911481. + # not merged into 5.* releases. Eventually this patch may be needed in the + # version 5 release line. See bug #911481. "${FILESDIR}/${P}-werror.patch" ) -distutils_enable_tests setup.py - if [[ ${PV} == *_rc* ]]; then # Upstream doesn't flag release candidates (bug 858350) QA_PKGCONFIG_VERSION="" @@ -97,3 +97,7 @@ src_install() { find "${ED}" -name '*.a' -delete || die fi } + +python_test() { + emake check +} diff --git a/dev-libs/capstone/files/capstone-4.0.2-libsuffix.patch b/dev-libs/capstone/files/capstone-4.0.2-libsuffix.patch deleted file mode 100644 index 056140be13df..000000000000 --- a/dev-libs/capstone/files/capstone-4.0.2-libsuffix.patch +++ /dev/null @@ -1,12 +0,0 @@ -cmake does not provide 'LIBSUFFIX' variables, but provides 'LIB_SUFFIX'. -https://bugs.gentoo.org/730722 ---- a/capstone.pc.in -+++ b/capstone.pc.in -@@ -1,6 +1,6 @@ - prefix=@CMAKE_INSTALL_PREFIX@ - exec_prefix=${prefix} --libdir=${prefix}/lib@LIBSUFFIX@ -+libdir=${prefix}/@CMAKE_INSTALL_LIBDIR@ - includedir=${prefix}/include/capstone - - Name: capstone diff --git a/dev-libs/capstone/files/capstone-9999-werror.patch b/dev-libs/capstone/files/capstone-9999-werror.patch index 1ec58fa056a3..d5f09ca7d656 100644 --- a/dev-libs/capstone/files/capstone-9999-werror.patch +++ b/dev-libs/capstone/files/capstone-9999-werror.patch @@ -2,12 +2,12 @@ Bug: https://bugs.gentoo.org/911481 Upstream: https://github.com/capstone-engine/capstone/pull/2114 --- a/CMakeLists.txt +++ b/CMakeLists.txt -@@ -28,7 +28,7 @@ project(capstone - if (MSVC) - add_compile_options(/W1 /w14189) - else() -- add_compile_options(-Werror -Wformat -Wmissing-braces -Wunused-function -Warray-bounds -Wunused-variable -Wparentheses -Wint-in-bool-context) -+ add_compile_options(-Wformat -Wmissing-braces -Wunused-function -Warray-bounds -Wunused-variable -Wparentheses -Wint-in-bool-context) - endif() +@@ -25,7 +25,7 @@ project(capstone + VERSION 5.0 + ) +-set(UNIX_COMPILER_OPTIONS -Werror -Wall -Warray-bounds -Wshift-negative-value -Wreturn-type -Wformat -Wmissing-braces -Wunused-function -Warray-bounds -Wunused-variable -Wparentheses -Wint-in-bool-context -Wmisleading-indentation) ++set(UNIX_COMPILER_OPTIONS -Wall -Warray-bounds -Wshift-negative-value -Wreturn-type -Wformat -Wmissing-braces -Wunused-function -Warray-bounds -Wunused-variable -Wparentheses -Wint-in-bool-context -Wmisleading-indentation) + # maybe-unitialzied is only supported by newer versions of GCC. + # Unfortunately, it is pretty unreliable and reports wrong results. diff --git a/dev-libs/libliftoff/Manifest b/dev-libs/libliftoff/Manifest index 72be9f5d2716..93e94c21d2c2 100644 --- a/dev-libs/libliftoff/Manifest +++ b/dev-libs/libliftoff/Manifest @@ -1,5 +1,5 @@ -DIST libliftoff-0.3.0.tar.gz 31691 BLAKE2B 7584518f709b9a6eb975ece00b4e194de2d1e8dde71d831600b13785b8cef86b5e36493068c2345f02b85c20454d88a7cabc6082170591e7769c44f9894fd2be SHA512 696f771aef60a9bcd71e1e2e04b5abea4f3c67a0aae231f360b43cdb5835a2181f482372ab1128fe152b0cb214786f924c33ee9ecf13dfe08c1b260d03d241a4 DIST libliftoff-0.4.1.tar.gz 36504 BLAKE2B 23e73a9bb10a3c80caa21719bc2b857d612606f68559792731c04bf5b32d072b798e6f1a44da172910fbd2fbe6b439ef27d3848bf5c993a9f2a4d062a1038581 SHA512 4144dda17775a2b6f9f32bb62de9119365e93625ffeb6fb16c49224fcbe76991c18e66382a458ac4a648e5d72879c52be089ef3673e825edc158d73c97c874dc -EBUILD libliftoff-0.3.0.ebuild 424 BLAKE2B b92b27a48682fb61d7c3cb5c76b658f6ef5282a529dc03238815a1557b520fad8c7f3513e0dee2d6342f3502f7f496f1a206c5c9d99198d7cb071345528f8f13 SHA512 92d3c14c6ff8be3098d101fe5fdae9d41351930178efe871e1c4560be74395a3603e4f0025f0df5576a9f4296d42a64a915626c4d8d134d8c598e5c0f749bfe2 +DIST libliftoff-0.5.0.tar.gz 39076 BLAKE2B a5c35c734a5ba4049661ce336401bd88d393001d7c49786d486146998d39530c364f7752b53968f5ab48f5eb774fa9c4245087bdb016f459a729991377023f61 SHA512 ce808f6a087f1f629cfebef95bfc7e216a09fb409b96b3c9f6b84d9d986ce50c5d7bf5b45c68e8baa99566b3627d754c269855b6f4ec3be63ae7b9f5109d5f08 EBUILD libliftoff-0.4.1.ebuild 456 BLAKE2B 89e35c5c88b57571c669928cd797e955c5ddb050796c6f7629d37ef632ba1f2b0f047e6cd1f45b3dd869e3286071fca7c646491bce1447707e171be4f22156c1 SHA512 aba52a87e100c31d52e77df0d2648929df2752be4736f152ba907504c54098e09ac0f80890a88455eb9e0e830ddf44a0a13728a978cf0c28248514e4d6daa8e3 -MISC metadata.xml 248 BLAKE2B edac7e3ba8c55e21f79f34bf97705bdd8ceb89a6433c8bb250caa9e0549ac8960551566884194fb09ba596c54fe5166708c66f4d3185389c142f6fc08c53763c SHA512 c8d7e336ee4062bfc9a9fb25250d7388b837e839dc641adcbb9caf1bfb80b197e1f6171cc7842ca7edfbc26c27db5ee8b348b4e35f5a88dd5f8dbc7a8031108b +EBUILD libliftoff-0.5.0.ebuild 457 BLAKE2B 5707119c1e418cc5c1c4e36f721de1ff422c3372a5345a410457159d5ba9137279fcdbc1133e83e5035183a53043b4fffb6f2884680b25772c2a7b28e3771cae SHA512 6e997d3b51aa2f8d545b5fcef444d6b58beaf2d7cf522d9904c168b4da030b746b86fa15ee0cdb179a4c5cc1ab2debd81660568cd2584bda5f3e9d17394786ee +MISC metadata.xml 344 BLAKE2B 9bebaf9d80e8d44371d67afebd3a231d3a77ae61252cbf34ccf8f4a07595fb699b02046fa0aef5460cc27670dfe2e200cd363b59d8e0ca4ec21e778e48d822f3 SHA512 d36ce2d4e1e8aec0f949dcedb9c9dcc4c86d1855818c6ebd843259f32b66f3d30f3426a20427a55480b3a08ac711b127b7a9d9dca5c12086b9c8f8a5127ed9b9 diff --git a/dev-libs/libliftoff/libliftoff-0.3.0.ebuild b/dev-libs/libliftoff/libliftoff-0.3.0.ebuild deleted file mode 100644 index bb61df9cef3f..000000000000 --- a/dev-libs/libliftoff/libliftoff-0.3.0.ebuild +++ /dev/null @@ -1,20 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit meson - -DESCRIPTION="Lightweight KMS plane library" -HOMEPAGE="https://gitlab.freedesktop.org/emersion/libliftoff" -SRC_URI="https://gitlab.freedesktop.org/emersion/${PN}/-/releases/v${PV}/downloads/${P}.tar.gz" -KEYWORDS="~amd64" -LICENSE="MIT" -SLOT="0" - -RDEPEND=" - x11-libs/libdrm -" -DEPEND=" - ${RDEPEND} -" diff --git a/dev-libs/libliftoff/libliftoff-0.5.0.ebuild b/dev-libs/libliftoff/libliftoff-0.5.0.ebuild new file mode 100644 index 000000000000..7056705fe1a1 --- /dev/null +++ b/dev-libs/libliftoff/libliftoff-0.5.0.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit meson + +DESCRIPTION="Lightweight KMS plane library" +HOMEPAGE="https://gitlab.freedesktop.org/emersion/libliftoff" +SRC_URI="https://gitlab.freedesktop.org/emersion/${PN}/-/releases/v${PV}/downloads/${P}.tar.gz" +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86" + +RDEPEND=" + x11-libs/libdrm +" +DEPEND=" + ${RDEPEND} +" diff --git a/dev-libs/libliftoff/metadata.xml b/dev-libs/libliftoff/metadata.xml index 96b4fdc27920..f1762d449434 100644 --- a/dev-libs/libliftoff/metadata.xml +++ b/dev-libs/libliftoff/metadata.xml @@ -5,4 +5,7 @@ chewi@gentoo.org James Le Cuirot + + emersion/libliftoff + diff --git a/dev-libs/liblouis/Manifest b/dev-libs/liblouis/Manifest index 2cff72f5d9e4..9c0bdbf96f68 100644 --- a/dev-libs/liblouis/Manifest +++ b/dev-libs/liblouis/Manifest @@ -1,5 +1,7 @@ DIST liblouis-3.23.0.tar.gz 16738612 BLAKE2B b4508d27eaa9669bb2a1fbaac55edb3a85d3d2df18a8b26f4c9c396579b04614da3b3bcd6af45459d9129d2b81a920262dcb8fef7bee4290752174411fd66109 SHA512 25819758fc987ed378c439c5d40efd2692247a6020a40e5909320021e518e0518f5b022dda4ea5c7006a0f1ce2a4225d4ee1404560987bb2dd83504d58aa09db DIST liblouis-3.25.0.tar.gz 16939419 BLAKE2B f67dc1ee3aa9eb32fcf0693b3a31d40c56f048b393785011ec2b4c61611a3ab67d181d1e76148c489e443e3b0c4d5f7846ac1b4810ffa2c6a6e1d081cceab6ae SHA512 4e6456f30e845b955e98346cb94bdd4eaa6aff30f3e29fbd4e91c5bb58d1182c679fbf8afa27d7031c80d5755ae8567b830fa57c175522a038ef18d1bdc0707d +DIST liblouis-3.29.0.tar.gz 17073843 BLAKE2B b7735f4c59c46cef55f4748b54395b95f4f3623be37bd42bbed4249232d5ab4ad966e4f08945f91516be30f19735ed774411cfe4bc8e1c7822f04af2d0b0db27 SHA512 c2f51686e869921658a95a58102799ebcf45da9b73f7d81912462451236134be7c148b78f35a1e0586cd349bbcb62238218c9ae547092bed9303238c22963589 EBUILD liblouis-3.23.0.ebuild 1759 BLAKE2B 912ab7776d3d0e4dad6906c993f4bc3dc47466ebb286705edac8205ec188187897769881181026839c2057ea6c11cc433d6a648fa99af5fd8a58c305ce177b58 SHA512 c2e7c1ff3ad718f1ebc651dcc87c516a96599468f9d3f3605a4715fccc2e6bc0353e77c409b6c5355ad6080fa5a9523a12a9e69040b52ac621e07d4c95a5e3d4 EBUILD liblouis-3.25.0.ebuild 2418 BLAKE2B d91afdba655494c4e8c7f350ae675d6a4647b52d2732d418b9cd2bc3279dae85726d472b9d0d3d1c4190975eda3f3dc2362e4136f1a3f5b5035b6341ccf93592 SHA512 cb5ff4d9424be649235e31cf3af3e84a5386bcd293dd87b60a7d24d06360a44687ad5444b0dcd435dc27b39f2fbfe6de49fead1dc000edae850825813d6a6a95 +EBUILD liblouis-3.29.0.ebuild 2836 BLAKE2B 116a70679950f694f132df8a9cbd64e97a4b7795107b7cb65aba516ccd19e0a19a10a85142075e02393c10b82a3e244624a39ef890621c485b5f69307bd262d6 SHA512 bd8ec8938709b5a0dff2d9a221f5ca086be6cc13b77078757baba9e4f9b89fb001b230b4c5712085e87c6696c2c52ffac28ee53ed69bdda1619687189e4bbf3e MISC metadata.xml 352 BLAKE2B 5c562663af1cb8a830ef585416cd7dbd4977393310fb2216ac6fb5bbaa594ad4fb144bac1a49d161e5946978cbc28acdbaf5d59e781da5438d7116f34c259290 SHA512 23c7fd40c40c8e574d995d0fdbe56242e9b1874d576ba8a34cee80e3c3e41785e782ca37fb3f89665c24d5857cb956b70c9219dc3dc35cb209f947f0b267c4be diff --git a/dev-libs/liblouis/liblouis-3.29.0.ebuild b/dev-libs/liblouis/liblouis-3.29.0.ebuild new file mode 100644 index 000000000000..fdd585cad1e6 --- /dev/null +++ b/dev-libs/liblouis/liblouis-3.29.0.ebuild @@ -0,0 +1,106 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) +DISTUTILS_SINGLE_IMPL=1 +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 + +DESCRIPTION="An open-source braille translator and back-translator" +HOMEPAGE="https://github.com/liblouis/liblouis" +SRC_URI="https://github.com/liblouis/liblouis/releases/download/v${PV}/${P}.tar.gz" + +LICENSE="LGPL-2.1+" +SLOT="0/20" # follows LIBLOUIS_CURRENT in configure.ac +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="test" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" +RESTRICT="!test? ( test )" + +# texlive-core for patgen which is required by lou_maketable +RDEPEND=" + ${PYTHON_DEPS} + app-text/texlive-core + test? ( dev-libs/libyaml ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + ${DISTUTILS_DEPS} + ${PYTHON_DEPS} + sys-apps/help2man +" + +src_prepare() { + default + + #1. bug #913705 + #2. Use correct python version + sed -i \ + -e "s|\$CURDIR/lou_maketable.d|${EPREFIX}/usr/libexec/lou_maketable|" \ + -e "s|python3|${EPYTHON}|" \ + tools/lou_maketable.d/lou_maketable.in || die + + pushd python > /dev/null || die + distutils-r1_src_prepare + popd > /dev/null || die +} + +src_configure() { + # -fanalyzer substantially slows down the build and isn't useful for + # us. It's useful for upstream as it's static analysis, but it's not + # useful when just getting something built. + export gl_cv_warn_c__fanalyzer=no + + econf --enable-ucs4 $(use_with test yaml) +} + +src_compile() { + default + + pushd python > /dev/null || die + # setup.py imports liblouis to get the version number, + # and this causes the shared library to be dlopened + # at build-time. Hack around it with LD_PRELOAD. + # Thanks ArchLinux. + LD_PRELOAD+=":${S}/liblouis/.libs/liblouis.so" distutils-r1_src_compile + popd > /dev/null || die +} + +src_test() { + default + + pushd python > /dev/null || die + LD_PRELOAD+=":${S}/liblouis/.libs/liblouis.so" distutils-r1_src_test + popd > /dev/null || die +} + +python_test() { + local -x LOUIS_TABLEPATH="${S}"/tables + "${EPYTHON}" tests/test_louis.py || die +} + +python_install() { + distutils-r1_python_install + python_scriptinto /usr/libexec/lou_maketable + python_doexe ../tools/lou_maketable.d/*.py +} + +src_install() { + pushd python > /dev/null || die + LD_PRELOAD+=":${S}/liblouis/.libs/liblouis.so" distutils-r1_src_install + popd > /dev/null || die + + # These need to be after distutils src_install, or it'll try to install them from under python/ as well + DOCS=( README AUTHORS NEWS ChangeLog doc/liblouis.txt ) + HTML_DOCS=( doc/liblouis.html ) + default + + # bug #913705 + mkdir -p "${ED}"/usr/libexec/lou_maketable || die + mv "${ED}"/usr/bin/lou_maketable.d/*.{mk,pl,sh} "${ED}"/usr/libexec/lou_maketable/ || die + rm -r "${ED}"/usr/bin/lou_maketable.d || die + + find "${ED}" -name '*.la' -delete || die +} diff --git a/dev-libs/libratbag/Manifest b/dev-libs/libratbag/Manifest index 2d2a789fb7b4..bfb1d005c41d 100644 --- a/dev-libs/libratbag/Manifest +++ b/dev-libs/libratbag/Manifest @@ -1,10 +1,7 @@ -AUX libratbag-0.16-musl-error.h.patch 1786 BLAKE2B 80e333dfa7e7e2a6d207885836b3654f01c821a21d1cda233770eb4d5879239b74e0886826f2118b1e7f5674f35e697ec933b79b43f0f415c94a1c62e159594e SHA512 43fd1e68670228a438c68714987d7ff930abfc271dc54abc26e0c7809e2302c7d3d45d3293ae9edfde2887b54a74dcda9eeff372145165eed5cb048672d8c69a +AUX libratbag-0.17-python3.12-imp.patch 1345 BLAKE2B 8b65589c91e7f8f1b81bb88961eb5b549c12f16bef5ae8d435d9c8fc3c233d44e04d5d94f317fb0e0c0a3bf3b31956457ba0fbaa52fb7323ca48f772f03e7b70 SHA512 6272dcc3ea3b746e1976b985a2dd04c16eb30e950fb1f97e85a163416a0e2aacbb688c6f3e6bcc44b866ed04e48f4646bdc033ca039d9860ab868e5762d410e6 AUX ratbagd.init 336 BLAKE2B c6f2ef095cd7d929c3097a18e912ae4b3615bd0ebbdfdaa9f4151b312614c016af2f3581c2fbb2853472cb70ce47d5f26f254772fb9f3dabba2ce93626b672b7 SHA512 3908b3481b49bcebc84e3023ff911dcbc1773e4322356def0067ed4aa426184cf43e12de702e98210157d17c2806d57c1cb4bc79ddb0b8660036a6fe3974607e -DIST libratbag-0.15.tar.gz 249492 BLAKE2B 0f5b35800cb9f82cb892dacd5e3b041843cf5513507ee4882ec5b3f8c8aec8a24594736f2eb1c8e373a0ee38ace1e6328cbd4816d6e5b2cd1f2154ebd803a5fa SHA512 add47a6b3d771de77c6307e128a549f5295e216059b5a2375aa6b2b6bbebcf9a93d7bf148181b3f39f855976e9b6f57072dd9198d07828bebe85409f4ad994aa -DIST libratbag-0.16.tar.gz 253080 BLAKE2B ede56838c822519b4fe4c6846f5d6d237104fc06f96fb17aa62b4c712965f00827973ebe732ee5ac9a16f101baf0b63eb445fbb97746df3b8ed24d6e085b34e1 SHA512 b3f2fee39ec85c0e08d257753241fb0e553de53eb7409a3b95f93a0fac3989a9411c53c915e72bef19bcfc5682fe9cdafaeb1f41f2718ab02766859f565415e3 DIST libratbag-0.17.tar.gz 279273 BLAKE2B 7252afc8bca5d95c24d61dbd68c4e486550df7d6d9fa74a8c9d2a58c6363ed2ee289c0d02cdd72c968618f5c08a0687c97836dd2c47b457ba4228f4716b50cb9 SHA512 80ab5c895d83e28b6b6adcd0669854944d7932ef037c8d64b923a7362399e861475e9d81c5ee2cf814f654d7796b00a81314cc177f34e13c8684d525974068c8 -EBUILD libratbag-0.15.ebuild 2089 BLAKE2B 32577021a0a4033ef11dafa52d602c18edd756c0139bedcced067a830fe66db3e57320026f65edf5c2b8eaf9a5ead02f6260c636916026d63edd59b817aff1b5 SHA512 b28697fe6e63a9a4e0f77fb801bd0e58cb232276412cbffc4af25c3e09f4d2ad643e930dae985eea2249174aaa283c7514f38f6d08db6faabc3b9e27292dba98 -EBUILD libratbag-0.16.ebuild 2147 BLAKE2B 01f7df46baa647ca78d387e311292f70622bcb511699bb9da683bad33f0cc72e1a841d5ee326d5a8700e6ace862c3d0223921bf9005af620180eee7117c84b0f SHA512 8345e54c264f4fa9e41cda1ccc9d5f6d157c438c40dda2b2eb78aeab0696fa0501ed53ff6d67c39e621fe4ef50b58b1aaa24ce823a0e1d792f3df0d5420278d5 EBUILD libratbag-0.17-r1.ebuild 2314 BLAKE2B 41f25df17270fd0f537d91534dade949bac360b80399ce8302b6fcc95c7b5c57d49c8699138756d3396bbf432db746c3ab8835b3181f3e33d79a4af5af68a4fe SHA512 8a5a703725c2dfc7fcf5440d3a3ebf3e35399078bb32a724a0bf8f41147c99b9cbdb8dfcc597c1647bcba12e7c70f42b96265b8f71569dd0e9719e8378a7204c -EBUILD libratbag-9999.ebuild 2314 BLAKE2B 41f25df17270fd0f537d91534dade949bac360b80399ce8302b6fcc95c7b5c57d49c8699138756d3396bbf432db746c3ab8835b3181f3e33d79a4af5af68a4fe SHA512 8a5a703725c2dfc7fcf5440d3a3ebf3e35399078bb32a724a0bf8f41147c99b9cbdb8dfcc597c1647bcba12e7c70f42b96265b8f71569dd0e9719e8378a7204c +EBUILD libratbag-0.17-r2.ebuild 2378 BLAKE2B 9d7a0dc9b30be878e69e4147ea230a398ccf8358639bd399a31865356d12447dcfe70de97009d031c6c6f04aecc3c3bdbe164f25571c0a6f64bb422029fd19c6 SHA512 3c10d0316bd84746263b2e872e9de509e5b70d36daa6d20d6daedb85707260cb8d180a4a58df7a771d2a1738917c3bc0f3e298c0f46943ef92fbd720f5de4443 +EBUILD libratbag-9999.ebuild 2314 BLAKE2B 154fbe01378273fc6a0a7c2c4fe4824db1a5de068d8d58930cf32ffd93b40ce9a1b1c697b4de6780b04d0a0a8cf8e0252930f6a9a17547a6303f13a47bb41bc0 SHA512 e66b1202c01d54ecb458128bd52bc064e3519725c872867e72e068be4af0084efb5bce809022bbf7cd333444bac3eb90267f7dc2eda0dcec639d34b51f490072 MISC metadata.xml 490 BLAKE2B 1acac7162603488b92a2a99c2bf9ee12971b79d62b48ebea2bc6fdbb5e45f351002cb932cd6a8222fcd23acdffa77d4cd708b71459a5f557f668a9687da66efa SHA512 e55ba297fed6952b379b92bf14adfe02fd4a90a7f305d70126fb28ff12c63e64ff2781f378c279bd17392bf917d31f4ed2b3679b308ecf0e713e42eccbc9d1a0 diff --git a/dev-libs/libratbag/files/libratbag-0.16-musl-error.h.patch b/dev-libs/libratbag/files/libratbag-0.16-musl-error.h.patch deleted file mode 100644 index a3b0b187c154..000000000000 --- a/dev-libs/libratbag/files/libratbag-0.16-musl-error.h.patch +++ /dev/null @@ -1,69 +0,0 @@ -# Since musl doesn't provide error.h we need to check before adding it. If -# error.h is present in system only then we include it else we use err.h. -# Already there exists a bug report for this upstream [1]. The devs are open to -# a custom implementation of error but for now this patch for do it. -# -# [1]: https://github.com/libratbag/libratbag/issues/1253 -# -# Closes: https://bugs.gentoo.org/830557 ---- a/meson.build -+++ b/meson.build -@@ -74,8 +74,13 @@ dep_libevdev = dependency('libevdev') - dep_glib = dependency('glib-2.0') - dep_json_glib = dependency('json-glib-1.0') - dep_lm = cc.find_library('m') -+error_exists = cc.has_header('error.h') - dep_unistring = cc.find_library('unistring') - -+if error_exists -+ add_global_arguments('-DHAVE_ERROR_H', language : 'c') -+endif -+ - if get_option('logind-provider') == 'elogind' - dep_logind = dependency('libelogind', version : '>=227') - else ---- a/tools/hidpp10-dump-page.c -+++ b/tools/hidpp10-dump-page.c -@@ -23,7 +23,12 @@ - - #include - #include -+#ifdef HAVE_ERROR_H - #include -+#else -+#include -+#define error(status, errno, ...) err(status, __VA_ARGS__) -+#endif - #include - - #include ---- a/tools/hidpp20-dump-page.c -+++ b/tools/hidpp20-dump-page.c -@@ -23,7 +23,12 @@ - - #include - #include -+#ifdef HAVE_ERROR_H - #include -+#else -+#include -+#define error(status, errno, ...) err(status, __VA_ARGS__) -+#endif - #include - - #include ---- a/tools/hidpp20-reset.c -+++ b/tools/hidpp20-reset.c -@@ -23,7 +23,12 @@ - - #include - #include -+#ifdef HAVE_ERROR_H - #include -+#else -+#include -+#define error(status, errno, ...) err(status, __VA_ARGS__) -+#endif - #include - - #include diff --git a/dev-libs/libratbag/files/libratbag-0.17-python3.12-imp.patch b/dev-libs/libratbag/files/libratbag-0.17-python3.12-imp.patch new file mode 100644 index 000000000000..6ded679b1bad --- /dev/null +++ b/dev-libs/libratbag/files/libratbag-0.17-python3.12-imp.patch @@ -0,0 +1,38 @@ +https://bugs.gentoo.org/929423 +https://github.com/libratbag/libratbag/pull/1569 +https://github.com/libratbag/libratbag/commit/27b0d4a2d9cd21fa9f11a0770d94c578db6324d1 +--- a/tools/toolbox.py ++++ b/tools/toolbox.py +@@ -21,7 +21,8 @@ + # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + # DEALINGS IN THE SOFTWARE. + +-import imp ++import importlib.util ++import importlib.machinery + import os + import subprocess + import sys +@@ -45,8 +46,11 @@ def import_non_standard_path(name, path): + # If any of the following calls raises an exception, + # there's a problem we can't handle -- let the caller handle it. + +- with open(path, 'rb') as fp: +- module = imp.load_module(name, fp, os.path.basename(path), ('.py', 'rb', imp.PY_SOURCE)) ++ loader = importlib.machinery.SourceFileLoader(name, path) ++ spec = importlib.util.spec_from_file_location(name, path, loader=loader) ++ module = importlib.util.module_from_spec(spec) ++ sys.modules[name] = module ++ loader.exec_module(module) + + return module + +@@ -107,7 +111,7 @@ def sync_dbus(): + main_context.iteration(False) + + +-ratbagctl = import_non_standard_path(RATBAGCTL_NAME, RATBAGCTL_PATH) ++import_non_standard_path(RATBAGCTL_NAME, RATBAGCTL_PATH) + + from ratbagctl import open_ratbagd, get_parser, RatbagError, RatbagErrorCapability # NOQA + diff --git a/dev-libs/libratbag/libratbag-0.15.ebuild b/dev-libs/libratbag/libratbag-0.15.ebuild deleted file mode 100644 index ba7c076793e6..000000000000 --- a/dev-libs/libratbag/libratbag-0.15.ebuild +++ /dev/null @@ -1,101 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_10 ) - -inherit meson python-single-r1 systemd udev - -DESCRIPTION="Library to configure gaming mice" -HOMEPAGE="https://github.com/libratbag/libratbag" -SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="doc elogind systemd test" -REQUIRED_USE=" - ${PYTHON_REQUIRED_USE} - ^^ ( elogind systemd ) -" -RESTRICT="!test? ( test )" - -BDEPEND=" - ${PYTHON_DEPS} - dev-lang/swig - virtual/pkgconfig - doc? ( - $(python_gen_cond_dep ' - dev-python/sphinx[${PYTHON_USEDEP}] - dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}] - ') - ) - test? ( - dev-libs/check - dev-libs/gobject-introspection - dev-debug/valgrind - $(python_gen_cond_dep ' - dev-python/evdev[${PYTHON_USEDEP}] - dev-python/pygobject:3[${PYTHON_USEDEP}] - ') - ) -" -RDEPEND=" - ${PYTHON_DEPS} - acct-group/plugdev - dev-libs/glib:2 - dev-libs/json-glib - dev-libs/libevdev - dev-libs/libunistring:= - virtual/libudev:= - $(python_gen_cond_dep ' - dev-python/pygobject:3[${PYTHON_USEDEP}] - dev-python/evdev[${PYTHON_USEDEP}] - ') - elogind? ( sys-auth/elogind ) - systemd? ( sys-apps/systemd ) -" -DEPEND=" - ${RDEPEND} - dev-libs/gobject-introspection -" - -src_prepare() { - default - - if use elogind ; then - # Fix systemd includes for elogind - sed -i -e 's@include