commit:     255e9eb24aa04b45def3236adbc33fa8284321d7
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 29 15:34:47 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Aug 29 15:35:47 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=255e9eb2

dev-libs/libxml2: add 2.10.2

Upstream release is made with latest automake version but that
doesn't include mgorny's fix, so it's still a bit broken, and
we need to use python_optimize [0].

I've asked upstream (automake) for a new release but not sure
if it'll happen. Even then, would take a while to filter
into e.g. Debian.

[0] 
https://git.savannah.gnu.org/cgit/automake.git/commit/?id=bde43d0481ff540418271ac37012a574a4fcf097
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-libs/libxml2/Manifest                                       | 1 +
 dev-libs/libxml2/{libxml2-9999.ebuild => libxml2-2.10.2.ebuild} | 4 ++++
 dev-libs/libxml2/libxml2-9999.ebuild                            | 4 ++++
 3 files changed, 9 insertions(+)

diff --git a/dev-libs/libxml2/Manifest b/dev-libs/libxml2/Manifest
index 21abbdb9281f..967a834303b7 100644
--- a/dev-libs/libxml2/Manifest
+++ b/dev-libs/libxml2/Manifest
@@ -1,5 +1,6 @@
 DIST libxml2-2.10.0.tar.xz 2698684 BLAKE2B 
655b9241db06b98f5d33f6d02f2dbf5f998ae9a125f2c16e4d8ce3ee902d53ec14e728e7f3de2aea47b45e825b9ed78f17caffd9e4e9afbde40e1d7b1e047e7f
 SHA512 
0a7a58414c3a4f21e9b052cc18f18032bc646f2690483bb95e37e132a3fc5789f0ec7bbc91b58497df59dbccf0e52f6e6280947762f47a035e85a316e96b1623
 DIST libxml2-2.10.1.tar.xz 2697480 BLAKE2B 
a6297058b9a4f351dbf078a4cbcee2be0a30d3cae10fad53e8972b8ddff833b1612a25af8784be547aa6a3e7bafa126a3a23e5a7b3b75d17d4484af668eba4d0
 SHA512 
7ae653eef725706c825a8755da14a92124c3f85b38f81fd1148c6e373b149d095eae935a47d874d210dafc7e76f09c019866657b8f9d6a44c666ce741e12f3ce
+DIST libxml2-2.10.2.tar.xz 2636304 BLAKE2B 
3ccc11ac73a81ee7ea3e565597c95e74923eba3d858c9a915aecf1dcf2fb6ab3e46c6ed2ea504261a822de2ac2132834ffa8ffd039e9e1390a9637a2dac7d6c5
 SHA512 
c26ee428ae2fae2326fcaec156ed36c5f5d63aeb4839d626f6544a3fad158a1602e9dc0d542b2f947e6a8de0c09ff130da2626a30aec27446ce09614f78466b5
 DIST libxml2-2.9.14-patches-r0.tar.bz2 8304 BLAKE2B 
067faba5bfcbf81e2ef356925c0d3b4ef0aff7604db049366180b8217b781c60c2746be348c5e1a09de925e54fc69e3e431f7e2199ce326b6ff88ea9352ca45c
 SHA512 
e97bada92a14ef0501a5f7be312d35d26eb52b648102d028dc11b3eef62ee0597540d0b474f54bd015a914a9cb7600d4dc34912b0ead5230136e945d80ae8428
 DIST libxml2-2.9.14.tar.xz 3129968 BLAKE2B 
ab584503d5209e4aaf41ae6f44aed5e94c0ae29e28cfba39a9012568aa97515af861b47891b84d2a352a07357626ba50ddb1e344e911fa14ff2ce93c5beff1f1
 SHA512 
d08e6cafb289c499fdc5b3a12181e032a34f7a249bc66758859f964d3e71e19fd69be79921e1a9d8ab1e692d15b13f5fae95eeb10c3236974d89e218f5107606
 DIST xmlts20130923.tar.gz 641522 BLAKE2B 
63a47bc69278ef510cd0b3779aed729e1b309e30efa0015d28ed051cc03f9dfddb447ab57b07b3393e8f47393d15473b0e199c34cb1f5f746b15ddfaa55670be
 SHA512 
d5c4d26b324ed21f4e0641cd7f8b76dbf9de80df8b519982e44d41c960df29fd03618e02e9693b2d11ad06d19c4a965274c95a048ec3b9653eacb919a7f8b733

diff --git a/dev-libs/libxml2/libxml2-9999.ebuild 
b/dev-libs/libxml2/libxml2-2.10.2.ebuild
similarity index 95%
copy from dev-libs/libxml2/libxml2-9999.ebuild
copy to dev-libs/libxml2/libxml2-2.10.2.ebuild
index 1c24959ee8b4..b8f7fa168857 100644
--- a/dev-libs/libxml2/libxml2-9999.ebuild
+++ b/dev-libs/libxml2/libxml2-2.10.2.ebuild
@@ -154,6 +154,10 @@ multilib_src_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() {

diff --git a/dev-libs/libxml2/libxml2-9999.ebuild 
b/dev-libs/libxml2/libxml2-9999.ebuild
index 1c24959ee8b4..b8f7fa168857 100644
--- a/dev-libs/libxml2/libxml2-9999.ebuild
+++ b/dev-libs/libxml2/libxml2-9999.ebuild
@@ -154,6 +154,10 @@ multilib_src_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() {

Reply via email to