[gentoo-commits] repo/gentoo:master commit in: app-pda/libplist/

2024-05-28 Thread Ionen Wolkens
commit: 2477b0ec35ae30ff7ce1ef9974bc3a5943db92a6
Author: Matoro Mahri  matoro  tk>
AuthorDate: Tue May 28 19:47:05 2024 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Tue May 28 22:26:58 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2477b0ec

app-pda/libplist: Keyword 2.3.0-r2 hppa, #927405

Signed-off-by: Matoro Mahri  matoro.tk>
Signed-off-by: Ionen Wolkens  gentoo.org>

 app-pda/libplist/libplist-2.3.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-pda/libplist/libplist-2.3.0-r2.ebuild 
b/app-pda/libplist/libplist-2.3.0-r2.ebuild
index f5b231d63d4a..8b80dfcaf736 100644
--- a/app-pda/libplist/libplist-2.3.0-r2.ebuild
+++ b/app-pda/libplist/libplist-2.3.0-r2.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://cgit.libimobiledevice.org/${PN}.git/snapshot/${P}.tar.xz;
 
 LICENSE="GPL-2+ LGPL-2.1+"
 SLOT="0/4"
-KEYWORDS="amd64 ~arm arm64 ~loong ppc ~ppc64 ~riscv ~s390 x86"
+KEYWORDS="amd64 ~arm arm64 ~hppa ~loong ppc ~ppc64 ~riscv ~s390 x86"
 
 DEPEND="${RDEPEND}"
 BDEPEND="virtual/pkgconfig"



[gentoo-commits] repo/gentoo:master commit in: app-pda/libplist/

2024-04-19 Thread Sam James
commit: 781cd8cc2b6606abbdc7c5055d91ec4b842a9fad
Author: Sam James  gentoo  org>
AuthorDate: Fri Apr 19 10:18:11 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Apr 19 10:38:34 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=781cd8cc

app-pda/libplist: switch to smaller distfile

Contents are identical.

Signed-off-by: Sam James  gentoo.org>

 app-pda/libplist/Manifest | 4 ++--
 app-pda/libplist/libplist-2.2.0-r4.ebuild | 4 ++--
 app-pda/libplist/libplist-2.3.0-r1.ebuild | 4 ++--
 app-pda/libplist/libplist-2.3.0-r2.ebuild | 2 +-
 4 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/app-pda/libplist/Manifest b/app-pda/libplist/Manifest
index 40227277e1ef..d9ffa60af239 100644
--- a/app-pda/libplist/Manifest
+++ b/app-pda/libplist/Manifest
@@ -1,2 +1,2 @@
-DIST libplist-2.2.0.tar.bz2 126808 BLAKE2B 
7c3ec04aaa52eca33ae28851a6524c9ea531df939feef0f10827c8c2de78a6ccd856ea4d8a568b146ccb5de96f70dd5accec34aa2fdd61f9e6eba01256c0b518
 SHA512 
641bfd3ec0565f104d3a2d1ebdf6137bc9252b67ce90550e24ab0d4e820e119ba4f8f1ba04a0358d995d196fa61e35f2f0ee8ba37fc0270752ae842ab1f5
-DIST libplist-2.3.0.tar.bz2 151851 BLAKE2B 
0ea595c5de30b413548526e5f26660c96d53216182111e00817369d5069e2fa1a4982bc7252a97160e3d9f92d5edadd57bd1be0598754d1ed0872a85a6a6504d
 SHA512 
494858ebd6ba41f51d714b4da470ba40c564d9f327dc07c8cbe50cb301a8ef078cd43fedd45473c3a8d1a714ce149fe6365c44b2cd4a12fb711256ce273720e4
+DIST libplist-2.2.0.tar.xz 102932 BLAKE2B 
cca3099d5a2230feb67fd4d54777f2c3d0a083b811d2b7e3365399d2c2d2fff922a3c9f4924400810b71d92668779ede663c9ed2cebc8acd6f3b2c6e09285d90
 SHA512 
913a8d05239496d8e8e458e1cb974813d8b5ca013df9e0fddb97b1da6006c300f6ba2be2f3826fd157c0ae4ff2d003ecfdc55e2401884be26360ffe0ebdabd79
+DIST libplist-2.3.0.tar.xz 123876 BLAKE2B 
2ed5a7572fcdb98e537af842af1d056bb5fe42ae83b7e71e1a57535ee388fc263c9b7a495feccbe5d2d7c53c89987fb0a81573fe3f5ac9f884144cf7
 SHA512 
ce86f066ea03d86b3a6dcca5905044e93af46164ab55be167f7804926b7e28c3383a024903986fb273b8c40b07b749f5431048ce76e550674f83388d6cff7542

diff --git a/app-pda/libplist/libplist-2.2.0-r4.ebuild 
b/app-pda/libplist/libplist-2.2.0-r4.ebuild
index 078f674a40ca..d1180010c230 100644
--- a/app-pda/libplist/libplist-2.2.0-r4.ebuild
+++ b/app-pda/libplist/libplist-2.2.0-r4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -8,7 +8,7 @@ inherit autotools python-r1 toolchain-funcs
 
 DESCRIPTION="Support library to deal with Apple Property Lists (Binary & XML)"
 HOMEPAGE="https://www.libimobiledevice.org/;
-SRC_URI="https://cgit.libimobiledevice.org/${PN}.git/snapshot/${P}.tar.bz2;
+SRC_URI="https://cgit.libimobiledevice.org/${PN}.git/snapshot/${P}.tar.xz;
 
 LICENSE="GPL-2+ LGPL-2.1+"
 SLOT="0/2.0-3"

diff --git a/app-pda/libplist/libplist-2.3.0-r1.ebuild 
b/app-pda/libplist/libplist-2.3.0-r1.ebuild
index bc96e2f7fa11..432e1904e74f 100644
--- a/app-pda/libplist/libplist-2.3.0-r1.ebuild
+++ b/app-pda/libplist/libplist-2.3.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -7,7 +7,7 @@ inherit autotools
 
 DESCRIPTION="Support library to deal with Apple Property Lists (Binary & XML)"
 HOMEPAGE="https://www.libimobiledevice.org/;
-SRC_URI="https://cgit.libimobiledevice.org/${PN}.git/snapshot/${P}.tar.bz2;
+SRC_URI="https://cgit.libimobiledevice.org/${PN}.git/snapshot/${P}.tar.xz;
 
 LICENSE="GPL-2+ LGPL-2.1+"
 SLOT="0/4"

diff --git a/app-pda/libplist/libplist-2.3.0-r2.ebuild 
b/app-pda/libplist/libplist-2.3.0-r2.ebuild
index 1d0be193ec61..f5b231d63d4a 100644
--- a/app-pda/libplist/libplist-2.3.0-r2.ebuild
+++ b/app-pda/libplist/libplist-2.3.0-r2.ebuild
@@ -7,7 +7,7 @@ inherit autotools
 
 DESCRIPTION="Support library to deal with Apple Property Lists (Binary & XML)"
 HOMEPAGE="https://www.libimobiledevice.org/;
-SRC_URI="https://cgit.libimobiledevice.org/${PN}.git/snapshot/${P}.tar.bz2;
+SRC_URI="https://cgit.libimobiledevice.org/${PN}.git/snapshot/${P}.tar.xz;
 
 LICENSE="GPL-2+ LGPL-2.1+"
 SLOT="0/4"



[gentoo-commits] repo/gentoo:master commit in: app-pda/libplist/

2024-03-21 Thread Arthur Zamarin
commit: 120be565f6d11d2f3ea2b2501fd4632f07ced5c5
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu Mar 21 16:59:34 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu Mar 21 16:59:34 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=120be565

app-pda/libplist: Keyword 2.3.0-r2 s390, #927405

Signed-off-by: Arthur Zamarin  gentoo.org>

 app-pda/libplist/libplist-2.3.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-pda/libplist/libplist-2.3.0-r2.ebuild 
b/app-pda/libplist/libplist-2.3.0-r2.ebuild
index 24d527576d9b..1d0be193ec61 100644
--- a/app-pda/libplist/libplist-2.3.0-r2.ebuild
+++ b/app-pda/libplist/libplist-2.3.0-r2.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://cgit.libimobiledevice.org/${PN}.git/snapshot/${P}.tar.bz2;
 
 LICENSE="GPL-2+ LGPL-2.1+"
 SLOT="0/4"
-KEYWORDS="amd64 ~arm arm64 ~loong ppc ~ppc64 ~riscv x86"
+KEYWORDS="amd64 ~arm arm64 ~loong ppc ~ppc64 ~riscv ~s390 x86"
 
 DEPEND="${RDEPEND}"
 BDEPEND="virtual/pkgconfig"



[gentoo-commits] repo/gentoo:master commit in: app-pda/libplist/

2024-03-13 Thread Sam James
commit: 0884dd33295473041dabf8841e6f0e2a4613b8be
Author: Sam James  gentoo  org>
AuthorDate: Wed Mar 13 23:57:29 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Mar 13 23:57:29 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0884dd33

app-pda/libplist: Stabilize 2.3.0-r2 ppc, #926357

Signed-off-by: Sam James  gentoo.org>

 app-pda/libplist/libplist-2.3.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-pda/libplist/libplist-2.3.0-r2.ebuild 
b/app-pda/libplist/libplist-2.3.0-r2.ebuild
index ee870de25916..24d527576d9b 100644
--- a/app-pda/libplist/libplist-2.3.0-r2.ebuild
+++ b/app-pda/libplist/libplist-2.3.0-r2.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://cgit.libimobiledevice.org/${PN}.git/snapshot/${P}.tar.bz2;
 
 LICENSE="GPL-2+ LGPL-2.1+"
 SLOT="0/4"
-KEYWORDS="amd64 ~arm arm64 ~loong ~ppc ~ppc64 ~riscv x86"
+KEYWORDS="amd64 ~arm arm64 ~loong ppc ~ppc64 ~riscv x86"
 
 DEPEND="${RDEPEND}"
 BDEPEND="virtual/pkgconfig"



[gentoo-commits] repo/gentoo:master commit in: app-pda/libplist/

2024-03-13 Thread Arthur Zamarin
commit: e30afbd73cb8576c7b71b1d43761c263f04da10c
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Wed Mar 13 15:20:26 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Wed Mar 13 15:20:26 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e30afbd7

app-pda/libplist: Stabilize 2.3.0-r2 amd64, #926357

Signed-off-by: Arthur Zamarin  gentoo.org>

 app-pda/libplist/libplist-2.3.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-pda/libplist/libplist-2.3.0-r2.ebuild 
b/app-pda/libplist/libplist-2.3.0-r2.ebuild
index bb389fe075ee..ee870de25916 100644
--- a/app-pda/libplist/libplist-2.3.0-r2.ebuild
+++ b/app-pda/libplist/libplist-2.3.0-r2.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://cgit.libimobiledevice.org/${PN}.git/snapshot/${P}.tar.bz2;
 
 LICENSE="GPL-2+ LGPL-2.1+"
 SLOT="0/4"
-KEYWORDS="~amd64 ~arm arm64 ~loong ~ppc ~ppc64 ~riscv x86"
+KEYWORDS="amd64 ~arm arm64 ~loong ~ppc ~ppc64 ~riscv x86"
 
 DEPEND="${RDEPEND}"
 BDEPEND="virtual/pkgconfig"



[gentoo-commits] repo/gentoo:master commit in: app-pda/libplist/

2024-03-13 Thread Arthur Zamarin
commit: ac778e458774ddfba666f7ca497c0b4771fd95bc
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Wed Mar 13 15:05:44 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Wed Mar 13 15:05:44 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac778e45

app-pda/libplist: Stabilize 2.3.0-r2 x86, #926357

Signed-off-by: Arthur Zamarin  gentoo.org>

 app-pda/libplist/libplist-2.3.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-pda/libplist/libplist-2.3.0-r2.ebuild 
b/app-pda/libplist/libplist-2.3.0-r2.ebuild
index e93d2577e8e2..bb389fe075ee 100644
--- a/app-pda/libplist/libplist-2.3.0-r2.ebuild
+++ b/app-pda/libplist/libplist-2.3.0-r2.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://cgit.libimobiledevice.org/${PN}.git/snapshot/${P}.tar.bz2;
 
 LICENSE="GPL-2+ LGPL-2.1+"
 SLOT="0/4"
-KEYWORDS="~amd64 ~arm arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
+KEYWORDS="~amd64 ~arm arm64 ~loong ~ppc ~ppc64 ~riscv x86"
 
 DEPEND="${RDEPEND}"
 BDEPEND="virtual/pkgconfig"



[gentoo-commits] repo/gentoo:master commit in: app-pda/libplist/

2024-03-13 Thread Arthur Zamarin
commit: 5f7f03d57ccc4120fa36fbf8a96d36752ac6d775
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Wed Mar 13 15:01:44 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Wed Mar 13 15:03:33 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f7f03d5

app-pda/libplist: Stabilize 2.3.0-r2 arm64, #926357

Signed-off-by: Arthur Zamarin  gentoo.org>

 app-pda/libplist/libplist-2.3.0-r2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-pda/libplist/libplist-2.3.0-r2.ebuild 
b/app-pda/libplist/libplist-2.3.0-r2.ebuild
index bd04f215b8c2..e93d2577e8e2 100644
--- a/app-pda/libplist/libplist-2.3.0-r2.ebuild
+++ b/app-pda/libplist/libplist-2.3.0-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -11,7 +11,7 @@ 
SRC_URI="https://cgit.libimobiledevice.org/${PN}.git/snapshot/${P}.tar.bz2;
 
 LICENSE="GPL-2+ LGPL-2.1+"
 SLOT="0/4"
-KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
+KEYWORDS="~amd64 ~arm arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
 
 DEPEND="${RDEPEND}"
 BDEPEND="virtual/pkgconfig"



[gentoo-commits] repo/gentoo:master commit in: app-pda/libplist/, app-pda/libplist/files/

2023-12-19 Thread Sam James
commit: d19264ddf64e2a582739965121381cafc4b8ec1f
Author: Sam James  gentoo  org>
AuthorDate: Tue Dec 19 10:17:40 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Dec 19 11:03:39 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d19264dd

app-pda/libplist: fix modern C issue in configure

Signed-off-by: Sam James  gentoo.org>

 .../files/libplist-2.3.0-configure-c99.patch   | 22 ++
 app-pda/libplist/libplist-2.3.0-r2.ebuild  | 50 ++
 2 files changed, 72 insertions(+)

diff --git a/app-pda/libplist/files/libplist-2.3.0-configure-c99.patch 
b/app-pda/libplist/files/libplist-2.3.0-configure-c99.patch
new file mode 100644
index ..dfe3714c46e2
--- /dev/null
+++ b/app-pda/libplist/files/libplist-2.3.0-configure-c99.patch
@@ -0,0 +1,22 @@
+https://github.com/libimobiledevice/libplist/commit/b3cf5bec39de69bf06c7813689f03cbe58f45ca9
+
+From b3cf5bec39de69bf06c7813689f03cbe58f45ca9 Mon Sep 17 00:00:00 2001
+From: Florian Weimer 
+Date: Mon, 18 Dec 2023 11:14:40 +0100
+Subject: [PATCH] configure: Use string for tm_zone assignment
+
+This matches what the actual sources do.  Clang 16 and GCC 14
+no longer support converting ints to pointers implicitly, so the
+configure probe always fails with these compilers.
+--- a/configure.ac
 b/configure.ac
+@@ -129,7 +129,7 @@ AC_CACHE_CHECK(for tm_zone in struct tm, 
ac_cv_struct_tm_zone,
+   #include 
+ ], [
+   struct tm tm;
+-  tm.tm_zone = 1;
++  tm.tm_zone = (char*)"UTC";
+ ])],
+ [ac_cv_struct_tm_zone=yes],
+ [ac_cv_struct_tm_zone=no]
+

diff --git a/app-pda/libplist/libplist-2.3.0-r2.ebuild 
b/app-pda/libplist/libplist-2.3.0-r2.ebuild
new file mode 100644
index ..bd04f215b8c2
--- /dev/null
+++ b/app-pda/libplist/libplist-2.3.0-r2.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+DESCRIPTION="Support library to deal with Apple Property Lists (Binary & XML)"
+HOMEPAGE="https://www.libimobiledevice.org/;
+SRC_URI="https://cgit.libimobiledevice.org/${PN}.git/snapshot/${P}.tar.bz2;
+
+LICENSE="GPL-2+ LGPL-2.1+"
+SLOT="0/4"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
+
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+DOCS=( AUTHORS NEWS README.md )
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-2.2.0-pkgconfig-lib.patch
+   "${FILESDIR}"/${PN}-2.3.0-test-rename.patch
+   "${FILESDIR}"/${PN}-2.3.0-configure-c99.patch
+)
+
+src_prepare() {
+   default
+   RELEASE_VERSION=${PV} eautoreconf
+}
+
+src_configure() {
+   local myeconfargs=(
+   --disable-static
+   --without-cython
+   )
+   econf "${myeconfargs[@]}"
+}
+
+src_install() {
+   emake DESTDIR="${D}" install
+   einstalldocs
+   find "${ED}" -name '*.la' -delete || die
+
+   # bugs #733082, #915375
+   dosym ./libplist-2.0.pc /usr/$(get_libdir)/pkgconfig/libplist.pc
+   dosym ./libplist++-2.0.pc /usr/$(get_libdir)/pkgconfig/libplist++.pc
+   dosym ./libplist++-2.0.so.4.3.0 /usr/$(get_libdir)/libplist++.so
+   dosym ./libplist-2.0.so.4.3.0 /usr/$(get_libdir)/libplist.so
+}



[gentoo-commits] repo/gentoo:master commit in: app-pda/libplist/

2023-10-08 Thread Matthew Smith
commit: 9821180b0a4dd85b579d40a9deca34c4e5a9b91c
Author: Matthew Smith  gentoo  org>
AuthorDate: Sun Oct  8 15:24:10 2023 +
Commit: Matthew Smith  gentoo  org>
CommitDate: Sun Oct  8 15:29:40 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9821180b

app-pda/libplist: install library symlink

Closes: https://bugs.gentoo.org/915375
Signed-off-by: Matthew Smith  gentoo.org>

 .../libplist/{libplist-2.3.0.ebuild => libplist-2.3.0-r1.ebuild}| 6 ++
 1 file changed, 6 insertions(+)

diff --git a/app-pda/libplist/libplist-2.3.0.ebuild 
b/app-pda/libplist/libplist-2.3.0-r1.ebuild
similarity index 75%
rename from app-pda/libplist/libplist-2.3.0.ebuild
rename to app-pda/libplist/libplist-2.3.0-r1.ebuild
index 6d570f108b5e..bc96e2f7fa11 100644
--- a/app-pda/libplist/libplist-2.3.0.ebuild
+++ b/app-pda/libplist/libplist-2.3.0-r1.ebuild
@@ -40,4 +40,10 @@ src_install() {
emake DESTDIR="${D}" install
einstalldocs
find "${ED}" -name '*.la' -delete || die
+
+   # bugs #733082, #915375
+   dosym ./libplist-2.0.pc /usr/$(get_libdir)/pkgconfig/libplist.pc
+   dosym ./libplist++-2.0.pc /usr/$(get_libdir)/pkgconfig/libplist++.pc
+   dosym ./libplist++-2.0.so.4.3.0 /usr/$(get_libdir)/libplist++.so
+   dosym ./libplist-2.0.so.4.3.0 /usr/$(get_libdir)/libplist.so
 }



[gentoo-commits] repo/gentoo:master commit in: app-pda/libplist/, app-pda/libplist/files/

2023-10-08 Thread Matthew Smith
commit: 84d4e313781efd48619da4702103686e56a0231f
Author: Matthew Smith  gentoo  org>
AuthorDate: Sun Oct  8 09:41:21 2023 +
Commit: Matthew Smith  gentoo  org>
CommitDate: Sun Oct  8 09:43:37 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84d4e313

app-pda/libplist: add 2.3.0

- Add Patch to fix flakey tests.
- Drop Python bindings. The only consumer is libimobiledevice, which will
  also drop USE=python later.

Signed-off-by: Matthew Smith  gentoo.org>

 app-pda/libplist/Manifest  |   1 +
 .../files/libplist-2.3.0-test-rename.patch | 471 +
 app-pda/libplist/libplist-2.3.0.ebuild |  43 ++
 3 files changed, 515 insertions(+)

diff --git a/app-pda/libplist/Manifest b/app-pda/libplist/Manifest
index 7a8c3d90462f..40227277e1ef 100644
--- a/app-pda/libplist/Manifest
+++ b/app-pda/libplist/Manifest
@@ -1 +1,2 @@
 DIST libplist-2.2.0.tar.bz2 126808 BLAKE2B 
7c3ec04aaa52eca33ae28851a6524c9ea531df939feef0f10827c8c2de78a6ccd856ea4d8a568b146ccb5de96f70dd5accec34aa2fdd61f9e6eba01256c0b518
 SHA512 
641bfd3ec0565f104d3a2d1ebdf6137bc9252b67ce90550e24ab0d4e820e119ba4f8f1ba04a0358d995d196fa61e35f2f0ee8ba37fc0270752ae842ab1f5
+DIST libplist-2.3.0.tar.bz2 151851 BLAKE2B 
0ea595c5de30b413548526e5f26660c96d53216182111e00817369d5069e2fa1a4982bc7252a97160e3d9f92d5edadd57bd1be0598754d1ed0872a85a6a6504d
 SHA512 
494858ebd6ba41f51d714b4da470ba40c564d9f327dc07c8cbe50cb301a8ef078cd43fedd45473c3a8d1a714ce149fe6365c44b2cd4a12fb711256ce273720e4

diff --git a/app-pda/libplist/files/libplist-2.3.0-test-rename.patch 
b/app-pda/libplist/files/libplist-2.3.0-test-rename.patch
new file mode 100644
index ..ca1144870787
--- /dev/null
+++ b/app-pda/libplist/files/libplist-2.3.0-test-rename.patch
@@ -0,0 +1,471 @@
+From 2cd858c679d25633077ca78b67182a9b77653816 Mon Sep 17 00:00:00 2001
+From: Sergei Trofimovich 
+Date: Tue, 3 Oct 2023 10:41:32 +0100
+Subject: [PATCH] test: use unique output file names across tests
+
+Without the change tests ran in parallel occasionally clobber outputs of
+one another and fail as:
+
+$ make check -j16 VERBOSE=y
+...
+FAIL: huge
+==
+Converting
+File ../test/data/5.plist is open
+PList XML parsing succeeded
+PList BIN writing succeeded
+PList BIN parsing succeeded
+PList XML writing succeeded
+Size of input and output is different
+Input size : 4292380
+Output size : 4305301
+Comparing
+PList parsing failed
+FAIL huge.test (exit status: 3)
+
+Closes: 
https://github.com/libimobiledevice/libplist/issues/234#issuecomment-1743820556
+--- a/test/amp.test
 b/test/amp.test
+@@ -3,7 +3,7 @@
+ DATASRC=$top_srcdir/test/data
+ TESTFILE=amp.plist
+ DATAIN0=$DATASRC/$TESTFILE
+-DATAOUT0=$top_builddir/test/data/$TESTFILE.out
++DATAOUT0=$top_builddir/test/data/amp.test.out
+ 
+ rm -rf $DATAOUT0
+ $top_builddir/tools/plistutil -i $DATAIN0 -o $DATAOUT0
+--- a/test/bigarray++.test
 b/test/bigarray++.test
+@@ -9,7 +9,7 @@ if ! test -d "$DATAOUT"; then
+ fi
+ 
+ echo "Converting"
+-$top_builddir/test/plist_test++ $DATASRC/$TESTFILE $DATAOUT/$TESTFILE.out
++$top_builddir/test/plist_test++ $DATASRC/$TESTFILE 
$DATAOUT/bigarray++.test.out
+ 
+ echo "Comparing"
+-$top_builddir/test/plist_cmp $DATASRC/$TESTFILE $DATAOUT/$TESTFILE.out
++$top_builddir/test/plist_cmp $DATASRC/$TESTFILE $DATAOUT/bigarray++.test.out
+--- a/test/bigarray.test
 b/test/bigarray.test
+@@ -9,7 +9,7 @@ if ! test -d "$DATAOUT"; then
+ fi
+ 
+ echo "Converting"
+-$top_builddir/test/plist_test $DATASRC/$TESTFILE $DATAOUT/$TESTFILE.out
++$top_builddir/test/plist_test $DATASRC/$TESTFILE $DATAOUT/bigarray.test.out
+ 
+ echo "Comparing"
+-$top_builddir/test/plist_cmp $DATASRC/$TESTFILE $DATAOUT/$TESTFILE.out
++$top_builddir/test/plist_cmp $DATASRC/$TESTFILE $DATAOUT/bigarray.test.out
+--- a/test/cdata.test
 b/test/cdata.test
+@@ -5,7 +5,7 @@ set -e
+ DATASRC=$top_srcdir/test/data
+ TESTFILE=cdata.plist
+ DATAIN0=$DATASRC/$TESTFILE
+-DATAOUT0=$top_builddir/test/data/$TESTFILE.bin
++DATAOUT0=$top_builddir/test/data/cdata.test.bin
+ 
+ $top_builddir/tools/plistutil -i $DATAIN0 -o $DATAOUT0
+ 
+--- a/test/dates.test
 b/test/dates.test
+@@ -5,8 +5,8 @@ set -e
+ DATASRC=$top_srcdir/test/data
+ TESTFILE=7.plist
+ DATAIN0=$DATASRC/$TESTFILE
+-DATAOUT0=$top_builddir/test/data/$TESTFILE.bin
+-DATAOUT1=$top_builddir/test/data/$TESTFILE.xml
++DATAOUT0=$top_builddir/test/data/dates.test.bin
++DATAOUT1=$top_builddir/test/data/dates.test.xml
+ 
+ $top_builddir/tools/plistutil -i $DATAIN0 -o $DATAOUT0
+ $top_builddir/tools/plistutil -i $DATAOUT0 -o $DATAOUT1
+--- a/test/empty++.test
 b/test/empty++.test
+@@ -9,7 +9,7 @@ if ! test -d "$DATAOUT"; then
+ fi
+ 
+ echo "Converting"
+-$top_builddir/test/plist_test++ $DATASRC/$TESTFILE $DATAOUT/$TESTFILE.out
++$top_builddir/test/plist_test++ $DATASRC/$TESTFILE $DATAOUT/empty++.test.out
+ 
+ echo "Comparing"

[gentoo-commits] repo/gentoo:master commit in: app-pda/libplist/

2023-02-17 Thread Matthew Smith
commit: 6409a79bb249cd9e5589dbcf85a1b697ce07b34c
Author: Matthew Smith  gentoo  org>
AuthorDate: Fri Feb 17 16:48:06 2023 +
Commit: Matthew Smith  gentoo  org>
CommitDate: Fri Feb 17 16:59:03 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6409a79b

app-pda/libplist: enable py3.11

Signed-off-by: Matthew Smith  gentoo.org>

 app-pda/libplist/libplist-2.2.0-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-pda/libplist/libplist-2.2.0-r4.ebuild 
b/app-pda/libplist/libplist-2.2.0-r4.ebuild
index 2f8e6b323075..078f674a40ca 100644
--- a/app-pda/libplist/libplist-2.2.0-r4.ebuild
+++ b/app-pda/libplist/libplist-2.2.0-r4.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{9,10} )
+PYTHON_COMPAT=( python3_{9..11} )
 inherit autotools python-r1 toolchain-funcs
 
 DESCRIPTION="Support library to deal with Apple Property Lists (Binary & XML)"



[gentoo-commits] repo/gentoo:master commit in: app-pda/libplist/

2022-11-15 Thread WANG Xuerui
commit: 8a6dc0e2aa9c09409fb24d920a74439a85227ad3
Author: WANG Xuerui  gentoo  org>
AuthorDate: Wed Nov 16 05:30:40 2022 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Wed Nov 16 05:56:49 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a6dc0e2

app-pda/libplist: keyword 2.2.0-r4 for ~loong

Signed-off-by: WANG Xuerui  gentoo.org>

 app-pda/libplist/libplist-2.2.0-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-pda/libplist/libplist-2.2.0-r4.ebuild 
b/app-pda/libplist/libplist-2.2.0-r4.ebuild
index 439f93466025..a2422fd157ef 100644
--- a/app-pda/libplist/libplist-2.2.0-r4.ebuild
+++ b/app-pda/libplist/libplist-2.2.0-r4.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://cgit.libimobiledevice.org/${PN}.git/snapshot/${P}.tar.bz2;
 
 LICENSE="GPL-2+ LGPL-2.1+"
 SLOT="0/2.0-3"
-KEYWORDS="amd64 ~arm arm64 ppc ~ppc64 ~riscv x86"
+KEYWORDS="amd64 ~arm arm64 ~loong ppc ~ppc64 ~riscv x86"
 IUSE="python"
 
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"



[gentoo-commits] repo/gentoo:master commit in: app-pda/libplist/

2022-09-09 Thread Matthew Smith
commit: e504d433817ef1525030ad15dfb1225510c6153b
Author: Matthew Smith  gentoo  org>
AuthorDate: Fri Sep  9 08:48:22 2022 +
Commit: Matthew Smith  gentoo  org>
CommitDate: Fri Sep  9 09:46:28 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e504d433

app-pda/libplist: drop 2.2.0-r3

Signed-off-by: Matthew Smith  gentoo.org>

 app-pda/libplist/libplist-2.2.0-r3.ebuild | 113 --
 1 file changed, 113 deletions(-)

diff --git a/app-pda/libplist/libplist-2.2.0-r3.ebuild 
b/app-pda/libplist/libplist-2.2.0-r3.ebuild
deleted file mode 100644
index 03073cf397f3..
--- a/app-pda/libplist/libplist-2.2.0-r3.ebuild
+++ /dev/null
@@ -1,113 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{8,9,10} )
-inherit autotools python-r1 toolchain-funcs
-
-DESCRIPTION="Support library to deal with Apple Property Lists (Binary & XML)"
-HOMEPAGE="https://www.libimobiledevice.org/;
-SRC_URI="https://cgit.libimobiledevice.org/${PN}.git/snapshot/${P}.tar.bz2;
-
-LICENSE="GPL-2 LGPL-2.1"
-SLOT="0/2.0-3"
-KEYWORDS="amd64 ~arm arm64 ppc ~ppc64 ~riscv x86"
-IUSE="python"
-
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-RDEPEND="python? ( ${PYTHON_DEPS} )"
-DEPEND="${RDEPEND}"
-BDEPEND="
-   virtual/pkgconfig
-   python? ( >=dev-python/cython-0.17[${PYTHON_USEDEP}] )
-"
-
-DOCS=( AUTHORS NEWS README.md )
-
-PATCHES=(
-   "${FILESDIR}"/libplist-2.2.0-fmin.patch
-   "${FILESDIR}"/libplist-2.2.0-pkgconfig-lib.patch
-)
-
-BUILD_DIR="${S}_build"
-
-src_prepare() {
-   default
-   eautoreconf
-}
-
-src_configure() {
-   local ECONF_SOURCE="${S}"
-
-   do_configure() {
-   mkdir -p "${BUILD_DIR}" || die
-   pushd "${BUILD_DIR}" >/dev/null || die
-   econf --disable-static "${@}"
-   popd >/dev/null || die
-   }
-
-   do_configure_python() {
-   local -x PYTHON_LDFLAGS="$(python_get_LIBS)"
-   do_configure "$@"
-   }
-
-   # Don't prefer clang.
-   tc-export CC CXX
-
-   do_configure --without-cython
-   use python && python_foreach_impl do_configure_python
-}
-
-src_compile() {
-   local native_builddir=${BUILD_DIR}
-   ln -s "${native_builddir}/src/libplist-2.0.la" \
-   "${native_builddir}/src/libplist.la" || die
-
-   python_compile() {
-   emake -C "${BUILD_DIR}"/cython \
-   VPATH="${S}/cython:${native_builddir}/cython" \
-   plist_la_LIBADD="${native_builddir}/src/libplist-2.0.la"
-   }
-
-   pushd "${BUILD_DIR}" >/dev/null || die
-   emake
-   use python && python_foreach_impl python_compile
-   popd >/dev/null || die
-}
-
-src_test() {
-   emake -C "${BUILD_DIR}" check
-}
-
-src_install() {
-   python_install() {
-   emake -C "${BUILD_DIR}/cython" \
-   VPATH="${S}/cython:${native_builddir}/cython" \
-   DESTDIR="${D}" install
-   }
-
-   local native_builddir=${BUILD_DIR}
-   pushd "${BUILD_DIR}" >/dev/null || die
-   emake DESTDIR="${D}" install
-   use python && python_foreach_impl python_install
-   popd >/dev/null || die
-
-   einstalldocs
-
-   if use python ; then
-   insinto /usr/include/plist/cython
-   doins cython/plist.pxd
-   fi
-
-   find "${ED}" -name '*.la' -delete || die
-
-   # temporary fix for 2.2.0 release:
-   # bug #733082,
-   # https://github.com/libimobiledevice/libplist/issues/163
-   # upstream commit 137716df3f197a7184c1fba88fcb30480dafd6e0
-   dosym ./libplist-2.0.pc /usr/$(get_libdir)/pkgconfig/libplist.pc
-   dosym ./libplist++-2.0.so.3.3.0 /usr/$(get_libdir)/libplist++.so
-   dosym ./libplist-2.0.so.3.3.0 /usr/$(get_libdir)/libplist.so
-}



[gentoo-commits] repo/gentoo:master commit in: app-pda/libplist/

2022-08-27 Thread Sam James
commit: ff378aecc5c472e99ee23c1ee4e36eb17007072c
Author: Sam James  gentoo  org>
AuthorDate: Fri Aug 26 23:25:37 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Aug 26 23:25:37 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff378aec

app-pda/libplist: Stabilize 2.2.0-r4 amd64, #866545

Signed-off-by: Sam James  gentoo.org>

 app-pda/libplist/libplist-2.2.0-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-pda/libplist/libplist-2.2.0-r4.ebuild 
b/app-pda/libplist/libplist-2.2.0-r4.ebuild
index 8ee37d36b81e..439f93466025 100644
--- a/app-pda/libplist/libplist-2.2.0-r4.ebuild
+++ b/app-pda/libplist/libplist-2.2.0-r4.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://cgit.libimobiledevice.org/${PN}.git/snapshot/${P}.tar.bz2;
 
 LICENSE="GPL-2+ LGPL-2.1+"
 SLOT="0/2.0-3"
-KEYWORDS="~amd64 ~arm arm64 ppc ~ppc64 ~riscv x86"
+KEYWORDS="amd64 ~arm arm64 ppc ~ppc64 ~riscv x86"
 IUSE="python"
 
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"



[gentoo-commits] repo/gentoo:master commit in: app-pda/libplist/

2022-08-25 Thread Sam James
commit: 6e240e81b3729fd0520cabb2d9300a5599ed82e4
Author: Sam James  gentoo  org>
AuthorDate: Fri Aug 26 05:45:37 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Aug 26 05:45:37 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e240e81

app-pda/libplist: Stabilize 2.2.0-r4 x86, #866545

Signed-off-by: Sam James  gentoo.org>

 app-pda/libplist/libplist-2.2.0-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-pda/libplist/libplist-2.2.0-r4.ebuild 
b/app-pda/libplist/libplist-2.2.0-r4.ebuild
index 5746a172a04e..8ee37d36b81e 100644
--- a/app-pda/libplist/libplist-2.2.0-r4.ebuild
+++ b/app-pda/libplist/libplist-2.2.0-r4.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://cgit.libimobiledevice.org/${PN}.git/snapshot/${P}.tar.bz2;
 
 LICENSE="GPL-2+ LGPL-2.1+"
 SLOT="0/2.0-3"
-KEYWORDS="~amd64 ~arm arm64 ppc ~ppc64 ~riscv ~x86"
+KEYWORDS="~amd64 ~arm arm64 ppc ~ppc64 ~riscv x86"
 IUSE="python"
 
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"



[gentoo-commits] repo/gentoo:master commit in: app-pda/libplist/

2022-08-25 Thread Arthur Zamarin
commit: 372eda19aff091db4028a139e1c4a308ee3685ac
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu Aug 25 18:17:36 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu Aug 25 18:17:36 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=372eda19

app-pda/libplist: Stabilize 2.2.0-r4 arm64, #866545

Signed-off-by: Arthur Zamarin  gentoo.org>

 app-pda/libplist/libplist-2.2.0-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-pda/libplist/libplist-2.2.0-r4.ebuild 
b/app-pda/libplist/libplist-2.2.0-r4.ebuild
index 036249ce7c6c..5746a172a04e 100644
--- a/app-pda/libplist/libplist-2.2.0-r4.ebuild
+++ b/app-pda/libplist/libplist-2.2.0-r4.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://cgit.libimobiledevice.org/${PN}.git/snapshot/${P}.tar.bz2;
 
 LICENSE="GPL-2+ LGPL-2.1+"
 SLOT="0/2.0-3"
-KEYWORDS="~amd64 ~arm ~arm64 ppc ~ppc64 ~riscv ~x86"
+KEYWORDS="~amd64 ~arm arm64 ppc ~ppc64 ~riscv ~x86"
 IUSE="python"
 
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"



[gentoo-commits] repo/gentoo:master commit in: app-pda/libplist/

2022-08-25 Thread Arthur Zamarin
commit: 49c74dc05fcba9363a7cad03e4c5a854cd94f7a6
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu Aug 25 17:39:15 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu Aug 25 17:39:15 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49c74dc0

app-pda/libplist: Stabilize 2.2.0-r4 ppc, #866545

Signed-off-by: Arthur Zamarin  gentoo.org>

 app-pda/libplist/libplist-2.2.0-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-pda/libplist/libplist-2.2.0-r4.ebuild 
b/app-pda/libplist/libplist-2.2.0-r4.ebuild
index 23ac7bf3d03d..036249ce7c6c 100644
--- a/app-pda/libplist/libplist-2.2.0-r4.ebuild
+++ b/app-pda/libplist/libplist-2.2.0-r4.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://cgit.libimobiledevice.org/${PN}.git/snapshot/${P}.tar.bz2;
 
 LICENSE="GPL-2+ LGPL-2.1+"
 SLOT="0/2.0-3"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ppc ~ppc64 ~riscv ~x86"
 IUSE="python"
 
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"



[gentoo-commits] repo/gentoo:master commit in: app-pda/libplist/

2022-07-25 Thread Matthew Smith
commit: f1bb3ad8c3ecf0d8969345ed3fa41ea9353094c2
Author: Matthew Smith  gentoo  org>
AuthorDate: Mon Jul 25 18:18:49 2022 +
Commit: Matthew Smith  gentoo  org>
CommitDate: Mon Jul 25 18:50:00 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1bb3ad8

app-pda/libplist: add myself as a maintainer

Signed-off-by: Matthew Smith  gentoo.org>

 app-pda/libplist/metadata.xml | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/app-pda/libplist/metadata.xml b/app-pda/libplist/metadata.xml
index cf956930c00d..613a0433b959 100644
--- a/app-pda/libplist/metadata.xml
+++ b/app-pda/libplist/metadata.xml
@@ -1,7 +1,10 @@
 
 https://www.gentoo.org/dtd/metadata.dtd;>
 
-
+   
+   matt...@gentoo.org
+   Matthew Smith
+   


https://github.com/libimobiledevice/libplist/issues
libimobiledevice/libplist



[gentoo-commits] repo/gentoo:master commit in: app-pda/libplist/, app-pda/libplist/files/

2022-07-25 Thread Matthew Smith
commit: 75e60fe3e8e5b618c6a37d95e6e1d64ea173f8c3
Author: Matthew Smith  gentoo  org>
AuthorDate: Mon Jul 25 18:24:10 2022 +
Commit: Matthew Smith  gentoo  org>
CommitDate: Mon Jul 25 18:50:04 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75e60fe3

app-pda/libplist: fix strict aliasing violations

Apply a patch that was also sent upstream, and also:

* Bump to EAPI-8.
* Correct LICENSE variable.

Closes: https://bugs.gentoo.org/854837
Signed-off-by: Matthew Smith  gentoo.org>

 .../files/libplist-2.2.0-strict-aliasing.patch |  32 ++
 app-pda/libplist/libplist-2.2.0-r4.ebuild  | 114 +
 2 files changed, 146 insertions(+)

diff --git a/app-pda/libplist/files/libplist-2.2.0-strict-aliasing.patch 
b/app-pda/libplist/files/libplist-2.2.0-strict-aliasing.patch
new file mode 100644
index ..2771a9f08a69
--- /dev/null
+++ b/app-pda/libplist/files/libplist-2.2.0-strict-aliasing.patch
@@ -0,0 +1,32 @@
+https://bugs.gentoo.org/854837
+https://github.com/libimobiledevice/libplist/pull/212
+--- a/src/bplist.c
 b/src/bplist.c
+@@ -998,18 +998,24 @@ static void write_real(bytearray_t * bplist, double val)
+ buff[7] = BPLIST_REAL | Log2(size);
+ if (size == sizeof(float)) {
+ float floatval = (float)val;
+-*(uint32_t*)(buff+8) = float_bswap32(*(uint32_t*));
++uint32_t intval;
++memcpy(, , sizeof(float));
++*(uint32_t*)(buff+8) = float_bswap32(intval);
+ } else {
+-*(uint64_t*)(buff+8) = float_bswap64(*(uint64_t*));
++uint64_t intval;
++memcpy(, , sizeof(double));
++*(uint64_t*)(buff+8) = float_bswap64(intval);
+ }
+ byte_array_append(bplist, buff+7, size+1);
+ }
+ 
+ static void write_date(bytearray_t * bplist, double val)
+ {
++uint64_t intval;
++memcpy(, , sizeof(double));
+ uint8_t buff[16];
+ buff[7] = BPLIST_DATE | 3;
+-*(uint64_t*)(buff+8) = float_bswap64(*(uint64_t*));
++*(uint64_t*)(buff+8) = float_bswap64(intval);
+ byte_array_append(bplist, buff+7, 9);
+ }
+ 

diff --git a/app-pda/libplist/libplist-2.2.0-r4.ebuild 
b/app-pda/libplist/libplist-2.2.0-r4.ebuild
new file mode 100644
index ..23ac7bf3d03d
--- /dev/null
+++ b/app-pda/libplist/libplist-2.2.0-r4.ebuild
@@ -0,0 +1,114 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8,9,10} )
+inherit autotools python-r1 toolchain-funcs
+
+DESCRIPTION="Support library to deal with Apple Property Lists (Binary & XML)"
+HOMEPAGE="https://www.libimobiledevice.org/;
+SRC_URI="https://cgit.libimobiledevice.org/${PN}.git/snapshot/${P}.tar.bz2;
+
+LICENSE="GPL-2+ LGPL-2.1+"
+SLOT="0/2.0-3"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
+IUSE="python"
+
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+RDEPEND="python? ( ${PYTHON_DEPS} )"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   virtual/pkgconfig
+   python? ( >=dev-python/cython-0.17[${PYTHON_USEDEP}] )
+"
+
+DOCS=( AUTHORS NEWS README.md )
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-2.2.0-fmin.patch
+   "${FILESDIR}"/${PN}-2.2.0-pkgconfig-lib.patch
+   "${FILESDIR}"/${PN}-2.2.0-strict-aliasing.patch # bug 854837
+)
+
+BUILD_DIR="${S}_build"
+
+src_prepare() {
+   default
+   eautoreconf
+}
+
+src_configure() {
+   local ECONF_SOURCE="${S}"
+
+   do_configure() {
+   mkdir -p "${BUILD_DIR}" || die
+   pushd "${BUILD_DIR}" >/dev/null || die
+   econf --disable-static "${@}"
+   popd >/dev/null || die
+   }
+
+   do_configure_python() {
+   local -x PYTHON_LDFLAGS="$(python_get_LIBS)"
+   do_configure "$@"
+   }
+
+   # Don't prefer clang.
+   tc-export CC CXX
+
+   do_configure --without-cython
+   use python && python_foreach_impl do_configure_python
+}
+
+src_compile() {
+   local native_builddir=${BUILD_DIR}
+   ln -s "${native_builddir}/src/libplist-2.0.la" \
+   "${native_builddir}/src/libplist.la" || die
+
+   python_compile() {
+   emake -C "${BUILD_DIR}"/cython \
+   VPATH="${S}/cython:${native_builddir}/cython" \
+   plist_la_LIBADD="${native_builddir}/src/libplist-2.0.la"
+   }
+
+   pushd "${BUILD_DIR}" >/dev/null || die
+   emake
+   use python && python_foreach_impl python_compile
+   popd >/dev/null || die
+}
+
+src_test() {
+   emake -C "${BUILD_DIR}" check
+}
+
+src_install() {
+   python_install() {
+   emake -C "${BUILD_DIR}/cython" \
+   VPATH="${S}/cython:${native_builddir}/cython" \
+   DESTDIR="${D}" install
+   }
+
+   local native_builddir=${BUILD_DIR}
+   pushd "${BUILD_DIR}" >/dev/null || die
+   emake DESTDIR="${D}" install
+   use python && python_foreach_impl python_install
+ 

[gentoo-commits] repo/gentoo:master commit in: app-pda/libplist/

2021-12-25 Thread Georgy Yakovlev
commit: 0f8ff4fe24c16e2a20e1a741908fd6436324892d
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Sat Dec 25 12:15:20 2021 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Sat Dec 25 12:26:46 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f8ff4fe

app-pda/libplist: enable py3.10

Signed-off-by: Georgy Yakovlev  gentoo.org>

 app-pda/libplist/libplist-2.2.0-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-pda/libplist/libplist-2.2.0-r3.ebuild 
b/app-pda/libplist/libplist-2.2.0-r3.ebuild
index d8b219437962..03073cf397f3 100644
--- a/app-pda/libplist/libplist-2.2.0-r3.ebuild
+++ b/app-pda/libplist/libplist-2.2.0-r3.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{8,9} )
+PYTHON_COMPAT=( python3_{8,9,10} )
 inherit autotools python-r1 toolchain-funcs
 
 DESCRIPTION="Support library to deal with Apple Property Lists (Binary & XML)"



[gentoo-commits] repo/gentoo:master commit in: app-pda/libplist/

2021-08-23 Thread Marek Szuba
commit: d7852377a967ff54c643dc2bb678a1135ccd7aae
Author: Marek Szuba  gentoo  org>
AuthorDate: Mon Aug 23 22:34:03 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Mon Aug 23 22:59:34 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7852377

app-pda/libplist: keyword 2.2.0-r3 for ~riscv

Signed-off-by: Marek Szuba  gentoo.org>

 app-pda/libplist/libplist-2.2.0-r3.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-pda/libplist/libplist-2.2.0-r3.ebuild 
b/app-pda/libplist/libplist-2.2.0-r3.ebuild
index 0973821ae4e..d8b21943796 100644
--- a/app-pda/libplist/libplist-2.2.0-r3.ebuild
+++ b/app-pda/libplist/libplist-2.2.0-r3.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7,8,9} )
+PYTHON_COMPAT=( python3_{8,9} )
 inherit autotools python-r1 toolchain-funcs
 
 DESCRIPTION="Support library to deal with Apple Property Lists (Binary & XML)"
@@ -12,7 +12,7 @@ 
SRC_URI="https://cgit.libimobiledevice.org/${PN}.git/snapshot/${P}.tar.bz2;
 
 LICENSE="GPL-2 LGPL-2.1"
 SLOT="0/2.0-3"
-KEYWORDS="amd64 ~arm arm64 ppc ~ppc64 x86"
+KEYWORDS="amd64 ~arm arm64 ppc ~ppc64 ~riscv x86"
 IUSE="python"
 
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"



[gentoo-commits] repo/gentoo:master commit in: app-pda/libplist/

2021-03-29 Thread Sam James
commit: b77d34a9502f7c401c78b20d015a7834f78dbe79
Author: Sam James  gentoo  org>
AuthorDate: Mon Mar 29 14:31:36 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Mar 29 14:31:36 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b77d34a9

app-pda/libplist: Stabilize 2.2.0-r3 arm64, #778446

Signed-off-by: Sam James  gentoo.org>

 app-pda/libplist/libplist-2.2.0-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-pda/libplist/libplist-2.2.0-r3.ebuild 
b/app-pda/libplist/libplist-2.2.0-r3.ebuild
index fb5ba8e6580..0973821ae4e 100644
--- a/app-pda/libplist/libplist-2.2.0-r3.ebuild
+++ b/app-pda/libplist/libplist-2.2.0-r3.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://cgit.libimobiledevice.org/${PN}.git/snapshot/${P}.tar.bz2;
 
 LICENSE="GPL-2 LGPL-2.1"
 SLOT="0/2.0-3"
-KEYWORDS="amd64 ~arm ~arm64 ppc ~ppc64 x86"
+KEYWORDS="amd64 ~arm arm64 ppc ~ppc64 x86"
 IUSE="python"
 
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"



[gentoo-commits] repo/gentoo:master commit in: app-pda/libplist/

2021-03-27 Thread Andreas Sturmlechner
commit: 936f8dab651f66208417a0479e4d4a65e97a315f
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sat Mar 27 22:13:13 2021 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sat Mar 27 22:15:44 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=936f8dab

app-pda/libplist: python3_9, drop static-libs, fix src_compile()

Reported-by: Reid Swanson  reidswanson.com>
Closes: https://bugs.gentoo.org/761130
Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 app-pda/libplist/libplist-2.2.0-r3.ebuild | 113 ++
 1 file changed, 113 insertions(+)

diff --git a/app-pda/libplist/libplist-2.2.0-r3.ebuild 
b/app-pda/libplist/libplist-2.2.0-r3.ebuild
new file mode 100644
index 000..fb5ba8e6580
--- /dev/null
+++ b/app-pda/libplist/libplist-2.2.0-r3.ebuild
@@ -0,0 +1,113 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7,8,9} )
+inherit autotools python-r1 toolchain-funcs
+
+DESCRIPTION="Support library to deal with Apple Property Lists (Binary & XML)"
+HOMEPAGE="https://www.libimobiledevice.org/;
+SRC_URI="https://cgit.libimobiledevice.org/${PN}.git/snapshot/${P}.tar.bz2;
+
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="0/2.0-3"
+KEYWORDS="amd64 ~arm ~arm64 ppc ~ppc64 x86"
+IUSE="python"
+
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+RDEPEND="python? ( ${PYTHON_DEPS} )"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   virtual/pkgconfig
+   python? ( >=dev-python/cython-0.17[${PYTHON_USEDEP}] )
+"
+
+DOCS=( AUTHORS NEWS README.md )
+
+PATCHES=(
+   "${FILESDIR}"/libplist-2.2.0-fmin.patch
+   "${FILESDIR}"/libplist-2.2.0-pkgconfig-lib.patch
+)
+
+BUILD_DIR="${S}_build"
+
+src_prepare() {
+   default
+   eautoreconf
+}
+
+src_configure() {
+   local ECONF_SOURCE="${S}"
+
+   do_configure() {
+   mkdir -p "${BUILD_DIR}" || die
+   pushd "${BUILD_DIR}" >/dev/null || die
+   econf --disable-static "${@}"
+   popd >/dev/null || die
+   }
+
+   do_configure_python() {
+   local -x PYTHON_LDFLAGS="$(python_get_LIBS)"
+   do_configure "$@"
+   }
+
+   # Don't prefer clang.
+   tc-export CC CXX
+
+   do_configure --without-cython
+   use python && python_foreach_impl do_configure_python
+}
+
+src_compile() {
+   local native_builddir=${BUILD_DIR}
+   ln -s "${native_builddir}/src/libplist-2.0.la" \
+   "${native_builddir}/src/libplist.la" || die
+
+   python_compile() {
+   emake -C "${BUILD_DIR}"/cython \
+   VPATH="${S}/cython:${native_builddir}/cython" \
+   plist_la_LIBADD="${native_builddir}/src/libplist-2.0.la"
+   }
+
+   pushd "${BUILD_DIR}" >/dev/null || die
+   emake
+   use python && python_foreach_impl python_compile
+   popd >/dev/null || die
+}
+
+src_test() {
+   emake -C "${BUILD_DIR}" check
+}
+
+src_install() {
+   python_install() {
+   emake -C "${BUILD_DIR}/cython" \
+   VPATH="${S}/cython:${native_builddir}/cython" \
+   DESTDIR="${D}" install
+   }
+
+   local native_builddir=${BUILD_DIR}
+   pushd "${BUILD_DIR}" >/dev/null || die
+   emake DESTDIR="${D}" install
+   use python && python_foreach_impl python_install
+   popd >/dev/null || die
+
+   einstalldocs
+
+   if use python ; then
+   insinto /usr/include/plist/cython
+   doins cython/plist.pxd
+   fi
+
+   find "${ED}" -name '*.la' -delete || die
+
+   # temporary fix for 2.2.0 release:
+   # bug #733082,
+   # https://github.com/libimobiledevice/libplist/issues/163
+   # upstream commit 137716df3f197a7184c1fba88fcb30480dafd6e0
+   dosym ./libplist-2.0.pc /usr/$(get_libdir)/pkgconfig/libplist.pc
+   dosym ./libplist++-2.0.so.3.3.0 /usr/$(get_libdir)/libplist++.so
+   dosym ./libplist-2.0.so.3.3.0 /usr/$(get_libdir)/libplist.so
+}



[gentoo-commits] repo/gentoo:master commit in: app-pda/libplist/

2021-03-27 Thread Andreas Sturmlechner
commit: d7ea41096df91801bfb8fbf2db2e174edcae9a87
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sat Mar 27 22:13:40 2021 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sat Mar 27 22:15:44 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7ea4109

app-pda/libplist: Drop 2.2.0-r2

Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 app-pda/libplist/libplist-2.2.0-r2.ebuild | 113 --
 1 file changed, 113 deletions(-)

diff --git a/app-pda/libplist/libplist-2.2.0-r2.ebuild 
b/app-pda/libplist/libplist-2.2.0-r2.ebuild
deleted file mode 100644
index 98d2bb68068..000
--- a/app-pda/libplist/libplist-2.2.0-r2.ebuild
+++ /dev/null
@@ -1,113 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7,8} )
-inherit autotools python-r1 toolchain-funcs
-
-DESCRIPTION="Support library to deal with Apple Property Lists (Binary & XML)"
-HOMEPAGE="https://www.libimobiledevice.org/;
-SRC_URI="https://cgit.libimobiledevice.org/${PN}.git/snapshot/${P}.tar.bz2;
-
-LICENSE="GPL-2 LGPL-2.1"
-SLOT="0/2.0-3"
-KEYWORDS="amd64 ~arm ~arm64 ppc ~ppc64 x86"
-IUSE="python static-libs"
-
-RDEPEND="python? ( ${PYTHON_DEPS} )"
-DEPEND="${RDEPEND}"
-BDEPEND="
-   virtual/pkgconfig
-   python? ( >=dev-python/cython-0.17[${PYTHON_USEDEP}] )
-"
-
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-DOCS=( AUTHORS NEWS README.md )
-
-PATCHES=(
-   "${FILESDIR}"/libplist-2.2.0-fmin.patch
-   "${FILESDIR}"/libplist-2.2.0-pkgconfig-lib.patch
-)
-
-BUILD_DIR="${S}_build"
-
-src_prepare() {
-   default
-   eautoreconf
-}
-
-src_configure() {
-   local ECONF_SOURCE="${S}"
-   local myeconfargs=( $(use_enable static-libs static) )
-
-   do_configure() {
-   mkdir -p "${BUILD_DIR}" || die
-   pushd "${BUILD_DIR}" >/dev/null || die
-   econf "${myeconfargs[@]}" "${@}"
-   popd >/dev/null || die
-   }
-
-   do_configure_python() {
-   local -x PYTHON_LDFLAGS="$(python_get_LIBS)"
-   do_configure "$@"
-   }
-
-   # Don't prefer clang.
-   tc-export CC CXX
-
-   do_configure --without-cython
-   use python && python_foreach_impl do_configure_python
-}
-
-src_compile() {
-   #
-   ln -s "${native_builddir}/src/libplist-2.0.la" 
"${native_builddir}/src/libplist.la"
-   python_compile() {
-   emake -C "${BUILD_DIR}"/cython \
-   VPATH="${S}/cython:${native_builddir}/cython" \
-   plist_la_LIBADD="${native_builddir}/src/libplist-2.0.la"
-   }
-
-   local native_builddir=${BUILD_DIR}
-   pushd "${BUILD_DIR}" >/dev/null || die
-   emake
-   use python && python_foreach_impl python_compile
-   popd >/dev/null || die
-}
-
-src_test() {
-   emake -C "${BUILD_DIR}" check
-}
-
-src_install() {
-   python_install() {
-   emake -C "${BUILD_DIR}/cython" \
-   VPATH="${S}/cython:${native_builddir}/cython" \
-   DESTDIR="${D}" install
-   }
-
-   local native_builddir=${BUILD_DIR}
-   pushd "${BUILD_DIR}" >/dev/null || die
-   emake DESTDIR="${D}" install
-   use python && python_foreach_impl python_install
-   popd >/dev/null || die
-
-   einstalldocs
-
-   if use python ; then
-   insinto /usr/include/plist/cython
-   doins cython/plist.pxd
-   fi
-
-   find "${ED}" -name '*.la' -delete || die
-
-   # temporary fix for 2.2.0 release:
-   # bug #733082,
-   # https://github.com/libimobiledevice/libplist/issues/163
-   # upstream commit 137716df3f197a7184c1fba88fcb30480dafd6e0
-   dosym ./libplist-2.0.pc /usr/$(get_libdir)/pkgconfig/libplist.pc
-   dosym ./libplist++-2.0.so.3.3.0 /usr/$(get_libdir)/libplist++.so
-   dosym ./libplist-2.0.so.3.3.0 /usr/$(get_libdir)/libplist.so
-}



[gentoo-commits] repo/gentoo:master commit in: app-pda/libplist/

2021-01-16 Thread Sam James
commit: 14287ff6e6cbfb5d79a80d2fc44c931a6426e4cb
Author: Sam James  gentoo  org>
AuthorDate: Sun Jan 17 03:35:16 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jan 17 04:10:22 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14287ff6

app-pda/libplist: fix WhitespaceFound

Package-Manager: Portage-3.0.12.0.2-prefix, Repoman-3.0.2
Signed-off-by: Sam James  gentoo.org>

 app-pda/libplist/libplist-2.2.0-r2.ebuild | 10 +-
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/app-pda/libplist/libplist-2.2.0-r2.ebuild 
b/app-pda/libplist/libplist-2.2.0-r2.ebuild
index 059c8ae313f..98d2bb68068 100644
--- a/app-pda/libplist/libplist-2.2.0-r2.ebuild
+++ b/app-pda/libplist/libplist-2.2.0-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -39,7 +39,7 @@ src_prepare() {
 }
 
 src_configure() {
-   local ECONF_SOURCE=${S}
+   local ECONF_SOURCE="${S}"
local myeconfargs=( $(use_enable static-libs static) )
 
do_configure() {
@@ -101,10 +101,10 @@ src_install() {
doins cython/plist.pxd
fi
 
-   find "${D}" -name '*.la' -delete || die
+   find "${ED}" -name '*.la' -delete || die
 
-   # temporary fix for 2.2.0 release: 
-   # b.g.o 733082, 
+   # temporary fix for 2.2.0 release:
+   # bug #733082,
# https://github.com/libimobiledevice/libplist/issues/163
# upstream commit 137716df3f197a7184c1fba88fcb30480dafd6e0
dosym ./libplist-2.0.pc /usr/$(get_libdir)/pkgconfig/libplist.pc



[gentoo-commits] repo/gentoo:master commit in: app-pda/libplist/

2020-12-20 Thread Sam James
commit: 834095cdfba0e0f29ef2b5769686a8a698d13bfd
Author: Sam James  gentoo  org>
AuthorDate: Sun Dec 20 19:27:23 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Dec 20 19:27:56 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=834095cd

app-pda/libplist: cleanup old

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Sam James  gentoo.org>

 app-pda/libplist/Manifest |  1 -
 app-pda/libplist/libplist-2.1.0.ebuild| 98 ---
 app-pda/libplist/libplist-2.2.0-r1.ebuild | 98 ---
 3 files changed, 197 deletions(-)

diff --git a/app-pda/libplist/Manifest b/app-pda/libplist/Manifest
index f7eb711f962..7a8c3d90462 100644
--- a/app-pda/libplist/Manifest
+++ b/app-pda/libplist/Manifest
@@ -1,2 +1 @@
-DIST libplist-2.1.0.tar.bz2 120602 BLAKE2B 
8abfe3c295c4ebd242f2c4d49c80d1f214097df84f1d2fcf2696519bbbca4e8a5ce13c04690ac64fd981f84d585df25fc65c268a4e4f4092319053583e67736c
 SHA512 
23156e882835bb0b894a05b57018b5e76f9f8f8f4b1d3fdad7b1970d2ef695033c98de74a1fa81bdf0829742a058fd65075cebc1512313d2be42e2f5367274be
 DIST libplist-2.2.0.tar.bz2 126808 BLAKE2B 
7c3ec04aaa52eca33ae28851a6524c9ea531df939feef0f10827c8c2de78a6ccd856ea4d8a568b146ccb5de96f70dd5accec34aa2fdd61f9e6eba01256c0b518
 SHA512 
641bfd3ec0565f104d3a2d1ebdf6137bc9252b67ce90550e24ab0d4e820e119ba4f8f1ba04a0358d995d196fa61e35f2f0ee8ba37fc0270752ae842ab1f5

diff --git a/app-pda/libplist/libplist-2.1.0.ebuild 
b/app-pda/libplist/libplist-2.1.0.ebuild
deleted file mode 100644
index d4dfa2e6a79..000
--- a/app-pda/libplist/libplist-2.1.0.ebuild
+++ /dev/null
@@ -1,98 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{6,7,8} )
-inherit autotools python-r1 toolchain-funcs
-
-DESCRIPTION="Support library to deal with Apple Property Lists (Binary & XML)"
-HOMEPAGE="https://www.libimobiledevice.org/;
-SRC_URI="https://cgit.libimobiledevice.org/${PN}.git/snapshot/${P}.tar.bz2;
-
-LICENSE="GPL-2 LGPL-2.1"
-SLOT="0/3"
-KEYWORDS="amd64 ~arm ~arm64 ppc ~ppc64 x86"
-IUSE="python static-libs"
-
-RDEPEND="python? ( ${PYTHON_DEPS} )"
-DEPEND="${RDEPEND}"
-BDEPEND="
-   virtual/pkgconfig
-   python? ( >=dev-python/cython-0.17[${PYTHON_USEDEP}] )
-"
-
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-DOCS=( AUTHORS NEWS README.md )
-
-BUILD_DIR="${S}_build"
-
-src_prepare() {
-   default
-   eautoreconf
-}
-
-src_configure() {
-   local ECONF_SOURCE=${S}
-   local myeconfargs=( $(use_enable static-libs static) )
-
-   do_configure() {
-   mkdir -p "${BUILD_DIR}" || die
-   pushd "${BUILD_DIR}" >/dev/null || die
-   econf "${myeconfargs[@]}" "${@}"
-   popd >/dev/null || die
-   }
-
-   do_configure_python() {
-   local -x PYTHON_LDFLAGS="$(python_get_LIBS)"
-   do_configure "$@"
-   }
-
-   # Don't prefer clang.
-   tc-export CC CXX
-
-   do_configure --without-cython
-   use python && python_foreach_impl do_configure_python
-}
-
-src_compile() {
-   python_compile() {
-   emake -C "${BUILD_DIR}"/cython \
-   VPATH="${S}/cython:${native_builddir}/cython" \
-   plist_la_LIBADD="${native_builddir}/src/libplist.la"
-   }
-
-   local native_builddir=${BUILD_DIR}
-   pushd "${BUILD_DIR}" >/dev/null || die
-   emake
-   use python && python_foreach_impl python_compile
-   popd >/dev/null || die
-}
-
-src_test() {
-   emake -C "${BUILD_DIR}" check
-}
-
-src_install() {
-   python_install() {
-   emake -C "${BUILD_DIR}/cython" \
-   VPATH="${S}/cython:${native_builddir}/cython" \
-   DESTDIR="${D}" install
-   }
-
-   local native_builddir=${BUILD_DIR}
-   pushd "${BUILD_DIR}" >/dev/null || die
-   emake DESTDIR="${D}" install
-   use python && python_foreach_impl python_install
-   popd >/dev/null || die
-
-   einstalldocs
-
-   if use python ; then
-   insinto /usr/include/plist/cython
-   doins cython/plist.pxd
-   fi
-
-   find "${D}" -name '*.la' -delete || die
-}

diff --git a/app-pda/libplist/libplist-2.2.0-r1.ebuild 
b/app-pda/libplist/libplist-2.2.0-r1.ebuild
deleted file mode 100644
index c5c2f5167b8..000
--- a/app-pda/libplist/libplist-2.2.0-r1.ebuild
+++ /dev/null
@@ -1,98 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7,8} )
-inherit autotools python-r1 toolchain-funcs
-
-DESCRIPTION="Support library to deal with Apple Property Lists (Binary & XML)"
-HOMEPAGE="https://www.libimobiledevice.org/;
-SRC_URI="https://cgit.libimobiledevice.org/${PN}.git/snapshot/${P}.tar.bz2;
-
-LICENSE="GPL-2 LGPL-2.1"

[gentoo-commits] repo/gentoo:master commit in: app-pda/libplist/

2020-12-20 Thread Thomas Deutschmann
commit: cc0390c76feec0a9cbc3e2a2f77a3ea6835d2eab
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Sun Dec 20 18:57:22 2020 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Sun Dec 20 19:06:53 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc0390c7

app-pda/libplist: x86 stable (bug #760375)

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Thomas Deutschmann  gentoo.org>

 app-pda/libplist/libplist-2.2.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-pda/libplist/libplist-2.2.0-r2.ebuild 
b/app-pda/libplist/libplist-2.2.0-r2.ebuild
index 3956dce388f..059c8ae313f 100644
--- a/app-pda/libplist/libplist-2.2.0-r2.ebuild
+++ b/app-pda/libplist/libplist-2.2.0-r2.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://cgit.libimobiledevice.org/${PN}.git/snapshot/${P}.tar.bz2;
 
 LICENSE="GPL-2 LGPL-2.1"
 SLOT="0/2.0-3"
-KEYWORDS="amd64 ~arm ~arm64 ppc ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ppc ~ppc64 x86"
 IUSE="python static-libs"
 
 RDEPEND="python? ( ${PYTHON_DEPS} )"



[gentoo-commits] repo/gentoo:master commit in: app-pda/libplist/

2020-12-17 Thread Agostino Sarubbo
commit: b7f8a6dc5477f81e027f91531c13f291e89d59e4
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Dec 17 16:39:49 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Dec 17 16:39:49 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7f8a6dc

app-pda/libplist: amd64 stable wrt bug #760375

Package-Manager: Portage-3.0.9, Repoman-3.0.2
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 app-pda/libplist/libplist-2.2.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-pda/libplist/libplist-2.2.0-r2.ebuild 
b/app-pda/libplist/libplist-2.2.0-r2.ebuild
index 6bc482a2b68..3956dce388f 100644
--- a/app-pda/libplist/libplist-2.2.0-r2.ebuild
+++ b/app-pda/libplist/libplist-2.2.0-r2.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://cgit.libimobiledevice.org/${PN}.git/snapshot/${P}.tar.bz2;
 
 LICENSE="GPL-2 LGPL-2.1"
 SLOT="0/2.0-3"
-KEYWORDS="~amd64 ~arm ~arm64 ppc ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ppc ~ppc64 ~x86"
 IUSE="python static-libs"
 
 RDEPEND="python? ( ${PYTHON_DEPS} )"



[gentoo-commits] repo/gentoo:master commit in: app-pda/libplist/

2020-12-17 Thread Sam James
commit: e63ed2c77d0621460904dd8e40b4f93218cf170f
Author: Sam James  gentoo  org>
AuthorDate: Thu Dec 17 08:57:57 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Dec 17 08:57:57 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e63ed2c7

app-pda/libplist: Stabilize 2.2.0-r2 ppc, #760375

Signed-off-by: Sam James  gentoo.org>

 app-pda/libplist/libplist-2.2.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-pda/libplist/libplist-2.2.0-r2.ebuild 
b/app-pda/libplist/libplist-2.2.0-r2.ebuild
index 31d8621f1ce..6bc482a2b68 100644
--- a/app-pda/libplist/libplist-2.2.0-r2.ebuild
+++ b/app-pda/libplist/libplist-2.2.0-r2.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://cgit.libimobiledevice.org/${PN}.git/snapshot/${P}.tar.bz2;
 
 LICENSE="GPL-2 LGPL-2.1"
 SLOT="0/2.0-3"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ppc ~ppc64 ~x86"
 IUSE="python static-libs"
 
 RDEPEND="python? ( ${PYTHON_DEPS} )"



[gentoo-commits] repo/gentoo:master commit in: app-pda/libplist/files/, app-pda/libplist/

2020-08-13 Thread Jeroen Roovers
commit: 04014b1e2768aa4d0747c44b7a0c0b473f5a4e04
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Thu Aug 13 07:58:56 2020 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Thu Aug 13 08:06:58 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04014b1e

app-pda/libplist: Simplify configure test for fmin

https://github.com/libimobiledevice/libplist/pull/168

Package-Manager: Portage-3.0.2, Repoman-2.3.23
Bug: https://bugs.gentoo.org/736866
Signed-off-by: Jeroen Roovers  gentoo.org>

 app-pda/libplist/files/libplist-2.2.0-fmin.patch   | 34 ++
 .../files/libplist-2.2.0-pkgconfig-lib.patch   |  5 ++--
 app-pda/libplist/libplist-2.2.0-r2.ebuild  |  5 +++-
 3 files changed, 40 insertions(+), 4 deletions(-)

diff --git a/app-pda/libplist/files/libplist-2.2.0-fmin.patch 
b/app-pda/libplist/files/libplist-2.2.0-fmin.patch
new file mode 100644
index 000..7b9bdc35326
--- /dev/null
+++ b/app-pda/libplist/files/libplist-2.2.0-fmin.patch
@@ -0,0 +1,34 @@
+--- a/configure.ac
 b/configure.ac
+@@ -79,19 +79,7 @@
+ esac
+ AM_CONDITIONAL(WIN32, test x$win32 = xtrue)
+ 
+-# Check if we need libm for fmin
+-CACHED_CFLAGS="$CFLAGS"
+-CFLAGS="-O0"
+-AC_CACHE_CHECK(if fmin is a builtin function, ac_cv_fmin_builtin,
+-  AC_TRY_LINK([
+-  #include 
+-  #include 
+-  ], [
+-  double val = 3.1415f * 0.5f;
+-  double diff = fmin(val, DBL_MAX);
+-  if (diff > 0) return 1;
+-  ], ac_cv_fmin_builtin=yes, ac_cv_fmin_builtin=no))
+-CFLAGS="$CACHED_CFLAGS"
++AC_SEARCH_LIBS([fmin],[m])
+ 
+ # Check if struct tm has a tm_gmtoff member
+ AC_CACHE_CHECK(for tm_gmtoff in struct tm, ac_cv_struct_tm_gmtoff,
+@@ -153,10 +141,6 @@
+ AS_COMPILER_FLAGS(GLOBAL_CFLAGS, "-Wall -Wextra -Wredundant-decls -Wshadow 
-Wpointer-arith  -Wwrite-strings -Wswitch-default -Wno-unused-parameter 
-Wno-strict-aliasing -fvisibility=hidden $PTHREAD_CFLAGS")
+ GLOBAL_LDFLAGS="$PTHREAD_LIBS"
+ 
+-if test "x$ac_cv_fmin_builtin" != "xyes"; then
+-  GLOBAL_LDFLAGS+=" -lm"
+-fi
+-
+ AC_ARG_ENABLE(debug,
+ AS_HELP_STRING([--enable-debug],
+[build debug message output code (default is no)]),

diff --git a/app-pda/libplist/files/libplist-2.2.0-pkgconfig-lib.patch 
b/app-pda/libplist/files/libplist-2.2.0-pkgconfig-lib.patch
index 30ef6779886..2a57d06074a 100644
--- a/app-pda/libplist/files/libplist-2.2.0-pkgconfig-lib.patch
+++ b/app-pda/libplist/files/libplist-2.2.0-pkgconfig-lib.patch
@@ -1,6 +1,5 @@
-diff -Naur libplist/src/libplist-2.0.pc.in 
libplist-pcfile/src/libplist-2.0.pc.in
 libplist/src/libplist-2.0.pc.in2020-07-18 17:25:52.15644 +0300
-+++ libplist-pcfile/src/libplist-2.0.pc.in 2020-07-18 17:26:32.752017958 
+0300
+--- a/src/libplist-2.0.pc.in
 b/src/libplist-2.0.pc.in
 @@ -6,5 +6,5 @@
  Name: @PACKAGE_NAME@
  Description: A library to handle Apple Property Lists whereas they are binary 
or XML

diff --git a/app-pda/libplist/libplist-2.2.0-r2.ebuild 
b/app-pda/libplist/libplist-2.2.0-r2.ebuild
index d7ac5a7b4a3..31d8621f1ce 100644
--- a/app-pda/libplist/libplist-2.2.0-r2.ebuild
+++ b/app-pda/libplist/libplist-2.2.0-r2.ebuild
@@ -26,7 +26,10 @@ REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 DOCS=( AUTHORS NEWS README.md )
 
-PATCHES=( "${FILESDIR}"/libplist-2.2.0-pkgconfig-lib.patch )
+PATCHES=(
+   "${FILESDIR}"/libplist-2.2.0-fmin.patch
+   "${FILESDIR}"/libplist-2.2.0-pkgconfig-lib.patch
+)
 
 BUILD_DIR="${S}_build"
 



[gentoo-commits] repo/gentoo:master commit in: app-pda/libplist/files/, app-pda/libplist/

2020-07-18 Thread Joonas Niilola
commit: ebd5321aa0f3659ae8d94d78c4fb69ec9e555005
Author: Joonas Niilola  gentoo  org>
AuthorDate: Sat Jul 18 14:49:28 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sat Jul 18 14:51:37 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ebd5321a

app-pda/libplist: fix broken 2.2.0 release on Gentoo

 - upstream introduced new way of naming the library, breaking
   reverse deps, see
   https://github.com/libimobiledevice/libplist/issues/163 and
   upstream commit 137716df3f197a7184c1fba88fcb30480dafd6e0. No ABI
   change introduced.

Closes: https://bugs.gentoo.org/733082
Closes: https://bugs.gentoo.org/733048
Closes: https://bugs.gentoo.org/733048
Closes: https://bugs.gentoo.org/732910
Closes: https://bugs.gentoo.org/732916
Signed-off-by: Joonas Niilola  gentoo.org>

 .../files/libplist-2.2.0-pkgconfig-lib.patch   |  10 ++
 app-pda/libplist/libplist-2.2.0-r2.ebuild  | 110 +
 2 files changed, 120 insertions(+)

diff --git a/app-pda/libplist/files/libplist-2.2.0-pkgconfig-lib.patch 
b/app-pda/libplist/files/libplist-2.2.0-pkgconfig-lib.patch
new file mode 100644
index 000..30ef6779886
--- /dev/null
+++ b/app-pda/libplist/files/libplist-2.2.0-pkgconfig-lib.patch
@@ -0,0 +1,10 @@
+diff -Naur libplist/src/libplist-2.0.pc.in 
libplist-pcfile/src/libplist-2.0.pc.in
+--- libplist/src/libplist-2.0.pc.in2020-07-18 17:25:52.15644 +0300
 libplist-pcfile/src/libplist-2.0.pc.in 2020-07-18 17:26:32.752017958 
+0300
+@@ -6,5 +6,5 @@
+ Name: @PACKAGE_NAME@
+ Description: A library to handle Apple Property Lists whereas they are binary 
or XML
+ Version: @PACKAGE_VERSION@
+-Libs: -L${libdir} -lplist-2.0
++Libs: -L${libdir} -lplist-2.0 -lplist
+ Cflags: -I${includedir}

diff --git a/app-pda/libplist/libplist-2.2.0-r2.ebuild 
b/app-pda/libplist/libplist-2.2.0-r2.ebuild
new file mode 100644
index 000..d7ac5a7b4a3
--- /dev/null
+++ b/app-pda/libplist/libplist-2.2.0-r2.ebuild
@@ -0,0 +1,110 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7,8} )
+inherit autotools python-r1 toolchain-funcs
+
+DESCRIPTION="Support library to deal with Apple Property Lists (Binary & XML)"
+HOMEPAGE="https://www.libimobiledevice.org/;
+SRC_URI="https://cgit.libimobiledevice.org/${PN}.git/snapshot/${P}.tar.bz2;
+
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="0/2.0-3"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
+IUSE="python static-libs"
+
+RDEPEND="python? ( ${PYTHON_DEPS} )"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   virtual/pkgconfig
+   python? ( >=dev-python/cython-0.17[${PYTHON_USEDEP}] )
+"
+
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+DOCS=( AUTHORS NEWS README.md )
+
+PATCHES=( "${FILESDIR}"/libplist-2.2.0-pkgconfig-lib.patch )
+
+BUILD_DIR="${S}_build"
+
+src_prepare() {
+   default
+   eautoreconf
+}
+
+src_configure() {
+   local ECONF_SOURCE=${S}
+   local myeconfargs=( $(use_enable static-libs static) )
+
+   do_configure() {
+   mkdir -p "${BUILD_DIR}" || die
+   pushd "${BUILD_DIR}" >/dev/null || die
+   econf "${myeconfargs[@]}" "${@}"
+   popd >/dev/null || die
+   }
+
+   do_configure_python() {
+   local -x PYTHON_LDFLAGS="$(python_get_LIBS)"
+   do_configure "$@"
+   }
+
+   # Don't prefer clang.
+   tc-export CC CXX
+
+   do_configure --without-cython
+   use python && python_foreach_impl do_configure_python
+}
+
+src_compile() {
+   #
+   ln -s "${native_builddir}/src/libplist-2.0.la" 
"${native_builddir}/src/libplist.la"
+   python_compile() {
+   emake -C "${BUILD_DIR}"/cython \
+   VPATH="${S}/cython:${native_builddir}/cython" \
+   plist_la_LIBADD="${native_builddir}/src/libplist-2.0.la"
+   }
+
+   local native_builddir=${BUILD_DIR}
+   pushd "${BUILD_DIR}" >/dev/null || die
+   emake
+   use python && python_foreach_impl python_compile
+   popd >/dev/null || die
+}
+
+src_test() {
+   emake -C "${BUILD_DIR}" check
+}
+
+src_install() {
+   python_install() {
+   emake -C "${BUILD_DIR}/cython" \
+   VPATH="${S}/cython:${native_builddir}/cython" \
+   DESTDIR="${D}" install
+   }
+
+   local native_builddir=${BUILD_DIR}
+   pushd "${BUILD_DIR}" >/dev/null || die
+   emake DESTDIR="${D}" install
+   use python && python_foreach_impl python_install
+   popd >/dev/null || die
+
+   einstalldocs
+
+   if use python ; then
+   insinto /usr/include/plist/cython
+   doins cython/plist.pxd
+   fi
+
+   find "${D}" -name '*.la' -delete || die
+
+   # temporary fix for 2.2.0 release: 
+   # b.g.o 733082, 
+   # https://github.com/libimobiledevice/libplist/issues/163
+   # upstream 

[gentoo-commits] repo/gentoo:master commit in: app-pda/libplist/

2020-07-18 Thread Mart Raudsepp
commit: 455d2ab709f210bb9df09d2611655102e2ea1f19
Author: Mart Raudsepp  gentoo  org>
AuthorDate: Sat Jul 18 10:42:10 2020 +
Commit: Mart Raudsepp  gentoo  org>
CommitDate: Sat Jul 18 10:57:08 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=455d2ab7

app-pda/libplist: fix subslot

Upstream changed from libplist.so.3 to libplist-2.0.so.3, so this
had to be a subslot bump.

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Mart Raudsepp  gentoo.org>

 app-pda/libplist/{libplist-2.2.0.ebuild => libplist-2.2.0-r1.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-pda/libplist/libplist-2.2.0.ebuild 
b/app-pda/libplist/libplist-2.2.0-r1.ebuild
similarity index 99%
rename from app-pda/libplist/libplist-2.2.0.ebuild
rename to app-pda/libplist/libplist-2.2.0-r1.ebuild
index 7c1f430c30f..c5c2f5167b8 100644
--- a/app-pda/libplist/libplist-2.2.0.ebuild
+++ b/app-pda/libplist/libplist-2.2.0-r1.ebuild
@@ -11,7 +11,7 @@ HOMEPAGE="https://www.libimobiledevice.org/;
 SRC_URI="https://cgit.libimobiledevice.org/${PN}.git/snapshot/${P}.tar.bz2;
 
 LICENSE="GPL-2 LGPL-2.1"
-SLOT="0/3"
+SLOT="0/2.0-3"
 KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
 IUSE="python static-libs"
 



[gentoo-commits] repo/gentoo:master commit in: app-pda/libplist/

2020-07-16 Thread Joonas Niilola
commit: 30457c628a8aaff54b01ff87d22eb66ecf0fccb0
Author: Jeffrey Lin  icurse  nl>
AuthorDate: Sat Jun 20 19:34:03 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Thu Jul 16 12:59:23 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30457c62

app-pda/libplist: version bump to 2.2.0

Signed-off-by: Jeffrey Lin  icurse.nl>
Signed-off-by: Joonas Niilola  gentoo.org>

 app-pda/libplist/Manifest  |  1 +
 app-pda/libplist/libplist-2.2.0.ebuild | 98 ++
 2 files changed, 99 insertions(+)

diff --git a/app-pda/libplist/Manifest b/app-pda/libplist/Manifest
index 9004ee69010..f7eb711f962 100644
--- a/app-pda/libplist/Manifest
+++ b/app-pda/libplist/Manifest
@@ -1 +1,2 @@
 DIST libplist-2.1.0.tar.bz2 120602 BLAKE2B 
8abfe3c295c4ebd242f2c4d49c80d1f214097df84f1d2fcf2696519bbbca4e8a5ce13c04690ac64fd981f84d585df25fc65c268a4e4f4092319053583e67736c
 SHA512 
23156e882835bb0b894a05b57018b5e76f9f8f8f4b1d3fdad7b1970d2ef695033c98de74a1fa81bdf0829742a058fd65075cebc1512313d2be42e2f5367274be
+DIST libplist-2.2.0.tar.bz2 126808 BLAKE2B 
7c3ec04aaa52eca33ae28851a6524c9ea531df939feef0f10827c8c2de78a6ccd856ea4d8a568b146ccb5de96f70dd5accec34aa2fdd61f9e6eba01256c0b518
 SHA512 
641bfd3ec0565f104d3a2d1ebdf6137bc9252b67ce90550e24ab0d4e820e119ba4f8f1ba04a0358d995d196fa61e35f2f0ee8ba37fc0270752ae842ab1f5

diff --git a/app-pda/libplist/libplist-2.2.0.ebuild 
b/app-pda/libplist/libplist-2.2.0.ebuild
new file mode 100644
index 000..7c1f430c30f
--- /dev/null
+++ b/app-pda/libplist/libplist-2.2.0.ebuild
@@ -0,0 +1,98 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7,8} )
+inherit autotools python-r1 toolchain-funcs
+
+DESCRIPTION="Support library to deal with Apple Property Lists (Binary & XML)"
+HOMEPAGE="https://www.libimobiledevice.org/;
+SRC_URI="https://cgit.libimobiledevice.org/${PN}.git/snapshot/${P}.tar.bz2;
+
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="0/3"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
+IUSE="python static-libs"
+
+RDEPEND="python? ( ${PYTHON_DEPS} )"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   virtual/pkgconfig
+   python? ( >=dev-python/cython-0.17[${PYTHON_USEDEP}] )
+"
+
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+DOCS=( AUTHORS NEWS README.md )
+
+BUILD_DIR="${S}_build"
+
+src_prepare() {
+   default
+   eautoreconf
+}
+
+src_configure() {
+   local ECONF_SOURCE=${S}
+   local myeconfargs=( $(use_enable static-libs static) )
+
+   do_configure() {
+   mkdir -p "${BUILD_DIR}" || die
+   pushd "${BUILD_DIR}" >/dev/null || die
+   econf "${myeconfargs[@]}" "${@}"
+   popd >/dev/null || die
+   }
+
+   do_configure_python() {
+   local -x PYTHON_LDFLAGS="$(python_get_LIBS)"
+   do_configure "$@"
+   }
+
+   # Don't prefer clang.
+   tc-export CC CXX
+
+   do_configure --without-cython
+   use python && python_foreach_impl do_configure_python
+}
+
+src_compile() {
+   python_compile() {
+   emake -C "${BUILD_DIR}"/cython \
+   VPATH="${S}/cython:${native_builddir}/cython" \
+   plist_la_LIBADD="${native_builddir}/src/libplist.la"
+   }
+
+   local native_builddir=${BUILD_DIR}
+   pushd "${BUILD_DIR}" >/dev/null || die
+   emake
+   use python && python_foreach_impl python_compile
+   popd >/dev/null || die
+}
+
+src_test() {
+   emake -C "${BUILD_DIR}" check
+}
+
+src_install() {
+   python_install() {
+   emake -C "${BUILD_DIR}/cython" \
+   VPATH="${S}/cython:${native_builddir}/cython" \
+   DESTDIR="${D}" install
+   }
+
+   local native_builddir=${BUILD_DIR}
+   pushd "${BUILD_DIR}" >/dev/null || die
+   emake DESTDIR="${D}" install
+   use python && python_foreach_impl python_install
+   popd >/dev/null || die
+
+   einstalldocs
+
+   if use python ; then
+   insinto /usr/include/plist/cython
+   doins cython/plist.pxd
+   fi
+
+   find "${D}" -name '*.la' -delete || die
+}



[gentoo-commits] repo/gentoo:master commit in: app-pda/libplist/

2020-05-10 Thread Andreas Sturmlechner
commit: ea855e7d714adb9975351170ca8a7af03a0183e5
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sun May 10 12:36:19 2020 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sun May 10 12:36:19 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea855e7d

app-pda/libplist: Drop 2.0.0

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 app-pda/libplist/Manifest  |  1 -
 app-pda/libplist/libplist-2.0.0.ebuild | 88 --
 2 files changed, 89 deletions(-)

diff --git a/app-pda/libplist/Manifest b/app-pda/libplist/Manifest
index 9671223444f..9004ee69010 100644
--- a/app-pda/libplist/Manifest
+++ b/app-pda/libplist/Manifest
@@ -1,2 +1 @@
-DIST libplist-2.0.0.tar.bz2 421405 BLAKE2B 
2f6e22c871ad3b5ace2a2c6aab09706e8a8c1759f1656c5c07164e5b89a1b5eae24d2d7472e0dcca7eddd96b641715acfe5a0a791b0b994ec5fbcdf70627acf9
 SHA512 
81508bf6773483528816725c3b5b868563b84fd7810999404072e5ea9efa7fc9f11ef997f32208e4421aa26b15edd0c65f87c67c1472e8c4e356f1e9fe7740ee
 DIST libplist-2.1.0.tar.bz2 120602 BLAKE2B 
8abfe3c295c4ebd242f2c4d49c80d1f214097df84f1d2fcf2696519bbbca4e8a5ce13c04690ac64fd981f84d585df25fc65c268a4e4f4092319053583e67736c
 SHA512 
23156e882835bb0b894a05b57018b5e76f9f8f8f4b1d3fdad7b1970d2ef695033c98de74a1fa81bdf0829742a058fd65075cebc1512313d2be42e2f5367274be

diff --git a/app-pda/libplist/libplist-2.0.0.ebuild 
b/app-pda/libplist/libplist-2.0.0.ebuild
deleted file mode 100644
index c1aa521a377..000
--- a/app-pda/libplist/libplist-2.0.0.ebuild
+++ /dev/null
@@ -1,88 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="6"
-PYTHON_COMPAT=( python{3_6,3_7,3_8} )
-inherit autotools eutils ltprune python-r1
-
-DESCRIPTION="Support library to deal with Apple Property Lists (Binary & XML)"
-HOMEPAGE="http://www.libimobiledevice.org/;
-SRC_URI="http://www.libimobiledevice.org/downloads/${P}.tar.bz2;
-
-LICENSE="GPL-2 LGPL-2.1"
-SLOT="0/3.1.0" # based on SONAME of libplist.so
-KEYWORDS="amd64 ~arm ~arm64 ppc ~ppc64 x86"
-IUSE="python static-libs"
-
-RDEPEND="python? ( ${PYTHON_DEPS} )"
-DEPEND="${RDEPEND}
-   virtual/pkgconfig
-   python? ( >=dev-python/cython-0.17[${PYTHON_USEDEP}] )"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-DOCS=( AUTHORS NEWS README )
-
-BUILD_DIR="${S}_build"
-
-src_prepare() {
-   default
-
-   eautoreconf
-}
-
-src_configure() {
-   local ECONF_SOURCE=${S}
-   local myeconfargs=( $(use_enable static-libs static) )
-
-   do_configure() {
-   mkdir -p "${BUILD_DIR}" || die
-   pushd "${BUILD_DIR}" >/dev/null || die
-   econf "${myeconfargs[@]}" "${@}"
-   popd >/dev/null || die
-   }
-
-   do_configure_python() {
-   local -x PYTHON_LDFLAGS="$(python_get_LIBS)"
-   do_configure "$@"
-   }
-
-   do_configure --without-cython
-   use python && python_foreach_impl do_configure_python
-}
-
-src_compile() {
-   python_compile() {
-   emake -C "${BUILD_DIR}"/cython -j1 \
-   VPATH="${S}/cython:${native_builddir}/cython" \
-   plist_la_LIBADD="${native_builddir}/src/libplist.la"
-   }
-
-   local native_builddir=${BUILD_DIR}
-   pushd "${BUILD_DIR}" >/dev/null || die
-   emake -j1
-   use python && python_foreach_impl python_compile
-   popd >/dev/null || die
-}
-
-src_install() {
-   python_install() {
-   emake -C "${BUILD_DIR}/cython" -j1 \
-   VPATH="${S}/cython:${native_builddir}/cython" \
-   DESTDIR="${D}" install
-   }
-
-   local native_builddir=${BUILD_DIR}
-   pushd "${BUILD_DIR}" >/dev/null || die
-   emake -j1 DESTDIR="${D}" install
-   use python && python_foreach_impl python_install
-   popd >/dev/null || die
-
-   einstalldocs
-
-   if use python ; then
-   insinto /usr/include/plist/cython
-   doins cython/plist.pxd
-   fi
-   prune_libtool_files --all
-}



[gentoo-commits] repo/gentoo:master commit in: app-pda/libplist/

2020-05-09 Thread Agostino Sarubbo
commit: 2620579613c97a79671a46b769f89d9320360ad0
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sat May  9 07:47:48 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sat May  9 07:47:48 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26205796

app-pda/libplist: x86 stable wrt bug #721616

Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 app-pda/libplist/libplist-2.1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-pda/libplist/libplist-2.1.0.ebuild 
b/app-pda/libplist/libplist-2.1.0.ebuild
index 44eb6c358e4..d4dfa2e6a79 100644
--- a/app-pda/libplist/libplist-2.1.0.ebuild
+++ b/app-pda/libplist/libplist-2.1.0.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://cgit.libimobiledevice.org/${PN}.git/snapshot/${P}.tar.bz2;
 
 LICENSE="GPL-2 LGPL-2.1"
 SLOT="0/3"
-KEYWORDS="amd64 ~arm ~arm64 ppc ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ppc ~ppc64 x86"
 IUSE="python static-libs"
 
 RDEPEND="python? ( ${PYTHON_DEPS} )"



[gentoo-commits] repo/gentoo:master commit in: app-pda/libplist/

2020-05-09 Thread Agostino Sarubbo
commit: 8b1c2f0b4922e21f95550dc17e47276dd9733b4f
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sat May  9 07:38:39 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sat May  9 07:38:39 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b1c2f0b

app-pda/libplist: amd64 stable wrt bug #721616

Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 app-pda/libplist/libplist-2.1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-pda/libplist/libplist-2.1.0.ebuild 
b/app-pda/libplist/libplist-2.1.0.ebuild
index 4d5b5f20602..44eb6c358e4 100644
--- a/app-pda/libplist/libplist-2.1.0.ebuild
+++ b/app-pda/libplist/libplist-2.1.0.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://cgit.libimobiledevice.org/${PN}.git/snapshot/${P}.tar.bz2;
 
 LICENSE="GPL-2 LGPL-2.1"
 SLOT="0/3"
-KEYWORDS="~amd64 ~arm ~arm64 ppc ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ppc ~ppc64 ~x86"
 IUSE="python static-libs"
 
 RDEPEND="python? ( ${PYTHON_DEPS} )"



[gentoo-commits] repo/gentoo:master commit in: app-pda/libplist/

2020-05-08 Thread Agostino Sarubbo
commit: 644a21f29babdb4b790bee7a506f016457681d46
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri May  8 17:11:50 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri May  8 17:11:50 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=644a21f2

app-pda/libplist: ppc stable wrt bug #721616

Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 app-pda/libplist/libplist-2.1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-pda/libplist/libplist-2.1.0.ebuild 
b/app-pda/libplist/libplist-2.1.0.ebuild
index 7b342d04b16..4d5b5f20602 100644
--- a/app-pda/libplist/libplist-2.1.0.ebuild
+++ b/app-pda/libplist/libplist-2.1.0.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://cgit.libimobiledevice.org/${PN}.git/snapshot/${P}.tar.bz2;
 
 LICENSE="GPL-2 LGPL-2.1"
 SLOT="0/3"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ppc ~ppc64 ~x86"
 IUSE="python static-libs"
 
 RDEPEND="python? ( ${PYTHON_DEPS} )"



[gentoo-commits] repo/gentoo:master commit in: app-pda/libplist/

2020-03-28 Thread James Le Cuirot
commit: 4805099cb791315b53f0416b336b35b116f183f6
Author: James Le Cuirot  gentoo  org>
AuthorDate: Sat Mar 28 13:29:57 2020 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Sat Mar 28 13:31:49 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4805099c

app-pda/libplist: Don't prefer clang in 2.1.0

Closes: https://bugs.gentoo.org/714076
Package-Manager: Portage-2.3.96, Repoman-2.3.20
Signed-off-by: James Le Cuirot  gentoo.org>

 app-pda/libplist/libplist-2.1.0.ebuild | 9 ++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/app-pda/libplist/libplist-2.1.0.ebuild 
b/app-pda/libplist/libplist-2.1.0.ebuild
index c3222d61087..7b342d04b16 100644
--- a/app-pda/libplist/libplist-2.1.0.ebuild
+++ b/app-pda/libplist/libplist-2.1.0.ebuild
@@ -4,7 +4,7 @@
 EAPI=7
 
 PYTHON_COMPAT=( python3_{6,7,8} )
-inherit autotools python-r1
+inherit autotools python-r1 toolchain-funcs
 
 DESCRIPTION="Support library to deal with Apple Property Lists (Binary & XML)"
 HOMEPAGE="https://www.libimobiledevice.org/;
@@ -49,13 +49,16 @@ src_configure() {
do_configure "$@"
}
 
+   # Don't prefer clang.
+   tc-export CC CXX
+
do_configure --without-cython
use python && python_foreach_impl do_configure_python
 }
 
 src_compile() {
python_compile() {
-   emake -C "${BUILD_DIR}"/cython -j1 \
+   emake -C "${BUILD_DIR}"/cython \
VPATH="${S}/cython:${native_builddir}/cython" \
plist_la_LIBADD="${native_builddir}/src/libplist.la"
}
@@ -73,7 +76,7 @@ src_test() {
 
 src_install() {
python_install() {
-   emake -C "${BUILD_DIR}/cython" -j1 \
+   emake -C "${BUILD_DIR}/cython" \
VPATH="${S}/cython:${native_builddir}/cython" \
DESTDIR="${D}" install
}



[gentoo-commits] repo/gentoo:master commit in: app-pda/libplist/

2020-03-21 Thread James Le Cuirot
commit: 13cb537b392128d446e6fea9db65ef40ca4cc940
Author: James Le Cuirot  gentoo  org>
AuthorDate: Sat Mar 21 21:36:40 2020 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Sat Mar 21 21:36:40 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13cb537b

app-pda/libplist: Only enforce Python targets when USE=python

Package-Manager: Portage-2.3.94, Repoman-2.3.20
Signed-off-by: James Le Cuirot  gentoo.org>

 app-pda/libplist/libplist-2.1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-pda/libplist/libplist-2.1.0.ebuild 
b/app-pda/libplist/libplist-2.1.0.ebuild
index 5b2907fffdd..c3222d61087 100644
--- a/app-pda/libplist/libplist-2.1.0.ebuild
+++ b/app-pda/libplist/libplist-2.1.0.ebuild
@@ -22,7 +22,7 @@ BDEPEND="
python? ( >=dev-python/cython-0.17[${PYTHON_USEDEP}] )
 "
 
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 DOCS=( AUTHORS NEWS README.md )
 



[gentoo-commits] repo/gentoo:master commit in: app-pda/libplist/

2020-03-21 Thread James Le Cuirot
commit: 4d9abe76aba661d57825028a2e7ae2b8de5e42b2
Author: James Le Cuirot  gentoo  org>
AuthorDate: Sat Mar 21 16:56:28 2020 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Sat Mar 21 16:57:07 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d9abe76

app-pda/libplist: Version bump to 2.1.0, EAPI 7

emake -j1 is no longer required since the project switched back to
Autotools from CMake.

The subslot doesn't need to be 3.1.0 or similar as the SONAME is only
libplist.so.3. Perhaps this was different under CMake.

Python 3.8 was added to 2.0.0 but didn't build. It just works without
additional fixes in this version.

src_test has been added.

Package-Manager: Portage-2.3.94, Repoman-2.3.20
Signed-off-by: James Le Cuirot  gentoo.org>

 app-pda/libplist/Manifest  |  1 +
 app-pda/libplist/libplist-2.1.0.ebuild | 95 ++
 2 files changed, 96 insertions(+)

diff --git a/app-pda/libplist/Manifest b/app-pda/libplist/Manifest
index 55adf520697..9671223444f 100644
--- a/app-pda/libplist/Manifest
+++ b/app-pda/libplist/Manifest
@@ -1 +1,2 @@
 DIST libplist-2.0.0.tar.bz2 421405 BLAKE2B 
2f6e22c871ad3b5ace2a2c6aab09706e8a8c1759f1656c5c07164e5b89a1b5eae24d2d7472e0dcca7eddd96b641715acfe5a0a791b0b994ec5fbcdf70627acf9
 SHA512 
81508bf6773483528816725c3b5b868563b84fd7810999404072e5ea9efa7fc9f11ef997f32208e4421aa26b15edd0c65f87c67c1472e8c4e356f1e9fe7740ee
+DIST libplist-2.1.0.tar.bz2 120602 BLAKE2B 
8abfe3c295c4ebd242f2c4d49c80d1f214097df84f1d2fcf2696519bbbca4e8a5ce13c04690ac64fd981f84d585df25fc65c268a4e4f4092319053583e67736c
 SHA512 
23156e882835bb0b894a05b57018b5e76f9f8f8f4b1d3fdad7b1970d2ef695033c98de74a1fa81bdf0829742a058fd65075cebc1512313d2be42e2f5367274be

diff --git a/app-pda/libplist/libplist-2.1.0.ebuild 
b/app-pda/libplist/libplist-2.1.0.ebuild
new file mode 100644
index 000..5b2907fffdd
--- /dev/null
+++ b/app-pda/libplist/libplist-2.1.0.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8} )
+inherit autotools python-r1
+
+DESCRIPTION="Support library to deal with Apple Property Lists (Binary & XML)"
+HOMEPAGE="https://www.libimobiledevice.org/;
+SRC_URI="https://cgit.libimobiledevice.org/${PN}.git/snapshot/${P}.tar.bz2;
+
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="0/3"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
+IUSE="python static-libs"
+
+RDEPEND="python? ( ${PYTHON_DEPS} )"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   virtual/pkgconfig
+   python? ( >=dev-python/cython-0.17[${PYTHON_USEDEP}] )
+"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DOCS=( AUTHORS NEWS README.md )
+
+BUILD_DIR="${S}_build"
+
+src_prepare() {
+   default
+   eautoreconf
+}
+
+src_configure() {
+   local ECONF_SOURCE=${S}
+   local myeconfargs=( $(use_enable static-libs static) )
+
+   do_configure() {
+   mkdir -p "${BUILD_DIR}" || die
+   pushd "${BUILD_DIR}" >/dev/null || die
+   econf "${myeconfargs[@]}" "${@}"
+   popd >/dev/null || die
+   }
+
+   do_configure_python() {
+   local -x PYTHON_LDFLAGS="$(python_get_LIBS)"
+   do_configure "$@"
+   }
+
+   do_configure --without-cython
+   use python && python_foreach_impl do_configure_python
+}
+
+src_compile() {
+   python_compile() {
+   emake -C "${BUILD_DIR}"/cython -j1 \
+   VPATH="${S}/cython:${native_builddir}/cython" \
+   plist_la_LIBADD="${native_builddir}/src/libplist.la"
+   }
+
+   local native_builddir=${BUILD_DIR}
+   pushd "${BUILD_DIR}" >/dev/null || die
+   emake
+   use python && python_foreach_impl python_compile
+   popd >/dev/null || die
+}
+
+src_test() {
+   emake -C "${BUILD_DIR}" check
+}
+
+src_install() {
+   python_install() {
+   emake -C "${BUILD_DIR}/cython" -j1 \
+   VPATH="${S}/cython:${native_builddir}/cython" \
+   DESTDIR="${D}" install
+   }
+
+   local native_builddir=${BUILD_DIR}
+   pushd "${BUILD_DIR}" >/dev/null || die
+   emake DESTDIR="${D}" install
+   use python && python_foreach_impl python_install
+   popd >/dev/null || die
+
+   einstalldocs
+
+   if use python ; then
+   insinto /usr/include/plist/cython
+   doins cython/plist.pxd
+   fi
+
+   find "${D}" -name '*.la' -delete || die
+}



[gentoo-commits] repo/gentoo:master commit in: app-pda/libplist/

2020-03-05 Thread Michał Górny
commit: 41883a1f37f5a3f19e826b51bf235356183fbb68
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Mar  5 15:46:49 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Mar  5 16:21:02 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41883a1f

app-pda/libplist: Silence pymighelper false positive

Signed-off-by: Michał Górny  gentoo.org>

 app-pda/libplist/libplist-2.0.0.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/app-pda/libplist/libplist-2.0.0.ebuild 
b/app-pda/libplist/libplist-2.0.0.ebuild
index 37e0c7cd5e8..c1aa521a377 100644
--- a/app-pda/libplist/libplist-2.0.0.ebuild
+++ b/app-pda/libplist/libplist-2.0.0.ebuild
@@ -43,7 +43,8 @@ src_configure() {
}
 
do_configure_python() {
-   PYTHON_LDFLAGS="$(python_get_LIBS)" do_configure "$@"
+   local -x PYTHON_LDFLAGS="$(python_get_LIBS)"
+   do_configure "$@"
}
 
do_configure --without-cython



[gentoo-commits] repo/gentoo:master commit in: app-pda/libplist/

2020-02-10 Thread Michał Górny
commit: a57015c0284b9e2f2fcf71cbe65d47694ecc0d9f
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Feb 10 20:42:53 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Feb 10 20:59:57 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a57015c0

app-pda/libplist: Remove py2

Signed-off-by: Michał Górny  gentoo.org>

 app-pda/libplist/libplist-2.0.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-pda/libplist/libplist-2.0.0.ebuild 
b/app-pda/libplist/libplist-2.0.0.ebuild
index a9bce66186f..77cfc406326 100644
--- a/app-pda/libplist/libplist-2.0.0.ebuild
+++ b/app-pda/libplist/libplist-2.0.0.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
-PYTHON_COMPAT=( python{2_7,3_6,3_7,3_8} )
+PYTHON_COMPAT=( python{3_6,3_7,3_8} )
 inherit autotools eutils python-r1
 
 DESCRIPTION="Support library to deal with Apple Property Lists (Binary & XML)"



[gentoo-commits] repo/gentoo:master commit in: app-pda/libplist/

2020-01-13 Thread Craig Andrews
commit: 08e3d5ed345a1105253f61fc8a5210d20e8b018d
Author: Craig Andrews  gentoo  org>
AuthorDate: Mon Jan 13 18:53:59 2020 +
Commit: Craig Andrews  gentoo  org>
CommitDate: Mon Jan 13 18:56:14 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08e3d5ed

app-pda/libplist: Python 3.7 and 3.8 compatibility

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Craig Andrews  gentoo.org>

 app-pda/libplist/libplist-2.0.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-pda/libplist/libplist-2.0.0.ebuild 
b/app-pda/libplist/libplist-2.0.0.ebuild
index e44a0796196..a9bce66186f 100644
--- a/app-pda/libplist/libplist-2.0.0.ebuild
+++ b/app-pda/libplist/libplist-2.0.0.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
-PYTHON_COMPAT=( python{2_7,3_6} )
+PYTHON_COMPAT=( python{2_7,3_6,3_7,3_8} )
 inherit autotools eutils python-r1
 
 DESCRIPTION="Support library to deal with Apple Property Lists (Binary & XML)"



[gentoo-commits] repo/gentoo:master commit in: app-pda/libplist/

2017-07-07 Thread Michael Palimaka
commit: 26d39065ca9a589f4106ebd128d22258cd83b472
Author: Michael Palimaka  gentoo  org>
AuthorDate: Sat Jul  8 02:32:51 2017 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Sat Jul  8 02:33:00 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26d39065

app-pda/libplist: remove 1.12

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 app-pda/libplist/Manifest |  1 -
 app-pda/libplist/libplist-1.12.ebuild | 82 ---
 2 files changed, 83 deletions(-)

diff --git a/app-pda/libplist/Manifest b/app-pda/libplist/Manifest
index 73f0e7344a0..23105db5339 100644
--- a/app-pda/libplist/Manifest
+++ b/app-pda/libplist/Manifest
@@ -1,2 +1 @@
-DIST libplist-1.12.tar.bz2 384321 SHA256 
0effdedcb3de128c4930d8c03a3854c74c426c16728b8ab5f0a5b6bdc0b644be SHA512 
8af40d8f457ca9a8a9061e9429698c696200714cc05dcbe981e900106c52cd5222edb9dd8d8976bccd0c8997508ed14fb2e10f0ed29383f2ad4f7c5eb7eec0b3
 WHIRLPOOL 
7d3c4f7822683018b5b0e794d509b9cf5a703605ed772df849ad9ebba6e8191f2eb629444c07d2dcb265520d24c94f13287f200fec34779c9e6fe029536183a7
 DIST libplist-2.0.0.tar.bz2 421405 SHA256 
3a7e9694c2d9a85174ba1fa92417cfabaea7f6d19631e544948dc7e17e82f602 SHA512 
81508bf6773483528816725c3b5b868563b84fd7810999404072e5ea9efa7fc9f11ef997f32208e4421aa26b15edd0c65f87c67c1472e8c4e356f1e9fe7740ee
 WHIRLPOOL 
cfea767321dda602722281f189dae708969c7471bc4b9388638b671257f3808358e1227cdf29cba7751cb715a8ec92fccb1c0dd5c8d150ebac19fdf8633c6339

diff --git a/app-pda/libplist/libplist-1.12.ebuild 
b/app-pda/libplist/libplist-1.12.ebuild
deleted file mode 100644
index 9467b05e68c..000
--- a/app-pda/libplist/libplist-1.12.ebuild
+++ /dev/null
@@ -1,82 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-PYTHON_COMPAT=( python{2_7,3_4,3_5} )
-inherit autotools eutils python-r1
-
-DESCRIPTION="Support library to deal with Apple Property Lists (Binary & XML)"
-HOMEPAGE="http://www.libimobiledevice.org/;
-SRC_URI="http://www.libimobiledevice.org/downloads/${P}.tar.bz2;
-
-LICENSE="GPL-2 LGPL-2.1"
-SLOT="0/3" # based on SONAME of libplist.so
-KEYWORDS="amd64 ~arm ppc ~ppc64 x86 ~amd64-fbsd"
-IUSE="python static-libs"
-
-RDEPEND=">=dev-libs/libxml2-2.7.8
-   python? ( ${PYTHON_DEPS} )"
-DEPEND="${RDEPEND}
-   virtual/pkgconfig
-   python? ( >=dev-python/cython-0.17[${PYTHON_USEDEP}] )"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-DOCS=( AUTHORS NEWS README )
-
-RESTRICT="test" # TODO: src_test() was dropped from 1.10 (cmake) -> 1.11 
(autotools)
-
-BUILD_DIR="${S}_build"
-
-src_configure() {
-   local ECONF_SOURCE=${S}
-   local myeconfargs=( $(use_enable static-libs static) )
-
-   do_configure() {
-   mkdir -p "${BUILD_DIR}" || die
-   pushd "${BUILD_DIR}" >/dev/null || die
-   econf "${myeconfargs[@]}" "${@}"
-   popd >/dev/null || die
-   }
-
-   do_configure_python() {
-   PYTHON_LDFLAGS="$(python_get_LIBS)" do_configure "$@"
-   }
-
-   do_configure --without-cython
-   use python && python_foreach_impl do_configure_python
-}
-
-src_compile() {
-   python_compile() {
-   emake -C "${BUILD_DIR}"/cython -j1 \
-   VPATH="${S}/cython:${native_builddir}/cython" \
-   plist_la_LIBADD="${native_builddir}/src/libplist.la"
-   }
-
-   local native_builddir=${BUILD_DIR}
-   pushd "${BUILD_DIR}" >/dev/null || die
-   emake -j1
-   use python && python_foreach_impl python_compile
-   popd >/dev/null || die
-}
-
-src_install() {
-   python_install() {
-   emake -C "${BUILD_DIR}/cython" -j1 \
-   VPATH="${S}/cython:${native_builddir}/cython" \
-   DESTDIR="${D}" install
-   }
-
-   local native_builddir=${BUILD_DIR}
-   pushd "${BUILD_DIR}" >/dev/null || die
-   emake -j1 DESTDIR="${D}" install
-   use python && python_foreach_impl python_install
-   popd >/dev/null || die
-
-   if use python ; then
-   insinto /usr/include/plist/cython
-   doins cython/plist.pxd
-   fi
-   prune_libtool_files --all
-}



[gentoo-commits] repo/gentoo:master commit in: app-pda/libplist/

2017-06-25 Thread Agostino Sarubbo
commit: 734d77e08258a8573e8aa8dd666d69c2d074387b
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Jun 25 16:31:16 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Jun 25 16:31:16 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=734d77e0

app-pda/libplist: amd64 stable wrt bug #608040

Package-Manager: Portage-2.3.6, Repoman-2.3.1
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 app-pda/libplist/libplist-2.0.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-pda/libplist/libplist-2.0.0.ebuild 
b/app-pda/libplist/libplist-2.0.0.ebuild
index 7ac5ace542a..e3665b55052 100644
--- a/app-pda/libplist/libplist-2.0.0.ebuild
+++ b/app-pda/libplist/libplist-2.0.0.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="http://www.libimobiledevice.org/downloads/${P}.tar.bz2;
 
 LICENSE="GPL-2 LGPL-2.1"
 SLOT="0/3.1.0" # based on SONAME of libplist.so
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-fbsd"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-fbsd"
 IUSE="python static-libs"
 
 RDEPEND="python? ( ${PYTHON_DEPS} )"



[gentoo-commits] repo/gentoo:master commit in: app-pda/libplist/

2017-06-19 Thread Alexis Ballier
commit: 5bdc6c14374a5d8c82e2432fc1a29f549f5ec0fd
Author: Alexis Ballier  gentoo  org>
AuthorDate: Mon Jun 19 16:09:48 2017 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Mon Jun 19 16:16:05 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5bdc6c14

app-pda/libplist: keyword ~arm64

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 app-pda/libplist/libplist-2.0.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-pda/libplist/libplist-2.0.0.ebuild 
b/app-pda/libplist/libplist-2.0.0.ebuild
index 64e5408872f..7ac5ace542a 100644
--- a/app-pda/libplist/libplist-2.0.0.ebuild
+++ b/app-pda/libplist/libplist-2.0.0.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="http://www.libimobiledevice.org/downloads/${P}.tar.bz2;
 
 LICENSE="GPL-2 LGPL-2.1"
 SLOT="0/3.1.0" # based on SONAME of libplist.so
-KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-fbsd"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-fbsd"
 IUSE="python static-libs"
 
 RDEPEND="python? ( ${PYTHON_DEPS} )"



[gentoo-commits] repo/gentoo:master commit in: app-pda/libplist/

2017-06-06 Thread Thomas Deutschmann
commit: b7d7cf44be09d4e31261c8adfdcced02a73d8585
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Tue Jun  6 13:32:20 2017 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Tue Jun  6 13:32:37 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7d7cf44

app-pda/libplist: Security bump to v2.0.0 (bug #608040)

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 app-pda/libplist/Manifest  |  1 +
 app-pda/libplist/libplist-2.0.0.ebuild | 87 ++
 app-pda/libplist/metadata.xml  |  4 ++
 3 files changed, 92 insertions(+)

diff --git a/app-pda/libplist/Manifest b/app-pda/libplist/Manifest
index e8f6f1634b1..73f0e7344a0 100644
--- a/app-pda/libplist/Manifest
+++ b/app-pda/libplist/Manifest
@@ -1 +1,2 @@
 DIST libplist-1.12.tar.bz2 384321 SHA256 
0effdedcb3de128c4930d8c03a3854c74c426c16728b8ab5f0a5b6bdc0b644be SHA512 
8af40d8f457ca9a8a9061e9429698c696200714cc05dcbe981e900106c52cd5222edb9dd8d8976bccd0c8997508ed14fb2e10f0ed29383f2ad4f7c5eb7eec0b3
 WHIRLPOOL 
7d3c4f7822683018b5b0e794d509b9cf5a703605ed772df849ad9ebba6e8191f2eb629444c07d2dcb265520d24c94f13287f200fec34779c9e6fe029536183a7
+DIST libplist-2.0.0.tar.bz2 421405 SHA256 
3a7e9694c2d9a85174ba1fa92417cfabaea7f6d19631e544948dc7e17e82f602 SHA512 
81508bf6773483528816725c3b5b868563b84fd7810999404072e5ea9efa7fc9f11ef997f32208e4421aa26b15edd0c65f87c67c1472e8c4e356f1e9fe7740ee
 WHIRLPOOL 
cfea767321dda602722281f189dae708969c7471bc4b9388638b671257f3808358e1227cdf29cba7751cb715a8ec92fccb1c0dd5c8d150ebac19fdf8633c6339

diff --git a/app-pda/libplist/libplist-2.0.0.ebuild 
b/app-pda/libplist/libplist-2.0.0.ebuild
new file mode 100644
index 000..64e5408872f
--- /dev/null
+++ b/app-pda/libplist/libplist-2.0.0.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+inherit autotools eutils python-r1
+
+DESCRIPTION="Support library to deal with Apple Property Lists (Binary & XML)"
+HOMEPAGE="http://www.libimobiledevice.org/;
+SRC_URI="http://www.libimobiledevice.org/downloads/${P}.tar.bz2;
+
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="0/3.1.0" # based on SONAME of libplist.so
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-fbsd"
+IUSE="python static-libs"
+
+RDEPEND="python? ( ${PYTHON_DEPS} )"
+DEPEND="${RDEPEND}
+   virtual/pkgconfig
+   python? ( >=dev-python/cython-0.17[${PYTHON_USEDEP}] )"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DOCS=( AUTHORS NEWS README )
+
+BUILD_DIR="${S}_build"
+
+src_prepare() {
+   default
+
+   eautoreconf
+}
+
+src_configure() {
+   local ECONF_SOURCE=${S}
+   local myeconfargs=( $(use_enable static-libs static) )
+
+   do_configure() {
+   mkdir -p "${BUILD_DIR}" || die
+   pushd "${BUILD_DIR}" >/dev/null || die
+   econf "${myeconfargs[@]}" "${@}"
+   popd >/dev/null || die
+   }
+
+   do_configure_python() {
+   PYTHON_LDFLAGS="$(python_get_LIBS)" do_configure "$@"
+   }
+
+   do_configure --without-cython
+   use python && python_foreach_impl do_configure_python
+}
+
+src_compile() {
+   python_compile() {
+   emake -C "${BUILD_DIR}"/cython -j1 \
+   VPATH="${S}/cython:${native_builddir}/cython" \
+   plist_la_LIBADD="${native_builddir}/src/libplist.la"
+   }
+
+   local native_builddir=${BUILD_DIR}
+   pushd "${BUILD_DIR}" >/dev/null || die
+   emake -j1
+   use python && python_foreach_impl python_compile
+   popd >/dev/null || die
+}
+
+src_install() {
+   python_install() {
+   emake -C "${BUILD_DIR}/cython" -j1 \
+   VPATH="${S}/cython:${native_builddir}/cython" \
+   DESTDIR="${D}" install
+   }
+
+   local native_builddir=${BUILD_DIR}
+   pushd "${BUILD_DIR}" >/dev/null || die
+   emake -j1 DESTDIR="${D}" install
+   use python && python_foreach_impl python_install
+   popd >/dev/null || die
+
+   einstalldocs
+
+   if use python ; then
+   insinto /usr/include/plist/cython
+   doins cython/plist.pxd
+   fi
+   prune_libtool_files --all
+}

diff --git a/app-pda/libplist/metadata.xml b/app-pda/libplist/metadata.xml
index 6f49eba8f49..7cae0531e52 100644
--- a/app-pda/libplist/metadata.xml
+++ b/app-pda/libplist/metadata.xml
@@ -2,4 +2,8 @@
 http://www.gentoo.org/dtd/metadata.dtd;>
 
 
+   
+   
https://github.com/libimobiledevice/libplist/issues
+   libimobiledevice/libplist
+   
 



[gentoo-commits] repo/gentoo:master commit in: app-pda/libplist/

2017-05-20 Thread Michael Weber
commit: 8f032840217272c20ea9862abb95e575a8e3f2fc
Author: Michael Weber  gentoo  org>
AuthorDate: Sat May 20 23:41:58 2017 +
Commit: Michael Weber  gentoo  org>
CommitDate: Sat May 20 23:45:59 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f032840

app-pda/libplist: ppc stable (bug 617114).

Package-Manager: Portage-2.3.5, Repoman-2.3.2
RepoMan-Options: --include-arches="ppc"

 app-pda/libplist/libplist-1.12.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-pda/libplist/libplist-1.12.ebuild 
b/app-pda/libplist/libplist-1.12.ebuild
index d0c34bdf903..9467b05e68c 100644
--- a/app-pda/libplist/libplist-1.12.ebuild
+++ b/app-pda/libplist/libplist-1.12.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="http://www.libimobiledevice.org/downloads/${P}.tar.bz2;
 
 LICENSE="GPL-2 LGPL-2.1"
 SLOT="0/3" # based on SONAME of libplist.so
-KEYWORDS="amd64 ~arm ~ppc ~ppc64 x86 ~amd64-fbsd"
+KEYWORDS="amd64 ~arm ppc ~ppc64 x86 ~amd64-fbsd"
 IUSE="python static-libs"
 
 RDEPEND=">=dev-libs/libxml2-2.7.8



[gentoo-commits] repo/gentoo:master commit in: app-pda/libplist/

2017-01-18 Thread Michael Palimaka
commit: 7fab8d981da0656e280f784e734c64f943480eae
Author: Michael Palimaka  gentoo  org>
AuthorDate: Wed Jan 18 12:01:50 2017 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Wed Jan 18 12:01:59 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7fab8d98

app-pda/libplist: remove 1.11*

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 app-pda/libplist/Manifest|  1 -
 app-pda/libplist/libplist-1.11-r1.ebuild | 56 -
 app-pda/libplist/libplist-1.11-r2.ebuild | 83 
 app-pda/libplist/libplist-1.11.ebuild| 53 
 4 files changed, 193 deletions(-)

diff --git a/app-pda/libplist/Manifest b/app-pda/libplist/Manifest
index 020ea78..e8f6f16 100644
--- a/app-pda/libplist/Manifest
+++ b/app-pda/libplist/Manifest
@@ -1,2 +1 @@
-DIST libplist-1.11.tar.bz2 355365 SHA256 
28e1518eeea054f4eec9a1c93d9575d56193b290c53c1b753773a5e0add95235 SHA512 
1c415670877c7091ded541dc36a6bc91132f714a0d3590090ead40ed972e0e076285441d3d219827cc425bc41fcbc101825e937620b7b4f2c1afe4bef8487fa2
 WHIRLPOOL 
a2c74d3454b80696ab45922fe410833912554588d9ed5c177cbed1865bd98099b29a20ab6cf14a0b7c98de59d082fd15392915a94f33d27b16109300a0de2e4c
 DIST libplist-1.12.tar.bz2 384321 SHA256 
0effdedcb3de128c4930d8c03a3854c74c426c16728b8ab5f0a5b6bdc0b644be SHA512 
8af40d8f457ca9a8a9061e9429698c696200714cc05dcbe981e900106c52cd5222edb9dd8d8976bccd0c8997508ed14fb2e10f0ed29383f2ad4f7c5eb7eec0b3
 WHIRLPOOL 
7d3c4f7822683018b5b0e794d509b9cf5a703605ed772df849ad9ebba6e8191f2eb629444c07d2dcb265520d24c94f13287f200fec34779c9e6fe029536183a7

diff --git a/app-pda/libplist/libplist-1.11-r1.ebuild 
b/app-pda/libplist/libplist-1.11-r1.ebuild
deleted file mode 100644
index 2fa2438..
--- a/app-pda/libplist/libplist-1.11-r1.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-# ac_python_devel.m4 is broken with python3
-PYTHON_COMPAT=( python2_7 )
-inherit python-single-r1
-
-DESCRIPTION="Support library to deal with Apple Property Lists (Binary & XML)"
-HOMEPAGE="http://www.libimobiledevice.org/;
-SRC_URI="http://www.libimobiledevice.org/downloads/${P}.tar.bz2;
-
-LICENSE="GPL-2 LGPL-2.1"
-SLOT="0/2" # based on SONAME of libplist.so
-KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-fbsd"
-IUSE="python static-libs"
-
-RDEPEND=">=dev-libs/libxml2-2.7.8"
-DEPEND="${RDEPEND}
-   virtual/pkgconfig
-   python? (
-   ${PYTHON_DEPS}
-   >=dev-python/cython-0.17[${PYTHON_USEDEP}]
-   )"
-
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-DOCS=( AUTHORS NEWS README )
-
-RESTRICT="test" # TODO: src_test() was dropped from 1.10 (cmake) -> 1.11 
(autotools)
-
-pkg_setup() {
-   use python && python-single-r1_pkg_setup
-}
-
-src_configure() {
-   local myeconfargs=( $(use_enable static-libs static) )
-   use python || myeconfargs+=( --without-cython )
-
-   econf "${myeconfargs[@]}"
-}
-
-src_compile() {
-   emake -j1 #406365
-}
-
-src_install() {
-   default
-   find "${D}" -name '*.la' -delete || die
-
-   if use python; then
-   insinto /usr/include/plist/cython
-   doins cython/plist.pxd
-   fi
-}

diff --git a/app-pda/libplist/libplist-1.11-r2.ebuild 
b/app-pda/libplist/libplist-1.11-r2.ebuild
deleted file mode 100644
index dfd93c1..
--- a/app-pda/libplist/libplist-1.11-r2.ebuild
+++ /dev/null
@@ -1,83 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-PYTHON_COMPAT=( python{2_7,3_4,3_5} )
-inherit autotools eutils python-r1
-
-DESCRIPTION="Support library to deal with Apple Property Lists (Binary & XML)"
-HOMEPAGE="http://www.libimobiledevice.org/;
-SRC_URI="http://www.libimobiledevice.org/downloads/${P}.tar.bz2;
-
-LICENSE="GPL-2 LGPL-2.1"
-SLOT="0/2" # based on SONAME of libplist.so
-KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-fbsd"
-IUSE="python static-libs"
-
-RDEPEND=">=dev-libs/libxml2-2.7.8
-   python? ( ${PYTHON_DEPS} )"
-DEPEND="${RDEPEND}
-   virtual/pkgconfig
-   python? ( >=dev-python/cython-0.17[${PYTHON_USEDEP}] )"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-DOCS=( AUTHORS NEWS README )
-
-RESTRICT="test" # TODO: src_test() was dropped from 1.10 (cmake) -> 1.11 
(autotools)
-
-BUILD_DIR="${S}_build"
-
-src_configure() {
-   local ECONF_SOURCE=${S}
-   local myeconfargs=( $(use_enable static-libs static) )
-
-   do_configure() {
-   mkdir -p "${BUILD_DIR}" || die
-   pushd "${BUILD_DIR}" >/dev/null || die
-   econf "${myeconfargs[@]}" "${@}"
-   popd >/dev/null || die
-   }
-
-   do_configure_python() {
-   PYTHON_LDFLAGS="$(python_get_LIBS)" do_configure "$@"
-   }
-
-   do_configure --without-cython
-   use python && 

[gentoo-commits] repo/gentoo:master commit in: app-pda/libplist/

2016-01-24 Thread Mike Gilbert
commit: 0f0051b915b593a44b9150be6d1744a7ea1215d0
Author: Mike Gilbert  gentoo  org>
AuthorDate: Mon Jan 25 02:14:31 2016 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Mon Jan 25 02:21:04 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f0051b9

app-pda/libplist: Override PYTHON_LDFLAGS in src_configure

Works around broken build system.

Bug: https://bugs.gentoo.org/567370

Package-Manager: portage-2.2.27_p49

 app-pda/libplist/libplist-1.11-r2.ebuild | 13 ++---
 app-pda/libplist/libplist-1.12.ebuild| 13 ++---
 2 files changed, 12 insertions(+), 14 deletions(-)

diff --git a/app-pda/libplist/libplist-1.11-r2.ebuild 
b/app-pda/libplist/libplist-1.11-r2.ebuild
index 600f79c..e19af75 100644
--- a/app-pda/libplist/libplist-1.11-r2.ebuild
+++ b/app-pda/libplist/libplist-1.11-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -29,11 +29,6 @@ RESTRICT="test" # TODO: src_test() was dropped from 1.10 
(cmake) -> 1.11 (autoto
 
 BUILD_DIR="${S}_build"
 
-src_prepare() {
-   sed -i -e 's/AC_PYTHON_DEVEL/AX_PYTHON_DEVEL/' 
"${S}"/m4/cython_python.m4
-   eautoreconf
-}
-
 src_configure() {
local ECONF_SOURCE=${S}
local myeconfargs=( $(use_enable static-libs static) )
@@ -45,8 +40,12 @@ src_configure() {
popd >/dev/null || die
}
 
+   do_configure_python() {
+   PYTHON_LDFLAGS="$(python_get_LIBS)" do_configure "$@"
+   }
+
do_configure --without-cython
-   use python && python_foreach_impl do_configure
+   use python && python_foreach_impl do_configure_python
 }
 
 src_compile() {

diff --git a/app-pda/libplist/libplist-1.12.ebuild 
b/app-pda/libplist/libplist-1.12.ebuild
index bc3d53f..8f40dc7 100644
--- a/app-pda/libplist/libplist-1.12.ebuild
+++ b/app-pda/libplist/libplist-1.12.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -29,11 +29,6 @@ RESTRICT="test" # TODO: src_test() was dropped from 1.10 
(cmake) -> 1.11 (autoto
 
 BUILD_DIR="${S}_build"
 
-src_prepare() {
-   sed -i -e 's/AC_PYTHON_DEVEL/AX_PYTHON_DEVEL/' 
"${S}"/m4/cython_python.m4
-   eautoreconf
-}
-
 src_configure() {
local ECONF_SOURCE=${S}
local myeconfargs=( $(use_enable static-libs static) )
@@ -45,8 +40,12 @@ src_configure() {
popd >/dev/null || die
}
 
+   do_configure_python() {
+   PYTHON_LDFLAGS="$(python_get_LIBS)" do_configure "$@"
+   }
+
do_configure --without-cython
-   use python && python_foreach_impl do_configure
+   use python && python_foreach_impl do_configure_python
 }
 
 src_compile() {



[gentoo-commits] repo/gentoo:master commit in: app-pda/libplist/

2015-12-31 Thread Steve Arnold
commit: a13463b83699bd6bbed7846f71c538d0b12f1050
Author: Stephen L Arnold  gentoo  org>
AuthorDate: Thu Dec 31 22:03:24 2015 +
Commit: Steve Arnold  gentoo  org>
CommitDate: Thu Dec 31 22:12:03 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a13463b8

app-pda/libplist: fix for bug 567370 (configure fail on -lpython3.4)

Added to latest two versions for broader testing, fixes above bug plus
some duplicates.  Fix stolen from Arch (alertly pointed out by veremit).

Reported-by: (user)  integralblue.com>

Package-Manager: portage-2.2.26

 app-pda/libplist/libplist-1.11-r2.ebuild | 7 ++-
 app-pda/libplist/libplist-1.12.ebuild| 7 ++-
 2 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/app-pda/libplist/libplist-1.11-r2.ebuild 
b/app-pda/libplist/libplist-1.11-r2.ebuild
index 2f5331b..600f79c 100644
--- a/app-pda/libplist/libplist-1.11-r2.ebuild
+++ b/app-pda/libplist/libplist-1.11-r2.ebuild
@@ -4,7 +4,7 @@
 
 EAPI=5
 PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} )
-inherit eutils python-r1
+inherit autotools eutils python-r1
 
 DESCRIPTION="Support library to deal with Apple Property Lists (Binary & XML)"
 HOMEPAGE="http://www.libimobiledevice.org/;
@@ -29,6 +29,11 @@ RESTRICT="test" # TODO: src_test() was dropped from 1.10 
(cmake) -> 1.11 (autoto
 
 BUILD_DIR="${S}_build"
 
+src_prepare() {
+   sed -i -e 's/AC_PYTHON_DEVEL/AX_PYTHON_DEVEL/' 
"${S}"/m4/cython_python.m4
+   eautoreconf
+}
+
 src_configure() {
local ECONF_SOURCE=${S}
local myeconfargs=( $(use_enable static-libs static) )

diff --git a/app-pda/libplist/libplist-1.12.ebuild 
b/app-pda/libplist/libplist-1.12.ebuild
index f674ed0..bc3d53f 100644
--- a/app-pda/libplist/libplist-1.12.ebuild
+++ b/app-pda/libplist/libplist-1.12.ebuild
@@ -4,7 +4,7 @@
 
 EAPI=5
 PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} )
-inherit eutils python-r1
+inherit autotools eutils python-r1
 
 DESCRIPTION="Support library to deal with Apple Property Lists (Binary & XML)"
 HOMEPAGE="http://www.libimobiledevice.org/;
@@ -29,6 +29,11 @@ RESTRICT="test" # TODO: src_test() was dropped from 1.10 
(cmake) -> 1.11 (autoto
 
 BUILD_DIR="${S}_build"
 
+src_prepare() {
+   sed -i -e 's/AC_PYTHON_DEVEL/AX_PYTHON_DEVEL/' 
"${S}"/m4/cython_python.m4
+   eautoreconf
+}
+
 src_configure() {
local ECONF_SOURCE=${S}
local myeconfargs=( $(use_enable static-libs static) )



[gentoo-commits] repo/gentoo:master commit in: app-pda/libplist/

2015-12-21 Thread Ian Stakenvicius
commit: 4826b789dafc0839fa08e45c7ff6411695e2afbd
Author: Ian Stakenvicius  gentoo  org>
AuthorDate: Mon Dec 21 15:24:47 2015 +
Commit: Ian Stakenvicius  gentoo  org>
CommitDate: Mon Dec 21 15:43:28 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4826b789

app-pda/libplist: version bumps, fix multi-python builds

Reworked the ebuild so that it will properly build for multiple python
implementations.  Committed 1.11-r2 for immediate stablereq, and bumped to 
latest
upstream 1.12

Package-Manager: portage-2.2.24

 app-pda/libplist/Manifest|  1 +
 app-pda/libplist/libplist-1.11-r2.ebuild | 79 
 app-pda/libplist/libplist-1.12.ebuild| 79 
 3 files changed, 159 insertions(+)

diff --git a/app-pda/libplist/Manifest b/app-pda/libplist/Manifest
index ca10a4f..020ea78 100644
--- a/app-pda/libplist/Manifest
+++ b/app-pda/libplist/Manifest
@@ -1 +1,2 @@
 DIST libplist-1.11.tar.bz2 355365 SHA256 
28e1518eeea054f4eec9a1c93d9575d56193b290c53c1b753773a5e0add95235 SHA512 
1c415670877c7091ded541dc36a6bc91132f714a0d3590090ead40ed972e0e076285441d3d219827cc425bc41fcbc101825e937620b7b4f2c1afe4bef8487fa2
 WHIRLPOOL 
a2c74d3454b80696ab45922fe410833912554588d9ed5c177cbed1865bd98099b29a20ab6cf14a0b7c98de59d082fd15392915a94f33d27b16109300a0de2e4c
+DIST libplist-1.12.tar.bz2 384321 SHA256 
0effdedcb3de128c4930d8c03a3854c74c426c16728b8ab5f0a5b6bdc0b644be SHA512 
8af40d8f457ca9a8a9061e9429698c696200714cc05dcbe981e900106c52cd5222edb9dd8d8976bccd0c8997508ed14fb2e10f0ed29383f2ad4f7c5eb7eec0b3
 WHIRLPOOL 
7d3c4f7822683018b5b0e794d509b9cf5a703605ed772df849ad9ebba6e8191f2eb629444c07d2dcb265520d24c94f13287f200fec34779c9e6fe029536183a7

diff --git a/app-pda/libplist/libplist-1.11-r2.ebuild 
b/app-pda/libplist/libplist-1.11-r2.ebuild
new file mode 100644
index 000..2f5331b
--- /dev/null
+++ b/app-pda/libplist/libplist-1.11-r2.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} )
+inherit eutils python-r1
+
+DESCRIPTION="Support library to deal with Apple Property Lists (Binary & XML)"
+HOMEPAGE="http://www.libimobiledevice.org/;
+SRC_URI="http://www.libimobiledevice.org/downloads/${P}.tar.bz2;
+
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="0/2" # based on SONAME of libplist.so
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-fbsd"
+IUSE="python static-libs"
+
+RDEPEND=">=dev-libs/libxml2-2.7.8
+   python? ( ${PYTHON_DEPS} )"
+DEPEND="${RDEPEND}
+   virtual/pkgconfig
+   python? ( >=dev-python/cython-0.17[${PYTHON_USEDEP}] )"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DOCS=( AUTHORS NEWS README )
+
+RESTRICT="test" # TODO: src_test() was dropped from 1.10 (cmake) -> 1.11 
(autotools)
+
+BUILD_DIR="${S}_build"
+
+src_configure() {
+   local ECONF_SOURCE=${S}
+   local myeconfargs=( $(use_enable static-libs static) )
+
+   do_configure() {
+   mkdir -p "${BUILD_DIR}" || die
+   pushd "${BUILD_DIR}" >/dev/null || die
+   econf "${myeconfargs[@]}" "${@}"
+   popd >/dev/null || die
+   }
+
+   do_configure --without-cython
+   use python && python_foreach_impl do_configure
+}
+
+src_compile() {
+   python_compile() {
+   emake -C "${BUILD_DIR}"/cython -j1 \
+   VPATH="${S}/cython:${native_builddir}/cython" \
+   plist_la_LIBADD="${native_builddir}/src/libplist.la"
+   }
+
+   local native_builddir=${BUILD_DIR}
+   pushd "${BUILD_DIR}" >/dev/null || die
+   emake -j1
+   use python && python_foreach_impl python_compile
+   popd >/dev/null || die
+}
+
+src_install() {
+   python_install() {
+   emake -C "${BUILD_DIR}/cython" -j1 \
+   VPATH="${S}/cython:${native_builddir}/cython" \
+   DESTDIR="${D}" install
+   }
+
+   local native_builddir=${BUILD_DIR}
+   pushd "${BUILD_DIR}" >/dev/null || die
+   emake -j1 DESTDIR="${D}" install
+   use python && python_foreach_impl python_install
+   popd >/dev/null || die
+
+   if use python ; then
+   insinto /usr/include/plist/cython
+   doins cython/plist.pxd
+   fi
+   prune_libtool_files --all
+}

diff --git a/app-pda/libplist/libplist-1.12.ebuild 
b/app-pda/libplist/libplist-1.12.ebuild
new file mode 100644
index 000..f674ed0
--- /dev/null
+++ b/app-pda/libplist/libplist-1.12.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} )
+inherit eutils python-r1
+
+DESCRIPTION="Support library to deal with Apple Property Lists (Binary & XML)"
+HOMEPAGE="http://www.libimobiledevice.org/;

[gentoo-commits] repo/gentoo:master commit in: app-pda/libplist/

2015-12-09 Thread Michał Górny
commit: 24cd543b2081a54c09225e6bf7e663372305468a
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Dec  9 21:58:40 2015 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Dec  9 22:01:17 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24cd543b

app-pda/libplist: Switch to python-single-r1, disable py3

Replace the semi-broken Python support code in ebuild with
python-single-r1. The original code used python-r1 and rebuilt the whole
package (incl. C libraries) for each implementation, even when Python
support was explicitly disabled.

Furthermore, the used autoconf macros break with Python 3.2+. Therefore,
the Python 3 support has been disabled entirely until the relevant code
is fixed.

Bug: https://bugs.gentoo.org/show_bug.cgi?id=567370

 app-pda/libplist/libplist-1.11-r1.ebuild | 56 
 1 file changed, 56 insertions(+)

diff --git a/app-pda/libplist/libplist-1.11-r1.ebuild 
b/app-pda/libplist/libplist-1.11-r1.ebuild
new file mode 100644
index 000..2fa2438
--- /dev/null
+++ b/app-pda/libplist/libplist-1.11-r1.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+# ac_python_devel.m4 is broken with python3
+PYTHON_COMPAT=( python2_7 )
+inherit python-single-r1
+
+DESCRIPTION="Support library to deal with Apple Property Lists (Binary & XML)"
+HOMEPAGE="http://www.libimobiledevice.org/;
+SRC_URI="http://www.libimobiledevice.org/downloads/${P}.tar.bz2;
+
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="0/2" # based on SONAME of libplist.so
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-fbsd"
+IUSE="python static-libs"
+
+RDEPEND=">=dev-libs/libxml2-2.7.8"
+DEPEND="${RDEPEND}
+   virtual/pkgconfig
+   python? (
+   ${PYTHON_DEPS}
+   >=dev-python/cython-0.17[${PYTHON_USEDEP}]
+   )"
+
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+DOCS=( AUTHORS NEWS README )
+
+RESTRICT="test" # TODO: src_test() was dropped from 1.10 (cmake) -> 1.11 
(autotools)
+
+pkg_setup() {
+   use python && python-single-r1_pkg_setup
+}
+
+src_configure() {
+   local myeconfargs=( $(use_enable static-libs static) )
+   use python || myeconfargs+=( --without-cython )
+
+   econf "${myeconfargs[@]}"
+}
+
+src_compile() {
+   emake -j1 #406365
+}
+
+src_install() {
+   default
+   find "${D}" -name '*.la' -delete || die
+
+   if use python; then
+   insinto /usr/include/plist/cython
+   doins cython/plist.pxd
+   fi
+}