diff options
Diffstat (limited to 'dev-libs/libdex')
| -rw-r--r-- | dev-libs/libdex/Manifest | 4 | ||||
| -rw-r--r-- | dev-libs/libdex/files/libdex-0.8.1-libucontext-musl.patch | 61 | ||||
| -rw-r--r-- | dev-libs/libdex/libdex-0.6.1.ebuild | 70 | ||||
| -rw-r--r-- | dev-libs/libdex/libdex-0.8.1.ebuild | 75 | ||||
| -rw-r--r-- | dev-libs/libdex/libdex-1.0.0.ebuild (renamed from dev-libs/libdex/libdex-0.10.0.ebuild) | 0 |
5 files changed, 1 insertions, 209 deletions
diff --git a/dev-libs/libdex/Manifest b/dev-libs/libdex/Manifest index 8c170d788cbd..4c9b9c830b33 100644 --- a/dev-libs/libdex/Manifest +++ b/dev-libs/libdex/Manifest @@ -1,4 +1,2 @@ -DIST libdex-0.10.0.tar.xz 101652 BLAKE2B 7f2e42d3fe630980fdd29bf9bc6339d9e0ba8c4ba47ab5f737a0cd855bcf319fd7ce8b0cf00c61237c4d58be1aa03c7459199a936977d7e784eb894b98f875f5 SHA512 bfdeddd3659a4f51c2b171333f35dc3a12d82c00f4c3f5817e085d1a304c6821f5c005c0fa5cca0d816a94eecdb1aaffaf8aa2355e5fe1aa3fbfe2bd76eba634 DIST libdex-0.10.1.tar.xz 102088 BLAKE2B e8be9d2c20c60e0800e098cbb284927e7bfee6a4b1acbc1ab464cb1057b105716e2083df14ecf0b2276728b635dcb9cd03a365a1da3999b63b19e8b418cb8b45 SHA512 ada18b95eaddfccfa1d73889979c914c646fe78ff93878346db0a40483206263429b9a97a073b7129da8eeefcb80a1911f994f04f306aa41877c102683a4a1ef -DIST libdex-0.6.1.tar.xz 99056 BLAKE2B 3899f89ac652c2790c93e2799a5b0d066c45ee314c6f773bb586e49c89a8a78e6a09ebf08263b88b25900a15ac736d2bd37590720e0ac0e074581342534eaba3 SHA512 36be15d2da9edeae195abcb6f97639dd7fdea74463cdfdf752293007e44ab41a5e5350a7005883f202d70f96047567fba6370f1a2c45a0f898c242bebc88e847 -DIST libdex-0.8.1.tar.xz 99480 BLAKE2B 2a10a9a134cdb2017b6136a54e484f6fd2bb9329957f4d3f205edabdbcbb659f3a1c97a2b1a1c61a06f253a85733500b9475eebd8554e9af5cb0abcec232052d SHA512 fc3f4d81b3a3e5c87758b2f706dc02c558becafc489c620ca491ca3b658f4c00cbc48886c6f5271e7308c4d7255610ec7ece1ad77308b5fac6088402a96543e0 +DIST libdex-1.0.0.tar.xz 107124 BLAKE2B 9bb1a09e0fbf2b1a80e80fa7979b502c01ba91901e9380f3230dcf94793aa6cc5d7a7a57e3852677b43f5768c7b0ee80f09de500f997d3e82ad6974c7e83597e SHA512 589097390a1c33c2e93eca7adb2b51a7153849e6454af6bb2491dd1111a3d3812926391e4ce6186bc0e15f5904239e311ca488349e93eadc75a7d8b227901661 diff --git a/dev-libs/libdex/files/libdex-0.8.1-libucontext-musl.patch b/dev-libs/libdex/files/libdex-0.8.1-libucontext-musl.patch deleted file mode 100644 index 38eb2be9a828..000000000000 --- a/dev-libs/libdex/files/libdex-0.8.1-libucontext-musl.patch +++ /dev/null @@ -1,61 +0,0 @@ -https://bugs.gentoo.org/928892 -https://gitlab.gnome.org/GNOME/libdex/-/commit/fc0ef0544dd61ff6d825c53323d4b4cba4481a03 -https://gitlab.gnome.org/GNOME/libdex/-/merge_requests/17 - -From fc0ef0544dd61ff6d825c53323d4b4cba4481a03 Mon Sep 17 00:00:00 2001 -From: Alfred Wingate <parona@protonmail.com> -Date: Wed, 29 Jan 2025 07:16:41 +0200 -Subject: [PATCH] build: try libucontext if symbols are not present - -Musl includes uncontext.h but doesn't implement the symbols. This means -that HAVE_CONTEXT_H will be set and linking will fail due to missing -symbols. - -https://wiki.musl-libc.org/open-issues.html#ucontext.h - -If the symbols are missing depend on libucontext which is an implementation -of these functions for musl. - -https://github.com/kaniini/libucontext - -Bug: https://bugs.gentoo.org/928892 -Signed-off-by: Alfred Wingate <parona@protonmail.com> ---- a/meson.build -+++ b/meson.build -@@ -44,14 +44,14 @@ if get_option('sysprof') - config_h.set10('HAVE_SYSPROF', true) - endif - --check_headers = [ -- 'ucontext.h', --] --foreach h : check_headers -- if cc.has_header(h) -- config_h.set('HAVE_' + h.underscorify().to_upper(), 1) -+if cc.has_header('ucontext.h') -+ if not cc.has_function('makecontext', prefix : '#include <ucontext.h>') -+ libucontext_dep = dependency('libucontext', required: false) -+ else -+ libucontext_dep = disabler() - endif --endforeach -+ config_h.set('HAVE_UCONTEXT_H', 1) -+endif - - if host_machine.system() == 'darwin' - # known alignment for darwin where we're using helpers ---- a/src/meson.build -+++ b/src/meson.build -@@ -95,6 +95,9 @@ if host_machine.system() != 'windows' - 'dex-unix-signal.c', - 'dex-ucontext.c', - ] -+ if libucontext_dep.found() -+ libdex_deps += [libucontext_dep] -+ endif - - # If we're on Linux and mips we might still need asm.S. - # But otherwise linux can do it all without any custom --- -GitLab - diff --git a/dev-libs/libdex/libdex-0.6.1.ebuild b/dev-libs/libdex/libdex-0.6.1.ebuild deleted file mode 100644 index ca02bff18cd3..000000000000 --- a/dev-libs/libdex/libdex-0.6.1.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit gnome.org linux-info meson vala - -DESCRIPTION="Dex provides Future-based programming for GLib-based applications" -HOMEPAGE="https://gitlab.gnome.org/GNOME/libdex" - -LICENSE="LGPL-2.1+" -SLOT="0/1" -KEYWORDS="amd64 ~arm64 x86" - -IUSE="+eventfd gtk-doc +introspection +liburing sysprof test vala" -REQUIRED_USE=" - gtk-doc? ( introspection ) - vala? ( introspection ) -" -RESTRICT="!test? ( test )" - -RDEPEND=" - >=dev-libs/glib-2.68:2 - liburing? ( >=sys-libs/liburing-0.7:= ) - introspection? ( >=dev-libs/gobject-introspection-1.82.0-r2:= ) - sysprof? ( dev-util/sysprof-capture:4 ) -" -DEPEND="${RDEPEND}" -BDEPEND=" - vala? ( $(vala_depend) ) - dev-util/glib-utils - virtual/pkgconfig - gtk-doc? ( dev-util/gi-docgen ) -" - -pkg_setup() { - if use eventfd && linux_config_exists; then - if ! linux_chkconfig_present EVENTFD ; then - ewarn "CONFIG_EVENTFD must be enabled for USE=eventfd" - fi - fi -} - -src_prepare() { - default - use vala && vala_setup -} - -src_configure() { - local emesonargs=( - $(meson_use gtk-doc docs) - -Dexamples=false - $(meson_use vala vapi) - $(meson_feature introspection) - $(meson_use sysprof) - $(meson_use test tests) - $(meson_feature liburing) - $(meson_feature eventfd) - ) - meson_src_configure -} - -src_install() { - meson_src_install - - if use gtk-doc; then - mkdir -p "${ED}"/usr/share/gtk-doc/html/ || die - mv "${ED}"/usr/share/doc/${PN}-1 "${ED}"/usr/share/gtk-doc/html/ || die - fi -} diff --git a/dev-libs/libdex/libdex-0.8.1.ebuild b/dev-libs/libdex/libdex-0.8.1.ebuild deleted file mode 100644 index 64557924f317..000000000000 --- a/dev-libs/libdex/libdex-0.8.1.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit gnome.org linux-info meson vala - -DESCRIPTION="Dex provides Future-based programming for GLib-based applications" -HOMEPAGE="https://gitlab.gnome.org/GNOME/libdex" - -LICENSE="LGPL-2.1+" -SLOT="0/1" -KEYWORDS="amd64 ~arm64 ~loong x86" - -IUSE="+eventfd gtk-doc +introspection +liburing sysprof test vala" -REQUIRED_USE=" - gtk-doc? ( introspection ) - vala? ( introspection ) -" -RESTRICT="!test? ( test )" - -RDEPEND=" - >=dev-libs/glib-2.68:2 - liburing? ( >=sys-libs/liburing-0.7:= ) - introspection? ( >=dev-libs/gobject-introspection-1.82.0-r2:= ) - sysprof? ( dev-util/sysprof-capture:4 ) - elibc_musl? ( sys-libs/libucontext ) -" -DEPEND="${RDEPEND}" -BDEPEND=" - vala? ( $(vala_depend) ) - dev-util/glib-utils - virtual/pkgconfig - gtk-doc? ( dev-util/gi-docgen ) -" - -PATCHES=( - "${FILESDIR}"/libdex-0.8.1-libucontext-musl.patch -) - -pkg_setup() { - if use eventfd && linux_config_exists; then - if ! linux_chkconfig_present EVENTFD ; then - ewarn "CONFIG_EVENTFD must be enabled for USE=eventfd" - fi - fi -} - -src_prepare() { - default - use vala && vala_setup -} - -src_configure() { - local emesonargs=( - $(meson_use gtk-doc docs) - -Dexamples=false - $(meson_use vala vapi) - $(meson_feature introspection) - $(meson_use sysprof) - $(meson_use test tests) - $(meson_feature liburing) - $(meson_feature eventfd) - ) - meson_src_configure -} - -src_install() { - meson_src_install - - if use gtk-doc; then - mkdir -p "${ED}"/usr/share/gtk-doc/html/ || die - mv "${ED}"/usr/share/doc/${PN}-1 "${ED}"/usr/share/gtk-doc/html/ || die - fi -} diff --git a/dev-libs/libdex/libdex-0.10.0.ebuild b/dev-libs/libdex/libdex-1.0.0.ebuild index 62693f2fd98e..62693f2fd98e 100644 --- a/dev-libs/libdex/libdex-0.10.0.ebuild +++ b/dev-libs/libdex/libdex-1.0.0.ebuild |
