[gentoo-commits] repo/gentoo:master commit in: app-text/podofo/

2024-01-21 Thread Viorel Munteanu
commit: ebf4f8ec68a763ef5c888595e8ad6c77a9b5ac86
Author: Matoro Mahri  matoro  tk>
AuthorDate: Mon Jan 22 04:46:22 2024 +
Commit: Viorel Munteanu  gentoo  org>
CommitDate: Mon Jan 22 06:58:48 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ebf4f8ec

app-text/podofo: Stabilize 0.10.3 ppc64, #919929

Signed-off-by: Matoro Mahri  matoro.tk>
Signed-off-by: Viorel Munteanu  gentoo.org>

 app-text/podofo/podofo-0.10.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/podofo/podofo-0.10.3.ebuild 
b/app-text/podofo/podofo-0.10.3.ebuild
index 1be78d93e005..d6b9e345c362 100644
--- a/app-text/podofo/podofo-0.10.3.ebuild
+++ b/app-text/podofo/podofo-0.10.3.ebuild
@@ -17,7 +17,7 @@ 
SRC_URI="https://github.com/podofo/podofo/archive/refs/tags/${PV}.tar.gz -> ${P}
 
 LICENSE="LGPL-2+ tools? ( GPL-2+ )"
 SLOT="0/2"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ppc ~ppc64 ~sparc x86"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ppc ppc64 ~sparc x86"
 IUSE="idn jpeg tiff png fontconfig test tools"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: app-text/podofo/

2024-01-05 Thread Arthur Zamarin
commit: d82a6a5456a64d5bee213e3b2777b511e2defd5d
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Jan  5 18:15:30 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Jan  5 18:15:30 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d82a6a54

app-text/podofo: Stabilize 0.10.3 amd64, #919929

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

 app-text/podofo/podofo-0.10.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/podofo/podofo-0.10.3.ebuild 
b/app-text/podofo/podofo-0.10.3.ebuild
index dfa672ad83ed..1be78d93e005 100644
--- a/app-text/podofo/podofo-0.10.3.ebuild
+++ b/app-text/podofo/podofo-0.10.3.ebuild
@@ -17,7 +17,7 @@ 
SRC_URI="https://github.com/podofo/podofo/archive/refs/tags/${PV}.tar.gz -> ${P}
 
 LICENSE="LGPL-2+ tools? ( GPL-2+ )"
 SLOT="0/2"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ppc ~ppc64 ~sparc x86"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ppc ~ppc64 ~sparc x86"
 IUSE="idn jpeg tiff png fontconfig test tools"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: app-text/podofo/

2024-01-05 Thread Arthur Zamarin
commit: 817455087e3861b6598f497dc0ab6d90ac5cf6e5
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Jan  5 18:15:29 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Jan  5 18:15:29 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81745508

app-text/podofo: Stabilize 0.10.3 ppc, #919929

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

 app-text/podofo/podofo-0.10.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/podofo/podofo-0.10.3.ebuild 
b/app-text/podofo/podofo-0.10.3.ebuild
index 94a9e84142a3..dfa672ad83ed 100644
--- a/app-text/podofo/podofo-0.10.3.ebuild
+++ b/app-text/podofo/podofo-0.10.3.ebuild
@@ -17,7 +17,7 @@ 
SRC_URI="https://github.com/podofo/podofo/archive/refs/tags/${PV}.tar.gz -> ${P}
 
 LICENSE="LGPL-2+ tools? ( GPL-2+ )"
 SLOT="0/2"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ppc ~ppc64 ~sparc x86"
 IUSE="idn jpeg tiff png fontconfig test tools"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: app-text/podofo/

2024-01-05 Thread Sam James
commit: ec030df146ee8293dd203b46d9bbf61689893a54
Author: Sam James  gentoo  org>
AuthorDate: Fri Jan  5 08:12:41 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jan  5 08:12:41 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec030df1

app-text/podofo: Stabilize 0.10.3 x86, #919929

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

 app-text/podofo/podofo-0.10.3.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-text/podofo/podofo-0.10.3.ebuild 
b/app-text/podofo/podofo-0.10.3.ebuild
index 6234942c3da9..94a9e84142a3 100644
--- a/app-text/podofo/podofo-0.10.3.ebuild
+++ b/app-text/podofo/podofo-0.10.3.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
@@ -17,7 +17,7 @@ 
SRC_URI="https://github.com/podofo/podofo/archive/refs/tags/${PV}.tar.gz -> ${P}
 
 LICENSE="LGPL-2+ tools? ( GPL-2+ )"
 SLOT="0/2"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc x86"
 IUSE="idn jpeg tiff png fontconfig test tools"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: app-text/podofo/

2023-12-14 Thread Sam James
commit: ec060ac5cab6556eee7a4333b22a6ce1555f9d9e
Author: Sam James  gentoo  org>
AuthorDate: Fri Dec 15 06:31:27 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Dec 15 06:31:27 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec060ac5

app-text/podofo: Keyword 0.10.3 sparc, #919933

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

 app-text/podofo/podofo-0.10.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/podofo/podofo-0.10.3.ebuild 
b/app-text/podofo/podofo-0.10.3.ebuild
index 730c3b449d93..b9c7b169acae 100644
--- a/app-text/podofo/podofo-0.10.3.ebuild
+++ b/app-text/podofo/podofo-0.10.3.ebuild
@@ -17,7 +17,7 @@ 
SRC_URI="https://github.com/podofo/podofo/archive/refs/tags/${PV}.tar.gz -> ${P}
 
 LICENSE="LGPL-2+ tools? ( GPL-2+ )"
 SLOT="0/2"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86"
 IUSE="idn jpeg tiff png fontconfig test tools"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: app-text/podofo/

2023-12-14 Thread Sam James
commit: fdfebdd0fc39c0cae50825223dad9edcfc6fa4e4
Author: Eli Schwartz  gmail  com>
AuthorDate: Fri Dec 15 03:59:26 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Dec 15 05:14:48 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fdfebdd0

app-text/podofo: add 0.10.3, drop 0.10.2

The .3 point release includes some important bugfixes including:
- a fix for a performance regression
- data loss for certain encrypted PDFs
- the libxml2 fix which was previously backported here

Bug: https://bugs.gentoo.org/919929
Signed-off-by: Eli Schwartz  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/34289
Signed-off-by: Sam James  gentoo.org>

 app-text/podofo/Manifest   | 3 +--
 app-text/podofo/{podofo-0.10.2.ebuild => podofo-0.10.3.ebuild} | 3 ---
 2 files changed, 1 insertion(+), 5 deletions(-)

diff --git a/app-text/podofo/Manifest b/app-text/podofo/Manifest
index ad4bfbe4c18e..ca377eb20e35 100644
--- a/app-text/podofo/Manifest
+++ b/app-text/podofo/Manifest
@@ -1,6 +1,5 @@
 DIST podofo-0.10.1-test-resources.tar.gz 4228392 BLAKE2B 
95526d145a18976d5b9f782dfcac15e17bc4ef20a22ca5892905a19193ad88c2855cb8551886754c334f6ca666b9b74fe9a3b5c89ce774fa24e579f563be57c6
 SHA512 
4cb33e5a6050ef745cda42b7fdf53fee9f45d4d488555b79c9cdd6680c5265065aac92ad3d72ea0b75eee9a73098f920a3dd61b7728db6d2171888cbc83c6d55
 DIST podofo-0.10.1.tar.gz 1690279 BLAKE2B 
0fc161c467ffce07c1b2cb1a2124ffddc6c18189b5c8b31dc1212921637601a667cd2b0d6f1269214bd0fe47e8853367283e3053813d45aed01589f0dfb1c29b
 SHA512 
cbbd183cd940345f9b077b7da140414c27badc70fdf754e2f3c6f0e51c25072de46d7fe312b014c0eab359bd03e9dca0283260db00f079c5014e268d5c5ef5c9
-DIST podofo-0.10.2-libxml2-2.12.patch 1353 BLAKE2B 
73ba1f94eaf6ec5b3896218dcdf385ca933795dbcc2b637b5dc7cf463b9a942d9fe777949c0c947583bd1dfca6b0f1e1b8fd7d11c2a3f6f51cea33063656b8e4
 SHA512 
8ea5d60e94568f1a34793453b9055e333b3d3587caec5919256ef1ad6843b66259fa26c6af35286947ddde6151452dd97837e7699c1bb3b2ba7641f6fcd61340
-DIST podofo-0.10.2.tar.gz 1690362 BLAKE2B 
5ca1fb276d10fa85320d5cbe2c90dd3175ffbca24be860d57ad3c3958ac1f16e20642d615f68b8845511a1605b0af4c10a16cb66aa0092fa21ef02b363df23b0
 SHA512 
b5b7d4236a1f15b49d24210015b983910e88efa4727dd551f58b4d39cf7566314513b99099f54835b90a209cbf8231e04d19b63019223113abe6520fc932
+DIST podofo-0.10.3.tar.gz 1691469 BLAKE2B 
986b5e8d5d8d77a21e38b99a08ad0d898c375695072a9795c57715049da2ecb8c15dd8717e5939a37fa94a8b48424b1f7a037fc452f0fde9856e9a840e350913
 SHA512 
80fa86ff7f256a69b963451ef741e49c56447084b26481e52d1a079940102b5d51d9ff1c43952bba22bae61d95c8c44eacc08f55cd18999aec6c563f615b2cf5
 DIST podofo-0.9.8-bug-888463.patch 1269 BLAKE2B 
632e9326112eecb484a15a532fc218263eab081acaf2af2bc1cc3d1020347846ce9ce82147d9d2fa9b42d690270b01b68eaf621cfbbdcfce041b8d651754c08e
 SHA512 
9b0764d8697fad57107647a620f6dbe5d8025628faf02b1d6839d3f975216b16a58ccc115f58809aa4e31fb6b4b487b1490eedf468ddc8b90e494f68d8e50dc6
 DIST podofo-0.9.8.tar.gz 1012918 BLAKE2B 
5d343128bcf06dbb8ef1d70b32f580a800726c33e4c14c86a6c7df0278a34b2d96cba7975c00d32e792596ca3cb54fa66fee262b49a240cd52e31646947b943e
 SHA512 
b220322114450f1656c73d325f5172bc4cec0b1913e98b4eb2455f8ed7394bcaa47438d41003c9678937ef44d411e135431ddd6784f83d3663337d471baa02b1

diff --git a/app-text/podofo/podofo-0.10.2.ebuild 
b/app-text/podofo/podofo-0.10.3.ebuild
similarity index 92%
rename from app-text/podofo/podofo-0.10.2.ebuild
rename to app-text/podofo/podofo-0.10.3.ebuild
index 67a3c96f2b8d..730c3b449d93 100644
--- a/app-text/podofo/podofo-0.10.2.ebuild
+++ b/app-text/podofo/podofo-0.10.3.ebuild
@@ -9,7 +9,6 @@ DESCRIPTION="PoDoFo is a C++ library to work with the PDF file 
format"
 HOMEPAGE="https://github.com/podofo/podofo";
 # testsuite resources require separate download. Reported at 
https://github.com/podofo/podofo/issues/102
 SRC_URI="https://github.com/podofo/podofo/archive/refs/tags/${PV}.tar.gz -> 
${P}.tar.gz
-   
https://github.com/podofo/podofo/commit/5f4df41c552cb2357ff6fefdbe277b072a4c1c4a.patch
 -> ${P}-libxml2-2.12.patch
test? (

https://github.com/podofo/podofo-resources/archive/4afe5c3fdb543a4347681b2e52252f1b10f12f24.tar.gz
-> podofo-0.10.1-test-resources.tar.gz
@@ -38,8 +37,6 @@ BDEPEND="
test? ( fontconfig? ( media-fonts/liberation-fonts ) )
 "
 
-PATCHES=("${DISTDIR}/${P}-libxml2-2.12.patch")
-
 src_prepare() {
cmake_src_prepare
if use test; then



[gentoo-commits] repo/gentoo:master commit in: app-text/podofo/

2023-12-14 Thread Sam James
commit: 5b5c4dda2956f2749e3b2067d053d19f1f051548
Author: Sam James  gentoo  org>
AuthorDate: Fri Dec 15 04:40:02 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Dec 15 04:40:21 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b5c4dda

Revert "app-text/podofo: Stabilize 0.10.1-r1 ppc64, #919929"

This reverts commit 5e705cfd546a525465b02c41f2c2a571744f5e76.

Bug: https://bugs.gentoo.org/919929
Signed-off-by: Sam James  gentoo.org>

 app-text/podofo/podofo-0.10.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/podofo/podofo-0.10.1-r1.ebuild 
b/app-text/podofo/podofo-0.10.1-r1.ebuild
index bc45d82bde0f..03852080e471 100644
--- a/app-text/podofo/podofo-0.10.1-r1.ebuild
+++ b/app-text/podofo/podofo-0.10.1-r1.ebuild
@@ -17,7 +17,7 @@ 
SRC_URI="https://github.com/podofo/podofo/archive/refs/tags/${PV}.tar.gz -> ${P}
 
 LICENSE="LGPL-2+ tools? ( GPL-2+ )"
 SLOT="0/2"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ppc64 ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
 IUSE="idn jpeg tiff png fontconfig test tools"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: app-text/podofo/

2023-12-14 Thread Sam James
commit: 3eab26b9f07bf88b38e42bf743767ccc1f3c79a5
Author: Sam James  gentoo  org>
AuthorDate: Fri Dec 15 04:39:57 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Dec 15 04:40:10 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3eab26b9

Revert "app-text/podofo: Stabilize 0.10.1-r1 amd64, #919929"

This reverts commit fbdfa6af172b014ca50334a35396fb0b5e77421a.

Bug: https://bugs.gentoo.org/919929
Signed-off-by: Sam James  gentoo.org>

 app-text/podofo/podofo-0.10.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/podofo/podofo-0.10.1-r1.ebuild 
b/app-text/podofo/podofo-0.10.1-r1.ebuild
index 703873f384e4..bc45d82bde0f 100644
--- a/app-text/podofo/podofo-0.10.1-r1.ebuild
+++ b/app-text/podofo/podofo-0.10.1-r1.ebuild
@@ -17,7 +17,7 @@ 
SRC_URI="https://github.com/podofo/podofo/archive/refs/tags/${PV}.tar.gz -> ${P}
 
 LICENSE="LGPL-2+ tools? ( GPL-2+ )"
 SLOT="0/2"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc ppc64 ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ppc64 ~x86"
 IUSE="idn jpeg tiff png fontconfig test tools"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: app-text/podofo/

2023-12-14 Thread Sam James
commit: fbdfa6af172b014ca50334a35396fb0b5e77421a
Author: Sam James  gentoo  org>
AuthorDate: Fri Dec 15 04:39:25 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Dec 15 04:39:25 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fbdfa6af

app-text/podofo: Stabilize 0.10.1-r1 amd64, #919929

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

 app-text/podofo/podofo-0.10.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/podofo/podofo-0.10.1-r1.ebuild 
b/app-text/podofo/podofo-0.10.1-r1.ebuild
index bc45d82bde0f..703873f384e4 100644
--- a/app-text/podofo/podofo-0.10.1-r1.ebuild
+++ b/app-text/podofo/podofo-0.10.1-r1.ebuild
@@ -17,7 +17,7 @@ 
SRC_URI="https://github.com/podofo/podofo/archive/refs/tags/${PV}.tar.gz -> ${P}
 
 LICENSE="LGPL-2+ tools? ( GPL-2+ )"
 SLOT="0/2"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ppc64 ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc ppc64 ~x86"
 IUSE="idn jpeg tiff png fontconfig test tools"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: app-text/podofo/

2023-12-14 Thread Sam James
commit: 5e705cfd546a525465b02c41f2c2a571744f5e76
Author: Sam James  gentoo  org>
AuthorDate: Fri Dec 15 04:39:23 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Dec 15 04:39:23 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e705cfd

app-text/podofo: Stabilize 0.10.1-r1 ppc64, #919929

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

 app-text/podofo/podofo-0.10.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/podofo/podofo-0.10.1-r1.ebuild 
b/app-text/podofo/podofo-0.10.1-r1.ebuild
index 03852080e471..bc45d82bde0f 100644
--- a/app-text/podofo/podofo-0.10.1-r1.ebuild
+++ b/app-text/podofo/podofo-0.10.1-r1.ebuild
@@ -17,7 +17,7 @@ 
SRC_URI="https://github.com/podofo/podofo/archive/refs/tags/${PV}.tar.gz -> ${P}
 
 LICENSE="LGPL-2+ tools? ( GPL-2+ )"
 SLOT="0/2"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ppc64 ~x86"
 IUSE="idn jpeg tiff png fontconfig test tools"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: app-text/podofo/

2023-12-04 Thread Zac Medico
commit: e34f64ca9a922117791103971b101deed162066b
Author: Zac Medico  gentoo  org>
AuthorDate: Tue Dec  5 05:34:37 2023 +
Commit: Zac Medico  gentoo  org>
CommitDate: Tue Dec  5 05:44:50 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e34f64ca

app-text/podofo: add 0.10.2

Closes: https://bugs.gentoo.org/919046
Signed-off-by: Zac Medico  gentoo.org>

 app-text/podofo/Manifest |  2 +
 app-text/podofo/podofo-0.10.2.ebuild | 74 
 2 files changed, 76 insertions(+)

diff --git a/app-text/podofo/Manifest b/app-text/podofo/Manifest
index 706dc97a31bc..ad4bfbe4c18e 100644
--- a/app-text/podofo/Manifest
+++ b/app-text/podofo/Manifest
@@ -1,4 +1,6 @@
 DIST podofo-0.10.1-test-resources.tar.gz 4228392 BLAKE2B 
95526d145a18976d5b9f782dfcac15e17bc4ef20a22ca5892905a19193ad88c2855cb8551886754c334f6ca666b9b74fe9a3b5c89ce774fa24e579f563be57c6
 SHA512 
4cb33e5a6050ef745cda42b7fdf53fee9f45d4d488555b79c9cdd6680c5265065aac92ad3d72ea0b75eee9a73098f920a3dd61b7728db6d2171888cbc83c6d55
 DIST podofo-0.10.1.tar.gz 1690279 BLAKE2B 
0fc161c467ffce07c1b2cb1a2124ffddc6c18189b5c8b31dc1212921637601a667cd2b0d6f1269214bd0fe47e8853367283e3053813d45aed01589f0dfb1c29b
 SHA512 
cbbd183cd940345f9b077b7da140414c27badc70fdf754e2f3c6f0e51c25072de46d7fe312b014c0eab359bd03e9dca0283260db00f079c5014e268d5c5ef5c9
+DIST podofo-0.10.2-libxml2-2.12.patch 1353 BLAKE2B 
73ba1f94eaf6ec5b3896218dcdf385ca933795dbcc2b637b5dc7cf463b9a942d9fe777949c0c947583bd1dfca6b0f1e1b8fd7d11c2a3f6f51cea33063656b8e4
 SHA512 
8ea5d60e94568f1a34793453b9055e333b3d3587caec5919256ef1ad6843b66259fa26c6af35286947ddde6151452dd97837e7699c1bb3b2ba7641f6fcd61340
+DIST podofo-0.10.2.tar.gz 1690362 BLAKE2B 
5ca1fb276d10fa85320d5cbe2c90dd3175ffbca24be860d57ad3c3958ac1f16e20642d615f68b8845511a1605b0af4c10a16cb66aa0092fa21ef02b363df23b0
 SHA512 
b5b7d4236a1f15b49d24210015b983910e88efa4727dd551f58b4d39cf7566314513b99099f54835b90a209cbf8231e04d19b63019223113abe6520fc932
 DIST podofo-0.9.8-bug-888463.patch 1269 BLAKE2B 
632e9326112eecb484a15a532fc218263eab081acaf2af2bc1cc3d1020347846ce9ce82147d9d2fa9b42d690270b01b68eaf621cfbbdcfce041b8d651754c08e
 SHA512 
9b0764d8697fad57107647a620f6dbe5d8025628faf02b1d6839d3f975216b16a58ccc115f58809aa4e31fb6b4b487b1490eedf468ddc8b90e494f68d8e50dc6
 DIST podofo-0.9.8.tar.gz 1012918 BLAKE2B 
5d343128bcf06dbb8ef1d70b32f580a800726c33e4c14c86a6c7df0278a34b2d96cba7975c00d32e792596ca3cb54fa66fee262b49a240cd52e31646947b943e
 SHA512 
b220322114450f1656c73d325f5172bc4cec0b1913e98b4eb2455f8ed7394bcaa47438d41003c9678937ef44d411e135431ddd6784f83d3663337d471baa02b1

diff --git a/app-text/podofo/podofo-0.10.2.ebuild 
b/app-text/podofo/podofo-0.10.2.ebuild
new file mode 100644
index ..67a3c96f2b8d
--- /dev/null
+++ b/app-text/podofo/podofo-0.10.2.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="PoDoFo is a C++ library to work with the PDF file format"
+HOMEPAGE="https://github.com/podofo/podofo";
+# testsuite resources require separate download. Reported at 
https://github.com/podofo/podofo/issues/102
+SRC_URI="https://github.com/podofo/podofo/archive/refs/tags/${PV}.tar.gz -> 
${P}.tar.gz
+   
https://github.com/podofo/podofo/commit/5f4df41c552cb2357ff6fefdbe277b072a4c1c4a.patch
 -> ${P}-libxml2-2.12.patch
+   test? (
+   
https://github.com/podofo/podofo-resources/archive/4afe5c3fdb543a4347681b2e52252f1b10f12f24.tar.gz
+   -> podofo-0.10.1-test-resources.tar.gz
+   )
+"
+
+LICENSE="LGPL-2+ tools? ( GPL-2+ )"
+SLOT="0/2"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
+IUSE="idn jpeg tiff png fontconfig test tools"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   idn? ( net-dns/libidn:= )
+   dev-libs/openssl:=
+   fontconfig? ( media-libs/fontconfig:= )
+   media-libs/freetype:2=
+   jpeg? ( media-libs/libjpeg-turbo:= )
+   png? ( media-libs/libpng:= )
+   dev-libs/libxml2
+   tiff? ( media-libs/tiff:= )
+   sys-libs/zlib:="
+DEPEND="${RDEPEND}"
+BDEPEND="
+   virtual/pkgconfig
+   test? ( fontconfig? ( media-fonts/liberation-fonts ) )
+"
+
+PATCHES=("${DISTDIR}/${P}-libxml2-2.12.patch")
+
+src_prepare() {
+   cmake_src_prepare
+   if use test; then
+   rmdir extern/resources || die
+   mv 
"${WORKDIR}"/podofo-resources-4afe5c3fdb543a4347681b2e52252f1b10f12f24 
extern/resources || die
+   fi
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DPODOFO_BUILD_TEST=$(usex test ON OFF)
+   -DPODOFO_BUILD_TOOLS=$(usex tools ON OFF)
+   $(cmake_use_find_package idn Libidn)
+   $(cmake_use_find_package jpeg JPEG)
+   $(cmake_use_find_package tiff TIFF)
+   $(cmake_use_find_package png PNG)
+   $(cmake_use_find_package fontconfig Fontconfig)
+   )
+

[gentoo-commits] repo/gentoo:master commit in: app-text/podofo/, app-text/podofo/files/

2023-10-28 Thread Sam James
commit: 51c1d02bab715ea8448c0b5e1e29b0f2def85259
Author: Eli Schwartz  gmail  com>
AuthorDate: Fri Oct 27 22:00:24 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Oct 29 03:34:24 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51c1d02b

app-text/podofo: backport patch to fix tests with optimizations

This allows us to drop the cautious use of -ffp-contract=off, since
upstream has analyzed the issue and determined that it's a matter of
tolerance, not an issue in the library itself, and rewritten the test a
bit to not trip over this.

No revbump needed. The library is the same both before and after this
change, modulo some allowed compiler optimizations.

https://github.com/podofo/podofo/issues/103#issuecomment-1783528312

Signed-off-by: Eli Schwartz  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/33572
Signed-off-by: Sam James  gentoo.org>

 ...st-Fixed-test-under-linux-when-compiled-w.patch | 35 ++
 app-text/podofo/podofo-0.10.1-r1.ebuild| 12 
 2 files changed, 42 insertions(+), 5 deletions(-)

diff --git 
a/app-text/podofo/files/0001-FIX-ColorTest-Fixed-test-under-linux-when-compiled-w.patch
 
b/app-text/podofo/files/0001-FIX-ColorTest-Fixed-test-under-linux-when-compiled-w.patch
new file mode 100644
index ..696f320134f0
--- /dev/null
+++ 
b/app-text/podofo/files/0001-FIX-ColorTest-Fixed-test-under-linux-when-compiled-w.patch
@@ -0,0 +1,35 @@
+From da91101b7afafa958669e11d0cabaeee3ff50b39 Mon Sep 17 00:00:00 2001
+From: Francesco Pretto 
+Date: Fri, 27 Oct 2023 23:41:22 +0200
+Subject: [PATCH] [FIX] ColorTest: Fixed test under linux when compiled with
+ -march=x86-64-v3
+
+Floating point contractions may cause some level of non determinsm when 
comparing the result of fp operations . See
+https://stackoverflow.com/questions/62353629/does-the-same-floating-point-calculation-producing-different-results-when-perfor
+
+Fixes #103
+---
+ test/unit/ColorTest.cpp | 7 ++-
+ 1 file changed, 6 insertions(+), 1 deletion(-)
+
+diff --git a/test/unit/ColorTest.cpp b/test/unit/ColorTest.cpp
+index 419052a7..81f99c5b 100644
+--- a/test/unit/ColorTest.cpp
 b/test/unit/ColorTest.cpp
+@@ -426,7 +426,12 @@ TEST_CASE("testCMYKConstructor")
+ double dGreen = M_VALUE * (1.0 - B_VALUE) + B_VALUE;
+ double dBlue = Y_VALUE * (1.0 - B_VALUE) + B_VALUE;
+ 
+-REQUIRE(color.ConvertToRGB() == PdfColor(1.0 - dRed, 1.0 - dGreen, 
1.0 - dBlue));
++auto rgb1 = color.ConvertToRGB();
++PdfColor rgb2(1.0 - dRed, 1.0 - dGreen, 1.0 - dBlue);
++
++ASSERT_EQUAL(rgb1.GetRed(), rgb2.GetRed());
++ASSERT_EQUAL(rgb1.GetGreen(), rgb2.GetGreen());
++ASSERT_EQUAL(rgb1.GetBlue(), rgb2.GetBlue());
+ }
+ 
+ REQUIRE(color.ConvertToCMYK() == PdfColor(C_VALUE, M_VALUE, Y_VALUE, 
B_VALUE));
+-- 
+2.41.0
+

diff --git a/app-text/podofo/podofo-0.10.1-r1.ebuild 
b/app-text/podofo/podofo-0.10.1-r1.ebuild
index 01677dd282b6..9809f617298e 100644
--- a/app-text/podofo/podofo-0.10.1-r1.ebuild
+++ b/app-text/podofo/podofo-0.10.1-r1.ebuild
@@ -37,6 +37,13 @@ BDEPEND="
test? ( fontconfig? ( media-fonts/liberation-fonts ) )
 "
 
+PATCHES=(
+   # Dome optimizations cause testsuite failures due to floating point
+   # contraction. Fixed upstream by adding tolerance to the test itself:
+   # https://github.com/podofo/podofo/issues/103
+   
"${FILESDIR}"/0001-FIX-ColorTest-Fixed-test-under-linux-when-compiled-w.patch
+)
+
 src_prepare() {
cmake_src_prepare
if use test; then
@@ -56,11 +63,6 @@ src_configure() {
$(cmake_use_find_package fontconfig Fontconfig)
)
 
-   # some optimizations cause testsuite failures which may indicate
-   # unsoundness with contraction. Be cautious for now. Reported
-   # upstream as https://github.com/podofo/podofo/issues/103
-   append-cxxflags $(test-flags-CXX -ffp-contract=off)
-
cmake_src_configure
 }
 



[gentoo-commits] repo/gentoo:master commit in: app-text/podofo/files/

2023-10-28 Thread Sam James
commit: 6558f2df9dd36191ea3e06478891fd7980257319
Author: Sam James  gentoo  org>
AuthorDate: Sun Oct 29 03:35:24 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Oct 29 03:35:24 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6558f2df

app-text/podofo: add commit link

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

 .../0001-FIX-ColorTest-Fixed-test-under-linux-when-compiled-w.patch | 2 ++
 1 file changed, 2 insertions(+)

diff --git 
a/app-text/podofo/files/0001-FIX-ColorTest-Fixed-test-under-linux-when-compiled-w.patch
 
b/app-text/podofo/files/0001-FIX-ColorTest-Fixed-test-under-linux-when-compiled-w.patch
index 696f320134f0..45edd8454dfb 100644
--- 
a/app-text/podofo/files/0001-FIX-ColorTest-Fixed-test-under-linux-when-compiled-w.patch
+++ 
b/app-text/podofo/files/0001-FIX-ColorTest-Fixed-test-under-linux-when-compiled-w.patch
@@ -1,3 +1,5 @@
+https://github.com/podofo/podofo/commit/da91101b7afafa958669e11d0cabaeee3ff50b39
+
 From da91101b7afafa958669e11d0cabaeee3ff50b39 Mon Sep 17 00:00:00 2001
 From: Francesco Pretto 
 Date: Fri, 27 Oct 2023 23:41:22 +0200



[gentoo-commits] repo/gentoo:master commit in: app-text/podofo/

2023-10-28 Thread Sam James
commit: cf99a4a690c428af63416ef3dac18ac8d00b7e14
Author: Sam James  gentoo  org>
AuthorDate: Sun Oct 29 03:35:44 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Oct 29 03:35:44 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf99a4a6

app-text/podofo: fix UnusedInherits (flag-o-matic)

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

 app-text/podofo/podofo-0.10.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/podofo/podofo-0.10.1-r1.ebuild 
b/app-text/podofo/podofo-0.10.1-r1.ebuild
index 9809f617298e..03852080e471 100644
--- a/app-text/podofo/podofo-0.10.1-r1.ebuild
+++ b/app-text/podofo/podofo-0.10.1-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit cmake flag-o-matic
+inherit cmake
 
 DESCRIPTION="PoDoFo is a C++ library to work with the PDF file format"
 HOMEPAGE="https://github.com/podofo/podofo";



[gentoo-commits] repo/gentoo:master commit in: app-text/podofo/

2023-09-24 Thread Zac Medico
commit: 4f2670a9b5d455c285c6f75347488481a412cc61
Author: Eli Schwartz  gmail  com>
AuthorDate: Sun Sep 24 04:23:34 2023 +
Commit: Zac Medico  gentoo  org>
CommitDate: Mon Sep 25 02:43:36 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f2670a9

app-text/podofo: suppress possibly impactful compiler fp handling

The tests fail on specific combinations of compiler optimizations due to
https://github.com/podofo/podofo/issues/103

In particular, at -march=x86-64-v3 levels and up, plus -O2. Setting
-ffp-contract=off makes the tests pass again... this *could* just be a
test data issue, but it may also be genuine library mis-handling. To be
on the safe side, just compile podofo such that it definitely passes its
tests, while waiting for an upstream response.

Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Zac Medico  gentoo.org>

 app-text/podofo/{podofo-0.10.1.ebuild => podofo-0.10.1-r1.ebuild} | 8 +++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/app-text/podofo/podofo-0.10.1.ebuild 
b/app-text/podofo/podofo-0.10.1-r1.ebuild
similarity index 85%
rename from app-text/podofo/podofo-0.10.1.ebuild
rename to app-text/podofo/podofo-0.10.1-r1.ebuild
index 29d54510af38..18c138d78704 100644
--- a/app-text/podofo/podofo-0.10.1.ebuild
+++ b/app-text/podofo/podofo-0.10.1-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit cmake
+inherit cmake flag-o-matic
 
 DESCRIPTION="PoDoFo is a C++ library to work with the PDF file format"
 HOMEPAGE="https://github.com/podofo/podofo";
@@ -52,5 +52,11 @@ src_configure() {
$(cmake_use_find_package png PNG)
$(cmake_use_find_package fontconfig Fontconfig)
)
+
+   # some optimizations cause testsuite failures which may indicate
+   # unsoundness with contraction. Be cautious for now. Reported
+   # upstream as https://github.com/podofo/podofo/issues/103
+   append-cxxflags $(test-flags-CXX -ffp-contract=off)
+
cmake_src_configure
 }



[gentoo-commits] repo/gentoo:master commit in: app-text/podofo/

2023-09-24 Thread Zac Medico
commit: 89653595daba17b71e834f3efcf44589a0cd4258
Author: Eli Schwartz  gmail  com>
AuthorDate: Fri Sep 22 11:11:36 2023 +
Commit: Zac Medico  gentoo  org>
CommitDate: Mon Sep 25 02:43:36 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89653595

app-text/podofo: skip tests which require USE flags to succeed

These do not indicate anything wrong with podofo -- the verbose errors
are just things like "cannot find an Arial font" or "png / jpeg is not
supported", and that's very innocent.

For the Arial test in particular, passing the test also requires
`SearchFont("LiberationSans")` so must be a build dependency when
enabling both test and fontconfig. Consequently, we drop ~hppa since
that font isn't keyworded on hppa; it will have to be rekeyworded later.

One could wish that the upstream testsuite automatically skipped those
tests, but it is what it is...

Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Zac Medico  gentoo.org>

 app-text/podofo/podofo-0.10.1-r1.ebuild | 18 --
 1 file changed, 16 insertions(+), 2 deletions(-)

diff --git a/app-text/podofo/podofo-0.10.1-r1.ebuild 
b/app-text/podofo/podofo-0.10.1-r1.ebuild
index 18c138d78704..01677dd282b6 100644
--- a/app-text/podofo/podofo-0.10.1-r1.ebuild
+++ b/app-text/podofo/podofo-0.10.1-r1.ebuild
@@ -17,7 +17,7 @@ 
SRC_URI="https://github.com/podofo/podofo/archive/refs/tags/${PV}.tar.gz -> ${P}
 
 LICENSE="LGPL-2+ tools? ( GPL-2+ )"
 SLOT="0/2"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
 IUSE="idn jpeg tiff png fontconfig test tools"
 RESTRICT="!test? ( test )"
 
@@ -32,7 +32,10 @@ RDEPEND="
tiff? ( media-libs/tiff:= )
sys-libs/zlib:="
 DEPEND="${RDEPEND}"
-BDEPEND="virtual/pkgconfig"
+BDEPEND="
+   virtual/pkgconfig
+   test? ( fontconfig? ( media-fonts/liberation-fonts ) )
+"
 
 src_prepare() {
cmake_src_prepare
@@ -60,3 +63,14 @@ src_configure() {
 
cmake_src_configure
 }
+
+src_test() {
+   local CMAKE_SKIP_TESTS=(
+   $(usev !png 'TestImage3')
+   $(usev !jpeg 'TestImage2 TestImage4 TestImage5')
+   # relies on finding arial font
+   $(usev !fontconfig 'testLoadEncrypedFilePdfMemDocument 
testLoadEncrypedFilePdfParser testCyclicTree testNestedArrayTree 
testEmptyKidsTree testNestedArrayTree testCreateDelete')
+   )
+
+   cmake_src_test
+}



[gentoo-commits] repo/gentoo:master commit in: app-text/podofo/

2023-09-22 Thread Joonas Niilola
commit: d6d55e48fb313205b8f794771a8c6b70ae835558
Author: Joonas Niilola  gentoo  org>
AuthorDate: Fri Sep 22 08:21:51 2023 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Fri Sep 22 08:21:51 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6d55e48

Revert "app-text/podofo: add 0.10.1"

This reverts commit fb167a63978ae916c47e7d9d8b8454d492a02838.

 - additional code was included in the author's patch, without author's
   approval.

Signed-off-by: Joonas Niilola  gentoo.org>

 app-text/podofo/Manifest |  2 --
 app-text/podofo/metadata.xml |  2 +-
 app-text/podofo/podofo-0.10.1.ebuild | 65 
 3 files changed, 1 insertion(+), 68 deletions(-)

diff --git a/app-text/podofo/Manifest b/app-text/podofo/Manifest
index 706dc97a31bc..3049a57c0a5d 100644
--- a/app-text/podofo/Manifest
+++ b/app-text/podofo/Manifest
@@ -1,4 +1,2 @@
-DIST podofo-0.10.1-test-resources.tar.gz 4228392 BLAKE2B 
95526d145a18976d5b9f782dfcac15e17bc4ef20a22ca5892905a19193ad88c2855cb8551886754c334f6ca666b9b74fe9a3b5c89ce774fa24e579f563be57c6
 SHA512 
4cb33e5a6050ef745cda42b7fdf53fee9f45d4d488555b79c9cdd6680c5265065aac92ad3d72ea0b75eee9a73098f920a3dd61b7728db6d2171888cbc83c6d55
-DIST podofo-0.10.1.tar.gz 1690279 BLAKE2B 
0fc161c467ffce07c1b2cb1a2124ffddc6c18189b5c8b31dc1212921637601a667cd2b0d6f1269214bd0fe47e8853367283e3053813d45aed01589f0dfb1c29b
 SHA512 
cbbd183cd940345f9b077b7da140414c27badc70fdf754e2f3c6f0e51c25072de46d7fe312b014c0eab359bd03e9dca0283260db00f079c5014e268d5c5ef5c9
 DIST podofo-0.9.8-bug-888463.patch 1269 BLAKE2B 
632e9326112eecb484a15a532fc218263eab081acaf2af2bc1cc3d1020347846ce9ce82147d9d2fa9b42d690270b01b68eaf621cfbbdcfce041b8d651754c08e
 SHA512 
9b0764d8697fad57107647a620f6dbe5d8025628faf02b1d6839d3f975216b16a58ccc115f58809aa4e31fb6b4b487b1490eedf468ddc8b90e494f68d8e50dc6
 DIST podofo-0.9.8.tar.gz 1012918 BLAKE2B 
5d343128bcf06dbb8ef1d70b32f580a800726c33e4c14c86a6c7df0278a34b2d96cba7975c00d32e792596ca3cb54fa66fee262b49a240cd52e31646947b943e
 SHA512 
b220322114450f1656c73d325f5172bc4cec0b1913e98b4eb2455f8ed7394bcaa47438d41003c9678937ef44d411e135431ddd6784f83d3663337d471baa02b1

diff --git a/app-text/podofo/metadata.xml b/app-text/podofo/metadata.xml
index c274503a81d6..c0b71a582307 100644
--- a/app-text/podofo/metadata.xml
+++ b/app-text/podofo/metadata.xml
@@ -11,7 +11,7 @@



-   podofo/podofo
podofo
+   
https://sourceforge.net/p/podofo/code/commit_browser

 

diff --git a/app-text/podofo/podofo-0.10.1.ebuild 
b/app-text/podofo/podofo-0.10.1.ebuild
deleted file mode 100644
index 3d211d26ccf8..
--- a/app-text/podofo/podofo-0.10.1.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake
-
-DESCRIPTION="PoDoFo is a C++ library to work with the PDF file format"
-HOMEPAGE="https://github.com/podofo/podofo";
-# testsuite resources require separate download. Reported at 
https://github.com/podofo/podofo/issues/102
-SRC_URI="https://github.com/podofo/podofo/archive/refs/tags/${PV}.tar.gz -> 
${P}.tar.gz
-   test? (
-   
https://github.com/podofo/podofo-resources/archive/4afe5c3fdb543a4347681b2e52252f1b10f12f24.tar.gz
-   -> ${P}-test-resources.tar.gz
-   )
-"
-
-LICENSE="LGPL-2+ tools? ( GPL-2+ )"
-SLOT="0/${PV}"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
-IUSE="fontconfig idn jpeg png tiff test +tools"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-   idn? ( net-dns/libidn:= )
-   dev-libs/openssl:=
-   fontconfig? ( media-libs/fontconfig:= )
-   media-libs/freetype:2=
-   jpeg? ( media-libs/libjpeg-turbo:= )
-   png? ( media-libs/libpng:= )
-   dev-libs/libxml2
-   tiff? ( media-libs/tiff:= )
-   sys-libs/zlib:="
-DEPEND="${RDEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-src_prepare() {
-   cmake_src_prepare
-   if use test; then
-   rmdir extern/resources || die
-   mv 
"${WORKDIR}"/podofo-resources-4afe5c3fdb543a4347681b2e52252f1b10f12f24 
extern/resources || die
-
-   sed -i -e 's|TEST_CASE("testLoadEncrypedFilePdfParser")|void 
testLoadEncrypedFilePdfParser()|' \
-   -e 
's|TEST_CASE("testLoadEncrypedFilePdfMemDocument")|void 
testLoadEncrypedFilePdfMemDocument()|' \
-   test/unit/EncryptTest.cpp || die
-   sed -i -e 's|TEST_CASE("testCyclicTree")|void 
testCyclicTree()|' \
-   -e 's|TEST_CASE("testEmptyKidsTree")|void 
testEmptyKidsTree()|' \
-   -e 's|TEST_CASE("testNestedArrayTree")|void 
testNestedArrayTree()|' \
-   -e 's|TEST_CASE("testCreateDelete")|void 
testCreateDelete()|' \
-   test/unit/PageTreeTest.cpp || die
-   fi
-}
-
-src_configure() {
-   loc

[gentoo-commits] repo/gentoo:master commit in: app-text/podofo/

2023-09-22 Thread Joonas Niilola
commit: 942ccff039c327454ec89af5296055fde6816a85
Author: Eli Schwartz  gmail  com>
AuthorDate: Wed Sep 20 05:28:44 2023 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Fri Sep 22 08:22:54 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=942ccff0

app-text/podofo: add 0.10.1

Upstream moved to github and did a lot of cleanup. I have taken the
opportunity to drop lots of complicated logic that I don't understand
the need for, but which doesn't seem to be relevant to 0.10.x anyway.
This is effectively a brand-new ebuild.

Of particular note, the library soname is now incremented in
CMakeLists.txt (with real ABI tracking!) and is NOT simply the appended
project version in full. The slot has been adjusted accordingly.

Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Joonas Niilola  gentoo.org>

 app-text/podofo/Manifest |  2 ++
 app-text/podofo/metadata.xml |  2 +-
 app-text/podofo/podofo-0.10.1.ebuild | 56 
 3 files changed, 59 insertions(+), 1 deletion(-)

diff --git a/app-text/podofo/Manifest b/app-text/podofo/Manifest
index 3049a57c0a5d..706dc97a31bc 100644
--- a/app-text/podofo/Manifest
+++ b/app-text/podofo/Manifest
@@ -1,2 +1,4 @@
+DIST podofo-0.10.1-test-resources.tar.gz 4228392 BLAKE2B 
95526d145a18976d5b9f782dfcac15e17bc4ef20a22ca5892905a19193ad88c2855cb8551886754c334f6ca666b9b74fe9a3b5c89ce774fa24e579f563be57c6
 SHA512 
4cb33e5a6050ef745cda42b7fdf53fee9f45d4d488555b79c9cdd6680c5265065aac92ad3d72ea0b75eee9a73098f920a3dd61b7728db6d2171888cbc83c6d55
+DIST podofo-0.10.1.tar.gz 1690279 BLAKE2B 
0fc161c467ffce07c1b2cb1a2124ffddc6c18189b5c8b31dc1212921637601a667cd2b0d6f1269214bd0fe47e8853367283e3053813d45aed01589f0dfb1c29b
 SHA512 
cbbd183cd940345f9b077b7da140414c27badc70fdf754e2f3c6f0e51c25072de46d7fe312b014c0eab359bd03e9dca0283260db00f079c5014e268d5c5ef5c9
 DIST podofo-0.9.8-bug-888463.patch 1269 BLAKE2B 
632e9326112eecb484a15a532fc218263eab081acaf2af2bc1cc3d1020347846ce9ce82147d9d2fa9b42d690270b01b68eaf621cfbbdcfce041b8d651754c08e
 SHA512 
9b0764d8697fad57107647a620f6dbe5d8025628faf02b1d6839d3f975216b16a58ccc115f58809aa4e31fb6b4b487b1490eedf468ddc8b90e494f68d8e50dc6
 DIST podofo-0.9.8.tar.gz 1012918 BLAKE2B 
5d343128bcf06dbb8ef1d70b32f580a800726c33e4c14c86a6c7df0278a34b2d96cba7975c00d32e792596ca3cb54fa66fee262b49a240cd52e31646947b943e
 SHA512 
b220322114450f1656c73d325f5172bc4cec0b1913e98b4eb2455f8ed7394bcaa47438d41003c9678937ef44d411e135431ddd6784f83d3663337d471baa02b1

diff --git a/app-text/podofo/metadata.xml b/app-text/podofo/metadata.xml
index c0b71a582307..c274503a81d6 100644
--- a/app-text/podofo/metadata.xml
+++ b/app-text/podofo/metadata.xml
@@ -11,7 +11,7 @@



+   podofo/podofo
podofo
-   
https://sourceforge.net/p/podofo/code/commit_browser

 

diff --git a/app-text/podofo/podofo-0.10.1.ebuild 
b/app-text/podofo/podofo-0.10.1.ebuild
new file mode 100644
index ..29d54510af38
--- /dev/null
+++ b/app-text/podofo/podofo-0.10.1.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="PoDoFo is a C++ library to work with the PDF file format"
+HOMEPAGE="https://github.com/podofo/podofo";
+# testsuite resources require separate download. Reported at 
https://github.com/podofo/podofo/issues/102
+SRC_URI="https://github.com/podofo/podofo/archive/refs/tags/${PV}.tar.gz -> 
${P}.tar.gz
+   test? (
+   
https://github.com/podofo/podofo-resources/archive/4afe5c3fdb543a4347681b2e52252f1b10f12f24.tar.gz
+   -> ${P}-test-resources.tar.gz
+   )
+"
+
+LICENSE="LGPL-2+ tools? ( GPL-2+ )"
+SLOT="0/2"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+IUSE="idn jpeg tiff png fontconfig test tools"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   idn? ( net-dns/libidn:= )
+   dev-libs/openssl:=
+   fontconfig? ( media-libs/fontconfig:= )
+   media-libs/freetype:2=
+   jpeg? ( media-libs/libjpeg-turbo:= )
+   png? ( media-libs/libpng:= )
+   dev-libs/libxml2
+   tiff? ( media-libs/tiff:= )
+   sys-libs/zlib:="
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+src_prepare() {
+   cmake_src_prepare
+   if use test; then
+   rmdir extern/resources || die
+   mv 
"${WORKDIR}"/podofo-resources-4afe5c3fdb543a4347681b2e52252f1b10f12f24 
extern/resources || die
+   fi
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DPODOFO_BUILD_TEST=$(usex test ON OFF)
+   -DPODOFO_BUILD_TOOLS=$(usex tools ON OFF)
+   $(cmake_use_find_package idn Libidn)
+   $(cmake_use_find_package jpeg JPEG)
+   $(cmake_use_find_package tiff TIFF)
+   $(cmake_use_find_package png PNG)
+   $(cmake_use_find_package fontconfig Fontconf

[gentoo-commits] repo/gentoo:master commit in: app-text/podofo/

2023-09-20 Thread Zac Medico
commit: fb167a63978ae916c47e7d9d8b8454d492a02838
Author: Eli Schwartz  gmail  com>
AuthorDate: Wed Sep 20 05:28:44 2023 +
Commit: Zac Medico  gentoo  org>
CommitDate: Thu Sep 21 06:17:48 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb167a63

app-text/podofo: add 0.10.1

Upstream moved to github and did a lot of cleanup. I have taken the
opportunity to drop lots of complicated logic that I don't understand
the need for, but which doesn't seem to be relevant to 0.10.x anyway.
This is effectively a brand-new ebuild.

Of particular note, the library soname is now incremented in
CMakeLists.txt (with real ABI tracking!) and is NOT simply the appended
project version in full. The slot has been adjusted accordingly.

Closes: https://github.com/gentoo/gentoo/pull/32941
Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Zac Medico  gentoo.org>

 app-text/podofo/Manifest |  2 ++
 app-text/podofo/metadata.xml |  2 +-
 app-text/podofo/podofo-0.10.1.ebuild | 65 
 3 files changed, 68 insertions(+), 1 deletion(-)

diff --git a/app-text/podofo/Manifest b/app-text/podofo/Manifest
index 3049a57c0a5d..706dc97a31bc 100644
--- a/app-text/podofo/Manifest
+++ b/app-text/podofo/Manifest
@@ -1,2 +1,4 @@
+DIST podofo-0.10.1-test-resources.tar.gz 4228392 BLAKE2B 
95526d145a18976d5b9f782dfcac15e17bc4ef20a22ca5892905a19193ad88c2855cb8551886754c334f6ca666b9b74fe9a3b5c89ce774fa24e579f563be57c6
 SHA512 
4cb33e5a6050ef745cda42b7fdf53fee9f45d4d488555b79c9cdd6680c5265065aac92ad3d72ea0b75eee9a73098f920a3dd61b7728db6d2171888cbc83c6d55
+DIST podofo-0.10.1.tar.gz 1690279 BLAKE2B 
0fc161c467ffce07c1b2cb1a2124ffddc6c18189b5c8b31dc1212921637601a667cd2b0d6f1269214bd0fe47e8853367283e3053813d45aed01589f0dfb1c29b
 SHA512 
cbbd183cd940345f9b077b7da140414c27badc70fdf754e2f3c6f0e51c25072de46d7fe312b014c0eab359bd03e9dca0283260db00f079c5014e268d5c5ef5c9
 DIST podofo-0.9.8-bug-888463.patch 1269 BLAKE2B 
632e9326112eecb484a15a532fc218263eab081acaf2af2bc1cc3d1020347846ce9ce82147d9d2fa9b42d690270b01b68eaf621cfbbdcfce041b8d651754c08e
 SHA512 
9b0764d8697fad57107647a620f6dbe5d8025628faf02b1d6839d3f975216b16a58ccc115f58809aa4e31fb6b4b487b1490eedf468ddc8b90e494f68d8e50dc6
 DIST podofo-0.9.8.tar.gz 1012918 BLAKE2B 
5d343128bcf06dbb8ef1d70b32f580a800726c33e4c14c86a6c7df0278a34b2d96cba7975c00d32e792596ca3cb54fa66fee262b49a240cd52e31646947b943e
 SHA512 
b220322114450f1656c73d325f5172bc4cec0b1913e98b4eb2455f8ed7394bcaa47438d41003c9678937ef44d411e135431ddd6784f83d3663337d471baa02b1

diff --git a/app-text/podofo/metadata.xml b/app-text/podofo/metadata.xml
index c0b71a582307..c274503a81d6 100644
--- a/app-text/podofo/metadata.xml
+++ b/app-text/podofo/metadata.xml
@@ -11,7 +11,7 @@



+   podofo/podofo
podofo
-   
https://sourceforge.net/p/podofo/code/commit_browser

 

diff --git a/app-text/podofo/podofo-0.10.1.ebuild 
b/app-text/podofo/podofo-0.10.1.ebuild
new file mode 100644
index ..3d211d26ccf8
--- /dev/null
+++ b/app-text/podofo/podofo-0.10.1.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="PoDoFo is a C++ library to work with the PDF file format"
+HOMEPAGE="https://github.com/podofo/podofo";
+# testsuite resources require separate download. Reported at 
https://github.com/podofo/podofo/issues/102
+SRC_URI="https://github.com/podofo/podofo/archive/refs/tags/${PV}.tar.gz -> 
${P}.tar.gz
+   test? (
+   
https://github.com/podofo/podofo-resources/archive/4afe5c3fdb543a4347681b2e52252f1b10f12f24.tar.gz
+   -> ${P}-test-resources.tar.gz
+   )
+"
+
+LICENSE="LGPL-2+ tools? ( GPL-2+ )"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+IUSE="fontconfig idn jpeg png tiff test +tools"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   idn? ( net-dns/libidn:= )
+   dev-libs/openssl:=
+   fontconfig? ( media-libs/fontconfig:= )
+   media-libs/freetype:2=
+   jpeg? ( media-libs/libjpeg-turbo:= )
+   png? ( media-libs/libpng:= )
+   dev-libs/libxml2
+   tiff? ( media-libs/tiff:= )
+   sys-libs/zlib:="
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+src_prepare() {
+   cmake_src_prepare
+   if use test; then
+   rmdir extern/resources || die
+   mv 
"${WORKDIR}"/podofo-resources-4afe5c3fdb543a4347681b2e52252f1b10f12f24 
extern/resources || die
+
+   sed -i -e 's|TEST_CASE("testLoadEncrypedFilePdfParser")|void 
testLoadEncrypedFilePdfParser()|' \
+   -e 
's|TEST_CASE("testLoadEncrypedFilePdfMemDocument")|void 
testLoadEncrypedFilePdfMemDocument()|' \
+   test/unit/EncryptTest.cpp || die
+   sed -i -e 's|TEST_CASE("testCyclicTree")|void 
testCyclicTree()|' \
+   

[gentoo-commits] repo/gentoo:master commit in: app-text/podofo/

2023-01-21 Thread Sam James
commit: 130a988b749212127940a09c0523a10e4a9990cd
Author: Sam James  gentoo  org>
AuthorDate: Sun Jan 22 06:37:57 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jan 22 06:37:57 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=130a988b

app-text/podofo: Stabilize 0.9.8-r1 amd64, #888463

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

 app-text/podofo/podofo-0.9.8-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/podofo/podofo-0.9.8-r1.ebuild 
b/app-text/podofo/podofo-0.9.8-r1.ebuild
index 92bd05f20bdd..151d7e2aabf0 100644
--- a/app-text/podofo/podofo-0.9.8-r1.ebuild
+++ b/app-text/podofo/podofo-0.9.8-r1.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://cfhcable.dl.sourceforge.net/project/podofo/podofo/${PV}/${P}.ta
 
 LICENSE="GPL-2 LGPL-2.1"
 SLOT="0/${PV}"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ppc ppc64 ~sparc x86"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ppc ppc64 ~sparc x86"
 IUSE="+boost idn debug test +tools"
 RESTRICT="test"
 REQUIRED_USE="${LUA_REQUIRED_USE}



[gentoo-commits] repo/gentoo:master commit in: app-text/podofo/

2023-01-21 Thread Sam James
commit: f6d07adb68ac0fffb1eff3ca5c6de371bca95784
Author: Sam James  gentoo  org>
AuthorDate: Sun Jan 22 06:37:52 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jan 22 06:37:52 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6d07adb

app-text/podofo: Stabilize 0.9.8-r1 ppc64, #888463

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

 app-text/podofo/podofo-0.9.8-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/podofo/podofo-0.9.8-r1.ebuild 
b/app-text/podofo/podofo-0.9.8-r1.ebuild
index b5be9820d09a..41a4bf703926 100644
--- a/app-text/podofo/podofo-0.9.8-r1.ebuild
+++ b/app-text/podofo/podofo-0.9.8-r1.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://cfhcable.dl.sourceforge.net/project/podofo/podofo/${PV}/${P}.ta
 
 LICENSE="GPL-2 LGPL-2.1"
 SLOT="0/${PV}"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ppc ppc64 ~sparc ~x86"
 IUSE="+boost idn debug test +tools"
 RESTRICT="test"
 REQUIRED_USE="${LUA_REQUIRED_USE}



[gentoo-commits] repo/gentoo:master commit in: app-text/podofo/

2023-01-21 Thread Sam James
commit: 44ad3141c3434b2ff339a24902c2ebb9e92c9fd9
Author: Sam James  gentoo  org>
AuthorDate: Sun Jan 22 06:37:55 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jan 22 06:37:55 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44ad3141

app-text/podofo: Stabilize 0.9.8-r1 x86, #888463

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

 app-text/podofo/podofo-0.9.8-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/podofo/podofo-0.9.8-r1.ebuild 
b/app-text/podofo/podofo-0.9.8-r1.ebuild
index 41a4bf703926..92bd05f20bdd 100644
--- a/app-text/podofo/podofo-0.9.8-r1.ebuild
+++ b/app-text/podofo/podofo-0.9.8-r1.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://cfhcable.dl.sourceforge.net/project/podofo/podofo/${PV}/${P}.ta
 
 LICENSE="GPL-2 LGPL-2.1"
 SLOT="0/${PV}"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ppc ppc64 ~sparc ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ppc ppc64 ~sparc x86"
 IUSE="+boost idn debug test +tools"
 RESTRICT="test"
 REQUIRED_USE="${LUA_REQUIRED_USE}



[gentoo-commits] repo/gentoo:master commit in: app-text/podofo/

2023-01-21 Thread Sam James
commit: b8379e68d99ba7d586d4cfe0c0a95aacb3af8608
Author: Sam James  gentoo  org>
AuthorDate: Sun Jan 22 06:37:50 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jan 22 06:37:50 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8379e68

app-text/podofo: Stabilize 0.9.8-r1 ppc, #888463

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

 app-text/podofo/podofo-0.9.8-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-text/podofo/podofo-0.9.8-r1.ebuild 
b/app-text/podofo/podofo-0.9.8-r1.ebuild
index 6b4fab5a8cee..b5be9820d09a 100644
--- a/app-text/podofo/podofo-0.9.8-r1.ebuild
+++ b/app-text/podofo/podofo-0.9.8-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -14,7 +14,7 @@ 
SRC_URI="https://cfhcable.dl.sourceforge.net/project/podofo/podofo/${PV}/${P}.ta
 
 LICENSE="GPL-2 LGPL-2.1"
 SLOT="0/${PV}"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ppc ~ppc64 ~sparc ~x86"
 IUSE="+boost idn debug test +tools"
 RESTRICT="test"
 REQUIRED_USE="${LUA_REQUIRED_USE}



[gentoo-commits] repo/gentoo:master commit in: app-text/podofo/

2022-12-26 Thread Zac Medico
commit: 963dfa36b0fc3f01c2969110b23787a52503288e
Author: Zac Medico  gentoo  org>
AuthorDate: Mon Dec 26 18:13:31 2022 +
Commit: Zac Medico  gentoo  org>
CommitDate: Mon Dec 26 18:15:03 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=963dfa36

app-text/podofo: revbump with patch for bug 888533

Closes: https://bugs.gentoo.org/888533
Signed-off-by: Zac Medico  gentoo.org>

 app-text/podofo/Manifest| 1 +
 app-text/podofo/{podofo-0.9.8.ebuild => podofo-0.9.8-r1.ebuild} | 4 +++-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/app-text/podofo/Manifest b/app-text/podofo/Manifest
index b56e6d15c5fc..161a0c69cf39 100644
--- a/app-text/podofo/Manifest
+++ b/app-text/podofo/Manifest
@@ -1,3 +1,4 @@
 DIST podofo-0.9.6_p20190928.tar.xz 747532 BLAKE2B 
39d051e6adca85bf0f124e5d48e1ff88dc951d7c1b38bc76dc7e3640ea9c3f8a59c6ba9a9105a263234e94932e450bec12dde455850dbf96cd7eec3e69a1a28d
 SHA512 
b9d46fb02eeba61190a0efd17b507bba62d7246af6fff3c3514c9970e99e085f9aad92baa05cc6cf0a8c3c2843554099c904bff10be54dbb4d4cb7de460fc3cc
 DIST podofo-0.9.7.tar.gz 1005247 BLAKE2B 
d8f123008d272c1c39f60438d7cd6112cdd851488775e7e0fcb3fd9c4669fd64867fa293ef18b3189eac01f84a8a6b3c536171528f2b6097a5fe181c98501a71
 SHA512 
0e699739c2fb7d4d02ffca371504bb19f3a8a97ddcbfc06f8d9636db9e73064b4f633f7f09bce92140bb2174610ad68c1e5f8460d474d176ab803ed28295251b
+DIST podofo-0.9.8-bug-888463.patch 1269 BLAKE2B 
632e9326112eecb484a15a532fc218263eab081acaf2af2bc1cc3d1020347846ce9ce82147d9d2fa9b42d690270b01b68eaf621cfbbdcfce041b8d651754c08e
 SHA512 
9b0764d8697fad57107647a620f6dbe5d8025628faf02b1d6839d3f975216b16a58ccc115f58809aa4e31fb6b4b487b1490eedf468ddc8b90e494f68d8e50dc6
 DIST podofo-0.9.8.tar.gz 1012918 BLAKE2B 
5d343128bcf06dbb8ef1d70b32f580a800726c33e4c14c86a6c7df0278a34b2d96cba7975c00d32e792596ca3cb54fa66fee262b49a240cd52e31646947b943e
 SHA512 
b220322114450f1656c73d325f5172bc4cec0b1913e98b4eb2455f8ed7394bcaa47438d41003c9678937ef44d411e135431ddd6784f83d3663337d471baa02b1

diff --git a/app-text/podofo/podofo-0.9.8.ebuild 
b/app-text/podofo/podofo-0.9.8-r1.ebuild
similarity index 94%
rename from app-text/podofo/podofo-0.9.8.ebuild
rename to app-text/podofo/podofo-0.9.8-r1.ebuild
index dbba2cec5c14..6b4fab5a8cee 100644
--- a/app-text/podofo/podofo-0.9.8.ebuild
+++ b/app-text/podofo/podofo-0.9.8-r1.ebuild
@@ -9,7 +9,8 @@ inherit cmake flag-o-matic lua-single toolchain-funcs
 
 DESCRIPTION="PoDoFo is a C++ library to work with the PDF file format"
 HOMEPAGE="https://sourceforge.net/projects/podofo/";
-SRC_URI="https://cfhcable.dl.sourceforge.net/project/podofo/podofo/${PV}/${P}.tar.gz";
+SRC_URI="https://cfhcable.dl.sourceforge.net/project/podofo/podofo/${PV}/${P}.tar.gz
+   
https://github.com/podofo/podofo/commit/d0e9f5d503b0cb79516ec9bff989f3d7d625b678.patch
 -> ${P}-bug-888463.patch"
 
 LICENSE="GPL-2 LGPL-2.1"
 SLOT="0/${PV}"
@@ -37,6 +38,7 @@ BDEPEND="virtual/pkgconfig
 
 PATCHES=(
"${FILESDIR}"/${PN}-0.9.6_p20190928-cmake_lua_version.patch
+   "${DISTDIR}"/${P}-bug-888463.patch
 )
 
 DOCS="AUTHORS ChangeLog TODO"



[gentoo-commits] repo/gentoo:master commit in: app-text/podofo/

2022-12-26 Thread Zac Medico
commit: 13262e30933dc428c655b05485bde167fcec681a
Author: Zac Medico  gentoo  org>
AuthorDate: Mon Dec 26 17:45:55 2022 +
Commit: Zac Medico  gentoo  org>
CommitDate: Mon Dec 26 17:55:41 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13262e30

app-text/podofo: add 0.9.8

Bug: https://bugs.gentoo.org/888463
Signed-off-by: Zac Medico  gentoo.org>

 app-text/podofo/Manifest|   1 +
 app-text/podofo/podofo-0.9.8.ebuild | 116 
 2 files changed, 117 insertions(+)

diff --git a/app-text/podofo/Manifest b/app-text/podofo/Manifest
index 58833fa8fc0b..b56e6d15c5fc 100644
--- a/app-text/podofo/Manifest
+++ b/app-text/podofo/Manifest
@@ -1,2 +1,3 @@
 DIST podofo-0.9.6_p20190928.tar.xz 747532 BLAKE2B 
39d051e6adca85bf0f124e5d48e1ff88dc951d7c1b38bc76dc7e3640ea9c3f8a59c6ba9a9105a263234e94932e450bec12dde455850dbf96cd7eec3e69a1a28d
 SHA512 
b9d46fb02eeba61190a0efd17b507bba62d7246af6fff3c3514c9970e99e085f9aad92baa05cc6cf0a8c3c2843554099c904bff10be54dbb4d4cb7de460fc3cc
 DIST podofo-0.9.7.tar.gz 1005247 BLAKE2B 
d8f123008d272c1c39f60438d7cd6112cdd851488775e7e0fcb3fd9c4669fd64867fa293ef18b3189eac01f84a8a6b3c536171528f2b6097a5fe181c98501a71
 SHA512 
0e699739c2fb7d4d02ffca371504bb19f3a8a97ddcbfc06f8d9636db9e73064b4f633f7f09bce92140bb2174610ad68c1e5f8460d474d176ab803ed28295251b
+DIST podofo-0.9.8.tar.gz 1012918 BLAKE2B 
5d343128bcf06dbb8ef1d70b32f580a800726c33e4c14c86a6c7df0278a34b2d96cba7975c00d32e792596ca3cb54fa66fee262b49a240cd52e31646947b943e
 SHA512 
b220322114450f1656c73d325f5172bc4cec0b1913e98b4eb2455f8ed7394bcaa47438d41003c9678937ef44d411e135431ddd6784f83d3663337d471baa02b1

diff --git a/app-text/podofo/podofo-0.9.8.ebuild 
b/app-text/podofo/podofo-0.9.8.ebuild
new file mode 100644
index ..dbba2cec5c14
--- /dev/null
+++ b/app-text/podofo/podofo-0.9.8.ebuild
@@ -0,0 +1,116 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+LUA_COMPAT=( lua5-{1..4} )
+
+inherit cmake flag-o-matic lua-single toolchain-funcs
+
+DESCRIPTION="PoDoFo is a C++ library to work with the PDF file format"
+HOMEPAGE="https://sourceforge.net/projects/podofo/";
+SRC_URI="https://cfhcable.dl.sourceforge.net/project/podofo/podofo/${PV}/${P}.tar.gz";
+
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+IUSE="+boost idn debug test +tools"
+RESTRICT="test"
+REQUIRED_USE="${LUA_REQUIRED_USE}
+   test? ( tools )"
+
+RDEPEND="${LUA_DEPS}
+   idn? ( net-dns/libidn:= )
+   dev-libs/openssl:=
+   media-libs/fontconfig:=
+   media-libs/freetype:2=
+   media-libs/libjpeg-turbo:=
+   media-libs/libpng:=
+   media-libs/tiff:=
+   sys-libs/zlib:="
+DEPEND="${RDEPEND}
+   test? ( dev-util/cppunit )
+"
+
+BDEPEND="virtual/pkgconfig
+   boost? ( dev-libs/boost )"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-0.9.6_p20190928-cmake_lua_version.patch
+)
+
+DOCS="AUTHORS ChangeLog TODO"
+
+src_prepare() {
+   cmake_src_prepare
+   local x sed_args
+
+   # bug 620934 - Disable linking with cppunit when possible, since it
+   # triggers errors with some older compilers.
+   use test || sed -e 's:^FIND_PACKAGE(CppUnit):#\0:' -i CMakeLists.txt || 
die
+
+   # bug 556962
+   sed -i -e 's|Decrypt( pEncryptedBuffer, nOutputLen, pDecryptedBuffer, 
m_lLen );|Decrypt( pEncryptedBuffer, (pdf_long)nOutputLen, pDecryptedBuffer, 
(pdf_long\&)m_lLen );|' \
+   test/unit/EncryptTest.cpp || die
+
+   sed -i \
+   -e "s:LIBDIRNAME \"lib\":LIBDIRNAME \"$(get_libdir)\":" \
+   -e "s:LIBIDN_FOUND:HAVE_LIBIDN:g" \
+   CMakeLists.txt || die
+
+   # Use pkg-config to find headers for bug #459404.
+   sed_args=
+   for x in $($(tc-getPKG_CONFIG) --cflags freetype2) ; do
+   [[ ${x} == -I* ]] || continue
+   x=${x#-I}
+   if [[ -f ${x}/ft2build.h ]] ; then
+   sed_args+=" -e s:/usr/include/\\r\$:${x}:"
+   elif [[ -f ${x}/freetype/config/ftheader.h ]] ; then
+   sed_args+=" -e s:/usr/include/freetype2\\r\$:${x}:"
+   fi
+   done
+   [[ -n ${sed_args} ]] && \
+   { sed -i ${sed_args} cmake/modules/FindFREETYPE.cmake || die; }
+
+   # Bug #407015: fix to compile with Lua 5.2+
+   case "${ELUA}" in
+   lua5-1|luajit)
+   ;;
+   *)
+   sed -e 's: lua_open(: luaL_newstate(:' \
+   -e 's: luaL_getn(: lua_rawlen(:' -i \
+   tools/podofocolor/luaconverter.cpp \
+   tools/podofoimpose/planreader_lua.cpp || die
+   ;;
+   esac
+}
+
+src_configure() {
+
+   # Bug #381359: undefined reference to 
`PoDoFo::PdfVariant::DelayedLoadImpl()'
+   filter-flags -fvisib

[gentoo-commits] repo/gentoo:master commit in: app-text/podofo/

2022-10-17 Thread Sam James
commit: 3a1b720795beee61d4e093a5479664ea59faf933
Author: Sam James  gentoo  org>
AuthorDate: Mon Oct 17 22:17:29 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Oct 17 22:19:06 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a1b7207

app-text/podofo: fix automagic dep on libunistring

Hard-disable it and prefer libidn for unicode support.

Closes: https://bugs.gentoo.org/877443
Signed-off-by: Sam James  gentoo.org>

 ...190928-r100.ebuild => podofo-0.9.6_p20190928-r101.ebuild} |  9 +
 .../podofo/{podofo-0.9.7.ebuild => podofo-0.9.7-r1.ebuild}   | 12 +++-
 2 files changed, 12 insertions(+), 9 deletions(-)

diff --git a/app-text/podofo/podofo-0.9.6_p20190928-r100.ebuild 
b/app-text/podofo/podofo-0.9.6_p20190928-r101.ebuild
similarity index 97%
rename from app-text/podofo/podofo-0.9.6_p20190928-r100.ebuild
rename to app-text/podofo/podofo-0.9.6_p20190928-r101.ebuild
index bd8bf05d1b85..b38d2983b91f 100644
--- a/app-text/podofo/podofo-0.9.6_p20190928-r100.ebuild
+++ b/app-text/podofo/podofo-0.9.6_p20190928-r101.ebuild
@@ -21,12 +21,13 @@ REQUIRED_USE="${LUA_REQUIRED_USE}
 
 RDEPEND="${LUA_DEPS}
idn? ( net-dns/libidn:= )
-   dev-libs/openssl:0=
+   dev-libs/openssl:=
+   dev-libs/libunistring:=
media-libs/fontconfig:=
media-libs/freetype:2=
-   virtual/jpeg:0=
-   media-libs/libpng:0=
-   media-libs/tiff:0=
+   media-libs/libjpeg-turbo:=
+   media-libs/libpng:=
+   media-libs/tiff:=
sys-libs/zlib:="
 DEPEND="${RDEPEND}
test? ( dev-util/cppunit )"

diff --git a/app-text/podofo/podofo-0.9.7.ebuild 
b/app-text/podofo/podofo-0.9.7-r1.ebuild
similarity index 94%
rename from app-text/podofo/podofo-0.9.7.ebuild
rename to app-text/podofo/podofo-0.9.7-r1.ebuild
index 97e2a987c7a1..e15f6767e6c5 100644
--- a/app-text/podofo/podofo-0.9.7.ebuild
+++ b/app-text/podofo/podofo-0.9.7-r1.ebuild
@@ -21,12 +21,12 @@ REQUIRED_USE="${LUA_REQUIRED_USE}
 
 RDEPEND="${LUA_DEPS}
idn? ( net-dns/libidn:= )
-   dev-libs/openssl:0=
+   dev-libs/openssl:=
media-libs/fontconfig:=
media-libs/freetype:2=
-   virtual/jpeg:0=
-   media-libs/libpng:0=
-   media-libs/tiff:0=
+   media-libs/libjpeg-turbo:=
+   media-libs/libpng:=
+   media-libs/tiff:=
sys-libs/zlib:="
 DEPEND="${RDEPEND}
test? ( dev-util/cppunit )
@@ -100,9 +100,11 @@ src_configure() {
-DLUA_VERSION="$(lua_get_version)"
-DWANT_BOOST=$(usex boost ON OFF)
-DHAVE_LIBIDN=$(usex idn ON OFF)
+   # We use libidn for unicode support instead
+   -DCMAKE_DISABLE_FIND_PACKAGE_UNISTRING=ON
-DPODOFO_HAVE_CPPUNIT=$(usex test ON OFF)
-DPODOFO_BUILD_LIB_ONLY=$(usex tools OFF ON)
-   )
+   )
 
cmake_src_configure
mkdir -p "${S}/test/TokenizerTest/objects" || die



[gentoo-commits] repo/gentoo:master commit in: app-text/podofo/

2022-09-05 Thread Zac Medico
commit: 01857c9bc46a9e89273e0a6c188654cb22e526ba
Author: Zac Medico  gentoo  org>
AuthorDate: Mon Sep  5 19:15:35 2022 +
Commit: Zac Medico  gentoo  org>
CommitDate: Mon Sep  5 19:18:31 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01857c9b

app-text/podofo: fix boost BDEPEND

Closes: https://bugs.gentoo.org/484662
Signed-off-by: Zac Medico  gentoo.org>

 app-text/podofo/podofo-0.9.6_p20190928-r100.ebuild | 4 ++--
 app-text/podofo/podofo-0.9.7.ebuild| 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/app-text/podofo/podofo-0.9.6_p20190928-r100.ebuild 
b/app-text/podofo/podofo-0.9.6_p20190928-r100.ebuild
index 74c9b102939b..bd8bf05d1b85 100644
--- a/app-text/podofo/podofo-0.9.6_p20190928-r100.ebuild
+++ b/app-text/podofo/podofo-0.9.6_p20190928-r100.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -31,7 +31,7 @@ RDEPEND="${LUA_DEPS}
 DEPEND="${RDEPEND}
test? ( dev-util/cppunit )"
 BDEPEND="virtual/pkgconfig
-   boost? ( dev-util/boost-build )"
+   boost? ( dev-libs/boost )"
 
 PATCHES=(
"${FILESDIR}"/${PN}-0.9.6_p20190928-cmake_lua_version.patch

diff --git a/app-text/podofo/podofo-0.9.7.ebuild 
b/app-text/podofo/podofo-0.9.7.ebuild
index 5510e90dad7e..97e2a987c7a1 100644
--- a/app-text/podofo/podofo-0.9.7.ebuild
+++ b/app-text/podofo/podofo-0.9.7.ebuild
@@ -33,7 +33,7 @@ DEPEND="${RDEPEND}
 "
 
 BDEPEND="virtual/pkgconfig
-   boost? ( dev-util/boost-build )"
+   boost? ( dev-libs/boost )"
 
 PATCHES=(
"${FILESDIR}"/${PN}-0.9.6_p20190928-cmake_lua_version.patch



[gentoo-commits] repo/gentoo:master commit in: app-text/podofo/

2022-02-27 Thread Sam James
commit: ed742fb850063b9bf6c3c4a72226bfe828f4d26f
Author: Sam James  gentoo  org>
AuthorDate: Sun Feb 27 16:56:03 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Feb 27 16:56:03 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed742fb8

app-text/podofo: make cppunit conditional

- Make cppunit conditional (already got a sed for this). Despite the RESTRICT,
  tests were going to get built, just not run, so need it there anyway.
- Drop libidn from DEPEND (USE=idn not on, so just a harmless warning from
  CMake), don't think it's needed unconditionally

Bug: https://bugs.gentoo.org/834129
Signed-off-by: Sam James  gentoo.org>

 app-text/podofo/podofo-0.9.7.ebuild | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/app-text/podofo/podofo-0.9.7.ebuild 
b/app-text/podofo/podofo-0.9.7.ebuild
index a3cb356d1267..5510e90dad7e 100644
--- a/app-text/podofo/podofo-0.9.7.ebuild
+++ b/app-text/podofo/podofo-0.9.7.ebuild
@@ -29,8 +29,7 @@ RDEPEND="${LUA_DEPS}
media-libs/tiff:0=
sys-libs/zlib:="
 DEPEND="${RDEPEND}
-   dev-util/cppunit
-   net-dns/libidn
+   test? ( dev-util/cppunit )
 "
 
 BDEPEND="virtual/pkgconfig



[gentoo-commits] repo/gentoo:master commit in: app-text/podofo/

2022-02-27 Thread Zac Medico
commit: 868163a094d61d8c6f6a4b8ce4aed2e5480d4188
Author: Zac Medico  gentoo  org>
AuthorDate: Sun Feb 27 16:50:14 2022 +
Commit: Zac Medico  gentoo  org>
CommitDate: Sun Feb 27 16:51:04 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=868163a0

app-text/podofo: Add missing deps for bug 834129

Closes: https://bugs.gentoo.org/834129
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Zac Medico  gentoo.org>

 app-text/podofo/podofo-0.9.7.ebuild | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/app-text/podofo/podofo-0.9.7.ebuild 
b/app-text/podofo/podofo-0.9.7.ebuild
index a4054a7a6ec6..a3cb356d1267 100644
--- a/app-text/podofo/podofo-0.9.7.ebuild
+++ b/app-text/podofo/podofo-0.9.7.ebuild
@@ -28,7 +28,10 @@ RDEPEND="${LUA_DEPS}
media-libs/libpng:0=
media-libs/tiff:0=
sys-libs/zlib:="
-DEPEND="${RDEPEND}"
+DEPEND="${RDEPEND}
+   dev-util/cppunit
+   net-dns/libidn
+"
 
 BDEPEND="virtual/pkgconfig
boost? ( dev-util/boost-build )"



[gentoo-commits] repo/gentoo:master commit in: app-text/podofo/

2022-02-26 Thread Zac Medico
commit: 26e2dd31d3a351fd51f1ca8902e7a7f6f8c11916
Author: Zac Medico  gentoo  org>
AuthorDate: Sat Feb 26 19:26:54 2022 +
Commit: Zac Medico  gentoo  org>
CommitDate: Sat Feb 26 19:52:03 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26e2dd31

app-text/podofo: Bump to version 0.9.7

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Zac Medico  gentoo.org>

 app-text/podofo/Manifest|   1 +
 app-text/podofo/podofo-0.9.7.ebuild | 112 
 2 files changed, 113 insertions(+)

diff --git a/app-text/podofo/Manifest b/app-text/podofo/Manifest
index f5d3e309a7d7..58833fa8fc0b 100644
--- a/app-text/podofo/Manifest
+++ b/app-text/podofo/Manifest
@@ -1 +1,2 @@
 DIST podofo-0.9.6_p20190928.tar.xz 747532 BLAKE2B 
39d051e6adca85bf0f124e5d48e1ff88dc951d7c1b38bc76dc7e3640ea9c3f8a59c6ba9a9105a263234e94932e450bec12dde455850dbf96cd7eec3e69a1a28d
 SHA512 
b9d46fb02eeba61190a0efd17b507bba62d7246af6fff3c3514c9970e99e085f9aad92baa05cc6cf0a8c3c2843554099c904bff10be54dbb4d4cb7de460fc3cc
+DIST podofo-0.9.7.tar.gz 1005247 BLAKE2B 
d8f123008d272c1c39f60438d7cd6112cdd851488775e7e0fcb3fd9c4669fd64867fa293ef18b3189eac01f84a8a6b3c536171528f2b6097a5fe181c98501a71
 SHA512 
0e699739c2fb7d4d02ffca371504bb19f3a8a97ddcbfc06f8d9636db9e73064b4f633f7f09bce92140bb2174610ad68c1e5f8460d474d176ab803ed28295251b

diff --git a/app-text/podofo/podofo-0.9.7.ebuild 
b/app-text/podofo/podofo-0.9.7.ebuild
new file mode 100644
index ..a4054a7a6ec6
--- /dev/null
+++ b/app-text/podofo/podofo-0.9.7.ebuild
@@ -0,0 +1,112 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+LUA_COMPAT=( lua5-{1..4} )
+
+inherit cmake flag-o-matic lua-single toolchain-funcs
+
+DESCRIPTION="PoDoFo is a C++ library to work with the PDF file format"
+HOMEPAGE="https://sourceforge.net/projects/podofo/";
+SRC_URI="https://cfhcable.dl.sourceforge.net/project/podofo/podofo/${PV}/${P}.tar.gz";
+
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+IUSE="+boost idn debug test +tools"
+RESTRICT="test"
+REQUIRED_USE="${LUA_REQUIRED_USE}
+   test? ( tools )"
+
+RDEPEND="${LUA_DEPS}
+   idn? ( net-dns/libidn:= )
+   dev-libs/openssl:0=
+   media-libs/fontconfig:=
+   media-libs/freetype:2=
+   virtual/jpeg:0=
+   media-libs/libpng:0=
+   media-libs/tiff:0=
+   sys-libs/zlib:="
+DEPEND="${RDEPEND}"
+
+BDEPEND="virtual/pkgconfig
+   boost? ( dev-util/boost-build )"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-0.9.6_p20190928-cmake_lua_version.patch
+)
+
+DOCS="AUTHORS ChangeLog TODO"
+
+src_prepare() {
+   cmake_src_prepare
+   local x sed_args
+
+   # bug 620934 - Disable linking with cppunit when possible, since it
+   # triggers errors with some older compilers.
+   use test || sed -e 's:^FIND_PACKAGE(CppUnit):#\0:' -i CMakeLists.txt || 
die
+
+   # bug 556962
+   sed -i -e 's|Decrypt( pEncryptedBuffer, nOutputLen, pDecryptedBuffer, 
m_lLen );|Decrypt( pEncryptedBuffer, (pdf_long)nOutputLen, pDecryptedBuffer, 
(pdf_long\&)m_lLen );|' \
+   test/unit/EncryptTest.cpp || die
+
+   sed -i \
+   -e "s:LIBDIRNAME \"lib\":LIBDIRNAME \"$(get_libdir)\":" \
+   -e "s:LIBIDN_FOUND:HAVE_LIBIDN:g" \
+   CMakeLists.txt || die
+
+   # Use pkg-config to find headers for bug #459404.
+   sed_args=
+   for x in $($(tc-getPKG_CONFIG) --cflags freetype2) ; do
+   [[ ${x} == -I* ]] || continue
+   x=${x#-I}
+   if [[ -f ${x}/ft2build.h ]] ; then
+   sed_args+=" -e s:/usr/include/\\r\$:${x}:"
+   elif [[ -f ${x}/freetype/config/ftheader.h ]] ; then
+   sed_args+=" -e s:/usr/include/freetype2\\r\$:${x}:"
+   fi
+   done
+   [[ -n ${sed_args} ]] && \
+   { sed -i ${sed_args} cmake/modules/FindFREETYPE.cmake || die; }
+
+   # Bug #407015: fix to compile with Lua 5.2+
+   case "${ELUA}" in
+   lua5-1|luajit)
+   ;;
+   *)
+   sed -e 's: lua_open(: luaL_newstate(:' \
+   -e 's: luaL_getn(: lua_rawlen(:' -i \
+   tools/podofocolor/luaconverter.cpp \
+   tools/podofoimpose/planreader_lua.cpp || die
+   ;;
+   esac
+}
+
+src_configure() {
+
+   # Bug #381359: undefined reference to 
`PoDoFo::PdfVariant::DelayedLoadImpl()'
+   filter-flags -fvisibility-inlines-hidden
+
+   mycmakeargs+=(
+   "-DPODOFO_BUILD_SHARED=1"
+   "-DPODOFO_HAVE_JPEG_LIB=1"
+   "-DPODOFO_HAVE_PNG_LIB=1"
+   "-DPODOFO_HAVE_TIFF_LIB=1"
+   "-DWANT_FONTCONFIG=1"
+   "-DUSE_STLPORT=0"
+   -DLUA_VERSION="$(lua_get

[gentoo-commits] repo/gentoo:master commit in: app-text/podofo/

2021-06-18 Thread David Seifert
commit: 94a3f070bc161dcd442c45dc0bf5a1e7c445ff53
Author: Sam James  gentoo  org>
AuthorDate: Fri Jun 18 21:06:39 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Fri Jun 18 21:06:39 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94a3f070

app-text/podofo: use BDEPEND for virtual/pkgconfig in EAPI 7

Package-Manager: Portage-3.0.18-prefix, Repoman-3.0.3
Signed-off-by: Sam James  gentoo.org>
Signed-off-by: David Seifert  gentoo.org>

 app-text/podofo/podofo-0.9.6_p20190928-r100.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-text/podofo/podofo-0.9.6_p20190928-r100.ebuild 
b/app-text/podofo/podofo-0.9.6_p20190928-r100.ebuild
index aab395fe5f5..74c9b102939 100644
--- a/app-text/podofo/podofo-0.9.6_p20190928-r100.ebuild
+++ b/app-text/podofo/podofo-0.9.6_p20190928-r100.ebuild
@@ -29,9 +29,9 @@ RDEPEND="${LUA_DEPS}
media-libs/tiff:0=
sys-libs/zlib:="
 DEPEND="${RDEPEND}
-   virtual/pkgconfig
-   boost? ( dev-util/boost-build )
test? ( dev-util/cppunit )"
+BDEPEND="virtual/pkgconfig
+   boost? ( dev-util/boost-build )"
 
 PATCHES=(
"${FILESDIR}"/${PN}-0.9.6_p20190928-cmake_lua_version.patch



[gentoo-commits] repo/gentoo:master commit in: app-text/podofo/

2021-05-02 Thread Mikle Kolyada
commit: d77f083404a841e700c170033e69316d7685140d
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sun May  2 19:31:24 2021 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sun May  2 19:31:24 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d77f0834

app-text/podofo: put fontconfig dependency back

Accidently removed by my libressl vim-fu

Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Mikle Kolyada  gentoo.org>

 app-text/podofo/podofo-0.9.6_p20190928-r100.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/app-text/podofo/podofo-0.9.6_p20190928-r100.ebuild 
b/app-text/podofo/podofo-0.9.6_p20190928-r100.ebuild
index bedcfa62231..aab395fe5f5 100644
--- a/app-text/podofo/podofo-0.9.6_p20190928-r100.ebuild
+++ b/app-text/podofo/podofo-0.9.6_p20190928-r100.ebuild
@@ -22,6 +22,7 @@ REQUIRED_USE="${LUA_REQUIRED_USE}
 RDEPEND="${LUA_DEPS}
idn? ( net-dns/libidn:= )
dev-libs/openssl:0=
+   media-libs/fontconfig:=
media-libs/freetype:2=
virtual/jpeg:0=
media-libs/libpng:0=



[gentoo-commits] repo/gentoo:master commit in: app-text/podofo/

2021-05-02 Thread Mikle Kolyada
commit: 683bcd59182fad1dacf7b86466461ed9f7392271
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sun May  2 14:58:37 2021 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sun May  2 15:07:54 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=683bcd59

app-text/podofo: remove libressl support

Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Mikle Kolyada  gentoo.org>

 app-text/podofo/podofo-0.9.6_p20190928-r100.ebuild | 11 ++-
 1 file changed, 2 insertions(+), 9 deletions(-)

diff --git a/app-text/podofo/podofo-0.9.6_p20190928-r100.ebuild 
b/app-text/podofo/podofo-0.9.6_p20190928-r100.ebuild
index 722fcecb298..bedcfa62231 100644
--- a/app-text/podofo/podofo-0.9.6_p20190928-r100.ebuild
+++ b/app-text/podofo/podofo-0.9.6_p20190928-r100.ebuild
@@ -14,16 +14,14 @@ SRC_URI="https://dev.gentoo.org/~zmedico/dist/${P}.tar.xz";
 LICENSE="GPL-2 LGPL-2.1"
 SLOT="0/${PV%_*}"
 KEYWORDS="amd64 ~arm ~arm64 ~hppa ppc ppc64 ~sparc x86"
-IUSE="+boost idn libressl debug test +tools"
+IUSE="+boost idn debug test +tools"
 RESTRICT="!test? ( test )"
 REQUIRED_USE="${LUA_REQUIRED_USE}
test? ( tools )"
 
 RDEPEND="${LUA_DEPS}
idn? ( net-dns/libidn:= )
-   !libressl? ( dev-libs/openssl:0= )
-   libressl? ( dev-libs/libressl:0= )
-   media-libs/fontconfig:=
+   dev-libs/openssl:0=
media-libs/freetype:2=
virtual/jpeg:0=
media-libs/libpng:0=
@@ -44,11 +42,6 @@ src_prepare() {
cmake_src_prepare
local x sed_args
 
-   if use libressl; then
-   sed -e 's:^#ifdef PODOFO_HAVE_OPENSSL_1_1$:#ifndef 
PODOFO_HAVE_OPENSSL_1_1:' \
--i tools/podofosign/podofosign.cpp || die #663602
-   fi
-
# bug 620934 - Disable linking with cppunit when possible, since it
# triggers errors with some older compilers.
use test || sed -e 's:^FIND_PACKAGE(CppUnit):#\0:' -i CMakeLists.txt || 
die



[gentoo-commits] repo/gentoo:master commit in: app-text/podofo/

2021-03-25 Thread Conrad Kostecki
commit: fe4d5a60b237d5c73c3601d24d8ca91b34a91007
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Thu Mar 25 23:08:14 2021 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Thu Mar 25 23:31:00 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe4d5a60

app-text/podofo: drop old version

Dropping old version, which does not support slotted lua, while newer
stable version does.

Package-Manager: Portage-3.0.16, Repoman-3.0.2
Signed-off-by: Conrad Kostecki  gentoo.org>

 app-text/podofo/podofo-0.9.6_p20190928.ebuild | 146 --
 1 file changed, 146 deletions(-)

diff --git a/app-text/podofo/podofo-0.9.6_p20190928.ebuild 
b/app-text/podofo/podofo-0.9.6_p20190928.ebuild
deleted file mode 100644
index 7d7ba64de6f..000
--- a/app-text/podofo/podofo-0.9.6_p20190928.ebuild
+++ /dev/null
@@ -1,146 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit cmake flag-o-matic multilib toolchain-funcs
-
-DESCRIPTION="PoDoFo is a C++ library to work with the PDF file format"
-HOMEPAGE="https://sourceforge.net/projects/podofo/";
-SRC_URI="https://dev.gentoo.org/~zmedico/dist/${P}.tar.xz";
-
-LICENSE="GPL-2 LGPL-2.1"
-SLOT="0/${PV%_*}"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ppc ppc64 ~sparc x86"
-IUSE="+boost idn libressl debug test +tools"
-RESTRICT="!test? ( test )"
-REQUIRED_USE="test? ( tools )"
-
-RDEPEND="dev-lang/lua:0=
-   idn? ( net-dns/libidn:= )
-   !libressl? ( dev-libs/openssl:0= )
-   libressl? ( dev-libs/libressl:0= )
-   media-libs/fontconfig:=
-   media-libs/freetype:2=
-   virtual/jpeg:0=
-   media-libs/libpng:0=
-   media-libs/tiff:0=
-   sys-libs/zlib:="
-DEPEND="${RDEPEND}
-   virtual/pkgconfig
-   boost? ( dev-util/boost-build )
-   test? ( dev-util/cppunit )"
-
-DOCS="AUTHORS ChangeLog TODO"
-
-src_prepare() {
-   cmake_src_prepare
-   local x sed_args
-
-   if use libressl; then
-   sed -e 's:^#ifdef PODOFO_HAVE_OPENSSL_1_1$:#ifndef 
PODOFO_HAVE_OPENSSL_1_1:' \
--i tools/podofosign/podofosign.cpp || die #663602
-   fi
-
-   # bug 620934 - Disable linking with cppunit when possible, since it
-   # triggers errors with some older compilers.
-   use test || sed -e 's:^FIND_PACKAGE(CppUnit):#\0:' -i CMakeLists.txt || 
die
-
-   # bug 556962
-   sed -i -e 's|Decrypt( pEncryptedBuffer, nOutputLen, pDecryptedBuffer, 
m_lLen );|Decrypt( pEncryptedBuffer, (pdf_long)nOutputLen, pDecryptedBuffer, 
(pdf_long\&)m_lLen );|' \
-   test/unit/EncryptTest.cpp || die
-
-   sed -i \
-   -e "s:LIBDIRNAME \"lib\":LIBDIRNAME \"$(get_libdir)\":" \
-   -e "s:LIBIDN_FOUND:HAVE_LIBIDN:g" \
-   CMakeLists.txt || die
-
-   # Use pkg-config to find headers for bug #459404.
-   sed_args=
-   for x in $($(tc-getPKG_CONFIG) --cflags freetype2) ; do
-   [[ ${x} == -I* ]] || continue
-   x=${x#-I}
-   if [[ -f ${x}/ft2build.h ]] ; then
-   sed_args+=" -e s:/usr/include/\\r\$:${x}:"
-   elif [[ -f ${x}/freetype/config/ftheader.h ]] ; then
-   sed_args+=" -e s:/usr/include/freetype2\\r\$:${x}:"
-   fi
-   done
-   [[ -n ${sed_args} ]] && \
-   { sed -i ${sed_args} cmake/modules/FindFREETYPE.cmake || die; }
-
-   # Bug #439784: Add missing unistd include for close() and unlink().
-   sed -i 's:^#include $:#include \n\0:' -i \
-   test/unit/TestUtils.cpp || die
-
-   # TODO: fix these test cases
-   # ColorTest.cpp:62:Assertion
-   # Test name: ColorTest::testDefaultConstructor
-   # expected exception not thrown
-   # - Expected: PdfError
-   sed -e 's:CPPUNIT_TEST( testDefaultConstructor ://\0:' \
-   -e 's:CPPUNIT_TEST( testGreyConstructor ://\0:' \
-   -e 's:CPPUNIT_TEST( testRGBConstructor ://\0:' \
-   -e 's:CPPUNIT_TEST( testCMYKConstructor ://\0:' \
-   -e 's:CPPUNIT_TEST( testColorSeparationAllConstructor ://\0:' \
-   -e 's:CPPUNIT_TEST( testColorSeparationNoneConstructor ://\0:' \
-   -e 's:CPPUNIT_TEST( testColorSeparationConstructor ://\0:' \
-   -e 's:CPPUNIT_TEST( testColorCieLabConstructor ://\0:' \
-   -i test/unit/ColorTest.h || die
-
-   # ColorTest.cpp:42:Assertion
-   # Test name: ColorTest::testHexNames
-   # assertion failed
-   # - Expression: static_cast(rgb.GetGreen() * 255.0) == 0x0A
-   sed -e 's:CPPUNIT_TEST( testHexNames ://\0:' \
-   -i test/unit/ColorTest.h || die
-
-   # Bug #352125: test failure, depending on installed fonts
-   # ##Failure Location unknown## : Error
-   # Test name: FontTest::testFonts
-   # uncaught exception of type PoDoFo::PdfError
-   # - ePdfError_Unsupp

[gentoo-commits] repo/gentoo:master commit in: app-text/podofo/files/, profiles/, app-text/podofo/

2020-12-22 Thread Marek Szuba
commit: de5382db2e3649bced7f3b6b8edcda0a0ca5dee2
Author: Marek Szuba  gentoo  org>
AuthorDate: Tue Dec 22 12:47:40 2020 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Tue Dec 22 12:50:28 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de5382db

app-text/podofo: migrate to lua-single.eclass

CMake-based => the usual treatment.

Compatibility - upstream officially supports only lua5.1 but it turns out
that with the 5.2 fix which was already included in the unmigrated ebuild,
it builds and installs fine even against 5.4.

Closes: https://bugs.gentoo.org/752567
Signed-off-by: Marek Szuba  gentoo.org>

 .../podofo-0.9.6_p20190928-cmake_lua_version.patch |  15 ++
 app-text/podofo/podofo-0.9.6_p20190928-r100.ebuild | 159 +
 profiles/package.mask  |   1 +
 3 files changed, 175 insertions(+)

diff --git 
a/app-text/podofo/files/podofo-0.9.6_p20190928-cmake_lua_version.patch 
b/app-text/podofo/files/podofo-0.9.6_p20190928-cmake_lua_version.patch
new file mode 100644
index 000..f178ae2a6c0
--- /dev/null
+++ b/app-text/podofo/files/podofo-0.9.6_p20190928-cmake_lua_version.patch
@@ -0,0 +1,15 @@
+Switch from the non-standard upstream CMake Lua module to the one bundled
+with CMake, use only the Lua version requested by the ebuild, and do not
+semi-quietly ignore the absence of Lua.
+
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -433,7 +433,7 @@
+ ENDIF(WANT_FONTCONFIG)
+ 
+ IF(NOT PODOFO_BUILD_LIB_ONLY)
+-FIND_PACKAGE(LUA)
++FIND_PACKAGE(Lua ${LUA_VERSION} EXACT REQUIRED)
+ IF(LUA_FOUND)
+   # If we have lua, we can build podofoimpose.
+   MESSAGE("Lua found - PoDoFoImpose and PoDoFoColor will be built with 
Lua support")

diff --git a/app-text/podofo/podofo-0.9.6_p20190928-r100.ebuild 
b/app-text/podofo/podofo-0.9.6_p20190928-r100.ebuild
new file mode 100644
index 000..cf6bcc0de02
--- /dev/null
+++ b/app-text/podofo/podofo-0.9.6_p20190928-r100.ebuild
@@ -0,0 +1,159 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+LUA_COMPAT=( lua5-{1..4} )
+
+inherit cmake flag-o-matic lua-single toolchain-funcs
+
+DESCRIPTION="PoDoFo is a C++ library to work with the PDF file format"
+HOMEPAGE="https://sourceforge.net/projects/podofo/";
+SRC_URI="https://dev.gentoo.org/~zmedico/dist/${P}.tar.xz";
+
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="0/${PV%_*}"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+IUSE="+boost idn libressl debug test +tools"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${LUA_REQUIRED_USE}
+   test? ( tools )"
+
+RDEPEND="${LUA_DEPS}
+   idn? ( net-dns/libidn:= )
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:0= )
+   media-libs/fontconfig:=
+   media-libs/freetype:2=
+   virtual/jpeg:0=
+   media-libs/libpng:0=
+   media-libs/tiff:0=
+   sys-libs/zlib:="
+DEPEND="${RDEPEND}
+   virtual/pkgconfig
+   boost? ( dev-util/boost-build )
+   test? ( dev-util/cppunit )"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-0.9.6_p20190928-cmake_lua_version.patch
+)
+
+DOCS="AUTHORS ChangeLog TODO"
+
+src_prepare() {
+   cmake_src_prepare
+   local x sed_args
+
+   if use libressl; then
+   sed -e 's:^#ifdef PODOFO_HAVE_OPENSSL_1_1$:#ifndef 
PODOFO_HAVE_OPENSSL_1_1:' \
+-i tools/podofosign/podofosign.cpp || die #663602
+   fi
+
+   # bug 620934 - Disable linking with cppunit when possible, since it
+   # triggers errors with some older compilers.
+   use test || sed -e 's:^FIND_PACKAGE(CppUnit):#\0:' -i CMakeLists.txt || 
die
+
+   # bug 556962
+   sed -i -e 's|Decrypt( pEncryptedBuffer, nOutputLen, pDecryptedBuffer, 
m_lLen );|Decrypt( pEncryptedBuffer, (pdf_long)nOutputLen, pDecryptedBuffer, 
(pdf_long\&)m_lLen );|' \
+   test/unit/EncryptTest.cpp || die
+
+   sed -i \
+   -e "s:LIBDIRNAME \"lib\":LIBDIRNAME \"$(get_libdir)\":" \
+   -e "s:LIBIDN_FOUND:HAVE_LIBIDN:g" \
+   CMakeLists.txt || die
+
+   # Use pkg-config to find headers for bug #459404.
+   sed_args=
+   for x in $($(tc-getPKG_CONFIG) --cflags freetype2) ; do
+   [[ ${x} == -I* ]] || continue
+   x=${x#-I}
+   if [[ -f ${x}/ft2build.h ]] ; then
+   sed_args+=" -e s:/usr/include/\\r\$:${x}:"
+   elif [[ -f ${x}/freetype/config/ftheader.h ]] ; then
+   sed_args+=" -e s:/usr/include/freetype2\\r\$:${x}:"
+   fi
+   done
+   [[ -n ${sed_args} ]] && \
+   { sed -i ${sed_args} cmake/modules/FindFREETYPE.cmake || die; }
+
+   # Bug #439784: Add missing unistd include for close() and unlink().
+   sed -i 's:^#include $:#include \n\0:' -i \
+   test/unit/TestUtils.cpp || die
+
+   # TODO: fix these test cases
+   # ColorTest.cpp:62:As

[gentoo-commits] repo/gentoo:master commit in: app-text/podofo/

2020-12-03 Thread Marek Szuba
commit: 6ad24ee005e58d9ad793574a816bd0b155963817
Author: Marek Szuba  gentoo  org>
AuthorDate: Thu Dec  3 22:42:15 2020 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Thu Dec  3 22:55:45 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ad24ee0

app-text/podofo: limit unmigrated ebuilds to dev-lang/lua:0

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

 app-text/podofo/podofo-0.9.6_p20190928.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/podofo/podofo-0.9.6_p20190928.ebuild 
b/app-text/podofo/podofo-0.9.6_p20190928.ebuild
index a07aaa17adb..9ab734ae2d4 100644
--- a/app-text/podofo/podofo-0.9.6_p20190928.ebuild
+++ b/app-text/podofo/podofo-0.9.6_p20190928.ebuild
@@ -15,7 +15,7 @@ IUSE="+boost idn libressl debug test +tools"
 RESTRICT="!test? ( test )"
 REQUIRED_USE="test? ( tools )"
 
-RDEPEND="dev-lang/lua:=
+RDEPEND="dev-lang/lua:0=
idn? ( net-dns/libidn:= )
!libressl? ( dev-libs/openssl:0= )
libressl? ( dev-libs/libressl:0= )



[gentoo-commits] repo/gentoo:master commit in: app-text/podofo/

2020-08-01 Thread Sergei Trofimovich
commit: 5a2b8e2c93230f5ea3bdb395730b8c744dcf9dd9
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat Aug  1 07:54:49 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Aug  1 07:55:26 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a2b8e2c

app-text/podofo: stable 0.9.6_p20190928 for hppa

stable wrt bug #717792

Package-Manager: Portage-3.0.1, Repoman-2.3.23
RepoMan-Options: --include-arches="hppa"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 app-text/podofo/podofo-0.9.6_p20190928.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/podofo/podofo-0.9.6_p20190928.ebuild 
b/app-text/podofo/podofo-0.9.6_p20190928.ebuild
index 9b782fb6646..a07aaa17adb 100644
--- a/app-text/podofo/podofo-0.9.6_p20190928.ebuild
+++ b/app-text/podofo/podofo-0.9.6_p20190928.ebuild
@@ -10,7 +10,7 @@ SRC_URI="https://dev.gentoo.org/~zmedico/dist/${P}.tar.xz";
 
 LICENSE="GPL-2 LGPL-2.1"
 SLOT="0/${PV%_*}"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ppc ppc64 ~sparc x86"
+KEYWORDS="amd64 ~arm ~arm64 hppa ppc ppc64 ~sparc x86"
 IUSE="+boost idn libressl debug test +tools"
 RESTRICT="!test? ( test )"
 REQUIRED_USE="test? ( tools )"



[gentoo-commits] repo/gentoo:master commit in: app-text/podofo/

2020-07-28 Thread Zac Medico
commit: c2e032b980c8875c8956bd2223eeeba7d4fb190c
Author: Zac Medico  gentoo  org>
AuthorDate: Tue Jul 28 22:02:49 2020 +
Commit: Zac Medico  gentoo  org>
CommitDate: Tue Jul 28 22:04:57 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2e032b9

app-text/podofo: Remove vulnerable <0.9.6_p20190928

Bug: https://bugs.gentoo.org/717792
Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Zac Medico  gentoo.org>

 app-text/podofo/Manifest  |   1 -
 app-text/podofo/podofo-0.9.6_p20180715.ebuild | 146 --
 2 files changed, 147 deletions(-)

diff --git a/app-text/podofo/Manifest b/app-text/podofo/Manifest
index 9e65b16b6c0..f5d3e309a7d 100644
--- a/app-text/podofo/Manifest
+++ b/app-text/podofo/Manifest
@@ -1,2 +1 @@
-DIST podofo-0.9.6_p20180715.tar.xz 747444 BLAKE2B 
96d90add6d290d6722cd7412fd75433f87303bac385964f0967b4f119db4962f6ddbd93b49af8454051f421d77de70ad7ea0f5b01a66eeb690a75dbeec256eff
 SHA512 
4c9b09c716128110b47d6a02f118eb80b6009e9e79dbc83ff804a57f0abc011b789de9287b68a6c1d6704ef386f8062a3a495408af8a832782f0bf0128190a1f
 DIST podofo-0.9.6_p20190928.tar.xz 747532 BLAKE2B 
39d051e6adca85bf0f124e5d48e1ff88dc951d7c1b38bc76dc7e3640ea9c3f8a59c6ba9a9105a263234e94932e450bec12dde455850dbf96cd7eec3e69a1a28d
 SHA512 
b9d46fb02eeba61190a0efd17b507bba62d7246af6fff3c3514c9970e99e085f9aad92baa05cc6cf0a8c3c2843554099c904bff10be54dbb4d4cb7de460fc3cc

diff --git a/app-text/podofo/podofo-0.9.6_p20180715.ebuild 
b/app-text/podofo/podofo-0.9.6_p20180715.ebuild
deleted file mode 100644
index d42d3ea056a..000
--- a/app-text/podofo/podofo-0.9.6_p20180715.ebuild
+++ /dev/null
@@ -1,146 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit cmake-utils flag-o-matic multilib toolchain-funcs
-
-DESCRIPTION="PoDoFo is a C++ library to work with the PDF file format"
-HOMEPAGE="https://sourceforge.net/projects/podofo/";
-SRC_URI="mirror://gentoo/${P}.tar.xz"
-
-LICENSE="GPL-2 LGPL-2.1"
-SLOT="0/${PV%_*}"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ppc ppc64 ~sparc x86"
-IUSE="+boost idn libressl debug test +tools"
-RESTRICT="!test? ( test )"
-REQUIRED_USE="test? ( tools )"
-
-RDEPEND="dev-lang/lua:=
-   idn? ( net-dns/libidn:= )
-   !libressl? ( dev-libs/openssl:0= )
-   libressl? ( dev-libs/libressl:0= )
-   media-libs/fontconfig:=
-   media-libs/freetype:2=
-   virtual/jpeg:0=
-   media-libs/libpng:0=
-   media-libs/tiff:0=
-   sys-libs/zlib:="
-DEPEND="${RDEPEND}
-   virtual/pkgconfig
-   boost? ( dev-util/boost-build )
-   test? ( dev-util/cppunit )"
-
-DOCS="AUTHORS ChangeLog TODO"
-
-src_prepare() {
-   cmake-utils_src_prepare
-   local x sed_args
-
-   if use libressl; then
-   sed -e 's:^#ifdef PODOFO_HAVE_OPENSSL_1_1$:#ifndef 
PODOFO_HAVE_OPENSSL_1_1:' \
--i tools/podofosign/podofosign.cpp || die #663602
-   fi
-
-   # bug 620934 - Disable linking with cppunit when possible, since it
-   # triggers errors with some older compilers.
-   use test || sed -e 's:^FIND_PACKAGE(CppUnit):#\0:' -i CMakeLists.txt || 
die
-
-   # bug 556962
-   sed -i -e 's|Decrypt( pEncryptedBuffer, nOutputLen, pDecryptedBuffer, 
m_lLen );|Decrypt( pEncryptedBuffer, (pdf_long)nOutputLen, pDecryptedBuffer, 
(pdf_long\&)m_lLen );|' \
-   test/unit/EncryptTest.cpp || die
-
-   sed -i \
-   -e "s:LIBDIRNAME \"lib\":LIBDIRNAME \"$(get_libdir)\":" \
-   -e "s:LIBIDN_FOUND:HAVE_LIBIDN:g" \
-   CMakeLists.txt || die
-
-   # Use pkg-config to find headers for bug #459404.
-   sed_args=
-   for x in $($(tc-getPKG_CONFIG) --cflags freetype2) ; do
-   [[ ${x} == -I* ]] || continue
-   x=${x#-I}
-   if [[ -f ${x}/ft2build.h ]] ; then
-   sed_args+=" -e s:/usr/include/\\r\$:${x}:"
-   elif [[ -f ${x}/freetype/config/ftheader.h ]] ; then
-   sed_args+=" -e s:/usr/include/freetype2\\r\$:${x}:"
-   fi
-   done
-   [[ -n ${sed_args} ]] && \
-   { sed -i ${sed_args} cmake/modules/FindFREETYPE.cmake || die; }
-
-   # Bug #439784: Add missing unistd include for close() and unlink().
-   sed -i 's:^#include $:#include \n\0:' -i \
-   test/unit/TestUtils.cpp || die
-
-   # TODO: fix these test cases
-   # ColorTest.cpp:62:Assertion
-   # Test name: ColorTest::testDefaultConstructor
-   # expected exception not thrown
-   # - Expected: PdfError
-   sed -e 's:CPPUNIT_TEST( testDefaultConstructor ://\0:' \
-   -e 's:CPPUNIT_TEST( testGreyConstructor ://\0:' \
-   -e 's:CPPUNIT_TEST( testRGBConstructor ://\0:' \
-   -e 's:CPPUNIT_TEST( testCMYKConstructor ://\0:' \
-   -e 's:CPPUNIT_TEST( testColorSeparationAllConstructor

[gentoo-commits] repo/gentoo:master commit in: app-text/podofo/

2020-07-28 Thread Sergei Trofimovich
commit: 03a6112098969366043a4bc2e6200b046868af42
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Tue Jul 28 20:12:21 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Tue Jul 28 21:15:29 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03a61120

app-text/podofo: drop to ~hppa

Package-Manager: Portage-2.3.103, Repoman-2.3.23
RepoMan-Options: --include-arches="hppa"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 app-text/podofo/podofo-0.9.6_p20180715.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/podofo/podofo-0.9.6_p20180715.ebuild 
b/app-text/podofo/podofo-0.9.6_p20180715.ebuild
index e53db8b61f4..d42d3ea056a 100644
--- a/app-text/podofo/podofo-0.9.6_p20180715.ebuild
+++ b/app-text/podofo/podofo-0.9.6_p20180715.ebuild
@@ -10,7 +10,7 @@ SRC_URI="mirror://gentoo/${P}.tar.xz"
 
 LICENSE="GPL-2 LGPL-2.1"
 SLOT="0/${PV%_*}"
-KEYWORDS="amd64 ~arm ~arm64 hppa ppc ppc64 ~sparc x86"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ppc ppc64 ~sparc x86"
 IUSE="+boost idn libressl debug test +tools"
 RESTRICT="!test? ( test )"
 REQUIRED_USE="test? ( tools )"



[gentoo-commits] repo/gentoo:master commit in: app-text/podofo/

2020-07-17 Thread Sam James
commit: bff4158327d10d502a0f56ebb330c4f1dda3b324
Author: Sam James  gentoo  org>
AuthorDate: Sat Jul 18 00:14:54 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jul 18 00:14:54 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bff41583

app-text/podofo: amd64 stable (bug #717792)

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

 app-text/podofo/podofo-0.9.6_p20190928.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/podofo/podofo-0.9.6_p20190928.ebuild 
b/app-text/podofo/podofo-0.9.6_p20190928.ebuild
index 0837a968d7f..9b782fb6646 100644
--- a/app-text/podofo/podofo-0.9.6_p20190928.ebuild
+++ b/app-text/podofo/podofo-0.9.6_p20190928.ebuild
@@ -10,7 +10,7 @@ SRC_URI="https://dev.gentoo.org/~zmedico/dist/${P}.tar.xz";
 
 LICENSE="GPL-2 LGPL-2.1"
 SLOT="0/${PV%_*}"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ppc ppc64 ~sparc x86"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ppc ppc64 ~sparc x86"
 IUSE="+boost idn libressl debug test +tools"
 RESTRICT="!test? ( test )"
 REQUIRED_USE="test? ( tools )"



[gentoo-commits] repo/gentoo:master commit in: app-text/podofo/

2020-07-17 Thread Sam James
commit: b6c0802076ebd1c1c25945638b8935c782eb618d
Author: Sam James  gentoo  org>
AuthorDate: Fri Jul 17 22:57:14 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jul 17 23:24:59 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6c08020

app-text/podofo: x86 stable (bug #717792)

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

 app-text/podofo/podofo-0.9.6_p20190928.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/podofo/podofo-0.9.6_p20190928.ebuild 
b/app-text/podofo/podofo-0.9.6_p20190928.ebuild
index d68e332c1e9..0837a968d7f 100644
--- a/app-text/podofo/podofo-0.9.6_p20190928.ebuild
+++ b/app-text/podofo/podofo-0.9.6_p20190928.ebuild
@@ -10,7 +10,7 @@ SRC_URI="https://dev.gentoo.org/~zmedico/dist/${P}.tar.xz";
 
 LICENSE="GPL-2 LGPL-2.1"
 SLOT="0/${PV%_*}"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ppc ppc64 ~sparc ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ppc ppc64 ~sparc x86"
 IUSE="+boost idn libressl debug test +tools"
 RESTRICT="!test? ( test )"
 REQUIRED_USE="test? ( tools )"



[gentoo-commits] repo/gentoo:master commit in: app-text/podofo/

2020-07-17 Thread Sam James
commit: 39d48a2e7ae0771a33edb803b874517066a31c58
Author: Sam James  gentoo  org>
AuthorDate: Fri Jul 17 11:28:41 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jul 17 11:28:41 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39d48a2e

app-text/podofo: ppc64 stable (bug #717792)

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

 app-text/podofo/podofo-0.9.6_p20190928.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/podofo/podofo-0.9.6_p20190928.ebuild 
b/app-text/podofo/podofo-0.9.6_p20190928.ebuild
index ef3dfe09913..d68e332c1e9 100644
--- a/app-text/podofo/podofo-0.9.6_p20190928.ebuild
+++ b/app-text/podofo/podofo-0.9.6_p20190928.ebuild
@@ -10,7 +10,7 @@ SRC_URI="https://dev.gentoo.org/~zmedico/dist/${P}.tar.xz";
 
 LICENSE="GPL-2 LGPL-2.1"
 SLOT="0/${PV%_*}"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ppc ppc64 ~sparc ~x86"
 IUSE="+boost idn libressl debug test +tools"
 RESTRICT="!test? ( test )"
 REQUIRED_USE="test? ( tools )"



[gentoo-commits] repo/gentoo:master commit in: app-text/podofo/

2020-07-17 Thread Sam James
commit: 3af1a70aef6c8e0fe5f24168644f8a2ab8d3a70f
Author: Sam James  gentoo  org>
AuthorDate: Fri Jul 17 10:25:28 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jul 17 10:25:28 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3af1a70a

app-text/podofo: ppc stable (bug #717792)

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

 app-text/podofo/podofo-0.9.6_p20190928.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/podofo/podofo-0.9.6_p20190928.ebuild 
b/app-text/podofo/podofo-0.9.6_p20190928.ebuild
index 0c3c7b2bd80..ef3dfe09913 100644
--- a/app-text/podofo/podofo-0.9.6_p20190928.ebuild
+++ b/app-text/podofo/podofo-0.9.6_p20190928.ebuild
@@ -10,7 +10,7 @@ SRC_URI="https://dev.gentoo.org/~zmedico/dist/${P}.tar.xz";
 
 LICENSE="GPL-2 LGPL-2.1"
 SLOT="0/${PV%_*}"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ppc ~ppc64 ~sparc ~x86"
 IUSE="+boost idn libressl debug test +tools"
 RESTRICT="!test? ( test )"
 REQUIRED_USE="test? ( tools )"



[gentoo-commits] repo/gentoo:master commit in: app-text/podofo/

2020-06-28 Thread Zac Medico
commit: bb5d2536ee9fe7736ec040306021ff09a347cc4f
Author: Zac Medico  gentoo  org>
AuthorDate: Mon Jun 29 04:39:20 2020 +
Commit: Zac Medico  gentoo  org>
CommitDate: Mon Jun 29 04:39:46 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb5d2536

app-text/podofo: Remove 0.9.6_p20200526

This version broke scribus builds as reported in bug 728090.

Bug: https://bugs.gentoo.org/717792
Bug: https://bugs.gentoo.org/728090
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Zac Medico  gentoo.org>

 app-text/podofo/Manifest  |   1 -
 app-text/podofo/podofo-0.9.6_p20200526.ebuild | 141 --
 2 files changed, 142 deletions(-)

diff --git a/app-text/podofo/Manifest b/app-text/podofo/Manifest
index b23fb02c554..9e65b16b6c0 100644
--- a/app-text/podofo/Manifest
+++ b/app-text/podofo/Manifest
@@ -1,3 +1,2 @@
 DIST podofo-0.9.6_p20180715.tar.xz 747444 BLAKE2B 
96d90add6d290d6722cd7412fd75433f87303bac385964f0967b4f119db4962f6ddbd93b49af8454051f421d77de70ad7ea0f5b01a66eeb690a75dbeec256eff
 SHA512 
4c9b09c716128110b47d6a02f118eb80b6009e9e79dbc83ff804a57f0abc011b789de9287b68a6c1d6704ef386f8062a3a495408af8a832782f0bf0128190a1f
 DIST podofo-0.9.6_p20190928.tar.xz 747532 BLAKE2B 
39d051e6adca85bf0f124e5d48e1ff88dc951d7c1b38bc76dc7e3640ea9c3f8a59c6ba9a9105a263234e94932e450bec12dde455850dbf96cd7eec3e69a1a28d
 SHA512 
b9d46fb02eeba61190a0efd17b507bba62d7246af6fff3c3514c9970e99e085f9aad92baa05cc6cf0a8c3c2843554099c904bff10be54dbb4d4cb7de460fc3cc
-DIST podofo-0.9.6_p20200526.tar.xz 752264 BLAKE2B 
52eb40a63e8462b6d1f975c76c2112b93ae98c19ad6cb65906bef018e99a3d92e26781cee9d4ef1c4de74779db7eca6589c320849be84b70c20d5c7d988c0a49
 SHA512 
7baa58c9a524ccc5aa954bd5fe891b9add8b8f4ec29e3ebbc1c8a467d2787e6c3f9e4652db08e50cb4c28a73691215947940634975e292ec01fb57e2e45efbe4

diff --git a/app-text/podofo/podofo-0.9.6_p20200526.ebuild 
b/app-text/podofo/podofo-0.9.6_p20200526.ebuild
deleted file mode 100644
index 058f8499ab0..000
--- a/app-text/podofo/podofo-0.9.6_p20200526.ebuild
+++ /dev/null
@@ -1,141 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit cmake-utils flag-o-matic multilib toolchain-funcs
-
-DESCRIPTION="PoDoFo is a C++ library to work with the PDF file format"
-HOMEPAGE="https://sourceforge.net/projects/podofo/";
-SRC_URI="https://dev.gentoo.org/~zmedico/dist/podofo-0.9.6_p20200526.tar.xz";
-
-LICENSE="GPL-2 LGPL-2.1"
-SLOT="0/${PV%_*}"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
-IUSE="+boost idn libressl debug test +tools"
-RESTRICT="test"
-REQUIRED_USE="test? ( tools )"
-
-RDEPEND="dev-lang/lua:=
-   idn? ( net-dns/libidn:= )
-   !libressl? ( dev-libs/openssl:0= )
-   libressl? ( dev-libs/libressl:0= )
-   media-libs/fontconfig:=
-   media-libs/freetype:2=
-   virtual/jpeg:0=
-   media-libs/libpng:0=
-   media-libs/tiff:0=
-   sys-libs/zlib:="
-DEPEND="${RDEPEND}
-   virtual/pkgconfig
-   boost? ( dev-util/boost-build )
-   test? ( dev-util/cppunit )"
-
-DOCS="AUTHORS ChangeLog TODO"
-
-src_prepare() {
-   cmake-utils_src_prepare
-   local x sed_args
-
-   if use libressl; then
-   sed -e 's:^#ifdef PODOFO_HAVE_OPENSSL_1_1$:#ifndef 
PODOFO_HAVE_OPENSSL_1_1:' \
--i tools/podofosign/podofosign.cpp || die #663602
-   fi
-
-   # bug 620934 - Disable linking with cppunit when possible, since it
-   # triggers errors with some older compilers.
-   use test || sed -e 's:^FIND_PACKAGE(CppUnit):#\0:' -i CMakeLists.txt || 
die
-
-   # bug 556962
-   sed -i -e 's|Decrypt( pEncryptedBuffer, nOutputLen, pDecryptedBuffer, 
m_lLen );|Decrypt( pEncryptedBuffer, (pdf_long)nOutputLen, pDecryptedBuffer, 
(pdf_long\&)m_lLen );|' \
-   test/unit/EncryptTest.cpp || die
-
-   sed -i \
-   -e "s:LIBDIRNAME \"lib\":LIBDIRNAME \"$(get_libdir)\":" \
-   -e "s:LIBIDN_FOUND:HAVE_LIBIDN:g" \
-   CMakeLists.txt || die
-
-   # Use pkg-config to find headers for bug #459404.
-   sed_args=
-   for x in $($(tc-getPKG_CONFIG) --cflags freetype2) ; do
-   [[ ${x} == -I* ]] || continue
-   x=${x#-I}
-   if [[ -f ${x}/ft2build.h ]] ; then
-   sed_args+=" -e s:/usr/include/\\r\$:${x}:"
-   elif [[ -f ${x}/freetype/config/ftheader.h ]] ; then
-   sed_args+=" -e s:/usr/include/freetype2\\r\$:${x}:"
-   fi
-   done
-   [[ -n ${sed_args} ]] && \
-   { sed -i ${sed_args} cmake/modules/FindFREETYPE.cmake || die; }
-
-   # Bug #439784: Add missing unistd include for close() and unlink().
-   sed -i 's:^#include $:#include \n\0:' -i \
-   test/unit/TestUtils.cpp || die
-
-   # TODO: fix these test cases
-   # ColorTest.cpp:62:Assertion
-   # Test 

[gentoo-commits] repo/gentoo:master commit in: app-text/podofo/

2020-06-28 Thread Zac Medico
commit: b74b2edcf1da679d241113cebbbcb1ba6ac7c0bb
Author: Zac Medico  gentoo  org>
AuthorDate: Mon Jun 29 04:20:18 2020 +
Commit: Zac Medico  gentoo  org>
CommitDate: Mon Jun 29 04:38:11 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b74b2edc

app-text/podofo: Bump to version 0.9.6_p20190928 (bug 717792)

Bug: https://bugs.gentoo.org/717792
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Zac Medico  gentoo.org>

 app-text/podofo/Manifest  |   1 +
 app-text/podofo/podofo-0.9.6_p20190928.ebuild | 146 ++
 2 files changed, 147 insertions(+)

diff --git a/app-text/podofo/Manifest b/app-text/podofo/Manifest
index cf512cb436c..b23fb02c554 100644
--- a/app-text/podofo/Manifest
+++ b/app-text/podofo/Manifest
@@ -1,2 +1,3 @@
 DIST podofo-0.9.6_p20180715.tar.xz 747444 BLAKE2B 
96d90add6d290d6722cd7412fd75433f87303bac385964f0967b4f119db4962f6ddbd93b49af8454051f421d77de70ad7ea0f5b01a66eeb690a75dbeec256eff
 SHA512 
4c9b09c716128110b47d6a02f118eb80b6009e9e79dbc83ff804a57f0abc011b789de9287b68a6c1d6704ef386f8062a3a495408af8a832782f0bf0128190a1f
+DIST podofo-0.9.6_p20190928.tar.xz 747532 BLAKE2B 
39d051e6adca85bf0f124e5d48e1ff88dc951d7c1b38bc76dc7e3640ea9c3f8a59c6ba9a9105a263234e94932e450bec12dde455850dbf96cd7eec3e69a1a28d
 SHA512 
b9d46fb02eeba61190a0efd17b507bba62d7246af6fff3c3514c9970e99e085f9aad92baa05cc6cf0a8c3c2843554099c904bff10be54dbb4d4cb7de460fc3cc
 DIST podofo-0.9.6_p20200526.tar.xz 752264 BLAKE2B 
52eb40a63e8462b6d1f975c76c2112b93ae98c19ad6cb65906bef018e99a3d92e26781cee9d4ef1c4de74779db7eca6589c320849be84b70c20d5c7d988c0a49
 SHA512 
7baa58c9a524ccc5aa954bd5fe891b9add8b8f4ec29e3ebbc1c8a467d2787e6c3f9e4652db08e50cb4c28a73691215947940634975e292ec01fb57e2e45efbe4

diff --git a/app-text/podofo/podofo-0.9.6_p20190928.ebuild 
b/app-text/podofo/podofo-0.9.6_p20190928.ebuild
new file mode 100644
index 000..0c3c7b2bd80
--- /dev/null
+++ b/app-text/podofo/podofo-0.9.6_p20190928.ebuild
@@ -0,0 +1,146 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit cmake flag-o-matic multilib toolchain-funcs
+
+DESCRIPTION="PoDoFo is a C++ library to work with the PDF file format"
+HOMEPAGE="https://sourceforge.net/projects/podofo/";
+SRC_URI="https://dev.gentoo.org/~zmedico/dist/${P}.tar.xz";
+
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="0/${PV%_*}"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+IUSE="+boost idn libressl debug test +tools"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="test? ( tools )"
+
+RDEPEND="dev-lang/lua:=
+   idn? ( net-dns/libidn:= )
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:0= )
+   media-libs/fontconfig:=
+   media-libs/freetype:2=
+   virtual/jpeg:0=
+   media-libs/libpng:0=
+   media-libs/tiff:0=
+   sys-libs/zlib:="
+DEPEND="${RDEPEND}
+   virtual/pkgconfig
+   boost? ( dev-util/boost-build )
+   test? ( dev-util/cppunit )"
+
+DOCS="AUTHORS ChangeLog TODO"
+
+src_prepare() {
+   cmake_src_prepare
+   local x sed_args
+
+   if use libressl; then
+   sed -e 's:^#ifdef PODOFO_HAVE_OPENSSL_1_1$:#ifndef 
PODOFO_HAVE_OPENSSL_1_1:' \
+-i tools/podofosign/podofosign.cpp || die #663602
+   fi
+
+   # bug 620934 - Disable linking with cppunit when possible, since it
+   # triggers errors with some older compilers.
+   use test || sed -e 's:^FIND_PACKAGE(CppUnit):#\0:' -i CMakeLists.txt || 
die
+
+   # bug 556962
+   sed -i -e 's|Decrypt( pEncryptedBuffer, nOutputLen, pDecryptedBuffer, 
m_lLen );|Decrypt( pEncryptedBuffer, (pdf_long)nOutputLen, pDecryptedBuffer, 
(pdf_long\&)m_lLen );|' \
+   test/unit/EncryptTest.cpp || die
+
+   sed -i \
+   -e "s:LIBDIRNAME \"lib\":LIBDIRNAME \"$(get_libdir)\":" \
+   -e "s:LIBIDN_FOUND:HAVE_LIBIDN:g" \
+   CMakeLists.txt || die
+
+   # Use pkg-config to find headers for bug #459404.
+   sed_args=
+   for x in $($(tc-getPKG_CONFIG) --cflags freetype2) ; do
+   [[ ${x} == -I* ]] || continue
+   x=${x#-I}
+   if [[ -f ${x}/ft2build.h ]] ; then
+   sed_args+=" -e s:/usr/include/\\r\$:${x}:"
+   elif [[ -f ${x}/freetype/config/ftheader.h ]] ; then
+   sed_args+=" -e s:/usr/include/freetype2\\r\$:${x}:"
+   fi
+   done
+   [[ -n ${sed_args} ]] && \
+   { sed -i ${sed_args} cmake/modules/FindFREETYPE.cmake || die; }
+
+   # Bug #439784: Add missing unistd include for close() and unlink().
+   sed -i 's:^#include $:#include \n\0:' -i \
+   test/unit/TestUtils.cpp || die
+
+   # TODO: fix these test cases
+   # ColorTest.cpp:62:Assertion
+   # Test name: ColorTest::testDefaultConstructor
+   # expected exception not thrown
+   # - Expect

[gentoo-commits] repo/gentoo:master commit in: app-text/podofo/

2020-06-09 Thread Zac Medico
commit: 1c44915514fc5b80618b0b048979d230a4668e7d
Author: Zac Medico  gentoo  org>
AuthorDate: Wed Jun 10 06:11:38 2020 +
Commit: Zac Medico  gentoo  org>
CommitDate: Wed Jun 10 06:31:35 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c449155

app-text/podofo: Bump to version 0.9.6_p20200526 (bug 717792)

Bug: https://bugs.gentoo.org/717792
Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Zac Medico  gentoo.org>

 app-text/podofo/Manifest  |   1 +
 app-text/podofo/podofo-0.9.6_p20200526.ebuild | 141 ++
 2 files changed, 142 insertions(+)

diff --git a/app-text/podofo/Manifest b/app-text/podofo/Manifest
index 6f857daccf1..cf512cb436c 100644
--- a/app-text/podofo/Manifest
+++ b/app-text/podofo/Manifest
@@ -1 +1,2 @@
 DIST podofo-0.9.6_p20180715.tar.xz 747444 BLAKE2B 
96d90add6d290d6722cd7412fd75433f87303bac385964f0967b4f119db4962f6ddbd93b49af8454051f421d77de70ad7ea0f5b01a66eeb690a75dbeec256eff
 SHA512 
4c9b09c716128110b47d6a02f118eb80b6009e9e79dbc83ff804a57f0abc011b789de9287b68a6c1d6704ef386f8062a3a495408af8a832782f0bf0128190a1f
+DIST podofo-0.9.6_p20200526.tar.xz 752264 BLAKE2B 
52eb40a63e8462b6d1f975c76c2112b93ae98c19ad6cb65906bef018e99a3d92e26781cee9d4ef1c4de74779db7eca6589c320849be84b70c20d5c7d988c0a49
 SHA512 
7baa58c9a524ccc5aa954bd5fe891b9add8b8f4ec29e3ebbc1c8a467d2787e6c3f9e4652db08e50cb4c28a73691215947940634975e292ec01fb57e2e45efbe4

diff --git a/app-text/podofo/podofo-0.9.6_p20200526.ebuild 
b/app-text/podofo/podofo-0.9.6_p20200526.ebuild
new file mode 100644
index 000..058f8499ab0
--- /dev/null
+++ b/app-text/podofo/podofo-0.9.6_p20200526.ebuild
@@ -0,0 +1,141 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit cmake-utils flag-o-matic multilib toolchain-funcs
+
+DESCRIPTION="PoDoFo is a C++ library to work with the PDF file format"
+HOMEPAGE="https://sourceforge.net/projects/podofo/";
+SRC_URI="https://dev.gentoo.org/~zmedico/dist/podofo-0.9.6_p20200526.tar.xz";
+
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="0/${PV%_*}"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+IUSE="+boost idn libressl debug test +tools"
+RESTRICT="test"
+REQUIRED_USE="test? ( tools )"
+
+RDEPEND="dev-lang/lua:=
+   idn? ( net-dns/libidn:= )
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:0= )
+   media-libs/fontconfig:=
+   media-libs/freetype:2=
+   virtual/jpeg:0=
+   media-libs/libpng:0=
+   media-libs/tiff:0=
+   sys-libs/zlib:="
+DEPEND="${RDEPEND}
+   virtual/pkgconfig
+   boost? ( dev-util/boost-build )
+   test? ( dev-util/cppunit )"
+
+DOCS="AUTHORS ChangeLog TODO"
+
+src_prepare() {
+   cmake-utils_src_prepare
+   local x sed_args
+
+   if use libressl; then
+   sed -e 's:^#ifdef PODOFO_HAVE_OPENSSL_1_1$:#ifndef 
PODOFO_HAVE_OPENSSL_1_1:' \
+-i tools/podofosign/podofosign.cpp || die #663602
+   fi
+
+   # bug 620934 - Disable linking with cppunit when possible, since it
+   # triggers errors with some older compilers.
+   use test || sed -e 's:^FIND_PACKAGE(CppUnit):#\0:' -i CMakeLists.txt || 
die
+
+   # bug 556962
+   sed -i -e 's|Decrypt( pEncryptedBuffer, nOutputLen, pDecryptedBuffer, 
m_lLen );|Decrypt( pEncryptedBuffer, (pdf_long)nOutputLen, pDecryptedBuffer, 
(pdf_long\&)m_lLen );|' \
+   test/unit/EncryptTest.cpp || die
+
+   sed -i \
+   -e "s:LIBDIRNAME \"lib\":LIBDIRNAME \"$(get_libdir)\":" \
+   -e "s:LIBIDN_FOUND:HAVE_LIBIDN:g" \
+   CMakeLists.txt || die
+
+   # Use pkg-config to find headers for bug #459404.
+   sed_args=
+   for x in $($(tc-getPKG_CONFIG) --cflags freetype2) ; do
+   [[ ${x} == -I* ]] || continue
+   x=${x#-I}
+   if [[ -f ${x}/ft2build.h ]] ; then
+   sed_args+=" -e s:/usr/include/\\r\$:${x}:"
+   elif [[ -f ${x}/freetype/config/ftheader.h ]] ; then
+   sed_args+=" -e s:/usr/include/freetype2\\r\$:${x}:"
+   fi
+   done
+   [[ -n ${sed_args} ]] && \
+   { sed -i ${sed_args} cmake/modules/FindFREETYPE.cmake || die; }
+
+   # Bug #439784: Add missing unistd include for close() and unlink().
+   sed -i 's:^#include $:#include \n\0:' -i \
+   test/unit/TestUtils.cpp || die
+
+   # TODO: fix these test cases
+   # ColorTest.cpp:62:Assertion
+   # Test name: ColorTest::testDefaultConstructor
+   # expected exception not thrown
+   # - Expected: PdfError
+   sed -e 's:CPPUNIT_TEST( testDefaultConstructor ://\0:' \
+   -e 's:CPPUNIT_TEST( testGreyConstructor ://\0:' \
+   -e 's:CPPUNIT_TEST( testRGBConstructor ://\0:' \
+   -e 's:CPPUNIT_TEST( testCMYKConstructor ://\0:' \
+   -e 's:CPPUN

[gentoo-commits] repo/gentoo:master commit in: app-text/podofo/files/

2020-06-07 Thread Aaron Bauman
commit: 3b8eb13c5110251e9ecb9db16e0e9f81c755f629
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Sun Jun  7 14:40:06 2020 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Sun Jun  7 17:35:30 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b8eb13c

app-text/podofo: remove unused patch(es)

Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Michael Mair-Keimberger  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/16106
Signed-off-by: Aaron Bauman  gentoo.org>

 ...ofo-0.9.6_pre20171027-libressl-bug-635890.patch | 26 --
 1 file changed, 26 deletions(-)

diff --git 
a/app-text/podofo/files/podofo-0.9.6_pre20171027-libressl-bug-635890.patch 
b/app-text/podofo/files/podofo-0.9.6_pre20171027-libressl-bug-635890.patch
deleted file mode 100644
index 2b25dc7b685..000
--- a/app-text/podofo/files/podofo-0.9.6_pre20171027-libressl-bug-635890.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From 85e66b066de98f38e0430428906d5cf5396876a0 Mon Sep 17 00:00:00 2001
-From: Michelangelo Scopelliti 
-Date: Thu, 23 Nov 2017 12:29:36 +
-Subject: [PATCH] Fix to compile with libressl (does not have OPENSSL_init_ssl)
-
-Bug: https://bugs.gentoo.org/635890

- tools/podofosign/podofosign.cpp | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/tools/podofosign/podofosign.cpp b/tools/podofosign/podofosign.cpp
-index a7be1e5..5c9d146 100644
 a/tools/podofosign/podofosign.cpp
-+++ b/tools/podofosign/podofosign.cpp
-@@ -875,7 +875,7 @@ int main( int argc, char* argv[] )
- outputfile = NULL;
- }
- 
--#ifdef PODOFO_HAVE_OPENSSL_1_1
-+#if defined (PODOFO_HAVE_OPENSSL_1_1) && !defined (LIBRESSL_VERSION_NUMBER)
- OPENSSL_init_ssl(0, NULL);
- #else
- OpenSSL_add_all_algorithms();
--- 
-2.13.6
-



[gentoo-commits] repo/gentoo:master commit in: app-text/podofo/

2020-06-05 Thread Zac Medico
commit: 8ab82aac91a81f0c8a4798f0554f96473d83d62a
Author: Zac Medico  gentoo  org>
AuthorDate: Sat Jun  6 00:23:40 2020 +
Commit: Zac Medico  gentoo  org>
CommitDate: Sat Jun  6 00:27:13 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ab82aac

app-text/podofo: Remove vulnerable versions (bug 614038)

Bug: https://bugs.gentoo.org/614038
Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Zac Medico  gentoo.org>

 app-text/podofo/Manifest   |   2 -
 app-text/podofo/podofo-0.9.6_pre20170508-r1.ebuild | 145 
 app-text/podofo/podofo-0.9.6_pre20171027.ebuild| 148 -
 3 files changed, 295 deletions(-)

diff --git a/app-text/podofo/Manifest b/app-text/podofo/Manifest
index 8ba7817a349..6f857daccf1 100644
--- a/app-text/podofo/Manifest
+++ b/app-text/podofo/Manifest
@@ -1,3 +1 @@
 DIST podofo-0.9.6_p20180715.tar.xz 747444 BLAKE2B 
96d90add6d290d6722cd7412fd75433f87303bac385964f0967b4f119db4962f6ddbd93b49af8454051f421d77de70ad7ea0f5b01a66eeb690a75dbeec256eff
 SHA512 
4c9b09c716128110b47d6a02f118eb80b6009e9e79dbc83ff804a57f0abc011b789de9287b68a6c1d6704ef386f8062a3a495408af8a832782f0bf0128190a1f
-DIST podofo-0.9.6_pre20170508.tar.xz 919876 BLAKE2B 
39be46db0e36755c828373659f681aa6334ec6be01cdcc62616d8ce4e59a2ab916cbfc4aa58d4bf8ab95843a40b7b536cb1b2ccfa14beacf629ff1fbcb699613
 SHA512 
37d8e844ba5763d06d467e316871436e1a63795d66675677d9775cd1bd311f43b241d58e82213a0342ab69a0f5cd80261aad48c4af29c82f7bcc0c14bd242f10
-DIST podofo-0.9.6_pre20171027.tar.xz 919504 BLAKE2B 
d03852a25e50085ed2108e90c293600e0515c06918276888e63917ca00a9fe3b392cd9ec9aeb6f651fd7e0b45a5e3c08e3f4d6df6f4a04d8fb224fbdd0599342
 SHA512 
db1ac836abd7be0d2cc3c27114c7134de9de8ba931a6a8265514fedefe3c6f06a24371f7a5425c8b7251fe7166bc27f07733cba878ad24c12651c8c051cac8be

diff --git a/app-text/podofo/podofo-0.9.6_pre20170508-r1.ebuild 
b/app-text/podofo/podofo-0.9.6_pre20170508-r1.ebuild
deleted file mode 100644
index bbed6ce6bb9..000
--- a/app-text/podofo/podofo-0.9.6_pre20170508-r1.ebuild
+++ /dev/null
@@ -1,145 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit cmake-utils flag-o-matic multilib toolchain-funcs
-
-DESCRIPTION="PoDoFo is a C++ library to work with the PDF file format"
-HOMEPAGE="https://sourceforge.net/projects/podofo/";
-SRC_URI="mirror://gentoo/${P}.tar.xz"
-
-LICENSE="GPL-2 LGPL-2.1"
-SLOT="0/${PVR}"
-KEYWORDS="amd64 ~arm hppa ppc ppc64 ~sparc x86"
-IUSE="+boost idn libressl debug test +tools"
-RESTRICT="!test? ( test )"
-REQUIRED_USE="test? ( tools )"
-
-RDEPEND="dev-lang/lua:=
-   idn? ( net-dns/libidn:= )
-   !libressl? ( dev-libs/openssl:0= )
-   libressl? ( dev-libs/libressl:0= )
-   media-libs/fontconfig:=
-   media-libs/freetype:2=
-   virtual/jpeg:0=
-   media-libs/libpng:0=
-   media-libs/tiff:0=
-   sys-libs/zlib:="
-DEPEND="${RDEPEND}
-   virtual/pkgconfig
-   boost? ( dev-util/boost-build )
-   test? ( dev-util/cppunit )"
-
-DOCS="AUTHORS ChangeLog TODO"
-
-src_prepare() {
-   local x sed_args
-
-   # The 0.9.6 ABI is not necessarily stable, so make PODOFO_SOVERSION
-   # equal to ${PV}.
-   sed -e 's|${PODOFO_VERSION_PATCH}|\0_'${PV##*_}'|' -i CMakeLists.txt || 
die
-
-   # bug 620934 - Disable linking with cppunit when possible, since it
-   # triggers errors with some older compilers.
-   use test || sed -e 's:^FIND_PACKAGE(CppUnit):#\0:' -i CMakeLists.txt || 
die
-
-   # bug 556962
-   sed -i -e 's|Decrypt( pEncryptedBuffer, nOutputLen, pDecryptedBuffer, 
m_lLen );|Decrypt( pEncryptedBuffer, (pdf_long)nOutputLen, pDecryptedBuffer, 
(pdf_long\&)m_lLen );|' \
-   test/unit/EncryptTest.cpp || die
-
-   sed -i \
-   -e "s:LIBDIRNAME \"lib\":LIBDIRNAME \"$(get_libdir)\":" \
-   -e "s:LIBIDN_FOUND:HAVE_LIBIDN:g" \
-   CMakeLists.txt || die
-
-   # Use pkg-config to find headers for bug #459404.
-   sed_args=
-   for x in $($(tc-getPKG_CONFIG) --cflags freetype2) ; do
-   [[ ${x} == -I* ]] || continue
-   x=${x#-I}
-   if [[ -f ${x}/ft2build.h ]] ; then
-   sed_args+=" -e s:/usr/include/\\r\$:${x}:"
-   elif [[ -f ${x}/freetype/config/ftheader.h ]] ; then
-   sed_args+=" -e s:/usr/include/freetype2\\r\$:${x}:"
-   fi
-   done
-   [[ -n ${sed_args} ]] && \
-   { sed -i ${sed_args} cmake/modules/FindFREETYPE.cmake || die; }
-
-   # Bug #439784: Add missing unistd include for close() and unlink().
-   sed -i 's:^#include $:#include \n\0:' -i \
-   test/unit/TestUtils.cpp || die
-
-   # TODO: fix these test cases
-   # ColorTest.cpp:62:Assertion
-   # Test name: ColorTest::testDefaultConstructor
-   # expected exception not thrown

[gentoo-commits] repo/gentoo:master commit in: app-text/podofo/

2020-02-18 Thread Andreas Sturmlechner
commit: 68c213358323609ce484b44c072fa24c059a4dd4
Author: Roy Bamford  gentoo  org>
AuthorDate: Tue Feb 18 11:20:11 2020 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Tue Feb 18 20:05:03 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68c21335

app-text/podofo: added ~arm64 keyword

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Roy Bamford  gentoo.org>
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 app-text/podofo/podofo-0.9.6_p20180715.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-text/podofo/podofo-0.9.6_p20180715.ebuild 
b/app-text/podofo/podofo-0.9.6_p20180715.ebuild
index 667a0283915..e53db8b61f4 100644
--- a/app-text/podofo/podofo-0.9.6_p20180715.ebuild
+++ b/app-text/podofo/podofo-0.9.6_p20180715.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -10,7 +10,7 @@ SRC_URI="mirror://gentoo/${P}.tar.xz"
 
 LICENSE="GPL-2 LGPL-2.1"
 SLOT="0/${PV%_*}"
-KEYWORDS="amd64 ~arm hppa ppc ppc64 ~sparc x86"
+KEYWORDS="amd64 ~arm ~arm64 hppa ppc ppc64 ~sparc x86"
 IUSE="+boost idn libressl debug test +tools"
 RESTRICT="!test? ( test )"
 REQUIRED_USE="test? ( tools )"



[gentoo-commits] repo/gentoo:master commit in: app-text/podofo/

2019-06-28 Thread Sergei Trofimovich
commit: 240ef3827182bbab320a5f4d337cec3849c57986
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Fri Jun 28 20:17:46 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Fri Jun 28 20:49:09 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=240ef382

app-text/podofo: stable 0.9.6_p20180715 for hppa, bug #685124

Signed-off-by: Rolf Eike Beer  sf-mail.de>
Package-Manager: Portage-2.3.66, Repoman-2.3.11
RepoMan-Options: --include-arches="hppa"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 app-text/podofo/podofo-0.9.6_p20180715.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/podofo/podofo-0.9.6_p20180715.ebuild 
b/app-text/podofo/podofo-0.9.6_p20180715.ebuild
index d4346e5fc02..afde927a0cf 100644
--- a/app-text/podofo/podofo-0.9.6_p20180715.ebuild
+++ b/app-text/podofo/podofo-0.9.6_p20180715.ebuild
@@ -10,7 +10,7 @@ SRC_URI="mirror://gentoo/${P}.tar.xz"
 
 LICENSE="GPL-2 LGPL-2.1"
 SLOT="0/${PV%_*}"
-KEYWORDS="amd64 ~arm ~hppa ppc ppc64 ~sparc x86"
+KEYWORDS="amd64 ~arm hppa ppc ppc64 ~sparc x86"
 IUSE="+boost idn libressl debug test +tools"
 REQUIRED_USE="test? ( tools )"
 



[gentoo-commits] repo/gentoo:master commit in: app-text/podofo/

2019-05-20 Thread Mikle Kolyada
commit: 90c2b4ff254dadc650d46cb7028b1bae8c162b9c
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Mon May 20 10:57:47 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Mon May 20 10:57:47 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90c2b4ff

app-text/podofo: amd64 stable wrt bug #685124

Signed-off-by: Mikle Kolyada  gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
RepoMan-Options: --include-arches="amd64"

 app-text/podofo/podofo-0.9.6_p20180715.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/podofo/podofo-0.9.6_p20180715.ebuild 
b/app-text/podofo/podofo-0.9.6_p20180715.ebuild
index 7c3879735e6..9d6a95c7f0f 100644
--- a/app-text/podofo/podofo-0.9.6_p20180715.ebuild
+++ b/app-text/podofo/podofo-0.9.6_p20180715.ebuild
@@ -10,7 +10,7 @@ SRC_URI="mirror://gentoo/${P}.tar.xz"
 
 LICENSE="GPL-2 LGPL-2.1"
 SLOT="0/${PV%_*}"
-KEYWORDS="~amd64 ~arm ~hppa ~ppc ppc64 ~sparc x86"
+KEYWORDS="amd64 ~arm ~hppa ~ppc ppc64 ~sparc x86"
 IUSE="+boost idn libressl debug test +tools"
 REQUIRED_USE="test? ( tools )"
 



[gentoo-commits] repo/gentoo:master commit in: app-text/podofo/

2019-05-19 Thread Thomas Deutschmann
commit: 0d806027196c0d2585dd384a9b153ba5ee47a843
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Sun May 19 13:06:26 2019 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Sun May 19 13:06:26 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d806027

app-text/podofo: x86 stable (bug #685124)

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

 app-text/podofo/podofo-0.9.6_p20180715.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/podofo/podofo-0.9.6_p20180715.ebuild 
b/app-text/podofo/podofo-0.9.6_p20180715.ebuild
index c8a06f9532b..7c3879735e6 100644
--- a/app-text/podofo/podofo-0.9.6_p20180715.ebuild
+++ b/app-text/podofo/podofo-0.9.6_p20180715.ebuild
@@ -10,7 +10,7 @@ SRC_URI="mirror://gentoo/${P}.tar.xz"
 
 LICENSE="GPL-2 LGPL-2.1"
 SLOT="0/${PV%_*}"
-KEYWORDS="~amd64 ~arm ~hppa ~ppc ppc64 ~sparc ~x86"
+KEYWORDS="~amd64 ~arm ~hppa ~ppc ppc64 ~sparc x86"
 IUSE="+boost idn libressl debug test +tools"
 REQUIRED_USE="test? ( tools )"
 



[gentoo-commits] repo/gentoo:master commit in: app-text/podofo/

2019-05-12 Thread Sergei Trofimovich
commit: 3284f65ccbc94430c31472f0bb2cac014186a655
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun May 12 22:00:05 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun May 12 22:00:05 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3284f65c

app-text/podofo: stable 0.9.6_p20180715 for ppc64, bug #685124

Package-Manager: Portage-2.3.66, Repoman-2.3.12
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 app-text/podofo/podofo-0.9.6_p20180715.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/podofo/podofo-0.9.6_p20180715.ebuild 
b/app-text/podofo/podofo-0.9.6_p20180715.ebuild
index dd1f3e60f7c..c8a06f9532b 100644
--- a/app-text/podofo/podofo-0.9.6_p20180715.ebuild
+++ b/app-text/podofo/podofo-0.9.6_p20180715.ebuild
@@ -10,7 +10,7 @@ SRC_URI="mirror://gentoo/${P}.tar.xz"
 
 LICENSE="GPL-2 LGPL-2.1"
 SLOT="0/${PV%_*}"
-KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~amd64 ~arm ~hppa ~ppc ppc64 ~sparc ~x86"
 IUSE="+boost idn libressl debug test +tools"
 REQUIRED_USE="test? ( tools )"
 



[gentoo-commits] repo/gentoo:master commit in: app-text/podofo/

2019-01-06 Thread Zac Medico
commit: d1c635015e7786c9c1d6ac3282f5ce27cf57c15d
Author: Zac Medico  gentoo  org>
AuthorDate: Sun Jan  6 10:01:28 2019 +
Commit: Zac Medico  gentoo  org>
CommitDate: Sun Jan  6 10:04:19 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1c63501

app-text/podofo: fix 0.9.6_p20180715 libressl build

Reported-by: Toralf Förster  gentoo.org>
Closes: https://bugs.gentoo.org/663602
Package-Manager: Portage-2.3.54, Repoman-2.3.12
Signed-off-by: Zac Medico  gentoo.org>

 app-text/podofo/podofo-0.9.6_p20180715.ebuild | 7 ++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/app-text/podofo/podofo-0.9.6_p20180715.ebuild 
b/app-text/podofo/podofo-0.9.6_p20180715.ebuild
index 7f963976107..dd1f3e60f7c 100644
--- a/app-text/podofo/podofo-0.9.6_p20180715.ebuild
+++ b/app-text/podofo/podofo-0.9.6_p20180715.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -35,6 +35,11 @@ src_prepare() {
cmake-utils_src_prepare
local x sed_args
 
+   if use libressl; then
+   sed -e 's:^#ifdef PODOFO_HAVE_OPENSSL_1_1$:#ifndef 
PODOFO_HAVE_OPENSSL_1_1:' \
+-i tools/podofosign/podofosign.cpp || die #663602
+   fi
+
# bug 620934 - Disable linking with cppunit when possible, since it
# triggers errors with some older compilers.
use test || sed -e 's:^FIND_PACKAGE(CppUnit):#\0:' -i CMakeLists.txt || 
die



[gentoo-commits] repo/gentoo:master commit in: app-text/podofo/

2018-07-26 Thread Zac Medico
commit: 289e000c530215f2c921ea3e21d195b37b390c9c
Author: Zac Medico  gentoo  org>
AuthorDate: Thu Jul 26 17:03:44 2018 +
Commit: Zac Medico  gentoo  org>
CommitDate: Thu Jul 26 17:21:08 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=289e000c

app-text/podofo: version bump to 0.9.6_p20180715

Package-Manager: Portage-2.3.43, Repoman-2.3.10

 app-text/podofo/Manifest  |   1 +
 app-text/podofo/podofo-0.9.6_p20180715.ebuild | 140 ++
 2 files changed, 141 insertions(+)

diff --git a/app-text/podofo/Manifest b/app-text/podofo/Manifest
index 40ed338f19f..8ba7817a349 100644
--- a/app-text/podofo/Manifest
+++ b/app-text/podofo/Manifest
@@ -1,2 +1,3 @@
+DIST podofo-0.9.6_p20180715.tar.xz 747444 BLAKE2B 
96d90add6d290d6722cd7412fd75433f87303bac385964f0967b4f119db4962f6ddbd93b49af8454051f421d77de70ad7ea0f5b01a66eeb690a75dbeec256eff
 SHA512 
4c9b09c716128110b47d6a02f118eb80b6009e9e79dbc83ff804a57f0abc011b789de9287b68a6c1d6704ef386f8062a3a495408af8a832782f0bf0128190a1f
 DIST podofo-0.9.6_pre20170508.tar.xz 919876 BLAKE2B 
39be46db0e36755c828373659f681aa6334ec6be01cdcc62616d8ce4e59a2ab916cbfc4aa58d4bf8ab95843a40b7b536cb1b2ccfa14beacf629ff1fbcb699613
 SHA512 
37d8e844ba5763d06d467e316871436e1a63795d66675677d9775cd1bd311f43b241d58e82213a0342ab69a0f5cd80261aad48c4af29c82f7bcc0c14bd242f10
 DIST podofo-0.9.6_pre20171027.tar.xz 919504 BLAKE2B 
d03852a25e50085ed2108e90c293600e0515c06918276888e63917ca00a9fe3b392cd9ec9aeb6f651fd7e0b45a5e3c08e3f4d6df6f4a04d8fb224fbdd0599342
 SHA512 
db1ac836abd7be0d2cc3c27114c7134de9de8ba931a6a8265514fedefe3c6f06a24371f7a5425c8b7251fe7166bc27f07733cba878ad24c12651c8c051cac8be

diff --git a/app-text/podofo/podofo-0.9.6_p20180715.ebuild 
b/app-text/podofo/podofo-0.9.6_p20180715.ebuild
new file mode 100644
index 000..7f963976107
--- /dev/null
+++ b/app-text/podofo/podofo-0.9.6_p20180715.ebuild
@@ -0,0 +1,140 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit cmake-utils flag-o-matic multilib toolchain-funcs
+
+DESCRIPTION="PoDoFo is a C++ library to work with the PDF file format"
+HOMEPAGE="https://sourceforge.net/projects/podofo/";
+SRC_URI="mirror://gentoo/${P}.tar.xz"
+
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="0/${PV%_*}"
+KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86"
+IUSE="+boost idn libressl debug test +tools"
+REQUIRED_USE="test? ( tools )"
+
+RDEPEND="dev-lang/lua:=
+   idn? ( net-dns/libidn:= )
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:0= )
+   media-libs/fontconfig:=
+   media-libs/freetype:2=
+   virtual/jpeg:0=
+   media-libs/libpng:0=
+   media-libs/tiff:0=
+   sys-libs/zlib:="
+DEPEND="${RDEPEND}
+   virtual/pkgconfig
+   boost? ( dev-util/boost-build )
+   test? ( dev-util/cppunit )"
+
+DOCS="AUTHORS ChangeLog TODO"
+
+src_prepare() {
+   cmake-utils_src_prepare
+   local x sed_args
+
+   # bug 620934 - Disable linking with cppunit when possible, since it
+   # triggers errors with some older compilers.
+   use test || sed -e 's:^FIND_PACKAGE(CppUnit):#\0:' -i CMakeLists.txt || 
die
+
+   # bug 556962
+   sed -i -e 's|Decrypt( pEncryptedBuffer, nOutputLen, pDecryptedBuffer, 
m_lLen );|Decrypt( pEncryptedBuffer, (pdf_long)nOutputLen, pDecryptedBuffer, 
(pdf_long\&)m_lLen );|' \
+   test/unit/EncryptTest.cpp || die
+
+   sed -i \
+   -e "s:LIBDIRNAME \"lib\":LIBDIRNAME \"$(get_libdir)\":" \
+   -e "s:LIBIDN_FOUND:HAVE_LIBIDN:g" \
+   CMakeLists.txt || die
+
+   # Use pkg-config to find headers for bug #459404.
+   sed_args=
+   for x in $($(tc-getPKG_CONFIG) --cflags freetype2) ; do
+   [[ ${x} == -I* ]] || continue
+   x=${x#-I}
+   if [[ -f ${x}/ft2build.h ]] ; then
+   sed_args+=" -e s:/usr/include/\\r\$:${x}:"
+   elif [[ -f ${x}/freetype/config/ftheader.h ]] ; then
+   sed_args+=" -e s:/usr/include/freetype2\\r\$:${x}:"
+   fi
+   done
+   [[ -n ${sed_args} ]] && \
+   { sed -i ${sed_args} cmake/modules/FindFREETYPE.cmake || die; }
+
+   # Bug #439784: Add missing unistd include for close() and unlink().
+   sed -i 's:^#include $:#include \n\0:' -i \
+   test/unit/TestUtils.cpp || die
+
+   # TODO: fix these test cases
+   # ColorTest.cpp:62:Assertion
+   # Test name: ColorTest::testDefaultConstructor
+   # expected exception not thrown
+   # - Expected: PdfError
+   sed -e 's:CPPUNIT_TEST( testDefaultConstructor ://\0:' \
+   -e 's:CPPUNIT_TEST( testGreyConstructor ://\0:' \
+   -e 's:CPPUNIT_TEST( testRGBConstructor ://\0:' \
+   -e 's:CPPUNIT_TEST( testCMYKConstructor ://\0:' \
+   -e 's:CPPUNIT_TEST( testColorSeparationAllConstruc

[gentoo-commits] repo/gentoo:master commit in: app-text/podofo/files/, app-text/podofo/

2017-11-23 Thread Zac Medico
commit: 7d445832c8128d6d9427ccddf8465b92c65145d7
Author: Michelangelo Scopelliti  gmx  it>
AuthorDate: Thu Nov 23 21:24:52 2017 +
Commit: Zac Medico  gentoo  org>
CommitDate: Thu Nov 23 21:27:32 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d445832

app-text/podofo: fix for libressl (bug 635890)

Closes: https://bugs.gentoo.org/635890
Package-Manager: Portage-2.3.16, Repoman-2.3.6

 ...ofo-0.9.6_pre20171027-libressl-bug-635890.patch | 26 ++
 app-text/podofo/podofo-0.9.6_pre20171027.ebuild|  4 
 2 files changed, 30 insertions(+)

diff --git 
a/app-text/podofo/files/podofo-0.9.6_pre20171027-libressl-bug-635890.patch 
b/app-text/podofo/files/podofo-0.9.6_pre20171027-libressl-bug-635890.patch
new file mode 100644
index 000..2b25dc7b685
--- /dev/null
+++ b/app-text/podofo/files/podofo-0.9.6_pre20171027-libressl-bug-635890.patch
@@ -0,0 +1,26 @@
+From 85e66b066de98f38e0430428906d5cf5396876a0 Mon Sep 17 00:00:00 2001
+From: Michelangelo Scopelliti 
+Date: Thu, 23 Nov 2017 12:29:36 +
+Subject: [PATCH] Fix to compile with libressl (does not have OPENSSL_init_ssl)
+
+Bug: https://bugs.gentoo.org/635890
+---
+ tools/podofosign/podofosign.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/tools/podofosign/podofosign.cpp b/tools/podofosign/podofosign.cpp
+index a7be1e5..5c9d146 100644
+--- a/tools/podofosign/podofosign.cpp
 b/tools/podofosign/podofosign.cpp
+@@ -875,7 +875,7 @@ int main( int argc, char* argv[] )
+ outputfile = NULL;
+ }
+ 
+-#ifdef PODOFO_HAVE_OPENSSL_1_1
++#if defined (PODOFO_HAVE_OPENSSL_1_1) && !defined (LIBRESSL_VERSION_NUMBER)
+ OPENSSL_init_ssl(0, NULL);
+ #else
+ OpenSSL_add_all_algorithms();
+-- 
+2.13.6
+

diff --git a/app-text/podofo/podofo-0.9.6_pre20171027.ebuild 
b/app-text/podofo/podofo-0.9.6_pre20171027.ebuild
index 67a8f21dd4d..b7e200e657a 100644
--- a/app-text/podofo/podofo-0.9.6_pre20171027.ebuild
+++ b/app-text/podofo/podofo-0.9.6_pre20171027.ebuild
@@ -29,6 +29,10 @@ DEPEND="${RDEPEND}
boost? ( dev-util/boost-build )
test? ( dev-util/cppunit )"
 
+PATCHES=(
+   "${FILESDIR}/${P}-libressl-bug-635890.patch"
+)
+
 DOCS="AUTHORS ChangeLog TODO"
 
 src_prepare() {



[gentoo-commits] repo/gentoo:master commit in: app-text/podofo/, app-text/podofo/files/

2017-11-23 Thread Zac Medico
commit: a4dce61ead4d4d094d6fcc92fddefbcd6100438d
Author: Zac Medico  gentoo  org>
AuthorDate: Thu Nov 23 20:47:17 2017 +
Commit: Zac Medico  gentoo  org>
CommitDate: Thu Nov 23 20:50:01 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4dce61e

app-text/podofo: remove old version 0.9.6_pre20170629

Package-Manager: Portage-2.3.16, Repoman-2.3.6

 app-text/podofo/Manifest   |   5 +-
 .../podofo-0.9.6_pre20170629-openssl-1.1.patch | 114 
 app-text/podofo/podofo-0.9.6_pre20170629.ebuild| 146 -
 3 files changed, 2 insertions(+), 263 deletions(-)

diff --git a/app-text/podofo/Manifest b/app-text/podofo/Manifest
index 4b65f5793f2..40ed338f19f 100644
--- a/app-text/podofo/Manifest
+++ b/app-text/podofo/Manifest
@@ -1,3 +1,2 @@
-DIST podofo-0.9.6_pre20170508.tar.xz 919876 SHA256 
6a35e08aa22105eeb6b00078b74791da2d4dc0d86189f795315808428efacd17 SHA512 
37d8e844ba5763d06d467e316871436e1a63795d66675677d9775cd1bd311f43b241d58e82213a0342ab69a0f5cd80261aad48c4af29c82f7bcc0c14bd242f10
 WHIRLPOOL 
c0ad8baca1f912929d1b2dd2e783340aeeb50965136dcf2699407cb70ca058e20748ee8024739b913a1e2ddb317c72f5aed6074862c4360d339365764ac9c67a
-DIST podofo-0.9.6_pre20170629.tar.xz 919076 SHA256 
439c0bffed19275315075d5b0a2728453e7a8bee4480e1f23bca2ee4b02462d0 SHA512 
29b0e28131ca9cadf19e5ec43df1c39e146ad8d35ad9f0bfa2dff1138e3448c3be95c6130ef8a19b7ad927b8e0c5a7890485f120d7f7da85e2b434e4a417d9bc
 WHIRLPOOL 
b8ecab404679f48ff611e543d375829a636f4026232a83ff2fe3f3ca42f1a5c2a589641d4c09b92b7b078026a6b4d95b172a764089729086f7001d3a4850b272
-DIST podofo-0.9.6_pre20171027.tar.xz 919504 SHA256 
0eff17add2c44e8d609756fa735e7265178c6eb9cf30ec2d5b896d6de83e643d SHA512 
db1ac836abd7be0d2cc3c27114c7134de9de8ba931a6a8265514fedefe3c6f06a24371f7a5425c8b7251fe7166bc27f07733cba878ad24c12651c8c051cac8be
 WHIRLPOOL 
8f0dbe4ffba24f1c3aee7c9d2ea819e232d9a552d048d09192960dae448d25593ad340712e055410d13b661110c90a2d5b5a69e02bf5511f78ee7a5b347bdbf0
+DIST podofo-0.9.6_pre20170508.tar.xz 919876 BLAKE2B 
39be46db0e36755c828373659f681aa6334ec6be01cdcc62616d8ce4e59a2ab916cbfc4aa58d4bf8ab95843a40b7b536cb1b2ccfa14beacf629ff1fbcb699613
 SHA512 
37d8e844ba5763d06d467e316871436e1a63795d66675677d9775cd1bd311f43b241d58e82213a0342ab69a0f5cd80261aad48c4af29c82f7bcc0c14bd242f10
+DIST podofo-0.9.6_pre20171027.tar.xz 919504 BLAKE2B 
d03852a25e50085ed2108e90c293600e0515c06918276888e63917ca00a9fe3b392cd9ec9aeb6f651fd7e0b45a5e3c08e3f4d6df6f4a04d8fb224fbdd0599342
 SHA512 
db1ac836abd7be0d2cc3c27114c7134de9de8ba931a6a8265514fedefe3c6f06a24371f7a5425c8b7251fe7166bc27f07733cba878ad24c12651c8c051cac8be

diff --git a/app-text/podofo/files/podofo-0.9.6_pre20170629-openssl-1.1.patch 
b/app-text/podofo/files/podofo-0.9.6_pre20170629-openssl-1.1.patch
deleted file mode 100644
index 22b1e419312..000
--- a/app-text/podofo/files/podofo-0.9.6_pre20170629-openssl-1.1.patch
+++ /dev/null
@@ -1,114 +0,0 @@
-From f5da3b4d9e35a2df272f2f4056c3647454eaea95 Mon Sep 17 00:00:00 2001
-From: Zac Medico 
-Date: Sun, 15 Oct 2017 23:04:57 -0700
-Subject: [PATCH] podofosign: fix compile errors with openssl-1.1.0f
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-https://sourceforge.net/p/podofo/mailman/message/36077904/
-
-This fixes the following compile errors with openssl-1.1.0f:
-
-tools/podofosign/podofosign.cpp:877:32: error: ‘OpenSSL_add_all_algorithms’ 
was not declared in this scope
- OpenSSL_add_all_algorithms();
-^
-tools/podofosign/podofosign.cpp:878:29: error: ‘ERR_load_crypto_strings’ was 
not declared in this scope
- ERR_load_crypto_strings();
- ^
-tools/podofosign/podofosign.cpp:1085:22: error: ‘ERR_free_strings’ was not 
declared in this scope
- ERR_free_strings();
-  ^
-
-This patch has been tested on Linux with openssl-1.0.2l and
-openssl-1.1.0f.
-
-Bug: https://bugs.gentoo.org/614756

- CMakeLists.txt  | 12 ++--
- tools/podofosign/podofosign.cpp |  7 +++
- 2 files changed, 17 insertions(+), 2 deletions(-)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 0c9a2ce..b4f7b3c 100644
 a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -325,6 +325,14 @@ ENDIF(CMAKE_COMPILER_IS_GNUCXX)
- FIND_PACKAGE(ZLIB REQUIRED)
- MESSAGE("Found zlib headers in ${ZLIB_INCLUDE_DIR}, library at 
${ZLIB_LIBRARIES}")
- 
-+FIND_PACKAGE(OpenSSL)
-+if(OpenSSL_FOUND)
-+  SET(PODOFO_HAVE_OPENSSL TRUE)
-+  INCLUDE_DIRECTORIES(${OPENSSL_INCLUDE_DIRS})
-+  LINK_DIRECTORIES(${OPENSSL_LIBRARIES})
-+  MESSAGE(STATUS "Using OpenSSL ${OPENSSL_VERSION}")
-+  MESSAGE("Found OpenSSL ${OPENSSL_VERSION} headers in 
${OPENSSL_INCLUDE_DIRS}, library at ${OPENSSL_LIBRARIES}")
-+ELSE(OpenSSL_FOUND)
- FIND_PACKAGE(LIBCRYPTO)
- 
- IF(LIBCRYPTO_FOUND)
-@@ -334,6 +342,7 @@ IF(LIBCRYPTO_FOUND)
- ELSE(LIBCRYPTO_FOUND)
-   MESSAGE("OpenSSL's libCrypto not found. E

[gentoo-commits] repo/gentoo:master commit in: app-text/podofo/

2017-11-11 Thread Zac Medico
commit: 1e56f90e6115285729c9611152611a5f52962245
Author: Zac Medico  gentoo  org>
AuthorDate: Sun Nov 12 05:39:25 2017 +
Commit: Zac Medico  gentoo  org>
CommitDate: Sun Nov 12 06:11:56 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e56f90e

app-text/podofo: version bump to 0.9.6_pre20171027

Package-Manager: Portage-2.3.13, Repoman-2.3.3

 app-text/podofo/Manifest|   1 +
 app-text/podofo/podofo-0.9.6_pre20171027.ebuild | 143 
 2 files changed, 144 insertions(+)

diff --git a/app-text/podofo/Manifest b/app-text/podofo/Manifest
index 712ada504ac..4b65f5793f2 100644
--- a/app-text/podofo/Manifest
+++ b/app-text/podofo/Manifest
@@ -1,2 +1,3 @@
 DIST podofo-0.9.6_pre20170508.tar.xz 919876 SHA256 
6a35e08aa22105eeb6b00078b74791da2d4dc0d86189f795315808428efacd17 SHA512 
37d8e844ba5763d06d467e316871436e1a63795d66675677d9775cd1bd311f43b241d58e82213a0342ab69a0f5cd80261aad48c4af29c82f7bcc0c14bd242f10
 WHIRLPOOL 
c0ad8baca1f912929d1b2dd2e783340aeeb50965136dcf2699407cb70ca058e20748ee8024739b913a1e2ddb317c72f5aed6074862c4360d339365764ac9c67a
 DIST podofo-0.9.6_pre20170629.tar.xz 919076 SHA256 
439c0bffed19275315075d5b0a2728453e7a8bee4480e1f23bca2ee4b02462d0 SHA512 
29b0e28131ca9cadf19e5ec43df1c39e146ad8d35ad9f0bfa2dff1138e3448c3be95c6130ef8a19b7ad927b8e0c5a7890485f120d7f7da85e2b434e4a417d9bc
 WHIRLPOOL 
b8ecab404679f48ff611e543d375829a636f4026232a83ff2fe3f3ca42f1a5c2a589641d4c09b92b7b078026a6b4d95b172a764089729086f7001d3a4850b272
+DIST podofo-0.9.6_pre20171027.tar.xz 919504 SHA256 
0eff17add2c44e8d609756fa735e7265178c6eb9cf30ec2d5b896d6de83e643d SHA512 
db1ac836abd7be0d2cc3c27114c7134de9de8ba931a6a8265514fedefe3c6f06a24371f7a5425c8b7251fe7166bc27f07733cba878ad24c12651c8c051cac8be
 WHIRLPOOL 
8f0dbe4ffba24f1c3aee7c9d2ea819e232d9a552d048d09192960dae448d25593ad340712e055410d13b661110c90a2d5b5a69e02bf5511f78ee7a5b347bdbf0

diff --git a/app-text/podofo/podofo-0.9.6_pre20171027.ebuild 
b/app-text/podofo/podofo-0.9.6_pre20171027.ebuild
new file mode 100644
index 000..67a8f21dd4d
--- /dev/null
+++ b/app-text/podofo/podofo-0.9.6_pre20171027.ebuild
@@ -0,0 +1,143 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit cmake-utils flag-o-matic multilib toolchain-funcs
+
+DESCRIPTION="PoDoFo is a C++ library to work with the PDF file format"
+HOMEPAGE="https://sourceforge.net/projects/podofo/";
+SRC_URI="mirror://gentoo/${P}.tar.xz"
+
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86"
+IUSE="+boost idn libressl debug test +tools"
+REQUIRED_USE="test? ( tools )"
+
+RDEPEND="dev-lang/lua:=
+   idn? ( net-dns/libidn:= )
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:0= )
+   media-libs/fontconfig:=
+   media-libs/freetype:2=
+   virtual/jpeg:0=
+   media-libs/libpng:0=
+   media-libs/tiff:0=
+   sys-libs/zlib:="
+DEPEND="${RDEPEND}
+   virtual/pkgconfig
+   boost? ( dev-util/boost-build )
+   test? ( dev-util/cppunit )"
+
+DOCS="AUTHORS ChangeLog TODO"
+
+src_prepare() {
+   cmake-utils_src_prepare
+   local x sed_args
+
+   # The 0.9.6 ABI is not necessarily stable, so make PODOFO_SOVERSION
+   # equal to ${PV}.
+   sed -e 's|${PODOFO_VERSION_PATCH}|\0_'${PV##*_}'|' -i CMakeLists.txt || 
die
+
+   # bug 620934 - Disable linking with cppunit when possible, since it
+   # triggers errors with some older compilers.
+   use test || sed -e 's:^FIND_PACKAGE(CppUnit):#\0:' -i CMakeLists.txt || 
die
+
+   # bug 556962
+   sed -i -e 's|Decrypt( pEncryptedBuffer, nOutputLen, pDecryptedBuffer, 
m_lLen );|Decrypt( pEncryptedBuffer, (pdf_long)nOutputLen, pDecryptedBuffer, 
(pdf_long\&)m_lLen );|' \
+   test/unit/EncryptTest.cpp || die
+
+   sed -i \
+   -e "s:LIBDIRNAME \"lib\":LIBDIRNAME \"$(get_libdir)\":" \
+   -e "s:LIBIDN_FOUND:HAVE_LIBIDN:g" \
+   CMakeLists.txt || die
+
+   # Use pkg-config to find headers for bug #459404.
+   sed_args=
+   for x in $($(tc-getPKG_CONFIG) --cflags freetype2) ; do
+   [[ ${x} == -I* ]] || continue
+   x=${x#-I}
+   if [[ -f ${x}/ft2build.h ]] ; then
+   sed_args+=" -e s:/usr/include/\\r\$:${x}:"
+   elif [[ -f ${x}/freetype/config/ftheader.h ]] ; then
+   sed_args+=" -e s:/usr/include/freetype2\\r\$:${x}:"
+   fi
+   done
+   [[ -n ${sed_args} ]] && \
+   { sed -i ${sed_args} cmake/modules/FindFREETYPE.cmake || die; }
+
+   # Bug #439784: Add missing unistd include for close() and unlink().
+   sed -i 's:^#include $:#include \n\0:' -i \
+   test/unit/TestUtils.cpp || die
+
+   # TODO: fix these test cases
+   # ColorTest.cpp:62:Assertion
+   # Test name: ColorTest::

[gentoo-commits] repo/gentoo:master commit in: app-text/podofo/

2017-10-16 Thread Zac Medico
commit: 7155421153be0afca198afa9bda1cffa49ad3851
Author: Zac Medico  gentoo  org>
AuthorDate: Mon Oct 16 08:36:01 2017 +
Commit: Zac Medico  gentoo  org>
CommitDate: Mon Oct 16 08:36:34 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71554211

app-text/podofo: fix double cmake-utils_src_prepare call

Package-Manager: Portage-2.3.11, Repoman-2.3.3

 app-text/podofo/podofo-0.9.6_pre20170629.ebuild | 2 --
 1 file changed, 2 deletions(-)

diff --git a/app-text/podofo/podofo-0.9.6_pre20170629.ebuild 
b/app-text/podofo/podofo-0.9.6_pre20170629.ebuild
index 6362b4ee003..186555f8192 100644
--- a/app-text/podofo/podofo-0.9.6_pre20170629.ebuild
+++ b/app-text/podofo/podofo-0.9.6_pre20170629.ebuild
@@ -117,8 +117,6 @@ src_prepare() {
tools/podofocolor/luaconverter.cpp \
tools/podofoimpose/planreader_lua.cpp || die
fi
-
-   cmake-utils_src_prepare
 }
 
 src_configure() {



[gentoo-commits] repo/gentoo:master commit in: app-text/podofo/files/, app-text/podofo/

2017-10-16 Thread Zac Medico
commit: 3eb5eefcc21a755a7e29c791944532359a53ec04
Author: Zac Medico  gentoo  org>
AuthorDate: Mon Oct 16 07:30:31 2017 +
Commit: Zac Medico  gentoo  org>
CommitDate: Mon Oct 16 07:35:15 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3eb5eefc

app-text/podofo: bug 614756 compile error with openssl-1.1

Thanks to Mark Wright  gentoo.org> for the
initial patch.

Fixes: https://bugs.gentoo.org/614756
Package-Manager: Portage-2.3.11, Repoman-2.3.3

 .../podofo-0.9.6_pre20170629-openssl-1.1.patch | 114 +
 app-text/podofo/podofo-0.9.6_pre20170629.ebuild|   4 +
 2 files changed, 118 insertions(+)

diff --git a/app-text/podofo/files/podofo-0.9.6_pre20170629-openssl-1.1.patch 
b/app-text/podofo/files/podofo-0.9.6_pre20170629-openssl-1.1.patch
new file mode 100644
index 000..22b1e419312
--- /dev/null
+++ b/app-text/podofo/files/podofo-0.9.6_pre20170629-openssl-1.1.patch
@@ -0,0 +1,114 @@
+From f5da3b4d9e35a2df272f2f4056c3647454eaea95 Mon Sep 17 00:00:00 2001
+From: Zac Medico 
+Date: Sun, 15 Oct 2017 23:04:57 -0700
+Subject: [PATCH] podofosign: fix compile errors with openssl-1.1.0f
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+https://sourceforge.net/p/podofo/mailman/message/36077904/
+
+This fixes the following compile errors with openssl-1.1.0f:
+
+tools/podofosign/podofosign.cpp:877:32: error: ‘OpenSSL_add_all_algorithms’ 
was not declared in this scope
+ OpenSSL_add_all_algorithms();
+^
+tools/podofosign/podofosign.cpp:878:29: error: ‘ERR_load_crypto_strings’ was 
not declared in this scope
+ ERR_load_crypto_strings();
+ ^
+tools/podofosign/podofosign.cpp:1085:22: error: ‘ERR_free_strings’ was not 
declared in this scope
+ ERR_free_strings();
+  ^
+
+This patch has been tested on Linux with openssl-1.0.2l and
+openssl-1.1.0f.
+
+Bug: https://bugs.gentoo.org/614756
+---
+ CMakeLists.txt  | 12 ++--
+ tools/podofosign/podofosign.cpp |  7 +++
+ 2 files changed, 17 insertions(+), 2 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 0c9a2ce..b4f7b3c 100644
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -325,6 +325,14 @@ ENDIF(CMAKE_COMPILER_IS_GNUCXX)
+ FIND_PACKAGE(ZLIB REQUIRED)
+ MESSAGE("Found zlib headers in ${ZLIB_INCLUDE_DIR}, library at 
${ZLIB_LIBRARIES}")
+ 
++FIND_PACKAGE(OpenSSL)
++if(OpenSSL_FOUND)
++  SET(PODOFO_HAVE_OPENSSL TRUE)
++  INCLUDE_DIRECTORIES(${OPENSSL_INCLUDE_DIRS})
++  LINK_DIRECTORIES(${OPENSSL_LIBRARIES})
++  MESSAGE(STATUS "Using OpenSSL ${OPENSSL_VERSION}")
++  MESSAGE("Found OpenSSL ${OPENSSL_VERSION} headers in 
${OPENSSL_INCLUDE_DIRS}, library at ${OPENSSL_LIBRARIES}")
++ELSE(OpenSSL_FOUND)
+ FIND_PACKAGE(LIBCRYPTO)
+ 
+ IF(LIBCRYPTO_FOUND)
+@@ -334,6 +342,7 @@ IF(LIBCRYPTO_FOUND)
+ ELSE(LIBCRYPTO_FOUND)
+   MESSAGE("OpenSSL's libCrypto not found. Encryption support will be 
disabled")
+ ENDIF(LIBCRYPTO_FOUND)
++ENDIF(OpenSSL_FOUND)
+ 
+ FIND_PACKAGE(LIBIDN)
+ 
+@@ -393,8 +402,6 @@ ENDIF(CppUnit_FOUND)
+ 
+ ENDIF(NOT PODOFO_BUILD_LIB_ONLY)
+ 
+-FIND_PACKAGE(OpenSSL)
+-
+ FIND_PACKAGE(FREETYPE REQUIRED)
+ MESSAGE("Found freetype library at ${FREETYPE_LIBRARIES}, headers 
${FREETYPE_INCLUDE_DIR}")
+ 
+@@ -499,6 +506,7 @@ SET(PODOFO_LIB_DEPENDS
+   ${LIBCRYPTO_LDFLAGS}
+   ${LIBCRYPTO_LIBRARIES}
+   ${LIBJPEG_LIBRARIES}
++  ${OPENSSL_LIBRARIES}
+   ${PLATFORM_SYSTEM_LIBRARIES}
+   ${stlport_libraries_if_use_stlport}
+   ${FREETYPE_LIBRARIES}
+diff --git a/tools/podofosign/podofosign.cpp b/tools/podofosign/podofosign.cpp
+index b8f5f61..a7be1e5 100644
+--- a/tools/podofosign/podofosign.cpp
 b/tools/podofosign/podofosign.cpp
+@@ -27,6 +27,7 @@
+ #include 
+ #include 
+ #include 
++#include 
+ #include 
+ 
+ #if defined(_WIN64)
+@@ -874,11 +875,15 @@ int main( int argc, char* argv[] )
+ outputfile = NULL;
+ }
+ 
++#ifdef PODOFO_HAVE_OPENSSL_1_1
++OPENSSL_init_ssl(0, NULL);
++#else
+ OpenSSL_add_all_algorithms();
+ ERR_load_crypto_strings();
+ ERR_load_PEM_strings();
+ ERR_load_ASN1_strings();
+ ERR_load_EVP_strings();
++#endif
+ 
+ X509* cert = NULL;
+ EVP_PKEY* pkey = NULL;
+@@ -1082,7 +1087,9 @@ int main( int argc, char* argv[] )
+ result = e.GetError();
+ }
+ 
++#ifndef PODOFO_HAVE_OPENSSL_1_1
+ ERR_free_strings();
++#endif
+ 
+ if( pSignField )
+ delete pSignField;
+-- 

diff --git a/app-text/podofo/podofo-0.9.6_pre20170629.ebuild 
b/app-text/podofo/podofo-0.9.6_pre20170629.ebuild
index eb201c16581..6362b4ee003 100644
--- a/app-text/podofo/podofo-0.9.6_pre20170629.ebuild
+++ b/app-text/podofo/podofo-0.9.6_pre20170629.ebuild
@@ -30,8 +30,12 @@ DEPEND="${RDEPEND}
test? ( dev-util/cppunit )"
 
 DOCS="AUTHORS ChangeLog TODO"
+PATCHES=(
+   "${FILESDIR}/${P}-openssl-1.1.patch"
+)
 
 src_prepare() {
+   cmake-utils_src_prepare
  

[gentoo-commits] repo/gentoo:master commit in: app-text/podofo/

2017-07-03 Thread Zac Medico
commit: 5bf638535d186b504ac5bb3739b2d75148e768fc
Author: Zac Medico  gentoo  org>
AuthorDate: Mon Jul  3 22:35:30 2017 +
Commit: Zac Medico  gentoo  org>
CommitDate: Mon Jul  3 23:17:28 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5bf63853

app-text/podofo: version bump to 0.9.6_pre20170629

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 app-text/podofo/Manifest|   1 +
 app-text/podofo/podofo-0.9.6_pre20170629.ebuild | 143 
 2 files changed, 144 insertions(+)

diff --git a/app-text/podofo/Manifest b/app-text/podofo/Manifest
index 7faf462100f..712ada504ac 100644
--- a/app-text/podofo/Manifest
+++ b/app-text/podofo/Manifest
@@ -1 +1,2 @@
 DIST podofo-0.9.6_pre20170508.tar.xz 919876 SHA256 
6a35e08aa22105eeb6b00078b74791da2d4dc0d86189f795315808428efacd17 SHA512 
37d8e844ba5763d06d467e316871436e1a63795d66675677d9775cd1bd311f43b241d58e82213a0342ab69a0f5cd80261aad48c4af29c82f7bcc0c14bd242f10
 WHIRLPOOL 
c0ad8baca1f912929d1b2dd2e783340aeeb50965136dcf2699407cb70ca058e20748ee8024739b913a1e2ddb317c72f5aed6074862c4360d339365764ac9c67a
+DIST podofo-0.9.6_pre20170629.tar.xz 919076 SHA256 
439c0bffed19275315075d5b0a2728453e7a8bee4480e1f23bca2ee4b02462d0 SHA512 
29b0e28131ca9cadf19e5ec43df1c39e146ad8d35ad9f0bfa2dff1138e3448c3be95c6130ef8a19b7ad927b8e0c5a7890485f120d7f7da85e2b434e4a417d9bc
 WHIRLPOOL 
b8ecab404679f48ff611e543d375829a636f4026232a83ff2fe3f3ca42f1a5c2a589641d4c09b92b7b078026a6b4d95b172a764089729086f7001d3a4850b272

diff --git a/app-text/podofo/podofo-0.9.6_pre20170629.ebuild 
b/app-text/podofo/podofo-0.9.6_pre20170629.ebuild
new file mode 100644
index 000..fad0b2864e2
--- /dev/null
+++ b/app-text/podofo/podofo-0.9.6_pre20170629.ebuild
@@ -0,0 +1,143 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit cmake-utils flag-o-matic multilib toolchain-funcs
+
+DESCRIPTION="PoDoFo is a C++ library to work with the PDF file format"
+HOMEPAGE="https://sourceforge.net/projects/podofo/";
+SRC_URI="mirror://gentoo/${P}.tar.xz"
+
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86"
+IUSE="+boost idn libressl debug test +tools"
+REQUIRED_USE="test? ( tools )"
+
+RDEPEND="dev-lang/lua:=
+   idn? ( net-dns/libidn:= )
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:0= )
+   media-libs/fontconfig:=
+   media-libs/freetype:2=
+   virtual/jpeg:0=
+   media-libs/libpng:0=
+   media-libs/tiff:0=
+   sys-libs/zlib:="
+DEPEND="${RDEPEND}
+   virtual/pkgconfig
+   boost? ( dev-util/boost-build )
+   test? ( dev-util/cppunit )"
+
+DOCS="AUTHORS ChangeLog TODO"
+
+src_prepare() {
+   local x sed_args
+
+   # The 0.9.6 ABI is not necessarily stable, so make PODOFO_SOVERSION
+   # equal to ${PV}.
+   sed -e 's|${PODOFO_VERSION_PATCH}|\0_'${PV##*_}'|' -i CMakeLists.txt || 
die
+
+   # bug 620934 - Disable linking with cppunit when possible, since it
+   # triggers errors with some older compilers.
+   use test || sed -e 's:^FIND_PACKAGE(CppUnit):#\0:' -i CMakeLists.txt || 
die
+
+   # bug 556962
+   sed -i -e 's|Decrypt( pEncryptedBuffer, nOutputLen, pDecryptedBuffer, 
m_lLen );|Decrypt( pEncryptedBuffer, (pdf_long)nOutputLen, pDecryptedBuffer, 
(pdf_long\&)m_lLen );|' \
+   test/unit/EncryptTest.cpp || die
+
+   sed -i \
+   -e "s:LIBDIRNAME \"lib\":LIBDIRNAME \"$(get_libdir)\":" \
+   -e "s:LIBIDN_FOUND:HAVE_LIBIDN:g" \
+   CMakeLists.txt || die
+
+   # Use pkg-config to find headers for bug #459404.
+   sed_args=
+   for x in $($(tc-getPKG_CONFIG) --cflags freetype2) ; do
+   [[ ${x} == -I* ]] || continue
+   x=${x#-I}
+   if [[ -f ${x}/ft2build.h ]] ; then
+   sed_args+=" -e s:/usr/include/\\r\$:${x}:"
+   elif [[ -f ${x}/freetype/config/ftheader.h ]] ; then
+   sed_args+=" -e s:/usr/include/freetype2\\r\$:${x}:"
+   fi
+   done
+   [[ -n ${sed_args} ]] && \
+   { sed -i ${sed_args} cmake/modules/FindFREETYPE.cmake || die; }
+
+   # Bug #439784: Add missing unistd include for close() and unlink().
+   sed -i 's:^#include $:#include \n\0:' -i \
+   test/unit/TestUtils.cpp || die
+
+   # TODO: fix these test cases
+   # ColorTest.cpp:62:Assertion
+   # Test name: ColorTest::testDefaultConstructor
+   # expected exception not thrown
+   # - Expected: PdfError
+   sed -e 's:CPPUNIT_TEST( testDefaultConstructor ://\0:' \
+   -e 's:CPPUNIT_TEST( testGreyConstructor ://\0:' \
+   -e 's:CPPUNIT_TEST( testRGBConstructor ://\0:' \
+   -e 's:CPPUNIT_TEST( testCMYKConstructor ://\0:' \
+   -e 's:CPPUNIT_TEST( testColorSeparationAllConstructor ://\0

[gentoo-commits] repo/gentoo:master commit in: app-text/podofo/

2017-06-10 Thread Zac Medico
commit: 24598d33ad2f2c5f9c2077ad850fb7516f782bdd
Author: Zac Medico  gentoo  org>
AuthorDate: Sat Jun 10 19:21:59 2017 +
Commit: Zac Medico  gentoo  org>
CommitDate: Sat Jun 10 19:25:33 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24598d33

app-text/podofo: bug 620934: disable cppunit when possible

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 app-text/podofo/podofo-0.9.6_pre20170508-r1.ebuild | 4 
 1 file changed, 4 insertions(+)

diff --git a/app-text/podofo/podofo-0.9.6_pre20170508-r1.ebuild 
b/app-text/podofo/podofo-0.9.6_pre20170508-r1.ebuild
index 9ac79038503..5c126494929 100644
--- a/app-text/podofo/podofo-0.9.6_pre20170508-r1.ebuild
+++ b/app-text/podofo/podofo-0.9.6_pre20170508-r1.ebuild
@@ -38,6 +38,10 @@ src_prepare() {
# equal to ${PV}.
sed -e 's|${PODOFO_VERSION_PATCH}|\0_'${PV##*_}'|' -i CMakeLists.txt || 
die
 
+   # bug 620934 - Disable linking with cppunit when possible, since it
+   # triggers errors with some older compilers.
+   use test || sed -e 's:^FIND_PACKAGE(CppUnit):#\0:' -i CMakeLists.txt || 
die
+
# bug 556962
sed -i -e 's|Decrypt( pEncryptedBuffer, nOutputLen, pDecryptedBuffer, 
m_lLen );|Decrypt( pEncryptedBuffer, (pdf_long)nOutputLen, pDecryptedBuffer, 
(pdf_long\&)m_lLen );|' \
test/unit/EncryptTest.cpp || die



[gentoo-commits] repo/gentoo:master commit in: app-text/podofo/

2017-05-23 Thread Zac Medico
commit: 9af11512a2f39c01031cfa157eeedfc713845f2d
Author: Zac Medico  gentoo  org>
AuthorDate: Tue May 23 16:46:50 2017 +
Commit: Zac Medico  gentoo  org>
CommitDate: Tue May 23 16:47:45 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9af11512

app-text/podofo: add upstream changelog to metadata

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 app-text/podofo/metadata.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/app-text/podofo/metadata.xml b/app-text/podofo/metadata.xml
index 9faec0a121a..0a2bfbe2da9 100644
--- a/app-text/podofo/metadata.xml
+++ b/app-text/podofo/metadata.xml
@@ -12,5 +12,6 @@


podofo
+   
https://sourceforge.net/p/podofo/code/commit_browser

 



[gentoo-commits] repo/gentoo:master commit in: app-text/podofo/

2017-05-21 Thread Zac Medico
commit: 2e7b347eb8060275d19b5c707cb8647580596ab1
Author: Zac Medico  gentoo  org>
AuthorDate: Sun May 21 22:35:52 2017 +
Commit: Zac Medico  gentoo  org>
CommitDate: Sun May 21 22:57:59 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e7b347e

app-text/podofo: add tools USE flag (bug 608876)

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 app-text/podofo/metadata.xml   | 3 +++
 app-text/podofo/podofo-0.9.6_pre20170508-r1.ebuild | 6 --
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/app-text/podofo/metadata.xml b/app-text/podofo/metadata.xml
index 11df5f9c71c..9faec0a121a 100644
--- a/app-text/podofo/metadata.xml
+++ b/app-text/podofo/metadata.xml
@@ -6,6 +6,9 @@


Add support for boost
+   
+   Build and install commandline tools.
+   


podofo

diff --git a/app-text/podofo/podofo-0.9.6_pre20170508-r1.ebuild 
b/app-text/podofo/podofo-0.9.6_pre20170508-r1.ebuild
index 01c90503657..9ac79038503 100644
--- a/app-text/podofo/podofo-0.9.6_pre20170508-r1.ebuild
+++ b/app-text/podofo/podofo-0.9.6_pre20170508-r1.ebuild
@@ -11,7 +11,8 @@ SRC_URI="mirror://gentoo/${P}.tar.xz"
 LICENSE="GPL-2 LGPL-2.1"
 SLOT="0/${PVR}"
 KEYWORDS="amd64 ~arm hppa ppc ppc64 ~sparc x86"
-IUSE="+boost idn libressl debug test"
+IUSE="+boost idn libressl debug test +tools"
+REQUIRED_USE="test? ( tools )"
 
 RDEPEND="dev-lang/lua:=
idn? ( net-dns/libidn:= )
@@ -125,7 +126,8 @@ src_configure() {
"-DUSE_STLPORT=0"
-DWANT_BOOST=$(usex boost ON OFF)
-DHAVE_LIBIDN=$(usex idn ON OFF)
-   -DHAVE_CPPUNIT=$(usex test ON OFF)
+   -DPODOFO_HAVE_CPPUNIT=$(usex test ON OFF)
+   -DPODOFO_BUILD_LIB_ONLY=$(usex tools OFF ON)
)
 
cmake-utils_src_configure



[gentoo-commits] repo/gentoo:master commit in: app-text/podofo/

2017-05-17 Thread Zac Medico
commit: a5245004eda3b53d1adc39cbe56a5096600d198b
Author: Zac Medico  gentoo  org>
AuthorDate: Thu May 18 06:42:53 2017 +
Commit: Zac Medico  gentoo  org>
CommitDate: Thu May 18 06:42:53 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5245004

app-text/podofo: remove vulnerable versions for bug 617204

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 app-text/podofo/Manifest|   3 -
 app-text/podofo/podofo-0.9.2.ebuild | 123 -
 app-text/podofo/podofo-0.9.5.ebuild | 133 
 3 files changed, 259 deletions(-)

diff --git a/app-text/podofo/Manifest b/app-text/podofo/Manifest
index 8ee1bb1253f..7faf462100f 100644
--- a/app-text/podofo/Manifest
+++ b/app-text/podofo/Manifest
@@ -1,4 +1 @@
-DIST podofo-0.9.2-freetype251.patch 1106 SHA256 
324889c99eccafb5e4732d65d325453470ca659c5b43b2e9265f7e5d3fd8bbeb SHA512 
185d9e16587fec922720042e7a604ae4b1c5b36c115beebf08ff73a46bf2859b25b0dda6b858f31e2fab3dfa88c79265e5d4e0da30091e83b22dff2bdaa2b6da
 WHIRLPOOL 
b9fb89a41be7ed16f1b0ca78e0ec95427133077c8b7b5c120a713d38624bb51eb8fe5dd08d1c9bf1b2ed5fd077222b6e40d224583c6436c7ee117caf7e310dbf
-DIST podofo-0.9.2.tar.gz 1092131 SHA256 
465191618c57da9ae9230e7919e1985a242ddc7d1045cfdb6fb066140ed0a3f3 SHA512 
e0bda743b192edfd42f381498edc56f30e6d89f45e7abd2b4351e15fd672a432d07f067ab8ed5cf378b0ecbab6d98abb32c22c1ce860c0021e31235fc5683a21
 WHIRLPOOL 
f22c5ec0c3de1ef661198e8c94b2ac9faab88c6b12ebe27da14642c6eaed154f2e1fbf4f404807d7e33f895ffb64663eb7e403ec8a9e0f87b32e3470b7f5acfb
-DIST podofo-0.9.5.tar.gz 1160799 SHA256 
854981cb897ebc14bac854ea0f25305372261a48a205363fe1c61659ba7b5304 SHA512 
d13b30bfebc89b809173cd2251eed1f15dfa90abb58371bfdce875797d40663923571824ad2b0b1d97aa1be212bdbb710c3a0439bc05bed7022b8eb75ca74705
 WHIRLPOOL 
41ad1a1a7992bc186bd2c8b77b38479b47094b00631ee8e5990745ae88e554a1b34557637e3c4b86959ec071019d33ab11bda394c8181ab21b6df2f7b09a44b7
 DIST podofo-0.9.6_pre20170508.tar.xz 919876 SHA256 
6a35e08aa22105eeb6b00078b74791da2d4dc0d86189f795315808428efacd17 SHA512 
37d8e844ba5763d06d467e316871436e1a63795d66675677d9775cd1bd311f43b241d58e82213a0342ab69a0f5cd80261aad48c4af29c82f7bcc0c14bd242f10
 WHIRLPOOL 
c0ad8baca1f912929d1b2dd2e783340aeeb50965136dcf2699407cb70ca058e20748ee8024739b913a1e2ddb317c72f5aed6074862c4360d339365764ac9c67a

diff --git a/app-text/podofo/podofo-0.9.2.ebuild 
b/app-text/podofo/podofo-0.9.2.ebuild
deleted file mode 100644
index d75d271a827..000
--- a/app-text/podofo/podofo-0.9.2.ebuild
+++ /dev/null
@@ -1,123 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit cmake-utils flag-o-matic multilib toolchain-funcs
-
-DESCRIPTION="PoDoFo is a C++ library to work with the PDF file format"
-HOMEPAGE="https://sourceforge.net/projects/podofo/";
-SRC_URI="mirror://sourceforge/podofo/${P}.tar.gz
-   https://dev.gentoo.org/~polynomial-c/${PN}-0.9.2-freetype251.patch";
-
-LICENSE="GPL-2 LGPL-2.1"
-SLOT="0"
-KEYWORDS="amd64 ~arm hppa ppc ppc64 ~sparc x86"
-IUSE="+boost idn debug test"
-
-RDEPEND="dev-lang/lua:=
-   idn? ( net-dns/libidn:= )
-   dev-libs/openssl:0=
-   media-libs/fontconfig:=
-   media-libs/freetype:2=
-   virtual/jpeg:0=
-   media-libs/libpng:0=
-   media-libs/tiff:0=
-   sys-libs/zlib:="
-DEPEND="${RDEPEND}
-   virtual/pkgconfig
-   boost? ( dev-util/boost-build )
-   test? ( dev-util/cppunit )"
-
-DOCS="AUTHORS ChangeLog TODO"
-
-src_prepare() {
-   epatch "${DISTDIR}"/${PN}-0.9.2-freetype251.patch
-
-   local x sed_args
-
-   sed -i \
-   -e "s:LIBDIRNAME \"lib\":LIBDIRNAME \"$(get_libdir)\":" \
-   -e "s:LIBIDN_FOUND:HAVE_LIBIDN:g" \
-   CMakeLists.txt || die
-
-   # Use pkg-config to find headers for bug #459404.
-   sed_args=
-   for x in $($(tc-getPKG_CONFIG) --cflags freetype2) ; do
-   [[ ${x} == -I* ]] || continue
-   x=${x#-I}
-   if [[ -f ${x}/ft2build.h ]] ; then
-   sed_args+=" -e s:/usr/include/\\r\$:${x}:"
-   elif [[ -f ${x}/freetype/config/ftheader.h ]] ; then
-   sed_args+=" -e s:/usr/include/freetype2\\r\$:${x}:"
-   fi
-   done
-   [[ -n ${sed_args} ]] && \
-   { sed -i ${sed_args} cmake/modules/FindFREETYPE.cmake || die; }
-
-   # Bug #439784: Add missing unistd include for close() and unlink().
-   sed -i 's:^#include $:#include \n\0:' -i \
-   test/unit/TestUtils.cpp || die
-
-   # TODO: fix these test cases
-   # ColorTest.cpp:62:Assertion
-   # Test name: ColorTest::testDefaultConstructor
-   # expected exception not thrown
-   # - Expected: PdfError
-   sed -e 's:CPPUNIT_TEST( testDefaultConstructor ://\0:' \
-   -e 's:CPPUNIT_TEST( testGreyConstructor ://\0:' \
-   -e 's:CPPUNI

[gentoo-commits] repo/gentoo:master commit in: app-text/podofo/

2017-05-17 Thread Michael Weber
commit: 7b7694f7cea2795ed059e0c770dcd7ce035db149
Author: Michael Weber  gentoo  org>
AuthorDate: Thu May 18 04:59:16 2017 +
Commit: Michael Weber  gentoo  org>
CommitDate: Thu May 18 05:00:51 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b7694f7

app-text/podofo: ppc stable (bug 617204).

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

 app-text/podofo/podofo-0.9.6_pre20170508-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/podofo/podofo-0.9.6_pre20170508-r1.ebuild 
b/app-text/podofo/podofo-0.9.6_pre20170508-r1.ebuild
index 5cce373fb0e..01c90503657 100644
--- a/app-text/podofo/podofo-0.9.6_pre20170508-r1.ebuild
+++ b/app-text/podofo/podofo-0.9.6_pre20170508-r1.ebuild
@@ -10,7 +10,7 @@ SRC_URI="mirror://gentoo/${P}.tar.xz"
 
 LICENSE="GPL-2 LGPL-2.1"
 SLOT="0/${PVR}"
-KEYWORDS="amd64 ~arm hppa ~ppc ppc64 ~sparc x86"
+KEYWORDS="amd64 ~arm hppa ppc ppc64 ~sparc x86"
 IUSE="+boost idn libressl debug test"
 
 RDEPEND="dev-lang/lua:=



[gentoo-commits] repo/gentoo:master commit in: app-text/podofo/

2017-05-16 Thread Agostino Sarubbo
commit: c088f82b4ca2b12b9a4ac2744ddce2b7e67cb767
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue May 16 13:03:32 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue May 16 13:05:28 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c088f82b

app-text/podofo: ppc64 stable wrt bug #617204

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

 app-text/podofo/podofo-0.9.6_pre20170508-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/podofo/podofo-0.9.6_pre20170508-r1.ebuild 
b/app-text/podofo/podofo-0.9.6_pre20170508-r1.ebuild
index af12f580a0c..5cce373fb0e 100644
--- a/app-text/podofo/podofo-0.9.6_pre20170508-r1.ebuild
+++ b/app-text/podofo/podofo-0.9.6_pre20170508-r1.ebuild
@@ -10,7 +10,7 @@ SRC_URI="mirror://gentoo/${P}.tar.xz"
 
 LICENSE="GPL-2 LGPL-2.1"
 SLOT="0/${PVR}"
-KEYWORDS="amd64 ~arm hppa ~ppc ~ppc64 ~sparc x86"
+KEYWORDS="amd64 ~arm hppa ~ppc ppc64 ~sparc x86"
 IUSE="+boost idn libressl debug test"
 
 RDEPEND="dev-lang/lua:=



[gentoo-commits] repo/gentoo:master commit in: app-text/podofo/

2017-05-16 Thread Agostino Sarubbo
commit: 605f69affb9ee57707f2c4bc6a30be40e8b044b6
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue May 16 07:59:17 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue May 16 07:59:17 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=605f69af

app-text/podofo: x86 stable wrt bug #617204

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

 app-text/podofo/podofo-0.9.6_pre20170508-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/podofo/podofo-0.9.6_pre20170508-r1.ebuild 
b/app-text/podofo/podofo-0.9.6_pre20170508-r1.ebuild
index ae5c5416c6a..af12f580a0c 100644
--- a/app-text/podofo/podofo-0.9.6_pre20170508-r1.ebuild
+++ b/app-text/podofo/podofo-0.9.6_pre20170508-r1.ebuild
@@ -10,7 +10,7 @@ SRC_URI="mirror://gentoo/${P}.tar.xz"
 
 LICENSE="GPL-2 LGPL-2.1"
 SLOT="0/${PVR}"
-KEYWORDS="amd64 ~arm hppa ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="amd64 ~arm hppa ~ppc ~ppc64 ~sparc x86"
 IUSE="+boost idn libressl debug test"
 
 RDEPEND="dev-lang/lua:=



[gentoo-commits] repo/gentoo:master commit in: app-text/podofo/

2017-05-15 Thread Jeroen Roovers
commit: 1701c8d14dcf35453ee3f203f8b17f2a6d2ec673
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Tue May 16 04:59:25 2017 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Tue May 16 04:59:25 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1701c8d1

app-text/podofo: Stable for HPPA (bug #617204).

Package-Manager: Portage-2.3.5, Repoman-2.3.2
RepoMan-Options: --ignore-arches

 app-text/podofo/podofo-0.9.6_pre20170508-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/podofo/podofo-0.9.6_pre20170508-r1.ebuild 
b/app-text/podofo/podofo-0.9.6_pre20170508-r1.ebuild
index d203843fdbe..ae5c5416c6a 100644
--- a/app-text/podofo/podofo-0.9.6_pre20170508-r1.ebuild
+++ b/app-text/podofo/podofo-0.9.6_pre20170508-r1.ebuild
@@ -10,7 +10,7 @@ SRC_URI="mirror://gentoo/${P}.tar.xz"
 
 LICENSE="GPL-2 LGPL-2.1"
 SLOT="0/${PVR}"
-KEYWORDS="amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="amd64 ~arm hppa ~ppc ~ppc64 ~sparc ~x86"
 IUSE="+boost idn libressl debug test"
 
 RDEPEND="dev-lang/lua:=



[gentoo-commits] repo/gentoo:master commit in: app-text/podofo/

2017-05-15 Thread Agostino Sarubbo
commit: 437e5ae1153a1b1898be4b203cf3a630d3227b63
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon May 15 14:15:45 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon May 15 14:15:45 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=437e5ae1

app-text/podofo: amd64 stable wrt bug #617204

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

 app-text/podofo/podofo-0.9.6_pre20170508-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/podofo/podofo-0.9.6_pre20170508-r1.ebuild 
b/app-text/podofo/podofo-0.9.6_pre20170508-r1.ebuild
index 2c239e72a11..d203843fdbe 100644
--- a/app-text/podofo/podofo-0.9.6_pre20170508-r1.ebuild
+++ b/app-text/podofo/podofo-0.9.6_pre20170508-r1.ebuild
@@ -10,7 +10,7 @@ SRC_URI="mirror://gentoo/${P}.tar.xz"
 
 LICENSE="GPL-2 LGPL-2.1"
 SLOT="0/${PVR}"
-KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86"
 IUSE="+boost idn libressl debug test"
 
 RDEPEND="dev-lang/lua:=



[gentoo-commits] repo/gentoo:master commit in: app-text/podofo/

2017-05-12 Thread Zac Medico
commit: 0455c4b0acbea17a3d20ada84ff1fea04479b9b4
Author: Zac Medico  gentoo  org>
AuthorDate: Fri May 12 10:06:03 2017 +
Commit: Zac Medico  gentoo  org>
CommitDate: Fri May 12 10:06:03 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0455c4b0

app-text/podofo: remove older ~ versions

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 app-text/podofo/Manifest|   2 -
 app-text/podofo/podofo-0.9.3.ebuild | 132 ---
 app-text/podofo/podofo-0.9.4.ebuild | 133 
 3 files changed, 267 deletions(-)

diff --git a/app-text/podofo/Manifest b/app-text/podofo/Manifest
index e877f84f6dd..8ee1bb1253f 100644
--- a/app-text/podofo/Manifest
+++ b/app-text/podofo/Manifest
@@ -1,6 +1,4 @@
 DIST podofo-0.9.2-freetype251.patch 1106 SHA256 
324889c99eccafb5e4732d65d325453470ca659c5b43b2e9265f7e5d3fd8bbeb SHA512 
185d9e16587fec922720042e7a604ae4b1c5b36c115beebf08ff73a46bf2859b25b0dda6b858f31e2fab3dfa88c79265e5d4e0da30091e83b22dff2bdaa2b6da
 WHIRLPOOL 
b9fb89a41be7ed16f1b0ca78e0ec95427133077c8b7b5c120a713d38624bb51eb8fe5dd08d1c9bf1b2ed5fd077222b6e40d224583c6436c7ee117caf7e310dbf
 DIST podofo-0.9.2.tar.gz 1092131 SHA256 
465191618c57da9ae9230e7919e1985a242ddc7d1045cfdb6fb066140ed0a3f3 SHA512 
e0bda743b192edfd42f381498edc56f30e6d89f45e7abd2b4351e15fd672a432d07f067ab8ed5cf378b0ecbab6d98abb32c22c1ce860c0021e31235fc5683a21
 WHIRLPOOL 
f22c5ec0c3de1ef661198e8c94b2ac9faab88c6b12ebe27da14642c6eaed154f2e1fbf4f404807d7e33f895ffb64663eb7e403ec8a9e0f87b32e3470b7f5acfb
-DIST podofo-0.9.3.tar.gz 1135095 SHA256 
ec261e31e89dce45b1a31be61e9c6bb250532e631a02d68ec5bb849ef0a222d8 SHA512 
c9a8076821502225d3ecf5a7e79ef2ebd7b9cc3e7d0902eabff33325b124109a1f5038f57b83e3fad0d82cff9cd557a9ed177adc7c176064085070aebcd7602d
 WHIRLPOOL 
44268efd48d6ab35fecf31e3ff773f6d9fcca091026f423ccffbe8afdb09fff9446eed8c64db9a4482695d6e4f4ae4585d7e51036197f619a7c304df1a8de8c2
-DIST podofo-0.9.4.tar.gz 1147939 SHA256 
ccdf505fcb4904617e728b15729da8700ff38442c1dd2f24fbd52934287ff859 SHA512 
2f675757d76ccfe2472358b04dc4cd55e2cf00ae447731af75645c7091a338b6d91dcd4b16240b305cdbb02384ddcd38048c0e3f1700185347d4e1eb5df9ee39
 WHIRLPOOL 
9461b288fe515eff96333d73c670cd4f464e0c43121968f4fc76418c4f2d7a9dfd9600eb315c52995a30c99d90d7c4249bd64a4c9b300e60b509ddc8c1143679
 DIST podofo-0.9.5.tar.gz 1160799 SHA256 
854981cb897ebc14bac854ea0f25305372261a48a205363fe1c61659ba7b5304 SHA512 
d13b30bfebc89b809173cd2251eed1f15dfa90abb58371bfdce875797d40663923571824ad2b0b1d97aa1be212bdbb710c3a0439bc05bed7022b8eb75ca74705
 WHIRLPOOL 
41ad1a1a7992bc186bd2c8b77b38479b47094b00631ee8e5990745ae88e554a1b34557637e3c4b86959ec071019d33ab11bda394c8181ab21b6df2f7b09a44b7
 DIST podofo-0.9.6_pre20170508.tar.xz 919876 SHA256 
6a35e08aa22105eeb6b00078b74791da2d4dc0d86189f795315808428efacd17 SHA512 
37d8e844ba5763d06d467e316871436e1a63795d66675677d9775cd1bd311f43b241d58e82213a0342ab69a0f5cd80261aad48c4af29c82f7bcc0c14bd242f10
 WHIRLPOOL 
c0ad8baca1f912929d1b2dd2e783340aeeb50965136dcf2699407cb70ca058e20748ee8024739b913a1e2ddb317c72f5aed6074862c4360d339365764ac9c67a

diff --git a/app-text/podofo/podofo-0.9.3.ebuild 
b/app-text/podofo/podofo-0.9.3.ebuild
deleted file mode 100644
index 0b2c8c6b243..000
--- a/app-text/podofo/podofo-0.9.3.ebuild
+++ /dev/null
@@ -1,132 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit cmake-utils flag-o-matic multilib toolchain-funcs
-
-DESCRIPTION="PoDoFo is a C++ library to work with the PDF file format"
-HOMEPAGE="https://sourceforge.net/projects/podofo/";
-SRC_URI="mirror://sourceforge/podofo/${P}.tar.gz"
-
-LICENSE="GPL-2 LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86"
-IUSE="+boost idn libressl debug test"
-
-RDEPEND="dev-lang/lua:=
-   idn? ( net-dns/libidn:= )
-   !libressl? ( dev-libs/openssl:0= )
-   libressl? ( dev-libs/libressl:0= )
-   media-libs/fontconfig:=
-   media-libs/freetype:2=
-   virtual/jpeg:0=
-   media-libs/libpng:0=
-   media-libs/tiff:0=
-   sys-libs/zlib:="
-DEPEND="${RDEPEND}
-   virtual/pkgconfig
-   boost? ( dev-util/boost-build )
-   test? ( dev-util/cppunit )"
-
-DOCS="AUTHORS ChangeLog TODO"
-
-src_prepare() {
-   local x sed_args
-
-   # bug 556962
-   sed -i -e 's|Decrypt( pEncryptedBuffer, nOutputLen, pDecryptedBuffer, 
m_lLen );|Decrypt( pEncryptedBuffer, (pdf_long)nOutputLen, pDecryptedBuffer, 
(pdf_long\&)m_lLen );|' \
-   test/unit/EncryptTest.cpp || die
-
-   sed -i \
-   -e "s:LIBDIRNAME \"lib\":LIBDIRNAME \"$(get_libdir)\":" \
-   -e "s:LIBIDN_FOUND:HAVE_LIBIDN:g" \
-   CMakeLists.txt || die
-
-   # Use pkg-config to find headers for bug #459404.
-   sed_args=
-   for x in $($(tc-getPKG_CONFIG) --cflags freetype2) ; do
-   [[ ${x} == -I* ]] || continue
-   x=${x#-I}

[gentoo-commits] repo/gentoo:master commit in: app-text/podofo/

2017-05-12 Thread Zac Medico
commit: 82f9322ea3a6a61c9fafc25cfbc69ad1c7447580
Author: Zac Medico  gentoo  org>
AuthorDate: Fri May 12 10:01:07 2017 +
Commit: Zac Medico  gentoo  org>
CommitDate: Fri May 12 10:01:07 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82f9322e

app-text/podofo: remove old 0.9.6_pre ebuilds

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 app-text/podofo/Manifest|   1 -
 app-text/podofo/podofo-0.9.6_pre20170428.ebuild | 133 
 app-text/podofo/podofo-0.9.6_pre20170508.ebuild | 133 
 3 files changed, 267 deletions(-)

diff --git a/app-text/podofo/Manifest b/app-text/podofo/Manifest
index ab08f36555d..e877f84f6dd 100644
--- a/app-text/podofo/Manifest
+++ b/app-text/podofo/Manifest
@@ -3,5 +3,4 @@ DIST podofo-0.9.2.tar.gz 1092131 SHA256 
465191618c57da9ae9230e7919e1985a242ddc7d
 DIST podofo-0.9.3.tar.gz 1135095 SHA256 
ec261e31e89dce45b1a31be61e9c6bb250532e631a02d68ec5bb849ef0a222d8 SHA512 
c9a8076821502225d3ecf5a7e79ef2ebd7b9cc3e7d0902eabff33325b124109a1f5038f57b83e3fad0d82cff9cd557a9ed177adc7c176064085070aebcd7602d
 WHIRLPOOL 
44268efd48d6ab35fecf31e3ff773f6d9fcca091026f423ccffbe8afdb09fff9446eed8c64db9a4482695d6e4f4ae4585d7e51036197f619a7c304df1a8de8c2
 DIST podofo-0.9.4.tar.gz 1147939 SHA256 
ccdf505fcb4904617e728b15729da8700ff38442c1dd2f24fbd52934287ff859 SHA512 
2f675757d76ccfe2472358b04dc4cd55e2cf00ae447731af75645c7091a338b6d91dcd4b16240b305cdbb02384ddcd38048c0e3f1700185347d4e1eb5df9ee39
 WHIRLPOOL 
9461b288fe515eff96333d73c670cd4f464e0c43121968f4fc76418c4f2d7a9dfd9600eb315c52995a30c99d90d7c4249bd64a4c9b300e60b509ddc8c1143679
 DIST podofo-0.9.5.tar.gz 1160799 SHA256 
854981cb897ebc14bac854ea0f25305372261a48a205363fe1c61659ba7b5304 SHA512 
d13b30bfebc89b809173cd2251eed1f15dfa90abb58371bfdce875797d40663923571824ad2b0b1d97aa1be212bdbb710c3a0439bc05bed7022b8eb75ca74705
 WHIRLPOOL 
41ad1a1a7992bc186bd2c8b77b38479b47094b00631ee8e5990745ae88e554a1b34557637e3c4b86959ec071019d33ab11bda394c8181ab21b6df2f7b09a44b7
-DIST podofo-0.9.6_pre20170428.tar.xz 919388 SHA256 
61d5045beb4db7f5de5c73e6f56fcbe421b3dcde1eddef6ddcfae487e7b19f2a SHA512 
1d1429be859c2e6ee25251236e253081ac217a0c078f7ed5e99bfd4cc089b074362b0ba93b1e3d96385e36bb6824df1ffbddbf1c714d420bb59256d52208a200
 WHIRLPOOL 
222a929ad2677976c1a08cff7c24a0fdc280e69f01e0a325a054c77b470b61bfc8d61a9f3568aee52ce0a514610d27852d9596a719db5715401594c101cb2a09
 DIST podofo-0.9.6_pre20170508.tar.xz 919876 SHA256 
6a35e08aa22105eeb6b00078b74791da2d4dc0d86189f795315808428efacd17 SHA512 
37d8e844ba5763d06d467e316871436e1a63795d66675677d9775cd1bd311f43b241d58e82213a0342ab69a0f5cd80261aad48c4af29c82f7bcc0c14bd242f10
 WHIRLPOOL 
c0ad8baca1f912929d1b2dd2e783340aeeb50965136dcf2699407cb70ca058e20748ee8024739b913a1e2ddb317c72f5aed6074862c4360d339365764ac9c67a

diff --git a/app-text/podofo/podofo-0.9.6_pre20170428.ebuild 
b/app-text/podofo/podofo-0.9.6_pre20170428.ebuild
deleted file mode 100644
index f9f86443cb7..000
--- a/app-text/podofo/podofo-0.9.6_pre20170428.ebuild
+++ /dev/null
@@ -1,133 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit cmake-utils flag-o-matic multilib toolchain-funcs
-
-DESCRIPTION="PoDoFo is a C++ library to work with the PDF file format"
-HOMEPAGE="https://sourceforge.net/projects/podofo/";
-SRC_URI="mirror://gentoo/${P}.tar.xz"
-
-LICENSE="GPL-2 LGPL-2.1"
-SLOT="0/${PV}"
-KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86"
-IUSE="+boost idn libressl debug test"
-
-RDEPEND="dev-lang/lua:=
-   idn? ( net-dns/libidn:= )
-   !libressl? ( dev-libs/openssl:0= )
-   libressl? ( dev-libs/libressl:0= )
-   media-libs/fontconfig:=
-   media-libs/freetype:2=
-   virtual/jpeg:0=
-   media-libs/libpng:0=
-   media-libs/tiff:0=
-   sys-libs/zlib:="
-DEPEND="${RDEPEND}
-   virtual/pkgconfig
-   boost? ( dev-util/boost-build )
-   test? ( dev-util/cppunit )"
-
-DOCS="AUTHORS ChangeLog TODO"
-
-src_prepare() {
-   local x sed_args
-
-   # bug 556962
-   sed -i -e 's|Decrypt( pEncryptedBuffer, nOutputLen, pDecryptedBuffer, 
m_lLen );|Decrypt( pEncryptedBuffer, (pdf_long)nOutputLen, pDecryptedBuffer, 
(pdf_long\&)m_lLen );|' \
-   test/unit/EncryptTest.cpp || die
-
-   sed -i \
-   -e "s:LIBDIRNAME \"lib\":LIBDIRNAME \"$(get_libdir)\":" \
-   -e "s:LIBIDN_FOUND:HAVE_LIBIDN:g" \
-   CMakeLists.txt || die
-
-   # Use pkg-config to find headers for bug #459404.
-   sed_args=
-   for x in $($(tc-getPKG_CONFIG) --cflags freetype2) ; do
-   [[ ${x} == -I* ]] || continue
-   x=${x#-I}
-   if [[ -f ${x}/ft2build.h ]] ; then
-   sed_args+=" -e s:/usr/include/\\r\$:${x}:"
-   elif [[ -f ${x}/freetype/config/ftheader.h ]] ; then
-   sed_args+=" -e s:/usr/include/freetype2\

[gentoo-commits] repo/gentoo:master commit in: app-text/podofo/

2017-05-12 Thread Zac Medico
commit: ff9f058c9ab61d4b1c8dbb7f9a05852bcde94255
Author: Zac Medico  gentoo  org>
AuthorDate: Fri May 12 09:18:45 2017 +
Commit: Zac Medico  gentoo  org>
CommitDate: Fri May 12 09:56:46 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff9f058c

app-text/podofo: revbump to 0.9.6_pre20170508-r1 with new soname+subslot

The libpodofo.so.0.9.6 ABI is not necessarily stable, therefore
change the soname to libpodofo.so.0.9.6_pre20170508 so that
preserve-libs will work nicely for things that don't use
slot-operator deps, and bump the subslot for things that use
slot-operator deps.

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 app-text/podofo/podofo-0.9.6_pre20170508-r1.ebuild | 137 +
 1 file changed, 137 insertions(+)

diff --git a/app-text/podofo/podofo-0.9.6_pre20170508-r1.ebuild 
b/app-text/podofo/podofo-0.9.6_pre20170508-r1.ebuild
new file mode 100644
index 000..2c239e72a11
--- /dev/null
+++ b/app-text/podofo/podofo-0.9.6_pre20170508-r1.ebuild
@@ -0,0 +1,137 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit cmake-utils flag-o-matic multilib toolchain-funcs
+
+DESCRIPTION="PoDoFo is a C++ library to work with the PDF file format"
+HOMEPAGE="https://sourceforge.net/projects/podofo/";
+SRC_URI="mirror://gentoo/${P}.tar.xz"
+
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="0/${PVR}"
+KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86"
+IUSE="+boost idn libressl debug test"
+
+RDEPEND="dev-lang/lua:=
+   idn? ( net-dns/libidn:= )
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:0= )
+   media-libs/fontconfig:=
+   media-libs/freetype:2=
+   virtual/jpeg:0=
+   media-libs/libpng:0=
+   media-libs/tiff:0=
+   sys-libs/zlib:="
+DEPEND="${RDEPEND}
+   virtual/pkgconfig
+   boost? ( dev-util/boost-build )
+   test? ( dev-util/cppunit )"
+
+DOCS="AUTHORS ChangeLog TODO"
+
+src_prepare() {
+   local x sed_args
+
+   # The 0.9.6 ABI is not necessarily stable, so make PODOFO_SOVERSION
+   # equal to ${PV}.
+   sed -e 's|${PODOFO_VERSION_PATCH}|\0_'${PV##*_}'|' -i CMakeLists.txt || 
die
+
+   # bug 556962
+   sed -i -e 's|Decrypt( pEncryptedBuffer, nOutputLen, pDecryptedBuffer, 
m_lLen );|Decrypt( pEncryptedBuffer, (pdf_long)nOutputLen, pDecryptedBuffer, 
(pdf_long\&)m_lLen );|' \
+   test/unit/EncryptTest.cpp || die
+
+   sed -i \
+   -e "s:LIBDIRNAME \"lib\":LIBDIRNAME \"$(get_libdir)\":" \
+   -e "s:LIBIDN_FOUND:HAVE_LIBIDN:g" \
+   CMakeLists.txt || die
+
+   # Use pkg-config to find headers for bug #459404.
+   sed_args=
+   for x in $($(tc-getPKG_CONFIG) --cflags freetype2) ; do
+   [[ ${x} == -I* ]] || continue
+   x=${x#-I}
+   if [[ -f ${x}/ft2build.h ]] ; then
+   sed_args+=" -e s:/usr/include/\\r\$:${x}:"
+   elif [[ -f ${x}/freetype/config/ftheader.h ]] ; then
+   sed_args+=" -e s:/usr/include/freetype2\\r\$:${x}:"
+   fi
+   done
+   [[ -n ${sed_args} ]] && \
+   { sed -i ${sed_args} cmake/modules/FindFREETYPE.cmake || die; }
+
+   # Bug #439784: Add missing unistd include for close() and unlink().
+   sed -i 's:^#include $:#include \n\0:' -i \
+   test/unit/TestUtils.cpp || die
+
+   # TODO: fix these test cases
+   # ColorTest.cpp:62:Assertion
+   # Test name: ColorTest::testDefaultConstructor
+   # expected exception not thrown
+   # - Expected: PdfError
+   sed -e 's:CPPUNIT_TEST( testDefaultConstructor ://\0:' \
+   -e 's:CPPUNIT_TEST( testGreyConstructor ://\0:' \
+   -e 's:CPPUNIT_TEST( testRGBConstructor ://\0:' \
+   -e 's:CPPUNIT_TEST( testCMYKConstructor ://\0:' \
+   -e 's:CPPUNIT_TEST( testColorSeparationAllConstructor ://\0:' \
+   -e 's:CPPUNIT_TEST( testColorSeparationNoneConstructor ://\0:' \
+   -e 's:CPPUNIT_TEST( testColorSeparationConstructor ://\0:' \
+   -e 's:CPPUNIT_TEST( testColorCieLabConstructor ://\0:' \
+   -i test/unit/ColorTest.h || die
+
+   # ColorTest.cpp:42:Assertion
+   # Test name: ColorTest::testHexNames
+   # assertion failed
+   # - Expression: static_cast(rgb.GetGreen() * 255.0) == 0x0A
+   sed -e 's:CPPUNIT_TEST( testHexNames ://\0:' \
+   -i test/unit/ColorTest.h || die
+
+   # Bug #352125: test failure, depending on installed fonts
+   # ##Failure Location unknown## : Error
+   # Test name: FontTest::testFonts
+   # uncaught exception of type PoDoFo::PdfError
+   # - ePdfError_UnsupportedFontFormat
+   sed -e 's:CPPUNIT_TEST( testFonts ://\0:' \
+   -i test/unit/FontTest.h || die
+
+   # Test name: EncodingTest::testDifferencesEncoding
+   # 

[gentoo-commits] repo/gentoo:master commit in: app-text/podofo/

2017-05-10 Thread Zac Medico
commit: 213746d55265ff9167fbf4aa616b840775c4258d
Author: Zac Medico  gentoo  org>
AuthorDate: Wed May 10 19:13:17 2017 +
Commit: Zac Medico  gentoo  org>
CommitDate: Wed May 10 20:07:32 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=213746d5

app-text/podofo: version bump to 0.9.6_pre20170508

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 app-text/podofo/Manifest|   1 +
 app-text/podofo/podofo-0.9.6_pre20170508.ebuild | 133 
 2 files changed, 134 insertions(+)

diff --git a/app-text/podofo/Manifest b/app-text/podofo/Manifest
index 34bdfb6859d..ab08f36555d 100644
--- a/app-text/podofo/Manifest
+++ b/app-text/podofo/Manifest
@@ -4,3 +4,4 @@ DIST podofo-0.9.3.tar.gz 1135095 SHA256 
ec261e31e89dce45b1a31be61e9c6bb250532e63
 DIST podofo-0.9.4.tar.gz 1147939 SHA256 
ccdf505fcb4904617e728b15729da8700ff38442c1dd2f24fbd52934287ff859 SHA512 
2f675757d76ccfe2472358b04dc4cd55e2cf00ae447731af75645c7091a338b6d91dcd4b16240b305cdbb02384ddcd38048c0e3f1700185347d4e1eb5df9ee39
 WHIRLPOOL 
9461b288fe515eff96333d73c670cd4f464e0c43121968f4fc76418c4f2d7a9dfd9600eb315c52995a30c99d90d7c4249bd64a4c9b300e60b509ddc8c1143679
 DIST podofo-0.9.5.tar.gz 1160799 SHA256 
854981cb897ebc14bac854ea0f25305372261a48a205363fe1c61659ba7b5304 SHA512 
d13b30bfebc89b809173cd2251eed1f15dfa90abb58371bfdce875797d40663923571824ad2b0b1d97aa1be212bdbb710c3a0439bc05bed7022b8eb75ca74705
 WHIRLPOOL 
41ad1a1a7992bc186bd2c8b77b38479b47094b00631ee8e5990745ae88e554a1b34557637e3c4b86959ec071019d33ab11bda394c8181ab21b6df2f7b09a44b7
 DIST podofo-0.9.6_pre20170428.tar.xz 919388 SHA256 
61d5045beb4db7f5de5c73e6f56fcbe421b3dcde1eddef6ddcfae487e7b19f2a SHA512 
1d1429be859c2e6ee25251236e253081ac217a0c078f7ed5e99bfd4cc089b074362b0ba93b1e3d96385e36bb6824df1ffbddbf1c714d420bb59256d52208a200
 WHIRLPOOL 
222a929ad2677976c1a08cff7c24a0fdc280e69f01e0a325a054c77b470b61bfc8d61a9f3568aee52ce0a514610d27852d9596a719db5715401594c101cb2a09
+DIST podofo-0.9.6_pre20170508.tar.xz 919876 SHA256 
6a35e08aa22105eeb6b00078b74791da2d4dc0d86189f795315808428efacd17 SHA512 
37d8e844ba5763d06d467e316871436e1a63795d66675677d9775cd1bd311f43b241d58e82213a0342ab69a0f5cd80261aad48c4af29c82f7bcc0c14bd242f10
 WHIRLPOOL 
c0ad8baca1f912929d1b2dd2e783340aeeb50965136dcf2699407cb70ca058e20748ee8024739b913a1e2ddb317c72f5aed6074862c4360d339365764ac9c67a

diff --git a/app-text/podofo/podofo-0.9.6_pre20170508.ebuild 
b/app-text/podofo/podofo-0.9.6_pre20170508.ebuild
new file mode 100644
index 000..f9f86443cb7
--- /dev/null
+++ b/app-text/podofo/podofo-0.9.6_pre20170508.ebuild
@@ -0,0 +1,133 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit cmake-utils flag-o-matic multilib toolchain-funcs
+
+DESCRIPTION="PoDoFo is a C++ library to work with the PDF file format"
+HOMEPAGE="https://sourceforge.net/projects/podofo/";
+SRC_URI="mirror://gentoo/${P}.tar.xz"
+
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86"
+IUSE="+boost idn libressl debug test"
+
+RDEPEND="dev-lang/lua:=
+   idn? ( net-dns/libidn:= )
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:0= )
+   media-libs/fontconfig:=
+   media-libs/freetype:2=
+   virtual/jpeg:0=
+   media-libs/libpng:0=
+   media-libs/tiff:0=
+   sys-libs/zlib:="
+DEPEND="${RDEPEND}
+   virtual/pkgconfig
+   boost? ( dev-util/boost-build )
+   test? ( dev-util/cppunit )"
+
+DOCS="AUTHORS ChangeLog TODO"
+
+src_prepare() {
+   local x sed_args
+
+   # bug 556962
+   sed -i -e 's|Decrypt( pEncryptedBuffer, nOutputLen, pDecryptedBuffer, 
m_lLen );|Decrypt( pEncryptedBuffer, (pdf_long)nOutputLen, pDecryptedBuffer, 
(pdf_long\&)m_lLen );|' \
+   test/unit/EncryptTest.cpp || die
+
+   sed -i \
+   -e "s:LIBDIRNAME \"lib\":LIBDIRNAME \"$(get_libdir)\":" \
+   -e "s:LIBIDN_FOUND:HAVE_LIBIDN:g" \
+   CMakeLists.txt || die
+
+   # Use pkg-config to find headers for bug #459404.
+   sed_args=
+   for x in $($(tc-getPKG_CONFIG) --cflags freetype2) ; do
+   [[ ${x} == -I* ]] || continue
+   x=${x#-I}
+   if [[ -f ${x}/ft2build.h ]] ; then
+   sed_args+=" -e s:/usr/include/\\r\$:${x}:"
+   elif [[ -f ${x}/freetype/config/ftheader.h ]] ; then
+   sed_args+=" -e s:/usr/include/freetype2\\r\$:${x}:"
+   fi
+   done
+   [[ -n ${sed_args} ]] && \
+   { sed -i ${sed_args} cmake/modules/FindFREETYPE.cmake || die; }
+
+   # Bug #439784: Add missing unistd include for close() and unlink().
+   sed -i 's:^#include $:#include \n\0:' -i \
+   test/unit/TestUtils.cpp || die
+
+   # TODO: fix these test cases
+   # ColorTest.cpp:62:Assertion
+   # Test name: ColorTest::testDefaultConstructo

[gentoo-commits] repo/gentoo:master commit in: app-text/podofo/

2017-05-01 Thread Zac Medico
commit: 5ec8e81f1bcf54c54322ad60ba845d401605
Author: Zac Medico  gentoo  org>
AuthorDate: Mon May  1 19:11:04 2017 +
Commit: Zac Medico  gentoo  org>
CommitDate: Mon May  1 19:11:04 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ec8e81f

app-text/podofo: prune dev.gentoo.org from SRC_URI

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 app-text/podofo/podofo-0.9.6_pre20170428.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/podofo/podofo-0.9.6_pre20170428.ebuild 
b/app-text/podofo/podofo-0.9.6_pre20170428.ebuild
index 1684ca78570..f9f86443cb7 100644
--- a/app-text/podofo/podofo-0.9.6_pre20170428.ebuild
+++ b/app-text/podofo/podofo-0.9.6_pre20170428.ebuild
@@ -6,7 +6,7 @@ inherit cmake-utils flag-o-matic multilib toolchain-funcs
 
 DESCRIPTION="PoDoFo is a C++ library to work with the PDF file format"
 HOMEPAGE="https://sourceforge.net/projects/podofo/";
-SRC_URI="http://dev.gentoo.org/~zmedico/distfiles/${P}.tar.xz 
mirror://gentoo/${P}.tar.xz"
+SRC_URI="mirror://gentoo/${P}.tar.xz"
 
 LICENSE="GPL-2 LGPL-2.1"
 SLOT="0/${PV}"



[gentoo-commits] repo/gentoo:master commit in: app-text/podofo/

2017-05-01 Thread Zac Medico
commit: 5685a989182a75db3a35172af432e43468cf42bc
Author: Zac Medico  gentoo  org>
AuthorDate: Mon May  1 17:09:50 2017 +
Commit: Zac Medico  gentoo  org>
CommitDate: Mon May  1 17:10:53 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5685a989

app-text/podofo: version bump to 0.9.6_pre20170428

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 app-text/podofo/Manifest|   1 +
 app-text/podofo/podofo-0.9.6_pre20170428.ebuild | 133 
 2 files changed, 134 insertions(+)

diff --git a/app-text/podofo/Manifest b/app-text/podofo/Manifest
index 0cce346fcf0..34bdfb6859d 100644
--- a/app-text/podofo/Manifest
+++ b/app-text/podofo/Manifest
@@ -3,3 +3,4 @@ DIST podofo-0.9.2.tar.gz 1092131 SHA256 
465191618c57da9ae9230e7919e1985a242ddc7d
 DIST podofo-0.9.3.tar.gz 1135095 SHA256 
ec261e31e89dce45b1a31be61e9c6bb250532e631a02d68ec5bb849ef0a222d8 SHA512 
c9a8076821502225d3ecf5a7e79ef2ebd7b9cc3e7d0902eabff33325b124109a1f5038f57b83e3fad0d82cff9cd557a9ed177adc7c176064085070aebcd7602d
 WHIRLPOOL 
44268efd48d6ab35fecf31e3ff773f6d9fcca091026f423ccffbe8afdb09fff9446eed8c64db9a4482695d6e4f4ae4585d7e51036197f619a7c304df1a8de8c2
 DIST podofo-0.9.4.tar.gz 1147939 SHA256 
ccdf505fcb4904617e728b15729da8700ff38442c1dd2f24fbd52934287ff859 SHA512 
2f675757d76ccfe2472358b04dc4cd55e2cf00ae447731af75645c7091a338b6d91dcd4b16240b305cdbb02384ddcd38048c0e3f1700185347d4e1eb5df9ee39
 WHIRLPOOL 
9461b288fe515eff96333d73c670cd4f464e0c43121968f4fc76418c4f2d7a9dfd9600eb315c52995a30c99d90d7c4249bd64a4c9b300e60b509ddc8c1143679
 DIST podofo-0.9.5.tar.gz 1160799 SHA256 
854981cb897ebc14bac854ea0f25305372261a48a205363fe1c61659ba7b5304 SHA512 
d13b30bfebc89b809173cd2251eed1f15dfa90abb58371bfdce875797d40663923571824ad2b0b1d97aa1be212bdbb710c3a0439bc05bed7022b8eb75ca74705
 WHIRLPOOL 
41ad1a1a7992bc186bd2c8b77b38479b47094b00631ee8e5990745ae88e554a1b34557637e3c4b86959ec071019d33ab11bda394c8181ab21b6df2f7b09a44b7
+DIST podofo-0.9.6_pre20170428.tar.xz 919388 SHA256 
61d5045beb4db7f5de5c73e6f56fcbe421b3dcde1eddef6ddcfae487e7b19f2a SHA512 
1d1429be859c2e6ee25251236e253081ac217a0c078f7ed5e99bfd4cc089b074362b0ba93b1e3d96385e36bb6824df1ffbddbf1c714d420bb59256d52208a200
 WHIRLPOOL 
222a929ad2677976c1a08cff7c24a0fdc280e69f01e0a325a054c77b470b61bfc8d61a9f3568aee52ce0a514610d27852d9596a719db5715401594c101cb2a09

diff --git a/app-text/podofo/podofo-0.9.6_pre20170428.ebuild 
b/app-text/podofo/podofo-0.9.6_pre20170428.ebuild
new file mode 100644
index 000..1684ca78570
--- /dev/null
+++ b/app-text/podofo/podofo-0.9.6_pre20170428.ebuild
@@ -0,0 +1,133 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit cmake-utils flag-o-matic multilib toolchain-funcs
+
+DESCRIPTION="PoDoFo is a C++ library to work with the PDF file format"
+HOMEPAGE="https://sourceforge.net/projects/podofo/";
+SRC_URI="http://dev.gentoo.org/~zmedico/distfiles/${P}.tar.xz 
mirror://gentoo/${P}.tar.xz"
+
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86"
+IUSE="+boost idn libressl debug test"
+
+RDEPEND="dev-lang/lua:=
+   idn? ( net-dns/libidn:= )
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:0= )
+   media-libs/fontconfig:=
+   media-libs/freetype:2=
+   virtual/jpeg:0=
+   media-libs/libpng:0=
+   media-libs/tiff:0=
+   sys-libs/zlib:="
+DEPEND="${RDEPEND}
+   virtual/pkgconfig
+   boost? ( dev-util/boost-build )
+   test? ( dev-util/cppunit )"
+
+DOCS="AUTHORS ChangeLog TODO"
+
+src_prepare() {
+   local x sed_args
+
+   # bug 556962
+   sed -i -e 's|Decrypt( pEncryptedBuffer, nOutputLen, pDecryptedBuffer, 
m_lLen );|Decrypt( pEncryptedBuffer, (pdf_long)nOutputLen, pDecryptedBuffer, 
(pdf_long\&)m_lLen );|' \
+   test/unit/EncryptTest.cpp || die
+
+   sed -i \
+   -e "s:LIBDIRNAME \"lib\":LIBDIRNAME \"$(get_libdir)\":" \
+   -e "s:LIBIDN_FOUND:HAVE_LIBIDN:g" \
+   CMakeLists.txt || die
+
+   # Use pkg-config to find headers for bug #459404.
+   sed_args=
+   for x in $($(tc-getPKG_CONFIG) --cflags freetype2) ; do
+   [[ ${x} == -I* ]] || continue
+   x=${x#-I}
+   if [[ -f ${x}/ft2build.h ]] ; then
+   sed_args+=" -e s:/usr/include/\\r\$:${x}:"
+   elif [[ -f ${x}/freetype/config/ftheader.h ]] ; then
+   sed_args+=" -e s:/usr/include/freetype2\\r\$:${x}:"
+   fi
+   done
+   [[ -n ${sed_args} ]] && \
+   { sed -i ${sed_args} cmake/modules/FindFREETYPE.cmake || die; }
+
+   # Bug #439784: Add missing unistd include for close() and unlink().
+   sed -i 's:^#include $:#include \n\0:' -i \
+   test/unit/TestUtils.cpp || die
+
+   # TODO: fix these test cases
+   # ColorTest.cpp:62:Assertion
+   # 

[gentoo-commits] repo/gentoo:master commit in: app-text/podofo/

2017-02-07 Thread Zac Medico
commit: 0cd0bc20566e4835095e0bff5e016c6e734ea7ea
Author: Zac Medico  gentoo  org>
AuthorDate: Tue Feb  7 17:31:49 2017 +
Commit: Zac Medico  gentoo  org>
CommitDate: Tue Feb  7 17:31:49 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0cd0bc20

app-text/podofo: version bump to 0.9.5

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 app-text/podofo/Manifest|   1 +
 app-text/podofo/podofo-0.9.5.ebuild | 134 
 2 files changed, 135 insertions(+)

diff --git a/app-text/podofo/Manifest b/app-text/podofo/Manifest
index 55d142e..0cce346 100644
--- a/app-text/podofo/Manifest
+++ b/app-text/podofo/Manifest
@@ -2,3 +2,4 @@ DIST podofo-0.9.2-freetype251.patch 1106 SHA256 
324889c99eccafb5e4732d65d3254534
 DIST podofo-0.9.2.tar.gz 1092131 SHA256 
465191618c57da9ae9230e7919e1985a242ddc7d1045cfdb6fb066140ed0a3f3 SHA512 
e0bda743b192edfd42f381498edc56f30e6d89f45e7abd2b4351e15fd672a432d07f067ab8ed5cf378b0ecbab6d98abb32c22c1ce860c0021e31235fc5683a21
 WHIRLPOOL 
f22c5ec0c3de1ef661198e8c94b2ac9faab88c6b12ebe27da14642c6eaed154f2e1fbf4f404807d7e33f895ffb64663eb7e403ec8a9e0f87b32e3470b7f5acfb
 DIST podofo-0.9.3.tar.gz 1135095 SHA256 
ec261e31e89dce45b1a31be61e9c6bb250532e631a02d68ec5bb849ef0a222d8 SHA512 
c9a8076821502225d3ecf5a7e79ef2ebd7b9cc3e7d0902eabff33325b124109a1f5038f57b83e3fad0d82cff9cd557a9ed177adc7c176064085070aebcd7602d
 WHIRLPOOL 
44268efd48d6ab35fecf31e3ff773f6d9fcca091026f423ccffbe8afdb09fff9446eed8c64db9a4482695d6e4f4ae4585d7e51036197f619a7c304df1a8de8c2
 DIST podofo-0.9.4.tar.gz 1147939 SHA256 
ccdf505fcb4904617e728b15729da8700ff38442c1dd2f24fbd52934287ff859 SHA512 
2f675757d76ccfe2472358b04dc4cd55e2cf00ae447731af75645c7091a338b6d91dcd4b16240b305cdbb02384ddcd38048c0e3f1700185347d4e1eb5df9ee39
 WHIRLPOOL 
9461b288fe515eff96333d73c670cd4f464e0c43121968f4fc76418c4f2d7a9dfd9600eb315c52995a30c99d90d7c4249bd64a4c9b300e60b509ddc8c1143679
+DIST podofo-0.9.5.tar.gz 1160799 SHA256 
854981cb897ebc14bac854ea0f25305372261a48a205363fe1c61659ba7b5304 SHA512 
d13b30bfebc89b809173cd2251eed1f15dfa90abb58371bfdce875797d40663923571824ad2b0b1d97aa1be212bdbb710c3a0439bc05bed7022b8eb75ca74705
 WHIRLPOOL 
41ad1a1a7992bc186bd2c8b77b38479b47094b00631ee8e5990745ae88e554a1b34557637e3c4b86959ec071019d33ab11bda394c8181ab21b6df2f7b09a44b7

diff --git a/app-text/podofo/podofo-0.9.5.ebuild 
b/app-text/podofo/podofo-0.9.5.ebuild
new file mode 100644
index ..79cf8f5
--- /dev/null
+++ b/app-text/podofo/podofo-0.9.5.ebuild
@@ -0,0 +1,134 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit cmake-utils flag-o-matic multilib toolchain-funcs
+
+DESCRIPTION="PoDoFo is a C++ library to work with the PDF file format"
+HOMEPAGE="https://sourceforge.net/projects/podofo/";
+SRC_URI="mirror://sourceforge/podofo/${P}.tar.gz"
+
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86"
+IUSE="+boost idn libressl debug test"
+
+RDEPEND="dev-lang/lua:=
+   idn? ( net-dns/libidn:= )
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:0= )
+   media-libs/fontconfig:=
+   media-libs/freetype:2=
+   virtual/jpeg:0=
+   media-libs/libpng:0=
+   media-libs/tiff:0=
+   sys-libs/zlib:="
+DEPEND="${RDEPEND}
+   virtual/pkgconfig
+   boost? ( dev-util/boost-build )
+   test? ( dev-util/cppunit )"
+
+DOCS="AUTHORS ChangeLog TODO"
+
+src_prepare() {
+   local x sed_args
+
+   # bug 556962
+   sed -i -e 's|Decrypt( pEncryptedBuffer, nOutputLen, pDecryptedBuffer, 
m_lLen );|Decrypt( pEncryptedBuffer, (pdf_long)nOutputLen, pDecryptedBuffer, 
(pdf_long\&)m_lLen );|' \
+   test/unit/EncryptTest.cpp || die
+
+   sed -i \
+   -e "s:LIBDIRNAME \"lib\":LIBDIRNAME \"$(get_libdir)\":" \
+   -e "s:LIBIDN_FOUND:HAVE_LIBIDN:g" \
+   CMakeLists.txt || die
+
+   # Use pkg-config to find headers for bug #459404.
+   sed_args=
+   for x in $($(tc-getPKG_CONFIG) --cflags freetype2) ; do
+   [[ ${x} == -I* ]] || continue
+   x=${x#-I}
+   if [[ -f ${x}/ft2build.h ]] ; then
+   sed_args+=" -e s:/usr/include/\\r\$:${x}:"
+   elif [[ -f ${x}/freetype/config/ftheader.h ]] ; then
+   sed_args+=" -e s:/usr/include/freetype2\\r\$:${x}:"
+   fi
+   done
+   [[ -n ${sed_args} ]] && \
+   { sed -i ${sed_args} cmake/modules/FindFREETYPE.cmake || die; }
+
+   # Bug #439784: Add missing unistd include for close() and unlink().
+   sed -i 's:^#include $:#include \n\0:' -i \
+   test/unit/TestUtils.cpp || die
+
+   # TODO: fix these test cases
+   # ColorTest.cpp:62:Assertion
+   # Test name: ColorTest::testDefaultConstructor
+   # expected exception not thrown
+   # - Expected: PdfError
+   

[gentoo-commits] repo/gentoo:master commit in: app-text/podofo/

2016-07-23 Thread Zac Medico
commit: 015e8bbae769a1b5945dedfe885ea83d8118c734
Author: Zac Medico  gentoo  org>
AuthorDate: Sun Jul 24 00:23:14 2016 +
Commit: Zac Medico  gentoo  org>
CommitDate: Sun Jul 24 00:23:37 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=015e8bba

app-text/podofo: version bump to 0.9.4

Package-Manager: portage-2.3.0

 app-text/podofo/Manifest|   1 +
 app-text/podofo/podofo-0.9.4.ebuild | 134 
 2 files changed, 135 insertions(+)

diff --git a/app-text/podofo/Manifest b/app-text/podofo/Manifest
index 7bf9d44..55d142e 100644
--- a/app-text/podofo/Manifest
+++ b/app-text/podofo/Manifest
@@ -1,3 +1,4 @@
 DIST podofo-0.9.2-freetype251.patch 1106 SHA256 
324889c99eccafb5e4732d65d325453470ca659c5b43b2e9265f7e5d3fd8bbeb SHA512 
185d9e16587fec922720042e7a604ae4b1c5b36c115beebf08ff73a46bf2859b25b0dda6b858f31e2fab3dfa88c79265e5d4e0da30091e83b22dff2bdaa2b6da
 WHIRLPOOL 
b9fb89a41be7ed16f1b0ca78e0ec95427133077c8b7b5c120a713d38624bb51eb8fe5dd08d1c9bf1b2ed5fd077222b6e40d224583c6436c7ee117caf7e310dbf
 DIST podofo-0.9.2.tar.gz 1092131 SHA256 
465191618c57da9ae9230e7919e1985a242ddc7d1045cfdb6fb066140ed0a3f3 SHA512 
e0bda743b192edfd42f381498edc56f30e6d89f45e7abd2b4351e15fd672a432d07f067ab8ed5cf378b0ecbab6d98abb32c22c1ce860c0021e31235fc5683a21
 WHIRLPOOL 
f22c5ec0c3de1ef661198e8c94b2ac9faab88c6b12ebe27da14642c6eaed154f2e1fbf4f404807d7e33f895ffb64663eb7e403ec8a9e0f87b32e3470b7f5acfb
 DIST podofo-0.9.3.tar.gz 1135095 SHA256 
ec261e31e89dce45b1a31be61e9c6bb250532e631a02d68ec5bb849ef0a222d8 SHA512 
c9a8076821502225d3ecf5a7e79ef2ebd7b9cc3e7d0902eabff33325b124109a1f5038f57b83e3fad0d82cff9cd557a9ed177adc7c176064085070aebcd7602d
 WHIRLPOOL 
44268efd48d6ab35fecf31e3ff773f6d9fcca091026f423ccffbe8afdb09fff9446eed8c64db9a4482695d6e4f4ae4585d7e51036197f619a7c304df1a8de8c2
+DIST podofo-0.9.4.tar.gz 1147939 SHA256 
ccdf505fcb4904617e728b15729da8700ff38442c1dd2f24fbd52934287ff859 SHA512 
2f675757d76ccfe2472358b04dc4cd55e2cf00ae447731af75645c7091a338b6d91dcd4b16240b305cdbb02384ddcd38048c0e3f1700185347d4e1eb5df9ee39
 WHIRLPOOL 
9461b288fe515eff96333d73c670cd4f464e0c43121968f4fc76418c4f2d7a9dfd9600eb315c52995a30c99d90d7c4249bd64a4c9b300e60b509ddc8c1143679

diff --git a/app-text/podofo/podofo-0.9.4.ebuild 
b/app-text/podofo/podofo-0.9.4.ebuild
new file mode 100644
index 000..9166383
--- /dev/null
+++ b/app-text/podofo/podofo-0.9.4.ebuild
@@ -0,0 +1,134 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit cmake-utils flag-o-matic multilib toolchain-funcs
+
+DESCRIPTION="PoDoFo is a C++ library to work with the PDF file format"
+HOMEPAGE="http://sourceforge.net/projects/podofo/";
+SRC_URI="mirror://sourceforge/podofo/${P}.tar.gz"
+
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86"
+IUSE="+boost idn libressl debug test"
+
+RDEPEND="dev-lang/lua:=
+   idn? ( net-dns/libidn:= )
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:0= )
+   media-libs/fontconfig:=
+   media-libs/freetype:2=
+   virtual/jpeg:0=
+   media-libs/libpng:0=
+   media-libs/tiff:0=
+   sys-libs/zlib:="
+DEPEND="${RDEPEND}
+   virtual/pkgconfig
+   boost? ( dev-util/boost-build )
+   test? ( dev-util/cppunit )"
+
+DOCS="AUTHORS ChangeLog TODO"
+
+src_prepare() {
+   local x sed_args
+
+   # bug 556962
+   sed -i -e 's|Decrypt( pEncryptedBuffer, nOutputLen, pDecryptedBuffer, 
m_lLen );|Decrypt( pEncryptedBuffer, (pdf_long)nOutputLen, pDecryptedBuffer, 
(pdf_long\&)m_lLen );|' \
+   test/unit/EncryptTest.cpp || die
+
+   sed -i \
+   -e "s:LIBDIRNAME \"lib\":LIBDIRNAME \"$(get_libdir)\":" \
+   -e "s:LIBIDN_FOUND:HAVE_LIBIDN:g" \
+   CMakeLists.txt || die
+
+   # Use pkg-config to find headers for bug #459404.
+   sed_args=
+   for x in $($(tc-getPKG_CONFIG) --cflags freetype2) ; do
+   [[ ${x} == -I* ]] || continue
+   x=${x#-I}
+   if [[ -f ${x}/ft2build.h ]] ; then
+   sed_args+=" -e s:/usr/include/\\r\$:${x}:"
+   elif [[ -f ${x}/freetype/config/ftheader.h ]] ; then
+   sed_args+=" -e s:/usr/include/freetype2\\r\$:${x}:"
+   fi
+   done
+   [[ -n ${sed_args} ]] && \
+   { sed -i ${sed_args} cmake/modules/FindFREETYPE.cmake || die; }
+
+   # Bug #439784: Add missing unistd include for close() and unlink().
+   sed -i 's:^#include $:#include \n\0:' -i \
+   test/unit/TestUtils.cpp || die
+
+   # TODO: fix these test cases
+   # ColorTest.cpp:62:Assertion
+   # Test name: ColorTest::testDefaultConstructor
+   # expected exception not thrown
+   # - Expected: PdfError
+   sed -e 's:CPPUNIT_TEST( testDefaultConstructor ://\0:' \
+   -e 's:CPPUNIT_TEST( 

[gentoo-commits] repo/gentoo:master commit in: app-text/podofo/

2016-05-11 Thread Anthony G. Basile
commit: 2b0b1e155d7a5f7800519b31c563e824d3c90ab0
Author: William  undefined  re>
AuthorDate: Mon Apr 11 20:50:47 2016 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Wed May 11 22:41:32 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b0b1e15

app-text/podofo: add libressl useflag

 app-text/podofo/podofo-0.9.3.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/app-text/podofo/podofo-0.9.3.ebuild 
b/app-text/podofo/podofo-0.9.3.ebuild
index 8d0b76f..d84abfb 100644
--- a/app-text/podofo/podofo-0.9.3.ebuild
+++ b/app-text/podofo/podofo-0.9.3.ebuild
@@ -12,11 +12,12 @@ SRC_URI="mirror://sourceforge/podofo/${P}.tar.gz"
 LICENSE="GPL-2 LGPL-2.1"
 SLOT="0"
 KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86"
-IUSE="+boost idn debug test"
+IUSE="+boost idn libressl debug test"
 
 RDEPEND="dev-lang/lua:=
idn? ( net-dns/libidn:= )
-   dev-libs/openssl:0=
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:0= )
media-libs/fontconfig:=
media-libs/freetype:2=
virtual/jpeg:0=



[gentoo-commits] repo/gentoo:master commit in: app-text/podofo/

2015-09-13 Thread Zac Medico
commit: 9cc46cc38b8b31bbf05e3517602292b2592cabf3
Author: Zac Medico  gentoo  org>
AuthorDate: Sun Sep 13 22:29:32 2015 +
Commit: Zac Medico  gentoo  org>
CommitDate: Sun Sep 13 23:39:52 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9cc46cc3

app-text/podofo: fix 0.9.3 tests for bug 556962

Package-Manager: portage-2.2.20.1

 app-text/podofo/podofo-0.9.3.ebuild | 4 
 1 file changed, 4 insertions(+)

diff --git a/app-text/podofo/podofo-0.9.3.ebuild 
b/app-text/podofo/podofo-0.9.3.ebuild
index 767b209..8d0b76f 100644
--- a/app-text/podofo/podofo-0.9.3.ebuild
+++ b/app-text/podofo/podofo-0.9.3.ebuild
@@ -33,6 +33,10 @@ DOCS="AUTHORS ChangeLog TODO"
 src_prepare() {
local x sed_args
 
+   # bug 556962
+   sed -i -e 's|Decrypt( pEncryptedBuffer, nOutputLen, pDecryptedBuffer, 
m_lLen );|Decrypt( pEncryptedBuffer, (pdf_long)nOutputLen, pDecryptedBuffer, 
(pdf_long\&)m_lLen );|' \
+   test/unit/EncryptTest.cpp || die
+
sed -i \
-e "s:LIBDIRNAME \"lib\":LIBDIRNAME \"$(get_libdir)\":" \
-e "s:LIBIDN_FOUND:HAVE_LIBIDN:g" \