commit:     8f458ed2ce5ef34b585bbf8fe56df976f65f3af2
Author:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
AuthorDate: Tue Jul  1 04:19:06 2025 +0000
Commit:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Tue Jul  1 04:21:12 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f458ed2

gnome-extra/gnome-system-monitor: remove useless SLOT dep on libxml2

It hasn't been used upstream since 2012.

Bug: https://gitlab.gnome.org/GNOME/gnome-system-monitor/-/merge_requests/200
Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org>

 .../0001-remove-outdated-libxml2-build-dep.patch   | 38 ++++++++++++++++++++++
 .../gnome-system-monitor-46.0-r3.ebuild            |  5 ++-
 .../gnome-system-monitor-47.0-r2.ebuild            |  5 ++-
 .../gnome-system-monitor-47.1-r1.ebuild            |  5 ++-
 4 files changed, 50 insertions(+), 3 deletions(-)

diff --git 
a/gnome-extra/gnome-system-monitor/files/0001-remove-outdated-libxml2-build-dep.patch
 
b/gnome-extra/gnome-system-monitor/files/0001-remove-outdated-libxml2-build-dep.patch
new file mode 100644
index 000000000000..b64889fa6bd9
--- /dev/null
+++ 
b/gnome-extra/gnome-system-monitor/files/0001-remove-outdated-libxml2-build-dep.patch
@@ -0,0 +1,38 @@
+https://gitlab.gnome.org/GNOME/gnome-system-monitor/-/merge_requests/200
+
+doc/CI files excluded
+
+From fe534e86ef34c5a14e9cc0b1cb6ef92ae95a215b Mon Sep 17 00:00:00 2001
+From: Eli Schwartz <[email protected]>
+Date: Mon, 30 Jun 2025 23:49:15 -0400
+Subject: [PATCH] remove outdated libxml2 build dep
+
+The code which used it got deleted in 2012. Yet, today, it still causes
+configure checks to fail if it is missing.
+
+Fixes: f354bb932741be156d88c6d29d6986223526d616
+Signed-off-by: Eli Schwartz <[email protected]>
+---
+ meson.build | 2 --
+ 1 file changed, 2 deletions(-)
+
+diff --git a/meson.build b/meson.build
+index 48d15a69..4e1c5e9a 100644
+--- a/meson.build
++++ b/meson.build
+@@ -62,7 +62,6 @@ gtkmm      = dependency('gtkmm-4.0',   version: '>=4.0.0')
+ libgtop    = dependency('libgtop-2.0', version: '>=2.41.2')
+ libadwaita = dependency('libadwaita-1',version: '>=1.6.alpha')
+ librsvg    = dependency('librsvg-2.0', version: '>=2.46')
+-libxml     = dependency('libxml-2.0',  version: '>=2.0')
+ 
+ if get_option('systemd')
+   libsystemd = dependency('libsystemd', version: '>=44')
+@@ -165,4 +164,3 @@ gnome.post_install(
+   glib_compile_schemas: true,
+   gtk_update_icon_cache: true,
+ )
+-
+-- 
+2.49.0
+

diff --git 
a/gnome-extra/gnome-system-monitor/gnome-system-monitor-46.0-r3.ebuild 
b/gnome-extra/gnome-system-monitor/gnome-system-monitor-46.0-r3.ebuild
index 26493c6728b0..d8bb9b68b465 100644
--- a/gnome-extra/gnome-system-monitor/gnome-system-monitor-46.0-r3.ebuild
+++ b/gnome-extra/gnome-system-monitor/gnome-system-monitor-46.0-r3.ebuild
@@ -21,7 +21,6 @@ RDEPEND="
        >=gnome-base/libgtop-2.41.2:2=
        >=gui-libs/libadwaita-1.4.0:1
        >=gnome-base/librsvg-2.46:2
-       >=dev-libs/libxml2-2.0:2=
        systemd? ( >=sys-apps/systemd-44:0= )
 "
 # eautoreconf requires gnome-base/gnome-common
@@ -34,6 +33,10 @@ BDEPEND="
        >=sys-auth/polkit-0.114
 " # polkit needed at buildtime for ITS rules of policy files, first available 
in 0.114
 
+PATCHES=(
+       "${FILESDIR}"/0001-remove-outdated-libxml2-build-dep.patch
+)
+
 src_configure() {
        local emesonargs=(
                $(meson_use systemd)

diff --git 
a/gnome-extra/gnome-system-monitor/gnome-system-monitor-47.0-r2.ebuild 
b/gnome-extra/gnome-system-monitor/gnome-system-monitor-47.0-r2.ebuild
index 820ccfe6baf9..5031a8eb56a2 100644
--- a/gnome-extra/gnome-system-monitor/gnome-system-monitor-47.0-r2.ebuild
+++ b/gnome-extra/gnome-system-monitor/gnome-system-monitor-47.0-r2.ebuild
@@ -21,7 +21,6 @@ RDEPEND="
        >=gnome-base/libgtop-2.41.2:2=
        >=gui-libs/libadwaita-1.6_alpha:1
        >=gnome-base/librsvg-2.46:2
-       >=dev-libs/libxml2-2.0:2=
        systemd? ( >=sys-apps/systemd-44:0= )
 "
 # eautoreconf requires gnome-base/gnome-common
@@ -34,6 +33,10 @@ BDEPEND="
        >=sys-auth/polkit-0.114
 " # polkit needed at buildtime for ITS rules of policy files, first available 
in 0.114
 
+PATCHES=(
+       "${FILESDIR}"/0001-remove-outdated-libxml2-build-dep.patch
+)
+
 src_configure() {
        local emesonargs=(
                $(meson_use systemd)

diff --git 
a/gnome-extra/gnome-system-monitor/gnome-system-monitor-47.1-r1.ebuild 
b/gnome-extra/gnome-system-monitor/gnome-system-monitor-47.1-r1.ebuild
index e047f0f35e72..2cf52791bc6d 100644
--- a/gnome-extra/gnome-system-monitor/gnome-system-monitor-47.1-r1.ebuild
+++ b/gnome-extra/gnome-system-monitor/gnome-system-monitor-47.1-r1.ebuild
@@ -21,7 +21,6 @@ RDEPEND="
        >=gnome-base/libgtop-2.41.2:2=
        >=gui-libs/libadwaita-1.6_alpha:1
        >=gnome-base/librsvg-2.46:2
-       >=dev-libs/libxml2-2.0:2=
        systemd? ( >=sys-apps/systemd-44:0= )
 "
 # eautoreconf requires gnome-base/gnome-common
@@ -34,6 +33,10 @@ BDEPEND="
        >=sys-auth/polkit-0.114
 " # polkit needed at buildtime for ITS rules of policy files, first available 
in 0.114
 
+PATCHES=(
+       "${FILESDIR}"/0001-remove-outdated-libxml2-build-dep.patch
+)
+
 src_configure() {
        local emesonargs=(
                $(meson_use systemd)

Reply via email to