diff options
Diffstat (limited to 'dev-php/libvirt-php')
| -rw-r--r-- | dev-php/libvirt-php/Manifest | 1 | ||||
| -rw-r--r-- | dev-php/libvirt-php/files/libvirt-php-0.5.8-attribute_unused.patch | 42 | ||||
| -rw-r--r-- | dev-php/libvirt-php/libvirt-php-0.5.8-r2.ebuild | 75 | ||||
| -rw-r--r-- | dev-php/libvirt-php/libvirt-php-9999.ebuild | 71 | ||||
| -rw-r--r-- | dev-php/libvirt-php/metadata.xml | 13 |
5 files changed, 0 insertions, 202 deletions
diff --git a/dev-php/libvirt-php/Manifest b/dev-php/libvirt-php/Manifest deleted file mode 100644 index 1a79d26c5822..000000000000 --- a/dev-php/libvirt-php/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST libvirt-php-0.5.8.tar.xz 392316 BLAKE2B 5c1746512a405aaa32840b47f867804d854006a3ed38db168b8a60b8a6d5c4c454b5070c71a7dce8669377842c8063b78bb1894c7a69a8ff439b770f3867a3d2 SHA512 efff730f101a2b4210d720bf1e9a7bb86b41caaf45de31241be05a64ea71b8bca52c73b23a39137d5849ac9f4d2d309acb72111e3e64f0b47211991e4a6a2d9a diff --git a/dev-php/libvirt-php/files/libvirt-php-0.5.8-attribute_unused.patch b/dev-php/libvirt-php/files/libvirt-php-0.5.8-attribute_unused.patch deleted file mode 100644 index 2047acb04c6a..000000000000 --- a/dev-php/libvirt-php/files/libvirt-php-0.5.8-attribute_unused.patch +++ /dev/null @@ -1,42 +0,0 @@ -From 64b28253bb25933b74978906042aa07874500beb Mon Sep 17 00:00:00 2001 -Message-ID: <64b28253bb25933b74978906042aa07874500beb.1760018492.git.mprivozn@redhat.com> -From: Michal Privoznik <mprivozn@redhat.com> -Date: Thu, 14 Aug 2025 16:39:44 +0200 -Subject: [libvirt-php][PATCH] src: Don't rely on libxml2 to provide - ATTRIBUTE_UNUSED macro - -From: Michal Privoznik <mprivozn@redhat.com> - -One of the libxml2 header files used to provide ATTRIBUTE_UNUSED -macro definition (it used to be libxml/xmlexports.h but then it -was moved to libxml/xmlversion.h). But as of [1] this is no -longer the case. Thus, declare the macro on our own. - -1: https://gitlab.gnome.org/GNOME/libxml2/-/commit/208f27f9641a59863ce1f7d4992df77f7eb0ea9d - -Signed-off-by: Michal Privoznik <mprivozn@redhat.com> -(cherry picked from commit 5f78512c0eb139660d0a644895e07f83259cda37) -Resolves: https://bugs.gentoo.org/963308 -Signed-off-by: Michal Privoznik <mprivozn@redhat.com> ---- - src/util.h | 4 ++++ - 1 file changed, 4 insertions(+) - -diff --git a/src/util.h b/src/util.h -index 9839c3a..a677477 100644 ---- a/src/util.h -+++ b/src/util.h -@@ -46,6 +46,10 @@ - - # define IS_BIGENDIAN (*(uint16_t *)"\0\xff" < 0x100) - -+# ifndef ATTRIBUTE_UNUSED -+# define ATTRIBUTE_UNUSED __attribute__((__unused__)) -+# endif -+ - # define SWAP2_BY_ENDIAN(le, v1, v2) \ - (((le && IS_BIGENDIAN) || (!le && !IS_BIGENDIAN)) ? ((v2 << 8) + v1) : ((v1 << 8) + v2)) - --- -2.49.1 - diff --git a/dev-php/libvirt-php/libvirt-php-0.5.8-r2.ebuild b/dev-php/libvirt-php/libvirt-php-0.5.8-r2.ebuild deleted file mode 100644 index 48ef43f49233..000000000000 --- a/dev-php/libvirt-php/libvirt-php-0.5.8-r2.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="8" - -PHP_EXT_NAME="libvirt-php" -PHP_EXT_SKIP_PHPIZE="yes" -USE_PHP="php8-2 php8-3" -PHP_EXT_ECONF_ARGS=() - -inherit php-ext-source-r3 autotools - -DESCRIPTION="PHP bindings for libvirt" -HOMEPAGE="https://php.libvirt.org/" -SRC_URI="https://download.libvirt.org/php/${P}.tar.xz" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~amd64" -IUSE="doc" - -RDEPEND="app-emulation/libvirt - dev-libs/libxml2:=" -DEPEND="${RDEPEND} - dev-libs/libxslt - virtual/pkgconfig - doc? ( app-text/xhtml1 )" - -DOCS=( ChangeLog NEWS README ) - -PATCHES=( - "${FILESDIR}"/${PN}-0.5.8-attribute_unused.patch -) - -src_unpack() { - default - - # create the default modules directory to be able - # to use the php-ext-source-r3 eclass to configure/build - ln -s src "${S}/modules" || die -} - -src_prepare() { - php-ext-source-r3_src_prepare - - local slot - for slot in $(php_get_slots); do - php_init_slot_env "${slot}" - eautoreconf - done -} - -src_install() { - local slot - for slot in $(php_get_slots); do - php_init_slot_env ${slot} - insinto "${EXT_DIR}" - doins "src/.libs/${PHP_EXT_NAME}.so" - done - - php-ext-source-r3_createinifiles - einstalldocs - - if use doc ; then - docinto html - dodoc -r docs/* - fi -} - -src_test() { - for slot in $(php_get_slots); do - php_init_slot_env ${slot} - default - done -} diff --git a/dev-php/libvirt-php/libvirt-php-9999.ebuild b/dev-php/libvirt-php/libvirt-php-9999.ebuild deleted file mode 100644 index d89b783b93e6..000000000000 --- a/dev-php/libvirt-php/libvirt-php-9999.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="8" - -PHP_EXT_NAME="libvirt-php" -PHP_EXT_SKIP_PHPIZE="yes" -USE_PHP="php8-2 php8-3" -PHP_EXT_ECONF_ARGS=() - -inherit php-ext-source-r3 git-r3 autotools - -DESCRIPTION="PHP bindings for libvirt" -HOMEPAGE="https://php.libvirt.org/" -EGIT_REPO_URI="https://gitlab.com/libvirt/libvirt-php.git" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="" -IUSE="doc" - -RDEPEND="app-emulation/libvirt - dev-libs/libxml2:=" -DEPEND="${RDEPEND} - dev-libs/libxslt - virtual/pkgconfig - doc? ( app-text/xhtml1 )" - -DOCS=( ChangeLog NEWS README ) - -src_unpack() { - git-r3_src_unpack - - # create the default modules directory to be able - # to use the php-ext-source-r3 eclass to configure/build - ln -s src "${S}/modules" -} - -src_prepare() { - php-ext-source-r3_src_prepare - - local slot - for slot in $(php_get_slots); do - php_init_slot_env "${slot}" - eautoreconf - done -} - -src_install() { - local slot - for slot in $(php_get_slots); do - php_init_slot_env ${slot} - insinto "${EXT_DIR}" - doins "src/.libs/${PHP_EXT_NAME}.so" - done - - php-ext-source-r3_createinifiles - einstalldocs - - if use doc ; then - docinto html - dodoc -r docs/* - fi -} - -src_test() { - for slot in $(php_get_slots); do - php_init_slot_env ${slot} - default - done -} diff --git a/dev-php/libvirt-php/metadata.xml b/dev-php/libvirt-php/metadata.xml deleted file mode 100644 index 742344bd2029..000000000000 --- a/dev-php/libvirt-php/metadata.xml +++ /dev/null @@ -1,13 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>virtualization@gentoo.org</email> - <name>Gentoo Virtualization Project</name> - </maintainer> - <maintainer type="project"> - <email>php-bugs@gentoo.org</email> - <name>PHP</name> - </maintainer> - <origin>baldeagleos-repo</origin> -</pkgmetadata> |
