commit: 9b50a8a58f6443f26d6d48ab35e837425a5f605b Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> AuthorDate: Sat Aug 2 17:12:03 2025 +0000 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> CommitDate: Sat Aug 2 17:41:56 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b50a8a5
net-libs/gupnp-av: drop 0.14.1-r3 Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org> net-libs/gupnp-av/Manifest | 1 - .../files/gupnp-av-0.14.1-libxml2-2.12.patch | 75 ---------------------- net-libs/gupnp-av/gupnp-av-0.14.1-r3.ebuild | 51 --------------- 3 files changed, 127 deletions(-) diff --git a/net-libs/gupnp-av/Manifest b/net-libs/gupnp-av/Manifest index a9b1a6374f73..37fa9e19a2de 100644 --- a/net-libs/gupnp-av/Manifest +++ b/net-libs/gupnp-av/Manifest @@ -1,3 +1,2 @@ -DIST gupnp-av-0.14.1.tar.xz 93484 BLAKE2B 5e4c070bc7f0dd1a1b67f58fb178ee575df5f9f3920c8c40f8975ac79c61f707df39a243d4783ff79f691dd42553c3a6eb89715be79bb7683910785afdd83b19 SHA512 b17b38c32fe068b0b74a7ee357be5f3a0df3320fd04338b5f6b04231c601d6cc57d2770c6e6ca42ded5e1be28a6b2746d16417eb322889ffe6a975ec58205655 DIST gupnp-av-0.14.3.tar.xz 92792 BLAKE2B 2e0f605f538b4d803198196552d086d4769b73dce66a0b24e0d6da7313a81f89df9b07c182604e202b67a9264308f4098ee84ba6fc1db4f5bf7f9bd4e9540722 SHA512 f08b2b38c7e310002c995302250dfb8394c6d10781a5fc0d35ed0d7cc4c7956867ce40b5bc80fd5fbb27acd652208772f00652b0ce5515037af12244f05bf05a DIST gupnp-av-0.14.4.tar.xz 1216284 BLAKE2B 2af1833129b74399b2906cce2cb5d235133e5cfec7b5e5639db71bf53a92b956bbf09fcbd6e5a635a1a75009dc0ec42fa0c2368c7fa81640e20462d2d0a4d7f0 SHA512 781c036c56d400df157354f8d39c019f996a064ccdf36bc51a30bde1f1df30c76b85d391e78c9cdac1b715d19a1d7340118aa8b5d03daa44507f60d0ddf236d6 diff --git a/net-libs/gupnp-av/files/gupnp-av-0.14.1-libxml2-2.12.patch b/net-libs/gupnp-av/files/gupnp-av-0.14.1-libxml2-2.12.patch deleted file mode 100644 index c62ed29fe577..000000000000 --- a/net-libs/gupnp-av/files/gupnp-av-0.14.1-libxml2-2.12.patch +++ /dev/null @@ -1,75 +0,0 @@ -https://bugs.gentoo.org/917532 -https://gitlab.gnome.org/GNOME/gupnp-av/-/commit/9557768121d54fdcedabe7544863515d6a813354 -https://gitlab.gnome.org/GNOME/gupnp-av/-/commit/1e10a41fcef6ae0d3e89958db89bc22398f3b4f1 - -From 9557768121d54fdcedabe7544863515d6a813354 Mon Sep 17 00:00:00 2001 -From: Jens Georg <[email protected]> -Date: Thu, 3 Aug 2023 23:52:43 +0200 -Subject: [PATCH] Remove deprecates xmlRecoverMemory - -Cannot currently remove xmlSchemaValidateStream as validateDoc fails to -accept the XSD ---- a/libgupnp-av/gupnp-didl-lite-parser.c -+++ b/libgupnp-av/gupnp-didl-lite-parser.c -@@ -230,12 +230,17 @@ gupnp_didl_lite_parser_parse_didl_recursive (GUPnPDIDLLiteParser *parser, - GUPnPAVXMLDoc *xml_doc = NULL; - gboolean result; - -- doc = xmlRecoverMemory (didl, strlen (didl)); -+ doc = xmlReadMemory (didl, -+ strlen (didl), -+ NULL, -+ NULL, -+ XML_PARSE_NONET | XML_PARSE_RECOVER); - if (doc == NULL) { - g_set_error (error, - G_MARKUP_ERROR, - G_MARKUP_ERROR_PARSE, -- "Could not parse DIDL-Lite XML:\n%s", didl); -+ "Could not parse DIDL-Lite XML:\n%s", -+ didl); - - return FALSE; - } ---- a/libgupnp-av/gupnp-feature-list-parser.c -+++ b/libgupnp-av/gupnp-feature-list-parser.c -@@ -114,12 +114,17 @@ gupnp_feature_list_parser_parse_text - xmlNode *element; - GList *feature_list = NULL; - -- doc = xmlRecoverMemory (text, strlen (text)); -+ doc = xmlReadMemory (text, -+ strlen (text), -+ NULL, -+ NULL, -+ XML_PARSE_NONET | XML_PARSE_RECOVER); - if (doc == NULL) { - g_set_error (error, - G_MARKUP_ERROR, - G_MARKUP_ERROR_PARSE, -- "Could not parse FeatureList XML:\n%s", text); -+ "Could not parse FeatureList XML:\n%s", -+ text); - - return NULL; - } --- -GitLab - -From 1e10a41fcef6ae0d3e89958db89bc22398f3b4f1 Mon Sep 17 00:00:00 2001 -From: Jens Georg <[email protected]> -Date: Sat, 25 Nov 2023 17:58:49 +0100 -Subject: [PATCH] xml: Fix compatibility with libxml2 2.12.x - ---- a/libgupnp-av/xml-util.h -+++ b/libgupnp-av/xml-util.h -@@ -16,6 +16,7 @@ - - #include <glib.h> - #include <libxml/tree.h> -+#include <libxml/parser.h> - #include <stdarg.h> - #include <glib-object.h> - --- -GitLab diff --git a/net-libs/gupnp-av/gupnp-av-0.14.1-r3.ebuild b/net-libs/gupnp-av/gupnp-av-0.14.1-r3.ebuild deleted file mode 100644 index 56c7c0590ff2..000000000000 --- a/net-libs/gupnp-av/gupnp-av-0.14.1-r3.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit gnome.org meson vala - -DESCRIPTION="Utility library aiming to ease the handling UPnP A/V profiles" -HOMEPAGE="https://wiki.gnome.org/Projects/GUPnP https://gitlab.gnome.org/GNOME/gupnp-av" - -LICENSE="LGPL-2" -SLOT="0/3" # subslot: soname version -KEYWORDS="~alpha amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86" -IUSE="gtk-doc +introspection vala" -REQUIRED_USE="vala? ( introspection )" - -RDEPEND=" - >=dev-libs/glib-2.58:2 - dev-libs/libxml2:= - introspection? ( >=dev-libs/gobject-introspection-1.36:= ) -" -DEPEND="${RDEPEND}" -BDEPEND=" - virtual/pkgconfig - gtk-doc? ( - dev-util/gtk-doc - app-text/docbook-xml-dtd:4.1.2 - ) - vala? ( $(vala_depend) ) -" - -PATCHES=( - "${FILESDIR}"/${PN}-0.14.1-libxml2-2.12.patch -) - -src_prepare() { - use vala && vala_setup - default - - # This makes sense for upstream but not for us downstream, bug #906641. - sed -i -e '/-Werror=deprecated-declarations/d' meson.build || die -} - -src_configure() { - local emesonargs=( - $(meson_use introspection) - $(meson_use vala vapi) - $(meson_use gtk-doc gtk_doc) - ) - meson_src_configure -}
