[gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/

2024-05-09 Thread Arthur Zamarin
commit: 0ae9641ba8c5eb79b6c4f9f9a3bc154ccd860d92
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu May  9 18:52:19 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu May  9 18:52:19 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ae9641b

dev-libs/glib: Stabilize 2.78.6 arm64, #931633

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/glib/glib-2.78.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/glib/glib-2.78.6.ebuild b/dev-libs/glib/glib-2.78.6.ebuild
index 1c123a63dcde..339ee604f85f 100644
--- a/dev-libs/glib/glib-2.78.6.ebuild
+++ b/dev-libs/glib/glib-2.78.6.ebuild
@@ -16,7 +16,7 @@ IUSE="dbus debug +elf gtk-doc +mime selinux static-libs 
sysprof systemtap test u
 RESTRICT="!test? ( test )"
 REQUIRED_USE="gtk-doc? ( test )" # Bug #777636
 
-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"
 
 # * elfutils (via libelf) does not build on Windows. gresources are not 
embedded
 # within ELF binaries on that platform anyway and inspecting ELF binaries from



[gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/

2024-05-09 Thread Arthur Zamarin
commit: 2ec5621e103db9aeb1c48706641a14bb240aeb06
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu May  9 18:52:15 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu May  9 18:52:15 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ec5621e

dev-libs/glib: Stabilize 2.78.6 arm, #931633

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/glib/glib-2.78.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/glib/glib-2.78.6.ebuild b/dev-libs/glib/glib-2.78.6.ebuild
index f299abf5400d..1c123a63dcde 100644
--- a/dev-libs/glib/glib-2.78.6.ebuild
+++ b/dev-libs/glib/glib-2.78.6.ebuild
@@ -16,7 +16,7 @@ IUSE="dbus debug +elf gtk-doc +mime selinux static-libs 
sysprof systemtap test u
 RESTRICT="!test? ( test )"
 REQUIRED_USE="gtk-doc? ( test )" # Bug #777636
 
-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"
 
 # * elfutils (via libelf) does not build on Windows. gresources are not 
embedded
 # within ELF binaries on that platform anyway and inspecting ELF binaries from



[gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/

2024-05-09 Thread Arthur Zamarin
commit: 645dadb20e3e559aa006103836ba5f00aefca956
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu May  9 18:52:11 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu May  9 18:52:11 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=645dadb2

dev-libs/glib: Stabilize 2.78.6 x86, #931633

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/glib/glib-2.78.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/glib/glib-2.78.6.ebuild b/dev-libs/glib/glib-2.78.6.ebuild
index f99e918f9037..f299abf5400d 100644
--- a/dev-libs/glib/glib-2.78.6.ebuild
+++ b/dev-libs/glib/glib-2.78.6.ebuild
@@ -16,7 +16,7 @@ IUSE="dbus debug +elf gtk-doc +mime selinux static-libs 
sysprof systemtap test u
 RESTRICT="!test? ( test )"
 REQUIRED_USE="gtk-doc? ( test )" # Bug #777636
 
-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"
 
 # * elfutils (via libelf) does not build on Windows. gresources are not 
embedded
 # within ELF binaries on that platform anyway and inspecting ELF binaries from



[gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/

2024-05-09 Thread Arthur Zamarin
commit: 06a97220d060a9e43af5ee732ae67516fd8eaee7
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu May  9 18:52:08 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu May  9 18:52:08 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06a97220

dev-libs/glib: Stabilize 2.78.6 amd64, #931633

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/glib/glib-2.78.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/glib/glib-2.78.6.ebuild b/dev-libs/glib/glib-2.78.6.ebuild
index cf13311c09d9..f99e918f9037 100644
--- a/dev-libs/glib/glib-2.78.6.ebuild
+++ b/dev-libs/glib/glib-2.78.6.ebuild
@@ -16,7 +16,7 @@ IUSE="dbus debug +elf gtk-doc +mime selinux static-libs 
sysprof systemtap test u
 RESTRICT="!test? ( test )"
 REQUIRED_USE="gtk-doc? ( test )" # Bug #777636
 
-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"
 
 # * elfutils (via libelf) does not build on Windows. gresources are not 
embedded
 # within ELF binaries on that platform anyway and inspecting ELF binaries from



[gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/

2024-05-09 Thread Arthur Zamarin
commit: deeab37cef0a226be2562de87261e8a18d45cb26
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu May  9 18:40:06 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu May  9 18:40:06 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=deeab37c

dev-libs/glib: Stabilize 2.78.6 ppc64, #931633

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/glib/glib-2.78.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/glib/glib-2.78.6.ebuild b/dev-libs/glib/glib-2.78.6.ebuild
index a4969c52160e..cf13311c09d9 100644
--- a/dev-libs/glib/glib-2.78.6.ebuild
+++ b/dev-libs/glib/glib-2.78.6.ebuild
@@ -16,7 +16,7 @@ IUSE="dbus debug +elf gtk-doc +mime selinux static-libs 
sysprof systemtap test u
 RESTRICT="!test? ( test )"
 REQUIRED_USE="gtk-doc? ( test )" # Bug #777636
 
-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"
 
 # * elfutils (via libelf) does not build on Windows. gresources are not 
embedded
 # within ELF binaries on that platform anyway and inspecting ELF binaries from



[gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/

2024-05-09 Thread Arthur Zamarin
commit: 3cbc04ecd8a54b5d2e423d319b4291e26f306c09
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu May  9 18:37:07 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu May  9 18:37:07 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3cbc04ec

dev-libs/glib: Stabilize 2.78.6 ppc, #931633

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/glib/glib-2.78.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/glib/glib-2.78.6.ebuild b/dev-libs/glib/glib-2.78.6.ebuild
index 6f3436509fa4..a4969c52160e 100644
--- a/dev-libs/glib/glib-2.78.6.ebuild
+++ b/dev-libs/glib/glib-2.78.6.ebuild
@@ -16,7 +16,7 @@ IUSE="dbus debug +elf gtk-doc +mime selinux static-libs 
sysprof systemtap test u
 RESTRICT="!test? ( test )"
 REQUIRED_USE="gtk-doc? ( test )" # Bug #777636
 
-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"
 
 # * elfutils (via libelf) does not build on Windows. gresources are not 
embedded
 # within ELF binaries on that platform anyway and inspecting ELF binaries from



[gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/

2024-05-09 Thread Arthur Zamarin
commit: 4cea8c7876783f0e7834c8f5fdf23a13a63d0c12
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu May  9 18:20:52 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu May  9 18:20:52 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4cea8c78

dev-libs/glib: Stabilize 2.78.6 sparc, #931633

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/glib/glib-2.78.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/glib/glib-2.78.6.ebuild b/dev-libs/glib/glib-2.78.6.ebuild
index 2786dd04cb36..6f3436509fa4 100644
--- a/dev-libs/glib/glib-2.78.6.ebuild
+++ b/dev-libs/glib/glib-2.78.6.ebuild
@@ -16,7 +16,7 @@ IUSE="dbus debug +elf gtk-doc +mime selinux static-libs 
sysprof systemtap test u
 RESTRICT="!test? ( test )"
 REQUIRED_USE="gtk-doc? ( test )" # Bug #777636
 
-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"
 
 # * elfutils (via libelf) does not build on Windows. gresources are not 
embedded
 # within ELF binaries on that platform anyway and inspecting ELF binaries from



[gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/

2024-05-09 Thread Mart Raudsepp
commit: c5408df9920f1a3abb1489915dad45b705e8fcee
Author: Mart Raudsepp  gentoo  org>
AuthorDate: Thu May  9 13:27:56 2024 +
Commit: Mart Raudsepp  gentoo  org>
CommitDate: Thu May  9 14:10:27 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5408df9

dev-libs/glib: add 2.78.6

Bug: https://bugs.gentoo.org/931507
Signed-off-by: Mart Raudsepp  gentoo.org>

 dev-libs/glib/Manifest   |   1 +
 dev-libs/glib/glib-2.78.6.ebuild | 320 +++
 2 files changed, 321 insertions(+)

diff --git a/dev-libs/glib/Manifest b/dev-libs/glib/Manifest
index b5a930af82f4..c46b7e68014f 100644
--- a/dev-libs/glib/Manifest
+++ b/dev-libs/glib/Manifest
@@ -1,3 +1,4 @@
 DIST glib-2.76.4.tar.xz 5274356 BLAKE2B 
c9ceb514ea81e1e6ab2d0efc82c48c0d8ae6c997fd0e3c56d47a5174b027f785b58266fff73b1d1132e272305126fbff22e3c65d47de46224cd12fa49796d5bc
 SHA512 
f76932dc5090a44880373228e2b162f338415d06f7c90f2950eab1a43bb191c56a1797da4d377594f6a999197fef4defb848039259cfa4105bb68288a928f5b7
 DIST glib-2.78.3.tar.xz 5321388 BLAKE2B 
6ef754b15e1ce4377eafdfc317025ac65c3d8010a8816a0cef786cec9da2af9f7d7d1da735c971ab8c848b2dcec050330e5b0fdceb156a36d739848e6160cd19
 SHA512 
9c1af75fb973d23ce0286d5b7836eea45f9628c148ced5ac10e10abceda05024ae4c57f01439824d3287d986527500b7b959828b630b6e4a3314b5224f4d7246
 DIST glib-2.78.4.tar.xz 5331892 BLAKE2B 
ada7134597d7d863e581a2bb1097ac07a63b27b53309aadab5b1d3686327ee718ad8c5c07af3fce5cc12328e728fc2c4df5fd9e69f431fa00dc634062ef7f926
 SHA512 
6f3a06e10e7373a2dbf0688512de4126472fb73cbec488b7983b5ffecff09c64d7e1ca462f892e8f215d3d277d103ca802bad7ef0bd0f91edf26fc6ce67187b6
+DIST glib-2.78.6.tar.xz 5344808 BLAKE2B 
d16173794c4aa019459cf8c8c84d4107fb8393828f41ec6c631b9452890f34f9022ed848a543ed134fdb8a575faef6b941cea3e05de512eb1b7a99f7601a2485
 SHA512 
8d75f8fd77b6309215ca86a0c7648878efe11051f18b279840c137669017ea4066388f8682367e4ea3f154333d833c9dc28ccd4a66a91f0c3854a40a2838f8da

diff --git a/dev-libs/glib/glib-2.78.6.ebuild b/dev-libs/glib/glib-2.78.6.ebuild
new file mode 100644
index ..2786dd04cb36
--- /dev/null
+++ b/dev-libs/glib/glib-2.78.6.ebuild
@@ -0,0 +1,320 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_REQ_USE="xml(+)"
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit gnome.org gnome2-utils linux-info meson-multilib multilib 
python-any-r1 toolchain-funcs xdg
+
+DESCRIPTION="The GLib library of C routines"
+HOMEPAGE="https://www.gtk.org/;
+
+LICENSE="LGPL-2.1+"
+SLOT="2"
+IUSE="dbus debug +elf gtk-doc +mime selinux static-libs sysprof systemtap test 
utils xattr"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="gtk-doc? ( test )" # Bug #777636
+
+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"
+
+# * elfutils (via libelf) does not build on Windows. gresources are not 
embedded
+# within ELF binaries on that platform anyway and inspecting ELF binaries from
+# other platforms is not that useful so exclude the dependency in this case.
+# * Technically static-libs is needed on zlib, util-linux and perhaps more, but
+# these are used by GIO, which glib[static-libs] consumers don't really seem
+# to need at all, thus not imposing the deps for now and once some consumers
+# are actually found to static link libgio-2.0.a, we can revisit and either add
+# them or just put the (build) deps in that rare consumer instead of recursive
+# RDEPEND here (due to lack of recursive DEPEND).
+RDEPEND="
+   !=virtual/libiconv-0-r1[${MULTILIB_USEDEP}]
+   >=dev-libs/libpcre2-10.32:0=[${MULTILIB_USEDEP},unicode(+),static-libs?]
+   >=dev-libs/libffi-3.0.13-r1:=[${MULTILIB_USEDEP}]
+   >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]
+   >=virtual/libintl-0-r2[${MULTILIB_USEDEP}]
+   kernel_linux? ( >=sys-apps/util-linux-2.23[${MULTILIB_USEDEP}] )
+   selinux? ( >=sys-libs/libselinux-2.2.2-r5[${MULTILIB_USEDEP}] )
+   xattr? ( !elibc_glibc? ( >=sys-apps/attr-2.4.47-r1[${MULTILIB_USEDEP}] 
) )
+   elf? ( virtual/libelf:0= )
+   sysprof? ( >=dev-util/sysprof-capture-3.40.1:4[${MULTILIB_USEDEP}] )
+"
+DEPEND="${RDEPEND}"
+# libxml2 used for optional tests that get automatically skipped
+BDEPEND="
+   app-text/docbook-xsl-stylesheets
+   dev-libs/libxslt
+   >=sys-devel/gettext-0.19.8
+   gtk-doc? ( >=dev-util/gtk-doc-1.33
+   app-text/docbook-xml-dtd:4.2
+   app-text/docbook-xml-dtd:4.5 )
+   systemtap? ( >=dev-debug/systemtap-1.3 )
+   ${PYTHON_DEPS}
+   $(python_gen_any_dep '
+   dev-python/packaging[${PYTHON_USEDEP}]
+   ')
+   test? ( >=sys-apps/dbus-1.2.14 )
+   virtual/pkgconfig
+"
+# TODO: >=dev-util/gdbus-codegen-${PV} test dep once we modify 
gio/tests/meson.build to use external gdbus-codegen
+
+PDEPEND="
+   dbus? ( 

[gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/

2024-05-08 Thread Arthur Zamarin
commit: 0f50d39fecd06c1ba810364e8af721ca8e9be71a
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Wed May  8 16:59:03 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Wed May  8 16:59:03 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f50d39f

dev-libs/glib: Stabilize 2.78.4-r1 arm, #928842

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/glib/glib-2.78.4-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/glib/glib-2.78.4-r1.ebuild 
b/dev-libs/glib/glib-2.78.4-r1.ebuild
index 4a0b8d16cd37..ba53f600c1cc 100644
--- a/dev-libs/glib/glib-2.78.4-r1.ebuild
+++ b/dev-libs/glib/glib-2.78.4-r1.ebuild
@@ -16,7 +16,7 @@ IUSE="dbus debug +elf gtk-doc +mime selinux static-libs 
sysprof systemtap test u
 RESTRICT="!test? ( test )"
 REQUIRED_USE="gtk-doc? ( test )" # Bug #777636
 
-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"
 
 # * elfutils (via libelf) does not build on Windows. gresources are not 
embedded
 # within ELF binaries on that platform anyway and inspecting ELF binaries from



[gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/

2024-05-08 Thread Arthur Zamarin
commit: b84cc6ab4c22e828609fa65a60e8f5d77657cb6d
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Wed May  8 16:58:58 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Wed May  8 16:58:58 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b84cc6ab

dev-libs/glib: Stabilize 2.78.4-r1 x86, #928842

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/glib/glib-2.78.4-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/glib/glib-2.78.4-r1.ebuild 
b/dev-libs/glib/glib-2.78.4-r1.ebuild
index c20a2274f9dd..4a0b8d16cd37 100644
--- a/dev-libs/glib/glib-2.78.4-r1.ebuild
+++ b/dev-libs/glib/glib-2.78.4-r1.ebuild
@@ -16,7 +16,7 @@ IUSE="dbus debug +elf gtk-doc +mime selinux static-libs 
sysprof systemtap test u
 RESTRICT="!test? ( test )"
 REQUIRED_USE="gtk-doc? ( test )" # Bug #777636
 
-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"
 
 # * elfutils (via libelf) does not build on Windows. gresources are not 
embedded
 # within ELF binaries on that platform anyway and inspecting ELF binaries from



[gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/

2024-05-08 Thread Arthur Zamarin
commit: 05f7aef782914f91539a8274a1017970b7a4e8c2
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Wed May  8 16:59:08 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Wed May  8 16:59:08 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05f7aef7

dev-libs/glib: Stabilize 2.78.4-r1 arm64, #928842

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/glib/glib-2.78.4-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/glib/glib-2.78.4-r1.ebuild 
b/dev-libs/glib/glib-2.78.4-r1.ebuild
index ba53f600c1cc..f3dbbeb1f18b 100644
--- a/dev-libs/glib/glib-2.78.4-r1.ebuild
+++ b/dev-libs/glib/glib-2.78.4-r1.ebuild
@@ -16,7 +16,7 @@ IUSE="dbus debug +elf gtk-doc +mime selinux static-libs 
sysprof systemtap test u
 RESTRICT="!test? ( test )"
 REQUIRED_USE="gtk-doc? ( test )" # Bug #777636
 
-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"
 
 # * elfutils (via libelf) does not build on Windows. gresources are not 
embedded
 # within ELF binaries on that platform anyway and inspecting ELF binaries from



[gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/

2024-05-08 Thread Arthur Zamarin
commit: fda775a0d7deb231bc761eb26411ea6797891bdd
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Wed May  8 16:58:54 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Wed May  8 16:58:54 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fda775a0

dev-libs/glib: Stabilize 2.78.4-r1 amd64, #928842

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/glib/glib-2.78.4-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/glib/glib-2.78.4-r1.ebuild 
b/dev-libs/glib/glib-2.78.4-r1.ebuild
index 4e0a4c13ecd6..c20a2274f9dd 100644
--- a/dev-libs/glib/glib-2.78.4-r1.ebuild
+++ b/dev-libs/glib/glib-2.78.4-r1.ebuild
@@ -16,7 +16,7 @@ IUSE="dbus debug +elf gtk-doc +mime selinux static-libs 
sysprof systemtap test u
 RESTRICT="!test? ( test )"
 REQUIRED_USE="gtk-doc? ( test )" # Bug #777636
 
-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"
 
 # * elfutils (via libelf) does not build on Windows. gresources are not 
embedded
 # within ELF binaries on that platform anyway and inspecting ELF binaries from



[gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/

2024-05-02 Thread Mart Raudsepp
commit: e1e6b993fb22fdf8d023d003f1769a767b05ef0d
Author: Matoro Mahri  matoro  tk>
AuthorDate: Fri Apr 26 20:58:27 2024 +
Commit: Mart Raudsepp  gentoo  org>
CommitDate: Thu May  2 08:02:27 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1e6b993

dev-libs/glib: crank up test timeouts

Bug: https://bugs.gentoo.org/803068
Bug: https://bugs.gentoo.org/928842
Signed-off-by: Matoro Mahri  matoro.tk>
Closes: https://github.com/gentoo/gentoo/pull/36444
Signed-off-by: Mart Raudsepp  gentoo.org>

 dev-libs/glib/glib-2.76.4.ebuild| 2 +-
 dev-libs/glib/glib-2.78.3.ebuild| 2 +-
 dev-libs/glib/glib-2.78.4-r1.ebuild | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-libs/glib/glib-2.76.4.ebuild b/dev-libs/glib/glib-2.76.4.ebuild
index 51da7bfa347f..356bd10b8796 100644
--- a/dev-libs/glib/glib-2.76.4.ebuild
+++ b/dev-libs/glib/glib-2.76.4.ebuild
@@ -217,7 +217,7 @@ multilib_src_test() {
mkdir "$G_DBUS_COOKIE_SHA1_KEYRING_DIR"
chmod 0700 "$G_DBUS_COOKIE_SHA1_KEYRING_DIR"
 
-   meson_src_test --timeout-multiplier 2 --no-suite flaky
+   meson_src_test --timeout-multiplier 20 --no-suite flaky
 }
 
 multilib_src_install() {

diff --git a/dev-libs/glib/glib-2.78.3.ebuild b/dev-libs/glib/glib-2.78.3.ebuild
index 51da7bfa347f..356bd10b8796 100644
--- a/dev-libs/glib/glib-2.78.3.ebuild
+++ b/dev-libs/glib/glib-2.78.3.ebuild
@@ -217,7 +217,7 @@ multilib_src_test() {
mkdir "$G_DBUS_COOKIE_SHA1_KEYRING_DIR"
chmod 0700 "$G_DBUS_COOKIE_SHA1_KEYRING_DIR"
 
-   meson_src_test --timeout-multiplier 2 --no-suite flaky
+   meson_src_test --timeout-multiplier 20 --no-suite flaky
 }
 
 multilib_src_install() {

diff --git a/dev-libs/glib/glib-2.78.4-r1.ebuild 
b/dev-libs/glib/glib-2.78.4-r1.ebuild
index f1a94faa0074..4e0a4c13ecd6 100644
--- a/dev-libs/glib/glib-2.78.4-r1.ebuild
+++ b/dev-libs/glib/glib-2.78.4-r1.ebuild
@@ -226,7 +226,7 @@ multilib_src_test() {
mkdir "$G_DBUS_COOKIE_SHA1_KEYRING_DIR"
chmod 0700 "$G_DBUS_COOKIE_SHA1_KEYRING_DIR"
 
-   meson_src_test --timeout-multiplier 2 --no-suite flaky
+   meson_src_test --timeout-multiplier 20 --no-suite flaky
 }
 
 multilib_src_install() {



[gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/

2024-04-09 Thread Arthur Zamarin
commit: 39b192fa76b7dab156214144cb71b14df5b0038b
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue Apr  9 19:59:54 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Apr  9 19:59:54 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39b192fa

dev-libs/glib: Stabilize 2.78.4-r1 ppc, #928842

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/glib/glib-2.78.4-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/glib/glib-2.78.4-r1.ebuild 
b/dev-libs/glib/glib-2.78.4-r1.ebuild
index 87da23b245a5..f1a94faa0074 100644
--- a/dev-libs/glib/glib-2.78.4-r1.ebuild
+++ b/dev-libs/glib/glib-2.78.4-r1.ebuild
@@ -16,7 +16,7 @@ IUSE="dbus debug +elf gtk-doc +mime selinux static-libs 
sysprof systemtap test u
 RESTRICT="!test? ( test )"
 REQUIRED_USE="gtk-doc? ( test )" # Bug #777636
 
-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"
 
 # * elfutils (via libelf) does not build on Windows. gresources are not 
embedded
 # within ELF binaries on that platform anyway and inspecting ELF binaries from



[gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/

2024-04-07 Thread Arthur Zamarin
commit: 9b9f165e9123e7ef7735eda71e06b33bc1b55f7f
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Apr  7 07:29:38 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Apr  7 07:29:38 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b9f165e

dev-libs/glib: Stabilize 2.78.4-r1 ppc64, #928842

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/glib/glib-2.78.4-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/glib/glib-2.78.4-r1.ebuild 
b/dev-libs/glib/glib-2.78.4-r1.ebuild
index 08c9205747da..87da23b245a5 100644
--- a/dev-libs/glib/glib-2.78.4-r1.ebuild
+++ b/dev-libs/glib/glib-2.78.4-r1.ebuild
@@ -16,7 +16,7 @@ IUSE="dbus debug +elf gtk-doc +mime selinux static-libs 
sysprof systemtap test u
 RESTRICT="!test? ( test )"
 REQUIRED_USE="gtk-doc? ( test )" # Bug #777636
 
-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"
 
 # * elfutils (via libelf) does not build on Windows. gresources are not 
embedded
 # within ELF binaries on that platform anyway and inspecting ELF binaries from



[gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/

2024-04-03 Thread Sam James
commit: 2be521e30ea9d9485d9541c7213550f6576bcf13
Author: Marco Sirabella  sirabella  org>
AuthorDate: Sun Mar  3 03:36:00 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Apr  4 01:06:40 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2be521e3

dev-libs/glib: set glib_debug rather than buildtype

glib has a special flag signalling a debug build, without this, G_ENABLE_DEBUG
is only set iff --debug=true AND --optimization={0,g}
(which, admittedly, -Dbuildtype=debug *does* do. It's just better to be
explicit about these things)

Signed-off-by: Marco Sirabella  sirabella.org>
Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 dev-libs/glib/glib-2.78.4-r1.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/dev-libs/glib/glib-2.78.4-r1.ebuild 
b/dev-libs/glib/glib-2.78.4-r1.ebuild
index 7bd791bf5334..18380b00b6af 100644
--- a/dev-libs/glib/glib-2.78.4-r1.ebuild
+++ b/dev-libs/glib/glib-2.78.4-r1.ebuild
@@ -188,7 +188,9 @@ multilib_src_configure() {
#fi
 
local emesonargs=(
-   -Dbuildtype=$(usex debug debug plain)
+   -Dbuildtype=plain
+
+   $(meson_feature debug glib_debug)
-Ddefault_library=$(usex static-libs both shared)
-Druntime_dir="${EPREFIX}"/run
$(meson_feature selinux)



[gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/, dev-libs/glib/files/

2024-03-25 Thread Sam James
commit: af86f0b8d5440a8926218c7ccc5ab20f60fb471e
Author: Sam James  gentoo  org>
AuthorDate: Mon Mar 25 10:45:40 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Mar 25 10:46:12 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af86f0b8

dev-libs/glib: backport fix for tests w/ >=dev-libs/libpcre2-10.43

Test-only fix.

Signed-off-by: Sam James  gentoo.org>

 .../glib/files/glib-2.78.4-libpcre2-10.43.patch| 45 ++
 dev-libs/glib/glib-2.78.4-r1.ebuild|  1 +
 2 files changed, 46 insertions(+)

diff --git a/dev-libs/glib/files/glib-2.78.4-libpcre2-10.43.patch 
b/dev-libs/glib/files/glib-2.78.4-libpcre2-10.43.patch
new file mode 100644
index ..27dce8f40607
--- /dev/null
+++ b/dev-libs/glib/files/glib-2.78.4-libpcre2-10.43.patch
@@ -0,0 +1,45 @@
+https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3945
+
+From cce3ae98a2c1966719daabff5a4ec6cf94a846f6 Mon Sep 17 00:00:00 2001
+From: Philip Withnall 
+Date: Mon, 26 Feb 2024 16:55:44 +
+Subject: [PATCH] tests: Remove variable-length lookbehind tests for GRegex
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+PCRE2 10.43 has now introduced support for variable-length lookbehind,
+so these tests now fail if GLib is built against PCRE2 10.43 or higher.
+
+See
+https://github.com/PCRE2Project/pcre2/blob/e8db6fa7137f4c6f66cb87e0a3c9467252ec1ef7/ChangeLog#L94.
+
+Rather than making the tests conditional on the version of PCRE2 in use,
+just remove them. They are mostly testing the PCRE2 code rather than
+any code in GLib, so don’t have much value.
+
+This should fix CI runs on msys2-mingw32, which updated to PCRE2 10.43 2
+days ago.
+
+Signed-off-by: Philip Withnall 
+--- a/glib/tests/regex.c
 b/glib/tests/regex.c
+@@ -1885,16 +1885,6 @@ test_lookbehind (void)
+   g_match_info_free (match);
+   g_regex_unref (regex);
+ 
+-  regex = g_regex_new ("(?

[gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/

2024-03-01 Thread Sam James
commit: ba7b5e075f5f06ed747597f3bf42800359488c1b
Author: Sam James  gentoo  org>
AuthorDate: Fri Mar  1 22:06:57 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Mar  1 22:06:57 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba7b5e07

dev-libs/glib: --buildtype -> -Dbuildtype for meson.eclass changes

Since b95ea11330e446d0deb89ca7d78356cb2a7d0d06, we need to do -Dbuildtype,
not --buildtype.

Signed-off-by: Sam James  gentoo.org>

 dev-libs/glib/glib-2.76.4.ebuild| 2 +-
 dev-libs/glib/glib-2.78.3.ebuild| 2 +-
 dev-libs/glib/glib-2.78.4-r1.ebuild | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-libs/glib/glib-2.76.4.ebuild b/dev-libs/glib/glib-2.76.4.ebuild
index 7e94c72d6e03..51da7bfa347f 100644
--- a/dev-libs/glib/glib-2.76.4.ebuild
+++ b/dev-libs/glib/glib-2.76.4.ebuild
@@ -179,7 +179,7 @@ multilib_src_configure() {
#fi
 
local emesonargs=(
-   --buildtype $(usex debug debug plain)
+   -Dbuildtype=$(usex debug debug plain)
-Ddefault_library=$(usex static-libs both shared)
-Druntime_dir="${EPREFIX}"/run
$(meson_feature selinux)

diff --git a/dev-libs/glib/glib-2.78.3.ebuild b/dev-libs/glib/glib-2.78.3.ebuild
index 7e94c72d6e03..51da7bfa347f 100644
--- a/dev-libs/glib/glib-2.78.3.ebuild
+++ b/dev-libs/glib/glib-2.78.3.ebuild
@@ -179,7 +179,7 @@ multilib_src_configure() {
#fi
 
local emesonargs=(
-   --buildtype $(usex debug debug plain)
+   -Dbuildtype=$(usex debug debug plain)
-Ddefault_library=$(usex static-libs both shared)
-Druntime_dir="${EPREFIX}"/run
$(meson_feature selinux)

diff --git a/dev-libs/glib/glib-2.78.4-r1.ebuild 
b/dev-libs/glib/glib-2.78.4-r1.ebuild
index ec81f416256d..a6f0241faaa9 100644
--- a/dev-libs/glib/glib-2.78.4-r1.ebuild
+++ b/dev-libs/glib/glib-2.78.4-r1.ebuild
@@ -187,7 +187,7 @@ multilib_src_configure() {
#fi
 
local emesonargs=(
-   --buildtype $(usex debug debug plain)
+   -Dbuildtype=$(usex debug debug plain)
-Ddefault_library=$(usex static-libs both shared)
-Druntime_dir="${EPREFIX}"/run
$(meson_feature selinux)



[gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/

2024-02-03 Thread Sam James
commit: 8b7f297aab7d947502778f22a1064ef61009eb8c
Author: Sam James  gentoo  org>
AuthorDate: Sat Feb  3 11:05:51 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Feb  3 11:06:05 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b7f297a

dev-libs/glib: Stabilize 2.78.3 sparc, #920657

Signed-off-by: Sam James  gentoo.org>

 dev-libs/glib/glib-2.78.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/glib/glib-2.78.3.ebuild b/dev-libs/glib/glib-2.78.3.ebuild
index 1256756ac1d4..7e94c72d6e03 100644
--- a/dev-libs/glib/glib-2.78.3.ebuild
+++ b/dev-libs/glib/glib-2.78.3.ebuild
@@ -16,7 +16,7 @@ IUSE="dbus debug +elf gtk-doc +mime selinux static-libs 
sysprof systemtap test u
 RESTRICT="!test? ( test )"
 REQUIRED_USE="gtk-doc? ( test )" # Bug #777636
 
-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"
 
 # * elfutils (via libelf) does not build on Windows. gresources are not 
embedded
 # within ELF binaries on that platform anyway and inspecting ELF binaries from



[gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/

2024-02-03 Thread Sam James
commit: 7e19ab79f1177c594c388a2464d952542d867758
Author: Sam James  gentoo  org>
AuthorDate: Sat Feb  3 11:05:44 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Feb  3 11:06:03 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e19ab79

dev-libs/glib: Stabilize 2.78.3 hppa, #920657

Signed-off-by: Sam James  gentoo.org>

 dev-libs/glib/glib-2.78.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/glib/glib-2.78.3.ebuild b/dev-libs/glib/glib-2.78.3.ebuild
index e7eba9b15ebe..1256756ac1d4 100644
--- a/dev-libs/glib/glib-2.78.3.ebuild
+++ b/dev-libs/glib/glib-2.78.3.ebuild
@@ -16,7 +16,7 @@ IUSE="dbus debug +elf gtk-doc +mime selinux static-libs 
sysprof systemtap test u
 RESTRICT="!test? ( test )"
 REQUIRED_USE="gtk-doc? ( test )" # Bug #777636
 
-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"
 
 # * elfutils (via libelf) does not build on Windows. gresources are not 
embedded
 # within ELF binaries on that platform anyway and inspecting ELF binaries from



[gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/files/, dev-libs/glib/

2024-01-21 Thread Sam James
commit: 11641c3d40b399e3eacef4cecf256b5f2b4b5aa3
Author: Sam James  gentoo  org>
AuthorDate: Mon Jan 22 05:51:57 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Jan 22 05:51:57 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11641c3d

dev-libs/glib: fix Python 3.12 build w/o setuptools

Closes: https://bugs.gentoo.org/922654
Signed-off-by: Sam James  gentoo.org>

 dev-libs/glib/files/glib-2.78.4-distutils.patch| 36 ++
 .../{glib-2.78.4.ebuild => glib-2.78.4-r1.ebuild}  |  8 +
 2 files changed, 44 insertions(+)

diff --git a/dev-libs/glib/files/glib-2.78.4-distutils.patch 
b/dev-libs/glib/files/glib-2.78.4-distutils.patch
new file mode 100644
index ..70ceebcf7095
--- /dev/null
+++ b/dev-libs/glib/files/glib-2.78.4-distutils.patch
@@ -0,0 +1,36 @@
+https://bugs.gentoo.org/922654
+https://gitlab.gnome.org/GNOME/glib/-/issues/3134
+https://gitlab.gnome.org/GNOME/glib/-/commit/6ef967a0f930ce37a8c9b5aff969693b34714291
+
+[sam: Trimmed the CI changes.]
+
+From 6ef967a0f930ce37a8c9b5aff969693b34714291 Mon Sep 17 00:00:00 2001
+From: Jordan Williams 
+Date: Fri, 1 Dec 2023 09:53:50 -0600
+Subject: [PATCH] Switch from the deprecated distutils module to the packaging
+ module
+
+The distutils module was removed in Python 3.12.
+---
+
+--- a/gio/gdbus-2.0/codegen/utils.py
 b/gio/gdbus-2.0/codegen/utils.py
+@@ -19,7 +19,7 @@
+ #
+ # Author: David Zeuthen 
+ 
+-import distutils.version
++import packaging.version
+ import os
+ import sys
+ 
+@@ -166,4 +166,4 @@ def version_cmp_key(key):
+ v = str(key[0])
+ else:
+ v = "0"
+-return (distutils.version.LooseVersion(v), key[1])
++return (packaging.version.Version(v), key[1])
+-- 
+GitLab
+
+

diff --git a/dev-libs/glib/glib-2.78.4.ebuild 
b/dev-libs/glib/glib-2.78.4-r1.ebuild
similarity index 98%
rename from dev-libs/glib/glib-2.78.4.ebuild
rename to dev-libs/glib/glib-2.78.4-r1.ebuild
index 6fdf95422485..ec81f416256d 100644
--- a/dev-libs/glib/glib-2.78.4.ebuild
+++ b/dev-libs/glib/glib-2.78.4-r1.ebuild
@@ -51,6 +51,9 @@ BDEPEND="
app-text/docbook-xml-dtd:4.5 )
systemtap? ( >=dev-debug/systemtap-1.3 )
${PYTHON_DEPS}
+   $(python_gen_any_dep '
+   dev-python/packaging[${PYTHON_USEDEP}]
+   ')
test? ( >=sys-apps/dbus-1.2.14 )
virtual/pkgconfig
 "
@@ -69,8 +72,13 @@ MULTILIB_CHOST_TOOLS=(
 
 PATCHES=(
"${FILESDIR}"/${PN}-2.64.1-mark-gdbus-server-auth-test-flaky.patch
+   "${FILESDIR}"/${PN}-2.78.4-distutils.patch
 )
 
+python_check_deps() {
+   python_has_version "dev-python/packaging[${PYTHON_USEDEP}]"
+}
+
 pkg_setup() {
if use kernel_linux ; then
CONFIG_CHECK="~INOTIFY_USER"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/

2024-01-21 Thread Mart Raudsepp
commit: 25f7c9419f551769ded272280e99f1b2b2fa8620
Author: Mart Raudsepp  gentoo  org>
AuthorDate: Sun Jan 21 21:18:10 2024 +
Commit: Mart Raudsepp  gentoo  org>
CommitDate: Sun Jan 21 21:23:33 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25f7c941

dev-libs/glib: add 2.78.4

Closes: https://bugs.gentoo.org/919904
Signed-off-by: Mart Raudsepp  gentoo.org>

 dev-libs/glib/Manifest   |   1 +
 dev-libs/glib/glib-2.78.4.ebuild | 312 +++
 2 files changed, 313 insertions(+)

diff --git a/dev-libs/glib/Manifest b/dev-libs/glib/Manifest
index 633e3359a651..b5a930af82f4 100644
--- a/dev-libs/glib/Manifest
+++ b/dev-libs/glib/Manifest
@@ -1,2 +1,3 @@
 DIST glib-2.76.4.tar.xz 5274356 BLAKE2B 
c9ceb514ea81e1e6ab2d0efc82c48c0d8ae6c997fd0e3c56d47a5174b027f785b58266fff73b1d1132e272305126fbff22e3c65d47de46224cd12fa49796d5bc
 SHA512 
f76932dc5090a44880373228e2b162f338415d06f7c90f2950eab1a43bb191c56a1797da4d377594f6a999197fef4defb848039259cfa4105bb68288a928f5b7
 DIST glib-2.78.3.tar.xz 5321388 BLAKE2B 
6ef754b15e1ce4377eafdfc317025ac65c3d8010a8816a0cef786cec9da2af9f7d7d1da735c971ab8c848b2dcec050330e5b0fdceb156a36d739848e6160cd19
 SHA512 
9c1af75fb973d23ce0286d5b7836eea45f9628c148ced5ac10e10abceda05024ae4c57f01439824d3287d986527500b7b959828b630b6e4a3314b5224f4d7246
+DIST glib-2.78.4.tar.xz 5331892 BLAKE2B 
ada7134597d7d863e581a2bb1097ac07a63b27b53309aadab5b1d3686327ee718ad8c5c07af3fce5cc12328e728fc2c4df5fd9e69f431fa00dc634062ef7f926
 SHA512 
6f3a06e10e7373a2dbf0688512de4126472fb73cbec488b7983b5ffecff09c64d7e1ca462f892e8f215d3d277d103ca802bad7ef0bd0f91edf26fc6ce67187b6

diff --git a/dev-libs/glib/glib-2.78.4.ebuild b/dev-libs/glib/glib-2.78.4.ebuild
new file mode 100644
index ..6fdf95422485
--- /dev/null
+++ b/dev-libs/glib/glib-2.78.4.ebuild
@@ -0,0 +1,312 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_REQ_USE="xml(+)"
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit gnome.org gnome2-utils linux-info meson-multilib multilib 
python-any-r1 toolchain-funcs xdg
+
+DESCRIPTION="The GLib library of C routines"
+HOMEPAGE="https://www.gtk.org/;
+
+LICENSE="LGPL-2.1+"
+SLOT="2"
+IUSE="dbus debug +elf gtk-doc +mime selinux static-libs sysprof systemtap test 
utils xattr"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="gtk-doc? ( test )" # Bug #777636
+
+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"
+
+# * elfutils (via libelf) does not build on Windows. gresources are not 
embedded
+# within ELF binaries on that platform anyway and inspecting ELF binaries from
+# other platforms is not that useful so exclude the dependency in this case.
+# * Technically static-libs is needed on zlib, util-linux and perhaps more, but
+# these are used by GIO, which glib[static-libs] consumers don't really seem
+# to need at all, thus not imposing the deps for now and once some consumers
+# are actually found to static link libgio-2.0.a, we can revisit and either add
+# them or just put the (build) deps in that rare consumer instead of recursive
+# RDEPEND here (due to lack of recursive DEPEND).
+RDEPEND="
+   !=virtual/libiconv-0-r1[${MULTILIB_USEDEP}]
+   >=dev-libs/libpcre2-10.32:0=[${MULTILIB_USEDEP},unicode(+),static-libs?]
+   >=dev-libs/libffi-3.0.13-r1:=[${MULTILIB_USEDEP}]
+   >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]
+   >=virtual/libintl-0-r2[${MULTILIB_USEDEP}]
+   kernel_linux? ( >=sys-apps/util-linux-2.23[${MULTILIB_USEDEP}] )
+   selinux? ( >=sys-libs/libselinux-2.2.2-r5[${MULTILIB_USEDEP}] )
+   xattr? ( !elibc_glibc? ( >=sys-apps/attr-2.4.47-r1[${MULTILIB_USEDEP}] 
) )
+   elf? ( virtual/libelf:0= )
+   sysprof? ( >=dev-util/sysprof-capture-3.40.1:4[${MULTILIB_USEDEP}] )
+"
+DEPEND="${RDEPEND}"
+# libxml2 used for optional tests that get automatically skipped
+BDEPEND="
+   app-text/docbook-xsl-stylesheets
+   dev-libs/libxslt
+   >=sys-devel/gettext-0.19.8
+   gtk-doc? ( >=dev-util/gtk-doc-1.33
+   app-text/docbook-xml-dtd:4.2
+   app-text/docbook-xml-dtd:4.5 )
+   systemtap? ( >=dev-debug/systemtap-1.3 )
+   ${PYTHON_DEPS}
+   test? ( >=sys-apps/dbus-1.2.14 )
+   virtual/pkgconfig
+"
+# TODO: >=dev-util/gdbus-codegen-${PV} test dep once we modify 
gio/tests/meson.build to use external gdbus-codegen
+
+PDEPEND="
+   dbus? ( gnome-base/dconf )
+   mime? ( x11-misc/shared-mime-info )
+"
+# shared-mime-info needed for gio/xdgmime, bug #409481
+# dconf is needed to be able to save settings, bug #498436
+
+MULTILIB_CHOST_TOOLS=(
+   /usr/bin/gio-querymodules$(get_exeext)
+)
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-2.64.1-mark-gdbus-server-auth-test-flaky.patch
+)
+
+pkg_setup() {
+   if use kernel_linux ; then
+   

[gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/

2024-01-07 Thread Sam James
commit: c028c39fc794cca8828fe7e066ba9fecc5fd896e
Author: Sam James  gentoo  org>
AuthorDate: Sun Jan  7 15:35:15 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jan  7 15:35:15 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c028c39f

dev-libs/glib: Stabilize 2.78.3 arm64, #920657

Signed-off-by: Sam James  gentoo.org>

 dev-libs/glib/glib-2.78.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/glib/glib-2.78.3.ebuild b/dev-libs/glib/glib-2.78.3.ebuild
index f7f1b0424d4c..5ebdb5ce0813 100644
--- a/dev-libs/glib/glib-2.78.3.ebuild
+++ b/dev-libs/glib/glib-2.78.3.ebuild
@@ -16,7 +16,7 @@ IUSE="dbus debug +elf gtk-doc +mime selinux static-libs 
sysprof systemtap test u
 RESTRICT="!test? ( test )"
 REQUIRED_USE="gtk-doc? ( test )" # Bug #777636
 
-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"
 
 # * elfutils (via libelf) does not build on Windows. gresources are not 
embedded
 # within ELF binaries on that platform anyway and inspecting ELF binaries from



[gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/

2024-01-07 Thread Sam James
commit: 0fee095ce2e1e47188dd18e2a80fd121f4f61e40
Author: Sam James  gentoo  org>
AuthorDate: Sun Jan  7 15:35:07 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jan  7 15:35:07 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0fee095c

dev-libs/glib: Stabilize 2.78.3 arm, #920657

Signed-off-by: Sam James  gentoo.org>

 dev-libs/glib/glib-2.78.3.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-libs/glib/glib-2.78.3.ebuild b/dev-libs/glib/glib-2.78.3.ebuild
index 0b50d2136981..f7f1b0424d4c 100644
--- a/dev-libs/glib/glib-2.78.3.ebuild
+++ b/dev-libs/glib/glib-2.78.3.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
@@ -16,7 +16,7 @@ IUSE="dbus debug +elf gtk-doc +mime selinux static-libs 
sysprof systemtap test u
 RESTRICT="!test? ( test )"
 REQUIRED_USE="gtk-doc? ( test )" # Bug #777636
 
-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"
 
 # * elfutils (via libelf) does not build on Windows. gresources are not 
embedded
 # within ELF binaries on that platform anyway and inspecting ELF binaries from



[gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/

2023-12-29 Thread Mart Raudsepp
commit: 5fa2ff0fd3bb4ae065aede3f0f66761d857a39b6
Author: Mart Raudsepp  gentoo  org>
AuthorDate: Fri Dec 29 23:01:21 2023 +
Commit: Mart Raudsepp  gentoo  org>
CommitDate: Fri Dec 29 23:01:21 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5fa2ff0f

dev-libs/glib: drop 2.78.0, 2.78.1

Signed-off-by: Mart Raudsepp  gentoo.org>

 dev-libs/glib/Manifest   |   2 -
 dev-libs/glib/glib-2.78.0.ebuild | 312 ---
 dev-libs/glib/glib-2.78.1.ebuild | 312 ---
 3 files changed, 626 deletions(-)

diff --git a/dev-libs/glib/Manifest b/dev-libs/glib/Manifest
index 209fbfbe94d2..633e3359a651 100644
--- a/dev-libs/glib/Manifest
+++ b/dev-libs/glib/Manifest
@@ -1,4 +1,2 @@
 DIST glib-2.76.4.tar.xz 5274356 BLAKE2B 
c9ceb514ea81e1e6ab2d0efc82c48c0d8ae6c997fd0e3c56d47a5174b027f785b58266fff73b1d1132e272305126fbff22e3c65d47de46224cd12fa49796d5bc
 SHA512 
f76932dc5090a44880373228e2b162f338415d06f7c90f2950eab1a43bb191c56a1797da4d377594f6a999197fef4defb848039259cfa4105bb68288a928f5b7
-DIST glib-2.78.0.tar.xz 5327096 BLAKE2B 
3a494a16d12b17c7986bbe865d5e3b2727d40e7272fbb34897a90173c0fb780b0e7f024042f60ac6d1fcb9a2a4731948b6ac733c2bd6bd27c32b97281e20fc72
 SHA512 
3d06890002f4b13f831c83fbb70cfce529f9750e30888619e4d6277116be15d106379a03143412cf4b2a289c0cbdbbc299ecf17284fbffc06c791ecf7556c765
-DIST glib-2.78.1.tar.xz 5320740 BLAKE2B 
af8f2e83600dfb3ec84702399cb00a3aaedbc80087e35dc7cc2e2374d4fe5fdf82707ac8c911da1c53eb7b027c9da9ecfc1c0a8f56b39431fa4cf44cad5b10f7
 SHA512 
aa9ed9195951b00ac8221e958ea337fbda82621a862ef8f29dc2ea396a6253ce51c2a0a498dfa4e12642f1836f85f9564f09991979ae85c5ed4368355d857376
 DIST glib-2.78.3.tar.xz 5321388 BLAKE2B 
6ef754b15e1ce4377eafdfc317025ac65c3d8010a8816a0cef786cec9da2af9f7d7d1da735c971ab8c848b2dcec050330e5b0fdceb156a36d739848e6160cd19
 SHA512 
9c1af75fb973d23ce0286d5b7836eea45f9628c148ced5ac10e10abceda05024ae4c57f01439824d3287d986527500b7b959828b630b6e4a3314b5224f4d7246

diff --git a/dev-libs/glib/glib-2.78.0.ebuild b/dev-libs/glib/glib-2.78.0.ebuild
deleted file mode 100644
index 642ad1b40159..
--- a/dev-libs/glib/glib-2.78.0.ebuild
+++ /dev/null
@@ -1,312 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-PYTHON_REQ_USE="xml(+)"
-PYTHON_COMPAT=( python3_{10..11} )
-
-inherit gnome.org gnome2-utils linux-info meson-multilib multilib 
python-any-r1 toolchain-funcs xdg
-
-DESCRIPTION="The GLib library of C routines"
-HOMEPAGE="https://www.gtk.org/;
-
-LICENSE="LGPL-2.1+"
-SLOT="2"
-IUSE="dbus debug +elf gtk-doc +mime selinux static-libs sysprof systemtap test 
utils xattr"
-RESTRICT="!test? ( test )"
-REQUIRED_USE="gtk-doc? ( test )" # Bug #777636
-
-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"
-
-# * elfutils (via libelf) does not build on Windows. gresources are not 
embedded
-# within ELF binaries on that platform anyway and inspecting ELF binaries from
-# other platforms is not that useful so exclude the dependency in this case.
-# * Technically static-libs is needed on zlib, util-linux and perhaps more, but
-# these are used by GIO, which glib[static-libs] consumers don't really seem
-# to need at all, thus not imposing the deps for now and once some consumers
-# are actually found to static link libgio-2.0.a, we can revisit and either add
-# them or just put the (build) deps in that rare consumer instead of recursive
-# RDEPEND here (due to lack of recursive DEPEND).
-RDEPEND="
-   !=virtual/libiconv-0-r1[${MULTILIB_USEDEP}]
-   >=dev-libs/libpcre2-10.32:0=[${MULTILIB_USEDEP},unicode(+),static-libs?]
-   >=dev-libs/libffi-3.0.13-r1:=[${MULTILIB_USEDEP}]
-   >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]
-   >=virtual/libintl-0-r2[${MULTILIB_USEDEP}]
-   kernel_linux? ( >=sys-apps/util-linux-2.23[${MULTILIB_USEDEP}] )
-   selinux? ( >=sys-libs/libselinux-2.2.2-r5[${MULTILIB_USEDEP}] )
-   xattr? ( !elibc_glibc? ( >=sys-apps/attr-2.4.47-r1[${MULTILIB_USEDEP}] 
) )
-   elf? ( virtual/libelf:0= )
-   sysprof? ( >=dev-util/sysprof-capture-3.40.1:4[${MULTILIB_USEDEP}] )
-"
-DEPEND="${RDEPEND}"
-# libxml2 used for optional tests that get automatically skipped
-BDEPEND="
-   app-text/docbook-xsl-stylesheets
-   dev-libs/libxslt
-   >=sys-devel/gettext-0.19.8
-   gtk-doc? ( >=dev-util/gtk-doc-1.33
-   app-text/docbook-xml-dtd:4.2
-   app-text/docbook-xml-dtd:4.5 )
-   systemtap? ( >=dev-util/systemtap-1.3 )
-   ${PYTHON_DEPS}
-   test? ( >=sys-apps/dbus-1.2.14 )
-   virtual/pkgconfig
-"
-# TODO: >=dev-util/gdbus-codegen-${PV} test dep once we modify 
gio/tests/meson.build to use external gdbus-codegen
-
-PDEPEND="
-   dbus? ( gnome-base/dconf )
-   mime? ( 

[gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/

2023-12-29 Thread Arthur Zamarin
commit: 1e75dc699e811c4571a3da481b85d48e5564bcaf
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Dec 29 18:57:41 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Dec 29 18:57:41 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e75dc69

dev-libs/glib: Stabilize 2.78.3 x86, #920657

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/glib/glib-2.78.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/glib/glib-2.78.3.ebuild b/dev-libs/glib/glib-2.78.3.ebuild
index 2950fe12e208..0b50d2136981 100644
--- a/dev-libs/glib/glib-2.78.3.ebuild
+++ b/dev-libs/glib/glib-2.78.3.ebuild
@@ -16,7 +16,7 @@ IUSE="dbus debug +elf gtk-doc +mime selinux static-libs 
sysprof systemtap test u
 RESTRICT="!test? ( test )"
 REQUIRED_USE="gtk-doc? ( test )" # Bug #777636
 
-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"
 
 # * elfutils (via libelf) does not build on Windows. gresources are not 
embedded
 # within ELF binaries on that platform anyway and inspecting ELF binaries from



[gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/

2023-12-29 Thread Arthur Zamarin
commit: fdbcb5a9046bd013d4de2bf3ed1eaa2364c749ec
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Dec 29 18:57:33 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Dec 29 18:57:33 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fdbcb5a9

dev-libs/glib: Stabilize 2.78.3 ppc64, #920657

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/glib/glib-2.78.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/glib/glib-2.78.3.ebuild b/dev-libs/glib/glib-2.78.3.ebuild
index bc318ef9e8b4..2950fe12e208 100644
--- a/dev-libs/glib/glib-2.78.3.ebuild
+++ b/dev-libs/glib/glib-2.78.3.ebuild
@@ -16,7 +16,7 @@ IUSE="dbus debug +elf gtk-doc +mime selinux static-libs 
sysprof systemtap test u
 RESTRICT="!test? ( test )"
 REQUIRED_USE="gtk-doc? ( test )" # Bug #777636
 
-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"
 
 # * elfutils (via libelf) does not build on Windows. gresources are not 
embedded
 # within ELF binaries on that platform anyway and inspecting ELF binaries from



[gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/

2023-12-29 Thread Arthur Zamarin
commit: fe41bf74a229e7cae9168d0b295735f02c44ca8d
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Dec 29 18:38:33 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Dec 29 18:38:33 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe41bf74

dev-libs/glib: Stabilize 2.78.3 ppc, #920657

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/glib/glib-2.78.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/glib/glib-2.78.3.ebuild b/dev-libs/glib/glib-2.78.3.ebuild
index 642ad1b40159..5b98e5bbca7b 100644
--- a/dev-libs/glib/glib-2.78.3.ebuild
+++ b/dev-libs/glib/glib-2.78.3.ebuild
@@ -16,7 +16,7 @@ IUSE="dbus debug +elf gtk-doc +mime selinux static-libs 
sysprof systemtap test u
 RESTRICT="!test? ( test )"
 REQUIRED_USE="gtk-doc? ( test )" # Bug #777636
 
-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"
 
 # * elfutils (via libelf) does not build on Windows. gresources are not 
embedded
 # within ELF binaries on that platform anyway and inspecting ELF binaries from



[gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/

2023-12-07 Thread Sam James
commit: 87338c1238edf89400276b885ccd0568428daf11
Author: Guillermo Joandet  gmail  com>
AuthorDate: Wed Dec  6 23:30:37 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Dec  8 01:39:48 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87338c12

dev-libs/glib: Version bump to 2.78.3

Signed-off-by: Guillermo Joandet  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 dev-libs/glib/Manifest   |   1 +
 dev-libs/glib/glib-2.78.3.ebuild | 312 +++
 2 files changed, 313 insertions(+)

diff --git a/dev-libs/glib/Manifest b/dev-libs/glib/Manifest
index f64e2b2aae89..209fbfbe94d2 100644
--- a/dev-libs/glib/Manifest
+++ b/dev-libs/glib/Manifest
@@ -1,3 +1,4 @@
 DIST glib-2.76.4.tar.xz 5274356 BLAKE2B 
c9ceb514ea81e1e6ab2d0efc82c48c0d8ae6c997fd0e3c56d47a5174b027f785b58266fff73b1d1132e272305126fbff22e3c65d47de46224cd12fa49796d5bc
 SHA512 
f76932dc5090a44880373228e2b162f338415d06f7c90f2950eab1a43bb191c56a1797da4d377594f6a999197fef4defb848039259cfa4105bb68288a928f5b7
 DIST glib-2.78.0.tar.xz 5327096 BLAKE2B 
3a494a16d12b17c7986bbe865d5e3b2727d40e7272fbb34897a90173c0fb780b0e7f024042f60ac6d1fcb9a2a4731948b6ac733c2bd6bd27c32b97281e20fc72
 SHA512 
3d06890002f4b13f831c83fbb70cfce529f9750e30888619e4d6277116be15d106379a03143412cf4b2a289c0cbdbbc299ecf17284fbffc06c791ecf7556c765
 DIST glib-2.78.1.tar.xz 5320740 BLAKE2B 
af8f2e83600dfb3ec84702399cb00a3aaedbc80087e35dc7cc2e2374d4fe5fdf82707ac8c911da1c53eb7b027c9da9ecfc1c0a8f56b39431fa4cf44cad5b10f7
 SHA512 
aa9ed9195951b00ac8221e958ea337fbda82621a862ef8f29dc2ea396a6253ce51c2a0a498dfa4e12642f1836f85f9564f09991979ae85c5ed4368355d857376
+DIST glib-2.78.3.tar.xz 5321388 BLAKE2B 
6ef754b15e1ce4377eafdfc317025ac65c3d8010a8816a0cef786cec9da2af9f7d7d1da735c971ab8c848b2dcec050330e5b0fdceb156a36d739848e6160cd19
 SHA512 
9c1af75fb973d23ce0286d5b7836eea45f9628c148ced5ac10e10abceda05024ae4c57f01439824d3287d986527500b7b959828b630b6e4a3314b5224f4d7246

diff --git a/dev-libs/glib/glib-2.78.3.ebuild b/dev-libs/glib/glib-2.78.3.ebuild
new file mode 100644
index ..642ad1b40159
--- /dev/null
+++ b/dev-libs/glib/glib-2.78.3.ebuild
@@ -0,0 +1,312 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_REQ_USE="xml(+)"
+PYTHON_COMPAT=( python3_{10..11} )
+
+inherit gnome.org gnome2-utils linux-info meson-multilib multilib 
python-any-r1 toolchain-funcs xdg
+
+DESCRIPTION="The GLib library of C routines"
+HOMEPAGE="https://www.gtk.org/;
+
+LICENSE="LGPL-2.1+"
+SLOT="2"
+IUSE="dbus debug +elf gtk-doc +mime selinux static-libs sysprof systemtap test 
utils xattr"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="gtk-doc? ( test )" # Bug #777636
+
+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"
+
+# * elfutils (via libelf) does not build on Windows. gresources are not 
embedded
+# within ELF binaries on that platform anyway and inspecting ELF binaries from
+# other platforms is not that useful so exclude the dependency in this case.
+# * Technically static-libs is needed on zlib, util-linux and perhaps more, but
+# these are used by GIO, which glib[static-libs] consumers don't really seem
+# to need at all, thus not imposing the deps for now and once some consumers
+# are actually found to static link libgio-2.0.a, we can revisit and either add
+# them or just put the (build) deps in that rare consumer instead of recursive
+# RDEPEND here (due to lack of recursive DEPEND).
+RDEPEND="
+   !=virtual/libiconv-0-r1[${MULTILIB_USEDEP}]
+   >=dev-libs/libpcre2-10.32:0=[${MULTILIB_USEDEP},unicode(+),static-libs?]
+   >=dev-libs/libffi-3.0.13-r1:=[${MULTILIB_USEDEP}]
+   >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]
+   >=virtual/libintl-0-r2[${MULTILIB_USEDEP}]
+   kernel_linux? ( >=sys-apps/util-linux-2.23[${MULTILIB_USEDEP}] )
+   selinux? ( >=sys-libs/libselinux-2.2.2-r5[${MULTILIB_USEDEP}] )
+   xattr? ( !elibc_glibc? ( >=sys-apps/attr-2.4.47-r1[${MULTILIB_USEDEP}] 
) )
+   elf? ( virtual/libelf:0= )
+   sysprof? ( >=dev-util/sysprof-capture-3.40.1:4[${MULTILIB_USEDEP}] )
+"
+DEPEND="${RDEPEND}"
+# libxml2 used for optional tests that get automatically skipped
+BDEPEND="
+   app-text/docbook-xsl-stylesheets
+   dev-libs/libxslt
+   >=sys-devel/gettext-0.19.8
+   gtk-doc? ( >=dev-util/gtk-doc-1.33
+   app-text/docbook-xml-dtd:4.2
+   app-text/docbook-xml-dtd:4.5 )
+   systemtap? ( >=dev-util/systemtap-1.3 )
+   ${PYTHON_DEPS}
+   test? ( >=sys-apps/dbus-1.2.14 )
+   virtual/pkgconfig
+"
+# TODO: >=dev-util/gdbus-codegen-${PV} test dep once we modify 
gio/tests/meson.build to use external gdbus-codegen
+
+PDEPEND="
+   dbus? ( gnome-base/dconf )
+   mime? ( x11-misc/shared-mime-info )
+"
+# shared-mime-info needed 

[gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/

2023-10-29 Thread Mart Raudsepp
commit: ea3765ee967e6b04e89679dfc3a27c278f1db544
Author: Guillermo Joandet  gmail  com>
AuthorDate: Wed Oct 25 19:16:04 2023 +
Commit: Mart Raudsepp  gentoo  org>
CommitDate: Sun Oct 29 21:51:02 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea3765ee

dev-libs/glib: Version bump to 2.78.1

Signed-off-by: Guillermo Joandet  gmail.com>
Signed-off-by: Mart Raudsepp  gentoo.org>

 dev-libs/glib/Manifest   |   1 +
 dev-libs/glib/glib-2.78.1.ebuild | 312 +++
 2 files changed, 313 insertions(+)

diff --git a/dev-libs/glib/Manifest b/dev-libs/glib/Manifest
index 8838499ec5d0..f64e2b2aae89 100644
--- a/dev-libs/glib/Manifest
+++ b/dev-libs/glib/Manifest
@@ -1,2 +1,3 @@
 DIST glib-2.76.4.tar.xz 5274356 BLAKE2B 
c9ceb514ea81e1e6ab2d0efc82c48c0d8ae6c997fd0e3c56d47a5174b027f785b58266fff73b1d1132e272305126fbff22e3c65d47de46224cd12fa49796d5bc
 SHA512 
f76932dc5090a44880373228e2b162f338415d06f7c90f2950eab1a43bb191c56a1797da4d377594f6a999197fef4defb848039259cfa4105bb68288a928f5b7
 DIST glib-2.78.0.tar.xz 5327096 BLAKE2B 
3a494a16d12b17c7986bbe865d5e3b2727d40e7272fbb34897a90173c0fb780b0e7f024042f60ac6d1fcb9a2a4731948b6ac733c2bd6bd27c32b97281e20fc72
 SHA512 
3d06890002f4b13f831c83fbb70cfce529f9750e30888619e4d6277116be15d106379a03143412cf4b2a289c0cbdbbc299ecf17284fbffc06c791ecf7556c765
+DIST glib-2.78.1.tar.xz 5320740 BLAKE2B 
af8f2e83600dfb3ec84702399cb00a3aaedbc80087e35dc7cc2e2374d4fe5fdf82707ac8c911da1c53eb7b027c9da9ecfc1c0a8f56b39431fa4cf44cad5b10f7
 SHA512 
aa9ed9195951b00ac8221e958ea337fbda82621a862ef8f29dc2ea396a6253ce51c2a0a498dfa4e12642f1836f85f9564f09991979ae85c5ed4368355d857376

diff --git a/dev-libs/glib/glib-2.78.1.ebuild b/dev-libs/glib/glib-2.78.1.ebuild
new file mode 100644
index ..642ad1b40159
--- /dev/null
+++ b/dev-libs/glib/glib-2.78.1.ebuild
@@ -0,0 +1,312 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_REQ_USE="xml(+)"
+PYTHON_COMPAT=( python3_{10..11} )
+
+inherit gnome.org gnome2-utils linux-info meson-multilib multilib 
python-any-r1 toolchain-funcs xdg
+
+DESCRIPTION="The GLib library of C routines"
+HOMEPAGE="https://www.gtk.org/;
+
+LICENSE="LGPL-2.1+"
+SLOT="2"
+IUSE="dbus debug +elf gtk-doc +mime selinux static-libs sysprof systemtap test 
utils xattr"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="gtk-doc? ( test )" # Bug #777636
+
+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"
+
+# * elfutils (via libelf) does not build on Windows. gresources are not 
embedded
+# within ELF binaries on that platform anyway and inspecting ELF binaries from
+# other platforms is not that useful so exclude the dependency in this case.
+# * Technically static-libs is needed on zlib, util-linux and perhaps more, but
+# these are used by GIO, which glib[static-libs] consumers don't really seem
+# to need at all, thus not imposing the deps for now and once some consumers
+# are actually found to static link libgio-2.0.a, we can revisit and either add
+# them or just put the (build) deps in that rare consumer instead of recursive
+# RDEPEND here (due to lack of recursive DEPEND).
+RDEPEND="
+   !=virtual/libiconv-0-r1[${MULTILIB_USEDEP}]
+   >=dev-libs/libpcre2-10.32:0=[${MULTILIB_USEDEP},unicode(+),static-libs?]
+   >=dev-libs/libffi-3.0.13-r1:=[${MULTILIB_USEDEP}]
+   >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]
+   >=virtual/libintl-0-r2[${MULTILIB_USEDEP}]
+   kernel_linux? ( >=sys-apps/util-linux-2.23[${MULTILIB_USEDEP}] )
+   selinux? ( >=sys-libs/libselinux-2.2.2-r5[${MULTILIB_USEDEP}] )
+   xattr? ( !elibc_glibc? ( >=sys-apps/attr-2.4.47-r1[${MULTILIB_USEDEP}] 
) )
+   elf? ( virtual/libelf:0= )
+   sysprof? ( >=dev-util/sysprof-capture-3.40.1:4[${MULTILIB_USEDEP}] )
+"
+DEPEND="${RDEPEND}"
+# libxml2 used for optional tests that get automatically skipped
+BDEPEND="
+   app-text/docbook-xsl-stylesheets
+   dev-libs/libxslt
+   >=sys-devel/gettext-0.19.8
+   gtk-doc? ( >=dev-util/gtk-doc-1.33
+   app-text/docbook-xml-dtd:4.2
+   app-text/docbook-xml-dtd:4.5 )
+   systemtap? ( >=dev-util/systemtap-1.3 )
+   ${PYTHON_DEPS}
+   test? ( >=sys-apps/dbus-1.2.14 )
+   virtual/pkgconfig
+"
+# TODO: >=dev-util/gdbus-codegen-${PV} test dep once we modify 
gio/tests/meson.build to use external gdbus-codegen
+
+PDEPEND="
+   dbus? ( gnome-base/dconf )
+   mime? ( x11-misc/shared-mime-info )
+"
+# shared-mime-info needed for gio/xdgmime, bug #409481
+# dconf is needed to be able to save settings, bug #498436
+
+MULTILIB_CHOST_TOOLS=(
+   /usr/bin/gio-querymodules$(get_exeext)
+)
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-2.64.1-mark-gdbus-server-auth-test-flaky.patch
+)
+
+pkg_setup() {
+   if use kernel_linux ; 

[gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/

2023-09-08 Thread Matt Turner
commit: 0e951387f42016b7d2d0533c651c8a939665690d
Author: Guillermo Joandet  gmail  com>
AuthorDate: Fri Sep  8 14:22:57 2023 +
Commit: Matt Turner  gentoo  org>
CommitDate: Fri Sep  8 23:14:44 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e951387

dev-libs/glib: Version bump to 2.78.0

Signed-off-by: Guillermo Joandet  gmail.com>
Signed-off-by: Matt Turner  gentoo.org>

 dev-libs/glib/Manifest   |   1 +
 dev-libs/glib/glib-2.78.0.ebuild | 312 +++
 2 files changed, 313 insertions(+)

diff --git a/dev-libs/glib/Manifest b/dev-libs/glib/Manifest
index 4bbc774c41a7..ca6d5eb1558a 100644
--- a/dev-libs/glib/Manifest
+++ b/dev-libs/glib/Manifest
@@ -1,2 +1,3 @@
 DIST glib-2.76.4.tar.xz 5274356 BLAKE2B 
c9ceb514ea81e1e6ab2d0efc82c48c0d8ae6c997fd0e3c56d47a5174b027f785b58266fff73b1d1132e272305126fbff22e3c65d47de46224cd12fa49796d5bc
 SHA512 
f76932dc5090a44880373228e2b162f338415d06f7c90f2950eab1a43bb191c56a1797da4d377594f6a999197fef4defb848039259cfa4105bb68288a928f5b7
 DIST glib-2.77.3.tar.xz 5316816 BLAKE2B 
94d28c1526a19cb679a85f32bda159ee07862ce6aa0e2bb2e953c748d8cc790454603d3db8c748638754fef60e74a6e3584952804ff438b49fcfc009803a07b5
 SHA512 
d9727d67e63d7f8ce710bff497c183799b0192ac10900da87887bd76812aad9603e7f132d7eb4e8626787c427048aeafb4a28654ab808c676bcfc2b897e005d9
+DIST glib-2.78.0.tar.xz 5327096 BLAKE2B 
3a494a16d12b17c7986bbe865d5e3b2727d40e7272fbb34897a90173c0fb780b0e7f024042f60ac6d1fcb9a2a4731948b6ac733c2bd6bd27c32b97281e20fc72
 SHA512 
3d06890002f4b13f831c83fbb70cfce529f9750e30888619e4d6277116be15d106379a03143412cf4b2a289c0cbdbbc299ecf17284fbffc06c791ecf7556c765

diff --git a/dev-libs/glib/glib-2.78.0.ebuild b/dev-libs/glib/glib-2.78.0.ebuild
new file mode 100644
index ..642ad1b40159
--- /dev/null
+++ b/dev-libs/glib/glib-2.78.0.ebuild
@@ -0,0 +1,312 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_REQ_USE="xml(+)"
+PYTHON_COMPAT=( python3_{10..11} )
+
+inherit gnome.org gnome2-utils linux-info meson-multilib multilib 
python-any-r1 toolchain-funcs xdg
+
+DESCRIPTION="The GLib library of C routines"
+HOMEPAGE="https://www.gtk.org/;
+
+LICENSE="LGPL-2.1+"
+SLOT="2"
+IUSE="dbus debug +elf gtk-doc +mime selinux static-libs sysprof systemtap test 
utils xattr"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="gtk-doc? ( test )" # Bug #777636
+
+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"
+
+# * elfutils (via libelf) does not build on Windows. gresources are not 
embedded
+# within ELF binaries on that platform anyway and inspecting ELF binaries from
+# other platforms is not that useful so exclude the dependency in this case.
+# * Technically static-libs is needed on zlib, util-linux and perhaps more, but
+# these are used by GIO, which glib[static-libs] consumers don't really seem
+# to need at all, thus not imposing the deps for now and once some consumers
+# are actually found to static link libgio-2.0.a, we can revisit and either add
+# them or just put the (build) deps in that rare consumer instead of recursive
+# RDEPEND here (due to lack of recursive DEPEND).
+RDEPEND="
+   !=virtual/libiconv-0-r1[${MULTILIB_USEDEP}]
+   >=dev-libs/libpcre2-10.32:0=[${MULTILIB_USEDEP},unicode(+),static-libs?]
+   >=dev-libs/libffi-3.0.13-r1:=[${MULTILIB_USEDEP}]
+   >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]
+   >=virtual/libintl-0-r2[${MULTILIB_USEDEP}]
+   kernel_linux? ( >=sys-apps/util-linux-2.23[${MULTILIB_USEDEP}] )
+   selinux? ( >=sys-libs/libselinux-2.2.2-r5[${MULTILIB_USEDEP}] )
+   xattr? ( !elibc_glibc? ( >=sys-apps/attr-2.4.47-r1[${MULTILIB_USEDEP}] 
) )
+   elf? ( virtual/libelf:0= )
+   sysprof? ( >=dev-util/sysprof-capture-3.40.1:4[${MULTILIB_USEDEP}] )
+"
+DEPEND="${RDEPEND}"
+# libxml2 used for optional tests that get automatically skipped
+BDEPEND="
+   app-text/docbook-xsl-stylesheets
+   dev-libs/libxslt
+   >=sys-devel/gettext-0.19.8
+   gtk-doc? ( >=dev-util/gtk-doc-1.33
+   app-text/docbook-xml-dtd:4.2
+   app-text/docbook-xml-dtd:4.5 )
+   systemtap? ( >=dev-util/systemtap-1.3 )
+   ${PYTHON_DEPS}
+   test? ( >=sys-apps/dbus-1.2.14 )
+   virtual/pkgconfig
+"
+# TODO: >=dev-util/gdbus-codegen-${PV} test dep once we modify 
gio/tests/meson.build to use external gdbus-codegen
+
+PDEPEND="
+   dbus? ( gnome-base/dconf )
+   mime? ( x11-misc/shared-mime-info )
+"
+# shared-mime-info needed for gio/xdgmime, bug #409481
+# dconf is needed to be able to save settings, bug #498436
+
+MULTILIB_CHOST_TOOLS=(
+   /usr/bin/gio-querymodules$(get_exeext)
+)
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-2.64.1-mark-gdbus-server-auth-test-flaky.patch
+)
+
+pkg_setup() {
+   if use kernel_linux ; then

[gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/

2023-09-01 Thread Arthur Zamarin
commit: fc38e855213dfe477ef628fea853ab8c49f35b4f
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Sep  1 16:05:44 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Sep  1 16:05:44 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc38e855

dev-libs/glib: Stabilize 2.76.4 ppc64, #913218

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/glib/glib-2.76.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/glib/glib-2.76.4.ebuild b/dev-libs/glib/glib-2.76.4.ebuild
index 436c28735c7b..b5bb50fb4a38 100644
--- a/dev-libs/glib/glib-2.76.4.ebuild
+++ b/dev-libs/glib/glib-2.76.4.ebuild
@@ -16,7 +16,7 @@ IUSE="dbus debug +elf gtk-doc +mime selinux static-libs 
sysprof systemtap test u
 RESTRICT="!test? ( test )"
 REQUIRED_USE="gtk-doc? ( test )" # Bug #777636
 
-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"
 
 # * elfutils (via libelf) does not build on Windows. gresources are not 
embedded
 # within ELF binaries on that platform anyway and inspecting ELF binaries from



[gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/

2023-08-31 Thread Matt Turner
commit: 6fc0583cf342b891ab7a612ad1b1732ab62ddf19
Author: Guillermo Joandet  gmail  com>
AuthorDate: Thu Aug 31 15:26:38 2023 +
Commit: Matt Turner  gentoo  org>
CommitDate: Thu Aug 31 16:48:43 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6fc0583c

dev-libs/glib: Version bump to 2.77.3

Signed-off-by: Guillermo Joandet  gmail.com>
Signed-off-by: Matt Turner  gentoo.org>

 dev-libs/glib/Manifest   |   1 +
 dev-libs/glib/glib-2.77.3.ebuild | 312 +++
 2 files changed, 313 insertions(+)

diff --git a/dev-libs/glib/Manifest b/dev-libs/glib/Manifest
index 5f47fb0ebaff..a13d208bdcd9 100644
--- a/dev-libs/glib/Manifest
+++ b/dev-libs/glib/Manifest
@@ -1,3 +1,4 @@
 DIST glib-2.76.3.tar.xz 5273460 BLAKE2B 
894635281d1a3eb60d274b8db91cd59069b6d0abe61295175c794ad44e8669d869009fac44c7d6f416a93adcea5b9aeb90b944047d013fa1f2d9b1a8ded3de1e
 SHA512 
291b8913918d411b679442b888f56893a857a77decfe428086c8bd1da1949498938ddb0bf254ed99d192e4a09b5e8cee1905fd6932ee642463fb229cac7c226e
 DIST glib-2.76.4.tar.xz 5274356 BLAKE2B 
c9ceb514ea81e1e6ab2d0efc82c48c0d8ae6c997fd0e3c56d47a5174b027f785b58266fff73b1d1132e272305126fbff22e3c65d47de46224cd12fa49796d5bc
 SHA512 
f76932dc5090a44880373228e2b162f338415d06f7c90f2950eab1a43bb191c56a1797da4d377594f6a999197fef4defb848039259cfa4105bb68288a928f5b7
 DIST glib-2.77.1.tar.xz 5305568 BLAKE2B 
bca94b2884e4d4ef3246a398c785a83d814986ca5dc49dbbfed471b0303b2ef1aaa194728b580cc12155a0791b75d217e978ca6b9eb7b7ee5314799b7570059f
 SHA512 
0f32eb7dcc652a727331226324225864212e14d0b1adac4493eb92f34c562cabd50cf8a602dae1b877e7adb73e038d2cc1e8d641e71eab77497990af4afb4906
+DIST glib-2.77.3.tar.xz 5316816 BLAKE2B 
94d28c1526a19cb679a85f32bda159ee07862ce6aa0e2bb2e953c748d8cc790454603d3db8c748638754fef60e74a6e3584952804ff438b49fcfc009803a07b5
 SHA512 
d9727d67e63d7f8ce710bff497c183799b0192ac10900da87887bd76812aad9603e7f132d7eb4e8626787c427048aeafb4a28654ab808c676bcfc2b897e005d9

diff --git a/dev-libs/glib/glib-2.77.3.ebuild b/dev-libs/glib/glib-2.77.3.ebuild
new file mode 100644
index ..642ad1b40159
--- /dev/null
+++ b/dev-libs/glib/glib-2.77.3.ebuild
@@ -0,0 +1,312 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_REQ_USE="xml(+)"
+PYTHON_COMPAT=( python3_{10..11} )
+
+inherit gnome.org gnome2-utils linux-info meson-multilib multilib 
python-any-r1 toolchain-funcs xdg
+
+DESCRIPTION="The GLib library of C routines"
+HOMEPAGE="https://www.gtk.org/;
+
+LICENSE="LGPL-2.1+"
+SLOT="2"
+IUSE="dbus debug +elf gtk-doc +mime selinux static-libs sysprof systemtap test 
utils xattr"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="gtk-doc? ( test )" # Bug #777636
+
+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"
+
+# * elfutils (via libelf) does not build on Windows. gresources are not 
embedded
+# within ELF binaries on that platform anyway and inspecting ELF binaries from
+# other platforms is not that useful so exclude the dependency in this case.
+# * Technically static-libs is needed on zlib, util-linux and perhaps more, but
+# these are used by GIO, which glib[static-libs] consumers don't really seem
+# to need at all, thus not imposing the deps for now and once some consumers
+# are actually found to static link libgio-2.0.a, we can revisit and either add
+# them or just put the (build) deps in that rare consumer instead of recursive
+# RDEPEND here (due to lack of recursive DEPEND).
+RDEPEND="
+   !=virtual/libiconv-0-r1[${MULTILIB_USEDEP}]
+   >=dev-libs/libpcre2-10.32:0=[${MULTILIB_USEDEP},unicode(+),static-libs?]
+   >=dev-libs/libffi-3.0.13-r1:=[${MULTILIB_USEDEP}]
+   >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]
+   >=virtual/libintl-0-r2[${MULTILIB_USEDEP}]
+   kernel_linux? ( >=sys-apps/util-linux-2.23[${MULTILIB_USEDEP}] )
+   selinux? ( >=sys-libs/libselinux-2.2.2-r5[${MULTILIB_USEDEP}] )
+   xattr? ( !elibc_glibc? ( >=sys-apps/attr-2.4.47-r1[${MULTILIB_USEDEP}] 
) )
+   elf? ( virtual/libelf:0= )
+   sysprof? ( >=dev-util/sysprof-capture-3.40.1:4[${MULTILIB_USEDEP}] )
+"
+DEPEND="${RDEPEND}"
+# libxml2 used for optional tests that get automatically skipped
+BDEPEND="
+   app-text/docbook-xsl-stylesheets
+   dev-libs/libxslt
+   >=sys-devel/gettext-0.19.8
+   gtk-doc? ( >=dev-util/gtk-doc-1.33
+   app-text/docbook-xml-dtd:4.2
+   app-text/docbook-xml-dtd:4.5 )
+   systemtap? ( >=dev-util/systemtap-1.3 )
+   ${PYTHON_DEPS}
+   test? ( >=sys-apps/dbus-1.2.14 )
+   virtual/pkgconfig
+"
+# TODO: >=dev-util/gdbus-codegen-${PV} test dep once we modify 
gio/tests/meson.build to use external gdbus-codegen
+
+PDEPEND="
+   dbus? ( gnome-base/dconf )
+   mime? ( x11-misc/shared-mime-info )
+"
+# shared-mime-info 

[gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/

2023-08-29 Thread Arthur Zamarin
commit: 13fd4dbc1459de00d08d6aceba18c938de9b302f
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue Aug 29 18:00:24 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Aug 29 18:00:24 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13fd4dbc

dev-libs/glib: Stabilize 2.76.4 arm, #913218

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/glib/glib-2.76.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/glib/glib-2.76.4.ebuild b/dev-libs/glib/glib-2.76.4.ebuild
index 5782d498f9dc..fe6814cd4550 100644
--- a/dev-libs/glib/glib-2.76.4.ebuild
+++ b/dev-libs/glib/glib-2.76.4.ebuild
@@ -16,7 +16,7 @@ IUSE="dbus debug +elf gtk-doc +mime selinux static-libs 
sysprof systemtap test u
 RESTRICT="!test? ( test )"
 REQUIRED_USE="gtk-doc? ( test )" # Bug #777636
 
-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"
 
 # * elfutils (via libelf) does not build on Windows. gresources are not 
embedded
 # within ELF binaries on that platform anyway and inspecting ELF binaries from



[gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/

2023-08-29 Thread Arthur Zamarin
commit: 747d15c2d0f90f5f08df54142262750eb54f6d06
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue Aug 29 17:54:24 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Aug 29 17:54:52 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=747d15c2

dev-libs/glib: Stabilize 2.76.4 hppa, #913218

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/glib/glib-2.76.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/glib/glib-2.76.4.ebuild b/dev-libs/glib/glib-2.76.4.ebuild
index a2c02c868592..a96dae1bd432 100644
--- a/dev-libs/glib/glib-2.76.4.ebuild
+++ b/dev-libs/glib/glib-2.76.4.ebuild
@@ -16,7 +16,7 @@ IUSE="dbus debug +elf gtk-doc +mime selinux static-libs 
sysprof systemtap test u
 RESTRICT="!test? ( test )"
 REQUIRED_USE="gtk-doc? ( test )" # Bug #777636
 
-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"
 
 # * elfutils (via libelf) does not build on Windows. gresources are not 
embedded
 # within ELF binaries on that platform anyway and inspecting ELF binaries from



[gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/

2023-08-29 Thread Arthur Zamarin
commit: 33b63180b407239043630bbd64e9aca71b22255d
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue Aug 29 17:47:03 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Aug 29 17:47:03 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33b63180

dev-libs/glib: Stabilize 2.76.4 sparc, #913218

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/glib/glib-2.76.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/glib/glib-2.76.4.ebuild b/dev-libs/glib/glib-2.76.4.ebuild
index 642ad1b40159..a2c02c868592 100644
--- a/dev-libs/glib/glib-2.76.4.ebuild
+++ b/dev-libs/glib/glib-2.76.4.ebuild
@@ -16,7 +16,7 @@ IUSE="dbus debug +elf gtk-doc +mime selinux static-libs 
sysprof systemtap test u
 RESTRICT="!test? ( test )"
 REQUIRED_USE="gtk-doc? ( test )" # Bug #777636
 
-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"
 
 # * elfutils (via libelf) does not build on Windows. gresources are not 
embedded
 # within ELF binaries on that platform anyway and inspecting ELF binaries from



[gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/

2023-08-18 Thread Sam James
commit: 8dfad705738e62c917c2fb29fbc08d364d0d1d52
Author: Sam James  gentoo  org>
AuthorDate: Fri Aug 18 10:50:55 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Aug 18 10:50:55 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8dfad705

dev-libs/glib: disable py3.12

See the discussion in bug #911418.

Bug: https://bugs.gentoo.org/911418
Bug: https://bugs.gentoo.org/912437
Signed-off-by: Sam James  gentoo.org>

 dev-libs/glib/glib-2.76.3.ebuild | 2 +-
 dev-libs/glib/glib-2.76.4.ebuild | 2 +-
 dev-libs/glib/glib-2.77.1.ebuild | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-libs/glib/glib-2.76.3.ebuild b/dev-libs/glib/glib-2.76.3.ebuild
index b8a23bb8b4be..b5bb50fb4a38 100644
--- a/dev-libs/glib/glib-2.76.3.ebuild
+++ b/dev-libs/glib/glib-2.76.3.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 PYTHON_REQ_USE="xml(+)"
-PYTHON_COMPAT=( python3_{9..12} )
+PYTHON_COMPAT=( python3_{10..11} )
 
 inherit gnome.org gnome2-utils linux-info meson-multilib multilib 
python-any-r1 toolchain-funcs xdg
 

diff --git a/dev-libs/glib/glib-2.76.4.ebuild b/dev-libs/glib/glib-2.76.4.ebuild
index d25af8f101dc..642ad1b40159 100644
--- a/dev-libs/glib/glib-2.76.4.ebuild
+++ b/dev-libs/glib/glib-2.76.4.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 PYTHON_REQ_USE="xml(+)"
-PYTHON_COMPAT=( python3_{9..12} )
+PYTHON_COMPAT=( python3_{10..11} )
 
 inherit gnome.org gnome2-utils linux-info meson-multilib multilib 
python-any-r1 toolchain-funcs xdg
 

diff --git a/dev-libs/glib/glib-2.77.1.ebuild b/dev-libs/glib/glib-2.77.1.ebuild
index ea2b5b076d69..642ad1b40159 100644
--- a/dev-libs/glib/glib-2.77.1.ebuild
+++ b/dev-libs/glib/glib-2.77.1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 PYTHON_REQ_USE="xml(+)"
-PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_COMPAT=( python3_{10..11} )
 
 inherit gnome.org gnome2-utils linux-info meson-multilib multilib 
python-any-r1 toolchain-funcs xdg
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/

2023-08-12 Thread Arthur Zamarin
commit: dfd96395ed5798a6ee3e979abc34659ea870c23f
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Aug 12 19:38:46 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Aug 12 19:38:46 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfd96395

dev-libs/glib: Stabilize 2.76.3 hppa, #909467

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/glib/glib-2.76.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/glib/glib-2.76.3.ebuild b/dev-libs/glib/glib-2.76.3.ebuild
index 90f689e5d269..b8a23bb8b4be 100644
--- a/dev-libs/glib/glib-2.76.3.ebuild
+++ b/dev-libs/glib/glib-2.76.3.ebuild
@@ -16,7 +16,7 @@ IUSE="dbus debug +elf gtk-doc +mime selinux static-libs 
sysprof systemtap test u
 RESTRICT="!test? ( test )"
 REQUIRED_USE="gtk-doc? ( test )" # Bug #777636
 
-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"
 
 # * elfutils (via libelf) does not build on Windows. gresources are not 
embedded
 # within ELF binaries on that platform anyway and inspecting ELF binaries from



[gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/

2023-08-12 Thread Arthur Zamarin
commit: a23ad4a39b3595f295cf8a10af9964354be308f5
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Aug 12 18:16:42 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Aug 12 18:16:42 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a23ad4a3

dev-libs/glib: Stabilize 2.76.3 ppc64, #909467

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/glib/glib-2.76.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/glib/glib-2.76.3.ebuild b/dev-libs/glib/glib-2.76.3.ebuild
index 25c958e035b1..90f689e5d269 100644
--- a/dev-libs/glib/glib-2.76.3.ebuild
+++ b/dev-libs/glib/glib-2.76.3.ebuild
@@ -16,7 +16,7 @@ IUSE="dbus debug +elf gtk-doc +mime selinux static-libs 
sysprof systemtap test u
 RESTRICT="!test? ( test )"
 REQUIRED_USE="gtk-doc? ( test )" # Bug #777636
 
-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"
 
 # * elfutils (via libelf) does not build on Windows. gresources are not 
embedded
 # within ELF binaries on that platform anyway and inspecting ELF binaries from



[gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/

2023-08-12 Thread Arthur Zamarin
commit: de017b57274482f675bfc936b5f76cfa2a5a3d8a
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Aug 12 18:16:38 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Aug 12 18:16:38 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de017b57

dev-libs/glib: Stabilize 2.76.3 ppc, #909467

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/glib/glib-2.76.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/glib/glib-2.76.3.ebuild b/dev-libs/glib/glib-2.76.3.ebuild
index 9f65b970d7b8..25c958e035b1 100644
--- a/dev-libs/glib/glib-2.76.3.ebuild
+++ b/dev-libs/glib/glib-2.76.3.ebuild
@@ -16,7 +16,7 @@ IUSE="dbus debug +elf gtk-doc +mime selinux static-libs 
sysprof systemtap test u
 RESTRICT="!test? ( test )"
 REQUIRED_USE="gtk-doc? ( test )" # Bug #777636
 
-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"
 
 # * elfutils (via libelf) does not build on Windows. gresources are not 
embedded
 # within ELF binaries on that platform anyway and inspecting ELF binaries from



[gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/

2023-08-12 Thread Arthur Zamarin
commit: 01860094b5175152dba6e29f2c8f55289b12b9da
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Aug 12 17:52:26 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Aug 12 17:52:26 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01860094

dev-libs/glib: Stabilize 2.76.3 sparc, #909467

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/glib/glib-2.76.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/glib/glib-2.76.3.ebuild b/dev-libs/glib/glib-2.76.3.ebuild
index 08efc6030165..9f65b970d7b8 100644
--- a/dev-libs/glib/glib-2.76.3.ebuild
+++ b/dev-libs/glib/glib-2.76.3.ebuild
@@ -16,7 +16,7 @@ IUSE="dbus debug +elf gtk-doc +mime selinux static-libs 
sysprof systemtap test u
 RESTRICT="!test? ( test )"
 REQUIRED_USE="gtk-doc? ( test )" # Bug #777636
 
-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"
 
 # * elfutils (via libelf) does not build on Windows. gresources are not 
embedded
 # within ELF binaries on that platform anyway and inspecting ELF binaries from



[gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/

2023-08-12 Thread Arthur Zamarin
commit: 30694c7595ff468dcfec17d15504de0aea5e5e68
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Aug 12 17:52:23 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Aug 12 17:52:23 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30694c75

dev-libs/glib: Stabilize 2.76.3 arm, #909467

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/glib/glib-2.76.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/glib/glib-2.76.3.ebuild b/dev-libs/glib/glib-2.76.3.ebuild
index ea1999e3cb15..08efc6030165 100644
--- a/dev-libs/glib/glib-2.76.3.ebuild
+++ b/dev-libs/glib/glib-2.76.3.ebuild
@@ -16,7 +16,7 @@ IUSE="dbus debug +elf gtk-doc +mime selinux static-libs 
sysprof systemtap test u
 RESTRICT="!test? ( test )"
 REQUIRED_USE="gtk-doc? ( test )" # Bug #777636
 
-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"
 
 # * elfutils (via libelf) does not build on Windows. gresources are not 
embedded
 # within ELF binaries on that platform anyway and inspecting ELF binaries from



[gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/

2023-07-11 Thread Jakov Smolić
commit: a654be2b679a77066b6ecf6ea235ffb1d7729d9a
Author: Jakov Smolić  gentoo  org>
AuthorDate: Tue Jul 11 11:19:14 2023 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Tue Jul 11 11:19:14 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a654be2b

dev-libs/glib: Stabilize 2.76.3 x86, #909467

Signed-off-by: Jakov Smolić  gentoo.org>

 dev-libs/glib/glib-2.76.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/glib/glib-2.76.3.ebuild b/dev-libs/glib/glib-2.76.3.ebuild
index c2c7133f127e..ea1999e3cb15 100644
--- a/dev-libs/glib/glib-2.76.3.ebuild
+++ b/dev-libs/glib/glib-2.76.3.ebuild
@@ -16,7 +16,7 @@ IUSE="dbus debug +elf gtk-doc +mime selinux static-libs 
sysprof systemtap test u
 RESTRICT="!test? ( test )"
 REQUIRED_USE="gtk-doc? ( test )" # Bug #777636
 
-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"
 
 # * elfutils (via libelf) does not build on Windows. gresources are not 
embedded
 # within ELF binaries on that platform anyway and inspecting ELF binaries from



[gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/

2023-07-06 Thread Matt Turner
commit: bffd20ee530a59bc1293b3c85d3772a8fa29a6ac
Author: Matt Turner  gentoo  org>
AuthorDate: Thu Jul  6 22:21:21 2023 +
Commit: Matt Turner  gentoo  org>
CommitDate: Thu Jul  6 23:10:08 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bffd20ee

dev-libs/glib: Version bump to 2.76.4

Signed-off-by: Matt Turner  gentoo.org>

 dev-libs/glib/Manifest   |   1 +
 dev-libs/glib/glib-2.76.4.ebuild | 312 +++
 2 files changed, 313 insertions(+)

diff --git a/dev-libs/glib/Manifest b/dev-libs/glib/Manifest
index 8ad462b9a26f..df27d830a79d 100644
--- a/dev-libs/glib/Manifest
+++ b/dev-libs/glib/Manifest
@@ -1,2 +1,3 @@
 DIST glib-2.76.2.tar.xz 5273836 BLAKE2B 
db5d5e45fe4a17bade7f5bf923ac0e5541237d19146ede33b4d52f05b82e4ecb94519393f49ac3b04e17d0f56bfd5dd99b8e81ae80956cfdb5cb2396cd5ec8cc
 SHA512 
5a99723d72ae987999bdf3eac4f3cabe2e014616038f2006e84060b97d6d290b7d44a20d700e9c0f4572a6defed56169f624bcd21b0337f32832b311aa2737e6
 DIST glib-2.76.3.tar.xz 5273460 BLAKE2B 
894635281d1a3eb60d274b8db91cd59069b6d0abe61295175c794ad44e8669d869009fac44c7d6f416a93adcea5b9aeb90b944047d013fa1f2d9b1a8ded3de1e
 SHA512 
291b8913918d411b679442b888f56893a857a77decfe428086c8bd1da1949498938ddb0bf254ed99d192e4a09b5e8cee1905fd6932ee642463fb229cac7c226e
+DIST glib-2.76.4.tar.xz 5274356 BLAKE2B 
c9ceb514ea81e1e6ab2d0efc82c48c0d8ae6c997fd0e3c56d47a5174b027f785b58266fff73b1d1132e272305126fbff22e3c65d47de46224cd12fa49796d5bc
 SHA512 
f76932dc5090a44880373228e2b162f338415d06f7c90f2950eab1a43bb191c56a1797da4d377594f6a999197fef4defb848039259cfa4105bb68288a928f5b7

diff --git a/dev-libs/glib/glib-2.76.4.ebuild b/dev-libs/glib/glib-2.76.4.ebuild
new file mode 100644
index ..d25af8f101dc
--- /dev/null
+++ b/dev-libs/glib/glib-2.76.4.ebuild
@@ -0,0 +1,312 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_REQ_USE="xml(+)"
+PYTHON_COMPAT=( python3_{9..12} )
+
+inherit gnome.org gnome2-utils linux-info meson-multilib multilib 
python-any-r1 toolchain-funcs xdg
+
+DESCRIPTION="The GLib library of C routines"
+HOMEPAGE="https://www.gtk.org/;
+
+LICENSE="LGPL-2.1+"
+SLOT="2"
+IUSE="dbus debug +elf gtk-doc +mime selinux static-libs sysprof systemtap test 
utils xattr"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="gtk-doc? ( test )" # Bug #777636
+
+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"
+
+# * elfutils (via libelf) does not build on Windows. gresources are not 
embedded
+# within ELF binaries on that platform anyway and inspecting ELF binaries from
+# other platforms is not that useful so exclude the dependency in this case.
+# * Technically static-libs is needed on zlib, util-linux and perhaps more, but
+# these are used by GIO, which glib[static-libs] consumers don't really seem
+# to need at all, thus not imposing the deps for now and once some consumers
+# are actually found to static link libgio-2.0.a, we can revisit and either add
+# them or just put the (build) deps in that rare consumer instead of recursive
+# RDEPEND here (due to lack of recursive DEPEND).
+RDEPEND="
+   !=virtual/libiconv-0-r1[${MULTILIB_USEDEP}]
+   >=dev-libs/libpcre2-10.32:0=[${MULTILIB_USEDEP},unicode(+),static-libs?]
+   >=dev-libs/libffi-3.0.13-r1:=[${MULTILIB_USEDEP}]
+   >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]
+   >=virtual/libintl-0-r2[${MULTILIB_USEDEP}]
+   kernel_linux? ( >=sys-apps/util-linux-2.23[${MULTILIB_USEDEP}] )
+   selinux? ( >=sys-libs/libselinux-2.2.2-r5[${MULTILIB_USEDEP}] )
+   xattr? ( !elibc_glibc? ( >=sys-apps/attr-2.4.47-r1[${MULTILIB_USEDEP}] 
) )
+   elf? ( virtual/libelf:0= )
+   sysprof? ( >=dev-util/sysprof-capture-3.40.1:4[${MULTILIB_USEDEP}] )
+"
+DEPEND="${RDEPEND}"
+# libxml2 used for optional tests that get automatically skipped
+BDEPEND="
+   app-text/docbook-xsl-stylesheets
+   dev-libs/libxslt
+   >=sys-devel/gettext-0.19.8
+   gtk-doc? ( >=dev-util/gtk-doc-1.33
+   app-text/docbook-xml-dtd:4.2
+   app-text/docbook-xml-dtd:4.5 )
+   systemtap? ( >=dev-util/systemtap-1.3 )
+   ${PYTHON_DEPS}
+   test? ( >=sys-apps/dbus-1.2.14 )
+   virtual/pkgconfig
+"
+# TODO: >=dev-util/gdbus-codegen-${PV} test dep once we modify 
gio/tests/meson.build to use external gdbus-codegen
+
+PDEPEND="
+   dbus? ( gnome-base/dconf )
+   mime? ( x11-misc/shared-mime-info )
+"
+# shared-mime-info needed for gio/xdgmime, bug #409481
+# dconf is needed to be able to save settings, bug #498436
+
+MULTILIB_CHOST_TOOLS=(
+   /usr/bin/gio-querymodules$(get_exeext)
+)
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-2.64.1-mark-gdbus-server-auth-test-flaky.patch
+)
+
+pkg_setup() {
+   if use kernel_linux ; then
+   CONFIG_CHECK="~INOTIFY_USER"
+ 

[gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/

2023-07-02 Thread Sam James
commit: 56cd85951694ad3301c739d96940d6acf505fe4c
Author: Sam James  gentoo  org>
AuthorDate: Sun Jul  2 15:03:17 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jul  2 15:03:17 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56cd8595

dev-libs/glib: Stabilize 2.76.3 amd64, #909467

Signed-off-by: Sam James  gentoo.org>

 dev-libs/glib/glib-2.76.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/glib/glib-2.76.3.ebuild b/dev-libs/glib/glib-2.76.3.ebuild
index ebcc352dde26..c2c7133f127e 100644
--- a/dev-libs/glib/glib-2.76.3.ebuild
+++ b/dev-libs/glib/glib-2.76.3.ebuild
@@ -16,7 +16,7 @@ IUSE="dbus debug +elf gtk-doc +mime selinux static-libs 
sysprof systemtap test u
 RESTRICT="!test? ( test )"
 REQUIRED_USE="gtk-doc? ( test )" # Bug #777636
 
-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"
 
 # * elfutils (via libelf) does not build on Windows. gresources are not 
embedded
 # within ELF binaries on that platform anyway and inspecting ELF binaries from



[gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/

2023-07-02 Thread Sam James
commit: d185ef9272a752fc8f118212cc8175af847bccb1
Author: Sam James  gentoo  org>
AuthorDate: Sun Jul  2 11:16:42 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jul  2 11:17:21 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d185ef92

dev-libs/glib: Stabilize 2.76.3 arm64, #909467

Signed-off-by: Sam James  gentoo.org>

 dev-libs/glib/glib-2.76.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/glib/glib-2.76.3.ebuild b/dev-libs/glib/glib-2.76.3.ebuild
index d25af8f101dc..ebcc352dde26 100644
--- a/dev-libs/glib/glib-2.76.3.ebuild
+++ b/dev-libs/glib/glib-2.76.3.ebuild
@@ -16,7 +16,7 @@ IUSE="dbus debug +elf gtk-doc +mime selinux static-libs 
sysprof systemtap test u
 RESTRICT="!test? ( test )"
 REQUIRED_USE="gtk-doc? ( test )" # Bug #777636
 
-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"
 
 # * elfutils (via libelf) does not build on Windows. gresources are not 
embedded
 # within ELF binaries on that platform anyway and inspecting ELF binaries from



[gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/

2023-06-04 Thread Sam James
commit: 1787a52a4bd03f2bb4c5c0d3f6a006d96a84be30
Author: Violet Purcell  inventati  org>
AuthorDate: Sun Jun  4 18:44:44 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Jun  5 05:12:31 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1787a52a

dev-libs/glib: enable py3.12

Signed-off-by: Violet Purcell  inventati.org>
Signed-off-by: Sam James  gentoo.org>

 dev-libs/glib/glib-2.76.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/glib/glib-2.76.3.ebuild b/dev-libs/glib/glib-2.76.3.ebuild
index 0d286c90c737..d25af8f101dc 100644
--- a/dev-libs/glib/glib-2.76.3.ebuild
+++ b/dev-libs/glib/glib-2.76.3.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 PYTHON_REQ_USE="xml(+)"
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{9..12} )
 
 inherit gnome.org gnome2-utils linux-info meson-multilib multilib 
python-any-r1 toolchain-funcs xdg
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/

2023-05-23 Thread Matt Turner
commit: 1198ed8c436a02406d5dbd4f1d63693055660429
Author: Matt Turner  gentoo  org>
AuthorDate: Wed May 24 01:21:11 2023 +
Commit: Matt Turner  gentoo  org>
CommitDate: Wed May 24 01:38:05 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1198ed8c

dev-libs/glib: Version bump to 2.76.3

Signed-off-by: Matt Turner  gentoo.org>

 dev-libs/glib/Manifest   |   1 +
 dev-libs/glib/glib-2.76.3.ebuild | 312 +++
 2 files changed, 313 insertions(+)

diff --git a/dev-libs/glib/Manifest b/dev-libs/glib/Manifest
index 37d2aa1b2b4a..8ad462b9a26f 100644
--- a/dev-libs/glib/Manifest
+++ b/dev-libs/glib/Manifest
@@ -1 +1,2 @@
 DIST glib-2.76.2.tar.xz 5273836 BLAKE2B 
db5d5e45fe4a17bade7f5bf923ac0e5541237d19146ede33b4d52f05b82e4ecb94519393f49ac3b04e17d0f56bfd5dd99b8e81ae80956cfdb5cb2396cd5ec8cc
 SHA512 
5a99723d72ae987999bdf3eac4f3cabe2e014616038f2006e84060b97d6d290b7d44a20d700e9c0f4572a6defed56169f624bcd21b0337f32832b311aa2737e6
+DIST glib-2.76.3.tar.xz 5273460 BLAKE2B 
894635281d1a3eb60d274b8db91cd59069b6d0abe61295175c794ad44e8669d869009fac44c7d6f416a93adcea5b9aeb90b944047d013fa1f2d9b1a8ded3de1e
 SHA512 
291b8913918d411b679442b888f56893a857a77decfe428086c8bd1da1949498938ddb0bf254ed99d192e4a09b5e8cee1905fd6932ee642463fb229cac7c226e

diff --git a/dev-libs/glib/glib-2.76.3.ebuild b/dev-libs/glib/glib-2.76.3.ebuild
new file mode 100644
index ..9d8f08d84627
--- /dev/null
+++ b/dev-libs/glib/glib-2.76.3.ebuild
@@ -0,0 +1,312 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_REQ_USE="xml(+)"
+PYTHON_COMPAT=( python3_{9..11} )
+
+inherit gnome.org gnome2-utils linux-info meson-multilib multilib 
python-any-r1 toolchain-funcs xdg
+
+DESCRIPTION="The GLib library of C routines"
+HOMEPAGE="https://www.gtk.org/;
+
+LICENSE="LGPL-2.1+"
+SLOT="2"
+IUSE="dbus debug +elf gtk-doc +mime selinux static-libs sysprof systemtap test 
utils xattr"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="gtk-doc? ( test )" # Bug #777636
+
+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 ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+
+# * elfutils (via libelf) does not build on Windows. gresources are not 
embedded
+# within ELF binaries on that platform anyway and inspecting ELF binaries from
+# other platforms is not that useful so exclude the dependency in this case.
+# * Technically static-libs is needed on zlib, util-linux and perhaps more, but
+# these are used by GIO, which glib[static-libs] consumers don't really seem
+# to need at all, thus not imposing the deps for now and once some consumers
+# are actually found to static link libgio-2.0.a, we can revisit and either add
+# them or just put the (build) deps in that rare consumer instead of recursive
+# RDEPEND here (due to lack of recursive DEPEND).
+RDEPEND="
+   !=virtual/libiconv-0-r1[${MULTILIB_USEDEP}]
+   >=dev-libs/libpcre2-10.32:0=[${MULTILIB_USEDEP},unicode(+),static-libs?]
+   >=dev-libs/libffi-3.0.13-r1:=[${MULTILIB_USEDEP}]
+   >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]
+   >=virtual/libintl-0-r2[${MULTILIB_USEDEP}]
+   kernel_linux? ( >=sys-apps/util-linux-2.23[${MULTILIB_USEDEP}] )
+   selinux? ( >=sys-libs/libselinux-2.2.2-r5[${MULTILIB_USEDEP}] )
+   xattr? ( !elibc_glibc? ( >=sys-apps/attr-2.4.47-r1[${MULTILIB_USEDEP}] 
) )
+   elf? ( virtual/libelf:0= )
+   sysprof? ( >=dev-util/sysprof-capture-3.40.1:4[${MULTILIB_USEDEP}] )
+"
+DEPEND="${RDEPEND}"
+# libxml2 used for optional tests that get automatically skipped
+BDEPEND="
+   app-text/docbook-xsl-stylesheets
+   dev-libs/libxslt
+   >=sys-devel/gettext-0.19.8
+   gtk-doc? ( >=dev-util/gtk-doc-1.33
+   app-text/docbook-xml-dtd:4.2
+   app-text/docbook-xml-dtd:4.5 )
+   systemtap? ( >=dev-util/systemtap-1.3 )
+   ${PYTHON_DEPS}
+   test? ( >=sys-apps/dbus-1.2.14 )
+   virtual/pkgconfig
+"
+# TODO: >=dev-util/gdbus-codegen-${PV} test dep once we modify 
gio/tests/meson.build to use external gdbus-codegen
+
+PDEPEND="
+   dbus? ( gnome-base/dconf )
+   mime? ( x11-misc/shared-mime-info )
+"
+# shared-mime-info needed for gio/xdgmime, bug #409481
+# dconf is needed to be able to save settings, bug #498436
+
+MULTILIB_CHOST_TOOLS=(
+   /usr/bin/gio-querymodules$(get_exeext)
+)
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-2.64.1-mark-gdbus-server-auth-test-flaky.patch
+)
+
+pkg_setup() {
+   if use kernel_linux ; then
+   CONFIG_CHECK="~INOTIFY_USER"
+   if use test ; then
+   CONFIG_CHECK="~IPV6"
+   WARNING_IPV6="Your kernel needs IPV6 support for 
running some tests, skipping them."
+   fi
+   linux-info_pkg_setup
+   fi
+   

[gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/

2023-05-23 Thread Matt Turner
commit: dfefe170ab11c31cb400742157676fd03ac87a6d
Author: Matt Turner  gentoo  org>
AuthorDate: Wed May 24 01:36:19 2023 +
Commit: Matt Turner  gentoo  org>
CommitDate: Wed May 24 01:38:05 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfefe170

dev-libs/glib: Fix broken sed

Added in commit 68ff644e7e8a ("dev-libs/glib-2.76.2: fix for Prefix, add
keywords")

Signed-off-by: Matt Turner  gentoo.org>

 dev-libs/glib/glib-2.76.2.ebuild | 2 +-
 dev-libs/glib/glib-2.76.3.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-libs/glib/glib-2.76.2.ebuild b/dev-libs/glib/glib-2.76.2.ebuild
index ce0eb4b28688..f8681add211d 100644
--- a/dev-libs/glib/glib-2.76.2.ebuild
+++ b/dev-libs/glib/glib-2.76.2.ebuild
@@ -153,7 +153,7 @@ src_prepare() {
fi
 
# disable native macOS integrations
-   sed -i -e '/glib_conf.set(.HAVE_\(CARBON\|COCOA\).)/s/true/false/' \
+   sed -i -e '/glib_conf.set(.HAVE_\(CARBON\|COCOA\).,/s/true/false/' \
meson.build || die
sed -i \
-e '/AvailabilityMacros.h/d' \

diff --git a/dev-libs/glib/glib-2.76.3.ebuild b/dev-libs/glib/glib-2.76.3.ebuild
index 9d8f08d84627..567a483717ea 100644
--- a/dev-libs/glib/glib-2.76.3.ebuild
+++ b/dev-libs/glib/glib-2.76.3.ebuild
@@ -154,7 +154,7 @@ src_prepare() {
fi
 
# disable native macOS integrations
-   sed -i -e '/glib_conf.set(.HAVE_\(CARBON\|COCOA\).)/s/true/false/' \
+   sed -i -e '/glib_conf.set(.HAVE_\(CARBON\|COCOA\).,/s/true/false/' \
meson.build || die
sed -i \
-e '/AvailabilityMacros.h/d' \



[gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/

2023-05-03 Thread Fabian Groffen
commit: d64540ccb3f87ccf8d7e6eadb4c3d638b9761877
Author: Fabian Groffen  gentoo  org>
AuthorDate: Wed May  3 11:51:13 2023 +
Commit: Fabian Groffen  gentoo  org>
CommitDate: Wed May  3 11:51:13 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d64540cc

dev-libs/glib-2.76.2: drop x86-winnt keyword

Signed-off-by: Fabian Groffen  gentoo.org>

 dev-libs/glib/glib-2.76.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/glib/glib-2.76.2.ebuild b/dev-libs/glib/glib-2.76.2.ebuild
index ec20446855bd..6bc394bd8bb9 100644
--- a/dev-libs/glib/glib-2.76.2.ebuild
+++ b/dev-libs/glib/glib-2.76.2.ebuild
@@ -16,7 +16,7 @@ IUSE="dbus debug +elf gtk-doc +mime selinux static-libs 
sysprof systemtap test u
 RESTRICT="!test? ( test )"
 REQUIRED_USE="gtk-doc? ( test )" # Bug #777636
 
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~amd64-linux ~x86-linux 
~arm64-macos ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris 
~x86-solaris ~x86-winnt"
+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 ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 
 # * elfutils (via libelf) does not build on Windows. gresources are not 
embedded
 # within ELF binaries on that platform anyway and inspecting ELF binaries from



[gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/

2023-05-03 Thread Fabian Groffen
commit: 68ff644e7e8a247fb20698e1dfb32ba204a5fd8d
Author: Fabian Groffen  gentoo  org>
AuthorDate: Wed May  3 11:49:09 2023 +
Commit: Fabian Groffen  gentoo  org>
CommitDate: Wed May  3 11:49:14 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68ff644e

dev-libs/glib-2.76.2: fix for Prefix, add keywords

Signed-off-by: Fabian Groffen  gentoo.org>

 dev-libs/glib/glib-2.76.2.ebuild | 26 +-
 1 file changed, 25 insertions(+), 1 deletion(-)

diff --git a/dev-libs/glib/glib-2.76.2.ebuild b/dev-libs/glib/glib-2.76.2.ebuild
index 82c17d96b107..ec20446855bd 100644
--- a/dev-libs/glib/glib-2.76.2.ebuild
+++ b/dev-libs/glib/glib-2.76.2.ebuild
@@ -16,7 +16,7 @@ IUSE="dbus debug +elf gtk-doc +mime selinux static-libs 
sysprof systemtap test u
 RESTRICT="!test? ( test )"
 REQUIRED_USE="gtk-doc? ( test )" # Bug #777636
 
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~amd64-linux ~x86-linux 
~arm64-macos ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris 
~x86-solaris ~x86-winnt"
 
 # * elfutils (via libelf) does not build on Windows. gresources are not 
embedded
 # within ELF binaries on that platform anyway and inspecting ELF binaries from
@@ -131,6 +131,30 @@ src_prepare() {
chmod a+x "${T}/glib-test-ld-wrapper" || die
sed -i -e "s|'ld'|'${T}/glib-test-ld-wrapper'|g" gio/tests/meson.build 
|| die
 
+   # make default sane for us
+   if use prefix ; then
+   sed -i -e "s:/usr/local:${EPREFIX}/usr:" gio/xdgmime/xdgmime.c 
|| die
+   # bug #308609, without path, bug #314057
+   export PERL=perl
+   fi
+
+   if [[ ${CHOST} == *-solaris* ]] ; then
+   # fix standards conflicts
+   sed -i \
+   -e 
's/\<\(_XOPEN_SOURCE_EXTENDED\)\>/_POSIX_PTHREAD_SEMANTICS/' \
+   -e '/\<_XOPEN_SOURCE\>/s/\<2\>/600/' \
+   meson.build || die
+   sed -i -e '/#define\s\+_POSIX_SOURCE/d' \
+   glib/giounix.c || die
+   fi
+
+   # disable native macOS integrations
+   sed -i -e '/glib_conf.set(.HAVE_\(CARBON\|COCOA\).)/s/true/false/' \
+   meson.build || die
+   sed -i \
+   -e '/AvailabilityMacros.h/d' \
+   gio/giomodule.c || die
+
default
gnome2_environment_reset
# TODO: python_name sedding for correct python shebang? Might be 
relevant mainly for glib-utils only



[gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/

2023-05-02 Thread Arthur Zamarin
commit: 3cbc8e6031c95f610a3450010d87a09cfbf95671
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue May  2 19:05:29 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue May  2 19:05:29 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3cbc8e60

dev-libs/glib: Stabilize 2.76.2 hppa, #905481

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/glib/glib-2.76.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/glib/glib-2.76.2.ebuild b/dev-libs/glib/glib-2.76.2.ebuild
index a53d2dfd3c87..82c17d96b107 100644
--- a/dev-libs/glib/glib-2.76.2.ebuild
+++ b/dev-libs/glib/glib-2.76.2.ebuild
@@ -16,7 +16,7 @@ IUSE="dbus debug +elf gtk-doc +mime selinux static-libs 
sysprof systemtap test u
 RESTRICT="!test? ( test )"
 REQUIRED_USE="gtk-doc? ( test )" # Bug #777636
 
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux"
 
 # * elfutils (via libelf) does not build on Windows. gresources are not 
embedded
 # within ELF binaries on that platform anyway and inspecting ELF binaries from



[gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/

2023-05-02 Thread Arthur Zamarin
commit: 5d1120b66b79265b197b64cc7d25689847936f40
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue May  2 18:05:38 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue May  2 18:05:56 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d1120b6

dev-libs/glib: Stabilize 2.76.2 sparc, #905481

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/glib/glib-2.76.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/glib/glib-2.76.2.ebuild b/dev-libs/glib/glib-2.76.2.ebuild
index 24b05cef3fb6..aefa24f70904 100644
--- a/dev-libs/glib/glib-2.76.2.ebuild
+++ b/dev-libs/glib/glib-2.76.2.ebuild
@@ -16,7 +16,7 @@ IUSE="dbus debug +elf gtk-doc +mime selinux static-libs 
sysprof systemtap test u
 RESTRICT="!test? ( test )"
 REQUIRED_USE="gtk-doc? ( test )" # Bug #777636
 
-KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux"
 
 # * elfutils (via libelf) does not build on Windows. gresources are not 
embedded
 # within ELF binaries on that platform anyway and inspecting ELF binaries from



[gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/

2023-05-02 Thread Arthur Zamarin
commit: 26aa0ba8cb95df25a748260e818d257ea59cbbaf
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue May  2 18:05:41 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue May  2 18:05:56 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26aa0ba8

dev-libs/glib: Stabilize 2.76.2 amd64, #905481

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/glib/glib-2.76.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/glib/glib-2.76.2.ebuild b/dev-libs/glib/glib-2.76.2.ebuild
index aefa24f70904..a53d2dfd3c87 100644
--- a/dev-libs/glib/glib-2.76.2.ebuild
+++ b/dev-libs/glib/glib-2.76.2.ebuild
@@ -16,7 +16,7 @@ IUSE="dbus debug +elf gtk-doc +mime selinux static-libs 
sysprof systemtap test u
 RESTRICT="!test? ( test )"
 REQUIRED_USE="gtk-doc? ( test )" # Bug #777636
 
-KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux"
 
 # * elfutils (via libelf) does not build on Windows. gresources are not 
embedded
 # within ELF binaries on that platform anyway and inspecting ELF binaries from



[gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/

2023-05-02 Thread Arthur Zamarin
commit: ffd71e236c3f00ee3a7edbe1d15bed81d819409f
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue May  2 18:05:32 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue May  2 18:05:55 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ffd71e23

dev-libs/glib: Stabilize 2.76.2 ppc, #905481

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/glib/glib-2.76.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/glib/glib-2.76.2.ebuild b/dev-libs/glib/glib-2.76.2.ebuild
index 79f6ac4c0998..71f889c03d59 100644
--- a/dev-libs/glib/glib-2.76.2.ebuild
+++ b/dev-libs/glib/glib-2.76.2.ebuild
@@ -16,7 +16,7 @@ IUSE="dbus debug +elf gtk-doc +mime selinux static-libs 
sysprof systemtap test u
 RESTRICT="!test? ( test )"
 REQUIRED_USE="gtk-doc? ( test )" # Bug #777636
 
-KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ~ppc64 
~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux"
 
 # * elfutils (via libelf) does not build on Windows. gresources are not 
embedded
 # within ELF binaries on that platform anyway and inspecting ELF binaries from



[gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/

2023-05-02 Thread Arthur Zamarin
commit: b7c1ba79220bb00392343a05cb62b85036a9447d
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue May  2 18:05:27 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue May  2 18:05:55 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7c1ba79

dev-libs/glib: Stabilize 2.76.2 arm64, #905481

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/glib/glib-2.76.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/glib/glib-2.76.2.ebuild b/dev-libs/glib/glib-2.76.2.ebuild
index 0270b9eb3f34..ce951ecc3035 100644
--- a/dev-libs/glib/glib-2.76.2.ebuild
+++ b/dev-libs/glib/glib-2.76.2.ebuild
@@ -16,7 +16,7 @@ IUSE="dbus debug +elf gtk-doc +mime selinux static-libs 
sysprof systemtap test u
 RESTRICT="!test? ( test )"
 REQUIRED_USE="gtk-doc? ( test )" # Bug #777636
 
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux"
 
 # * elfutils (via libelf) does not build on Windows. gresources are not 
embedded
 # within ELF binaries on that platform anyway and inspecting ELF binaries from



[gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/

2023-05-02 Thread Arthur Zamarin
commit: e7253868ada7d576f7b35d830057b9cfa2f80743
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue May  2 18:05:29 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue May  2 18:05:55 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7253868

dev-libs/glib: Stabilize 2.76.2 arm, #905481

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/glib/glib-2.76.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/glib/glib-2.76.2.ebuild b/dev-libs/glib/glib-2.76.2.ebuild
index ce951ecc3035..79f6ac4c0998 100644
--- a/dev-libs/glib/glib-2.76.2.ebuild
+++ b/dev-libs/glib/glib-2.76.2.ebuild
@@ -16,7 +16,7 @@ IUSE="dbus debug +elf gtk-doc +mime selinux static-libs 
sysprof systemtap test u
 RESTRICT="!test? ( test )"
 REQUIRED_USE="gtk-doc? ( test )" # Bug #777636
 
-KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux"
 
 # * elfutils (via libelf) does not build on Windows. gresources are not 
embedded
 # within ELF binaries on that platform anyway and inspecting ELF binaries from



[gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/

2023-05-02 Thread Arthur Zamarin
commit: 751f632c227fb0f4219960bdd2e51804e32b7369
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue May  2 18:05:24 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue May  2 18:05:54 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=751f632c

dev-libs/glib: Stabilize 2.76.2 x86, #905481

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/glib/glib-2.76.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/glib/glib-2.76.2.ebuild b/dev-libs/glib/glib-2.76.2.ebuild
index e9c054fc2a84..0270b9eb3f34 100644
--- a/dev-libs/glib/glib-2.76.2.ebuild
+++ b/dev-libs/glib/glib-2.76.2.ebuild
@@ -16,7 +16,7 @@ IUSE="dbus debug +elf gtk-doc +mime selinux static-libs 
sysprof systemtap test u
 RESTRICT="!test? ( test )"
 REQUIRED_USE="gtk-doc? ( test )" # Bug #777636
 
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux"
 
 # * elfutils (via libelf) does not build on Windows. gresources are not 
embedded
 # within ELF binaries on that platform anyway and inspecting ELF binaries from



[gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/

2023-05-02 Thread Arthur Zamarin
commit: 9ac705119afdc44c3d83638d10c9abb9d74c04b2
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue May  2 18:05:35 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue May  2 18:05:56 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ac70511

dev-libs/glib: Stabilize 2.76.2 ppc64, #905481

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/glib/glib-2.76.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/glib/glib-2.76.2.ebuild b/dev-libs/glib/glib-2.76.2.ebuild
index 71f889c03d59..24b05cef3fb6 100644
--- a/dev-libs/glib/glib-2.76.2.ebuild
+++ b/dev-libs/glib/glib-2.76.2.ebuild
@@ -16,7 +16,7 @@ IUSE="dbus debug +elf gtk-doc +mime selinux static-libs 
sysprof systemtap test u
 RESTRICT="!test? ( test )"
 REQUIRED_USE="gtk-doc? ( test )" # Bug #777636
 
-KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ~ppc64 
~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux"
 
 # * elfutils (via libelf) does not build on Windows. gresources are not 
embedded
 # within ELF binaries on that platform anyway and inspecting ELF binaries from



[gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/

2023-04-21 Thread Matt Turner
commit: b80ff683899231c5b4cb9fb2c0ccb5be7d39485c
Author: Guillermo Joandet  gmail  com>
AuthorDate: Fri Apr 21 18:10:26 2023 +
Commit: Matt Turner  gentoo  org>
CommitDate: Sat Apr 22 03:08:03 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b80ff683

dev-libs/glib: Version bump to 2.76.2

Signed-off-by: Guillermo Joandet  gmail.com>
Signed-off-by: Matt Turner  gentoo.org>

 dev-libs/glib/Manifest   |   1 +
 dev-libs/glib/glib-2.76.2.ebuild | 279 +++
 2 files changed, 280 insertions(+)

diff --git a/dev-libs/glib/Manifest b/dev-libs/glib/Manifest
index 22683e984b24..ccac97275af2 100644
--- a/dev-libs/glib/Manifest
+++ b/dev-libs/glib/Manifest
@@ -1,2 +1,3 @@
 DIST glib-2.74.6.tar.xz 5217312 BLAKE2B 
07b0a5cb74c1451ba863d5f9a781a122d3d20af1f1227177025de114279277cacada3dd6ab5eb5ad5c0bff5ac7abab6fdfbe0551f44d07b2ddc9141a0640a8c8
 SHA512 
6b6d113012ec90f6cf77513ec0132668c49aa7224c806181ad662388701004667cdf6d263050d6f896b8688c085abf461aa3e659eb288e6ba93ba4970a2f181b
 DIST glib-2.76.1.tar.xz 5270936 BLAKE2B 
6e6d15bda7ca6365d5f33e197cad41043f17c2f505997953e4f5222121571dabfa07ac88d0a1e298313021c63ef97e7560128c3f8ddf7f518afba98692555e81
 SHA512 
7ab8740925fa4ed2d860a35544c475ae905df5fa7fc0cc64ffa8c543df6073794e44c8ff39e3e1de1d677016ef9d27e9bc709d2505d13090faa8d6c47cd64bd0
+DIST glib-2.76.2.tar.xz 5273836 BLAKE2B 
db5d5e45fe4a17bade7f5bf923ac0e5541237d19146ede33b4d52f05b82e4ecb94519393f49ac3b04e17d0f56bfd5dd99b8e81ae80956cfdb5cb2396cd5ec8cc
 SHA512 
5a99723d72ae987999bdf3eac4f3cabe2e014616038f2006e84060b97d6d290b7d44a20d700e9c0f4572a6defed56169f624bcd21b0337f32832b311aa2737e6

diff --git a/dev-libs/glib/glib-2.76.2.ebuild b/dev-libs/glib/glib-2.76.2.ebuild
new file mode 100644
index ..e9c054fc2a84
--- /dev/null
+++ b/dev-libs/glib/glib-2.76.2.ebuild
@@ -0,0 +1,279 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_REQ_USE="xml(+)"
+PYTHON_COMPAT=( python3_{9..11} )
+
+inherit gnome.org gnome2-utils linux-info meson-multilib multilib 
python-any-r1 toolchain-funcs xdg
+
+DESCRIPTION="The GLib library of C routines"
+HOMEPAGE="https://www.gtk.org/;
+
+LICENSE="LGPL-2.1+"
+SLOT="2"
+IUSE="dbus debug +elf gtk-doc +mime selinux static-libs sysprof systemtap test 
utils xattr"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="gtk-doc? ( test )" # Bug #777636
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+
+# * elfutils (via libelf) does not build on Windows. gresources are not 
embedded
+# within ELF binaries on that platform anyway and inspecting ELF binaries from
+# other platforms is not that useful so exclude the dependency in this case.
+# * Technically static-libs is needed on zlib, util-linux and perhaps more, but
+# these are used by GIO, which glib[static-libs] consumers don't really seem
+# to need at all, thus not imposing the deps for now and once some consumers
+# are actually found to static link libgio-2.0.a, we can revisit and either add
+# them or just put the (build) deps in that rare consumer instead of recursive
+# RDEPEND here (due to lack of recursive DEPEND).
+RDEPEND="
+   !=virtual/libiconv-0-r1[${MULTILIB_USEDEP}]
+   >=dev-libs/libpcre2-10.32:0=[${MULTILIB_USEDEP},unicode(+),static-libs?]
+   >=dev-libs/libffi-3.0.13-r1:=[${MULTILIB_USEDEP}]
+   >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]
+   >=virtual/libintl-0-r2[${MULTILIB_USEDEP}]
+   kernel_linux? ( >=sys-apps/util-linux-2.23[${MULTILIB_USEDEP}] )
+   selinux? ( >=sys-libs/libselinux-2.2.2-r5[${MULTILIB_USEDEP}] )
+   xattr? ( !elibc_glibc? ( >=sys-apps/attr-2.4.47-r1[${MULTILIB_USEDEP}] 
) )
+   elf? ( virtual/libelf:0= )
+   sysprof? ( >=dev-util/sysprof-capture-3.40.1:4[${MULTILIB_USEDEP}] )
+"
+DEPEND="${RDEPEND}"
+# libxml2 used for optional tests that get automatically skipped
+BDEPEND="
+   app-text/docbook-xsl-stylesheets
+   dev-libs/libxslt
+   >=sys-devel/gettext-0.19.8
+   gtk-doc? ( >=dev-util/gtk-doc-1.33
+   app-text/docbook-xml-dtd:4.2
+   app-text/docbook-xml-dtd:4.5 )
+   systemtap? ( >=dev-util/systemtap-1.3 )
+   ${PYTHON_DEPS}
+   test? ( >=sys-apps/dbus-1.2.14 )
+   virtual/pkgconfig
+"
+# TODO: >=dev-util/gdbus-codegen-${PV} test dep once we modify 
gio/tests/meson.build to use external gdbus-codegen
+
+PDEPEND="
+   dbus? ( gnome-base/dconf )
+   mime? ( x11-misc/shared-mime-info )
+"
+# shared-mime-info needed for gio/xdgmime, bug #409481
+# dconf is needed to be able to save settings, bug #498436
+
+MULTILIB_CHOST_TOOLS=(
+   /usr/bin/gio-querymodules$(get_exeext)
+)
+
+pkg_setup() {
+   if use kernel_linux ; then
+   CONFIG_CHECK="~INOTIFY_USER"
+   if use test ; then
+   CONFIG_CHECK="~IPV6"
+   

[gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/

2023-04-01 Thread Arthur Zamarin
commit: 44bde3537e18098f9c30f6145ec1f1ee9faa79ca
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Apr  1 19:02:17 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Apr  1 19:02:17 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44bde353

dev-libs/glib: Stabilize 2.74.6 sparc, #901377

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/glib/glib-2.74.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/glib/glib-2.74.6.ebuild b/dev-libs/glib/glib-2.74.6.ebuild
index 9728d7d6e58a..678d48cb72dd 100644
--- a/dev-libs/glib/glib-2.74.6.ebuild
+++ b/dev-libs/glib/glib-2.74.6.ebuild
@@ -16,7 +16,7 @@ IUSE="dbus debug +elf gtk-doc +mime selinux static-libs 
sysprof systemtap test u
 RESTRICT="!test? ( test )"
 #REQUIRED_USE="gtk-doc? ( test )" # Bug #777636
 
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux"
 
 # * elfutils (via libelf) does not build on Windows. gresources are not 
embedded
 # within ELF binaries on that platform anyway and inspecting ELF binaries from



[gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/

2023-03-31 Thread Arthur Zamarin
commit: 64ec9d8462f56da9faf07e7ffa1bf88de025742d
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Mar 31 12:03:17 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Mar 31 12:03:17 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64ec9d84

dev-libs/glib: Stabilize 2.74.6 arm, #901377

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/glib/glib-2.74.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/glib/glib-2.74.6.ebuild b/dev-libs/glib/glib-2.74.6.ebuild
index 0d798bedb57b..d1efdb92978a 100644
--- a/dev-libs/glib/glib-2.74.6.ebuild
+++ b/dev-libs/glib/glib-2.74.6.ebuild
@@ -16,7 +16,7 @@ IUSE="dbus debug +elf gtk-doc +mime selinux static-libs 
sysprof systemtap test u
 RESTRICT="!test? ( test )"
 #REQUIRED_USE="gtk-doc? ( test )" # Bug #777636
 
-KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 
~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 
~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux"
 
 # * elfutils (via libelf) does not build on Windows. gresources are not 
embedded
 # within ELF binaries on that platform anyway and inspecting ELF binaries from



[gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/

2023-03-22 Thread Matt Turner
commit: b2bf5ffa5032971ae1ba0e0886b8095f95f17f63
Author: Guillermo Joandet  gmail  com>
AuthorDate: Wed Mar 22 13:01:38 2023 +
Commit: Matt Turner  gentoo  org>
CommitDate: Wed Mar 22 14:58:23 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2bf5ffa

dev-libs/glib: Version bump to 2.76.1

Signed-off-by: Guillermo Joandet  gmail.com>
Signed-off-by: Matt Turner  gentoo.org>

 dev-libs/glib/Manifest   |   1 +
 dev-libs/glib/glib-2.76.1.ebuild | 279 +++
 2 files changed, 280 insertions(+)

diff --git a/dev-libs/glib/Manifest b/dev-libs/glib/Manifest
index becb08779919..f4c95a889dd9 100644
--- a/dev-libs/glib/Manifest
+++ b/dev-libs/glib/Manifest
@@ -1,3 +1,4 @@
 DIST glib-2.74.5.tar.xz 5211852 BLAKE2B 
5bf0069cbf949a946357127682e4f687c7e7b8565037024a232b3e905e65bebb86d016832b6274f743005ec8fe5fcd31eaf99ccece82d9d7c3f924d17502c409
 SHA512 
2716e0fe984cc5d0714e91fe0de47ee71a8bd0b4c85caee337ddb7e02ac2fb3c8c007ccc1207b29cf901c30a7ec8e3bcca75d69c6fab2a32a8cf14bff974e614
 DIST glib-2.74.6.tar.xz 5217312 BLAKE2B 
07b0a5cb74c1451ba863d5f9a781a122d3d20af1f1227177025de114279277cacada3dd6ab5eb5ad5c0bff5ac7abab6fdfbe0551f44d07b2ddc9141a0640a8c8
 SHA512 
6b6d113012ec90f6cf77513ec0132668c49aa7224c806181ad662388701004667cdf6d263050d6f896b8688c085abf461aa3e659eb288e6ba93ba4970a2f181b
 DIST glib-2.76.0.tar.xz 5268620 BLAKE2B 
74bfba6254787b6b386161c329899fe6a53c87290261866f8aceb6e23ebf0bcacd085b04f480a7297d6fc11d37a676fb2fad5661e9f2668ae81f872ff5e2054f
 SHA512 
812834ca6d840dd9c15c0689685d8bd96f4acd69a89213f807a75732d1aa5efadbed0e0073f05a56a09beb2d4f0be1b83a4642259682aac84302632da2d62370
+DIST glib-2.76.1.tar.xz 5270936 BLAKE2B 
6e6d15bda7ca6365d5f33e197cad41043f17c2f505997953e4f5222121571dabfa07ac88d0a1e298313021c63ef97e7560128c3f8ddf7f518afba98692555e81
 SHA512 
7ab8740925fa4ed2d860a35544c475ae905df5fa7fc0cc64ffa8c543df6073794e44c8ff39e3e1de1d677016ef9d27e9bc709d2505d13090faa8d6c47cd64bd0

diff --git a/dev-libs/glib/glib-2.76.1.ebuild b/dev-libs/glib/glib-2.76.1.ebuild
new file mode 100644
index ..e9c054fc2a84
--- /dev/null
+++ b/dev-libs/glib/glib-2.76.1.ebuild
@@ -0,0 +1,279 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_REQ_USE="xml(+)"
+PYTHON_COMPAT=( python3_{9..11} )
+
+inherit gnome.org gnome2-utils linux-info meson-multilib multilib 
python-any-r1 toolchain-funcs xdg
+
+DESCRIPTION="The GLib library of C routines"
+HOMEPAGE="https://www.gtk.org/;
+
+LICENSE="LGPL-2.1+"
+SLOT="2"
+IUSE="dbus debug +elf gtk-doc +mime selinux static-libs sysprof systemtap test 
utils xattr"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="gtk-doc? ( test )" # Bug #777636
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+
+# * elfutils (via libelf) does not build on Windows. gresources are not 
embedded
+# within ELF binaries on that platform anyway and inspecting ELF binaries from
+# other platforms is not that useful so exclude the dependency in this case.
+# * Technically static-libs is needed on zlib, util-linux and perhaps more, but
+# these are used by GIO, which glib[static-libs] consumers don't really seem
+# to need at all, thus not imposing the deps for now and once some consumers
+# are actually found to static link libgio-2.0.a, we can revisit and either add
+# them or just put the (build) deps in that rare consumer instead of recursive
+# RDEPEND here (due to lack of recursive DEPEND).
+RDEPEND="
+   !=virtual/libiconv-0-r1[${MULTILIB_USEDEP}]
+   >=dev-libs/libpcre2-10.32:0=[${MULTILIB_USEDEP},unicode(+),static-libs?]
+   >=dev-libs/libffi-3.0.13-r1:=[${MULTILIB_USEDEP}]
+   >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]
+   >=virtual/libintl-0-r2[${MULTILIB_USEDEP}]
+   kernel_linux? ( >=sys-apps/util-linux-2.23[${MULTILIB_USEDEP}] )
+   selinux? ( >=sys-libs/libselinux-2.2.2-r5[${MULTILIB_USEDEP}] )
+   xattr? ( !elibc_glibc? ( >=sys-apps/attr-2.4.47-r1[${MULTILIB_USEDEP}] 
) )
+   elf? ( virtual/libelf:0= )
+   sysprof? ( >=dev-util/sysprof-capture-3.40.1:4[${MULTILIB_USEDEP}] )
+"
+DEPEND="${RDEPEND}"
+# libxml2 used for optional tests that get automatically skipped
+BDEPEND="
+   app-text/docbook-xsl-stylesheets
+   dev-libs/libxslt
+   >=sys-devel/gettext-0.19.8
+   gtk-doc? ( >=dev-util/gtk-doc-1.33
+   app-text/docbook-xml-dtd:4.2
+   app-text/docbook-xml-dtd:4.5 )
+   systemtap? ( >=dev-util/systemtap-1.3 )
+   ${PYTHON_DEPS}
+   test? ( >=sys-apps/dbus-1.2.14 )
+   virtual/pkgconfig
+"
+# TODO: >=dev-util/gdbus-codegen-${PV} test dep once we modify 
gio/tests/meson.build to use external gdbus-codegen
+
+PDEPEND="
+   dbus? ( gnome-base/dconf )
+   mime? ( x11-misc/shared-mime-info )
+"
+# shared-mime-info needed for gio/xdgmime, bug #409481
+# dconf is needed 

[gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/files/, dev-libs/glib/

2023-03-16 Thread Sam James
commit: 494fdf6d476ec4dfa6b6c801b66709765bdce45a
Author: Sam James  gentoo  org>
AuthorDate: Thu Mar 16 23:47:33 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Mar 16 23:50:33 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=494fdf6d

dev-libs/glib: backport fix for building C++ applications

Closes: https://bugs.gentoo.org/901211
Closes: https://bugs.gentoo.org/901035
Signed-off-by: Sam James  gentoo.org>

 dev-libs/glib/files/glib-2.76.0-g_strdup-c++.patch | 132 ++
 dev-libs/glib/glib-2.76.0-r1.ebuild| 284 +
 2 files changed, 416 insertions(+)

diff --git a/dev-libs/glib/files/glib-2.76.0-g_strdup-c++.patch 
b/dev-libs/glib/files/glib-2.76.0-g_strdup-c++.patch
new file mode 100644
index ..23b0a1b641c1
--- /dev/null
+++ b/dev-libs/glib/files/glib-2.76.0-g_strdup-c++.patch
@@ -0,0 +1,132 @@
+https://bugs.gentoo.org/901035
+https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3322
+https://gitlab.gnome.org/GNOME/glib/-/commit/cc7f2f81cc59751fcc689731dcd60af5da5723ba
+
+From cc7f2f81cc59751fcc689731dcd60af5da5723ba Mon Sep 17 00:00:00 2001
+From: Xi Ruoyao 
+Date: Mon, 13 Mar 2023 16:23:37 +0800
+Subject: [PATCH] gstrfuncs: Improve inline version of g_strdup() to avoid
+ breaking C++ code
+
+Wrap the logic into a G_ALWAYS_INLINE function, instead of using a
+complex statement-expression which is not allowed in braced initializer
+lists and expanded into some bad thing when it's used as
+`::g_strdup(...)`.
+
+We cannot use `__builtin_constant_p (str)` because GCC documentation
+clearly states that it always produces 0 when str is a const char *
+argument of an inline function.  But `__builtin_constant_p (!str)`,
+`__builtin_constant_p (!!str)`, and
+`__builtin_constant_p (strlen (str))` functions properly with `-O1` or
+above enabled.
+
+Fixes #2936.
+--- a/glib/gstrfuncs.h
 b/glib/gstrfuncs.h
+@@ -204,23 +204,6 @@ gboolean (g_str_has_prefix) (const gchar *str,
+ (g_str_has_suffix) (STR, SUFFIX)  
\
+   )
+ 
+-#define g_strdup(STR) 
\
+-  (__builtin_constant_p ((STR)) ? 
\
+-(G_LIKELY ((STR) != NULL) ?   
\
+-  G_GNUC_EXTENSION ({ 
\
+-const char *const ___str = ((STR));   
\
+-const char *const __str = _G_STR_NONNULL (___str);
\
+-const size_t __str_len = strlen (__str) + 1;  
\
+-char *__dup_str = (char *) g_malloc (__str_len);  
\
+-(char *) memcpy (__dup_str, __str, __str_len);
\
+-  })  
\
+-  :   
\
+-  (char *) (NULL) 
\
+-) 
\
+-: 
\
+-(g_strdup) ((STR))
\
+-  )
+-
+ #endif /* !defined (__GI_SCANNER__) */
+ #endif /* !defined (__GTK_DOC_IGNORE__) */
+ #endif /* G_GNUC_CHECK_VERSION (2, 0) */
+@@ -318,6 +301,32 @@ GLIB_AVAILABLE_IN_ALL
+ gchar*g_strjoin  (const gchar  *separator,
+   ...) G_GNUC_MALLOC 
G_GNUC_NULL_TERMINATED;
+ 
++#if G_GNUC_CHECK_VERSION(2, 0)
++#ifndef __GTK_DOC_IGNORE__
++#ifndef __GI_SCANNER__
++
++G_ALWAYS_INLINE static inline char *
++g_strdup_inline (const char *str)
++{
++  if (__builtin_constant_p (!str) && !str)
++return NULL;
++
++  if (__builtin_constant_p (!!str) && !!str && __builtin_constant_p (strlen 
(str)))
++{
++  const size_t len = strlen (str) + 1;
++  char *dup_str = (char *) g_malloc (len);
++  return (char *) memcpy (dup_str, str, len);
++}
++
++  return g_strdup (str);
++}
++
++#define g_strdup(x) g_strdup_inline (x)
++
++#endif /* !defined (__GI_SCANNER__) */
++#endif /* !defined (__GTK_DOC_IGNORE__) */
++#endif /* G_GNUC_CHECK_VERSION (2, 0) */
++
+ /* Make a copy of a string interpreting C string -style escape
+  * sequences. Inverse of g_strescape. The recognized sequences are \b
+  * \f \n \r \t \\ \" and the octal format.
+--- a/glib/tests/cxx.cpp
 b/glib/tests/cxx.cpp
+@@ -349,6 +349,36 @@ test_strdup_macro (void)
+   g_free (str);
+ }
+ 
++static void
++test_strdup_macro_qualified (void)
++{
++  gchar *str;
++
++  g_assert_null (::g_strdup (NULL));
++
++  str = ::g_strdup ("C++ is cool too!");
++  g_assert_nonnull (str);
++  g_assert_cmpstr (str, ==, "C++ is cool too!");
++  g_free (str);
++}
++
++static void

[gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/

2023-03-16 Thread Sam James
commit: ab4518e2e6285248b51674cff0987eb0ca86fd5d
Author: Sam James  gentoo  org>
AuthorDate: Thu Mar 16 23:49:14 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Mar 16 23:50:35 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab4518e2

dev-libs/glib: drop 2.76.0

Signed-off-by: Sam James  gentoo.org>

 dev-libs/glib/glib-2.76.0.ebuild | 283 ---
 1 file changed, 283 deletions(-)

diff --git a/dev-libs/glib/glib-2.76.0.ebuild b/dev-libs/glib/glib-2.76.0.ebuild
deleted file mode 100644
index 11eedb4e806c..
--- a/dev-libs/glib/glib-2.76.0.ebuild
+++ /dev/null
@@ -1,283 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-PYTHON_REQ_USE="xml(+)"
-PYTHON_COMPAT=( python3_{9..11} )
-
-inherit gnome.org gnome2-utils linux-info meson-multilib multilib 
python-any-r1 toolchain-funcs xdg
-
-DESCRIPTION="The GLib library of C routines"
-HOMEPAGE="https://www.gtk.org/;
-
-LICENSE="LGPL-2.1+"
-SLOT="2"
-IUSE="dbus debug +elf gtk-doc +mime selinux static-libs sysprof systemtap test 
utils xattr"
-RESTRICT="!test? ( test )"
-REQUIRED_USE="gtk-doc? ( test )" # Bug #777636
-
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
-
-# * elfutils (via libelf) does not build on Windows. gresources are not 
embedded
-# within ELF binaries on that platform anyway and inspecting ELF binaries from
-# other platforms is not that useful so exclude the dependency in this case.
-# * Technically static-libs is needed on zlib, util-linux and perhaps more, but
-# these are used by GIO, which glib[static-libs] consumers don't really seem
-# to need at all, thus not imposing the deps for now and once some consumers
-# are actually found to static link libgio-2.0.a, we can revisit and either add
-# them or just put the (build) deps in that rare consumer instead of recursive
-# RDEPEND here (due to lack of recursive DEPEND).
-RDEPEND="
-   !=virtual/libiconv-0-r1[${MULTILIB_USEDEP}]
-   >=dev-libs/libpcre2-10.32:0=[${MULTILIB_USEDEP},unicode(+),static-libs?]
-   >=dev-libs/libffi-3.0.13-r1:=[${MULTILIB_USEDEP}]
-   >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]
-   >=virtual/libintl-0-r2[${MULTILIB_USEDEP}]
-   kernel_linux? ( >=sys-apps/util-linux-2.23[${MULTILIB_USEDEP}] )
-   selinux? ( >=sys-libs/libselinux-2.2.2-r5[${MULTILIB_USEDEP}] )
-   xattr? ( !elibc_glibc? ( >=sys-apps/attr-2.4.47-r1[${MULTILIB_USEDEP}] 
) )
-   elf? ( virtual/libelf:0= )
-   sysprof? ( >=dev-util/sysprof-capture-3.40.1:4[${MULTILIB_USEDEP}] )
-"
-DEPEND="${RDEPEND}"
-# libxml2 used for optional tests that get automatically skipped
-BDEPEND="
-   app-text/docbook-xsl-stylesheets
-   dev-libs/libxslt
-   >=sys-devel/gettext-0.19.8
-   gtk-doc? ( >=dev-util/gtk-doc-1.33
-   app-text/docbook-xml-dtd:4.2
-   app-text/docbook-xml-dtd:4.5 )
-   systemtap? ( >=dev-util/systemtap-1.3 )
-   ${PYTHON_DEPS}
-   test? ( >=sys-apps/dbus-1.2.14 )
-   virtual/pkgconfig
-"
-# TODO: >=dev-util/gdbus-codegen-${PV} test dep once we modify 
gio/tests/meson.build to use external gdbus-codegen
-
-PDEPEND="
-   dbus? ( gnome-base/dconf )
-   mime? ( x11-misc/shared-mime-info )
-"
-# shared-mime-info needed for gio/xdgmime, bug #409481
-# dconf is needed to be able to save settings, bug #498436
-
-MULTILIB_CHOST_TOOLS=(
-   /usr/bin/gio-querymodules$(get_exeext)
-)
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-2.64.1-mark-gdbus-server-auth-test-flaky.patch
-)
-
-pkg_setup() {
-   if use kernel_linux ; then
-   CONFIG_CHECK="~INOTIFY_USER"
-   if use test ; then
-   CONFIG_CHECK="~IPV6"
-   WARNING_IPV6="Your kernel needs IPV6 support for 
running some tests, skipping them."
-   fi
-   linux-info_pkg_setup
-   fi
-   python-any-r1_pkg_setup
-}
-
-src_prepare() {
-   if use test; then
-   # TODO: Review the test exclusions, especially now with meson
-   # Disable tests requiring dev-util/desktop-file-utils when not 
installed, bug #286629, upstream bug #629163
-   if ! has_version dev-util/desktop-file-utils ; then
-   ewarn "Some tests will be skipped due 
dev-util/desktop-file-utils not being present on your system,"
-   ewarn "think on installing it to get these tests run."
-   sed -i -e "/appinfo\/associations/d" 
gio/tests/appinfo.c || die
-   sed -i -e "/g_test_add_func/d" 
gio/tests/desktop-app-info.c || die
-   fi
-
-   # gdesktopappinfo requires existing terminal (gnome-terminal or 
any
-   # other), falling back to xterm if one doesn't exist
-   #if ! has_version 

[gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/

2023-03-11 Thread Matt Turner
commit: 0e2507b78c90588db8a97b7842f082915209d7a2
Author: Guillermo Joandet  gmail  com>
AuthorDate: Sat Mar 11 04:21:43 2023 +
Commit: Matt Turner  gentoo  org>
CommitDate: Sat Mar 11 14:40:18 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e2507b7

dev-libs/glib: Version bump to 2.76.0

Signed-off-by: Guillermo Joandet  gmail.com>
Signed-off-by: Matt Turner  gentoo.org>

 dev-libs/glib/Manifest   |   1 +
 dev-libs/glib/glib-2.76.0.ebuild | 283 +++
 2 files changed, 284 insertions(+)

diff --git a/dev-libs/glib/Manifest b/dev-libs/glib/Manifest
index 472b49cc3ce7..becb08779919 100644
--- a/dev-libs/glib/Manifest
+++ b/dev-libs/glib/Manifest
@@ -1,2 +1,3 @@
 DIST glib-2.74.5.tar.xz 5211852 BLAKE2B 
5bf0069cbf949a946357127682e4f687c7e7b8565037024a232b3e905e65bebb86d016832b6274f743005ec8fe5fcd31eaf99ccece82d9d7c3f924d17502c409
 SHA512 
2716e0fe984cc5d0714e91fe0de47ee71a8bd0b4c85caee337ddb7e02ac2fb3c8c007ccc1207b29cf901c30a7ec8e3bcca75d69c6fab2a32a8cf14bff974e614
 DIST glib-2.74.6.tar.xz 5217312 BLAKE2B 
07b0a5cb74c1451ba863d5f9a781a122d3d20af1f1227177025de114279277cacada3dd6ab5eb5ad5c0bff5ac7abab6fdfbe0551f44d07b2ddc9141a0640a8c8
 SHA512 
6b6d113012ec90f6cf77513ec0132668c49aa7224c806181ad662388701004667cdf6d263050d6f896b8688c085abf461aa3e659eb288e6ba93ba4970a2f181b
+DIST glib-2.76.0.tar.xz 5268620 BLAKE2B 
74bfba6254787b6b386161c329899fe6a53c87290261866f8aceb6e23ebf0bcacd085b04f480a7297d6fc11d37a676fb2fad5661e9f2668ae81f872ff5e2054f
 SHA512 
812834ca6d840dd9c15c0689685d8bd96f4acd69a89213f807a75732d1aa5efadbed0e0073f05a56a09beb2d4f0be1b83a4642259682aac84302632da2d62370

diff --git a/dev-libs/glib/glib-2.76.0.ebuild b/dev-libs/glib/glib-2.76.0.ebuild
new file mode 100644
index ..11eedb4e806c
--- /dev/null
+++ b/dev-libs/glib/glib-2.76.0.ebuild
@@ -0,0 +1,283 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_REQ_USE="xml(+)"
+PYTHON_COMPAT=( python3_{9..11} )
+
+inherit gnome.org gnome2-utils linux-info meson-multilib multilib 
python-any-r1 toolchain-funcs xdg
+
+DESCRIPTION="The GLib library of C routines"
+HOMEPAGE="https://www.gtk.org/;
+
+LICENSE="LGPL-2.1+"
+SLOT="2"
+IUSE="dbus debug +elf gtk-doc +mime selinux static-libs sysprof systemtap test 
utils xattr"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="gtk-doc? ( test )" # Bug #777636
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+
+# * elfutils (via libelf) does not build on Windows. gresources are not 
embedded
+# within ELF binaries on that platform anyway and inspecting ELF binaries from
+# other platforms is not that useful so exclude the dependency in this case.
+# * Technically static-libs is needed on zlib, util-linux and perhaps more, but
+# these are used by GIO, which glib[static-libs] consumers don't really seem
+# to need at all, thus not imposing the deps for now and once some consumers
+# are actually found to static link libgio-2.0.a, we can revisit and either add
+# them or just put the (build) deps in that rare consumer instead of recursive
+# RDEPEND here (due to lack of recursive DEPEND).
+RDEPEND="
+   !=virtual/libiconv-0-r1[${MULTILIB_USEDEP}]
+   >=dev-libs/libpcre2-10.32:0=[${MULTILIB_USEDEP},unicode(+),static-libs?]
+   >=dev-libs/libffi-3.0.13-r1:=[${MULTILIB_USEDEP}]
+   >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]
+   >=virtual/libintl-0-r2[${MULTILIB_USEDEP}]
+   kernel_linux? ( >=sys-apps/util-linux-2.23[${MULTILIB_USEDEP}] )
+   selinux? ( >=sys-libs/libselinux-2.2.2-r5[${MULTILIB_USEDEP}] )
+   xattr? ( !elibc_glibc? ( >=sys-apps/attr-2.4.47-r1[${MULTILIB_USEDEP}] 
) )
+   elf? ( virtual/libelf:0= )
+   sysprof? ( >=dev-util/sysprof-capture-3.40.1:4[${MULTILIB_USEDEP}] )
+"
+DEPEND="${RDEPEND}"
+# libxml2 used for optional tests that get automatically skipped
+BDEPEND="
+   app-text/docbook-xsl-stylesheets
+   dev-libs/libxslt
+   >=sys-devel/gettext-0.19.8
+   gtk-doc? ( >=dev-util/gtk-doc-1.33
+   app-text/docbook-xml-dtd:4.2
+   app-text/docbook-xml-dtd:4.5 )
+   systemtap? ( >=dev-util/systemtap-1.3 )
+   ${PYTHON_DEPS}
+   test? ( >=sys-apps/dbus-1.2.14 )
+   virtual/pkgconfig
+"
+# TODO: >=dev-util/gdbus-codegen-${PV} test dep once we modify 
gio/tests/meson.build to use external gdbus-codegen
+
+PDEPEND="
+   dbus? ( gnome-base/dconf )
+   mime? ( x11-misc/shared-mime-info )
+"
+# shared-mime-info needed for gio/xdgmime, bug #409481
+# dconf is needed to be able to save settings, bug #498436
+
+MULTILIB_CHOST_TOOLS=(
+   /usr/bin/gio-querymodules$(get_exeext)
+)
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-2.64.1-mark-gdbus-server-auth-test-flaky.patch
+)
+
+pkg_setup() {
+   if use kernel_linux ; then
+   CONFIG_CHECK="~INOTIFY_USER"
+

[gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/files/, dev-libs/glib/

2023-03-03 Thread Matt Turner
commit: c759e1314a540cc5d08ca4b5b7b7ccbfce7fa277
Author: Matt Turner  gentoo  org>
AuthorDate: Sat Mar  4 00:47:55 2023 +
Commit: Matt Turner  gentoo  org>
CommitDate: Sat Mar  4 00:48:02 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c759e131

dev-libs/glib: Add patch to skip test

The assert-msg-test.py test doesn't work under sandbox.

Closes: https://bugs.gentoo.org/871330
Signed-off-by: Matt Turner  gentoo.org>

 ...ests-Skip-assert-msg-test.py-if-gdb-fails.patch | 33 ++
 dev-libs/glib/glib-2.74.5.ebuild   |  2 ++
 2 files changed, 35 insertions(+)

diff --git 
a/dev-libs/glib/files/glib-2.74.5-tests-Skip-assert-msg-test.py-if-gdb-fails.patch
 
b/dev-libs/glib/files/glib-2.74.5-tests-Skip-assert-msg-test.py-if-gdb-fails.patch
new file mode 100644
index ..ed8fc97b3992
--- /dev/null
+++ 
b/dev-libs/glib/files/glib-2.74.5-tests-Skip-assert-msg-test.py-if-gdb-fails.patch
@@ -0,0 +1,33 @@
+From 19a8df9d8bff279a55b0fa3bb7ba4fbf7fcbefa8 Mon Sep 17 00:00:00 2001
+From: Matt Turner 
+Date: Thu, 2 Mar 2023 00:13:22 -0500
+Subject: [PATCH] tests: Skip assert-msg-test.py if gdb fails
+
+Similar to commit 6e44151bf74d, skip the test if gdb is unable to read
+/proc/PID/mem, which gdb does as a fallback if ptrace is unavailable.
+
+This allows the test to skip when run under Gentoo's sandbox.
+---
+ glib/tests/assert-msg-test.py | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/glib/tests/assert-msg-test.py b/glib/tests/assert-msg-test.py
+index 4936fa083..33aa2249e 100755
+--- a/glib/tests/assert-msg-test.py
 b/glib/tests/assert-msg-test.py
+@@ -158,9 +158,9 @@ class TestAssertMessage(unittest.TestCase):
+ 
+ # Some CI environments disable ptrace (as they’re running in a
+ # container). If so, skip the test as there’s nothing we can do.
+-if (
+-result.info.returncode != 0
+-and "ptrace: Operation not permitted" in result.err
++if result.info.returncode != 0 and (
++"ptrace: Operation not permitted" in result.err
++or "warning: opening /proc/PID/mem file for lwp" in result.err
+ ):
+ self.skipTest("GDB is not functional due to ptrace being 
disabled")
+ 
+-- 
+2.39.2
+

diff --git a/dev-libs/glib/glib-2.74.5.ebuild b/dev-libs/glib/glib-2.74.5.ebuild
index 678d48cb72dd..f0c142206738 100644
--- a/dev-libs/glib/glib-2.74.5.ebuild
+++ b/dev-libs/glib/glib-2.74.5.ebuild
@@ -69,6 +69,8 @@ MULTILIB_CHOST_TOOLS=(
 
 PATCHES=(
"${FILESDIR}"/${PN}-2.64.1-mark-gdbus-server-auth-test-flaky.patch
+
+   "${FILESDIR}"/${P}-tests-Skip-assert-msg-test.py-if-gdb-fails.patch
 )
 
 pkg_setup() {



[gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/

2023-02-25 Thread Matt Turner
commit: 8ff77f62d7b7603d740055db020ed70dda1842dd
Author: Guillermo Joandet  gmail  com>
AuthorDate: Thu Feb 23 17:31:24 2023 +
Commit: Matt Turner  gentoo  org>
CommitDate: Sat Feb 25 15:00:08 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ff77f62

dev-libs/glib: Version bump to 2.74.6

Signed-off-by: Guillermo Joandet  gmail.com>
Signed-off-by: Matt Turner  gentoo.org>

 dev-libs/glib/Manifest   |   1 +
 dev-libs/glib/glib-2.74.6.ebuild | 287 +++
 2 files changed, 288 insertions(+)

diff --git a/dev-libs/glib/Manifest b/dev-libs/glib/Manifest
index 2a6177dbad39..472b49cc3ce7 100644
--- a/dev-libs/glib/Manifest
+++ b/dev-libs/glib/Manifest
@@ -1 +1,2 @@
 DIST glib-2.74.5.tar.xz 5211852 BLAKE2B 
5bf0069cbf949a946357127682e4f687c7e7b8565037024a232b3e905e65bebb86d016832b6274f743005ec8fe5fcd31eaf99ccece82d9d7c3f924d17502c409
 SHA512 
2716e0fe984cc5d0714e91fe0de47ee71a8bd0b4c85caee337ddb7e02ac2fb3c8c007ccc1207b29cf901c30a7ec8e3bcca75d69c6fab2a32a8cf14bff974e614
+DIST glib-2.74.6.tar.xz 5217312 BLAKE2B 
07b0a5cb74c1451ba863d5f9a781a122d3d20af1f1227177025de114279277cacada3dd6ab5eb5ad5c0bff5ac7abab6fdfbe0551f44d07b2ddc9141a0640a8c8
 SHA512 
6b6d113012ec90f6cf77513ec0132668c49aa7224c806181ad662388701004667cdf6d263050d6f896b8688c085abf461aa3e659eb288e6ba93ba4970a2f181b

diff --git a/dev-libs/glib/glib-2.74.6.ebuild b/dev-libs/glib/glib-2.74.6.ebuild
new file mode 100644
index ..7924f656d5e2
--- /dev/null
+++ b/dev-libs/glib/glib-2.74.6.ebuild
@@ -0,0 +1,287 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_REQ_USE="xml(+)"
+PYTHON_COMPAT=( python3_{9..11} )
+
+inherit flag-o-matic gnome.org gnome2-utils linux-info meson-multilib multilib 
python-any-r1 toolchain-funcs xdg
+
+DESCRIPTION="The GLib library of C routines"
+HOMEPAGE="https://www.gtk.org/;
+
+LICENSE="LGPL-2.1+"
+SLOT="2"
+IUSE="dbus debug +elf gtk-doc +mime selinux static-libs sysprof systemtap test 
utils xattr"
+RESTRICT="!test? ( test )"
+#REQUIRED_USE="gtk-doc? ( test )" # Bug #777636
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+
+# * elfutils (via libelf) does not build on Windows. gresources are not 
embedded
+# within ELF binaries on that platform anyway and inspecting ELF binaries from
+# other platforms is not that useful so exclude the dependency in this case.
+# * Technically static-libs is needed on zlib, util-linux and perhaps more, but
+# these are used by GIO, which glib[static-libs] consumers don't really seem
+# to need at all, thus not imposing the deps for now and once some consumers
+# are actually found to static link libgio-2.0.a, we can revisit and either add
+# them or just put the (build) deps in that rare consumer instead of recursive
+# RDEPEND here (due to lack of recursive DEPEND).
+RDEPEND="
+   !=virtual/libiconv-0-r1[${MULTILIB_USEDEP}]
+   >=dev-libs/libpcre2-10.32:0=[${MULTILIB_USEDEP},unicode(+),static-libs?]
+   >=dev-libs/libffi-3.0.13-r1:=[${MULTILIB_USEDEP}]
+   >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]
+   >=virtual/libintl-0-r2[${MULTILIB_USEDEP}]
+   kernel_linux? ( >=sys-apps/util-linux-2.23[${MULTILIB_USEDEP}] )
+   selinux? ( >=sys-libs/libselinux-2.2.2-r5[${MULTILIB_USEDEP}] )
+   xattr? ( !elibc_glibc? ( >=sys-apps/attr-2.4.47-r1[${MULTILIB_USEDEP}] 
) )
+   elf? ( virtual/libelf:0= )
+   sysprof? ( >=dev-util/sysprof-capture-3.40.1:4[${MULTILIB_USEDEP}] )
+"
+DEPEND="${RDEPEND}"
+# libxml2 used for optional tests that get automatically skipped
+BDEPEND="
+   app-text/docbook-xsl-stylesheets
+   dev-libs/libxslt
+   >=sys-devel/gettext-0.19.8
+   gtk-doc? ( >=dev-util/gtk-doc-1.33
+   app-text/docbook-xml-dtd:4.2
+   app-text/docbook-xml-dtd:4.5 )
+   systemtap? ( >=dev-util/systemtap-1.3 )
+   ${PYTHON_DEPS}
+   test? ( >=sys-apps/dbus-1.2.14 )
+   virtual/pkgconfig
+"
+# TODO: >=dev-util/gdbus-codegen-${PV} test dep once we modify 
gio/tests/meson.build to use external gdbus-codegen
+
+PDEPEND="
+   dbus? ( gnome-base/dconf )
+   mime? ( x11-misc/shared-mime-info )
+"
+# shared-mime-info needed for gio/xdgmime, bug #409481
+# dconf is needed to be able to save settings, bug #498436
+
+MULTILIB_CHOST_TOOLS=(
+   /usr/bin/gio-querymodules$(get_exeext)
+)
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-2.64.1-mark-gdbus-server-auth-test-flaky.patch
+)
+
+pkg_setup() {
+   if use kernel_linux ; then
+   CONFIG_CHECK="~INOTIFY_USER"
+   if use test ; then
+   CONFIG_CHECK="~IPV6"
+   WARNING_IPV6="Your kernel needs IPV6 support for 
running some tests, skipping them."
+   fi
+   linux-info_pkg_setup
+   fi
+   python-any-r1_pkg_setup
+}
+

[gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/

2023-02-16 Thread Arthur Zamarin
commit: 1a807b9c7d7c6ba0b0039db72ee8aa3a372dbff3
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu Feb 16 18:38:33 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu Feb 16 18:38:33 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a807b9c

dev-libs/glib: Stabilize 2.74.5 sparc, #893302

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/glib/glib-2.74.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/glib/glib-2.74.5.ebuild b/dev-libs/glib/glib-2.74.5.ebuild
index c8b7917f6134..6161efcbe5a8 100644
--- a/dev-libs/glib/glib-2.74.5.ebuild
+++ b/dev-libs/glib/glib-2.74.5.ebuild
@@ -16,7 +16,7 @@ IUSE="dbus debug +elf gtk-doc +mime selinux static-libs 
sysprof systemtap test u
 RESTRICT="!test? ( test )"
 #REQUIRED_USE="gtk-doc? ( test )" # Bug #777636
 
-KEYWORDS="~alpha ~amd64 arm ~arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha ~amd64 arm ~arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux"
 
 # * elfutils (via libelf) does not build on Windows. gresources are not 
embedded
 # within ELF binaries on that platform anyway and inspecting ELF binaries from



[gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/

2023-02-16 Thread Arthur Zamarin
commit: 55142e03318e0263ad12079d049cb886bba69ad8
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu Feb 16 18:38:25 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu Feb 16 18:38:25 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55142e03

dev-libs/glib: Stabilize 2.74.5 arm, #893302

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/glib/glib-2.74.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/glib/glib-2.74.5.ebuild b/dev-libs/glib/glib-2.74.5.ebuild
index 3963d12eaec6..c8b7917f6134 100644
--- a/dev-libs/glib/glib-2.74.5.ebuild
+++ b/dev-libs/glib/glib-2.74.5.ebuild
@@ -16,7 +16,7 @@ IUSE="dbus debug +elf gtk-doc +mime selinux static-libs 
sysprof systemtap test u
 RESTRICT="!test? ( test )"
 #REQUIRED_USE="gtk-doc? ( test )" # Bug #777636
 
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha ~amd64 arm ~arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
 
 # * elfutils (via libelf) does not build on Windows. gresources are not 
embedded
 # within ELF binaries on that platform anyway and inspecting ELF binaries from



[gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/

2023-01-23 Thread Arthur Zamarin
commit: 18a78a2fbf3d5667523c4f4fb3c2d678f3109ec8
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Mon Jan 23 20:16:31 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Mon Jan 23 20:16:31 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18a78a2f

dev-libs/glib: Stabilize 2.74.4 x86, #887813

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/glib/glib-2.74.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/glib/glib-2.74.4.ebuild b/dev-libs/glib/glib-2.74.4.ebuild
index b9aec3e38d79..9d4a61eeb1c9 100644
--- a/dev-libs/glib/glib-2.74.4.ebuild
+++ b/dev-libs/glib/glib-2.74.4.ebuild
@@ -16,7 +16,7 @@ IUSE="dbus debug +elf gtk-doc +mime selinux static-libs 
sysprof systemtap test u
 RESTRICT="!test? ( test )"
 #REQUIRED_USE="gtk-doc? ( test )" # Bug #777636
 
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux"
 
 # * elfutils (via libelf) does not build on Windows. gresources are not 
embedded
 # within ELF binaries on that platform anyway and inspecting ELF binaries from



[gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/

2023-01-23 Thread Arthur Zamarin
commit: a96ab474c5a68acc2c7096c2d7aab4a8afc6188c
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Mon Jan 23 18:00:40 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Mon Jan 23 18:00:40 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a96ab474

dev-libs/glib: Stabilize 2.74.4 ppc, #887813

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/glib/glib-2.74.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/glib/glib-2.74.4.ebuild b/dev-libs/glib/glib-2.74.4.ebuild
index 14aa0097..b9aec3e38d79 100644
--- a/dev-libs/glib/glib-2.74.4.ebuild
+++ b/dev-libs/glib/glib-2.74.4.ebuild
@@ -16,7 +16,7 @@ IUSE="dbus debug +elf gtk-doc +mime selinux static-libs 
sysprof systemtap test u
 RESTRICT="!test? ( test )"
 #REQUIRED_USE="gtk-doc? ( test )" # Bug #777636
 
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 
~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux"
 
 # * elfutils (via libelf) does not build on Windows. gresources are not 
embedded
 # within ELF binaries on that platform anyway and inspecting ELF binaries from



[gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/

2023-01-23 Thread Arthur Zamarin
commit: 1c5d50a9b41f93ae4cf99d50bba7723d8e040d34
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Mon Jan 23 18:00:26 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Mon Jan 23 18:00:26 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c5d50a9

dev-libs/glib: Stabilize 2.74.4 arm, #887813

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/glib/glib-2.74.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/glib/glib-2.74.4.ebuild b/dev-libs/glib/glib-2.74.4.ebuild
index 893dd43479d4..25e0e3691379 100644
--- a/dev-libs/glib/glib-2.74.4.ebuild
+++ b/dev-libs/glib/glib-2.74.4.ebuild
@@ -16,7 +16,7 @@ IUSE="dbus debug +elf gtk-doc +mime selinux static-libs 
sysprof systemtap test u
 RESTRICT="!test? ( test )"
 #REQUIRED_USE="gtk-doc? ( test )" # Bug #777636
 
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 
~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 
~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux"
 
 # * elfutils (via libelf) does not build on Windows. gresources are not 
embedded
 # within ELF binaries on that platform anyway and inspecting ELF binaries from



[gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/

2023-01-23 Thread Arthur Zamarin
commit: 077028558b61dc8bc41592c3073854536d9cb1e4
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Mon Jan 23 18:00:31 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Mon Jan 23 18:00:31 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07702855

dev-libs/glib: Stabilize 2.74.4 arm64, #887813

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/glib/glib-2.74.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/glib/glib-2.74.4.ebuild b/dev-libs/glib/glib-2.74.4.ebuild
index 25e0e3691379..880c9704f202 100644
--- a/dev-libs/glib/glib-2.74.4.ebuild
+++ b/dev-libs/glib/glib-2.74.4.ebuild
@@ -16,7 +16,7 @@ IUSE="dbus debug +elf gtk-doc +mime selinux static-libs 
sysprof systemtap test u
 RESTRICT="!test? ( test )"
 #REQUIRED_USE="gtk-doc? ( test )" # Bug #777636
 
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 
~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 
~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux"
 
 # * elfutils (via libelf) does not build on Windows. gresources are not 
embedded
 # within ELF binaries on that platform anyway and inspecting ELF binaries from



[gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/

2023-01-23 Thread Arthur Zamarin
commit: 3c8445119bef1bac5244811259815729e2676670
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Mon Jan 23 18:00:35 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Mon Jan 23 18:00:35 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c844511

dev-libs/glib: Stabilize 2.74.4 hppa, #887813

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/glib/glib-2.74.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/glib/glib-2.74.4.ebuild b/dev-libs/glib/glib-2.74.4.ebuild
index 880c9704f202..14aa0097 100644
--- a/dev-libs/glib/glib-2.74.4.ebuild
+++ b/dev-libs/glib/glib-2.74.4.ebuild
@@ -16,7 +16,7 @@ IUSE="dbus debug +elf gtk-doc +mime selinux static-libs 
sysprof systemtap test u
 RESTRICT="!test? ( test )"
 #REQUIRED_USE="gtk-doc? ( test )" # Bug #777636
 
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 
~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 
~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux"
 
 # * elfutils (via libelf) does not build on Windows. gresources are not 
embedded
 # within ELF binaries on that platform anyway and inspecting ELF binaries from



[gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/

2023-01-21 Thread Matt Turner
commit: 5dc85258363c774c504d046e3f0f329759d98e64
Author: Guillermo Joandet  gmail  com>
AuthorDate: Thu Jan 19 20:13:27 2023 +
Commit: Matt Turner  gentoo  org>
CommitDate: Sat Jan 21 19:56:19 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5dc85258

dev-libs/glib: Version bump to 2.74.5

Signed-off-by: Guillermo Joandet  gmail.com>
Signed-off-by: Matt Turner  gentoo.org>

 dev-libs/glib/Manifest   |   1 +
 dev-libs/glib/glib-2.74.5.ebuild | 287 +++
 2 files changed, 288 insertions(+)

diff --git a/dev-libs/glib/Manifest b/dev-libs/glib/Manifest
index d47a92b5f8b2..d99cd57cc034 100644
--- a/dev-libs/glib/Manifest
+++ b/dev-libs/glib/Manifest
@@ -1,3 +1,4 @@
 DIST glib-2.74.3-patches-2.tar.xz 23576 BLAKE2B 
f3746bdf961890d9f4e7ad20b107b83b7ceb8dcc36e288c1d526bac31a0e1dd9d1f13323f512355085c77d186ad66c3f52c1154f34c1d6fd6a5e64a074b2920c
 SHA512 
945c131c27f02044db6154f0a63f458d6317c8a4e841fb392947b16756e25d92adeb2b34d793c9e19441b825d1aee71ae9b08fdcbefa1bc9de1d5af9e903e82c
 DIST glib-2.74.3.tar.xz 5181732 BLAKE2B 
46c37be9519866af040b2aaf35129a9cfae6e2c74636c01755b901002fa77f4e2305025691d7a8279acfbae1298a4b5b1e095b333bed3b067e9820547b6eca97
 SHA512 
a9aa7e84187abb57aeeff9c7f4c4125be742a510ae5d39b6b62696ad1a715c36b353c6c14222caeb1e87bed930fb54184dba77118b991c42f1857a292c6aa77b
 DIST glib-2.74.4.tar.xz 5208484 BLAKE2B 
01a2818e63469019abcd1215fa85521b9a2e55644040e8fe2797f68cabe897a191ae2c1cc2ab75d5ba9980d63adbfc00636b295ee942d70579e7eba1e1f49502
 SHA512 
912f6b0559fcb5ad55fa36837a348228b8e2498c490271204ced9f2e4a9eab804de4745f3ec439a198eb275d7263f18bc670f45460e2be55a2cbe45466b02fc6
+DIST glib-2.74.5.tar.xz 5211852 BLAKE2B 
5bf0069cbf949a946357127682e4f687c7e7b8565037024a232b3e905e65bebb86d016832b6274f743005ec8fe5fcd31eaf99ccece82d9d7c3f924d17502c409
 SHA512 
2716e0fe984cc5d0714e91fe0de47ee71a8bd0b4c85caee337ddb7e02ac2fb3c8c007ccc1207b29cf901c30a7ec8e3bcca75d69c6fab2a32a8cf14bff974e614

diff --git a/dev-libs/glib/glib-2.74.5.ebuild b/dev-libs/glib/glib-2.74.5.ebuild
new file mode 100644
index ..7924f656d5e2
--- /dev/null
+++ b/dev-libs/glib/glib-2.74.5.ebuild
@@ -0,0 +1,287 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_REQ_USE="xml(+)"
+PYTHON_COMPAT=( python3_{9..11} )
+
+inherit flag-o-matic gnome.org gnome2-utils linux-info meson-multilib multilib 
python-any-r1 toolchain-funcs xdg
+
+DESCRIPTION="The GLib library of C routines"
+HOMEPAGE="https://www.gtk.org/;
+
+LICENSE="LGPL-2.1+"
+SLOT="2"
+IUSE="dbus debug +elf gtk-doc +mime selinux static-libs sysprof systemtap test 
utils xattr"
+RESTRICT="!test? ( test )"
+#REQUIRED_USE="gtk-doc? ( test )" # Bug #777636
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+
+# * elfutils (via libelf) does not build on Windows. gresources are not 
embedded
+# within ELF binaries on that platform anyway and inspecting ELF binaries from
+# other platforms is not that useful so exclude the dependency in this case.
+# * Technically static-libs is needed on zlib, util-linux and perhaps more, but
+# these are used by GIO, which glib[static-libs] consumers don't really seem
+# to need at all, thus not imposing the deps for now and once some consumers
+# are actually found to static link libgio-2.0.a, we can revisit and either add
+# them or just put the (build) deps in that rare consumer instead of recursive
+# RDEPEND here (due to lack of recursive DEPEND).
+RDEPEND="
+   !=virtual/libiconv-0-r1[${MULTILIB_USEDEP}]
+   >=dev-libs/libpcre2-10.32:0=[${MULTILIB_USEDEP},unicode(+),static-libs?]
+   >=dev-libs/libffi-3.0.13-r1:=[${MULTILIB_USEDEP}]
+   >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]
+   >=virtual/libintl-0-r2[${MULTILIB_USEDEP}]
+   kernel_linux? ( >=sys-apps/util-linux-2.23[${MULTILIB_USEDEP}] )
+   selinux? ( >=sys-libs/libselinux-2.2.2-r5[${MULTILIB_USEDEP}] )
+   xattr? ( !elibc_glibc? ( >=sys-apps/attr-2.4.47-r1[${MULTILIB_USEDEP}] 
) )
+   elf? ( virtual/libelf:0= )
+   sysprof? ( >=dev-util/sysprof-capture-3.40.1:4[${MULTILIB_USEDEP}] )
+"
+DEPEND="${RDEPEND}"
+# libxml2 used for optional tests that get automatically skipped
+BDEPEND="
+   app-text/docbook-xsl-stylesheets
+   dev-libs/libxslt
+   >=sys-devel/gettext-0.19.8
+   gtk-doc? ( >=dev-util/gtk-doc-1.33
+   app-text/docbook-xml-dtd:4.2
+   app-text/docbook-xml-dtd:4.5 )
+   systemtap? ( >=dev-util/systemtap-1.3 )
+   ${PYTHON_DEPS}
+   test? ( >=sys-apps/dbus-1.2.14 )
+   virtual/pkgconfig
+"
+# TODO: >=dev-util/gdbus-codegen-${PV} test dep once we modify 
gio/tests/meson.build to use external gdbus-codegen
+
+PDEPEND="
+   dbus? ( gnome-base/dconf )
+   mime? ( x11-misc/shared-mime-info )
+"
+# shared-mime-info needed for gio/xdgmime, bug 

[gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/

2022-12-29 Thread Sam James
commit: b32ccd05f45ee9fbf65d425cafd0e459057b54fc
Author: Sam James  gentoo  org>
AuthorDate: Thu Dec 29 18:54:42 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Dec 29 18:54:42 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b32ccd05

dev-libs/glib: Stabilize 2.74.4 amd64, #887813

Signed-off-by: Sam James  gentoo.org>

 dev-libs/glib/glib-2.74.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/glib/glib-2.74.4.ebuild b/dev-libs/glib/glib-2.74.4.ebuild
index 7cc86c278b3b..427fce1f5d5b 100644
--- a/dev-libs/glib/glib-2.74.4.ebuild
+++ b/dev-libs/glib/glib-2.74.4.ebuild
@@ -16,7 +16,7 @@ IUSE="dbus debug +elf gtk-doc +mime selinux static-libs 
sysprof systemtap test u
 RESTRICT="!test? ( test )"
 #REQUIRED_USE="gtk-doc? ( test )" # Bug #777636
 
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 
~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 
~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux"
 
 # * elfutils (via libelf) does not build on Windows. gresources are not 
embedded
 # within ELF binaries on that platform anyway and inspecting ELF binaries from



[gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/

2022-12-22 Thread Sam James
commit: 7f581717bb1dff6122947b0c9101534de7389e44
Author: Sam James  gentoo  org>
AuthorDate: Thu Dec 22 22:32:13 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Dec 22 22:32:13 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f581717

dev-libs/glib: Stabilize 2.74.4 sparc, #887813

Signed-off-by: Sam James  gentoo.org>

 dev-libs/glib/glib-2.74.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/glib/glib-2.74.4.ebuild b/dev-libs/glib/glib-2.74.4.ebuild
index 4da035ddf9e3..fe958b99def8 100644
--- a/dev-libs/glib/glib-2.74.4.ebuild
+++ b/dev-libs/glib/glib-2.74.4.ebuild
@@ -16,7 +16,7 @@ IUSE="dbus debug +elf gtk-doc +mime selinux static-libs 
sysprof systemtap test u
 RESTRICT="!test? ( test )"
 #REQUIRED_USE="gtk-doc? ( test )" # Bug #777636
 
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux"
 
 # * elfutils (via libelf) does not build on Windows. gresources are not 
embedded
 # within ELF binaries on that platform anyway and inspecting ELF binaries from



[gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/

2022-12-22 Thread Arthur Zamarin
commit: 78b8d17c2ea8b32f477eb54d8085a7727a7a91b0
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu Dec 22 11:15:27 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu Dec 22 11:15:27 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78b8d17c

dev-libs/glib: Stabilize 2.74.3-r3 hppa, #885627

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/glib/glib-2.74.3-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/glib/glib-2.74.3-r3.ebuild 
b/dev-libs/glib/glib-2.74.3-r3.ebuild
index 42253702e0c8..0247aef49224 100644
--- a/dev-libs/glib/glib-2.74.3-r3.ebuild
+++ b/dev-libs/glib/glib-2.74.3-r3.ebuild
@@ -18,7 +18,7 @@ IUSE="dbus debug +elf gtk-doc +mime selinux static-libs 
sysprof systemtap test u
 RESTRICT="!test? ( test )"
 #REQUIRED_USE="gtk-doc? ( test )" # Bug #777636
 
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux"
 
 # * elfutils (via libelf) does not build on Windows. gresources are not 
embedded
 # within ELF binaries on that platform anyway and inspecting ELF binaries from



[gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/

2022-12-21 Thread Sam James
commit: f9eb5564e7e45435c38d3b5e60915bc5fc55e289
Author: Sam James  gentoo  org>
AuthorDate: Wed Dec 21 23:39:11 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Dec 21 23:39:11 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9eb5564

dev-libs/glib: drop 2.74.3-r1

Signed-off-by: Sam James  gentoo.org>

 dev-libs/glib/glib-2.74.3-r1.ebuild | 287 
 1 file changed, 287 deletions(-)

diff --git a/dev-libs/glib/glib-2.74.3-r1.ebuild 
b/dev-libs/glib/glib-2.74.3-r1.ebuild
deleted file mode 100644
index 7585636eb1ea..
--- a/dev-libs/glib/glib-2.74.3-r1.ebuild
+++ /dev/null
@@ -1,287 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-PYTHON_REQ_USE="xml(+)"
-PYTHON_COMPAT=( python3_{8..11} )
-
-inherit flag-o-matic gnome.org gnome2-utils linux-info meson-multilib multilib 
python-any-r1 toolchain-funcs xdg
-
-DESCRIPTION="The GLib library of C routines"
-HOMEPAGE="https://www.gtk.org/;
-
-LICENSE="LGPL-2.1+"
-SLOT="2"
-IUSE="dbus debug +elf gtk-doc +mime selinux static-libs sysprof systemtap test 
utils xattr"
-RESTRICT="!test? ( test )"
-#REQUIRED_USE="gtk-doc? ( test )" # Bug #777636
-
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
-
-# * elfutils (via libelf) does not build on Windows. gresources are not 
embedded
-# within ELF binaries on that platform anyway and inspecting ELF binaries from
-# other platforms is not that useful so exclude the dependency in this case.
-# * Technically static-libs is needed on zlib, util-linux and perhaps more, but
-# these are used by GIO, which glib[static-libs] consumers don't really seem
-# to need at all, thus not imposing the deps for now and once some consumers
-# are actually found to static link libgio-2.0.a, we can revisit and either add
-# them or just put the (build) deps in that rare consumer instead of recursive
-# RDEPEND here (due to lack of recursive DEPEND).
-RDEPEND="
-   !=virtual/libiconv-0-r1[${MULTILIB_USEDEP}]
-   >=dev-libs/libpcre2-10.32:0=[${MULTILIB_USEDEP},unicode(+),static-libs?]
-   >=dev-libs/libffi-3.0.13-r1:=[${MULTILIB_USEDEP}]
-   >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]
-   >=virtual/libintl-0-r2[${MULTILIB_USEDEP}]
-   kernel_linux? ( >=sys-apps/util-linux-2.23[${MULTILIB_USEDEP}] )
-   selinux? ( >=sys-libs/libselinux-2.2.2-r5[${MULTILIB_USEDEP}] )
-   xattr? ( !elibc_glibc? ( >=sys-apps/attr-2.4.47-r1[${MULTILIB_USEDEP}] 
) )
-   elf? ( virtual/libelf:0= )
-   sysprof? ( >=dev-util/sysprof-capture-3.40.1:4[${MULTILIB_USEDEP}] )
-"
-DEPEND="${RDEPEND}"
-# libxml2 used for optional tests that get automatically skipped
-BDEPEND="
-   app-text/docbook-xsl-stylesheets
-   dev-libs/libxslt
-   >=sys-devel/gettext-0.19.8
-   gtk-doc? ( >=dev-util/gtk-doc-1.33
-   app-text/docbook-xml-dtd:4.2
-   app-text/docbook-xml-dtd:4.5 )
-   systemtap? ( >=dev-util/systemtap-1.3 )
-   ${PYTHON_DEPS}
-   test? ( >=sys-apps/dbus-1.2.14 )
-   virtual/pkgconfig
-"
-# TODO: >=dev-util/gdbus-codegen-${PV} test dep once we modify 
gio/tests/meson.build to use external gdbus-codegen
-
-PDEPEND="
-   dbus? ( gnome-base/dconf )
-   mime? ( x11-misc/shared-mime-info )
-"
-# shared-mime-info needed for gio/xdgmime, bug #409481
-# dconf is needed to be able to save settings, bug #498436
-
-MULTILIB_CHOST_TOOLS=(
-   /usr/bin/gio-querymodules$(get_exeext)
-)
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-2.64.1-mark-gdbus-server-auth-test-flaky.patch
-)
-
-pkg_setup() {
-   if use kernel_linux ; then
-   CONFIG_CHECK="~INOTIFY_USER"
-   if use test ; then
-   CONFIG_CHECK="~IPV6"
-   WARNING_IPV6="Your kernel needs IPV6 support for 
running some tests, skipping them."
-   fi
-   linux-info_pkg_setup
-   fi
-   python-any-r1_pkg_setup
-}
-
-src_prepare() {
-   if use test; then
-   # TODO: Review the test exclusions, especially now with meson
-   # Disable tests requiring dev-util/desktop-file-utils when not 
installed, bug #286629, upstream bug #629163
-   if ! has_version dev-util/desktop-file-utils ; then
-   ewarn "Some tests will be skipped due 
dev-util/desktop-file-utils not being present on your system,"
-   ewarn "think on installing it to get these tests run."
-   sed -i -e "/appinfo\/associations/d" 
gio/tests/appinfo.c || die
-   sed -i -e "/g_test_add_func/d" 
gio/tests/desktop-app-info.c || die
-   fi
-
-   # gdesktopappinfo requires existing terminal (gnome-terminal or 
any
-   # other), falling back to xterm if one doesn't exist
-   

[gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/files/, dev-libs/glib/

2022-12-21 Thread Sam James
commit: d017b0631b6bf1acbafc9480a6ea07d1a1870a91
Author: Sam James  gentoo  org>
AuthorDate: Wed Dec 21 23:27:42 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Dec 21 23:27:42 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d017b063

dev-libs/glib: add 2.74.4

Bug: https://bugs.gentoo.org/887807
Signed-off-by: Sam James  gentoo.org>

 dev-libs/glib/Manifest |   1 +
 .../files/glib-2.74.4-implicit-func-decl.patch |  24 ++
 dev-libs/glib/glib-2.74.4.ebuild   | 288 +
 3 files changed, 313 insertions(+)

diff --git a/dev-libs/glib/Manifest b/dev-libs/glib/Manifest
index 26c04fce0287..12c33f3713be 100644
--- a/dev-libs/glib/Manifest
+++ b/dev-libs/glib/Manifest
@@ -1,3 +1,4 @@
 DIST glib-2.74.1.tar.xz 5189452 BLAKE2B 
58d977a5d2a100aa9125f2009ae66c6f27232dff70159433076552bdb64f9a6a93d7cb705feba890ee43d6f16d4766f6f1d5502c2e01eeb7e88d5ed0dd205d5c
 SHA512 
21176cb95fcab49a781d02789bf21191a96a34a6391f066699b3c20b414b3169c958bd86623deb34ca55912083862885f7a7d12b67cc041467da2ba94d9e83c3
 DIST glib-2.74.3-patches-2.tar.xz 23576 BLAKE2B 
f3746bdf961890d9f4e7ad20b107b83b7ceb8dcc36e288c1d526bac31a0e1dd9d1f13323f512355085c77d186ad66c3f52c1154f34c1d6fd6a5e64a074b2920c
 SHA512 
945c131c27f02044db6154f0a63f458d6317c8a4e841fb392947b16756e25d92adeb2b34d793c9e19441b825d1aee71ae9b08fdcbefa1bc9de1d5af9e903e82c
 DIST glib-2.74.3.tar.xz 5181732 BLAKE2B 
46c37be9519866af040b2aaf35129a9cfae6e2c74636c01755b901002fa77f4e2305025691d7a8279acfbae1298a4b5b1e095b333bed3b067e9820547b6eca97
 SHA512 
a9aa7e84187abb57aeeff9c7f4c4125be742a510ae5d39b6b62696ad1a715c36b353c6c14222caeb1e87bed930fb54184dba77118b991c42f1857a292c6aa77b
+DIST glib-2.74.4.tar.xz 5208484 BLAKE2B 
01a2818e63469019abcd1215fa85521b9a2e55644040e8fe2797f68cabe897a191ae2c1cc2ab75d5ba9980d63adbfc00636b295ee942d70579e7eba1e1f49502
 SHA512 
912f6b0559fcb5ad55fa36837a348228b8e2498c490271204ced9f2e4a9eab804de4745f3ec439a198eb275d7263f18bc670f45460e2be55a2cbe45466b02fc6

diff --git a/dev-libs/glib/files/glib-2.74.4-implicit-func-decl.patch 
b/dev-libs/glib/files/glib-2.74.4-implicit-func-decl.patch
new file mode 100644
index ..9cd48a26453e
--- /dev/null
+++ b/dev-libs/glib/files/glib-2.74.4-implicit-func-decl.patch
@@ -0,0 +1,24 @@
+https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3165
+
+From 6626765a79f125cf0ec9cdaefa51ceef718d41e7 Mon Sep 17 00:00:00 2001
+From: Michael Catanzaro 
+Date: Tue, 20 Dec 2022 17:10:41 -0600
+Subject: [PATCH] gthread-posix: need to #include 
+
+a79c6af23eff5ee978db62e048828c9a992a1261 uses errno without the required
+header.
+
+
+(cherry picked from commit 03cb4261e00cf505790f4fd4e69f97b2ef4fcccd)
+--- a/glib/gthreadprivate.h
 b/glib/gthreadprivate.h
+@@ -41,6 +41,7 @@ struct  _GRealThread
+ /* system thread implementation (gthread-posix.c, gthread-win32.c) */
+ 
+ #if defined(HAVE_FUTEX) || defined(HAVE_FUTEX_TIME64)
++#include 
+ #include 
+ #include 
+ #include 
+-- 
+GitLab

diff --git a/dev-libs/glib/glib-2.74.4.ebuild b/dev-libs/glib/glib-2.74.4.ebuild
new file mode 100644
index ..4da035ddf9e3
--- /dev/null
+++ b/dev-libs/glib/glib-2.74.4.ebuild
@@ -0,0 +1,288 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_REQ_USE="xml(+)"
+PYTHON_COMPAT=( python3_{8..11} )
+
+inherit flag-o-matic gnome.org gnome2-utils linux-info meson-multilib multilib 
python-any-r1 toolchain-funcs xdg
+
+DESCRIPTION="The GLib library of C routines"
+HOMEPAGE="https://www.gtk.org/;
+
+LICENSE="LGPL-2.1+"
+SLOT="2"
+IUSE="dbus debug +elf gtk-doc +mime selinux static-libs sysprof systemtap test 
utils xattr"
+RESTRICT="!test? ( test )"
+#REQUIRED_USE="gtk-doc? ( test )" # Bug #777636
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+
+# * elfutils (via libelf) does not build on Windows. gresources are not 
embedded
+# within ELF binaries on that platform anyway and inspecting ELF binaries from
+# other platforms is not that useful so exclude the dependency in this case.
+# * Technically static-libs is needed on zlib, util-linux and perhaps more, but
+# these are used by GIO, which glib[static-libs] consumers don't really seem
+# to need at all, thus not imposing the deps for now and once some consumers
+# are actually found to static link libgio-2.0.a, we can revisit and either add
+# them or just put the (build) deps in that rare consumer instead of recursive
+# RDEPEND here (due to lack of recursive DEPEND).
+RDEPEND="
+   !=virtual/libiconv-0-r1[${MULTILIB_USEDEP}]
+   >=dev-libs/libpcre2-10.32:0=[${MULTILIB_USEDEP},unicode(+),static-libs?]
+   >=dev-libs/libffi-3.0.13-r1:=[${MULTILIB_USEDEP}]
+   >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]
+   >=virtual/libintl-0-r2[${MULTILIB_USEDEP}]
+   kernel_linux? ( 

[gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/

2022-12-16 Thread Arthur Zamarin
commit: 831503a15b5d11cea7560a588a2cbf39c3291723
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Dec 16 20:29:13 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Dec 16 20:29:13 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=831503a1

dev-libs/glib: Stabilize 2.74.3-r3 sparc, #885627

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/glib/glib-2.74.3-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/glib/glib-2.74.3-r3.ebuild 
b/dev-libs/glib/glib-2.74.3-r3.ebuild
index 9057c875aab3..2a8a72ab38ea 100644
--- a/dev-libs/glib/glib-2.74.3-r3.ebuild
+++ b/dev-libs/glib/glib-2.74.3-r3.ebuild
@@ -18,7 +18,7 @@ IUSE="dbus debug +elf gtk-doc +mime selinux static-libs 
sysprof systemtap test u
 RESTRICT="!test? ( test )"
 #REQUIRED_USE="gtk-doc? ( test )" # Bug #777636
 
-KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux"
 
 # * elfutils (via libelf) does not build on Windows. gresources are not 
embedded
 # within ELF binaries on that platform anyway and inspecting ELF binaries from



[gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/

2022-12-15 Thread Sam James
commit: 0bb465e0221ec65514ec2bb6d6f2e989217362e0
Author: Sam James  gentoo  org>
AuthorDate: Fri Dec 16 04:57:44 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Dec 16 04:57:44 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0bb465e0

dev-libs/glib: drop 2.74.3-r2

Signed-off-by: Sam James  gentoo.org>

 dev-libs/glib/Manifest  |   1 -
 dev-libs/glib/glib-2.74.3-r2.ebuild | 290 
 2 files changed, 291 deletions(-)

diff --git a/dev-libs/glib/Manifest b/dev-libs/glib/Manifest
index a1c25ba57d85..26c04fce0287 100644
--- a/dev-libs/glib/Manifest
+++ b/dev-libs/glib/Manifest
@@ -1,4 +1,3 @@
 DIST glib-2.74.1.tar.xz 5189452 BLAKE2B 
58d977a5d2a100aa9125f2009ae66c6f27232dff70159433076552bdb64f9a6a93d7cb705feba890ee43d6f16d4766f6f1d5502c2e01eeb7e88d5ed0dd205d5c
 SHA512 
21176cb95fcab49a781d02789bf21191a96a34a6391f066699b3c20b414b3169c958bd86623deb34ca55912083862885f7a7d12b67cc041467da2ba94d9e83c3
 DIST glib-2.74.3-patches-2.tar.xz 23576 BLAKE2B 
f3746bdf961890d9f4e7ad20b107b83b7ceb8dcc36e288c1d526bac31a0e1dd9d1f13323f512355085c77d186ad66c3f52c1154f34c1d6fd6a5e64a074b2920c
 SHA512 
945c131c27f02044db6154f0a63f458d6317c8a4e841fb392947b16756e25d92adeb2b34d793c9e19441b825d1aee71ae9b08fdcbefa1bc9de1d5af9e903e82c
-DIST glib-2.74.3-patches.tar.xz 20644 BLAKE2B 
1ffc465c4a3efd0ddd413bf40677bab903dad44580e66527c4ca115563228caf4450a94925522f12be69be88353e89b21d303d757903515fb1898a88768de18c
 SHA512 
3eba57a4d0136bfbb7b6d7fb25957b63cc11d1e52bdcf8f5c6c346bca6db64f21237defaa320e528d00b979f73dc935ba882aa3629d14717fd109b7404766b36
 DIST glib-2.74.3.tar.xz 5181732 BLAKE2B 
46c37be9519866af040b2aaf35129a9cfae6e2c74636c01755b901002fa77f4e2305025691d7a8279acfbae1298a4b5b1e095b333bed3b067e9820547b6eca97
 SHA512 
a9aa7e84187abb57aeeff9c7f4c4125be742a510ae5d39b6b62696ad1a715c36b353c6c14222caeb1e87bed930fb54184dba77118b991c42f1857a292c6aa77b

diff --git a/dev-libs/glib/glib-2.74.3-r2.ebuild 
b/dev-libs/glib/glib-2.74.3-r2.ebuild
deleted file mode 100644
index 5efc4fa82716..
--- a/dev-libs/glib/glib-2.74.3-r2.ebuild
+++ /dev/null
@@ -1,290 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-PYTHON_REQ_USE="xml(+)"
-PYTHON_COMPAT=( python3_{8..11} )
-
-inherit flag-o-matic gnome.org gnome2-utils linux-info meson-multilib multilib 
python-any-r1 toolchain-funcs xdg
-
-DESCRIPTION="The GLib library of C routines"
-HOMEPAGE="https://www.gtk.org/;
-# 
https://discourse.gnome.org/t/multiple-fixes-for-gvariant-normalisation-issues-in-glib/12835
-SRC_URI+=" 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}-patches.tar.xz;
-
-LICENSE="LGPL-2.1+"
-SLOT="2"
-IUSE="dbus debug +elf gtk-doc +mime selinux static-libs sysprof systemtap test 
utils xattr"
-RESTRICT="!test? ( test )"
-#REQUIRED_USE="gtk-doc? ( test )" # Bug #777636
-
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
-
-# * elfutils (via libelf) does not build on Windows. gresources are not 
embedded
-# within ELF binaries on that platform anyway and inspecting ELF binaries from
-# other platforms is not that useful so exclude the dependency in this case.
-# * Technically static-libs is needed on zlib, util-linux and perhaps more, but
-# these are used by GIO, which glib[static-libs] consumers don't really seem
-# to need at all, thus not imposing the deps for now and once some consumers
-# are actually found to static link libgio-2.0.a, we can revisit and either add
-# them or just put the (build) deps in that rare consumer instead of recursive
-# RDEPEND here (due to lack of recursive DEPEND).
-RDEPEND="
-   !=virtual/libiconv-0-r1[${MULTILIB_USEDEP}]
-   >=dev-libs/libpcre2-10.32:0=[${MULTILIB_USEDEP},unicode(+),static-libs?]
-   >=dev-libs/libffi-3.0.13-r1:=[${MULTILIB_USEDEP}]
-   >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]
-   >=virtual/libintl-0-r2[${MULTILIB_USEDEP}]
-   kernel_linux? ( >=sys-apps/util-linux-2.23[${MULTILIB_USEDEP}] )
-   selinux? ( >=sys-libs/libselinux-2.2.2-r5[${MULTILIB_USEDEP}] )
-   xattr? ( !elibc_glibc? ( >=sys-apps/attr-2.4.47-r1[${MULTILIB_USEDEP}] 
) )
-   elf? ( virtual/libelf:0= )
-   sysprof? ( >=dev-util/sysprof-capture-3.40.1:4[${MULTILIB_USEDEP}] )
-"
-DEPEND="${RDEPEND}"
-# libxml2 used for optional tests that get automatically skipped
-BDEPEND="
-   app-text/docbook-xsl-stylesheets
-   dev-libs/libxslt
-   >=sys-devel/gettext-0.19.8
-   gtk-doc? ( >=dev-util/gtk-doc-1.33
-   app-text/docbook-xml-dtd:4.2
-   app-text/docbook-xml-dtd:4.5 )
-   systemtap? ( >=dev-util/systemtap-1.3 )
-   ${PYTHON_DEPS}
-   test? ( >=sys-apps/dbus-1.2.14 )
-   virtual/pkgconfig
-"
-# TODO: >=dev-util/gdbus-codegen-${PV} test dep once we modify 
gio/tests/meson.build to use external gdbus-codegen
-

[gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/

2022-12-15 Thread Sam James
commit: 9a28534a11a48579dab087115428e8ffec10d5b6
Author: Sam James  gentoo  org>
AuthorDate: Fri Dec 16 04:50:49 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Dec 16 04:50:49 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a28534a

dev-libs/glib: further security backports

See 
https://discourse.gnome.org/t/multiple-fixes-for-gvariant-normalisation-issues-in-glib/12835.

Bug: https://bugs.gentoo.org/886197
See: f55b93c30f6280375deff99bba8b5e967460b1bf
Signed-off-by: Sam James  gentoo.org>

 dev-libs/glib/Manifest  |   1 +
 dev-libs/glib/glib-2.74.3-r3.ebuild | 290 
 2 files changed, 291 insertions(+)

diff --git a/dev-libs/glib/Manifest b/dev-libs/glib/Manifest
index ae846e8851a2..a1c25ba57d85 100644
--- a/dev-libs/glib/Manifest
+++ b/dev-libs/glib/Manifest
@@ -1,3 +1,4 @@
 DIST glib-2.74.1.tar.xz 5189452 BLAKE2B 
58d977a5d2a100aa9125f2009ae66c6f27232dff70159433076552bdb64f9a6a93d7cb705feba890ee43d6f16d4766f6f1d5502c2e01eeb7e88d5ed0dd205d5c
 SHA512 
21176cb95fcab49a781d02789bf21191a96a34a6391f066699b3c20b414b3169c958bd86623deb34ca55912083862885f7a7d12b67cc041467da2ba94d9e83c3
+DIST glib-2.74.3-patches-2.tar.xz 23576 BLAKE2B 
f3746bdf961890d9f4e7ad20b107b83b7ceb8dcc36e288c1d526bac31a0e1dd9d1f13323f512355085c77d186ad66c3f52c1154f34c1d6fd6a5e64a074b2920c
 SHA512 
945c131c27f02044db6154f0a63f458d6317c8a4e841fb392947b16756e25d92adeb2b34d793c9e19441b825d1aee71ae9b08fdcbefa1bc9de1d5af9e903e82c
 DIST glib-2.74.3-patches.tar.xz 20644 BLAKE2B 
1ffc465c4a3efd0ddd413bf40677bab903dad44580e66527c4ca115563228caf4450a94925522f12be69be88353e89b21d303d757903515fb1898a88768de18c
 SHA512 
3eba57a4d0136bfbb7b6d7fb25957b63cc11d1e52bdcf8f5c6c346bca6db64f21237defaa320e528d00b979f73dc935ba882aa3629d14717fd109b7404766b36
 DIST glib-2.74.3.tar.xz 5181732 BLAKE2B 
46c37be9519866af040b2aaf35129a9cfae6e2c74636c01755b901002fa77f4e2305025691d7a8279acfbae1298a4b5b1e095b333bed3b067e9820547b6eca97
 SHA512 
a9aa7e84187abb57aeeff9c7f4c4125be742a510ae5d39b6b62696ad1a715c36b353c6c14222caeb1e87bed930fb54184dba77118b991c42f1857a292c6aa77b

diff --git a/dev-libs/glib/glib-2.74.3-r3.ebuild 
b/dev-libs/glib/glib-2.74.3-r3.ebuild
new file mode 100644
index ..fec548071712
--- /dev/null
+++ b/dev-libs/glib/glib-2.74.3-r3.ebuild
@@ -0,0 +1,290 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_REQ_USE="xml(+)"
+PYTHON_COMPAT=( python3_{8..11} )
+
+inherit flag-o-matic gnome.org gnome2-utils linux-info meson-multilib multilib 
python-any-r1 toolchain-funcs xdg
+
+DESCRIPTION="The GLib library of C routines"
+HOMEPAGE="https://www.gtk.org/;
+# 
https://discourse.gnome.org/t/multiple-fixes-for-gvariant-normalisation-issues-in-glib/12835
+SRC_URI+=" 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}-patches-2.tar.xz;
+
+LICENSE="LGPL-2.1+"
+SLOT="2"
+IUSE="dbus debug +elf gtk-doc +mime selinux static-libs sysprof systemtap test 
utils xattr"
+RESTRICT="!test? ( test )"
+#REQUIRED_USE="gtk-doc? ( test )" # Bug #777636
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+
+# * elfutils (via libelf) does not build on Windows. gresources are not 
embedded
+# within ELF binaries on that platform anyway and inspecting ELF binaries from
+# other platforms is not that useful so exclude the dependency in this case.
+# * Technically static-libs is needed on zlib, util-linux and perhaps more, but
+# these are used by GIO, which glib[static-libs] consumers don't really seem
+# to need at all, thus not imposing the deps for now and once some consumers
+# are actually found to static link libgio-2.0.a, we can revisit and either add
+# them or just put the (build) deps in that rare consumer instead of recursive
+# RDEPEND here (due to lack of recursive DEPEND).
+RDEPEND="
+   !=virtual/libiconv-0-r1[${MULTILIB_USEDEP}]
+   >=dev-libs/libpcre2-10.32:0=[${MULTILIB_USEDEP},unicode(+),static-libs?]
+   >=dev-libs/libffi-3.0.13-r1:=[${MULTILIB_USEDEP}]
+   >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]
+   >=virtual/libintl-0-r2[${MULTILIB_USEDEP}]
+   kernel_linux? ( >=sys-apps/util-linux-2.23[${MULTILIB_USEDEP}] )
+   selinux? ( >=sys-libs/libselinux-2.2.2-r5[${MULTILIB_USEDEP}] )
+   xattr? ( !elibc_glibc? ( >=sys-apps/attr-2.4.47-r1[${MULTILIB_USEDEP}] 
) )
+   elf? ( virtual/libelf:0= )
+   sysprof? ( >=dev-util/sysprof-capture-3.40.1:4[${MULTILIB_USEDEP}] )
+"
+DEPEND="${RDEPEND}"
+# libxml2 used for optional tests that get automatically skipped
+BDEPEND="
+   app-text/docbook-xsl-stylesheets
+   dev-libs/libxslt
+   >=sys-devel/gettext-0.19.8
+   gtk-doc? ( >=dev-util/gtk-doc-1.33
+   app-text/docbook-xml-dtd:4.2
+   app-text/docbook-xml-dtd:4.5 )
+   systemtap? ( >=dev-util/systemtap-1.3 )
+   

[gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/

2022-12-13 Thread Sam James
commit: f55b93c30f6280375deff99bba8b5e967460b1bf
Author: Sam James  gentoo  org>
AuthorDate: Wed Dec 14 00:54:51 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Dec 14 00:54:51 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f55b93c3

dev-libs/glib: backport security fixes to 2.74.x

See 
https://discourse.gnome.org/t/multiple-fixes-for-gvariant-normalisation-issues-in-glib/12835.

No Gentoo bug yet as Bugzilla is down.

Signed-off-by: Sam James  gentoo.org>

 dev-libs/glib/Manifest  |   1 +
 dev-libs/glib/glib-2.74.3-r2.ebuild | 290 
 2 files changed, 291 insertions(+)

diff --git a/dev-libs/glib/Manifest b/dev-libs/glib/Manifest
index 9ad6d080eb85..ae846e8851a2 100644
--- a/dev-libs/glib/Manifest
+++ b/dev-libs/glib/Manifest
@@ -1,2 +1,3 @@
 DIST glib-2.74.1.tar.xz 5189452 BLAKE2B 
58d977a5d2a100aa9125f2009ae66c6f27232dff70159433076552bdb64f9a6a93d7cb705feba890ee43d6f16d4766f6f1d5502c2e01eeb7e88d5ed0dd205d5c
 SHA512 
21176cb95fcab49a781d02789bf21191a96a34a6391f066699b3c20b414b3169c958bd86623deb34ca55912083862885f7a7d12b67cc041467da2ba94d9e83c3
+DIST glib-2.74.3-patches.tar.xz 20644 BLAKE2B 
1ffc465c4a3efd0ddd413bf40677bab903dad44580e66527c4ca115563228caf4450a94925522f12be69be88353e89b21d303d757903515fb1898a88768de18c
 SHA512 
3eba57a4d0136bfbb7b6d7fb25957b63cc11d1e52bdcf8f5c6c346bca6db64f21237defaa320e528d00b979f73dc935ba882aa3629d14717fd109b7404766b36
 DIST glib-2.74.3.tar.xz 5181732 BLAKE2B 
46c37be9519866af040b2aaf35129a9cfae6e2c74636c01755b901002fa77f4e2305025691d7a8279acfbae1298a4b5b1e095b333bed3b067e9820547b6eca97
 SHA512 
a9aa7e84187abb57aeeff9c7f4c4125be742a510ae5d39b6b62696ad1a715c36b353c6c14222caeb1e87bed930fb54184dba77118b991c42f1857a292c6aa77b

diff --git a/dev-libs/glib/glib-2.74.3-r2.ebuild 
b/dev-libs/glib/glib-2.74.3-r2.ebuild
new file mode 100644
index ..5efc4fa82716
--- /dev/null
+++ b/dev-libs/glib/glib-2.74.3-r2.ebuild
@@ -0,0 +1,290 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_REQ_USE="xml(+)"
+PYTHON_COMPAT=( python3_{8..11} )
+
+inherit flag-o-matic gnome.org gnome2-utils linux-info meson-multilib multilib 
python-any-r1 toolchain-funcs xdg
+
+DESCRIPTION="The GLib library of C routines"
+HOMEPAGE="https://www.gtk.org/;
+# 
https://discourse.gnome.org/t/multiple-fixes-for-gvariant-normalisation-issues-in-glib/12835
+SRC_URI+=" 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}-patches.tar.xz;
+
+LICENSE="LGPL-2.1+"
+SLOT="2"
+IUSE="dbus debug +elf gtk-doc +mime selinux static-libs sysprof systemtap test 
utils xattr"
+RESTRICT="!test? ( test )"
+#REQUIRED_USE="gtk-doc? ( test )" # Bug #777636
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+
+# * elfutils (via libelf) does not build on Windows. gresources are not 
embedded
+# within ELF binaries on that platform anyway and inspecting ELF binaries from
+# other platforms is not that useful so exclude the dependency in this case.
+# * Technically static-libs is needed on zlib, util-linux and perhaps more, but
+# these are used by GIO, which glib[static-libs] consumers don't really seem
+# to need at all, thus not imposing the deps for now and once some consumers
+# are actually found to static link libgio-2.0.a, we can revisit and either add
+# them or just put the (build) deps in that rare consumer instead of recursive
+# RDEPEND here (due to lack of recursive DEPEND).
+RDEPEND="
+   !=virtual/libiconv-0-r1[${MULTILIB_USEDEP}]
+   >=dev-libs/libpcre2-10.32:0=[${MULTILIB_USEDEP},unicode(+),static-libs?]
+   >=dev-libs/libffi-3.0.13-r1:=[${MULTILIB_USEDEP}]
+   >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]
+   >=virtual/libintl-0-r2[${MULTILIB_USEDEP}]
+   kernel_linux? ( >=sys-apps/util-linux-2.23[${MULTILIB_USEDEP}] )
+   selinux? ( >=sys-libs/libselinux-2.2.2-r5[${MULTILIB_USEDEP}] )
+   xattr? ( !elibc_glibc? ( >=sys-apps/attr-2.4.47-r1[${MULTILIB_USEDEP}] 
) )
+   elf? ( virtual/libelf:0= )
+   sysprof? ( >=dev-util/sysprof-capture-3.40.1:4[${MULTILIB_USEDEP}] )
+"
+DEPEND="${RDEPEND}"
+# libxml2 used for optional tests that get automatically skipped
+BDEPEND="
+   app-text/docbook-xsl-stylesheets
+   dev-libs/libxslt
+   >=sys-devel/gettext-0.19.8
+   gtk-doc? ( >=dev-util/gtk-doc-1.33
+   app-text/docbook-xml-dtd:4.2
+   app-text/docbook-xml-dtd:4.5 )
+   systemtap? ( >=dev-util/systemtap-1.3 )
+   ${PYTHON_DEPS}
+   test? ( >=sys-apps/dbus-1.2.14 )
+   virtual/pkgconfig
+"
+# TODO: >=dev-util/gdbus-codegen-${PV} test dep once we modify 
gio/tests/meson.build to use external gdbus-codegen
+
+PDEPEND="
+   dbus? ( gnome-base/dconf )
+   mime? ( x11-misc/shared-mime-info )
+"
+# shared-mime-info needed for gio/xdgmime, bug #409481
+# dconf is 

[gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/

2022-12-01 Thread Sam James
commit: da492e33f9ad0d1cf09c4c643737755999fa7425
Author: Sam James  gentoo  org>
AuthorDate: Fri Dec  2 03:23:49 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Dec  2 03:27:32 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da492e33

dev-libs/glib: drop 2.74.2 (broken)

Will keep the mask for a little bit for folks who still have it installed
as a prompt to upgrade.

Bug: https://bugs.gentoo.org/883223
Signed-off-by: Sam James  gentoo.org>

 dev-libs/glib/Manifest   |   1 -
 dev-libs/glib/glib-2.74.2.ebuild | 287 ---
 2 files changed, 288 deletions(-)

diff --git a/dev-libs/glib/Manifest b/dev-libs/glib/Manifest
index 380c0ca0cf97..3ac46a5a4358 100644
--- a/dev-libs/glib/Manifest
+++ b/dev-libs/glib/Manifest
@@ -1,4 +1,3 @@
 DIST glib-2.72.3.tar.xz 4893484 BLAKE2B 
1360c887b07ede3de3a7d31589f3dfc07ada2fe3e7901d3f30048ab9a1379357753ae142c6c107b3fcd6dd61e1401fbe6db22f0e89ea617db2c1073f1900cbe6
 SHA512 
8834ab7498577c2f659d135b87c27b34e1157be27f6c1fe5af0d64a94654f78cbe6a87e6868966849674c34e88a9d51d2de8d89f78f86aa1e1af3482761f0638
 DIST glib-2.74.1.tar.xz 5189452 BLAKE2B 
58d977a5d2a100aa9125f2009ae66c6f27232dff70159433076552bdb64f9a6a93d7cb705feba890ee43d6f16d4766f6f1d5502c2e01eeb7e88d5ed0dd205d5c
 SHA512 
21176cb95fcab49a781d02789bf21191a96a34a6391f066699b3c20b414b3169c958bd86623deb34ca55912083862885f7a7d12b67cc041467da2ba94d9e83c3
-DIST glib-2.74.2.tar.xz 5182312 BLAKE2B 
319a8fb793adb7343b77119d7b7839efad6f91b9c7af079f53d54b435067ab12162c4791ca6b8e9b7fd6d269975e9559951cbf80a065072541f407a0d8e2ce74
 SHA512 
90bb2410f038e47401fc985ff7fe6d1abecec9417254e039ac18e6b0d77e0b8539b975bef84d5f933be8e43c8ceca236bd466622504491e08e71d079d8804895
 DIST glib-2.74.3.tar.xz 5181732 BLAKE2B 
46c37be9519866af040b2aaf35129a9cfae6e2c74636c01755b901002fa77f4e2305025691d7a8279acfbae1298a4b5b1e095b333bed3b067e9820547b6eca97
 SHA512 
a9aa7e84187abb57aeeff9c7f4c4125be742a510ae5d39b6b62696ad1a715c36b353c6c14222caeb1e87bed930fb54184dba77118b991c42f1857a292c6aa77b

diff --git a/dev-libs/glib/glib-2.74.2.ebuild b/dev-libs/glib/glib-2.74.2.ebuild
deleted file mode 100644
index c62ece284c75..
--- a/dev-libs/glib/glib-2.74.2.ebuild
+++ /dev/null
@@ -1,287 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-PYTHON_REQ_USE="xml(+)"
-PYTHON_COMPAT=( python3_{8..11} )
-
-inherit flag-o-matic gnome.org gnome2-utils linux-info meson-multilib multilib 
python-any-r1 toolchain-funcs xdg
-
-DESCRIPTION="The GLib library of C routines"
-HOMEPAGE="https://www.gtk.org/;
-
-LICENSE="LGPL-2.1+"
-SLOT="2"
-IUSE="dbus debug +elf gtk-doc +mime selinux static-libs sysprof systemtap test 
utils xattr"
-RESTRICT="!test? ( test )"
-#REQUIRED_USE="gtk-doc? ( test )" # Bug #777636
-
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
-
-# * elfutils (via libelf) does not build on Windows. gresources are not 
embedded
-# within ELF binaries on that platform anyway and inspecting ELF binaries from
-# other platforms is not that useful so exclude the dependency in this case.
-# * Technically static-libs is needed on zlib, util-linux and perhaps more, but
-# these are used by GIO, which glib[static-libs] consumers don't really seem
-# to need at all, thus not imposing the deps for now and once some consumers
-# are actually found to static link libgio-2.0.a, we can revisit and either add
-# them or just put the (build) deps in that rare consumer instead of recursive
-# RDEPEND here (due to lack of recursive DEPEND).
-RDEPEND="
-   !=virtual/libiconv-0-r1[${MULTILIB_USEDEP}]
-   >=dev-libs/libpcre2-10.32:0=[${MULTILIB_USEDEP},static-libs?]
-   >=dev-libs/libffi-3.0.13-r1:=[${MULTILIB_USEDEP}]
-   >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]
-   >=virtual/libintl-0-r2[${MULTILIB_USEDEP}]
-   kernel_linux? ( >=sys-apps/util-linux-2.23[${MULTILIB_USEDEP}] )
-   selinux? ( >=sys-libs/libselinux-2.2.2-r5[${MULTILIB_USEDEP}] )
-   xattr? ( !elibc_glibc? ( >=sys-apps/attr-2.4.47-r1[${MULTILIB_USEDEP}] 
) )
-   elf? ( virtual/libelf:0= )
-   sysprof? ( >=dev-util/sysprof-capture-3.40.1:4[${MULTILIB_USEDEP}] )
-"
-DEPEND="${RDEPEND}"
-# libxml2 used for optional tests that get automatically skipped
-BDEPEND="
-   app-text/docbook-xsl-stylesheets
-   dev-libs/libxslt
-   >=sys-devel/gettext-0.19.8
-   gtk-doc? ( >=dev-util/gtk-doc-1.33
-   app-text/docbook-xml-dtd:4.2
-   app-text/docbook-xml-dtd:4.5 )
-   systemtap? ( >=dev-util/systemtap-1.3 )
-   ${PYTHON_DEPS}
-   test? ( >=sys-apps/dbus-1.2.14 )
-   virtual/pkgconfig
-"
-# TODO: >=dev-util/gdbus-codegen-${PV} test dep once we modify 
gio/tests/meson.build to use external gdbus-codegen
-
-PDEPEND="
-   dbus? ( gnome-base/dconf )
-   mime? ( 

[gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/

2022-12-01 Thread Matt Turner
commit: 337a97f5660ed827c17f487acdf5fb9f71bbdf1b
Author: Matt Turner  gentoo  org>
AuthorDate: Fri Dec  2 03:01:21 2022 +
Commit: Matt Turner  gentoo  org>
CommitDate: Fri Dec  2 03:01:44 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=337a97f5

dev-libs/glib: Depend on dev-libs/libpcre2[unicode(+)]

Closes: https://bugs.gentoo.org/883739
Closes: https://bugs.gentoo.org/883779
Closes: https://bugs.gentoo.org/883877
Signed-off-by: Matt Turner  gentoo.org>

 dev-libs/glib/{glib-2.74.3.ebuild => glib-2.74.3-r1.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/glib/glib-2.74.3.ebuild 
b/dev-libs/glib/glib-2.74.3-r1.ebuild
similarity index 99%
rename from dev-libs/glib/glib-2.74.3.ebuild
rename to dev-libs/glib/glib-2.74.3-r1.ebuild
index c62ece284c75..7585636eb1ea 100644
--- a/dev-libs/glib/glib-2.74.3.ebuild
+++ b/dev-libs/glib/glib-2.74.3-r1.ebuild
@@ -30,7 +30,7 @@ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k 
~mips ~ppc ~ppc64 ~
 RDEPEND="
!=virtual/libiconv-0-r1[${MULTILIB_USEDEP}]
-   >=dev-libs/libpcre2-10.32:0=[${MULTILIB_USEDEP},static-libs?]
+   >=dev-libs/libpcre2-10.32:0=[${MULTILIB_USEDEP},unicode(+),static-libs?]
>=dev-libs/libffi-3.0.13-r1:=[${MULTILIB_USEDEP}]
>=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]
>=virtual/libintl-0-r2[${MULTILIB_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/

2022-11-26 Thread Matt Turner
commit: 425790bb76e60276526d035f760468fad190ac0f
Author: Matt Turner  gentoo  org>
AuthorDate: Sat Nov 26 16:57:47 2022 +
Commit: Matt Turner  gentoo  org>
CommitDate: Sat Nov 26 17:19:34 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=425790bb

dev-libs/glib: Reapply flaky test patch

Signed-off-by: Matt Turner  gentoo.org>

 dev-libs/glib/glib-2.74.2.ebuild | 4 
 1 file changed, 4 insertions(+)

diff --git a/dev-libs/glib/glib-2.74.2.ebuild b/dev-libs/glib/glib-2.74.2.ebuild
index c4d2906460ab..c62ece284c75 100644
--- a/dev-libs/glib/glib-2.74.2.ebuild
+++ b/dev-libs/glib/glib-2.74.2.ebuild
@@ -67,6 +67,10 @@ MULTILIB_CHOST_TOOLS=(
/usr/bin/gio-querymodules$(get_exeext)
 )
 
+PATCHES=(
+   "${FILESDIR}"/${PN}-2.64.1-mark-gdbus-server-auth-test-flaky.patch
+)
+
 pkg_setup() {
if use kernel_linux ; then
CONFIG_CHECK="~INOTIFY_USER"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/

2022-11-26 Thread Matt Turner
commit: 7be1326551caf880309df9a11d40a3ad00bfce6e
Author: Matt Turner  gentoo  org>
AuthorDate: Sat Nov 26 16:30:16 2022 +
Commit: Matt Turner  gentoo  org>
CommitDate: Sat Nov 26 17:19:34 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7be13265

dev-libs/glib: Don't apply unneeded patch

This patch is included in 2.74.1.

Signed-off-by: Matt Turner  gentoo.org>

 dev-libs/glib/glib-2.74.1-r1.ebuild | 1 -
 dev-libs/glib/glib-2.74.1.ebuild| 4 
 dev-libs/glib/glib-2.74.2.ebuild| 4 
 3 files changed, 9 deletions(-)

diff --git a/dev-libs/glib/glib-2.74.1-r1.ebuild 
b/dev-libs/glib/glib-2.74.1-r1.ebuild
index 6dfbffbc4f27..cf1afe7d1d51 100644
--- a/dev-libs/glib/glib-2.74.1-r1.ebuild
+++ b/dev-libs/glib/glib-2.74.1-r1.ebuild
@@ -68,7 +68,6 @@ MULTILIB_CHOST_TOOLS=(
 )
 
 PATCHES=(
-   "${FILESDIR}"/${PN}-2.74.0-crash-gparamspec.patch
"${FILESDIR}"/${P}-gnome-keyring-cpu.patch
 )
 

diff --git a/dev-libs/glib/glib-2.74.1.ebuild b/dev-libs/glib/glib-2.74.1.ebuild
index de789c752115..c4d2906460ab 100644
--- a/dev-libs/glib/glib-2.74.1.ebuild
+++ b/dev-libs/glib/glib-2.74.1.ebuild
@@ -67,10 +67,6 @@ MULTILIB_CHOST_TOOLS=(
/usr/bin/gio-querymodules$(get_exeext)
 )
 
-PATCHES=(
-   "${FILESDIR}"/${PN}-2.74.0-crash-gparamspec.patch
-)
-
 pkg_setup() {
if use kernel_linux ; then
CONFIG_CHECK="~INOTIFY_USER"

diff --git a/dev-libs/glib/glib-2.74.2.ebuild b/dev-libs/glib/glib-2.74.2.ebuild
index de789c752115..c4d2906460ab 100644
--- a/dev-libs/glib/glib-2.74.2.ebuild
+++ b/dev-libs/glib/glib-2.74.2.ebuild
@@ -67,10 +67,6 @@ MULTILIB_CHOST_TOOLS=(
/usr/bin/gio-querymodules$(get_exeext)
 )
 
-PATCHES=(
-   "${FILESDIR}"/${PN}-2.74.0-crash-gparamspec.patch
-)
-
 pkg_setup() {
if use kernel_linux ; then
CONFIG_CHECK="~INOTIFY_USER"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/files/, dev-libs/glib/

2022-11-26 Thread Matt Turner
commit: 90faffceb3b073b8f24d7dfebe489abecf2f8535
Author: Matt Turner  gentoo  org>
AuthorDate: Sat Nov 26 16:31:26 2022 +
Commit: Matt Turner  gentoo  org>
CommitDate: Sat Nov 26 17:19:34 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90faffce

dev-libs/glib: Drop old versions

Signed-off-by: Matt Turner  gentoo.org>

 dev-libs/glib/Manifest |   1 -
 dev-libs/glib/files/glib-2.74.0-clang-build.patch  |  26 --
 .../glib/files/glib-2.74.0-crash-gparamspec.patch  |  27 --
 dev-libs/glib/glib-2.74.0-r1.ebuild| 289 -
 dev-libs/glib/glib-2.74.1.ebuild   | 283 
 5 files changed, 626 deletions(-)

diff --git a/dev-libs/glib/Manifest b/dev-libs/glib/Manifest
index 878c1cbe294d..e298847984d8 100644
--- a/dev-libs/glib/Manifest
+++ b/dev-libs/glib/Manifest
@@ -1,4 +1,3 @@
 DIST glib-2.72.3.tar.xz 4893484 BLAKE2B 
1360c887b07ede3de3a7d31589f3dfc07ada2fe3e7901d3f30048ab9a1379357753ae142c6c107b3fcd6dd61e1401fbe6db22f0e89ea617db2c1073f1900cbe6
 SHA512 
8834ab7498577c2f659d135b87c27b34e1157be27f6c1fe5af0d64a94654f78cbe6a87e6868966849674c34e88a9d51d2de8d89f78f86aa1e1af3482761f0638
-DIST glib-2.74.0.tar.xz 5183072 BLAKE2B 
b21e5a72e2ce3390cbf13601aa902104f1ac1cfbd75181d30cd340f24b5875753f898b229f99c71d47d499be86cddb0191a0072c0c2decc82956a46c16255905
 SHA512 
5cdadd2f4568c0c3d45083b4d39699abf651e42e020f7bc880cce3ff33d28943118388d17a0632777e843f48009c1f97d5634fde3cb8c69c7c7f35b278ac8225
 DIST glib-2.74.1.tar.xz 5189452 BLAKE2B 
58d977a5d2a100aa9125f2009ae66c6f27232dff70159433076552bdb64f9a6a93d7cb705feba890ee43d6f16d4766f6f1d5502c2e01eeb7e88d5ed0dd205d5c
 SHA512 
21176cb95fcab49a781d02789bf21191a96a34a6391f066699b3c20b414b3169c958bd86623deb34ca55912083862885f7a7d12b67cc041467da2ba94d9e83c3
 DIST glib-2.74.2.tar.xz 5182312 BLAKE2B 
319a8fb793adb7343b77119d7b7839efad6f91b9c7af079f53d54b435067ab12162c4791ca6b8e9b7fd6d269975e9559951cbf80a065072541f407a0d8e2ce74
 SHA512 
90bb2410f038e47401fc985ff7fe6d1abecec9417254e039ac18e6b0d77e0b8539b975bef84d5f933be8e43c8ceca236bd466622504491e08e71d079d8804895

diff --git a/dev-libs/glib/files/glib-2.74.0-clang-build.patch 
b/dev-libs/glib/files/glib-2.74.0-clang-build.patch
deleted file mode 100644
index 23bb0630d028..
--- a/dev-libs/glib/files/glib-2.74.0-clang-build.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-https://gitlab.gnome.org/GNOME/glib/-/commit/37dba1c425f6c3254e9ce72f1c4b7d0f95c2be3e
-https://bugs.gentoo.org/871174
-
-From: Kjell Ahlstedt 
-Date: Thu, 15 Sep 2022 12:55:18 +0200
-Subject: [PATCH] gio-launch-desktop: Fix the G_STATIC_ASSERT expressions for
- clang
-
-The clang compiler requires the static_assert expression to be an integral
-constant expression. `"text"` is not, but `sizeof "text"` is.
-
-Fixes #2740
 a/gio/gio-launch-desktop.c
-+++ b/gio/gio-launch-desktop.c
-@@ -121,8 +121,8 @@ journal_stream_fd (const char *identifier,
-   /* Arbitrary large size for the sending buffer, from systemd */
-   int large_buffer_size = 8 * 1024 * 1024;
- 
--  G_STATIC_ASSERT (LOG_EMERG == 0 && "Linux ABI defines LOG_EMERG");
--  G_STATIC_ASSERT (LOG_DEBUG == 7 && "Linux ABI defines LOG_DEBUG");
-+  G_STATIC_ASSERT (LOG_EMERG == 0 && sizeof "Linux ABI defines LOG_EMERG");
-+  G_STATIC_ASSERT (LOG_DEBUG == 7 && sizeof "Linux ABI defines LOG_DEBUG");
- 
-   fd = socket (AF_UNIX, SOCK_STREAM | SOCK_CLOEXEC, 0);
- 
-GitLab

diff --git a/dev-libs/glib/files/glib-2.74.0-crash-gparamspec.patch 
b/dev-libs/glib/files/glib-2.74.0-crash-gparamspec.patch
deleted file mode 100644
index 84edcde4189d..
--- a/dev-libs/glib/files/glib-2.74.0-crash-gparamspec.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-https://gitlab.gnome.org/GNOME/glib/-/commit/ea3f17d598d550345e94e4571130e429443e91cb
-https://gitlab.gnome.org/GNOME/glib/-/issues/2770
-
-From: Emmanuele Bassi 
-Date: Sun, 25 Sep 2022 14:20:24 +0100
-Subject: [PATCH] Empty values are not valid GParamSpec
-
-The validate() vfunc for GParamSpecParam returns FALSE for empty GValue,
-which means the is_valid() vfunc should do the same.
-
-This avoids a segfault when calling g_param_value_is_valid() on a
-GParamSpecParam.
-
-Fixes: #2770
 a/gobject/gparamspecs.c
-+++ b/gobject/gparamspecs.c
-@@ -894,6 +894,9 @@ param_param_is_valid (GParamSpec   *pspec,
- {
-   GParamSpec *param = value->data[0].v_pointer;
- 
-+  if (param == NULL)
-+return FALSE;
-+
-   return g_value_type_compatible (G_PARAM_SPEC_TYPE (param), 
G_PARAM_SPEC_VALUE_TYPE (pspec));
- }
- 
-GitLab

diff --git a/dev-libs/glib/glib-2.74.0-r1.ebuild 
b/dev-libs/glib/glib-2.74.0-r1.ebuild
deleted file mode 100644
index 505345d23969..
--- a/dev-libs/glib/glib-2.74.0-r1.ebuild
+++ /dev/null
@@ -1,289 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-PYTHON_REQ_USE="xml(+)"
-PYTHON_COMPAT=( python3_{8..11} )
-
-inherit flag-o-matic gnome.org 

[gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/

2022-11-25 Thread Matt Turner
commit: 96508d55f40449994439a40a4e0f5f126e58dea5
Author: Guillermo Joandet  gmail  com>
AuthorDate: Fri Nov 25 20:11:27 2022 +
Commit: Matt Turner  gentoo  org>
CommitDate: Sat Nov 26 03:27:42 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96508d55

dev-libs/glib: Version bump to 2.74.2

Signed-off-by: Guillermo Joandet  gmail.com>
Signed-off-by: Matt Turner  gentoo.org>

 dev-libs/glib/Manifest   |   1 +
 dev-libs/glib/glib-2.74.2.ebuild | 287 +++
 2 files changed, 288 insertions(+)

diff --git a/dev-libs/glib/Manifest b/dev-libs/glib/Manifest
index 8714876d6404..878c1cbe294d 100644
--- a/dev-libs/glib/Manifest
+++ b/dev-libs/glib/Manifest
@@ -1,3 +1,4 @@
 DIST glib-2.72.3.tar.xz 4893484 BLAKE2B 
1360c887b07ede3de3a7d31589f3dfc07ada2fe3e7901d3f30048ab9a1379357753ae142c6c107b3fcd6dd61e1401fbe6db22f0e89ea617db2c1073f1900cbe6
 SHA512 
8834ab7498577c2f659d135b87c27b34e1157be27f6c1fe5af0d64a94654f78cbe6a87e6868966849674c34e88a9d51d2de8d89f78f86aa1e1af3482761f0638
 DIST glib-2.74.0.tar.xz 5183072 BLAKE2B 
b21e5a72e2ce3390cbf13601aa902104f1ac1cfbd75181d30cd340f24b5875753f898b229f99c71d47d499be86cddb0191a0072c0c2decc82956a46c16255905
 SHA512 
5cdadd2f4568c0c3d45083b4d39699abf651e42e020f7bc880cce3ff33d28943118388d17a0632777e843f48009c1f97d5634fde3cb8c69c7c7f35b278ac8225
 DIST glib-2.74.1.tar.xz 5189452 BLAKE2B 
58d977a5d2a100aa9125f2009ae66c6f27232dff70159433076552bdb64f9a6a93d7cb705feba890ee43d6f16d4766f6f1d5502c2e01eeb7e88d5ed0dd205d5c
 SHA512 
21176cb95fcab49a781d02789bf21191a96a34a6391f066699b3c20b414b3169c958bd86623deb34ca55912083862885f7a7d12b67cc041467da2ba94d9e83c3
+DIST glib-2.74.2.tar.xz 5182312 BLAKE2B 
319a8fb793adb7343b77119d7b7839efad6f91b9c7af079f53d54b435067ab12162c4791ca6b8e9b7fd6d269975e9559951cbf80a065072541f407a0d8e2ce74
 SHA512 
90bb2410f038e47401fc985ff7fe6d1abecec9417254e039ac18e6b0d77e0b8539b975bef84d5f933be8e43c8ceca236bd466622504491e08e71d079d8804895

diff --git a/dev-libs/glib/glib-2.74.2.ebuild b/dev-libs/glib/glib-2.74.2.ebuild
new file mode 100644
index ..de789c752115
--- /dev/null
+++ b/dev-libs/glib/glib-2.74.2.ebuild
@@ -0,0 +1,287 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_REQ_USE="xml(+)"
+PYTHON_COMPAT=( python3_{8..11} )
+
+inherit flag-o-matic gnome.org gnome2-utils linux-info meson-multilib multilib 
python-any-r1 toolchain-funcs xdg
+
+DESCRIPTION="The GLib library of C routines"
+HOMEPAGE="https://www.gtk.org/;
+
+LICENSE="LGPL-2.1+"
+SLOT="2"
+IUSE="dbus debug +elf gtk-doc +mime selinux static-libs sysprof systemtap test 
utils xattr"
+RESTRICT="!test? ( test )"
+#REQUIRED_USE="gtk-doc? ( test )" # Bug #777636
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+
+# * elfutils (via libelf) does not build on Windows. gresources are not 
embedded
+# within ELF binaries on that platform anyway and inspecting ELF binaries from
+# other platforms is not that useful so exclude the dependency in this case.
+# * Technically static-libs is needed on zlib, util-linux and perhaps more, but
+# these are used by GIO, which glib[static-libs] consumers don't really seem
+# to need at all, thus not imposing the deps for now and once some consumers
+# are actually found to static link libgio-2.0.a, we can revisit and either add
+# them or just put the (build) deps in that rare consumer instead of recursive
+# RDEPEND here (due to lack of recursive DEPEND).
+RDEPEND="
+   !=virtual/libiconv-0-r1[${MULTILIB_USEDEP}]
+   >=dev-libs/libpcre2-10.32:0=[${MULTILIB_USEDEP},static-libs?]
+   >=dev-libs/libffi-3.0.13-r1:=[${MULTILIB_USEDEP}]
+   >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]
+   >=virtual/libintl-0-r2[${MULTILIB_USEDEP}]
+   kernel_linux? ( >=sys-apps/util-linux-2.23[${MULTILIB_USEDEP}] )
+   selinux? ( >=sys-libs/libselinux-2.2.2-r5[${MULTILIB_USEDEP}] )
+   xattr? ( !elibc_glibc? ( >=sys-apps/attr-2.4.47-r1[${MULTILIB_USEDEP}] 
) )
+   elf? ( virtual/libelf:0= )
+   sysprof? ( >=dev-util/sysprof-capture-3.40.1:4[${MULTILIB_USEDEP}] )
+"
+DEPEND="${RDEPEND}"
+# libxml2 used for optional tests that get automatically skipped
+BDEPEND="
+   app-text/docbook-xsl-stylesheets
+   dev-libs/libxslt
+   >=sys-devel/gettext-0.19.8
+   gtk-doc? ( >=dev-util/gtk-doc-1.33
+   app-text/docbook-xml-dtd:4.2
+   app-text/docbook-xml-dtd:4.5 )
+   systemtap? ( >=dev-util/systemtap-1.3 )
+   ${PYTHON_DEPS}
+   test? ( >=sys-apps/dbus-1.2.14 )
+   virtual/pkgconfig
+"
+# TODO: >=dev-util/gdbus-codegen-${PV} test dep once we modify 
gio/tests/meson.build to use external gdbus-codegen
+
+PDEPEND="
+   dbus? ( gnome-base/dconf )
+   mime? ( x11-misc/shared-mime-info )
+"
+# shared-mime-info needed for gio/xdgmime, bug #409481
+# dconf is 

[gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/

2022-11-16 Thread Arthur Zamarin
commit: 226753674ad9e72e74b27593c367ebc855c979cd
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Wed Nov 16 18:09:59 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Wed Nov 16 18:09:59 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22675367

dev-libs/glib: Stabilize 2.74.1-r1 hppa, #879807

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/glib/glib-2.74.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/glib/glib-2.74.1-r1.ebuild 
b/dev-libs/glib/glib-2.74.1-r1.ebuild
index 7c677d944989..0ab9007ca219 100644
--- a/dev-libs/glib/glib-2.74.1-r1.ebuild
+++ b/dev-libs/glib/glib-2.74.1-r1.ebuild
@@ -16,7 +16,7 @@ IUSE="dbus debug +elf gtk-doc +mime selinux static-libs 
sysprof systemtap test u
 RESTRICT="!test? ( test )"
 #REQUIRED_USE="gtk-doc? ( test )" # Bug #777636
 
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux"
 
 # * elfutils (via libelf) does not build on Windows. gresources are not 
embedded
 # within ELF binaries on that platform anyway and inspecting ELF binaries from



[gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/files/, dev-libs/glib/

2022-11-01 Thread Sam James
commit: 92e1c534401aa14856d4f4e0887934bd24882d8c
Author: Sam James  gentoo  org>
AuthorDate: Tue Nov  1 22:10:00 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Nov  1 22:10:00 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92e1c534

dev-libs/glib: backport gnome-keyring CPU peg fix

Bug: https://bugs.gentoo.org/878995
Bug: https://bugs.gentoo.org/878351
Signed-off-by: Sam James  gentoo.org>

 .../glib/files/glib-2.74.1-gnome-keyring-cpu.patch | 131 ++
 dev-libs/glib/glib-2.74.1-r1.ebuild| 288 +
 2 files changed, 419 insertions(+)

diff --git a/dev-libs/glib/files/glib-2.74.1-gnome-keyring-cpu.patch 
b/dev-libs/glib/files/glib-2.74.1-gnome-keyring-cpu.patch
new file mode 100644
index ..8cb07a2803f3
--- /dev/null
+++ b/dev-libs/glib/files/glib-2.74.1-gnome-keyring-cpu.patch
@@ -0,0 +1,131 @@
+https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3029
+https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3039 (backport PR we've 
used)
+https://bugs.gentoo.org/878995
+https://bugs.gentoo.org/878351
+
+From e2f283d7c8c5ab3aeb2f281a27ec7c0f24b86868 Mon Sep 17 00:00:00 2001
+From: Ray Strode 
+Date: Fri, 28 Oct 2022 11:21:04 -0400
+Subject: [PATCH 1/2] Revert "Handling collision between standard i/o file
+ descriptors and newly created ones"
+
+g_unix_open_pipe tries to avoid the standard io fd range
+when getting pipe fds. This turns out to be a bad idea because
+certain buggy programs rely on it using that range.
+
+This reverts commit d9ba6150909818beb05573f54f26232063492c5b
+--- a/glib/glib-unix.c
 b/glib/glib-unix.c
+@@ -108,17 +108,6 @@ g_unix_open_pipe (int *fds,
+ ecode = pipe2 (fds, pipe2_flags);
+ if (ecode == -1 && errno != ENOSYS)
+   return g_unix_set_error_from_errno (error, errno);
+-/* Don't reassign pipes to stdin, stdout, stderr if closed meanwhile */
+-else if (fds[0] < 3 || fds[1] < 3)
+-  {
+-int old_fds[2] = { fds[0], fds[1] };
+-gboolean result = g_unix_open_pipe (fds, flags, error);
+-close (old_fds[0]);
+-close (old_fds[1]);
+-
+-if (!result)
+-  g_unix_set_error_from_errno (error, errno);
+-  }
+ else if (ecode == 0)
+   return TRUE;
+ /* Fall through on -ENOSYS, we must be running on an old kernel */
+@@ -127,19 +116,6 @@ g_unix_open_pipe (int *fds,
+   ecode = pipe (fds);
+   if (ecode == -1)
+ return g_unix_set_error_from_errno (error, errno);
+-  /* Don't reassign pipes to stdin, stdout, stderr if closed meanwhile */
+-  else if (fds[0] < 3 || fds[1] < 3)
+-{
+-  int old_fds[2] = { fds[0], fds[1] };
+-  gboolean result = g_unix_open_pipe (fds, flags, error);
+-  close (old_fds[0]);
+-  close (old_fds[1]);
+-
+-  if (!result)
+-g_unix_set_error_from_errno (error, errno);
+-
+-  return result;
+-}
+ 
+   if (flags == 0)
+ return TRUE;
+GitLab
+From 4526620d8c485f5dfba6ddca33f91670982f82eb Mon Sep 17 00:00:00 2001
+From: Ray Strode 
+Date: Mon, 31 Oct 2022 09:17:55 -0400
+Subject: [PATCH 2/2] glib-unix: Add test to make sure g_unix_open_pipe will
+ intrude standard range
+
+Now that we know it's a bad idea to avoid the standard io fd range
+when getting pipe fds for g_unix_open_pipe, we should test to make sure
+we don't inadvertently try to do it again.
+
+This commit adds that test.
+--- a/glib/tests/unix.c
 b/glib/tests/unix.c
+@@ -24,8 +24,11 @@
+ #include "config.h"
+ 
+ #include "glib-unix.h"
++#include "gstdio.h"
++
+ #include 
+ #include 
++#include 
+ 
+ static void
+ test_pipe (void)
+@@ -52,6 +55,39 @@ test_pipe (void)
+   g_assert (g_str_has_prefix (buf, "hello"));
+ }
+ 
++static void
++test_pipe_stdio_overwrite (void)
++{
++  GError *error = NULL;
++  int pipefd[2], ret;
++  gboolean res;
++  int stdin_fd;
++
++  stdin_fd = dup (STDIN_FILENO);
++  g_assert_cmpint (stdin_fd, >, 0);
++
++  g_close (STDIN_FILENO, );
++  g_assert_no_error (error);
++
++  res = g_unix_open_pipe (pipefd, FD_CLOEXEC, );
++  g_assert_no_error (error);
++  g_assert_true (res);
++
++  g_assert_cmpint (pipefd[0], ==, STDIN_FILENO);
++
++  g_close (pipefd[0], );
++  g_assert_no_error (error);
++
++  g_close (pipefd[1], );
++  g_assert_no_error (error);
++
++  ret = dup2 (stdin_fd, STDIN_FILENO);
++  g_assert_cmpint (ret, >=, 0);
++
++  g_close (stdin_fd, );
++  g_assert_no_error (error);
++}
++
+ static void
+ test_error (void)
+ {
+@@ -337,6 +373,7 @@ main (int   argc,
+   g_test_init (, , NULL);
+ 
+   g_test_add_func ("/glib-unix/pipe", test_pipe);
++  g_test_add_func ("/glib-unix/pipe-stdio-overwrite", 
test_pipe_stdio_overwrite);
+   g_test_add_func ("/glib-unix/error", test_error);
+   g_test_add_func ("/glib-unix/nonblocking", test_nonblocking);
+   g_test_add_func ("/glib-unix/sighup", test_sighup);
+GitLab

diff --git a/dev-libs/glib/glib-2.74.1-r1.ebuild 
b/dev-libs/glib/glib-2.74.1-r1.ebuild
new file mode 100644
index 

[gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/

2022-10-29 Thread Matt Turner
commit: 53ceb3bcc42f6b9e450fdd8a02b65b24748977a8
Author: Matt Turner  gentoo  org>
AuthorDate: Sat Oct 29 21:19:44 2022 +
Commit: Matt Turner  gentoo  org>
CommitDate: Sat Oct 29 23:20:09 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53ceb3bc

dev-libs/glib: Set remote-id

Signed-off-by: Matt Turner  gentoo.org>

 dev-libs/glib/metadata.xml | 71 +++---
 1 file changed, 36 insertions(+), 35 deletions(-)

diff --git a/dev-libs/glib/metadata.xml b/dev-libs/glib/metadata.xml
index 666314897afa..79eb1eaf5706 100644
--- a/dev-libs/glib/metadata.xml
+++ b/dev-libs/glib/metadata.xml
@@ -1,39 +1,40 @@
 
 https://www.gentoo.org/dtd/metadata.dtd;>
 
-   
-   gn...@gentoo.org
-   Gentoo GNOME Desktop
-   
-   
-   
-   Enable dependencies required by glib libraries
-   using dbus service to manage settings saving
-   
-   
-   Enable support for listing and extracting from
-   ELF resource files with gresource tool
-   
-   
-   Pull in shared MIME database that many glib-based
-   applications require at runtime to detect or open 
files. Warning:
-   do not disable this flag unless installing on a 
headless server.
-   
-   
-   Build support for profiling and tracing using
-   dev-util/systemtap
-   
-   
-   Enable profiling data capture support using
-   dev-util/sysprof-capture
-   
-   
-   Install gtester-report utility to generate test
-   report files for your software; build gresource utility 
with
-   ELF support.
-   
-   
-   
-   cpe:/a:gnome:glib
-   
+  
+gn...@gentoo.org
+Gentoo GNOME Desktop
+  
+  
+
+  Enable dependencies required by glib libraries
+  using dbus service to manage settings saving
+
+
+  Enable support for listing and extracting from
+  ELF resource files with gresource tool
+
+
+  Pull in shared MIME database that many glib-based
+  applications require at runtime to detect or open files. Warning:
+  do not disable this flag unless installing on a headless server.
+
+
+  Build support for profiling and tracing using
+  dev-util/systemtap
+
+
+  Enable profiling data capture support using
+  dev-util/sysprof-capture
+
+
+  Install gtester-report utility to generate test
+  report files for your software; build gresource utility with
+  ELF support.
+
+  
+  
+cpe:/a:gnome:glib
+GNOME/glib
+  
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/

2022-10-25 Thread Matt Turner
commit: 64d79a69ad3c604a2dd66b1e77707e09575701c1
Author: Guillermo Joandet  gmail  com>
AuthorDate: Tue Oct 25 14:19:00 2022 +
Commit: Matt Turner  gentoo  org>
CommitDate: Tue Oct 25 15:25:02 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64d79a69

dev-libs/glib: Version bump to 2.74.1

Signed-off-by: Guillermo Joandet  gmail.com>
Signed-off-by: Matt Turner  gentoo.org>

 dev-libs/glib/Manifest   |   1 +
 dev-libs/glib/glib-2.74.1.ebuild | 287 +++
 2 files changed, 288 insertions(+)

diff --git a/dev-libs/glib/Manifest b/dev-libs/glib/Manifest
index 4774c58c55b9..8714876d6404 100644
--- a/dev-libs/glib/Manifest
+++ b/dev-libs/glib/Manifest
@@ -1,2 +1,3 @@
 DIST glib-2.72.3.tar.xz 4893484 BLAKE2B 
1360c887b07ede3de3a7d31589f3dfc07ada2fe3e7901d3f30048ab9a1379357753ae142c6c107b3fcd6dd61e1401fbe6db22f0e89ea617db2c1073f1900cbe6
 SHA512 
8834ab7498577c2f659d135b87c27b34e1157be27f6c1fe5af0d64a94654f78cbe6a87e6868966849674c34e88a9d51d2de8d89f78f86aa1e1af3482761f0638
 DIST glib-2.74.0.tar.xz 5183072 BLAKE2B 
b21e5a72e2ce3390cbf13601aa902104f1ac1cfbd75181d30cd340f24b5875753f898b229f99c71d47d499be86cddb0191a0072c0c2decc82956a46c16255905
 SHA512 
5cdadd2f4568c0c3d45083b4d39699abf651e42e020f7bc880cce3ff33d28943118388d17a0632777e843f48009c1f97d5634fde3cb8c69c7c7f35b278ac8225
+DIST glib-2.74.1.tar.xz 5189452 BLAKE2B 
58d977a5d2a100aa9125f2009ae66c6f27232dff70159433076552bdb64f9a6a93d7cb705feba890ee43d6f16d4766f6f1d5502c2e01eeb7e88d5ed0dd205d5c
 SHA512 
21176cb95fcab49a781d02789bf21191a96a34a6391f066699b3c20b414b3169c958bd86623deb34ca55912083862885f7a7d12b67cc041467da2ba94d9e83c3

diff --git a/dev-libs/glib/glib-2.74.1.ebuild b/dev-libs/glib/glib-2.74.1.ebuild
new file mode 100644
index ..de789c752115
--- /dev/null
+++ b/dev-libs/glib/glib-2.74.1.ebuild
@@ -0,0 +1,287 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_REQ_USE="xml(+)"
+PYTHON_COMPAT=( python3_{8..11} )
+
+inherit flag-o-matic gnome.org gnome2-utils linux-info meson-multilib multilib 
python-any-r1 toolchain-funcs xdg
+
+DESCRIPTION="The GLib library of C routines"
+HOMEPAGE="https://www.gtk.org/;
+
+LICENSE="LGPL-2.1+"
+SLOT="2"
+IUSE="dbus debug +elf gtk-doc +mime selinux static-libs sysprof systemtap test 
utils xattr"
+RESTRICT="!test? ( test )"
+#REQUIRED_USE="gtk-doc? ( test )" # Bug #777636
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+
+# * elfutils (via libelf) does not build on Windows. gresources are not 
embedded
+# within ELF binaries on that platform anyway and inspecting ELF binaries from
+# other platforms is not that useful so exclude the dependency in this case.
+# * Technically static-libs is needed on zlib, util-linux and perhaps more, but
+# these are used by GIO, which glib[static-libs] consumers don't really seem
+# to need at all, thus not imposing the deps for now and once some consumers
+# are actually found to static link libgio-2.0.a, we can revisit and either add
+# them or just put the (build) deps in that rare consumer instead of recursive
+# RDEPEND here (due to lack of recursive DEPEND).
+RDEPEND="
+   !=virtual/libiconv-0-r1[${MULTILIB_USEDEP}]
+   >=dev-libs/libpcre2-10.32:0=[${MULTILIB_USEDEP},static-libs?]
+   >=dev-libs/libffi-3.0.13-r1:=[${MULTILIB_USEDEP}]
+   >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]
+   >=virtual/libintl-0-r2[${MULTILIB_USEDEP}]
+   kernel_linux? ( >=sys-apps/util-linux-2.23[${MULTILIB_USEDEP}] )
+   selinux? ( >=sys-libs/libselinux-2.2.2-r5[${MULTILIB_USEDEP}] )
+   xattr? ( !elibc_glibc? ( >=sys-apps/attr-2.4.47-r1[${MULTILIB_USEDEP}] 
) )
+   elf? ( virtual/libelf:0= )
+   sysprof? ( >=dev-util/sysprof-capture-3.40.1:4[${MULTILIB_USEDEP}] )
+"
+DEPEND="${RDEPEND}"
+# libxml2 used for optional tests that get automatically skipped
+BDEPEND="
+   app-text/docbook-xsl-stylesheets
+   dev-libs/libxslt
+   >=sys-devel/gettext-0.19.8
+   gtk-doc? ( >=dev-util/gtk-doc-1.33
+   app-text/docbook-xml-dtd:4.2
+   app-text/docbook-xml-dtd:4.5 )
+   systemtap? ( >=dev-util/systemtap-1.3 )
+   ${PYTHON_DEPS}
+   test? ( >=sys-apps/dbus-1.2.14 )
+   virtual/pkgconfig
+"
+# TODO: >=dev-util/gdbus-codegen-${PV} test dep once we modify 
gio/tests/meson.build to use external gdbus-codegen
+
+PDEPEND="
+   dbus? ( gnome-base/dconf )
+   mime? ( x11-misc/shared-mime-info )
+"
+# shared-mime-info needed for gio/xdgmime, bug #409481
+# dconf is needed to be able to save settings, bug #498436
+
+MULTILIB_CHOST_TOOLS=(
+   /usr/bin/gio-querymodules$(get_exeext)
+)
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-2.74.0-crash-gparamspec.patch
+)
+
+pkg_setup() {
+   if use kernel_linux ; then
+   CONFIG_CHECK="~INOTIFY_USER"
+   if 

[gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/, dev-libs/glib/files/

2022-09-27 Thread Sam James
commit: 0a9a261cfe28fd20a512dfeb705b9fb4a5b3dbc2
Author: Sam James  gentoo  org>
AuthorDate: Tue Sep 27 18:16:09 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Sep 27 18:16:54 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a9a261c

dev-libs/glib: backport crash fix

As requested by e.g. GIMP maintainers
at https://twitter.com/zemarmot/status/1574362564015841281.

Signed-off-by: Sam James  gentoo.org>

 .../glib/files/glib-2.74.0-crash-gparamspec.patch  |  27 ++
 dev-libs/glib/glib-2.74.0-r1.ebuild| 289 +
 2 files changed, 316 insertions(+)

diff --git a/dev-libs/glib/files/glib-2.74.0-crash-gparamspec.patch 
b/dev-libs/glib/files/glib-2.74.0-crash-gparamspec.patch
new file mode 100644
index ..84edcde4189d
--- /dev/null
+++ b/dev-libs/glib/files/glib-2.74.0-crash-gparamspec.patch
@@ -0,0 +1,27 @@
+https://gitlab.gnome.org/GNOME/glib/-/commit/ea3f17d598d550345e94e4571130e429443e91cb
+https://gitlab.gnome.org/GNOME/glib/-/issues/2770
+
+From: Emmanuele Bassi 
+Date: Sun, 25 Sep 2022 14:20:24 +0100
+Subject: [PATCH] Empty values are not valid GParamSpec
+
+The validate() vfunc for GParamSpecParam returns FALSE for empty GValue,
+which means the is_valid() vfunc should do the same.
+
+This avoids a segfault when calling g_param_value_is_valid() on a
+GParamSpecParam.
+
+Fixes: #2770
+--- a/gobject/gparamspecs.c
 b/gobject/gparamspecs.c
+@@ -894,6 +894,9 @@ param_param_is_valid (GParamSpec   *pspec,
+ {
+   GParamSpec *param = value->data[0].v_pointer;
+ 
++  if (param == NULL)
++return FALSE;
++
+   return g_value_type_compatible (G_PARAM_SPEC_TYPE (param), 
G_PARAM_SPEC_VALUE_TYPE (pspec));
+ }
+ 
+GitLab

diff --git a/dev-libs/glib/glib-2.74.0-r1.ebuild 
b/dev-libs/glib/glib-2.74.0-r1.ebuild
new file mode 100644
index ..9c91688a8c0a
--- /dev/null
+++ b/dev-libs/glib/glib-2.74.0-r1.ebuild
@@ -0,0 +1,289 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_REQ_USE="xml(+)"
+PYTHON_COMPAT=( python3_{8..11} )
+
+inherit flag-o-matic gnome.org gnome2-utils linux-info meson-multilib multilib 
python-any-r1 toolchain-funcs xdg
+
+DESCRIPTION="The GLib library of C routines"
+HOMEPAGE="https://www.gtk.org/;
+
+LICENSE="LGPL-2.1+"
+SLOT="2"
+IUSE="dbus debug +elf gtk-doc +mime selinux static-libs sysprof systemtap test 
utils xattr"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="gtk-doc? ( test )" # Bug #777636
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+
+# * elfutils (via libelf) does not build on Windows. gresources are not 
embedded
+# within ELF binaries on that platform anyway and inspecting ELF binaries from
+# other platforms is not that useful so exclude the dependency in this case.
+# * Technically static-libs is needed on zlib, util-linux and perhaps more, but
+# these are used by GIO, which glib[static-libs] consumers don't really seem
+# to need at all, thus not imposing the deps for now and once some consumers
+# are actually found to static link libgio-2.0.a, we can revisit and either add
+# them or just put the (build) deps in that rare consumer instead of recursive
+# RDEPEND here (due to lack of recursive DEPEND).
+RDEPEND="
+   !=virtual/libiconv-0-r1[${MULTILIB_USEDEP}]
+   >=dev-libs/libpcre2-10.32:0=[${MULTILIB_USEDEP},static-libs?]
+   >=dev-libs/libffi-3.0.13-r1:=[${MULTILIB_USEDEP}]
+   >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]
+   >=virtual/libintl-0-r2[${MULTILIB_USEDEP}]
+   kernel_linux? ( >=sys-apps/util-linux-2.23[${MULTILIB_USEDEP}] )
+   selinux? ( >=sys-libs/libselinux-2.2.2-r5[${MULTILIB_USEDEP}] )
+   xattr? ( !elibc_glibc? ( >=sys-apps/attr-2.4.47-r1[${MULTILIB_USEDEP}] 
) )
+   elf? ( virtual/libelf:0= )
+   sysprof? ( >=dev-util/sysprof-capture-3.40.1:4[${MULTILIB_USEDEP}] )
+"
+DEPEND="${RDEPEND}"
+# libxml2 used for optional tests that get automatically skipped
+BDEPEND="
+   app-text/docbook-xsl-stylesheets
+   dev-libs/libxslt
+   >=sys-devel/gettext-0.19.8
+   gtk-doc? ( >=dev-util/gtk-doc-1.33
+   app-text/docbook-xml-dtd:4.2
+   app-text/docbook-xml-dtd:4.5 )
+   systemtap? ( >=dev-util/systemtap-1.3 )
+   ${PYTHON_DEPS}
+   test? ( >=sys-apps/dbus-1.2.14 )
+   virtual/pkgconfig
+"
+# TODO: >=dev-util/gdbus-codegen-${PV} test dep once we modify 
gio/tests/meson.build to use external gdbus-codegen
+
+PDEPEND="
+   dbus? ( gnome-base/dconf )
+   mime? ( x11-misc/shared-mime-info )
+"
+# shared-mime-info needed for gio/xdgmime, bug #409481
+# dconf is needed to be able to save settings, bug #498436
+
+MULTILIB_CHOST_TOOLS=(
+   /usr/bin/gio-querymodules$(get_exeext)
+)
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-2.64.1-mark-gdbus-server-auth-test-flaky.patch
+   

[gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/files/, dev-libs/glib/

2022-09-21 Thread Sam James
commit: bab72b72ddea0be05aa764df10093086e01cbc13
Author: Sam James  gentoo  org>
AuthorDate: Thu Sep 22 04:13:25 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Sep 22 04:13:25 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bab72b72

dev-libs/glib: fix build w/ Clang

Closes: https://bugs.gentoo.org/871174
Signed-off-by: Sam James  gentoo.org>

 dev-libs/glib/files/glib-2.74.0-clang-build.patch | 26 +++
 dev-libs/glib/glib-2.74.0.ebuild  |  1 +
 2 files changed, 27 insertions(+)

diff --git a/dev-libs/glib/files/glib-2.74.0-clang-build.patch 
b/dev-libs/glib/files/glib-2.74.0-clang-build.patch
new file mode 100644
index ..23bb0630d028
--- /dev/null
+++ b/dev-libs/glib/files/glib-2.74.0-clang-build.patch
@@ -0,0 +1,26 @@
+https://gitlab.gnome.org/GNOME/glib/-/commit/37dba1c425f6c3254e9ce72f1c4b7d0f95c2be3e
+https://bugs.gentoo.org/871174
+
+From: Kjell Ahlstedt 
+Date: Thu, 15 Sep 2022 12:55:18 +0200
+Subject: [PATCH] gio-launch-desktop: Fix the G_STATIC_ASSERT expressions for
+ clang
+
+The clang compiler requires the static_assert expression to be an integral
+constant expression. `"text"` is not, but `sizeof "text"` is.
+
+Fixes #2740
+--- a/gio/gio-launch-desktop.c
 b/gio/gio-launch-desktop.c
+@@ -121,8 +121,8 @@ journal_stream_fd (const char *identifier,
+   /* Arbitrary large size for the sending buffer, from systemd */
+   int large_buffer_size = 8 * 1024 * 1024;
+ 
+-  G_STATIC_ASSERT (LOG_EMERG == 0 && "Linux ABI defines LOG_EMERG");
+-  G_STATIC_ASSERT (LOG_DEBUG == 7 && "Linux ABI defines LOG_DEBUG");
++  G_STATIC_ASSERT (LOG_EMERG == 0 && sizeof "Linux ABI defines LOG_EMERG");
++  G_STATIC_ASSERT (LOG_DEBUG == 7 && sizeof "Linux ABI defines LOG_DEBUG");
+ 
+   fd = socket (AF_UNIX, SOCK_STREAM | SOCK_CLOEXEC, 0);
+ 
+GitLab

diff --git a/dev-libs/glib/glib-2.74.0.ebuild b/dev-libs/glib/glib-2.74.0.ebuild
index db17ff43554c..2afacc7da2a4 100644
--- a/dev-libs/glib/glib-2.74.0.ebuild
+++ b/dev-libs/glib/glib-2.74.0.ebuild
@@ -69,6 +69,7 @@ MULTILIB_CHOST_TOOLS=(
 
 PATCHES=(
"${FILESDIR}"/${PN}-2.64.1-mark-gdbus-server-auth-test-flaky.patch
+   "${FILESDIR}"/${P}-clang-build.patch
 )
 
 pkg_setup() {



[gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/

2022-09-17 Thread Matt Turner
commit: b14f20774b61952eb9b2473c7513de79348bd823
Author: Matt Turner  gentoo  org>
AuthorDate: Sun Sep 18 04:26:44 2022 +
Commit: Matt Turner  gentoo  org>
CommitDate: Sun Sep 18 04:32:38 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b14f2077

dev-libs/glib: Version bump to 2.74.0

Signed-off-by: Matt Turner  gentoo.org>

 dev-libs/glib/Manifest   |   1 +
 dev-libs/glib/glib-2.74.0.ebuild | 287 +++
 2 files changed, 288 insertions(+)

diff --git a/dev-libs/glib/Manifest b/dev-libs/glib/Manifest
index 95e472e8decc..4774c58c55b9 100644
--- a/dev-libs/glib/Manifest
+++ b/dev-libs/glib/Manifest
@@ -1 +1,2 @@
 DIST glib-2.72.3.tar.xz 4893484 BLAKE2B 
1360c887b07ede3de3a7d31589f3dfc07ada2fe3e7901d3f30048ab9a1379357753ae142c6c107b3fcd6dd61e1401fbe6db22f0e89ea617db2c1073f1900cbe6
 SHA512 
8834ab7498577c2f659d135b87c27b34e1157be27f6c1fe5af0d64a94654f78cbe6a87e6868966849674c34e88a9d51d2de8d89f78f86aa1e1af3482761f0638
+DIST glib-2.74.0.tar.xz 5183072 BLAKE2B 
b21e5a72e2ce3390cbf13601aa902104f1ac1cfbd75181d30cd340f24b5875753f898b229f99c71d47d499be86cddb0191a0072c0c2decc82956a46c16255905
 SHA512 
5cdadd2f4568c0c3d45083b4d39699abf651e42e020f7bc880cce3ff33d28943118388d17a0632777e843f48009c1f97d5634fde3cb8c69c7c7f35b278ac8225

diff --git a/dev-libs/glib/glib-2.74.0.ebuild b/dev-libs/glib/glib-2.74.0.ebuild
new file mode 100644
index ..db17ff43554c
--- /dev/null
+++ b/dev-libs/glib/glib-2.74.0.ebuild
@@ -0,0 +1,287 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_REQ_USE="xml(+)"
+PYTHON_COMPAT=( python3_{8..11} )
+
+inherit flag-o-matic gnome.org gnome2-utils linux-info meson-multilib multilib 
python-any-r1 toolchain-funcs xdg
+
+DESCRIPTION="The GLib library of C routines"
+HOMEPAGE="https://www.gtk.org/;
+
+LICENSE="LGPL-2.1+"
+SLOT="2"
+IUSE="dbus debug +elf gtk-doc +mime selinux static-libs sysprof systemtap test 
utils xattr"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="gtk-doc? ( test )" # Bug #777636
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+
+# * elfutils (via libelf) does not build on Windows. gresources are not 
embedded
+# within ELF binaries on that platform anyway and inspecting ELF binaries from
+# other platforms is not that useful so exclude the dependency in this case.
+# * Technically static-libs is needed on zlib, util-linux and perhaps more, but
+# these are used by GIO, which glib[static-libs] consumers don't really seem
+# to need at all, thus not imposing the deps for now and once some consumers
+# are actually found to static link libgio-2.0.a, we can revisit and either add
+# them or just put the (build) deps in that rare consumer instead of recursive
+# RDEPEND here (due to lack of recursive DEPEND).
+RDEPEND="
+   !=virtual/libiconv-0-r1[${MULTILIB_USEDEP}]
+   >=dev-libs/libpcre2-10.32:0=[${MULTILIB_USEDEP},static-libs?]
+   >=dev-libs/libffi-3.0.13-r1:=[${MULTILIB_USEDEP}]
+   >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]
+   >=virtual/libintl-0-r2[${MULTILIB_USEDEP}]
+   kernel_linux? ( >=sys-apps/util-linux-2.23[${MULTILIB_USEDEP}] )
+   selinux? ( >=sys-libs/libselinux-2.2.2-r5[${MULTILIB_USEDEP}] )
+   xattr? ( !elibc_glibc? ( >=sys-apps/attr-2.4.47-r1[${MULTILIB_USEDEP}] 
) )
+   elf? ( virtual/libelf:0= )
+   sysprof? ( >=dev-util/sysprof-capture-3.40.1:4[${MULTILIB_USEDEP}] )
+"
+DEPEND="${RDEPEND}"
+# libxml2 used for optional tests that get automatically skipped
+BDEPEND="
+   app-text/docbook-xsl-stylesheets
+   dev-libs/libxslt
+   >=sys-devel/gettext-0.19.8
+   gtk-doc? ( >=dev-util/gtk-doc-1.33
+   app-text/docbook-xml-dtd:4.2
+   app-text/docbook-xml-dtd:4.5 )
+   systemtap? ( >=dev-util/systemtap-1.3 )
+   ${PYTHON_DEPS}
+   test? ( >=sys-apps/dbus-1.2.14 )
+   virtual/pkgconfig
+"
+# TODO: >=dev-util/gdbus-codegen-${PV} test dep once we modify 
gio/tests/meson.build to use external gdbus-codegen
+
+PDEPEND="
+   dbus? ( gnome-base/dconf )
+   mime? ( x11-misc/shared-mime-info )
+"
+# shared-mime-info needed for gio/xdgmime, bug #409481
+# dconf is needed to be able to save settings, bug #498436
+
+MULTILIB_CHOST_TOOLS=(
+   /usr/bin/gio-querymodules$(get_exeext)
+)
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-2.64.1-mark-gdbus-server-auth-test-flaky.patch
+)
+
+pkg_setup() {
+   if use kernel_linux ; then
+   CONFIG_CHECK="~INOTIFY_USER"
+   if use test ; then
+   CONFIG_CHECK="~IPV6"
+   WARNING_IPV6="Your kernel needs IPV6 support for 
running some tests, skipping them."
+   fi
+   linux-info_pkg_setup
+   fi
+   python-any-r1_pkg_setup
+}
+
+src_prepare() {
+   if use test; then
+   # TODO: 

[gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/

2022-08-16 Thread Arthur Zamarin
commit: d09464835522fff6c7773929b3e1c8a5980bebec
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Wed Aug 17 05:56:44 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Wed Aug 17 05:56:44 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0946483

dev-libs/glib: Stabilize 2.72.3 hppa, #861029

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/glib/glib-2.72.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/glib/glib-2.72.3.ebuild b/dev-libs/glib/glib-2.72.3.ebuild
index 3b523026c71b..68cfcda45393 100644
--- a/dev-libs/glib/glib-2.72.3.ebuild
+++ b/dev-libs/glib/glib-2.72.3.ebuild
@@ -16,7 +16,7 @@ IUSE="dbus debug +elf fam gtk-doc +mime selinux static-libs 
sysprof systemtap te
 RESTRICT="!test? ( test )"
 REQUIRED_USE="gtk-doc? ( test )" # Bug #777636
 
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux"
 
 # * elfutils (via libelf) does not build on Windows. gresources are not 
embedded
 # within ELF binaries on that platform anyway and inspecting ELF binaries from



[gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/

2022-08-15 Thread Arthur Zamarin
commit: 89c5c8c0c7f87d70e545b93d4a592d398eaaec39
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Mon Aug 15 19:12:38 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Mon Aug 15 19:12:38 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89c5c8c0

dev-libs/glib: Stabilize 2.72.3 ppc64, #861029

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/glib/glib-2.72.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/glib/glib-2.72.3.ebuild b/dev-libs/glib/glib-2.72.3.ebuild
index 60e0b601d05d..3b523026c71b 100644
--- a/dev-libs/glib/glib-2.72.3.ebuild
+++ b/dev-libs/glib/glib-2.72.3.ebuild
@@ -16,7 +16,7 @@ IUSE="dbus debug +elf fam gtk-doc +mime selinux static-libs 
sysprof systemtap te
 RESTRICT="!test? ( test )"
 REQUIRED_USE="gtk-doc? ( test )" # Bug #777636
 
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ~ppc64 
~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux"
 
 # * elfutils (via libelf) does not build on Windows. gresources are not 
embedded
 # within ELF binaries on that platform anyway and inspecting ELF binaries from



  1   2   3   4   >