commit:     7ea47eaf72e5bcd5fbf6bfcd1a39cae58019e67a
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 31 18:44:42 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Aug 31 18:44:42 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ea47eaf

dev-libs/glib: drop broken sed for tests w/o shared-mime-info

Upstream MR https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3997
should solve it.

Closes: https://bugs.gentoo.org/904096
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-libs/glib/glib-2.84.3.ebuild | 8 --------
 dev-libs/glib/glib-2.84.4.ebuild | 8 --------
 2 files changed, 16 deletions(-)

diff --git a/dev-libs/glib/glib-2.84.3.ebuild b/dev-libs/glib/glib-2.84.3.ebuild
index e65369977354..83e2bcc674c3 100644
--- a/dev-libs/glib/glib-2.84.3.ebuild
+++ b/dev-libs/glib/glib-2.84.3.ebuild
@@ -114,14 +114,6 @@ 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/xterm && ! has_version 
x11-terms/gnome-terminal ; then

diff --git a/dev-libs/glib/glib-2.84.4.ebuild b/dev-libs/glib/glib-2.84.4.ebuild
index 0d8b582cdb88..4877e9cbd200 100644
--- a/dev-libs/glib/glib-2.84.4.ebuild
+++ b/dev-libs/glib/glib-2.84.4.ebuild
@@ -114,14 +114,6 @@ 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/xterm && ! has_version 
x11-terms/gnome-terminal ; then

Reply via email to