diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-04 16:24:49 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-04 16:24:49 -0500 |
| commit | a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7 (patch) | |
| tree | 0c52bbae1c242fbc296bd650fcd1167685f81492 /dev-libs/libxml2 | |
| parent | bfd9c39e4712ebdb442d4ca0673061faed1e70e1 (diff) | |
| download | baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.gz baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.xz baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.zip | |
Adding metadata
Diffstat (limited to 'dev-libs/libxml2')
21 files changed, 0 insertions, 1868 deletions
diff --git a/dev-libs/libxml2/Manifest b/dev-libs/libxml2/Manifest deleted file mode 100644 index 38c826c83e88..000000000000 --- a/dev-libs/libxml2/Manifest +++ /dev/null @@ -1,9 +0,0 @@ -DIST libxml2-2.13.9.tar.xz 2426164 BLAKE2B b14cb6953983ee83b5de39b8d80f623edae6198541e996fbda3c88ea7c3f5b354f8e064b378231bd60e88e0ea143f44be860252007eaafd7290f6f781fc6e8aa SHA512 62d4813860124c969f204aaf33b497105dbc32a6c5655f5a86168743660e10987d687d7e5e7ee49fdfdeb8f6ad9fa4503f81fcce2e4d459094895f02436d1b13 -DIST libxml2-2.14.6.tar.xz 2327580 BLAKE2B ad5d7cb64f8081559a671e9d79b3ebcd7313dada39d7f0c2854994153a9dff2ef85bc81336437f5881abe637bae51b62e9104b3a099113f4ee2252b604325291 SHA512 9a62230487255af7cdaf135cc8a0978dc82ff2ee8826f6b21cc8b39c8e0a6b9efeea1c12e6cb7ae3f869730fb4ed628158e2848dd512558fc5bf177c56862774 -DIST libxml2-2.15.0.tar.xz 2004476 BLAKE2B 07a570cd38528eb253d67f1eb88d375c5b3e32dfb23e97662c6243b8af2c4087f2cc931015cc183ff9bc231be88b6099fda42104d77d6fb0126f7804f277a088 SHA512 26fdf2c4c7bba90f0ad9cb74debc94e2ba7db2d8461d2bb40764d479f1735d78e85e6835f0c7ae292d827d387ac74ba889915456d5f3f646de5e0b96a070fddb -DIST libxml2-2.15.1.tar.xz 2004588 BLAKE2B 73c4d17adacda67d71c5a120c7de2324df1db35963cadbe18166dafe122e1f10dcab9d4fed0e128c077a5ca31432bfaf72f742c42680251660d397ab8bc3538b SHA512 429c7d0dc3cbcb8de1bf6eb588fb8025fee009c9b25e87c96ecc5de57cc12b558b0ab8141f333d73ca687109335f297c9f9776abbb9da9afc9d8e79041c86b7f -DIST libxml2-2.15.2.tar.xz 3148720 BLAKE2B e8adec751b6c8c8fd8358bee0c33159813601f6306b318314ffbf85324fa3ebeee2e838608a7fe365ffe4b82c4700f328fc27ae9a75cd7ed67cf256067542c2e SHA512 35f18fee772e63e8ea6220e5f5435ef5aabb5692a4519a993ec9640576d08fa45d5097280add5c5ffb5c280359d05eeecab0df24cce0b7ec35eef102d607b0b8 -DIST libxml2-2.15.3.tar.xz 3152452 BLAKE2B 2ff478b46a40957386cd1ed0627bfc0f2433f47e786f20db3942304c90289adaeb1d9c3f12665df312b86cfac42f8e4dbc18e965bf90018f93c230b9b862df66 SHA512 6f7f1aabd012454553e851bd1ee548fbd14d21c576f2b2ab9eeedab3dfba51392083f74b34f060e9b538baeea212cdb462b8669c214c711771fb9a897fdc1c60 -DIST xmlts20130923.tar.gz 641522 BLAKE2B 63a47bc69278ef510cd0b3779aed729e1b309e30efa0015d28ed051cc03f9dfddb447ab57b07b3393e8f47393d15473b0e199c34cb1f5f746b15ddfaa55670be SHA512 d5c4d26b324ed21f4e0641cd7f8b76dbf9de80df8b519982e44d41c960df29fd03618e02e9693b2d11ad06d19c4a965274c95a048ec3b9653eacb919a7f8b733 -DIST xsts-2002-01-16.tar.gz 6894439 BLAKE2B 1e9ec63d2c104655e64249e07440a04d862fcbcd4d4e19745d81b34994319b510a531c9d6df1491fae1e90b5d0764f0f1a827251ca8df5d613178b0eab01ef25 SHA512 43300af6d39c1e2221b0ed7318fe14c7464eeb6eb030ed1e22eb29b4ab17f014e2a4c8887c3a46ae5d243e3072da27f00f4e285498ae6f1288177d38d1108288 -DIST xsts-2004-01-14.tar.gz 2761085 BLAKE2B 41545995fb3a65d053257c376c07d45ffd1041a433bfbdb46d4dd87a5afb60c18c8629a3d988323f9e7a1d709775b5a7e5930276a7121c0725a22705c0976e36 SHA512 32854388d7e720ad67156baf50bf2bae7bd878ca3e35fd7e44e57cad3f434f69d56bbbedd61509f8a1faf01c9eae74a078df8fe130780b182c05c05cb1c39ebe diff --git a/dev-libs/libxml2/files/2.15.0/0001-meson-Fix-install-dir-of-man-pages.patch b/dev-libs/libxml2/files/2.15.0/0001-meson-Fix-install-dir-of-man-pages.patch deleted file mode 100644 index d787bfc04109..000000000000 --- a/dev-libs/libxml2/files/2.15.0/0001-meson-Fix-install-dir-of-man-pages.patch +++ /dev/null @@ -1,29 +0,0 @@ -From 17b056cb8ecff88326340ef9e70cd59d78d781a0 Mon Sep 17 00:00:00 2001 -Message-ID: <17b056cb8ecff88326340ef9e70cd59d78d781a0.1760256737.git.sam@gentoo.org> -From: Nick Wellnhofer <wellnhofer@aevum.de> -Date: Wed, 17 Sep 2025 11:10:51 +0200 -Subject: [PATCH 1/8] meson: Fix install dir of man pages - -Regressed when reworking documentation in 2.15. - -Fixes #985. ---- - doc/meson.build | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/doc/meson.build b/doc/meson.build -index 018b7d03..8cde254a 100644 ---- a/doc/meson.build -+++ b/doc/meson.build -@@ -31,7 +31,7 @@ if want_docs - - xsltproc = find_program('xsltproc') - types = [ -- [ 'manpages', '.1', dir_man ], -+ [ 'manpages', '.1', dir_man / 'man1' ], - [ 'html', '.html', dir_doc ], - ] - programs = [ 'xmllint' ] --- -2.51.0 - diff --git a/dev-libs/libxml2/files/2.15.0/0002-parser-Fix-attribute-normalization-and-standalone-ch.patch b/dev-libs/libxml2/files/2.15.0/0002-parser-Fix-attribute-normalization-and-standalone-ch.patch deleted file mode 100644 index 371e014c5ff7..000000000000 --- a/dev-libs/libxml2/files/2.15.0/0002-parser-Fix-attribute-normalization-and-standalone-ch.patch +++ /dev/null @@ -1,38 +0,0 @@ -From 368a0b146a7ce92fcb9ef485eb37f81e135c4c8d Mon Sep 17 00:00:00 2001 -Message-ID: <368a0b146a7ce92fcb9ef485eb37f81e135c4c8d.1760256737.git.sam@gentoo.org> -In-Reply-To: <17b056cb8ecff88326340ef9e70cd59d78d781a0.1760256737.git.sam@gentoo.org> -References: <17b056cb8ecff88326340ef9e70cd59d78d781a0.1760256737.git.sam@gentoo.org> -From: Nick Wellnhofer <wellnhofer@aevum.de> -Date: Fri, 19 Sep 2025 13:39:41 +0200 -Subject: [PATCH 2/8] parser: Fix attribute normalization and standalone check - -Regressed with e4cbc295. ---- - parser.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/parser.c b/parser.c -index 2c3d9048..c7f46a31 100644 ---- a/parser.c -+++ b/parser.c -@@ -4025,7 +4025,7 @@ xmlParseAttValueInternal(xmlParserCtxtPtr ctxt, int *attlen, int *outFlags, - int c, l, quote, entFlags, chunkSize; - int inSpace = 1; - int replaceEntities; -- int normalize = (special & XML_SPECIAL_TYPE_MASK) != 0; -+ int normalize = (special & XML_SPECIAL_TYPE_MASK) > XML_ATTRIBUTE_CDATA; - int attvalFlags = 0; - - /* Always expand namespace URIs */ -@@ -8578,7 +8578,7 @@ xmlParseAttribute2(xmlParserCtxtPtr ctxt, - - #ifdef LIBXML_VALID_ENABLED - if ((ctxt->validate) && -- (ctxt->standalone) && -+ (ctxt->standalone == 1) && - (special & XML_SPECIAL_EXTERNAL) && - (flags & XML_ATTVAL_NORM_CHANGE)) { - xmlValidityError(ctxt, XML_DTD_NOT_STANDALONE, --- -2.51.0 - diff --git a/dev-libs/libxml2/files/2.15.0/0003-Fixed-compilation-error-on-GCC-versions-prior-to-4.5.patch b/dev-libs/libxml2/files/2.15.0/0003-Fixed-compilation-error-on-GCC-versions-prior-to-4.5.patch deleted file mode 100644 index a7c1e8816a21..000000000000 --- a/dev-libs/libxml2/files/2.15.0/0003-Fixed-compilation-error-on-GCC-versions-prior-to-4.5.patch +++ /dev/null @@ -1,43 +0,0 @@ -From 7d7ac6215ffa45b13c4e16c0b1478acb73de784e Mon Sep 17 00:00:00 2001 -Message-ID: <7d7ac6215ffa45b13c4e16c0b1478acb73de784e.1760256737.git.sam@gentoo.org> -In-Reply-To: <17b056cb8ecff88326340ef9e70cd59d78d781a0.1760256737.git.sam@gentoo.org> -References: <17b056cb8ecff88326340ef9e70cd59d78d781a0.1760256737.git.sam@gentoo.org> -From: Lars Erik Wik <lars.erik.wik@northern.tech> -Date: Thu, 25 Sep 2025 11:29:05 +0200 -Subject: [PATCH 3/8] Fixed compilation error on GCC versions prior to 4.5 - -The deprecated attribute started accepting an optional string argument -in GCC version 4.5. Compiling libxml2 with GCC versions prior to that -would cause compilation errors such as: -``` -./include/libxml/xmlmemory.h:134: error: wrong number of arguments specified for 'deprecated' attribute -``` - -Now the string argument is omitted for older versions of GCC. - -Signed-off-by: Lars Erik Wik <lars.erik.wik@northern.tech> ---- - include/libxml/xmlexports.h | 6 +++++- - 1 file changed, 5 insertions(+), 1 deletion(-) - -diff --git a/include/libxml/xmlexports.h b/include/libxml/xmlexports.h -index 3149c731..3a23c548 100644 ---- a/include/libxml/xmlexports.h -+++ b/include/libxml/xmlexports.h -@@ -55,8 +55,12 @@ - #ifndef XML_DEPRECATED - #if defined(IN_LIBXML) - #define XML_DEPRECATED -- #elif __GNUC__ * 100 + __GNUC_MINOR__ >= 301 -+ #elif __GNUC__ * 100 + __GNUC_MINOR__ >= 405 -+ /* GCC 4.5+ supports deprecated with message */ - #define XML_DEPRECATED __attribute__((deprecated("See https://gnome.pages.gitlab.gnome.org/libxml2/html/deprecated.html"))) -+ #elif __GNUC__ * 100 + __GNUC_MINOR__ >= 301 -+ /* GCC 3.1+ supports deprecated without message */ -+ #define XML_DEPRECATED __attribute__((deprecated)) - #elif defined(_MSC_VER) && _MSC_VER >= 1400 - /* Available since Visual Studio 2005 */ - #define XML_DEPRECATED __declspec(deprecated("See https://gnome.pages.gitlab.gnome.org/libxml2/html/deprecated.html")) --- -2.51.0 - diff --git a/dev-libs/libxml2/files/2.15.0/0004-valid-Undeprecate-xmlValidGetPotentialChildren.patch b/dev-libs/libxml2/files/2.15.0/0004-valid-Undeprecate-xmlValidGetPotentialChildren.patch deleted file mode 100644 index b274516522a3..000000000000 --- a/dev-libs/libxml2/files/2.15.0/0004-valid-Undeprecate-xmlValidGetPotentialChildren.patch +++ /dev/null @@ -1,42 +0,0 @@ -From 49cf8724f542767fd38ac2a94b64c949b4dddb92 Mon Sep 17 00:00:00 2001 -Message-ID: <49cf8724f542767fd38ac2a94b64c949b4dddb92.1760256737.git.sam@gentoo.org> -In-Reply-To: <17b056cb8ecff88326340ef9e70cd59d78d781a0.1760256737.git.sam@gentoo.org> -References: <17b056cb8ecff88326340ef9e70cd59d78d781a0.1760256737.git.sam@gentoo.org> -From: Nick Wellnhofer <wellnhofer@aevum.de> -Date: Fri, 26 Sep 2025 16:29:10 +0200 -Subject: [PATCH 4/8] valid: Undeprecate xmlValidGetPotentialChildren - -Fixes #988. ---- - include/libxml/valid.h | 1 - - valid.c | 2 -- - 2 files changed, 3 deletions(-) - -diff --git a/include/libxml/valid.h b/include/libxml/valid.h -index 2b8b8fb1..c5638031 100644 ---- a/include/libxml/valid.h -+++ b/include/libxml/valid.h -@@ -395,7 +395,6 @@ XMLPUBFUN xmlElement * - - #ifdef LIBXML_VALID_ENABLED - --XML_DEPRECATED - XMLPUBFUN int - xmlValidGetPotentialChildren(xmlElementContent *ctree, - const xmlChar **names, -diff --git a/valid.c b/valid.c -index 5c4ecfb5..9dbace65 100644 ---- a/valid.c -+++ b/valid.c -@@ -6383,8 +6383,6 @@ xmlCtxtValidateDocument(xmlParserCtxt *ctxt, xmlDoc *doc) { - /** - * Build/extend a list of potential children allowed by the content tree - * -- * @deprecated Internal function, don't use. -- * - * @param ctree an element content tree - * @param names an array to store the list of child names - * @param len a pointer to the number of element in the list --- -2.51.0 - diff --git a/dev-libs/libxml2/files/2.15.0/0005-globals-Don-t-export-DllMain-on-Windows.patch b/dev-libs/libxml2/files/2.15.0/0005-globals-Don-t-export-DllMain-on-Windows.patch deleted file mode 100644 index a42e38a2c141..000000000000 --- a/dev-libs/libxml2/files/2.15.0/0005-globals-Don-t-export-DllMain-on-Windows.patch +++ /dev/null @@ -1,37 +0,0 @@ -From baead423c9b7f1880f460390657e92798b8fe2b9 Mon Sep 17 00:00:00 2001 -Message-ID: <baead423c9b7f1880f460390657e92798b8fe2b9.1760256737.git.sam@gentoo.org> -In-Reply-To: <17b056cb8ecff88326340ef9e70cd59d78d781a0.1760256737.git.sam@gentoo.org> -References: <17b056cb8ecff88326340ef9e70cd59d78d781a0.1760256737.git.sam@gentoo.org> -From: Nick Wellnhofer <wellnhofer@aevum.de> -Date: Sat, 27 Sep 2025 19:07:38 +0200 -Subject: [PATCH 5/8] globals: Don't export DllMain on Windows - -This shouldn't be done and lld 21 warns about it: - -https://github.com/msys2/MINGW-packages/issues/17820 -https://github.com/msys2/MINGW-packages/issues/25716 - -Regressed with f05af837. ---- - globals.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/globals.c b/globals.c -index 38db2954..de131552 100644 ---- a/globals.c -+++ b/globals.c -@@ -782,9 +782,9 @@ xmlDllMain(ATTRIBUTE_UNUSED void *hinstDLL, unsigned long fdwReason, - /* declare to avoid "no previous prototype for 'DllMain'" warning */ - /* Note that we do NOT want to include this function declaration in - a public header because it's meant to be called by Windows itself, -- not a program that uses this library. This also has to be exported. */ -+ not a program that uses this library. */ - --XMLPUBFUN BOOL WINAPI -+BOOL WINAPI - DllMain (HINSTANCE hinstDLL, - DWORD fdwReason, - LPVOID lpvReserved); --- -2.51.0 - diff --git a/dev-libs/libxml2/files/2.15.0/0006-Revert-globals-Don-t-export-DllMain-on-Windows.patch b/dev-libs/libxml2/files/2.15.0/0006-Revert-globals-Don-t-export-DllMain-on-Windows.patch deleted file mode 100644 index 8da07c565558..000000000000 --- a/dev-libs/libxml2/files/2.15.0/0006-Revert-globals-Don-t-export-DllMain-on-Windows.patch +++ /dev/null @@ -1,46 +0,0 @@ -From 03e822bc3cf029ef01da81cdade78fa14d38d3f4 Mon Sep 17 00:00:00 2001 -Message-ID: <03e822bc3cf029ef01da81cdade78fa14d38d3f4.1760256737.git.sam@gentoo.org> -In-Reply-To: <17b056cb8ecff88326340ef9e70cd59d78d781a0.1760256737.git.sam@gentoo.org> -References: <17b056cb8ecff88326340ef9e70cd59d78d781a0.1760256737.git.sam@gentoo.org> -From: Nick Wellnhofer <wellnhofer@aevum.de> -Date: Mon, 29 Sep 2025 10:46:47 +0200 -Subject: [PATCH 6/8] Revert "globals: Don't export DllMain on Windows" - -This reverts commit bd2072f8d025e7a37d527b23b84698460c5798bf. - -Apparently, this change would require to recompile downstream code. ---- - globals.c | 16 +++++++++++----- - 1 file changed, 11 insertions(+), 5 deletions(-) - -diff --git a/globals.c b/globals.c -index de131552..8306f94e 100644 ---- a/globals.c -+++ b/globals.c -@@ -779,12 +779,18 @@ int - xmlDllMain(ATTRIBUTE_UNUSED void *hinstDLL, unsigned long fdwReason, - ATTRIBUTE_UNUSED void *lpvReserved) - #else --/* declare to avoid "no previous prototype for 'DllMain'" warning */ --/* Note that we do NOT want to include this function declaration in -- a public header because it's meant to be called by Windows itself, -- not a program that uses this library. */ - --BOOL WINAPI -+/* -+ * Declare to avoid "no previous prototype for 'DllMain'" warning. -+ * -+ * Note that we do NOT want to include this function declaration in -+ * a public header because it's meant to be called by Windows itself, -+ * not a program that uses this library. -+ * -+ * It is a mistake to export this function, but changing that seems -+ * to break the ABI. -+ */ -+XMLPUBFUN BOOL WINAPI - DllMain (HINSTANCE hinstDLL, - DWORD fdwReason, - LPVOID lpvReserved); --- -2.51.0 - diff --git a/dev-libs/libxml2/files/2.15.0/0007-io-Undeprecate-xmlOutputBuffer-members.patch b/dev-libs/libxml2/files/2.15.0/0007-io-Undeprecate-xmlOutputBuffer-members.patch deleted file mode 100644 index 3fadb1510904..000000000000 --- a/dev-libs/libxml2/files/2.15.0/0007-io-Undeprecate-xmlOutputBuffer-members.patch +++ /dev/null @@ -1,50 +0,0 @@ -From 2ec85657e33e81a96314bdd36af42ac39f0ae354 Mon Sep 17 00:00:00 2001 -Message-ID: <2ec85657e33e81a96314bdd36af42ac39f0ae354.1760256737.git.sam@gentoo.org> -In-Reply-To: <17b056cb8ecff88326340ef9e70cd59d78d781a0.1760256737.git.sam@gentoo.org> -References: <17b056cb8ecff88326340ef9e70cd59d78d781a0.1760256737.git.sam@gentoo.org> -From: Nick Wellnhofer <wellnhofer@aevum.de> -Date: Mon, 29 Sep 2025 11:04:03 +0200 -Subject: [PATCH 7/8] io: Undeprecate xmlOutputBuffer members - -The public API is too buggy, so direct access to struct members is -required by projects like libxslt. ---- - include/libxml/xmlIO.h | 16 ++++++++-------- - 1 file changed, 8 insertions(+), 8 deletions(-) - -diff --git a/include/libxml/xmlIO.h b/include/libxml/xmlIO.h -index 3090215b..575b7eb5 100644 ---- a/include/libxml/xmlIO.h -+++ b/include/libxml/xmlIO.h -@@ -148,20 +148,20 @@ struct _xmlParserInputBuffer { - * Output buffer - */ - struct _xmlOutputBuffer { -- void* context XML_DEPRECATED_MEMBER; -- xmlOutputWriteCallback writecallback XML_DEPRECATED_MEMBER; -- xmlOutputCloseCallback closecallback XML_DEPRECATED_MEMBER; -+ void* context; -+ xmlOutputWriteCallback writecallback; -+ xmlOutputCloseCallback closecallback; - - /* I18N conversions to UTF-8 */ -- xmlCharEncodingHandler *encoder XML_DEPRECATED_MEMBER; -+ xmlCharEncodingHandler *encoder; - - /* Local buffer encoded in UTF-8 or ISOLatin */ -- xmlBuf *buffer XML_DEPRECATED_MEMBER; -+ xmlBuf *buffer; - /* if encoder != NULL buffer for output */ -- xmlBuf *conv XML_DEPRECATED_MEMBER; -+ xmlBuf *conv; - /* total number of byte written */ -- int written XML_DEPRECATED_MEMBER; -- int error XML_DEPRECATED_MEMBER; -+ int written; -+ int error; - }; - #endif /* LIBXML_OUTPUT_ENABLED */ - --- -2.51.0 - diff --git a/dev-libs/libxml2/files/2.15.0/0008-tree-Undeprecate-several-struct-members.patch b/dev-libs/libxml2/files/2.15.0/0008-tree-Undeprecate-several-struct-members.patch deleted file mode 100644 index 5fd13b8ec31f..000000000000 --- a/dev-libs/libxml2/files/2.15.0/0008-tree-Undeprecate-several-struct-members.patch +++ /dev/null @@ -1,112 +0,0 @@ -From 196bfd340ac3c79e2c31b3103fcaf6d39d5b2e2c Mon Sep 17 00:00:00 2001 -Message-ID: <196bfd340ac3c79e2c31b3103fcaf6d39d5b2e2c.1760256737.git.sam@gentoo.org> -In-Reply-To: <17b056cb8ecff88326340ef9e70cd59d78d781a0.1760256737.git.sam@gentoo.org> -References: <17b056cb8ecff88326340ef9e70cd59d78d781a0.1760256737.git.sam@gentoo.org> -From: Nick Wellnhofer <wellnhofer@aevum.de> -Date: Tue, 7 Oct 2025 01:05:03 +0200 -Subject: [PATCH 8/8] tree: Undeprecate several struct members - ---- - include/libxml/tree.h | 38 +++++++++++++++++++------------------- - 1 file changed, 19 insertions(+), 19 deletions(-) - -diff --git a/include/libxml/tree.h b/include/libxml/tree.h -index 32cea2fb..277110ae 100644 ---- a/include/libxml/tree.h -+++ b/include/libxml/tree.h -@@ -296,11 +296,11 @@ typedef xmlNotation *xmlNotationPtr; - */ - struct _xmlNotation { - /** Notation name */ -- const xmlChar *name XML_DEPRECATED_MEMBER; -+ const xmlChar *name; - /** Public identifier, if any */ -- const xmlChar *PublicID XML_DEPRECATED_MEMBER; -+ const xmlChar *PublicID; - /** System identifier, if any */ -- const xmlChar *SystemID XML_DEPRECATED_MEMBER; -+ const xmlChar *SystemID; - }; - - /** -@@ -375,11 +375,11 @@ struct _xmlAttribute { - struct _xmlDoc *doc; - - /** next in hash table */ -- struct _xmlAttribute *nexth XML_DEPRECATED_MEMBER; -+ struct _xmlAttribute *nexth; - /** attribute type */ -- xmlAttributeType atype XML_DEPRECATED_MEMBER; -+ xmlAttributeType atype; - /** attribute default */ -- xmlAttributeDefault def XML_DEPRECATED_MEMBER; -+ xmlAttributeDefault def; - /** default value */ - xmlChar *defaultValue; - /** enumeration tree if any */ -@@ -387,7 +387,7 @@ struct _xmlAttribute { - /** namespace prefix if any */ - const xmlChar *prefix; - /** element name */ -- const xmlChar *elem XML_DEPRECATED_MEMBER; -+ const xmlChar *elem; - }; - - /** -@@ -478,13 +478,13 @@ struct _xmlElement { - struct _xmlDoc *doc; - - /** element type */ -- xmlElementTypeVal etype XML_DEPRECATED_MEMBER; -+ xmlElementTypeVal etype; - /** allowed element content */ -- xmlElementContent *content XML_DEPRECATED_MEMBER; -+ xmlElementContent *content; - /** list of declared attributes */ -- xmlAttribute *attributes XML_DEPRECATED_MEMBER; -+ xmlAttribute *attributes; - /** namespace prefix if any */ -- const xmlChar *prefix XML_DEPRECATED_MEMBER; -+ const xmlChar *prefix; - #ifdef LIBXML_REGEXP_ENABLED - /** validating regexp */ - xmlRegexp *contModel XML_DEPRECATED_MEMBER; -@@ -564,19 +564,19 @@ struct _xmlDtd { - /* End of common part */ - - /** hash table for notations if any */ -- void *notations XML_DEPRECATED_MEMBER; -+ void *notations; - /** hash table for elements if any */ -- void *elements XML_DEPRECATED_MEMBER; -+ void *elements; - /** hash table for attributes if any */ -- void *attributes XML_DEPRECATED_MEMBER; -+ void *attributes; - /** hash table for entities if any */ -- void *entities XML_DEPRECATED_MEMBER; -+ void *entities; - /** public identifier */ -- xmlChar *ExternalID XML_DEPRECATED_MEMBER; -+ xmlChar *ExternalID; - /** system identifier */ -- xmlChar *SystemID XML_DEPRECATED_MEMBER; -+ xmlChar *SystemID; - /** hash table for parameter entities if any */ -- void *pentities XML_DEPRECATED_MEMBER; -+ void *pentities; - }; - - /** Attribute of an element */ -@@ -823,7 +823,7 @@ struct _xmlDoc { - /** external subset */ - struct _xmlDtd *extSubset; - /** used to hold the XML namespace if needed */ -- struct _xmlNs *oldNs XML_DEPRECATED_MEMBER; -+ struct _xmlNs *oldNs; - /** version string from XML declaration */ - xmlChar *version; - /** actual encoding if any */ --- -2.51.0 - diff --git a/dev-libs/libxml2/files/libxml2-2.12.9-icu-pkgconfig.patch b/dev-libs/libxml2/files/libxml2-2.12.9-icu-pkgconfig.patch deleted file mode 100644 index d00f37bfb681..000000000000 --- a/dev-libs/libxml2/files/libxml2-2.12.9-icu-pkgconfig.patch +++ /dev/null @@ -1,20 +0,0 @@ -Needed with icu-76.1 at least. Not clear why it worked before. - -/var/tmp/portage/dev-libs/libxml2-2.11.9/work/libxml2-2.11.9-abi_x86_32.x86/.libs/runtest: - symbol lookup error: /var/tmp/portage/dev-libs/libxml2-2.11.9/work/libxml2-2.11.9-abi_x86_32.x86/.libs/libxml2.so.2: undefined symbol: UCNV_FROM_U_CALLBACK_STOP ---- a/configure.ac -+++ b/configure.ac -@@ -1108,10 +1108,10 @@ if test "$with_icu" = "no" || test "$with_icu" = "" ; then - else - # Try pkg-config first so that static linking works. - # If this succeeeds, we ignore the WITH_ICU directory. -- PKG_CHECK_MODULES([ICU], [icu-i18n], [ -- WITH_ICU=1; XML_PC_REQUIRES="${XML_PC_REQUIRES} icu-i18n" -+ PKG_CHECK_MODULES([ICU], [icu-uc icu-i18n], [ -+ WITH_ICU=1; XML_PC_REQUIRES="${XML_PC_REQUIRES} icu-uc icu-i18n" - m4_ifdef([PKG_CHECK_VAR], -- [PKG_CHECK_VAR([ICU_DEFS], [icu-i18n], [DEFS])]) -+ [PKG_CHECK_VAR([ICU_DEFS], [icu-uc icu-i18n], [DEFS])]) - if test "x$ICU_DEFS" != "x"; then - ICU_CFLAGS="$ICU_CFLAGS $ICU_DEFS" - fi],[:]) diff --git a/dev-libs/libxml2/files/libxml2-2.14.2-no-git.patch b/dev-libs/libxml2/files/libxml2-2.14.2-no-git.patch deleted file mode 100644 index a74fff7ca25a..000000000000 --- a/dev-libs/libxml2/files/libxml2-2.14.2-no-git.patch +++ /dev/null @@ -1,34 +0,0 @@ -From 4d6eb90bfdfe347fb1c5fe3151ef9dae80d12866 Mon Sep 17 00:00:00 2001 -From: Alfred Wingate <parona@protonmail.com> -Date: Sun, 4 May 2025 15:41:31 +0300 -Subject: [PATCH] meson: allow building without git - -Signed-off-by: Alfred Wingate <parona@protonmail.com> ---- - meson.build | 10 +++++++--- - 1 file changed, 7 insertions(+), 3 deletions(-) - -diff --git a/meson.build b/meson.build -index a8af753d..b0c99eef 100644 ---- a/meson.build -+++ b/meson.build -@@ -17,9 +17,13 @@ v_min = v_array[1].to_int() - v_mic = v_array[2].to_int() - v_nbr = v_maj * 10000 + v_min * 100 + v_mic - v_extra = '' --r = run_command('git', 'describe', check: false) --if (r.returncode() == 0) -- v_extra = '-GIT' + r.stdout().strip() -+ -+git = find_program('git', required: false) -+if git.found() -+ r = run_command(git, 'describe', check: false) -+ if (r.returncode() == 0) -+ v_extra = '-GIT' + r.stdout().strip() -+ endif - endif - - # install paths --- -2.49.0 - diff --git a/dev-libs/libxml2/files/libxml2-2.15.2-memory-leak-python.patch b/dev-libs/libxml2/files/libxml2-2.15.2-memory-leak-python.patch deleted file mode 100644 index b42c14c1c190..000000000000 --- a/dev-libs/libxml2/files/libxml2-2.15.2-memory-leak-python.patch +++ /dev/null @@ -1,31 +0,0 @@ -https://bugs.gentoo.org/971193 -https://gitlab.gnome.org/GNOME/libxml2/-/issues/1069 -https://gitlab.gnome.org/GNOME/libxml2/-/commit/fac4411aa65a2ebf936be50856ab14c148966e9d - -From fac4411aa65a2ebf936be50856ab14c148966e9d Mon Sep 17 00:00:00 2001 -From: "Jan Alexander Steffens (heftig)" <heftig@archlinux.org> -Date: Wed, 4 Mar 2026 19:08:16 +0100 -Subject: [PATCH] catalog: Free xmlCatalogResolveCache on cleanup - -Otherwise the `tstLastError.py` test will complain about a memory leak. - -Fixes: b706c5c5b7ce11d002a5b77ff938aa3693931c12 (Add xmlCatalogResolveCache) -Fixes: https://gitlab.gnome.org/GNOME/libxml2/-/issues/1069 ---- - catalog.c | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/catalog.c b/catalog.c -index 263268c08..ff97adedf 100644 ---- a/catalog.c -+++ b/catalog.c -@@ -3338,6 +3338,7 @@ xmlCatalogCleanup(void) { - if (xmlDebugCatalogs) - xmlCatalogPrintDebug( - "Catalogs cleanup\n"); -+ xmlResetCatalogResolveCache(); - if (xmlCatalogXMLFiles != NULL) - xmlHashFree(xmlCatalogXMLFiles, xmlFreeCatalogHashEntryList); - xmlCatalogXMLFiles = NULL; --- -GitLab diff --git a/dev-libs/libxml2/libxml2-2.13.9.ebuild b/dev-libs/libxml2/libxml2-2.13.9.ebuild deleted file mode 100644 index 6ff80d4b4fea..000000000000 --- a/dev-libs/libxml2/libxml2-2.13.9.ebuild +++ /dev/null @@ -1,190 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# Note: Please bump in sync with dev-libs/libxslt - -PYTHON_COMPAT=( python3_{13..14} ) -PYTHON_REQ_USE="xml(+)" -inherit autotools python-r1 multilib-minimal - -XSTS_HOME="https://www.w3.org/XML/2004/xml-schema-test-suite" -XSTS_NAME_1="xmlschema2002-01-16" -XSTS_NAME_2="xmlschema2004-01-14" -XSTS_TARBALL_1="xsts-2002-01-16.tar.gz" -XSTS_TARBALL_2="xsts-2004-01-14.tar.gz" -XMLCONF_TARBALL="xmlts20130923.tar.gz" - -DESCRIPTION="XML C parser and toolkit" -HOMEPAGE="https://gitlab.gnome.org/GNOME/libxml2/-/wikis/home" -if [[ ${PV} == 9999 ]] ; then - EGIT_REPO_URI="https://gitlab.gnome.org/GNOME/libxml2" - inherit git-r3 -else - inherit gnome.org - KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos ~x64-solaris" -fi - -SRC_URI+=" - test? ( - ${XSTS_HOME}/${XSTS_NAME_1}/${XSTS_TARBALL_1} - ${XSTS_HOME}/${XSTS_NAME_2}/${XSTS_TARBALL_2} - https://www.w3.org/XML/Test/${XMLCONF_TARBALL} - ) -" -S="${WORKDIR}/${PN}-${PV%_rc*}" - -LICENSE="MIT" -SLOT="2" -IUSE="examples icu lzma +python readline static-libs test" -RESTRICT="!test? ( test )" -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" - -RDEPEND=" - virtual/libiconv - >=virtual/zlib-1.2.8-r1:=[${MULTILIB_USEDEP}] - icu? ( >=dev-libs/icu-51.2-r1:=[${MULTILIB_USEDEP}] ) - lzma? ( >=app-arch/xz-utils-5.0.5-r1:=[${MULTILIB_USEDEP}] ) - python? ( ${PYTHON_DEPS} ) - readline? ( sys-libs/readline:= ) -" -DEPEND="${RDEPEND}" -BDEPEND="virtual/pkgconfig" - -if [[ ${PV} == 9999 ]] ; then - BDEPEND+=" dev-build/gtk-doc-am" -fi - -MULTILIB_CHOST_TOOLS=( - /usr/bin/xml2-config -) - -PATCHES=( - "${FILESDIR}"/${PN}-2.12.9-icu-pkgconfig.patch -) - -src_unpack() { - if [[ ${PV} == 9999 ]] ; then - git-r3_src_unpack - else - local tarname=${P/_rc/-rc}.tar.xz - - # ${A} isn't used to avoid unpacking of test tarballs into ${WORKDIR}, - # as they are needed as tarballs in ${S}/xstc instead and not unpacked - unpack ${tarname} - - if [[ -n ${PATCHSET_VERSION} ]] ; then - unpack ${PN}-${PATCHSET_VERSION}.tar.xz - fi - fi - - cd "${S}" || die - - if use test ; then - cp "${DISTDIR}/${XSTS_TARBALL_1}" \ - "${DISTDIR}/${XSTS_TARBALL_2}" \ - "${S}"/xstc/ \ - || die "Failed to install test tarballs" - unpack ${XMLCONF_TARBALL} - fi -} - -src_prepare() { - default - - # Please do not remove, as else we get references to PORTAGE_TMPDIR - # in /usr/lib/python?.?/site-packages/libxml2mod.la among things. - #elibtoolize - - eautoreconf -} - -multilib_src_configure() { - libxml2_configure() { - ECONF_SOURCE="${S}" econf \ - $(use_with icu) \ - $(use_with lzma) \ - $(use_enable static-libs static) \ - $(multilib_native_use_with readline) \ - $(multilib_native_use_with readline history) \ - --with-legacy \ - "$@" - } - - # Build python bindings separately - libxml2_configure --without-python - - multilib_is_native_abi && use python && - python_foreach_impl run_in_build_dir libxml2_configure --with-python -} - -libxml2_py_emake() { - pushd "${BUILD_DIR}"/python >/dev/null || die - - emake top_builddir="${NATIVE_BUILD_DIR}" "$@" - - popd >/dev/null || die -} - -multilib_src_compile() { - default - - if multilib_is_native_abi && use python ; then - NATIVE_BUILD_DIR="${BUILD_DIR}" - python_foreach_impl run_in_build_dir libxml2_py_emake all - fi -} - -multilib_src_test() { - ln -s "${S}"/xmlconf || die - - emake check - - multilib_is_native_abi && use python && - python_foreach_impl run_in_build_dir libxml2_py_emake check -} - -multilib_src_install() { - emake DESTDIR="${D}" install - - multilib_is_native_abi && use python && - python_foreach_impl run_in_build_dir libxml2_py_emake DESTDIR="${D}" install - - # Hack until automake release is made for the optimise fix - # https://git.savannah.gnu.org/cgit/automake.git/commit/?id=bde43d0481ff540418271ac37012a574a4fcf097 - multilib_is_native_abi && use python && python_foreach_impl python_optimize -} - -multilib_src_install_all() { - einstalldocs - - if ! use examples ; then - rm -rf "${ED}"/usr/share/doc/${PF}/examples || die - rm -rf "${ED}"/usr/share/doc/${PF}/python/examples || die - fi - - rm -rf "${ED}"/usr/share/doc/${PN}-python-${PVR} || die - - find "${ED}" -name '*.la' -delete || die -} - -pkg_postinst() { - # We don't want to do the xmlcatalog during stage1, as xmlcatalog will not - # be in / and stage1 builds to ROOT=/tmp/stage1root. This fixes bug #208887. - if [[ -n "${ROOT}" ]]; then - elog "Skipping XML catalog creation for stage building (bug #208887)." - else - # Need an XML catalog, so no-one writes to a non-existent one - CATALOG="${EROOT}/etc/xml/catalog" - - # We don't want to clobber an existing catalog though, - # only ensure that one is there - # <obz@gentoo.org> - if [[ ! -e "${CATALOG}" ]]; then - [[ -d "${EROOT}/etc/xml" ]] || mkdir -p "${EROOT}/etc/xml" - "${EPREFIX}"/usr/bin/xmlcatalog --create > "${CATALOG}" - einfo "Created XML catalog in ${CATALOG}" - fi - fi -} diff --git a/dev-libs/libxml2/libxml2-2.14.6.ebuild b/dev-libs/libxml2/libxml2-2.14.6.ebuild deleted file mode 100644 index 4014e8ac89bb..000000000000 --- a/dev-libs/libxml2/libxml2-2.14.6.ebuild +++ /dev/null @@ -1,183 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# Note: Please bump in sync with dev-libs/libxslt - -PYTHON_COMPAT=( python3_{13..14} ) -PYTHON_REQ_USE="xml(+)" -inherit python-r1 meson-multilib - -XSTS_HOME="https://www.w3.org/XML/2004/xml-schema-test-suite" -XSTS_NAME_1="xmlschema2002-01-16" -XSTS_NAME_2="xmlschema2004-01-14" -XSTS_TARBALL_1="xsts-2002-01-16.tar.gz" -XSTS_TARBALL_2="xsts-2004-01-14.tar.gz" -XMLCONF_TARBALL="xmlts20130923.tar.gz" - -DESCRIPTION="XML C parser and toolkit" -HOMEPAGE="https://gitlab.gnome.org/GNOME/libxml2/-/wikis/home" -if [[ ${PV} == 9999 ]] ; then - EGIT_REPO_URI="https://gitlab.gnome.org/GNOME/libxml2" - inherit git-r3 -else - inherit gnome.org - KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos ~x64-solaris" -fi - -SRC_URI+=" - test? ( - ${XSTS_HOME}/${XSTS_NAME_1}/${XSTS_TARBALL_1} - ${XSTS_HOME}/${XSTS_NAME_2}/${XSTS_TARBALL_2} - https://www.w3.org/XML/Test/${XMLCONF_TARBALL} - ) -" -S="${WORKDIR}/${PN}-${PV%_rc*}" - -LICENSE="MIT" -# see so_version = v_maj + v_min_compat for subslot -SLOT="2/16" -IUSE="icu +python readline static-libs test" -RESTRICT="!test? ( test )" -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" - -RDEPEND=" - virtual/libiconv - >=virtual/zlib-1.2.8-r1:=[${MULTILIB_USEDEP}] - icu? ( >=dev-libs/icu-51.2-r1:=[${MULTILIB_USEDEP}] ) - python? ( ${PYTHON_DEPS} ) - readline? ( sys-libs/readline:= ) -" -DEPEND="${RDEPEND}" -BDEPEND="virtual/pkgconfig" - -MULTILIB_CHOST_TOOLS=( - /usr/bin/xml2-config -) - -PATCHES=( - "${FILESDIR}"/libxml2-2.14.2-no-git.patch -) - -src_unpack() { - if [[ ${PV} == 9999 ]] ; then - git-r3_src_unpack - else - local tarname=${P/_rc/-rc}.tar.xz - - # ${A} isn't used to avoid unpacking of test tarballs into ${WORKDIR}, - # as they are needed as tarballs in ${S}/xstc instead and not unpacked - unpack ${tarname} - - if [[ -n ${PATCHSET_VERSION} ]] ; then - unpack ${PN}-${PATCHSET_VERSION}.tar.xz - fi - fi - - cd "${S}" || die - - if use test ; then - cp "${DISTDIR}/${XSTS_TARBALL_1}" \ - "${DISTDIR}/${XSTS_TARBALL_2}" \ - "${S}"/xstc/ \ - || die "Failed to install test tarballs" - unpack ${XMLCONF_TARBALL} - fi -} - -src_prepare() { - default - - sed -e "/^dir_doc/ s/meson.project_name()$/\'${PF}\'/" -i meson.build || die -} - -python_configure() { - local emesonargs=( - $(meson_feature icu) - $(meson_native_use_feature readline) - $(meson_native_use_feature readline history) - -Dpython=enabled - ) - mkdir "${BUILD_DIR}" || die - pushd "${BUILD_DIR}" >/dev/null || die - meson_src_configure - popd >/dev/null || die -} - -multilib_src_configure() { - local emesonargs=( - -Ddefault_library=$(multilib_native_usex static-libs both shared) - $(meson_feature icu) - $(meson_native_use_feature readline) - $(meson_native_use_feature readline history) - -Dpython=disabled - - # There has been a clean break with a soname bump. - # It's time to deal with the breakage. - # bug #935452 - -Dlegacy=disabled - ) - meson_src_configure - - if multilib_is_native_abi && use python ; then - python_foreach_impl python_configure - fi -} - -python_compile() { - pushd "${BUILD_DIR}" >/dev/null || die - meson_src_compile - popd >/dev/null || die -} - -multilib_src_compile() { - meson_src_compile - - if multilib_is_native_abi && use python ; then - python_foreach_impl python_compile - fi -} - -multilib_src_test() { - meson_src_test - - if multilib_is_native_abi && use python ; then - python_foreach_impl meson_src_test - fi -} - -python_install() { - pushd "${BUILD_DIR}" >/dev/null || die - meson_src_install - python_optimize - popd >/dev/null || die -} - -multilib_src_install() { - if multilib_is_native_abi && use python ; then - python_foreach_impl python_install - fi - - meson_src_install -} - -pkg_postinst() { - # We don't want to do the xmlcatalog during stage1, as xmlcatalog will not - # be in / and stage1 builds to ROOT=/tmp/stage1root. This fixes bug #208887. - if [[ -n "${ROOT}" ]]; then - elog "Skipping XML catalog creation for stage building (bug #208887)." - else - # Need an XML catalog, so no-one writes to a non-existent one - CATALOG="${EROOT}/etc/xml/catalog" - - # We don't want to clobber an existing catalog though, - # only ensure that one is there - # <obz@gentoo.org> - if [[ ! -e "${CATALOG}" ]]; then - [[ -d "${EROOT}/etc/xml" ]] || mkdir -p "${EROOT}/etc/xml" - "${EPREFIX}"/usr/bin/xmlcatalog --create > "${CATALOG}" - einfo "Created XML catalog in ${CATALOG}" - fi - fi -} diff --git a/dev-libs/libxml2/libxml2-2.15.0-r1.ebuild b/dev-libs/libxml2/libxml2-2.15.0-r1.ebuild deleted file mode 100644 index 2b4fcfc0d17a..000000000000 --- a/dev-libs/libxml2/libxml2-2.15.0-r1.ebuild +++ /dev/null @@ -1,166 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# Note: Please bump in sync with dev-libs/libxslt - -PYTHON_COMPAT=( python3_{13..14} ) -PYTHON_REQ_USE="xml(+)" -inherit python-r1 meson-multilib - -DESCRIPTION="XML C parser and toolkit" -HOMEPAGE="https://gitlab.gnome.org/GNOME/libxml2/-/wikis/home" -if [[ ${PV} == 9999 ]] ; then - EGIT_REPO_URI="https://gitlab.gnome.org/GNOME/libxml2" - inherit git-r3 -else - inherit gnome.org - KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos ~x64-solaris" -fi - -S="${WORKDIR}/${PN}-${PV%_rc*}" - -LICENSE="MIT" -# see so_version = v_maj + v_min_compat for subslot -SLOT="2/16" -IUSE="doc icu python readline static-libs test" -RESTRICT="!test? ( test )" -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" - -RDEPEND=" - virtual/libiconv - >=virtual/zlib-1.2.8-r1:=[${MULTILIB_USEDEP}] - icu? ( >=dev-libs/icu-51.2-r1:=[${MULTILIB_USEDEP}] ) - python? ( ${PYTHON_DEPS} ) - readline? ( sys-libs/readline:= ) -" -DEPEND="${RDEPEND}" -BDEPEND=" - virtual/pkgconfig - doc? ( - app-text/docbook-xsl-stylesheets - app-text/doxygen - dev-libs/libxslt - ) - python? ( app-text/doxygen ) -" - -MULTILIB_CHOST_TOOLS=( - /usr/bin/xml2-config -) - -PATCHES=( - "${FILESDIR}"/libxml2-2.14.2-no-git.patch - "${FILESDIR}"/2.15.0/ -) - -src_unpack() { - if [[ ${PV} == 9999 ]] ; then - git-r3_src_unpack - else - default - fi - - cd "${S}" || die -} - -src_prepare() { - default - - sed -e "/^dir_doc/ s/meson.project_name()$/\'${PF}\'/" -i meson.build || die -} - -python_configure() { - local emesonargs=( - $(meson_feature icu) - $(meson_native_use_feature readline) - $(meson_native_use_feature readline history) - -Ddocs=disabled - -Dpython=enabled - -Dschematron=enabled - ) - mkdir "${BUILD_DIR}" || die - pushd "${BUILD_DIR}" >/dev/null || die - meson_src_configure - popd >/dev/null || die -} - -multilib_src_configure() { - local emesonargs=( - -Ddefault_library=$(multilib_native_usex static-libs both shared) - $(meson_feature icu) - $(meson_native_use_feature doc docs) - $(meson_native_use_feature readline) - $(meson_native_use_feature readline history) - -Dpython=disabled - -Dschematron=enabled - - # There has been a clean break with a soname bump. - # It's time to deal with the breakage. - # bug #935452 - -Dlegacy=disabled - ) - meson_src_configure - - if multilib_is_native_abi && use python ; then - python_foreach_impl python_configure - fi -} - -python_compile() { - pushd "${BUILD_DIR}" >/dev/null || die - meson_src_compile - popd >/dev/null || die -} - -multilib_src_compile() { - meson_src_compile - - if multilib_is_native_abi && use python ; then - python_foreach_impl python_compile - fi -} - -multilib_src_test() { - meson_src_test - - if multilib_is_native_abi && use python ; then - python_foreach_impl meson_src_test - fi -} - -python_install() { - pushd "${BUILD_DIR}" >/dev/null || die - meson_src_install - python_optimize - popd >/dev/null || die -} - -multilib_src_install() { - if multilib_is_native_abi && use python ; then - python_foreach_impl python_install - fi - - meson_src_install -} - -pkg_postinst() { - # We don't want to do the xmlcatalog during stage1, as xmlcatalog will not - # be in / and stage1 builds to ROOT=/tmp/stage1root. This fixes bug #208887. - if [[ -n "${ROOT}" ]]; then - elog "Skipping XML catalog creation for stage building (bug #208887)." - else - # Need an XML catalog, so no-one writes to a non-existent one - CATALOG="${EROOT}/etc/xml/catalog" - - # We don't want to clobber an existing catalog though, - # only ensure that one is there - # <obz@gentoo.org> - if [[ ! -e "${CATALOG}" ]]; then - [[ -d "${EROOT}/etc/xml" ]] || mkdir -p "${EROOT}/etc/xml" - "${EPREFIX}"/usr/bin/xmlcatalog --create > "${CATALOG}" - einfo "Created XML catalog in ${CATALOG}" - fi - fi -} diff --git a/dev-libs/libxml2/libxml2-2.15.1.ebuild b/dev-libs/libxml2/libxml2-2.15.1.ebuild deleted file mode 100644 index f434cea80c34..000000000000 --- a/dev-libs/libxml2/libxml2-2.15.1.ebuild +++ /dev/null @@ -1,165 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# Note: Please bump in sync with dev-libs/libxslt - -PYTHON_COMPAT=( python3_{13..14} ) -PYTHON_REQ_USE="xml(+)" -inherit python-r1 meson-multilib - -DESCRIPTION="XML C parser and toolkit" -HOMEPAGE="https://gitlab.gnome.org/GNOME/libxml2/-/wikis/home" -if [[ ${PV} == 9999 ]] ; then - EGIT_REPO_URI="https://gitlab.gnome.org/GNOME/libxml2" - inherit git-r3 -else - inherit gnome.org - KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos ~x64-solaris" -fi - -S="${WORKDIR}/${PN}-${PV%_rc*}" - -LICENSE="MIT" -# see so_version = v_maj + v_min_compat for subslot -SLOT="2/16" -IUSE="doc icu python readline static-libs test" -RESTRICT="!test? ( test )" -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" - -RDEPEND=" - virtual/libiconv - >=virtual/zlib-1.2.8-r1:=[${MULTILIB_USEDEP}] - icu? ( >=dev-libs/icu-51.2-r1:=[${MULTILIB_USEDEP}] ) - python? ( ${PYTHON_DEPS} ) - readline? ( sys-libs/readline:= ) -" -DEPEND="${RDEPEND}" -BDEPEND=" - virtual/pkgconfig - doc? ( - app-text/docbook-xsl-stylesheets - app-text/doxygen - dev-libs/libxslt - ) - python? ( app-text/doxygen ) -" - -MULTILIB_CHOST_TOOLS=( - /usr/bin/xml2-config -) - -PATCHES=( - "${FILESDIR}"/libxml2-2.14.2-no-git.patch -) - -src_unpack() { - if [[ ${PV} == 9999 ]] ; then - git-r3_src_unpack - else - default - fi - - cd "${S}" || die -} - -src_prepare() { - default - - sed -e "/^dir_doc/ s/meson.project_name()$/\'${PF}\'/" -i meson.build || die -} - -python_configure() { - local emesonargs=( - $(meson_feature icu) - $(meson_native_use_feature readline) - $(meson_native_use_feature readline history) - -Ddocs=disabled - -Dpython=enabled - -Dschematron=enabled - ) - mkdir "${BUILD_DIR}" || die - pushd "${BUILD_DIR}" >/dev/null || die - meson_src_configure - popd >/dev/null || die -} - -multilib_src_configure() { - local emesonargs=( - -Ddefault_library=$(multilib_native_usex static-libs both shared) - $(meson_feature icu) - $(meson_native_use_feature doc docs) - $(meson_native_use_feature readline) - $(meson_native_use_feature readline history) - -Dpython=disabled - -Dschematron=enabled - - # There has been a clean break with a soname bump. - # It's time to deal with the breakage. - # bug #935452 - -Dlegacy=disabled - ) - meson_src_configure - - if multilib_is_native_abi && use python ; then - python_foreach_impl python_configure - fi -} - -python_compile() { - pushd "${BUILD_DIR}" >/dev/null || die - meson_src_compile - popd >/dev/null || die -} - -multilib_src_compile() { - meson_src_compile - - if multilib_is_native_abi && use python ; then - python_foreach_impl python_compile - fi -} - -multilib_src_test() { - meson_src_test - - if multilib_is_native_abi && use python ; then - python_foreach_impl meson_src_test - fi -} - -python_install() { - pushd "${BUILD_DIR}" >/dev/null || die - meson_src_install - python_optimize - popd >/dev/null || die -} - -multilib_src_install() { - if multilib_is_native_abi && use python ; then - python_foreach_impl python_install - fi - - meson_src_install -} - -pkg_postinst() { - # We don't want to do the xmlcatalog during stage1, as xmlcatalog will not - # be in / and stage1 builds to ROOT=/tmp/stage1root. This fixes bug #208887. - if [[ -n "${ROOT}" ]]; then - elog "Skipping XML catalog creation for stage building (bug #208887)." - else - # Need an XML catalog, so no-one writes to a non-existent one - CATALOG="${EROOT}/etc/xml/catalog" - - # We don't want to clobber an existing catalog though, - # only ensure that one is there - # <obz@gentoo.org> - if [[ ! -e "${CATALOG}" ]]; then - [[ -d "${EROOT}/etc/xml" ]] || mkdir -p "${EROOT}/etc/xml" - "${EPREFIX}"/usr/bin/xmlcatalog --create > "${CATALOG}" - einfo "Created XML catalog in ${CATALOG}" - fi - fi -} diff --git a/dev-libs/libxml2/libxml2-2.15.2-r1.ebuild b/dev-libs/libxml2/libxml2-2.15.2-r1.ebuild deleted file mode 100644 index d5b853268bc0..000000000000 --- a/dev-libs/libxml2/libxml2-2.15.2-r1.ebuild +++ /dev/null @@ -1,166 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# Note: Please bump in sync with dev-libs/libxslt - -PYTHON_COMPAT=( python3_{13..14} ) -PYTHON_REQ_USE="xml(+)" -inherit python-r1 meson-multilib - -DESCRIPTION="XML C parser and toolkit" -HOMEPAGE="https://gitlab.gnome.org/GNOME/libxml2/-/wikis/home" -if [[ ${PV} == 9999 ]] ; then - EGIT_REPO_URI="https://gitlab.gnome.org/GNOME/libxml2" - inherit git-r3 -else - inherit gnome.org - KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos ~x64-solaris" -fi - -S="${WORKDIR}/${PN}-${PV%_rc*}" - -LICENSE="MIT" -# see so_version = v_maj + v_min_compat for subslot -SLOT="2/16" -IUSE="doc icu python readline static-libs test" -RESTRICT="!test? ( test )" -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" - -RDEPEND=" - virtual/libiconv - >=virtual/zlib-1.2.8-r1:=[${MULTILIB_USEDEP}] - icu? ( >=dev-libs/icu-51.2-r1:=[${MULTILIB_USEDEP}] ) - python? ( ${PYTHON_DEPS} ) - readline? ( sys-libs/readline:= ) -" -DEPEND="${RDEPEND}" -BDEPEND=" - virtual/pkgconfig - doc? ( - app-text/docbook-xsl-stylesheets - app-text/doxygen - dev-libs/libxslt - ) - python? ( app-text/doxygen ) -" - -MULTILIB_CHOST_TOOLS=( - /usr/bin/xml2-config -) - -PATCHES=( - "${FILESDIR}"/${PN}-2.14.2-no-git.patch - "${FILESDIR}"/${P}-memory-leak-python.patch -) - -src_unpack() { - if [[ ${PV} == 9999 ]] ; then - git-r3_src_unpack - else - default - fi - - cd "${S}" || die -} - -src_prepare() { - default - - sed -e "/^dir_doc/ s/meson.project_name()$/\'${PF}\'/" -i meson.build || die -} - -python_configure() { - local emesonargs=( - $(meson_feature icu) - $(meson_native_use_feature readline) - $(meson_native_use_feature readline history) - -Ddocs=disabled - -Dpython=enabled - -Dschematron=enabled - ) - mkdir "${BUILD_DIR}" || die - pushd "${BUILD_DIR}" >/dev/null || die - meson_src_configure - popd >/dev/null || die -} - -multilib_src_configure() { - local emesonargs=( - -Ddefault_library=$(multilib_native_usex static-libs both shared) - $(meson_feature icu) - $(meson_native_use_feature doc docs) - $(meson_native_use_feature readline) - $(meson_native_use_feature readline history) - -Dpython=disabled - -Dschematron=enabled - - # There has been a clean break with a soname bump. - # It's time to deal with the breakage. - # bug #935452 - -Dlegacy=disabled - ) - meson_src_configure - - if multilib_is_native_abi && use python ; then - python_foreach_impl python_configure - fi -} - -python_compile() { - pushd "${BUILD_DIR}" >/dev/null || die - meson_src_compile - popd >/dev/null || die -} - -multilib_src_compile() { - meson_src_compile - - if multilib_is_native_abi && use python ; then - python_foreach_impl python_compile - fi -} - -multilib_src_test() { - meson_src_test - - if multilib_is_native_abi && use python ; then - python_foreach_impl meson_src_test - fi -} - -python_install() { - pushd "${BUILD_DIR}" >/dev/null || die - meson_src_install - python_optimize - popd >/dev/null || die -} - -multilib_src_install() { - if multilib_is_native_abi && use python ; then - python_foreach_impl python_install - fi - - meson_src_install -} - -pkg_postinst() { - # We don't want to do the xmlcatalog during stage1, as xmlcatalog will not - # be in / and stage1 builds to ROOT=/tmp/stage1root. This fixes bug #208887. - if [[ -n "${ROOT}" ]]; then - elog "Skipping XML catalog creation for stage building (bug #208887)." - else - # Need an XML catalog, so no-one writes to a non-existent one - CATALOG="${EROOT}/etc/xml/catalog" - - # We don't want to clobber an existing catalog though, - # only ensure that one is there - # <obz@gentoo.org> - if [[ ! -e "${CATALOG}" ]]; then - [[ -d "${EROOT}/etc/xml" ]] || mkdir -p "${EROOT}/etc/xml" - "${EPREFIX}"/usr/bin/xmlcatalog --create > "${CATALOG}" - einfo "Created XML catalog in ${CATALOG}" - fi - fi -} diff --git a/dev-libs/libxml2/libxml2-2.15.2.ebuild b/dev-libs/libxml2/libxml2-2.15.2.ebuild deleted file mode 100644 index 836d3b304c8f..000000000000 --- a/dev-libs/libxml2/libxml2-2.15.2.ebuild +++ /dev/null @@ -1,165 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# Note: Please bump in sync with dev-libs/libxslt - -PYTHON_COMPAT=( python3_{13..14} ) -PYTHON_REQ_USE="xml(+)" -inherit python-r1 meson-multilib - -DESCRIPTION="XML C parser and toolkit" -HOMEPAGE="https://gitlab.gnome.org/GNOME/libxml2/-/wikis/home" -if [[ ${PV} == 9999 ]] ; then - EGIT_REPO_URI="https://gitlab.gnome.org/GNOME/libxml2" - inherit git-r3 -else - inherit gnome.org - KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos ~x64-solaris" -fi - -S="${WORKDIR}/${PN}-${PV%_rc*}" - -LICENSE="MIT" -# see so_version = v_maj + v_min_compat for subslot -SLOT="2/16" -IUSE="doc icu python readline static-libs test" -RESTRICT="!test? ( test )" -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" - -RDEPEND=" - virtual/libiconv - >=virtual/zlib-1.2.8-r1:=[${MULTILIB_USEDEP}] - icu? ( >=dev-libs/icu-51.2-r1:=[${MULTILIB_USEDEP}] ) - python? ( ${PYTHON_DEPS} ) - readline? ( sys-libs/readline:= ) -" -DEPEND="${RDEPEND}" -BDEPEND=" - virtual/pkgconfig - doc? ( - app-text/docbook-xsl-stylesheets - app-text/doxygen - dev-libs/libxslt - ) - python? ( app-text/doxygen ) -" - -MULTILIB_CHOST_TOOLS=( - /usr/bin/xml2-config -) - -PATCHES=( - "${FILESDIR}"/libxml2-2.14.2-no-git.patch -) - -src_unpack() { - if [[ ${PV} == 9999 ]] ; then - git-r3_src_unpack - else - default - fi - - cd "${S}" || die -} - -src_prepare() { - default - - sed -e "/^dir_doc/ s/meson.project_name()$/\'${PF}\'/" -i meson.build || die -} - -python_configure() { - local emesonargs=( - $(meson_feature icu) - $(meson_native_use_feature readline) - $(meson_native_use_feature readline history) - -Ddocs=disabled - -Dpython=enabled - -Dschematron=enabled - ) - mkdir "${BUILD_DIR}" || die - pushd "${BUILD_DIR}" >/dev/null || die - meson_src_configure - popd >/dev/null || die -} - -multilib_src_configure() { - local emesonargs=( - -Ddefault_library=$(multilib_native_usex static-libs both shared) - $(meson_feature icu) - $(meson_native_use_feature doc docs) - $(meson_native_use_feature readline) - $(meson_native_use_feature readline history) - -Dpython=disabled - -Dschematron=enabled - - # There has been a clean break with a soname bump. - # It's time to deal with the breakage. - # bug #935452 - -Dlegacy=disabled - ) - meson_src_configure - - if multilib_is_native_abi && use python ; then - python_foreach_impl python_configure - fi -} - -python_compile() { - pushd "${BUILD_DIR}" >/dev/null || die - meson_src_compile - popd >/dev/null || die -} - -multilib_src_compile() { - meson_src_compile - - if multilib_is_native_abi && use python ; then - python_foreach_impl python_compile - fi -} - -multilib_src_test() { - meson_src_test - - if multilib_is_native_abi && use python ; then - python_foreach_impl meson_src_test - fi -} - -python_install() { - pushd "${BUILD_DIR}" >/dev/null || die - meson_src_install - python_optimize - popd >/dev/null || die -} - -multilib_src_install() { - if multilib_is_native_abi && use python ; then - python_foreach_impl python_install - fi - - meson_src_install -} - -pkg_postinst() { - # We don't want to do the xmlcatalog during stage1, as xmlcatalog will not - # be in / and stage1 builds to ROOT=/tmp/stage1root. This fixes bug #208887. - if [[ -n "${ROOT}" ]]; then - elog "Skipping XML catalog creation for stage building (bug #208887)." - else - # Need an XML catalog, so no-one writes to a non-existent one - CATALOG="${EROOT}/etc/xml/catalog" - - # We don't want to clobber an existing catalog though, - # only ensure that one is there - # <obz@gentoo.org> - if [[ ! -e "${CATALOG}" ]]; then - [[ -d "${EROOT}/etc/xml" ]] || mkdir -p "${EROOT}/etc/xml" - "${EPREFIX}"/usr/bin/xmlcatalog --create > "${CATALOG}" - einfo "Created XML catalog in ${CATALOG}" - fi - fi -} diff --git a/dev-libs/libxml2/libxml2-2.15.3.ebuild b/dev-libs/libxml2/libxml2-2.15.3.ebuild deleted file mode 100644 index 26f95d9bd992..000000000000 --- a/dev-libs/libxml2/libxml2-2.15.3.ebuild +++ /dev/null @@ -1,165 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# Note: Please bump in sync with dev-libs/libxslt - -PYTHON_COMPAT=( python3_{13..14} ) -PYTHON_REQ_USE="xml(+)" -inherit python-r1 meson-multilib - -DESCRIPTION="XML C parser and toolkit" -HOMEPAGE="https://gitlab.gnome.org/GNOME/libxml2/-/wikis/home" -if [[ ${PV} == 9999 ]] ; then - EGIT_REPO_URI="https://gitlab.gnome.org/GNOME/libxml2" - inherit git-r3 -else - inherit gnome.org - KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos ~x64-solaris" -fi - -S="${WORKDIR}/${PN}-${PV%_rc*}" - -LICENSE="MIT" -# see so_version = v_maj + v_min_compat for subslot -SLOT="2/16" -IUSE="doc icu python readline static-libs test" -RESTRICT="!test? ( test )" -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" - -RDEPEND=" - virtual/libiconv - >=virtual/zlib-1.2.8-r1:=[${MULTILIB_USEDEP}] - icu? ( >=dev-libs/icu-51.2-r1:=[${MULTILIB_USEDEP}] ) - python? ( ${PYTHON_DEPS} ) - readline? ( sys-libs/readline:= ) -" -DEPEND="${RDEPEND}" -BDEPEND=" - virtual/pkgconfig - doc? ( - app-text/docbook-xsl-stylesheets - app-text/doxygen - dev-libs/libxslt - ) - python? ( app-text/doxygen ) -" - -MULTILIB_CHOST_TOOLS=( - /usr/bin/xml2-config -) - -PATCHES=( - "${FILESDIR}"/${PN}-2.14.2-no-git.patch -) - -src_unpack() { - if [[ ${PV} == 9999 ]] ; then - git-r3_src_unpack - else - default - fi - - cd "${S}" || die -} - -src_prepare() { - default - - sed -e "/^dir_doc/ s/meson.project_name()$/\'${PF}\'/" -i meson.build || die -} - -python_configure() { - local emesonargs=( - $(meson_feature icu) - $(meson_native_use_feature readline) - $(meson_native_use_feature readline history) - -Ddocs=disabled - -Dpython=enabled - -Dschematron=enabled - ) - mkdir "${BUILD_DIR}" || die - pushd "${BUILD_DIR}" >/dev/null || die - meson_src_configure - popd >/dev/null || die -} - -multilib_src_configure() { - local emesonargs=( - -Ddefault_library=$(multilib_native_usex static-libs both shared) - $(meson_feature icu) - $(meson_native_use_feature doc docs) - $(meson_native_use_feature readline) - $(meson_native_use_feature readline history) - -Dpython=disabled - -Dschematron=enabled - - # There has been a clean break with a soname bump. - # It's time to deal with the breakage. - # bug #935452 - -Dlegacy=disabled - ) - meson_src_configure - - if multilib_is_native_abi && use python ; then - python_foreach_impl python_configure - fi -} - -python_compile() { - pushd "${BUILD_DIR}" >/dev/null || die - meson_src_compile - popd >/dev/null || die -} - -multilib_src_compile() { - meson_src_compile - - if multilib_is_native_abi && use python ; then - python_foreach_impl python_compile - fi -} - -multilib_src_test() { - meson_src_test - - if multilib_is_native_abi && use python ; then - python_foreach_impl meson_src_test - fi -} - -python_install() { - pushd "${BUILD_DIR}" >/dev/null || die - meson_src_install - python_optimize - popd >/dev/null || die -} - -multilib_src_install() { - if multilib_is_native_abi && use python ; then - python_foreach_impl python_install - fi - - meson_src_install -} - -pkg_postinst() { - # We don't want to do the xmlcatalog during stage1, as xmlcatalog will not - # be in / and stage1 builds to ROOT=/tmp/stage1root. This fixes bug #208887. - if [[ -n "${ROOT}" ]]; then - elog "Skipping XML catalog creation for stage building (bug #208887)." - else - # Need an XML catalog, so no-one writes to a non-existent one - CATALOG="${EROOT}/etc/xml/catalog" - - # We don't want to clobber an existing catalog though, - # only ensure that one is there - # <obz@gentoo.org> - if [[ ! -e "${CATALOG}" ]]; then - [[ -d "${EROOT}/etc/xml" ]] || mkdir -p "${EROOT}/etc/xml" - "${EPREFIX}"/usr/bin/xmlcatalog --create > "${CATALOG}" - einfo "Created XML catalog in ${CATALOG}" - fi - fi -} diff --git a/dev-libs/libxml2/libxml2-9999.ebuild b/dev-libs/libxml2/libxml2-9999.ebuild deleted file mode 100644 index 4fac8573cfe9..000000000000 --- a/dev-libs/libxml2/libxml2-9999.ebuild +++ /dev/null @@ -1,161 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# Note: Please bump in sync with dev-libs/libxslt - -PYTHON_COMPAT=( python3_{13..14} ) -PYTHON_REQ_USE="xml(+)" -inherit python-r1 meson-multilib - -DESCRIPTION="XML C parser and toolkit" -HOMEPAGE="https://gitlab.gnome.org/GNOME/libxml2/-/wikis/home" -if [[ ${PV} == 9999 ]] ; then - EGIT_REPO_URI="https://gitlab.gnome.org/GNOME/libxml2" - inherit git-r3 -else - inherit gnome.org - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" -fi - -S="${WORKDIR}/${PN}-${PV%_rc*}" - -LICENSE="MIT" -# see so_version = v_maj + v_min_compat for subslot -SLOT="2/16" -IUSE="doc icu python readline static-libs test" -RESTRICT="!test? ( test )" -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" - -RDEPEND=" - virtual/libiconv - >=virtual/zlib-1.2.8-r1:=[${MULTILIB_USEDEP}] - icu? ( >=dev-libs/icu-51.2-r1:=[${MULTILIB_USEDEP}] ) - python? ( ${PYTHON_DEPS} ) - readline? ( sys-libs/readline:= ) -" -DEPEND="${RDEPEND}" -BDEPEND=" - virtual/pkgconfig - doc? ( - app-text/docbook-xsl-stylesheets - app-text/doxygen - dev-libs/libxslt - ) - python? ( app-text/doxygen ) -" - -MULTILIB_CHOST_TOOLS=( - /usr/bin/xml2-config -) - -src_unpack() { - if [[ ${PV} == 9999 ]] ; then - git-r3_src_unpack - else - default - fi - - cd "${S}" || die -} - -src_prepare() { - default - - sed -e "/^dir_doc/ s/meson.project_name()$/\'${PF}\'/" -i meson.build || die -} - -python_configure() { - local emesonargs=( - $(meson_feature icu) - $(meson_native_use_feature readline) - $(meson_native_use_feature readline history) - -Ddocs=disabled - -Dpython=enabled - -Dschematron=enabled - ) - mkdir "${BUILD_DIR}" || die - pushd "${BUILD_DIR}" >/dev/null || die - meson_src_configure - popd >/dev/null || die -} - -multilib_src_configure() { - local emesonargs=( - -Ddefault_library=$(multilib_native_usex static-libs both shared) - $(meson_feature icu) - $(meson_native_use_feature doc docs) - $(meson_native_use_feature readline) - $(meson_native_use_feature readline history) - -Dpython=disabled - -Dschematron=enabled - - # There has been a clean break with a soname bump. - # It's time to deal with the breakage. - # bug #935452 - -Dlegacy=disabled - ) - meson_src_configure - - if multilib_is_native_abi && use python ; then - python_foreach_impl python_configure - fi -} - -python_compile() { - pushd "${BUILD_DIR}" >/dev/null || die - meson_src_compile - popd >/dev/null || die -} - -multilib_src_compile() { - meson_src_compile - - if multilib_is_native_abi && use python ; then - python_foreach_impl python_compile - fi -} - -multilib_src_test() { - meson_src_test - - if multilib_is_native_abi && use python ; then - python_foreach_impl meson_src_test - fi -} - -python_install() { - pushd "${BUILD_DIR}" >/dev/null || die - meson_src_install - python_optimize - popd >/dev/null || die -} - -multilib_src_install() { - if multilib_is_native_abi && use python ; then - python_foreach_impl python_install - fi - - meson_src_install -} - -pkg_postinst() { - # We don't want to do the xmlcatalog during stage1, as xmlcatalog will not - # be in / and stage1 builds to ROOT=/tmp/stage1root. This fixes bug #208887. - if [[ -n "${ROOT}" ]]; then - elog "Skipping XML catalog creation for stage building (bug #208887)." - else - # Need an XML catalog, so no-one writes to a non-existent one - CATALOG="${EROOT}/etc/xml/catalog" - - # We don't want to clobber an existing catalog though, - # only ensure that one is there - # <obz@gentoo.org> - if [[ ! -e "${CATALOG}" ]]; then - [[ -d "${EROOT}/etc/xml" ]] || mkdir -p "${EROOT}/etc/xml" - "${EPREFIX}"/usr/bin/xmlcatalog --create > "${CATALOG}" - einfo "Created XML catalog in ${CATALOG}" - fi - fi -} diff --git a/dev-libs/libxml2/metadata.xml b/dev-libs/libxml2/metadata.xml deleted file mode 100644 index 46e3b3676cb5..000000000000 --- a/dev-libs/libxml2/metadata.xml +++ /dev/null @@ -1,16 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>sam@gentoo.org</email> - <name>Sam James</name> - </maintainer> - <maintainer type="project"> - <email>base-system@gentoo.org</email> - <name>Gentoo Base System</name> - </maintainer> - <upstream> - <remote-id type="cpe">cpe:/a:xmlsoft:libxml2</remote-id> - <remote-id type="gnome-gitlab">GNOME/libxml2</remote-id> - </upstream> -</pkgmetadata> |
