[gentoo-commits] repo/gentoo:master commit in: media-libs/jbig2enc/files/
commit: 8d3b82346f410f7cd3f4a574e1b5bb5ad11580a5 Author: Michael Mair-Keimberger levelnine at> AuthorDate: Fri Mar 10 06:48:57 2023 + Commit: Conrad Kostecki gentoo org> CommitDate: Tue Mar 14 23:00:45 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d3b8234 media-libs/jbig2enc: remove unused patch Signed-off-by: Michael Mair-Keimberger levelnine.at> Closes: https://github.com/gentoo/gentoo/pull/30038 Signed-off-by: Conrad Kostecki gentoo.org> .../files/jbig2enc-0.28-leptonica-1.70.patch | 52 -- 1 file changed, 52 deletions(-) diff --git a/media-libs/jbig2enc/files/jbig2enc-0.28-leptonica-1.70.patch b/media-libs/jbig2enc/files/jbig2enc-0.28-leptonica-1.70.patch deleted file mode 100644 index e2ed771d2045.. --- a/media-libs/jbig2enc/files/jbig2enc-0.28-leptonica-1.70.patch +++ /dev/null @@ -1,52 +0,0 @@ -From 53ce5fe7e73d7ed95c9e12b52dd4984723f865fa Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Zdenko=20Podobn=C3=BD?= -Date: Sun, 6 Apr 2014 21:25:27 +0200 -Subject: [PATCH] fix build with leptonica 1.70 - -Merged upstream - - configure.ac | 1 + - src/jbig2.cc | 13 + - 2 files changed, 10 insertions(+), 4 deletions(-) - -diff --git a/configure.ac b/configure.ac -index fe37c22..753a607 100644 a/configure.ac -+++ b/configure.ac -@@ -55,6 +55,7 @@ AC_CHECK_LIB([lept], [findFileFormatStream], [], [ - echo "Error! Leptonica not detected." - exit -1 - ]) -+AC_CHECK_FUNCS(expandBinaryPower2Low,,) - # test for function - it should detect leptonica dependecies - - # Check for possible dependancies of leptonica. -diff --git a/src/jbig2.cc b/src/jbig2.cc -index e10f042..515c1ef 100644 a/src/jbig2.cc -+++ b/src/jbig2.cc -@@ -130,11 +130,16 @@ segment_image(PIX *pixb, PIX *piximg) { - // input color image, so we have to do it this way... - // is there a better way? - // PIX *pixd = pixExpandBinary(pixd4, 4); -- PIX *pixd = pixCreate(piximg->w, piximg->h, 1); -- pixCopyResolution(pixd, piximg); -- if (verbose) pixInfo(pixd, "mask image: "); -- expandBinaryPower2Low(pixd->data, pixd->w, pixd->h, pixd->wpl, -+ PIX *pixd; -+#ifdef HAVE_EXPANDBINARYPOWER2LOW -+pixd = pixCreate(piximg->w, piximg->h, 1); -+pixCopyResolution(pixd, piximg); -+expandBinaryPower2Low(pixd->data, pixd->w, pixd->h, pixd->wpl, - pixd4->data, pixd4->w, pixd4->h, pixd4->wpl, 4); -+#else -+pixd = pixExpandBinaryPower2(pixd4, 4); -+#endif -+ if (verbose) pixInfo(pixd, "mask image: "); - - pixDestroy(); - pixDestroy(); --- -2.0.3 -
[gentoo-commits] repo/gentoo:master commit in: media-libs/jbig2enc/
commit: 1a42873a89ec5ac94f727e3d0dbd96b16f2e37a2 Author: Sam James gentoo org> AuthorDate: Thu Mar 9 07:40:32 2023 + Commit: Sam James gentoo org> CommitDate: Thu Mar 9 07:57:02 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a42873a media-libs/jbig2enc: drop 0.28-r1 Signed-off-by: Sam James gentoo.org> media-libs/jbig2enc/Manifest| 1 - media-libs/jbig2enc/jbig2enc-0.28-r1.ebuild | 40 - 2 files changed, 41 deletions(-) diff --git a/media-libs/jbig2enc/Manifest b/media-libs/jbig2enc/Manifest index a8fb8d779ab9..b32bfc6f2416 100644 --- a/media-libs/jbig2enc/Manifest +++ b/media-libs/jbig2enc/Manifest @@ -1,2 +1 @@ -DIST jbig2enc-0.28.tar.gz 39879 BLAKE2B 08cbb2f2a5277085a592d18a8db529d2e5f79f69eaa5392f2b06b920f7d1651c3c73795ba2e43ae843fd5720a1406633b5429ab0b1fe260a6308da4cf10868b9 SHA512 81d194fb648fe7a866302796fd5e2adbb213d52193a279a94dbc5918ce3480561ea204e8497125eed5d6c6e4c6d089f7f35a89ef98bc484ca753ffde23e444c6 DIST jbig2enc-0.29.tar.gz 1108212 BLAKE2B 44efc2afecb2ca581711c58e9abfed7ae790053e6a725012cb6e68c5c52b6d89d071a115bf1fb9ea2c15de64e03e889dd47d9d36a0e707f039de55029d33633a SHA512 aa50cdaf61ef0ae473c8139d8da2a4c374450f8d0d31e2260031e8086dab9201c303c86d50cd51427135bef500718cbc3a53baabf2bf505f8908c22a3d361c51 diff --git a/media-libs/jbig2enc/jbig2enc-0.28-r1.ebuild b/media-libs/jbig2enc/jbig2enc-0.28-r1.ebuild deleted file mode 100644 index f6949b5e887e.. --- a/media-libs/jbig2enc/jbig2enc-0.28-r1.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools - -DESCRIPTION="JBIG2 Encoder and libs" -HOMEPAGE="https://github.com/agl/jbig2enc; -SRC_URI="https://github.com/agl/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 x86 ~ppc-macos" -IUSE="gif jpeg png tiff webp" - -RDEPEND="media-libs/leptonica[gif?,jpeg?,png?,tiff?,webp?]" -DEPEND="${RDEPEND}" - -PATCHES=( - "${FILESDIR}/${P}-leptonica-1.70.patch" -) - -src_prepare() { - default - - # remove -Werror - sed -i -e '/AM_INIT_AUTOMAKE/s/-Werror//' configure.ac || die 'sed on configure.ac failed' - # prevent static linking and QA notice about insecure RUNPATHs - sed -i -e '/jbig2_LDFLAGS/d' src/Makefile.am || die 'sed on src/Makefile.am failed' - - eautoreconf -} - -src_install() { - default - - find "${ED}" -name '*.la' -delete || die - find "${ED}" -name '*.a' -delete || die -}
[gentoo-commits] repo/gentoo:master commit in: media-libs/jbig2enc/files/, media-libs/jbig2enc/
commit: be3b16b8435f258fb3a4f3751dd9833e72816349 Author: Sam James gentoo org> AuthorDate: Thu Mar 9 07:44:34 2023 + Commit: Sam James gentoo org> CommitDate: Thu Mar 9 07:57:02 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be3b16b8 media-libs/jbig2enc: EAPI 8, fix build w/ newer leptonica Closes: https://bugs.gentoo.org/814473 Signed-off-by: Sam James gentoo.org> .../files/jbig2enc-0.29-leptonica-1.83.patch | 81 ++ ...big2enc-0.29.ebuild => jbig2enc-0.29-r1.ebuild} | 8 ++- 2 files changed, 87 insertions(+), 2 deletions(-) diff --git a/media-libs/jbig2enc/files/jbig2enc-0.29-leptonica-1.83.patch b/media-libs/jbig2enc/files/jbig2enc-0.29-leptonica-1.83.patch new file mode 100644 index ..dfa43a6214af --- /dev/null +++ b/media-libs/jbig2enc/files/jbig2enc-0.29-leptonica-1.83.patch @@ -0,0 +1,81 @@ +https://github.com/agl/jbig2enc/commit/a614bdb580d65653dbfe5c9925940797a065deac +https://github.com/agl/jbig2enc/commit/d211d8c9c65fbc103594580484a3b7fa0249e160 + +From a614bdb580d65653dbfe5c9925940797a065deac Mon Sep 17 00:00:00 2001 +From: Federico <19206300+qu...@users.noreply.github.com> +Date: Sun, 8 Jan 2023 14:12:51 +0100 +Subject: [PATCH] Fix build with Leptonica >=1.83 + +From leptonica 1.83 release notes: + * Use stdatomic.h to make cloning string safe. Remove all *GetRefcount() and *ChangeRefcount() accessors. + * Remove information about fields in many structs from the public interface allheaders.h, instead putting them in internal files pix_internal.h, array_internal.h and ccbord_internal.h. +--- a/src/jbig2.cc b/src/jbig2.cc +@@ -29,6 +29,9 @@ + #endif + + #include ++#if (LIBLEPT_MAJOR_VERSION == 1 && LIBLEPT_MINOR_VERSION >= 83) || LIBLEPT_MAJOR_VERSION > 1 ++#include "leptonica/pix_internal.h" ++#endif + + #include "jbig2enc.h" + +--- a/src/jbig2enc.cc b/src/jbig2enc.cc +@@ -24,6 +24,10 @@ + #include + + #include ++#if (LIBLEPT_MAJOR_VERSION == 1 && LIBLEPT_MINOR_VERSION >= 83) || LIBLEPT_MAJOR_VERSION > 1 ++#include "leptonica/pix_internal.h" ++#include "leptonica/array_internal.h" ++#endif + + #include + #if defined(sun) +@@ -206,7 +210,11 @@ unite_templates(struct jbig2ctx *ctx, + numaSetValue(ctx->classer->naclass, i, new_representant); + } + } ++#if (LIBLEPT_MAJOR_VERSION == 1 && LIBLEPT_MINOR_VERSION >= 83) || LIBLEPT_MAJOR_VERSION > 1 ++ctx->classer->pixat->pix[new_representant]->refcount += ctx->classer->pixat->pix[second_template]->refcount; ++#else + pixChangeRefcount(ctx->classer->pixat->pix[new_representant],pixGetRefcount(ctx->classer->pixat->pix[second_template])); ++#endif + } + return 0; + } +--- a/src/jbig2sym.cc b/src/jbig2sym.cc +@@ -29,6 +29,10 @@ + #include + + #include ++#if (LIBLEPT_MAJOR_VERSION == 1 && LIBLEPT_MINOR_VERSION >= 83) || LIBLEPT_MAJOR_VERSION > 1 ++#include "leptonica/pix_internal.h" ++#include "leptonica/array_internal.h" ++#endif + + #include + + +From d211d8c9c65fbc103594580484a3b7fa0249e160 Mon Sep 17 00:00:00 2001 +From: Federico <19206300+qu...@users.noreply.github.com> +Date: Sun, 8 Jan 2023 20:15:45 +0100 +Subject: [PATCH] Fix autotools with leptonica >= 1.83 + +From leptonica 1.83 release notes: +* Rename the autotools generated libraries from liblept to libleptonica +--- a/configure.ac b/configure.ac +@@ -73,7 +73,7 @@ AC_CONFIG_COMMANDS([libtool-rpath-patch], + fi], + [libtool_patch_use_rpath=$enable_rpath]) + +-AC_CHECK_LIB([lept], [findFileFormatStream], [], [ ++AC_CHECK_LIB([leptonica], [findFileFormatStream], [], [ + echo "Error! Leptonica not detected." + exit -1 + ]) + diff --git a/media-libs/jbig2enc/jbig2enc-0.29.ebuild b/media-libs/jbig2enc/jbig2enc-0.29-r1.ebuild similarity index 89% rename from media-libs/jbig2enc/jbig2enc-0.29.ebuild rename to media-libs/jbig2enc/jbig2enc-0.29-r1.ebuild index fa9f4ee5a609..44791b8f43cf 100644 --- a/media-libs/jbig2enc/jbig2enc-0.29.ebuild +++ b/media-libs/jbig2enc/jbig2enc-0.29-r1.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit autotools @@ -17,6 +17,10 @@ IUSE="gif jpeg png tiff webp" RDEPEND="media-libs/leptonica[gif?,jpeg?,png?,tiff?,webp?]" DEPEND="${RDEPEND}" +PATCHES=( + "${FILESDIR}"/${P}-leptonica-1.83.patch +) + src_prepare() { default
[gentoo-commits] repo/gentoo:master commit in: media-libs/jbig2enc/
commit: 97525c7e5cf3607115ae2f926eb530912d44cc9e Author: Sergey Popov gentoo org> AuthorDate: Tue Feb 14 11:06:02 2023 + Commit: Sergey Popov gentoo org> CommitDate: Tue Feb 14 11:06:02 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97525c7e media-libs/jbig2enc: remove myself from maintainers Signed-off-by: Sergey Popov gentoo.org> media-libs/jbig2enc/metadata.xml | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/media-libs/jbig2enc/metadata.xml b/media-libs/jbig2enc/metadata.xml index 7106223a2cbd..c7c8cde7cca3 100644 --- a/media-libs/jbig2enc/metadata.xml +++ b/media-libs/jbig2enc/metadata.xml @@ -1,10 +1,7 @@ https://www.gentoo.org/dtd/metadata.dtd;> - - pinkb...@gentoo.org - Sergey Popov - + agl/jbig2enc
[gentoo-commits] repo/gentoo:master commit in: media-libs/jbig2enc/
commit: c5cb02f23ffd13a9717f4b03610a2e2fece059e2 Author: WANG Xuerui gentoo org> AuthorDate: Sat May 14 07:27:40 2022 + Commit: WANG Xuerui gentoo org> CommitDate: Sat May 14 07:28:09 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5cb02f2 media-libs/jbig2enc: keyword 0.29 for ~loong Signed-off-by: WANG Xuerui gentoo.org> media-libs/jbig2enc/jbig2enc-0.29.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/media-libs/jbig2enc/jbig2enc-0.29.ebuild b/media-libs/jbig2enc/jbig2enc-0.29.ebuild index 272370bdf537..fa9f4ee5a609 100644 --- a/media-libs/jbig2enc/jbig2enc-0.29.ebuild +++ b/media-libs/jbig2enc/jbig2enc-0.29.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 @@ -11,7 +11,7 @@ SRC_URI="https://github.com/agl/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="amd64 x86 ~ppc-macos" +KEYWORDS="amd64 ~loong x86 ~ppc-macos" IUSE="gif jpeg png tiff webp" RDEPEND="media-libs/leptonica[gif?,jpeg?,png?,tiff?,webp?]"
[gentoo-commits] repo/gentoo:master commit in: media-libs/jbig2enc/
commit: b89e22f27bbe7977a884fb44951be9a0c297bcb3 Author: Sam James gentoo org> AuthorDate: Mon Apr 26 10:32:24 2021 + Commit: Sam James gentoo org> CommitDate: Mon Apr 26 10:32:24 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b89e22f2 media-libs/jbig2enc: Stabilize 0.29 x86, #785688 Signed-off-by: Sam James gentoo.org> media-libs/jbig2enc/jbig2enc-0.29.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-libs/jbig2enc/jbig2enc-0.29.ebuild b/media-libs/jbig2enc/jbig2enc-0.29.ebuild index 615f29dcb51..272370bdf53 100644 --- a/media-libs/jbig2enc/jbig2enc-0.29.ebuild +++ b/media-libs/jbig2enc/jbig2enc-0.29.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/agl/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="amd64 ~x86 ~ppc-macos" +KEYWORDS="amd64 x86 ~ppc-macos" IUSE="gif jpeg png tiff webp" RDEPEND="media-libs/leptonica[gif?,jpeg?,png?,tiff?,webp?]"
[gentoo-commits] repo/gentoo:master commit in: media-libs/jbig2enc/
commit: 81d72ff21beefd474c062e3e86d8bc930d7cf7dc Author: Sam James gentoo org> AuthorDate: Sun Apr 25 21:01:45 2021 + Commit: Sam James gentoo org> CommitDate: Sun Apr 25 21:01:45 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81d72ff2 media-libs/jbig2enc: Stabilize 0.29 amd64, #785688 Signed-off-by: Sam James gentoo.org> media-libs/jbig2enc/jbig2enc-0.29.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-libs/jbig2enc/jbig2enc-0.29.ebuild b/media-libs/jbig2enc/jbig2enc-0.29.ebuild index 632ea5cccd3..615f29dcb51 100644 --- a/media-libs/jbig2enc/jbig2enc-0.29.ebuild +++ b/media-libs/jbig2enc/jbig2enc-0.29.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/agl/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~x86 ~ppc-macos" +KEYWORDS="amd64 ~x86 ~ppc-macos" IUSE="gif jpeg png tiff webp" RDEPEND="media-libs/leptonica[gif?,jpeg?,png?,tiff?,webp?]"
[gentoo-commits] repo/gentoo:master commit in: media-libs/jbig2enc/
commit: 459e341ce4c7eae9e63f64152005614feb93f9c9 Author: Sam James gentoo org> AuthorDate: Sat Feb 27 00:31:17 2021 + Commit: Sam James gentoo org> CommitDate: Sat Feb 27 01:00:11 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=459e341c media-libs/jbig2enc: bump to 0.29 Package-Manager: Portage-3.0.15, Repoman-3.0.2 Signed-off-by: Sam James gentoo.org> media-libs/jbig2enc/Manifest | 1 + media-libs/jbig2enc/jbig2enc-0.29.ebuild | 37 2 files changed, 38 insertions(+) diff --git a/media-libs/jbig2enc/Manifest b/media-libs/jbig2enc/Manifest index a719b0fd93c..a8fb8d779ab 100644 --- a/media-libs/jbig2enc/Manifest +++ b/media-libs/jbig2enc/Manifest @@ -1 +1,2 @@ DIST jbig2enc-0.28.tar.gz 39879 BLAKE2B 08cbb2f2a5277085a592d18a8db529d2e5f79f69eaa5392f2b06b920f7d1651c3c73795ba2e43ae843fd5720a1406633b5429ab0b1fe260a6308da4cf10868b9 SHA512 81d194fb648fe7a866302796fd5e2adbb213d52193a279a94dbc5918ce3480561ea204e8497125eed5d6c6e4c6d089f7f35a89ef98bc484ca753ffde23e444c6 +DIST jbig2enc-0.29.tar.gz 1108212 BLAKE2B 44efc2afecb2ca581711c58e9abfed7ae790053e6a725012cb6e68c5c52b6d89d071a115bf1fb9ea2c15de64e03e889dd47d9d36a0e707f039de55029d33633a SHA512 aa50cdaf61ef0ae473c8139d8da2a4c374450f8d0d31e2260031e8086dab9201c303c86d50cd51427135bef500718cbc3a53baabf2bf505f8908c22a3d361c51 diff --git a/media-libs/jbig2enc/jbig2enc-0.29.ebuild b/media-libs/jbig2enc/jbig2enc-0.29.ebuild new file mode 100644 index 000..632ea5cccd3 --- /dev/null +++ b/media-libs/jbig2enc/jbig2enc-0.29.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools + +DESCRIPTION="JBIG2 Encoder and libs" +HOMEPAGE="https://github.com/agl/jbig2enc; +SRC_URI="https://github.com/agl/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~ppc-macos" +IUSE="gif jpeg png tiff webp" + +RDEPEND="media-libs/leptonica[gif?,jpeg?,png?,tiff?,webp?]" +DEPEND="${RDEPEND}" + +src_prepare() { + default + + # remove -Werror + sed -i -e '/AM_INIT_AUTOMAKE/s/-Werror//' configure.ac || die 'sed on configure.ac failed' + # prevent static linking and QA notice about insecure RUNPATHs + # TODO: --disable-rpath (new in 0.29)? + sed -i -e '/jbig2_LDFLAGS/d' src/Makefile.am || die 'sed on src/Makefile.am failed' + + eautoreconf +} + +src_install() { + default + + find "${ED}" -name '*.la' -delete || die + find "${ED}" -name '*.a' -delete || die +}
[gentoo-commits] repo/gentoo:master commit in: media-libs/jbig2enc/
commit: 57a850cbaa6950f3c274f0b3ac8822ed1a080714 Author: Sam James gentoo org> AuthorDate: Sat Feb 27 00:29:37 2021 + Commit: Sam James gentoo org> CommitDate: Sat Feb 27 01:00:10 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57a850cb media-libs/jbig2enc: port to EAPI 7 Package-Manager: Portage-3.0.15, Repoman-3.0.2 Signed-off-by: Sam James gentoo.org> media-libs/jbig2enc/jbig2enc-0.28-r1.ebuild | 25 + 1 file changed, 17 insertions(+), 8 deletions(-) diff --git a/media-libs/jbig2enc/jbig2enc-0.28-r1.ebuild b/media-libs/jbig2enc/jbig2enc-0.28-r1.ebuild index b1e25014daf..f6949b5e887 100644 --- a/media-libs/jbig2enc/jbig2enc-0.28-r1.ebuild +++ b/media-libs/jbig2enc/jbig2enc-0.28-r1.ebuild @@ -1,10 +1,9 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="5" +EAPI=7 -AUTOTOOLS_AUTORECONF=1 -inherit autotools-utils +inherit autotools DESCRIPTION="JBIG2 Encoder and libs" HOMEPAGE="https://github.com/agl/jbig2enc; @@ -13,19 +12,29 @@ SRC_URI="https://github.com/agl/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="Apache-2.0" SLOT="0" KEYWORDS="amd64 x86 ~ppc-macos" - -IUSE="gif jpeg png static-libs tiff webp" +IUSE="gif jpeg png tiff webp" RDEPEND="media-libs/leptonica[gif?,jpeg?,png?,tiff?,webp?]" DEPEND="${RDEPEND}" -PATCHES=( "${FILESDIR}/${P}-leptonica-1.70.patch" ) +PATCHES=( + "${FILESDIR}/${P}-leptonica-1.70.patch" +) src_prepare() { + default + # remove -Werror sed -i -e '/AM_INIT_AUTOMAKE/s/-Werror//' configure.ac || die 'sed on configure.ac failed' # prevent static linking and QA notice about insecure RUNPATHs sed -i -e '/jbig2_LDFLAGS/d' src/Makefile.am || die 'sed on src/Makefile.am failed' - autotools-utils_src_prepare + eautoreconf +} + +src_install() { + default + + find "${ED}" -name '*.la' -delete || die + find "${ED}" -name '*.a' -delete || die }
[gentoo-commits] repo/gentoo:master commit in: media-libs/jbig2enc/
commit: e6aacf4af4d17fa110a182c8ffda10cf8efb7c9f Author: Marty E. Plummer startmail com> AuthorDate: Mon Oct 15 18:47:09 2018 + Commit: Michał Górny gentoo org> CommitDate: Fri Oct 19 08:50:20 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6aacf4a media-libs/jbig2enc: remove local webp use flag Signed-off-by: Marty E. Plummer startmail.com> Package-Manager: Portage-2.3.51, Repoman-2.3.11 Signed-off-by: Michał Górny gentoo.org> media-libs/jbig2enc/metadata.xml | 3 --- 1 file changed, 3 deletions(-) diff --git a/media-libs/jbig2enc/metadata.xml b/media-libs/jbig2enc/metadata.xml index 1782f7f1b30..f930d276766 100644 --- a/media-libs/jbig2enc/metadata.xml +++ b/media-libs/jbig2enc/metadata.xml @@ -5,9 +5,6 @@ pinkb...@gentoo.org Sergey Popov - - Add support for WEBP image format - agl/jbig2enc
[gentoo-commits] repo/gentoo:master commit in: media-libs/jbig2enc/
commit: 58352d935520f88e59bbe6e1f8556dc7d5901d35 Author: Fabian Groffen gentoo org> AuthorDate: Sat Nov 7 16:16:17 2015 + Commit: Fabian Groffen gentoo org> CommitDate: Sat Nov 7 16:16:17 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58352d93 media-libs/jbig2enc: marked ~ppc-macos, bug #564816 Package-Manager: portage-2.2.20-prefix media-libs/jbig2enc/jbig2enc-0.28-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-libs/jbig2enc/jbig2enc-0.28-r1.ebuild b/media-libs/jbig2enc/jbig2enc-0.28-r1.ebuild index 361bc7c..7a38cf9 100644 --- a/media-libs/jbig2enc/jbig2enc-0.28-r1.ebuild +++ b/media-libs/jbig2enc/jbig2enc-0.28-r1.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://github.com/agl/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="amd64 x86" +KEYWORDS="amd64 x86 ~ppc-macos" IUSE="gif jpeg png static-libs tiff webp"