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

2024-09-10 Thread Sam James
commit: 8169ebbc4e6894a4f5ca3bf9d666baa04014ce33
Author: Sam James  gentoo  org>
AuthorDate: Wed Sep 11 00:07:23 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Sep 11 00:07:23 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8169ebbc

dev-libs/glib: fix systemtap has_version check

Bug: https://bugs.gentoo.org/938302
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 +-
 dev-libs/glib/glib-2.78.6.ebuild| 2 +-
 dev-libs/glib/glib-2.80.4.ebuild| 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/dev-libs/glib/glib-2.76.4.ebuild b/dev-libs/glib/glib-2.76.4.ebuild
index 52b264f3f701..9f9236bbcf7e 100644
--- a/dev-libs/glib/glib-2.76.4.ebuild
+++ b/dev-libs/glib/glib-2.76.4.ebuild
@@ -199,7 +199,7 @@ multilib_src_configure() {
)
 
# Workaround for bug #938302
-   if use systemtap && ! has_version 
"dev-debug/systemtap[dtrace-symlink(-)]" ; then
+   if use systemtap && has_version 
"dev-debug/systemtap[-dtrace-symlink(+)]" ; then
local native_file="${T}"/meson.${CHOST}.ini.local
cat >> ${native_file} <<-EOF || die
[binaries]

diff --git a/dev-libs/glib/glib-2.78.3.ebuild b/dev-libs/glib/glib-2.78.3.ebuild
index 52b264f3f701..9f9236bbcf7e 100644
--- a/dev-libs/glib/glib-2.78.3.ebuild
+++ b/dev-libs/glib/glib-2.78.3.ebuild
@@ -199,7 +199,7 @@ multilib_src_configure() {
)
 
# Workaround for bug #938302
-   if use systemtap && ! has_version 
"dev-debug/systemtap[dtrace-symlink(-)]" ; then
+   if use systemtap && has_version 
"dev-debug/systemtap[-dtrace-symlink(+)]" ; then
local native_file="${T}"/meson.${CHOST}.ini.local
cat >> ${native_file} <<-EOF || die
[binaries]

diff --git a/dev-libs/glib/glib-2.78.4-r1.ebuild 
b/dev-libs/glib/glib-2.78.4-r1.ebuild
index 6ae0c3800fd5..6155dc22b039 100644
--- a/dev-libs/glib/glib-2.78.4-r1.ebuild
+++ b/dev-libs/glib/glib-2.78.4-r1.ebuild
@@ -208,7 +208,7 @@ multilib_src_configure() {
)
 
# Workaround for bug #938302
-   if use systemtap && ! has_version 
"dev-debug/systemtap[dtrace-symlink(-)]" ; then
+   if use systemtap && has_version 
"dev-debug/systemtap[-dtrace-symlink(+)]" ; then
local native_file="${T}"/meson.${CHOST}.ini.local
cat >> ${native_file} <<-EOF || die
[binaries]

diff --git a/dev-libs/glib/glib-2.78.6.ebuild b/dev-libs/glib/glib-2.78.6.ebuild
index 004b9796f159..084d5059aa14 100644
--- a/dev-libs/glib/glib-2.78.6.ebuild
+++ b/dev-libs/glib/glib-2.78.6.ebuild
@@ -207,7 +207,7 @@ multilib_src_configure() {
)
 
# Workaround for bug #938302
-   if use systemtap && ! has_version 
"dev-debug/systemtap[dtrace-symlink(-)]" ; then
+   if use systemtap && has_version 
"dev-debug/systemtap[-dtrace-symlink(+)]" ; then
local native_file="${T}"/meson.${CHOST}.ini.local
cat >> ${native_file} <<-EOF || die
[binaries]

diff --git a/dev-libs/glib/glib-2.80.4.ebuild b/dev-libs/glib/glib-2.80.4.ebuild
index 79fbaf94dbc0..e67299e0d365 100644
--- a/dev-libs/glib/glib-2.80.4.ebuild
+++ b/dev-libs/glib/glib-2.80.4.ebuild
@@ -208,7 +208,7 @@ multilib_src_configure() {
)
 
# Workaround for bug #938302
-   if use systemtap && ! has_version 
"dev-debug/systemtap[dtrace-symlink(-)]" ; then
+   if use systemtap && has_version 
"dev-debug/systemtap[-dtrace-symlink(+)]" ; then
local native_file="${T}"/meson.${CHOST}.ini.local
cat >> ${native_file} <<-EOF || die
[binaries]



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

2024-08-31 Thread Joonas Niilola
commit: e0d489eeab243a77861cd19266d7e6869e833f5f
Author: Paul Zander  gmail  com>
AuthorDate: Sat Aug 31 13:20:13 2024 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sat Aug 31 13:47:55 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0d489ee

dev-libs/glib: only pass --native-file when we actually use it.

Closes: https://bugs.gentoo.org/938822
Signed-off-by: Paul Zander  gmail.com>
Signed-off-by: Joonas Niilola  gentoo.org>

 dev-libs/glib/glib-2.76.4.ebuild| 21 +++--
 dev-libs/glib/glib-2.78.3.ebuild| 21 +++--
 dev-libs/glib/glib-2.78.4-r1.ebuild | 21 +++--
 dev-libs/glib/glib-2.78.6.ebuild| 25 +++--
 dev-libs/glib/glib-2.80.4.ebuild| 21 +++--
 5 files changed, 55 insertions(+), 54 deletions(-)

diff --git a/dev-libs/glib/glib-2.76.4.ebuild b/dev-libs/glib/glib-2.76.4.ebuild
index f296a348fdf3..52b264f3f701 100644
--- a/dev-libs/glib/glib-2.76.4.ebuild
+++ b/dev-libs/glib/glib-2.76.4.ebuild
@@ -178,17 +178,7 @@ multilib_src_configure() {
#esac
#fi
 
-   local native_file="${T}"/meson.${CHOST}.ini.local
-   # Workaround for bug #938302
-   if use systemtap && ! has_version 
"dev-debug/systemtap[dtrace-symlink(-)]" ; then
-   cat >> ${native_file} <<-EOF || die
-   [binaries]
-   dtrace='stap-dtrace'
-   EOF
-   fi
-
local emesonargs=(
-   --native-file "${native_file}"
-Dbuildtype=$(usex debug debug plain)
-Ddefault_library=$(usex static-libs both shared)
-Druntime_dir="${EPREFIX}"/run
@@ -207,6 +197,17 @@ multilib_src_configure() {
$(meson_native_use_feature elf libelf)
-Dmultiarch=false
)
+
+   # Workaround for bug #938302
+   if use systemtap && ! has_version 
"dev-debug/systemtap[dtrace-symlink(-)]" ; then
+   local native_file="${T}"/meson.${CHOST}.ini.local
+   cat >> ${native_file} <<-EOF || die
+   [binaries]
+   dtrace='stap-dtrace'
+   EOF
+   emesonargs+=( --native-file "${native_file}" )
+   fi
+
meson_src_configure
 }
 

diff --git a/dev-libs/glib/glib-2.78.3.ebuild b/dev-libs/glib/glib-2.78.3.ebuild
index f296a348fdf3..52b264f3f701 100644
--- a/dev-libs/glib/glib-2.78.3.ebuild
+++ b/dev-libs/glib/glib-2.78.3.ebuild
@@ -178,17 +178,7 @@ multilib_src_configure() {
#esac
#fi
 
-   local native_file="${T}"/meson.${CHOST}.ini.local
-   # Workaround for bug #938302
-   if use systemtap && ! has_version 
"dev-debug/systemtap[dtrace-symlink(-)]" ; then
-   cat >> ${native_file} <<-EOF || die
-   [binaries]
-   dtrace='stap-dtrace'
-   EOF
-   fi
-
local emesonargs=(
-   --native-file "${native_file}"
-Dbuildtype=$(usex debug debug plain)
-Ddefault_library=$(usex static-libs both shared)
-Druntime_dir="${EPREFIX}"/run
@@ -207,6 +197,17 @@ multilib_src_configure() {
$(meson_native_use_feature elf libelf)
-Dmultiarch=false
)
+
+   # Workaround for bug #938302
+   if use systemtap && ! has_version 
"dev-debug/systemtap[dtrace-symlink(-)]" ; then
+   local native_file="${T}"/meson.${CHOST}.ini.local
+   cat >> ${native_file} <<-EOF || die
+   [binaries]
+   dtrace='stap-dtrace'
+   EOF
+   emesonargs+=( --native-file "${native_file}" )
+   fi
+
meson_src_configure
 }
 

diff --git a/dev-libs/glib/glib-2.78.4-r1.ebuild 
b/dev-libs/glib/glib-2.78.4-r1.ebuild
index 07caf94eb0dc..6ae0c3800fd5 100644
--- a/dev-libs/glib/glib-2.78.4-r1.ebuild
+++ b/dev-libs/glib/glib-2.78.4-r1.ebuild
@@ -187,17 +187,7 @@ multilib_src_configure() {
#esac
#fi
 
-   local native_file="${T}"/meson.${CHOST}.ini.local
-   # Workaround for bug #938302
-   if use systemtap && ! has_version 
"dev-debug/systemtap[dtrace-symlink(-)]" ; then
-   cat >> ${native_file} <<-EOF || die
-   [binaries]
-   dtrace='stap-dtrace'
-   EOF
-   fi
-
local emesonargs=(
-   --native-file "${native_file}"
$(meson_feature debug glib_debug)
-Ddefault_library=$(usex static-libs both shared)
-Druntime_dir="${EPREFIX}"/run
@@ -216,6 +206,17 @@ multilib_src_configure() {
$(meson_native_use_feature elf libelf)
-Dmultiarch=false
)
+
+   # Workaround for bug #938302
+   if use systemtap && ! has_version 
"dev-debug/systemtap[dtrace-symlink(-)]" ; then
+   local native_file="${T}"/meson.${CHOST}.ini.local
+   cat >> ${native_file

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

2024-08-31 Thread Joonas Niilola
commit: 6e4dadc75419735eab877fe8ac7b18c5b0823641
Author: Joonas Niilola  gentoo  org>
AuthorDate: Sat Aug 31 13:46:50 2024 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sat Aug 31 13:47:55 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e4dadc7

Revert "dev-libs/glib: Add meson.${CHOST}.ini.local file in src_pr...

This reverts commit 32e91ca4f405d15a16302661c51607e0633c5606.

Better fix inc.

Signed-off-by: Joonas Niilola  gentoo.org>

 dev-libs/glib/glib-2.76.4.ebuild| 4 
 dev-libs/glib/glib-2.78.3.ebuild| 4 
 dev-libs/glib/glib-2.78.4-r1.ebuild | 4 
 dev-libs/glib/glib-2.80.4.ebuild| 4 
 4 files changed, 16 deletions(-)

diff --git a/dev-libs/glib/glib-2.76.4.ebuild b/dev-libs/glib/glib-2.76.4.ebuild
index dd3a7396a11c..f296a348fdf3 100644
--- a/dev-libs/glib/glib-2.76.4.ebuild
+++ b/dev-libs/glib/glib-2.76.4.ebuild
@@ -160,10 +160,6 @@ src_prepare() {
-e '/AvailabilityMacros.h/d' \
gio/giomodule.c || die
 
-   # Add meson.${CHOST}.ini.local file that the build system expects to 
find,
-   # #938822
-   touch "${T}/meson.${CHOST}.ini.local" || die
-
default
gnome2_environment_reset
# TODO: python_name sedding for correct python shebang? Might be 
relevant mainly for glib-utils only

diff --git a/dev-libs/glib/glib-2.78.3.ebuild b/dev-libs/glib/glib-2.78.3.ebuild
index dd3a7396a11c..f296a348fdf3 100644
--- a/dev-libs/glib/glib-2.78.3.ebuild
+++ b/dev-libs/glib/glib-2.78.3.ebuild
@@ -160,10 +160,6 @@ src_prepare() {
-e '/AvailabilityMacros.h/d' \
gio/giomodule.c || die
 
-   # Add meson.${CHOST}.ini.local file that the build system expects to 
find,
-   # #938822
-   touch "${T}/meson.${CHOST}.ini.local" || die
-
default
gnome2_environment_reset
# TODO: python_name sedding for correct python shebang? Might be 
relevant mainly for glib-utils only

diff --git a/dev-libs/glib/glib-2.78.4-r1.ebuild 
b/dev-libs/glib/glib-2.78.4-r1.ebuild
index 32e9ebcc49cb..07caf94eb0dc 100644
--- a/dev-libs/glib/glib-2.78.4-r1.ebuild
+++ b/dev-libs/glib/glib-2.78.4-r1.ebuild
@@ -169,10 +169,6 @@ src_prepare() {
-e '/AvailabilityMacros.h/d' \
gio/giomodule.c || die
 
-   # Add meson.${CHOST}.ini.local file that the build system expects to 
find,
-   # #938822
-   touch "${T}/meson.${CHOST}.ini.local" || die
-
default
gnome2_environment_reset
# TODO: python_name sedding for correct python shebang? Might be 
relevant mainly for glib-utils only

diff --git a/dev-libs/glib/glib-2.80.4.ebuild b/dev-libs/glib/glib-2.80.4.ebuild
index 2a2b36c886f8..2d87ba9d7a69 100644
--- a/dev-libs/glib/glib-2.80.4.ebuild
+++ b/dev-libs/glib/glib-2.80.4.ebuild
@@ -167,10 +167,6 @@ src_prepare() {
-e '/AvailabilityMacros.h/d' \
gio/giomodule.c || die
 
-   # Add meson.${CHOST}.ini.local file that the build system expects to 
find,
-   # #938822
-   touch "${T}/meson.${CHOST}.ini.local" || 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/

2024-08-31 Thread Joonas Niilola
commit: 32e91ca4f405d15a16302661c51607e0633c5606
Author: Joonas Niilola  gentoo  org>
AuthorDate: Sat Aug 31 13:17:14 2024 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sat Aug 31 13:18:11 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32e91ca4

dev-libs/glib: Add meson.${CHOST}.ini.local file in src_prepare

 - expected by the build system.

Signed-off-by: Joonas Niilola  gentoo.org>

 dev-libs/glib/glib-2.76.4.ebuild| 4 
 dev-libs/glib/glib-2.78.3.ebuild| 4 
 dev-libs/glib/glib-2.78.4-r1.ebuild | 4 
 dev-libs/glib/glib-2.80.4.ebuild| 4 
 4 files changed, 16 insertions(+)

diff --git a/dev-libs/glib/glib-2.76.4.ebuild b/dev-libs/glib/glib-2.76.4.ebuild
index f296a348fdf3..dd3a7396a11c 100644
--- a/dev-libs/glib/glib-2.76.4.ebuild
+++ b/dev-libs/glib/glib-2.76.4.ebuild
@@ -160,6 +160,10 @@ src_prepare() {
-e '/AvailabilityMacros.h/d' \
gio/giomodule.c || die
 
+   # Add meson.${CHOST}.ini.local file that the build system expects to 
find,
+   # #938822
+   touch "${T}/meson.${CHOST}.ini.local" || die
+
default
gnome2_environment_reset
# TODO: python_name sedding for correct python shebang? Might be 
relevant mainly for glib-utils only

diff --git a/dev-libs/glib/glib-2.78.3.ebuild b/dev-libs/glib/glib-2.78.3.ebuild
index f296a348fdf3..dd3a7396a11c 100644
--- a/dev-libs/glib/glib-2.78.3.ebuild
+++ b/dev-libs/glib/glib-2.78.3.ebuild
@@ -160,6 +160,10 @@ src_prepare() {
-e '/AvailabilityMacros.h/d' \
gio/giomodule.c || die
 
+   # Add meson.${CHOST}.ini.local file that the build system expects to 
find,
+   # #938822
+   touch "${T}/meson.${CHOST}.ini.local" || die
+
default
gnome2_environment_reset
# TODO: python_name sedding for correct python shebang? Might be 
relevant mainly for glib-utils only

diff --git a/dev-libs/glib/glib-2.78.4-r1.ebuild 
b/dev-libs/glib/glib-2.78.4-r1.ebuild
index 07caf94eb0dc..32e9ebcc49cb 100644
--- a/dev-libs/glib/glib-2.78.4-r1.ebuild
+++ b/dev-libs/glib/glib-2.78.4-r1.ebuild
@@ -169,6 +169,10 @@ src_prepare() {
-e '/AvailabilityMacros.h/d' \
gio/giomodule.c || die
 
+   # Add meson.${CHOST}.ini.local file that the build system expects to 
find,
+   # #938822
+   touch "${T}/meson.${CHOST}.ini.local" || die
+
default
gnome2_environment_reset
# TODO: python_name sedding for correct python shebang? Might be 
relevant mainly for glib-utils only

diff --git a/dev-libs/glib/glib-2.80.4.ebuild b/dev-libs/glib/glib-2.80.4.ebuild
index 2d87ba9d7a69..2a2b36c886f8 100644
--- a/dev-libs/glib/glib-2.80.4.ebuild
+++ b/dev-libs/glib/glib-2.80.4.ebuild
@@ -167,6 +167,10 @@ src_prepare() {
-e '/AvailabilityMacros.h/d' \
gio/giomodule.c || die
 
+   # Add meson.${CHOST}.ini.local file that the build system expects to 
find,
+   # #938822
+   touch "${T}/meson.${CHOST}.ini.local" || 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/

2024-08-31 Thread Joonas Niilola
commit: f10f79f320fbac62473d3d68230acf87a7e7d158
Author: Joonas Niilola  gentoo  org>
AuthorDate: Sat Aug 31 13:10:00 2024 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sat Aug 31 13:10:00 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f10f79f3

dev-libs/glib: Add meson.${CHOST}.ini.local file in src_prepare

 - expected by the build system.

Closes: https://bugs.gentoo.org/938822
Signed-off-by: Joonas Niilola  gentoo.org>

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

diff --git a/dev-libs/glib/glib-2.78.6.ebuild b/dev-libs/glib/glib-2.78.6.ebuild
index 19ae0fc69d73..45509edc58e9 100644
--- a/dev-libs/glib/glib-2.78.6.ebuild
+++ b/dev-libs/glib/glib-2.78.6.ebuild
@@ -168,6 +168,10 @@ src_prepare() {
-e '/AvailabilityMacros.h/d' \
gio/giomodule.c || die
 
+   # Add meson.${CHOST}.ini.local file that the build system expects to 
find,
+   # #938822
+   touch "${T}/meson.${CHOST}.ini.local" || 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/

2024-08-30 Thread Sam James
commit: fb1e5b03c92bf64617787852b03a5848fca844cb
Author: Sam James  gentoo  org>
AuthorDate: Sat Aug 31 02:35:06 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Aug 31 02:49:07 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb1e5b03

dev-libs/glib: handle dev-debug/systemtap[-dtrace-symlink]

See efb3a82e3496d3a52a1d04d4cbdb83b25655d96a.

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

 dev-libs/glib/glib-2.76.4.ebuild| 10 ++
 dev-libs/glib/glib-2.78.3.ebuild| 10 ++
 dev-libs/glib/glib-2.78.4-r1.ebuild | 10 ++
 dev-libs/glib/glib-2.78.6.ebuild| 10 ++
 dev-libs/glib/glib-2.80.4.ebuild| 11 +++
 5 files changed, 51 insertions(+)

diff --git a/dev-libs/glib/glib-2.76.4.ebuild b/dev-libs/glib/glib-2.76.4.ebuild
index 356bd10b8796..f296a348fdf3 100644
--- a/dev-libs/glib/glib-2.76.4.ebuild
+++ b/dev-libs/glib/glib-2.76.4.ebuild
@@ -178,7 +178,17 @@ multilib_src_configure() {
#esac
#fi
 
+   local native_file="${T}"/meson.${CHOST}.ini.local
+   # Workaround for bug #938302
+   if use systemtap && ! has_version 
"dev-debug/systemtap[dtrace-symlink(-)]" ; then
+   cat >> ${native_file} <<-EOF || die
+   [binaries]
+   dtrace='stap-dtrace'
+   EOF
+   fi
+
local emesonargs=(
+   --native-file "${native_file}"
-Dbuildtype=$(usex debug debug plain)
-Ddefault_library=$(usex static-libs both shared)
-Druntime_dir="${EPREFIX}"/run

diff --git a/dev-libs/glib/glib-2.78.3.ebuild b/dev-libs/glib/glib-2.78.3.ebuild
index 356bd10b8796..f296a348fdf3 100644
--- a/dev-libs/glib/glib-2.78.3.ebuild
+++ b/dev-libs/glib/glib-2.78.3.ebuild
@@ -178,7 +178,17 @@ multilib_src_configure() {
#esac
#fi
 
+   local native_file="${T}"/meson.${CHOST}.ini.local
+   # Workaround for bug #938302
+   if use systemtap && ! has_version 
"dev-debug/systemtap[dtrace-symlink(-)]" ; then
+   cat >> ${native_file} <<-EOF || die
+   [binaries]
+   dtrace='stap-dtrace'
+   EOF
+   fi
+
local emesonargs=(
+   --native-file "${native_file}"
-Dbuildtype=$(usex debug debug plain)
-Ddefault_library=$(usex static-libs both shared)
-Druntime_dir="${EPREFIX}"/run

diff --git a/dev-libs/glib/glib-2.78.4-r1.ebuild 
b/dev-libs/glib/glib-2.78.4-r1.ebuild
index f3dbbeb1f18b..07caf94eb0dc 100644
--- a/dev-libs/glib/glib-2.78.4-r1.ebuild
+++ b/dev-libs/glib/glib-2.78.4-r1.ebuild
@@ -187,7 +187,17 @@ multilib_src_configure() {
#esac
#fi
 
+   local native_file="${T}"/meson.${CHOST}.ini.local
+   # Workaround for bug #938302
+   if use systemtap && ! has_version 
"dev-debug/systemtap[dtrace-symlink(-)]" ; then
+   cat >> ${native_file} <<-EOF || die
+   [binaries]
+   dtrace='stap-dtrace'
+   EOF
+   fi
+
local emesonargs=(
+   --native-file "${native_file}"
$(meson_feature debug glib_debug)
-Ddefault_library=$(usex static-libs both shared)
-Druntime_dir="${EPREFIX}"/run

diff --git a/dev-libs/glib/glib-2.78.6.ebuild b/dev-libs/glib/glib-2.78.6.ebuild
index 4cb3fb6b75e4..19ae0fc69d73 100644
--- a/dev-libs/glib/glib-2.78.6.ebuild
+++ b/dev-libs/glib/glib-2.78.6.ebuild
@@ -186,7 +186,17 @@ multilib_src_configure() {
#esac
#fi
 
+   local native_file="${T}"/meson.${CHOST}.ini.local
+   # Workaround for bug #938302
+   if use systemtap && ! has_version 
"dev-debug/systemtap[dtrace-symlink(-)]" ; then
+   cat >> ${native_file} <<-EOF || die
+   [binaries]
+   dtrace='stap-dtrace'
+   EOF
+   fi
+
local emesonargs=(
+   --native-file "${native_file}"
$(meson_feature debug glib_debug)
-Ddefault_library=$(usex static-libs both shared)
-Druntime_dir="${EPREFIX}"/run

diff --git a/dev-libs/glib/glib-2.80.4.ebuild b/dev-libs/glib/glib-2.80.4.ebuild
index 1a20959666c2..2d87ba9d7a69 100644
--- a/dev-libs/glib/glib-2.80.4.ebuild
+++ b/dev-libs/glib/glib-2.80.4.ebuild
@@ -186,7 +186,18 @@ multilib_src_configure() {
#fi
 
use debug && EMESON_BUILD_TYPE=debug
+
+   local native_file="${T}"/meson.${CHOST}.ini.local
+   # Workaround for bug #938302
+   if use systemtap && ! has_version 
"dev-debug/systemtap[dtrace-symlink(-)]" ; then
+   cat >> ${native_file} <<-EOF || die
+   [binaries]
+   dtrace='stap-dtrace'
+   EOF
+   fi
+
local emesonargs=(
+   --native-file "${native_file}"
-Ddefault_library=$(usex static-libs both shared)
 

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

2024-08-09 Thread Pacho Ramos
commit: b816f464caf6e4217266aeef09e44163c5967d9e
Author: Pacho Ramos  gentoo  org>
AuthorDate: Fri Aug  9 12:46:15 2024 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Fri Aug  9 12:46:15 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b816f464

dev-libs/glib: instrospection support is not meant to be used in multilib

Thanks-to: Andrew Nowa Ammerlaan
Bug: https://bugs.gentoo.org/937616
Signed-off-by: Pacho Ramos  gentoo.org>

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

diff --git a/dev-libs/glib/glib-2.80.4.ebuild b/dev-libs/glib/glib-2.80.4.ebuild
index e61ebbcbfe68..1a20959666c2 100644
--- a/dev-libs/glib/glib-2.80.4.ebuild
+++ b/dev-libs/glib/glib-2.80.4.ebuild
@@ -203,7 +203,7 @@ multilib_src_configure() {
-Doss_fuzz=disabled
$(meson_native_use_feature elf libelf)
-Dmultiarch=false
-   $(meson_feature introspection)
+   $(meson_native_use_feature introspection)
)
meson_src_configure
 }



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

2024-08-09 Thread Pacho Ramos
commit: 770f98588b0bc797560d6d93d11888f88c2ed223
Author: Pacho Ramos  gentoo  org>
AuthorDate: Fri Aug  9 10:32:15 2024 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Fri Aug  9 10:33:49 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=770f9858

dev-libs/glib: Fix metadata.xml indentation

Signed-off-by: Pacho Ramos  gentoo.org>

 dev-libs/glib/metadata.xml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-libs/glib/metadata.xml b/dev-libs/glib/metadata.xml
index a00bf93118c5..2566d0dec213 100644
--- a/dev-libs/glib/metadata.xml
+++ b/dev-libs/glib/metadata.xml
@@ -14,9 +14,9 @@
   Enable support for listing and extracting from
   ELF resource files with gresource tool
 
-   
- Enable generating introspection data (requires 
dev-libs/gobject-introspection )
-   
+
+  Enable generating introspection data (requires 
dev-libs/gobject-introspection )
+
 
   Pull in shared MIME database that many glib-based
   applications require at runtime to detect or open files. Warning:



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

2024-08-09 Thread Pacho Ramos
commit: 8aa974e74ecbc064eba2680638ef83d917d2b284
Author: Pacho Ramos  gentoo  org>
AuthorDate: Fri Aug  9 09:52:24 2024 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Fri Aug  9 09:53:23 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8aa974e7

dev-libs/glib: Fix dependencies

Signed-off-by: Pacho Ramos  gentoo.org>

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

diff --git a/dev-libs/glib/glib-2.80.4.ebuild b/dev-libs/glib/glib-2.80.4.ebuild
index 9bc995515b0d..e61ebbcbfe68 100644
--- a/dev-libs/glib/glib-2.80.4.ebuild
+++ b/dev-libs/glib/glib-2.80.4.ebuild
@@ -33,7 +33,7 @@ RDEPEND="
>=dev-libs/libffi-3.0.13-r1:=[${MULTILIB_USEDEP}]
>=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]
>=virtual/libintl-0-r2[${MULTILIB_USEDEP}]
-   introspection? ( 
>=dev-libs/gobject-introspection-1.80.1[${MULTILIB_USEDEP}] )
+   introspection? ( >=dev-libs/gobject-introspection-1.80.1 )
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}] 
) )



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

2024-08-09 Thread Pacho Ramos
commit: 4f97b257831e4840e10454b5854a93a152f3626c
Author: Pacho Ramos  gentoo  org>
AuthorDate: Fri Aug  9 09:46:43 2024 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Fri Aug  9 09:53:22 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f97b257

dev-libs/glib: unkeyword 2.80.4 for ~s390

Signed-off-by: Pacho Ramos  gentoo.org>

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

diff --git a/dev-libs/glib/glib-2.80.4.ebuild b/dev-libs/glib/glib-2.80.4.ebuild
index b703372142c9..9bc995515b0d 100644
--- a/dev-libs/glib/glib-2.80.4.ebuild
+++ b/dev-libs/glib/glib-2.80.4.ebuild
@@ -12,7 +12,7 @@ HOMEPAGE="https://www.gtk.org/";
 
 LICENSE="LGPL-2.1+"
 SLOT="2"
-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 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos 
~x64-solaris"
 IUSE="dbus debug +elf doc +introspection +mime selinux static-libs sysprof 
systemtap test utils xattr"
 RESTRICT="!test? ( test )"
 



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

2024-08-09 Thread Pacho Ramos
commit: b0cdd4865b65ff4759b8ad273871442b67f2b95f
Author: Guillermo Joandet  gmail  com>
AuthorDate: Fri May 10 13:12:54 2024 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Fri Aug  9 09:53:21 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0cdd486

dev-libs/glib: Bump to 2.80.4

Signed-off-by: Guillermo Joandet  gmail.com>
Signed-off-by: Pacho Ramos  gentoo.org>

 dev-libs/glib/Manifest   |   1 +
 dev-libs/glib/glib-2.80.4.ebuild | 320 +++
 dev-libs/glib/metadata.xml   |   3 +
 3 files changed, 324 insertions(+)

diff --git a/dev-libs/glib/Manifest b/dev-libs/glib/Manifest
index c46b7e68014f..3eb58284cb81 100644
--- a/dev-libs/glib/Manifest
+++ b/dev-libs/glib/Manifest
@@ -2,3 +2,4 @@ DIST glib-2.76.4.tar.xz 5274356 BLAKE2B 
c9ceb514ea81e1e6ab2d0efc82c48c0d8ae6c997
 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
+DIST glib-2.80.4.tar.xz 5535760 BLAKE2B 
1d2b301703b27a5c2def370e1d44b4f7b08a940969563ce9d8d7c38e5f0a32163b95523e09cedc4a57b2af84a57d63dc545abcb31b61a8066ef62ba396fb4f3c
 SHA512 
efdc7dd1e0609b0f2d988a8cc8fd4a3fda96e8450832f905f7686f9063b727cb996e0e4e638aca62f60b76f9f04be62e089a615413e64cf298c7eef26e074570

diff --git a/dev-libs/glib/glib-2.80.4.ebuild b/dev-libs/glib/glib-2.80.4.ebuild
new file mode 100644
index ..b703372142c9
--- /dev/null
+++ b/dev-libs/glib/glib-2.80.4.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..13} )
+
+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"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos 
~x64-macos ~x64-solaris"
+IUSE="dbus debug +elf doc +introspection +mime selinux static-libs sysprof 
systemtap test utils xattr"
+RESTRICT="!test? ( test )"
+
+# * 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}]
+   introspection? ( 
>=dev-libs/gobject-introspection-1.80.1[${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
+   doc? ( >=dev-util/gi-docgen-2023.1 )
+   dev-python/docutils
+   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-${

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

2024-07-08 Thread Sam James
commit: 5590865b14a24a8a8778e4c7b835f79e7d14f365
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Thu Jul  4 08:34:24 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Jul  8 10:11:40 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5590865b

dev-libs/glib: stable 2.78.6 for hppa, bug #931633

Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sam James  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 8c4031522095..4cb3fb6b75e4 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-07-05 Thread Arthur Zamarin
commit: e134e306ea98f0e693a26625ae5ed317ed814077
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Jul  5 10:24:14 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Jul  5 10:24:14 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e134e306

dev-libs/glib: enable py3.13

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 339ee604f85f..8c4031522095 100644
--- a/dev-libs/glib/glib-2.78.6.ebuild
+++ b/dev-libs/glib/glib-2.78.6.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 PYTHON_REQ_USE="xml(+)"
-PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_COMPAT=( python3_{10..13} )
 
 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/

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? ( gnome-base/dc

[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? ( x11-misc/shared-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 fo

[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 neede

[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
+   python

[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
++test_strdup_macro_nest

[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 x11-terms/x

[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
+}
+
+src_pr

[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 #4094

[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
-   #i

[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? ( >=sys-apps/util-linux-2.23[${MULTILI

[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 )
+   ${PYTHON_DE

[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? ( x11-misc/shared-mime-in

[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}]



  1   2   3   4   >