summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* dev-libs/glib: do a proper install for the bootstrap gobject-introspectionSam James11 days2-12/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In a fresh musl stage3, I could reproduce the reported "can't resolve libraries to shared libraries: m" error. In another, older musl chroot, it worked fine. The difference in the g-ir-scanner invocations between the two was the good build had `--extra-library=m` and friends, while the bad one used raw `-lm`. meson's `_gir_has_option` invokes `g-ir-scanner --help` to see if it supports `--extra-library` or not. The check was failing with: ImportError: Error loading shared library libglib-2.0.so.0: No such file or directory (needed by .../scanner.cpython-312-x86_64-linux-musl.so) because RPATH didn't reflect what we were trying to do. By using --prefix=${EPREFIX}/usr (the default) with --destdir ${T} and --skip-subprojects glib, we were having to pray that running everything with LD_LIBRARY_PATH & friends set would work out, rather than installing it properly to ${T} and letting RPATH do its job. We now let Meson install glib and gobject-introspection properly to ${T}/bootstrap-gi-prefix and tell everything where to find it. As for why it didn't show up earlier in glibc stage3s w/o glib already installed: musl doesn't have libm.so, it does have a stub libm.a. glibc has a stub libm.so nowadays as it merged everything in to libc.so. I haven't cleaned up all the previous workarounds and hacks which may no longer be needed in case we need to do more meddling here. Thanks to Eli for both letting me rubberduck and also giving critical suggestions that made the problem (and solution) obvious. Closes: https://bugs.gentoo.org/945911 Thanks-to: Eli Schwartz <eschwartz@gentoo.org> Signed-off-by: Sam James <sam@gentoo.org>
* dev-libs/glib: Backport upstream fix for autoptr testGabi Falk2024-12-212-0/+30
| | | | | | | Closes: https://bugs.gentoo.org/946789 Signed-off-by: Gabi Falk <gabifalk@gmx.com> Closes: https://github.com/gentoo/gentoo/pull/39816 Signed-off-by: Sam James <sam@gentoo.org>
* dev-libs/glib: Stabilize 2.80.5-r1 sparc, #946484Arthur Zamarin2024-12-211-1/+1
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* dev-libs/glib: Stabilize 2.80.5-r1 ppc64, #946484Arthur Zamarin2024-12-211-1/+1
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* dev-libs/glib: Stabilize 2.80.5-r1 ppc, #946484Arthur Zamarin2024-12-211-1/+1
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* dev-libs/glib: Stabilize 2.80.5-r1 arm, #946484Arthur Zamarin2024-12-211-1/+1
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* dev-libs/glib: dev-python/packaging is required for >=2.79.0Alfred Wingate2024-12-211-0/+6
| | | | | | | | | | | | | Requirement removed again in >=2.81.1, setuptools still needed for gobject-introspection via USE="introspection". https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3740 https://gitlab.gnome.org/GNOME/glib/-/merge_requests/4133 Closes: https://bugs.gentoo.org/946727 Signed-off-by: Alfred Wingate <parona@protonmail.com> Closes: https://github.com/gentoo/gentoo/pull/39804 Signed-off-by: Sam James <sam@gentoo.org>
* dev-libs/glib: drop 2.80.4, 2.80.5Alfred Wingate2024-12-213-768/+0
| | | | | Signed-off-by: Alfred Wingate <parona@protonmail.com> Signed-off-by: Sam James <sam@gentoo.org>
* dev-libs/glib: forward-port LD_LIBRARY_PATH fix to 2.82.4-r1 tooSam James2024-12-211-0/+3
| | | | | Bug: https://bugs.gentoo.org/946735 Signed-off-by: Sam James <sam@gentoo.org>
* dev-libs/glib: 2.80.5-r1: Fix gobject-introspection bootstrapGabi Falk2024-12-211-0/+3
| | | | | | | Closes: https://bugs.gentoo.org/946735 Signed-off-by: Gabi Falk <gabifalk@gmx.com> Closes: https://github.com/gentoo/gentoo/pull/39807 Signed-off-by: Sam James <sam@gentoo.org>
* dev-libs/glib: don't try to patch non-existent sources w/ USE=-introspectionSam James2024-12-211-5/+5
| | | | | Closes: https://bugs.gentoo.org/946725 Signed-off-by: Sam James <sam@gentoo.org>
* dev-libs/glib: Stabilize 2.80.5-r1 arm64, #946484Arthur Zamarin2024-12-201-1/+1
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* dev-libs/glib: Stabilize 2.80.5-r1 x86, #946484Arthur Zamarin2024-12-201-1/+1
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* dev-libs/glib: Stabilize 2.80.5-r1 amd64, #946484Arthur Zamarin2024-12-201-1/+1
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* dev-libs/glib: patch bootstrap gobject-introspection in 2.80.5 for distutilsSam James2024-12-182-0/+108
| | | | | Closes: https://bugs.gentoo.org/946578 Signed-off-by: Sam James <sam@gentoo.org>
* dev-libs/glib: Backport Sam's handling of -Dglib_debug from 2.82Pacho Ramos2024-12-151-0/+437
| | | | | | | | -Dglib_debug is default-enabled in >=2.80 but they recommend distros default it to off. Bug: https://bugs.gentoo.org/946485 Signed-off-by: Pacho Ramos <pacho@gentoo.org>
* dev-libs/glib: drop 2.82.2Sam James2024-12-152-436/+0
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* dev-libs/glib: disable new assertions by defaultSam James2024-12-151-0/+2
| | | | | | | | | As reported in the bug and per upstream commit b02e29558fca8053fcb811fbf5691c09a876bb5a, -Dglib_debug is default-enabled in >=2.80 but they recommend distros default it to off, so let's do that. Closes: https://bugs.gentoo.org/946485 Signed-off-by: Sam James <sam@gentoo.org>
* dev-libs/glib: further fixes for using just-built gobject-introspectionSam James2024-12-153-0/+15
| | | | | | | | | | g-ir-scanner has some relocatable logic but it searches for 'lib', not 'lib64', so it can't find itself and eventually falls back to the system installation. Followup to cfe67c6d2d4e15989aa16764a92c36e284457712. Closes: https://bugs.gentoo.org/946221 Signed-off-by: Sam James <sam@gentoo.org>
* dev-libs/glib: add 2.82.4Sam James2024-12-142-0/+431
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* dev-libs/glib: fix INTROSPECTION_{BIN,LIB}_DIR for prefixSam James2024-12-142-4/+4
| | | | | Closes: https://bugs.gentoo.org/946134 Signed-off-by: Sam James <sam@gentoo.org>
* dev-libs/glib: fix finding just-built g-ir-scannerSam James2024-12-142-2/+8
| | | | | | | | | | | | | | | | Without PKG_CONFIG_PATH having the just-built paths prepended, meson will find binaries from gobject-introspection on the system instead which may be: a) old (which is a problem anyway, unclear if that's guaranteed to work, and weird given we just built one), or b) too old (where gobject-introspection on the system is older than the fixed versions for bug #865183) Fix that by prepending the right paths. Bug: https://bugs.gentoo.org/865183 Closes: https://bugs.gentoo.org/946221 Signed-off-by: Sam James <sam@gentoo.org>
* dev-libs/glib: use mkdir -p in src_testSam James2024-12-032-2/+4
| | | | | | | | | | It fails with multilib otherwise on the 2nd run as it already exists; I assume this may have worked before if the test destroyed the socket? We may want to change this to ${ABI} or something instead but then there's the risk of the path being too long for unix sockets. Signed-off-by: Sam James <sam@gentoo.org>
* dev-libs/glib: build minimal glib for bootstrapping introspectionSam James2024-12-032-0/+34
| | | | | | | | | | | Pass various options down to the glib subproject for the bootstrapping gobject-introspection part. This fixes an automagic build failure with DTrace at least as well as speeding up the build a bit. But overall, it should make it more robust as it's affected by fewer components. Signed-off-by: Sam James <sam@gentoo.org>
* dev-libs/glib: Fetch g-i conditionallyPacho Ramos2024-11-282-2/+2
| | | | | Closes: https://bugs.gentoo.org/945255 Signed-off-by: Pacho Ramos <pacho@gentoo.org>
* dev-libs/glib: update SRC_URIPacho Ramos2024-11-282-2/+2
| | | | | Closes: https://bugs.gentoo.org/945169 Signed-off-by: Pacho Ramos <pacho@gentoo.org>
* dev-libs/glib: sync g-i version depPacho Ramos2024-11-271-1/+1
| | | | Signed-off-by: Pacho Ramos <pacho@gentoo.org>
* dev-libs/glib: add 2.80.5Pacho Ramos2024-11-272-0/+411
| | | | Signed-off-by: Pacho Ramos <pacho@gentoo.org>
* dev-libs/glib: add 2.82.2, bootstrap gobject-introspectionBlake Batson2024-11-272-0/+411
| | | | | | | | | | | glib[introspection] has a circular dependency with gobject-introspection. Work around it by bootstrapping gobject-introspection internally if the required version is not installed already. Bug: https://bugs.gentoo.org/937616 Signed-off-by: Blake Batson <bbatson101@gmail.com> Signed-off-by: Pacho Ramos <pacho@gentoo.org>
* */*: unkeyword ~ia64Arthur Zamarin2024-09-125-5/+5
| | | | | | | | Change was created by running the following command:: ekeyword ^ia64 */*/*.ebuild Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* dev-libs/glib: fix systemtap has_version checkSam James2024-09-115-5/+5
| | | | | Bug: https://bugs.gentoo.org/938302 Signed-off-by: Sam James <sam@gentoo.org>
* dev-libs/glib: only pass --native-file when we actually use it.Paul Zander2024-08-315-54/+55
| | | | | | Closes: https://bugs.gentoo.org/938822 Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
* Revert "dev-libs/glib: Add meson.${CHOST}.ini.local file in src_pr...Joonas Niilola2024-08-314-16/+0
| | | | | | | | This reverts commit 32e91ca4f405d15a16302661c51607e0633c5606. Better fix inc. Signed-off-by: Joonas Niilola <juippis@gentoo.org>
* dev-libs/glib: Add meson.${CHOST}.ini.local file in src_prepareJoonas Niilola2024-08-314-0/+16
| | | | | | - expected by the build system. Signed-off-by: Joonas Niilola <juippis@gentoo.org>
* dev-libs/glib: Add meson.${CHOST}.ini.local file in src_prepareJoonas Niilola2024-08-311-0/+4
| | | | | | | - expected by the build system. Closes: https://bugs.gentoo.org/938822 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
* dev-libs/glib: handle dev-debug/systemtap[-dtrace-symlink]Sam James2024-08-315-0/+51
| | | | | | | See efb3a82e3496d3a52a1d04d4cbdb83b25655d96a. Bug: https://bugs.gentoo.org/938302 Signed-off-by: Sam James <sam@gentoo.org>
* dev-libs/glib: instrospection support is not meant to be used in multilibPacho Ramos2024-08-091-1/+1
| | | | | | Thanks-to: Andrew Nowa Ammerlaan Bug: https://bugs.gentoo.org/937616 Signed-off-by: Pacho Ramos <pacho@gentoo.org>
* dev-libs/glib: Fix metadata.xml indentationPacho Ramos2024-08-091-3/+3
| | | | Signed-off-by: Pacho Ramos <pacho@gentoo.org>
* dev-libs/glib: Fix dependenciesPacho Ramos2024-08-091-1/+1
| | | | Signed-off-by: Pacho Ramos <pacho@gentoo.org>
* dev-libs/glib: unkeyword 2.80.4 for ~s390Pacho Ramos2024-08-091-1/+1
| | | | Signed-off-by: Pacho Ramos <pacho@gentoo.org>
* dev-libs/glib: Bump to 2.80.4Guillermo Joandet2024-08-093-0/+324
| | | | | Signed-off-by: Guillermo Joandet <gjoandet@gmail.com> Signed-off-by: Pacho Ramos <pacho@gentoo.org>
* dev-libs/glib: stable 2.78.6 for hppa, bug #931633Rolf Eike Beer2024-07-081-1/+1
| | | | | Signed-off-by: Rolf Eike Beer <eike@sf-mail.de> Signed-off-by: Sam James <sam@gentoo.org>
* dev-libs/glib: enable py3.13Arthur Zamarin2024-07-051-1/+1
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* dev-libs/glib: Stabilize 2.78.6 arm64, #931633Arthur Zamarin2024-05-091-1/+1
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* dev-libs/glib: Stabilize 2.78.6 arm, #931633Arthur Zamarin2024-05-091-1/+1
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* dev-libs/glib: Stabilize 2.78.6 x86, #931633Arthur Zamarin2024-05-091-1/+1
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* dev-libs/glib: Stabilize 2.78.6 amd64, #931633Arthur Zamarin2024-05-091-1/+1
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* dev-libs/glib: Stabilize 2.78.6 ppc64, #931633Arthur Zamarin2024-05-091-1/+1
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* dev-libs/glib: Stabilize 2.78.6 ppc, #931633Arthur Zamarin2024-05-091-1/+1
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* dev-libs/glib: Stabilize 2.78.6 sparc, #931633Arthur Zamarin2024-05-091-1/+1
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>