summaryrefslogtreecommitdiff
path: root/app-emulation/libvirt-glib
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-04 16:24:49 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-04 16:24:49 -0500
commita3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7 (patch)
tree0c52bbae1c242fbc296bd650fcd1167685f81492 /app-emulation/libvirt-glib
parentbfd9c39e4712ebdb442d4ca0673061faed1e70e1 (diff)
downloadbaldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.gz
baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.xz
baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.zip
Adding metadata
Diffstat (limited to 'app-emulation/libvirt-glib')
-rw-r--r--app-emulation/libvirt-glib/Manifest2
-rw-r--r--app-emulation/libvirt-glib/files/libvirt-glib-4.0.0-Make-xmlError-structs-constant.patch64
-rw-r--r--app-emulation/libvirt-glib/files/libvirt-glib-4.0.0-libvirt-gconfig-Add-more-libxml-includes.patch50
-rw-r--r--app-emulation/libvirt-glib/libvirt-glib-4.0.0-r1.ebuild53
-rw-r--r--app-emulation/libvirt-glib/libvirt-glib-5.0.0-r1.ebuild48
-rw-r--r--app-emulation/libvirt-glib/metadata.xml11
6 files changed, 0 insertions, 228 deletions
diff --git a/app-emulation/libvirt-glib/Manifest b/app-emulation/libvirt-glib/Manifest
deleted file mode 100644
index 7d53986ff7c6..000000000000
--- a/app-emulation/libvirt-glib/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST libvirt-glib-4.0.0.tar.xz 161836 BLAKE2B e196d1f02f6f202b1883500241bbfda963b34ee12bd945b3fa897f84f55a049f98e0429132ccfad7168e5ba2b41245e9e7e3817a7f057e0dc40b674ca6c9b661 SHA512 e1b99e80aa671fa5a4d7f7f7a4ea70ce7c5fdaf97574407f79aa11a75dd177e1e3f92027728a83ded62e305852bbda76eb90326aaa1f5f19b77272b008351810
-DIST libvirt-glib-5.0.0.tar.xz 169416 BLAKE2B e80ac0cd8d39432d554e566f4e1e045ada14e66917735c1c8a6306a65272216d095f21170e1b5294e09f41aaf2a3259ad395b134087a1bc13b176afd675dcc26 SHA512 bb09474c0d6d4bc00844e7a1ede882f0834d0810804b70b8f8607f2e764f72cc9da14883794e58dd53640433ffaecc13dd3c1c147b82e86fa2fdca6e5903933c
diff --git a/app-emulation/libvirt-glib/files/libvirt-glib-4.0.0-Make-xmlError-structs-constant.patch b/app-emulation/libvirt-glib/files/libvirt-glib-4.0.0-Make-xmlError-structs-constant.patch
deleted file mode 100644
index 654436a65d99..000000000000
--- a/app-emulation/libvirt-glib/files/libvirt-glib-4.0.0-Make-xmlError-structs-constant.patch
+++ /dev/null
@@ -1,64 +0,0 @@
-From 56acbe8a0765a02418f80fb3599b3cf7160ef446 Mon Sep 17 00:00:00 2001
-Message-ID: <56acbe8a0765a02418f80fb3599b3cf7160ef446.1701156704.git.mprivozn@redhat.com>
-From: Michal Privoznik <mprivozn@redhat.com>
-Date: Sat, 25 Nov 2023 07:13:33 +0100
-Subject: [glib PATCH 1/2] Make xmlError structs constant
-
-In libxml2 commits v2.12.0~14 and v2.12.0~77 the API changed so
-that:
-
-1) xmlGetLastError() returns pointer to a constant xmlError
- struct, and
-
-2) xmlSetStructuredErrorFunc() changed the signature of callback
- (gvir_xml_structured_error_nop()), it too is passed pointer to
- a constant xmlError struct.
-
-But of course, older libxml2 expects different callback
-signature. Therefore, we need to typecast it anyway.
-
-Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
----
- libvirt-gconfig/libvirt-gconfig-helpers.c | 2 +-
- libvirt-gconfig/libvirt-gconfig-object.c | 5 +++--
- 2 files changed, 4 insertions(+), 3 deletions(-)
-
-diff --git a/libvirt-gconfig/libvirt-gconfig-helpers.c b/libvirt-gconfig/libvirt-gconfig-helpers.c
-index e8f9664..37075e3 100644
---- a/libvirt-gconfig/libvirt-gconfig-helpers.c
-+++ b/libvirt-gconfig/libvirt-gconfig-helpers.c
-@@ -41,7 +41,7 @@ static GError *gvir_config_error_new_literal(GQuark domain,
- gint code,
- const gchar *message)
- {
-- xmlErrorPtr xerr = xmlGetLastError();
-+ const xmlError *xerr = xmlGetLastError();
-
- if (!xerr)
- return NULL;
-diff --git a/libvirt-gconfig/libvirt-gconfig-object.c b/libvirt-gconfig/libvirt-gconfig-object.c
-index eb8763e..1fcc667 100644
---- a/libvirt-gconfig/libvirt-gconfig-object.c
-+++ b/libvirt-gconfig/libvirt-gconfig-object.c
-@@ -59,7 +59,7 @@ static void gvir_xml_generic_error_nop(void *userData G_GNUC_UNUSED,
- }
-
- static void gvir_xml_structured_error_nop(void *userData G_GNUC_UNUSED,
-- xmlErrorPtr error G_GNUC_UNUSED)
-+ const xmlError *error G_GNUC_UNUSED)
- {
- }
-
-@@ -197,7 +197,8 @@ void gvir_config_object_validate(GVirConfigObject *config,
- priv = config->priv;
-
- xmlSetGenericErrorFunc(NULL, gvir_xml_generic_error_nop);
-- xmlSetStructuredErrorFunc(NULL, gvir_xml_structured_error_nop);
-+ /* Drop this typecast when >=libxml2-2.12.0 is required */
-+ xmlSetStructuredErrorFunc(NULL, (xmlStructuredErrorFunc) gvir_xml_structured_error_nop);
-
- if (!priv->node) {
- gvir_config_set_error_literal(err,
---
-2.41.0
-
diff --git a/app-emulation/libvirt-glib/files/libvirt-glib-4.0.0-libvirt-gconfig-Add-more-libxml-includes.patch b/app-emulation/libvirt-glib/files/libvirt-glib-4.0.0-libvirt-gconfig-Add-more-libxml-includes.patch
deleted file mode 100644
index 7a13eb211e20..000000000000
--- a/app-emulation/libvirt-glib/files/libvirt-glib-4.0.0-libvirt-gconfig-Add-more-libxml-includes.patch
+++ /dev/null
@@ -1,50 +0,0 @@
-From bcc82de1d74057f6d124c2eaff0ac97cbbf52657 Mon Sep 17 00:00:00 2001
-Message-ID: <bcc82de1d74057f6d124c2eaff0ac97cbbf52657.1701156704.git.mprivozn@redhat.com>
-In-Reply-To: <56acbe8a0765a02418f80fb3599b3cf7160ef446.1701156704.git.mprivozn@redhat.com>
-References: <56acbe8a0765a02418f80fb3599b3cf7160ef446.1701156704.git.mprivozn@redhat.com>
-From: Michal Privoznik <mprivozn@redhat.com>
-Date: Sat, 25 Nov 2023 07:15:46 +0100
-Subject: [glib PATCH 2/2] libvirt-gconfig: Add more libxml/ includes
-
-In its 2.12.0 release, libxml reworked their header files (some
-might even call it cleaning up, I call it API incompatible
-change) and now we don't get all declarations we need by just
-including one file. Add missing includes.
-
-Resolves: https://gitlab.com/libvirt/libvirt-glib/-/issues/6
-Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
----
- libvirt-gconfig/libvirt-gconfig-helpers.c | 1 +
- libvirt-gconfig/libvirt-gconfig-object.c | 3 +++
- 2 files changed, 4 insertions(+)
-
-diff --git a/libvirt-gconfig/libvirt-gconfig-helpers.c b/libvirt-gconfig/libvirt-gconfig-helpers.c
-index 37075e3..4dbb177 100644
---- a/libvirt-gconfig/libvirt-gconfig-helpers.c
-+++ b/libvirt-gconfig/libvirt-gconfig-helpers.c
-@@ -25,6 +25,7 @@
-
- #include <string.h>
-
-+#include <libxml/parser.h>
- #include <libxml/xmlerror.h>
- #include <glib/gi18n-lib.h>
-
-diff --git a/libvirt-gconfig/libvirt-gconfig-object.c b/libvirt-gconfig/libvirt-gconfig-object.c
-index 1fcc667..4dd189d 100644
---- a/libvirt-gconfig/libvirt-gconfig-object.c
-+++ b/libvirt-gconfig/libvirt-gconfig-object.c
-@@ -25,7 +25,10 @@
-
- #include <string.h>
-
-+#include <libxml/tree.h>
-+#include <libxml/entities.h>
- #include <libxml/relaxng.h>
-+
- #include <glib/gi18n-lib.h>
-
- #include "libvirt-gconfig/libvirt-gconfig.h"
---
-2.41.0
-
diff --git a/app-emulation/libvirt-glib/libvirt-glib-4.0.0-r1.ebuild b/app-emulation/libvirt-glib/libvirt-glib-4.0.0-r1.ebuild
deleted file mode 100644
index a05259f92cba..000000000000
--- a/app-emulation/libvirt-glib/libvirt-glib-4.0.0-r1.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit meson vala
-
-DESCRIPTION="GLib and GObject mappings for libvirt"
-HOMEPAGE="https://libvirt.org/ https://gitlab.com/libvirt/libvirt-glib/"
-SRC_URI="https://download.libvirt.org/glib/${P}.tar.xz"
-LICENSE="LGPL-2.1+"
-SLOT="0"
-KEYWORDS="amd64 arm64 ppc64 x86"
-IUSE="gtk-doc +introspection test +vala"
-RESTRICT="!test? ( test )"
-REQUIRED_USE="vala? ( introspection )"
-
-RDEPEND="
- >=dev-libs/libxml2-2.9.1:=
- >=app-emulation/libvirt-1.2.8:=
- >=dev-libs/glib-2.48.0:2
- introspection? ( >=dev-libs/gobject-introspection-1.82.0-r2:= )
-"
-DEPEND="${RDEPEND}"
-
-BDEPEND="
- dev-util/glib-utils
- virtual/pkgconfig
- gtk-doc? ( dev-util/gtk-doc
- app-text/docbook-xml-dtd:4.3 )
- vala? ( $(vala_depend) )
-"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-4.0.0-Make-xmlError-structs-constant.patch
- "${FILESDIR}"/${PN}-4.0.0-libvirt-gconfig-Add-more-libxml-includes.patch
-)
-
-src_prepare() {
- default
- use vala && vala_src_prepare
-}
-
-src_configure() {
- local emesonargs=(
- $(meson_feature gtk-doc docs)
- $(meson_feature introspection)
- $(meson_feature test tests)
- $(meson_feature vala vapi)
- )
-
- meson_src_configure
-}
diff --git a/app-emulation/libvirt-glib/libvirt-glib-5.0.0-r1.ebuild b/app-emulation/libvirt-glib/libvirt-glib-5.0.0-r1.ebuild
deleted file mode 100644
index 760302a5d841..000000000000
--- a/app-emulation/libvirt-glib/libvirt-glib-5.0.0-r1.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit meson vala
-
-DESCRIPTION="GLib and GObject mappings for libvirt"
-HOMEPAGE="https://libvirt.org/ https://gitlab.com/libvirt/libvirt-glib/"
-SRC_URI="https://download.libvirt.org/glib/${P}.tar.xz"
-LICENSE="LGPL-2.1+"
-SLOT="0"
-KEYWORDS="amd64 arm64 ppc64 x86"
-IUSE="gtk-doc +introspection test +vala"
-RESTRICT="!test? ( test )"
-REQUIRED_USE="vala? ( introspection )"
-
-RDEPEND="
- >=dev-libs/libxml2-2.9.1:=
- >=app-emulation/libvirt-2.3.0:=
- >=dev-libs/glib-2.48.0:2
- introspection? ( >=dev-libs/gobject-introspection-1.82.0-r2:= )
-"
-DEPEND="${RDEPEND}"
-
-BDEPEND="
- dev-util/glib-utils
- virtual/pkgconfig
- gtk-doc? ( dev-util/gtk-doc
- app-text/docbook-xml-dtd:4.3 )
- vala? ( $(vala_depend) )
-"
-
-src_prepare() {
- default
- use vala && vala_src_prepare
-}
-
-src_configure() {
- local emesonargs=(
- $(meson_feature gtk-doc docs)
- $(meson_feature introspection)
- $(meson_feature test tests)
- $(meson_feature vala vapi)
- )
-
- meson_src_configure
-}
diff --git a/app-emulation/libvirt-glib/metadata.xml b/app-emulation/libvirt-glib/metadata.xml
deleted file mode 100644
index e076952b0c93..000000000000
--- a/app-emulation/libvirt-glib/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>gnome@gentoo.org</email>
- <name>Gentoo GNOME Desktop</name>
- </maintainer>
- <upstream>
- <remote-id type="gitlab">libvirt/libvirt-glib</remote-id>
- </upstream>
-</pkgmetadata>