[gentoo-commits] repo/gentoo:master commit in: media-libs/gd/
commit: 12c0f204d5a926fe49d8ae416ffa9ee015d148c1 Author: Arthur Zamarin gentoo org> AuthorDate: Fri Dec 1 13:44:21 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Fri Dec 1 13:44:21 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12c0f204 media-libs/gd: Stabilize 2.3.3-r4 ppc, #914793 Signed-off-by: Arthur Zamarin gentoo.org> media-libs/gd/gd-2.3.3-r4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-libs/gd/gd-2.3.3-r4.ebuild b/media-libs/gd/gd-2.3.3-r4.ebuild index 72e5a124a063..2ccfb91a051b 100644 --- a/media-libs/gd/gd-2.3.3-r4.ebuild +++ b/media-libs/gd/gd-2.3.3-r4.ebuild @@ -12,7 +12,7 @@ S="${WORKDIR}/lib${P}" LICENSE="gd IJG HPND BSD" SLOT="2/3" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" IUSE="avif cpu_flags_x86_sse fontconfig +jpeg heif +png static-libs test tiff truetype webp xpm zlib" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: media-libs/gd/
commit: bc369262bda2891504e24de0dcc15d5f754c4794 Author: Michał Górny gentoo org> AuthorDate: Sun Oct 22 12:50:26 2023 + Commit: Michał Górny gentoo org> CommitDate: Fri Oct 27 15:18:21 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc369262 media-libs/gd: Remove redundant local flag descs Signed-off-by: Michał Górny gentoo.org> media-libs/gd/metadata.xml | 4 1 file changed, 4 deletions(-) diff --git a/media-libs/gd/metadata.xml b/media-libs/gd/metadata.xml index 80c2c798548f..d6ac5746f566 100644 --- a/media-libs/gd/metadata.xml +++ b/media-libs/gd/metadata.xml @@ -27,8 +27,4 @@ and so forth. libgd/libgd https://github.com/libgd/libgd/issues - - Enable support for the avif format via media-libs/libavif - Enable support for the webp format -
[gentoo-commits] repo/gentoo:master commit in: media-libs/gd/
commit: 1e1ba30dde18e1e53a1057f1295ea42164f671dc Author: Sam James gentoo org> AuthorDate: Thu Sep 28 05:12:06 2023 + Commit: Sam James gentoo org> CommitDate: Thu Sep 28 05:12:06 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e1ba30d media-libs/gd: Stabilize 2.3.3-r4 sparc, #914793 Signed-off-by: Sam James gentoo.org> media-libs/gd/gd-2.3.3-r4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-libs/gd/gd-2.3.3-r4.ebuild b/media-libs/gd/gd-2.3.3-r4.ebuild index a6f1c809074d..72e5a124a063 100644 --- a/media-libs/gd/gd-2.3.3-r4.ebuild +++ b/media-libs/gd/gd-2.3.3-r4.ebuild @@ -12,7 +12,7 @@ S="${WORKDIR}/lib${P}" LICENSE="gd IJG HPND BSD" SLOT="2/3" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" IUSE="avif cpu_flags_x86_sse fontconfig +jpeg heif +png static-libs test tiff truetype webp xpm zlib" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: media-libs/gd/
commit: 723f729e5491cb18f2e7f3bff14a88c083e2dbf9 Author: Sam James gentoo org> AuthorDate: Thu Sep 28 04:20:37 2023 + Commit: Sam James gentoo org> CommitDate: Thu Sep 28 04:20:37 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=723f729e media-libs/gd: Stabilize 2.3.3-r4 hppa, #914793 Signed-off-by: Sam James gentoo.org> media-libs/gd/gd-2.3.3-r4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-libs/gd/gd-2.3.3-r4.ebuild b/media-libs/gd/gd-2.3.3-r4.ebuild index 6a68a11137ba..a6f1c809074d 100644 --- a/media-libs/gd/gd-2.3.3-r4.ebuild +++ b/media-libs/gd/gd-2.3.3-r4.ebuild @@ -12,7 +12,7 @@ S="${WORKDIR}/lib${P}" LICENSE="gd IJG HPND BSD" SLOT="2/3" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" IUSE="avif cpu_flags_x86_sse fontconfig +jpeg heif +png static-libs test tiff truetype webp xpm zlib" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: media-libs/gd/
commit: 1c53b5f0c996c0c32c8f3223bde233b139b33784 Author: Sam James gentoo org> AuthorDate: Wed Sep 27 04:57:56 2023 + Commit: Sam James gentoo org> CommitDate: Wed Sep 27 04:57:56 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c53b5f0 media-libs/gd: Stabilize 2.3.3-r4 ppc64, #914793 Signed-off-by: Sam James gentoo.org> media-libs/gd/gd-2.3.3-r4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-libs/gd/gd-2.3.3-r4.ebuild b/media-libs/gd/gd-2.3.3-r4.ebuild index 7c729da871db..4d9c4367a428 100644 --- a/media-libs/gd/gd-2.3.3-r4.ebuild +++ b/media-libs/gd/gd-2.3.3-r4.ebuild @@ -12,7 +12,7 @@ S="${WORKDIR}/lib${P}" LICENSE="gd IJG HPND BSD" SLOT="2/3" -KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" IUSE="avif cpu_flags_x86_sse fontconfig +jpeg heif +png static-libs test tiff truetype webp xpm zlib" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: media-libs/gd/
commit: 345bcace36e73ac701f5a5c9d244df13df3b553d Author: Sam James gentoo org> AuthorDate: Wed Sep 27 04:49:37 2023 + Commit: Sam James gentoo org> CommitDate: Wed Sep 27 04:49:37 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=345bcace media-libs/gd: Stabilize 2.3.3-r4 arm, #914793 Signed-off-by: Sam James gentoo.org> media-libs/gd/gd-2.3.3-r4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-libs/gd/gd-2.3.3-r4.ebuild b/media-libs/gd/gd-2.3.3-r4.ebuild index f16c852054b4..7c729da871db 100644 --- a/media-libs/gd/gd-2.3.3-r4.ebuild +++ b/media-libs/gd/gd-2.3.3-r4.ebuild @@ -12,7 +12,7 @@ S="${WORKDIR}/lib${P}" LICENSE="gd IJG HPND BSD" SLOT="2/3" -KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" IUSE="avif cpu_flags_x86_sse fontconfig +jpeg heif +png static-libs test tiff truetype webp xpm zlib" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: media-libs/gd/
commit: fa10288dad1bb4e20d1e79309565fc7a2f00b544 Author: Sam James gentoo org> AuthorDate: Wed Sep 27 04:48:40 2023 + Commit: Sam James gentoo org> CommitDate: Wed Sep 27 04:48:40 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa10288d media-libs/gd: Stabilize 2.3.3-r4 x86, #914793 Signed-off-by: Sam James gentoo.org> media-libs/gd/gd-2.3.3-r4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-libs/gd/gd-2.3.3-r4.ebuild b/media-libs/gd/gd-2.3.3-r4.ebuild index e6ad85f655c5..c65654964be5 100644 --- a/media-libs/gd/gd-2.3.3-r4.ebuild +++ b/media-libs/gd/gd-2.3.3-r4.ebuild @@ -12,7 +12,7 @@ S="${WORKDIR}/lib${P}" LICENSE="gd IJG HPND BSD" SLOT="2/3" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" IUSE="avif cpu_flags_x86_sse fontconfig +jpeg heif +png static-libs test tiff truetype webp xpm zlib" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: media-libs/gd/
commit: f9dcf36cc7ea6178e0663d2f72aa0a0469702dd8 Author: Sam James gentoo org> AuthorDate: Wed Sep 27 04:48:41 2023 + Commit: Sam James gentoo org> CommitDate: Wed Sep 27 04:48:41 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9dcf36c media-libs/gd: Stabilize 2.3.3-r4 arm64, #914793 Signed-off-by: Sam James gentoo.org> media-libs/gd/gd-2.3.3-r4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-libs/gd/gd-2.3.3-r4.ebuild b/media-libs/gd/gd-2.3.3-r4.ebuild index c65654964be5..f16c852054b4 100644 --- a/media-libs/gd/gd-2.3.3-r4.ebuild +++ b/media-libs/gd/gd-2.3.3-r4.ebuild @@ -12,7 +12,7 @@ S="${WORKDIR}/lib${P}" LICENSE="gd IJG HPND BSD" SLOT="2/3" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" IUSE="avif cpu_flags_x86_sse fontconfig +jpeg heif +png static-libs test tiff truetype webp xpm zlib" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: media-libs/gd/files/, media-libs/gd/
commit: 620a28b9417440d1e59ca93178063ba54fd2d55d Author: Michael Orlitzky gentoo org> AuthorDate: Mon Aug 21 20:22:53 2023 + Commit: Michael Orlitzky gentoo org> CommitDate: Mon Aug 21 20:44:37 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=620a28b9 media-libs/gd: backport GD_BICUBIC fix, update EAPI 7 -> 8 The GD_BICUBIC interpolation methods were accidentally removed upstream. They have since been added back, but not in a release. We backport the upstream patch for the issue because dev-lang/php exposes and tests these methods. Closes: https://bugs.gentoo.org/912772 Signed-off-by: Michael Orlitzky gentoo.org> media-libs/gd/files/gd-2.3.3-GD_BICUBIC.patch | 31 + media-libs/gd/gd-2.3.3-r4.ebuild | 96 +++ 2 files changed, 127 insertions(+) diff --git a/media-libs/gd/files/gd-2.3.3-GD_BICUBIC.patch b/media-libs/gd/files/gd-2.3.3-GD_BICUBIC.patch new file mode 100644 index ..e89df284df9c --- /dev/null +++ b/media-libs/gd/files/gd-2.3.3-GD_BICUBIC.patch @@ -0,0 +1,31 @@ +From a5f5698a6832fc1f8179a9257f0b91c9a8ef496b Mon Sep 17 00:00:00 2001 +From: Cyprien Nicolas +Date: Thu, 27 Oct 2022 14:36:33 +0200 +Subject: [PATCH] Fix #847: enable back GD_BICUBIC* interpolation methods + +(cherry picked from commit 39abd7238cea2ba8baa4bcac1d6fc01c6cb8afab) +--- + src/gd_interpolation.c | 5 + + tests/gdimagesetinterpolationmethod/.gitignore | 1 + + tests/gdimagesetinterpolationmethod/CMakeLists.txt | 1 + + tests/gdimagesetinterpolationmethod/Makemodule.am| 3 ++- + .../gdimagesetinterpolationmethod/github_bug_00847.c | 12 + 5 files changed, 21 insertions(+), 1 deletion(-) + create mode 100644 tests/gdimagesetinterpolationmethod/github_bug_00847.c + +diff --git a/src/gd_interpolation.c b/src/gd_interpolation.c +index 1f625dd22..cf77da7c8 100644 +--- a/src/gd_interpolation.c b/src/gd_interpolation.c +@@ -2257,6 +2257,11 @@ BGD_DECLARE(int) gdImageSetInterpolationMethod(gdImagePtr im, gdInterpolationMet + case GD_BESSEL: + im->interpolation = filter_bessel; + break; ++ case GD_BICUBIC_FIXED: ++ case GD_BICUBIC: ++ /* no interpolation as gdImageScale calls a dedicated function */ ++ im->interpolation = NULL; ++ break; + case GD_BLACKMAN: + im->interpolation = filter_blackman; + break; diff --git a/media-libs/gd/gd-2.3.3-r4.ebuild b/media-libs/gd/gd-2.3.3-r4.ebuild new file mode 100644 index ..e6ad85f655c5 --- /dev/null +++ b/media-libs/gd/gd-2.3.3-r4.ebuild @@ -0,0 +1,96 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools flag-o-matic multilib-minimal + +DESCRIPTION="Graphics library for fast image creation" +HOMEPAGE="https://libgd.org/ https://www.boutell.com/gd/"; +SRC_URI="https://github.com/libgd/libgd/releases/download/${P}/lib${P}.tar.xz"; +S="${WORKDIR}/lib${P}" + +LICENSE="gd IJG HPND BSD" +SLOT="2/3" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="avif cpu_flags_x86_sse fontconfig +jpeg heif +png static-libs test tiff truetype webp xpm zlib" +RESTRICT="!test? ( test )" + +# fontconfig has prefixed font paths, details see bug #518970 +REQUIRED_USE=" + prefix? ( fontconfig ) + test? ( png ) +" + +BDEPEND="virtual/pkgconfig" +RDEPEND=" + avif? ( media-libs/libavif:=[${MULTILIB_USEDEP}] ) + fontconfig? ( >=media-libs/fontconfig-2.10.92[${MULTILIB_USEDEP}] ) + jpeg? ( media-libs/libjpeg-turbo[${MULTILIB_USEDEP}] ) + heif? ( media-libs/libheif:=[${MULTILIB_USEDEP}] ) + png? ( >=media-libs/libpng-1.6.10:0=[${MULTILIB_USEDEP}] ) + tiff? ( media-libs/tiff:=[${MULTILIB_USEDEP}] ) + truetype? ( >=media-libs/freetype-2.5.0.1[${MULTILIB_USEDEP}] ) + webp? ( media-libs/libwebp:=[${MULTILIB_USEDEP}] ) + xpm? ( + >=x11-libs/libXpm-3.5.10-r1[${MULTILIB_USEDEP}] + >=x11-libs/libXt-1.1.4[${MULTILIB_USEDEP}] + ) + zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] ) +" +DEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}/${PN}-2.3.0-disable-flaky-tests.patch" + "${FILESDIR}/${P}-GD_BICUBIC.patch" +) + +src_prepare() { + default + eautoreconf +} + +multilib_src_configure() { + # bug 603360, https://github.com/libgd/libgd/blob/fd06f7f83c5e78bf5b7f5397746b4e5ee4366250/docs/README.TESTING#L65 + if use cpu_flags_x86_sse ; then + append-cflags -msse -mfpmath=sse + else + append-cflags -ffloat-store + fi + + # bug 632076, https://github.com/libgd/libgd/
[gentoo-commits] repo/gentoo:master commit in: media-libs/gd/
commit: 225c32feb3f1dc43d573738849c07a502125c965 Author: Arthur Zamarin gentoo org> AuthorDate: Fri Jul 29 13:21:37 2022 + Commit: Arthur Zamarin gentoo org> CommitDate: Fri Jul 29 13:21:37 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=225c32fe media-libs/gd: Stabilize 2.3.3-r1 hppa, #858275 Signed-off-by: Arthur Zamarin gentoo.org> media-libs/gd/gd-2.3.3-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-libs/gd/gd-2.3.3-r1.ebuild b/media-libs/gd/gd-2.3.3-r1.ebuild index fad25e8b6e04..2bd406826e38 100644 --- a/media-libs/gd/gd-2.3.3-r1.ebuild +++ b/media-libs/gd/gd-2.3.3-r1.ebuild @@ -12,7 +12,7 @@ S="${WORKDIR}/lib${P}" LICENSE="gd IJG HPND BSD" SLOT="2/3" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="avif cpu_flags_x86_sse fontconfig +jpeg heif +png static-libs test tiff truetype webp xpm zlib" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: media-libs/gd/
commit: bdfa9518ff00e8c239c8781c87bac07d3149c387 Author: Agostino Sarubbo gentoo org> AuthorDate: Sat Jul 16 08:59:44 2022 + Commit: Agostino Sarubbo gentoo org> CommitDate: Sat Jul 16 08:59:44 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bdfa9518 media-libs/gd: x86 stable wrt bug #858275 Signed-off-by: Agostino Sarubbo gentoo.org> media-libs/gd/gd-2.3.3-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-libs/gd/gd-2.3.3-r1.ebuild b/media-libs/gd/gd-2.3.3-r1.ebuild index 2affad8894a6..fad25e8b6e04 100644 --- a/media-libs/gd/gd-2.3.3-r1.ebuild +++ b/media-libs/gd/gd-2.3.3-r1.ebuild @@ -12,7 +12,7 @@ S="${WORKDIR}/lib${P}" LICENSE="gd IJG HPND BSD" SLOT="2/3" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="avif cpu_flags_x86_sse fontconfig +jpeg heif +png static-libs test tiff truetype webp xpm zlib" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: media-libs/gd/
commit: e97f4ee7ffd1d2808e9da19f61538d517d472c8c Author: Agostino Sarubbo gentoo org> AuthorDate: Sat Jul 16 08:55:34 2022 + Commit: Agostino Sarubbo gentoo org> CommitDate: Sat Jul 16 08:55:34 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e97f4ee7 media-libs/gd: amd64 stable wrt bug #858275 Signed-off-by: Agostino Sarubbo gentoo.org> media-libs/gd/gd-2.3.3-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-libs/gd/gd-2.3.3-r1.ebuild b/media-libs/gd/gd-2.3.3-r1.ebuild index 3c9889de42ab..2affad8894a6 100644 --- a/media-libs/gd/gd-2.3.3-r1.ebuild +++ b/media-libs/gd/gd-2.3.3-r1.ebuild @@ -12,7 +12,7 @@ S="${WORKDIR}/lib${P}" LICENSE="gd IJG HPND BSD" SLOT="2/3" -KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="avif cpu_flags_x86_sse fontconfig +jpeg heif +png static-libs test tiff truetype webp xpm zlib" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: media-libs/gd/
commit: a194feaa94138d5bcf7ac515f670177bf8a560c2 Author: Arthur Zamarin gentoo org> AuthorDate: Sat Jul 16 07:17:10 2022 + Commit: Arthur Zamarin gentoo org> CommitDate: Sat Jul 16 07:17:10 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a194feaa media-libs/gd: Stabilize 2.3.3-r1 ppc64, #858275 Signed-off-by: Arthur Zamarin gentoo.org> media-libs/gd/gd-2.3.3-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-libs/gd/gd-2.3.3-r1.ebuild b/media-libs/gd/gd-2.3.3-r1.ebuild index 112d5898ab9d..3c9889de42ab 100644 --- a/media-libs/gd/gd-2.3.3-r1.ebuild +++ b/media-libs/gd/gd-2.3.3-r1.ebuild @@ -12,7 +12,7 @@ S="${WORKDIR}/lib${P}" LICENSE="gd IJG HPND BSD" SLOT="2/3" -KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ~ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="avif cpu_flags_x86_sse fontconfig +jpeg heif +png static-libs test tiff truetype webp xpm zlib" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: media-libs/gd/
commit: a6b5415baee68403a05eb8301a55bbfa0ad7e28a Author: Arthur Zamarin gentoo org> AuthorDate: Sat Jul 16 07:17:09 2022 + Commit: Arthur Zamarin gentoo org> CommitDate: Sat Jul 16 07:17:09 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6b5415b media-libs/gd: Stabilize 2.3.3-r1 ppc, #858275 Signed-off-by: Arthur Zamarin gentoo.org> media-libs/gd/gd-2.3.3-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-libs/gd/gd-2.3.3-r1.ebuild b/media-libs/gd/gd-2.3.3-r1.ebuild index 2c2cfa78a309..112d5898ab9d 100644 --- a/media-libs/gd/gd-2.3.3-r1.ebuild +++ b/media-libs/gd/gd-2.3.3-r1.ebuild @@ -12,7 +12,7 @@ S="${WORKDIR}/lib${P}" LICENSE="gd IJG HPND BSD" SLOT="2/3" -KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ~ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="avif cpu_flags_x86_sse fontconfig +jpeg heif +png static-libs test tiff truetype webp xpm zlib" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: media-libs/gd/
commit: 2d443901b11eaf6a7c6b560396974189c184a3b6 Author: Arthur Zamarin gentoo org> AuthorDate: Fri Jul 15 18:51:19 2022 + Commit: Arthur Zamarin gentoo org> CommitDate: Fri Jul 15 18:51:19 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d443901 media-libs/gd: Stabilize 2.3.3-r1 arm, #858275 Signed-off-by: Arthur Zamarin gentoo.org> media-libs/gd/gd-2.3.3-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-libs/gd/gd-2.3.3-r1.ebuild b/media-libs/gd/gd-2.3.3-r1.ebuild index f10d1a4c78a3..2c2cfa78a309 100644 --- a/media-libs/gd/gd-2.3.3-r1.ebuild +++ b/media-libs/gd/gd-2.3.3-r1.ebuild @@ -12,7 +12,7 @@ S="${WORKDIR}/lib${P}" LICENSE="gd IJG HPND BSD" SLOT="2/3" -KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="avif cpu_flags_x86_sse fontconfig +jpeg heif +png static-libs test tiff truetype webp xpm zlib" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: media-libs/gd/
commit: 3e2c0bc2b3657d5489207e8f5c926d0b7a504a3e Author: Arthur Zamarin gentoo org> AuthorDate: Fri Jul 15 18:46:19 2022 + Commit: Arthur Zamarin gentoo org> CommitDate: Fri Jul 15 18:46:19 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e2c0bc2 media-libs/gd: Stabilize 2.3.3-r1 arm64, #858275 Signed-off-by: Arthur Zamarin gentoo.org> media-libs/gd/gd-2.3.3-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-libs/gd/gd-2.3.3-r1.ebuild b/media-libs/gd/gd-2.3.3-r1.ebuild index c31f0d488693..f10d1a4c78a3 100644 --- a/media-libs/gd/gd-2.3.3-r1.ebuild +++ b/media-libs/gd/gd-2.3.3-r1.ebuild @@ -12,7 +12,7 @@ S="${WORKDIR}/lib${P}" LICENSE="gd IJG HPND BSD" SLOT="2/3" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="avif cpu_flags_x86_sse fontconfig +jpeg heif +png static-libs test tiff truetype webp xpm zlib" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: media-libs/gd/
commit: 19813f46a4d60d6ba8313df737f759bcf0d74f7f Author: Arthur Zamarin gentoo org> AuthorDate: Fri Jul 15 18:46:18 2022 + Commit: Arthur Zamarin gentoo org> CommitDate: Fri Jul 15 18:46:18 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19813f46 media-libs/gd: Stabilize 2.3.3-r1 sparc, #858275 Signed-off-by: Arthur Zamarin gentoo.org> media-libs/gd/gd-2.3.3-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-libs/gd/gd-2.3.3-r1.ebuild b/media-libs/gd/gd-2.3.3-r1.ebuild index 861f26ea0551..c31f0d488693 100644 --- a/media-libs/gd/gd-2.3.3-r1.ebuild +++ b/media-libs/gd/gd-2.3.3-r1.ebuild @@ -12,7 +12,7 @@ S="${WORKDIR}/lib${P}" LICENSE="gd IJG HPND BSD" SLOT="2/3" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="avif cpu_flags_x86_sse fontconfig +jpeg heif +png static-libs test tiff truetype webp xpm zlib" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: media-libs/gd/
commit: d09ba1890c4e9d1baf2912bc6f2dd486cb93e159 Author: WANG Xuerui gentoo org> AuthorDate: Sat May 14 10:28:02 2022 + Commit: WANG Xuerui gentoo org> CommitDate: Sat May 14 10:28:55 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d09ba189 media-libs/gd: keyword 2.3.3-r1 for ~loong Tests passed on real hardware. Signed-off-by: WANG Xuerui gentoo.org> media-libs/gd/gd-2.3.3-r1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/media-libs/gd/gd-2.3.3-r1.ebuild b/media-libs/gd/gd-2.3.3-r1.ebuild index a50c264c6bb7..861f26ea0551 100644 --- a/media-libs/gd/gd-2.3.3-r1.ebuild +++ b/media-libs/gd/gd-2.3.3-r1.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 @@ -12,7 +12,7 @@ S="${WORKDIR}/lib${P}" LICENSE="gd IJG HPND BSD" SLOT="2/3" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="avif cpu_flags_x86_sse fontconfig +jpeg heif +png static-libs test tiff truetype webp xpm zlib" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: media-libs/gd/files/, media-libs/gd/
commit: 34371f4c666e0e5c3beabb8b4eccb52bf5e4d150 Author: Sam James gentoo org> AuthorDate: Sun Apr 17 18:26:55 2022 + Commit: Sam James gentoo org> CommitDate: Sun Apr 17 18:26:55 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34371f4c media-libs/gd: drop 2.3.0, 2.3.1 Signed-off-by: Sam James gentoo.org> media-libs/gd/Manifest | 2 - .../gd/files/gd-2.3.0-fix-tests-bug722448.patch| 62 media-libs/gd/files/gd-2.3.0-getlib.patch | 81 - media-libs/gd/gd-2.3.0.ebuild | 83 -- media-libs/gd/gd-2.3.1.ebuild | 81 - 5 files changed, 309 deletions(-) diff --git a/media-libs/gd/Manifest b/media-libs/gd/Manifest index 6ff83934a003..8c8491500522 100644 --- a/media-libs/gd/Manifest +++ b/media-libs/gd/Manifest @@ -1,4 +1,2 @@ -DIST libgd-2.3.0.tar.xz 2539188 BLAKE2B a90f48be959d1bb6774ec44960e191b8be134ff3e74401eba4cbf9b165c72665f3dffe3beaaf92fa6069e0ef79533be5d57a5946a1839f55446072fa322ed808 SHA512 5b201d22560e147a3d5471010b898ad0268c3a2453b870d1267b6ba92e540cf9f75099336c1ab08217e41827ac86fe04525726bf29ad117e5dcbaef9a8d0622a -DIST libgd-2.3.1.tar.xz 2632076 BLAKE2B 22457c4a2fc493872ccbc8a2c45283e785ab200ca671c48f00f3f22a037fac3b97afb35534f5ec7288714a16dfaa59ed53acbbd39c3e7f89f16cdec72ef1bed1 SHA512 0b96406a1d62129d7d63f78fc4558062c223a3bfbf9719be86362fd922b72b5dac294524dd1b0a996a4a7a709ee9d2dfc790ee32564add70adad41d044a0ed80 DIST libgd-2.3.2.tar.xz 2821096 BLAKE2B a126fbac1c20113fe8f27187e70b1b81712212b7da01c9a0b3e5e38fb4d4356b7992a0cfd7db55a2f94877f6ecf82d775c39977a523db1f948cf215c6c0d7672 SHA512 a31c6dbb64e7b725b63f3b400f7bebc289e2d776bdca0595af23006841660dc93a56c2247b98f8a584438a826f9e9ff0bea17d0b3900e48e281580b1308794d2 DIST libgd-2.3.3.tar.xz 2809056 BLAKE2B bde7a3218e5b07758b0beb96a654a44a97ba79abfe1ebe115ffd44aa34301be8e76f33840824362826dbfe93b16a4c4403b00b34aa631a0b18398cd46a09889d SHA512 aa49d4381d604a4360d556419d603df2ffd689a6dcc10f8e5e1d158ddaa3ab89912f6077ca77da4e370055074007971cf6d356ec9bf26dcf39bcff3208bc7e6c diff --git a/media-libs/gd/files/gd-2.3.0-fix-tests-bug722448.patch b/media-libs/gd/files/gd-2.3.0-fix-tests-bug722448.patch deleted file mode 100644 index eef62fca676b.. --- a/media-libs/gd/files/gd-2.3.0-fix-tests-bug722448.patch +++ /dev/null @@ -1,62 +0,0 @@ -From ec0b4397698bd358557d33641aac4beb1912f43b Mon Sep 17 00:00:00 2001 -From: wilson chen -Date: Wed, 15 Apr 2020 00:25:01 +0800 -Subject: [PATCH] Improve test cases for gdImageString16 and gdImageStringUp16 - (#625) - -Fixed #623. wchar_t is 32 bits on 64-bits AIX, which will result in test case failure. -So we replace wchar_t with unsigned short array. - tests/gdimagestring16/gdimagestring16.c | 6 ++ - tests/gdimagestringup16/gdimagestringup16.c | 6 ++ - 2 files changed, 4 insertions(+), 8 deletions(-) - -diff --git a/tests/gdimagestring16/gdimagestring16.c b/tests/gdimagestring16/gdimagestring16.c -index 57eae978..0ca06680 100644 a/tests/gdimagestring16/gdimagestring16.c -+++ b/tests/gdimagestring16/gdimagestring16.c -@@ -9,9 +9,7 @@ int main() - { - /* Declare the image */ - gdImagePtr im = NULL; -- wchar_t *wchr = L"H"; -- unsigned short *sptr; -- sptr = (unsigned short *)wchr; -+ unsigned short s[2] = {'H', 0}; - int foreground; - int errorcode = 0; - gdFontPtr fontptr = gdFontGetLarge(); -@@ -20,7 +18,7 @@ int main() - gdImageColorAllocate(im, 255, 255, 255); - foreground = gdImageColorAllocate(im, 22, 4, 238); - -- gdImageString16(im, fontptr, 2, 2, sptr, foreground); -+ gdImageString16(im, fontptr, 2, 2, s, foreground); - - if (!gdAssertImageEqualsToFile("gdimagestring16/gdimagestring16_exp.png", im)) - errorcode = 1; -diff --git a/tests/gdimagestringup16/gdimagestringup16.c b/tests/gdimagestringup16/gdimagestringup16.c -index c843abec..c24639fd 100644 a/tests/gdimagestringup16/gdimagestringup16.c -+++ b/tests/gdimagestringup16/gdimagestringup16.c -@@ -9,9 +9,7 @@ int main() - { - /* Declare the image */ - gdImagePtr im = NULL; -- wchar_t *wchr = L"H"; -- unsigned short *sptr; -- sptr = (unsigned short *)wchr; -+ unsigned short s[2] = {'H', 0}; - int foreground; - int errorcode = 0; - gdFontPtr fontptr = gdFontGetLarge(); -@@ -20,7 +18,7 @@ int main() - gdImageColorAllocate(im, 255, 255, 255); - foreground = gdImageColorAllocate(im, 22, 4, 238); - -- gdImageStringUp16(im, fontptr, 2, 18, sptr, foreground); -+ gdImageStringUp16(im, fontptr, 2, 18, s, foreground); - - if (!gdAssertImageEqualsToFile("gdimagestringup16/gdimagestringup16_exp.png", im)) - errorcode = 1; - diff --git a/media-libs/gd/files/gd-2.3.0-getlib.patch b/media-libs/gd/files/gd-2.3.0-getlib.patch deleted
[gentoo-commits] repo/gentoo:master commit in: media-libs/gd/
commit: 852c6aff75a5050a4fc337750d0ef6842765ced8 Author: Sam James gentoo org> AuthorDate: Sun Nov 7 22:56:12 2021 + Commit: Sam James gentoo org> CommitDate: Sun Nov 7 23:07:47 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=852c6aff media-libs/gd: use libavif subslot operator Closes: https://bugs.gentoo.org/822333 Signed-off-by: Sam James gentoo.org> media-libs/gd/{gd-2.3.2.ebuild => gd-2.3.2-r1.ebuild} | 4 ++-- media-libs/gd/{gd-2.3.3.ebuild => gd-2.3.3-r1.ebuild} | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/media-libs/gd/gd-2.3.2.ebuild b/media-libs/gd/gd-2.3.2-r1.ebuild similarity index 96% rename from media-libs/gd/gd-2.3.2.ebuild rename to media-libs/gd/gd-2.3.2-r1.ebuild index 9e697c051d8..d145563ca1d 100644 --- a/media-libs/gd/gd-2.3.2.ebuild +++ b/media-libs/gd/gd-2.3.2-r1.ebuild @@ -24,10 +24,10 @@ REQUIRED_USE=" BDEPEND="virtual/pkgconfig" RDEPEND=" - avif? ( media-libs/libavif[${MULTILIB_USEDEP}] ) + avif? ( media-libs/libavif:=[${MULTILIB_USEDEP}] ) fontconfig? ( >=media-libs/fontconfig-2.10.92[${MULTILIB_USEDEP}] ) jpeg? ( >=virtual/jpeg-0-r2:0=[${MULTILIB_USEDEP}] ) - heif? ( media-libs/libheif[${MULTILIB_USEDEP}] ) + heif? ( media-libs/libheif:=[${MULTILIB_USEDEP}] ) png? ( >=media-libs/libpng-1.6.10:0=[${MULTILIB_USEDEP}] ) tiff? ( media-libs/tiff:0[${MULTILIB_USEDEP}] ) truetype? ( >=media-libs/freetype-2.5.0.1[${MULTILIB_USEDEP}] ) diff --git a/media-libs/gd/gd-2.3.3.ebuild b/media-libs/gd/gd-2.3.3-r1.ebuild similarity index 96% rename from media-libs/gd/gd-2.3.3.ebuild rename to media-libs/gd/gd-2.3.3-r1.ebuild index e890c90f2dd..a50c264c6bb 100644 --- a/media-libs/gd/gd-2.3.3.ebuild +++ b/media-libs/gd/gd-2.3.3-r1.ebuild @@ -24,10 +24,10 @@ REQUIRED_USE=" BDEPEND="virtual/pkgconfig" RDEPEND=" - avif? ( media-libs/libavif[${MULTILIB_USEDEP}] ) + avif? ( media-libs/libavif:=[${MULTILIB_USEDEP}] ) fontconfig? ( >=media-libs/fontconfig-2.10.92[${MULTILIB_USEDEP}] ) jpeg? ( >=virtual/jpeg-0-r2:0=[${MULTILIB_USEDEP}] ) - heif? ( media-libs/libheif[${MULTILIB_USEDEP}] ) + heif? ( media-libs/libheif:=[${MULTILIB_USEDEP}] ) png? ( >=media-libs/libpng-1.6.10:0=[${MULTILIB_USEDEP}] ) tiff? ( media-libs/tiff:0[${MULTILIB_USEDEP}] ) truetype? ( >=media-libs/freetype-2.5.0.1[${MULTILIB_USEDEP}] )
[gentoo-commits] repo/gentoo:master commit in: media-libs/gd/
commit: 32467195a7c32ef88f84e81ac1fcc05abd19ccfa Author: Sam James gentoo org> AuthorDate: Sun Sep 12 23:56:36 2021 + Commit: Sam James gentoo org> CommitDate: Sun Sep 12 23:56:36 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32467195 media-libs/gd: set TMPDIR for tests Useful to respect ${T} for temporary work from installing ebuilds, although it passed tests without this for me. See: https://github.com/libgd/libgd/issues/763 Signed-off-by: Sam James gentoo.org> media-libs/gd/gd-2.3.3.ebuild | 5 + 1 file changed, 5 insertions(+) diff --git a/media-libs/gd/gd-2.3.3.ebuild b/media-libs/gd/gd-2.3.3.ebuild index 5797a5d83b0..e890c90f2dd 100644 --- a/media-libs/gd/gd-2.3.3.ebuild +++ b/media-libs/gd/gd-2.3.3.ebuild @@ -84,6 +84,11 @@ multilib_src_configure() { ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" } +multilib_src_test() { + # See https://github.com/libgd/libgd/issues/763 (although it still passed without it here?) + TMPDIR="${T}" default +} + multilib_src_install_all() { dodoc README.md find "${ED}" -name '*.la' -delete || die
[gentoo-commits] repo/gentoo:master commit in: media-libs/gd/
commit: cf75abdd0d62f83b15f1c2e9dba67d69c4fd2af8 Author: Sam James gentoo org> AuthorDate: Sun Sep 12 21:25:04 2021 + Commit: Sam James gentoo org> CommitDate: Sun Sep 12 21:29:11 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf75abdd media-libs/gd: add 2.3.3 Signed-off-by: Sam James gentoo.org> media-libs/gd/Manifest| 1 + media-libs/gd/gd-2.3.3.ebuild | 90 +++ 2 files changed, 91 insertions(+) diff --git a/media-libs/gd/Manifest b/media-libs/gd/Manifest index d42fa6e8c07..6ff83934a00 100644 --- a/media-libs/gd/Manifest +++ b/media-libs/gd/Manifest @@ -1,3 +1,4 @@ DIST libgd-2.3.0.tar.xz 2539188 BLAKE2B a90f48be959d1bb6774ec44960e191b8be134ff3e74401eba4cbf9b165c72665f3dffe3beaaf92fa6069e0ef79533be5d57a5946a1839f55446072fa322ed808 SHA512 5b201d22560e147a3d5471010b898ad0268c3a2453b870d1267b6ba92e540cf9f75099336c1ab08217e41827ac86fe04525726bf29ad117e5dcbaef9a8d0622a DIST libgd-2.3.1.tar.xz 2632076 BLAKE2B 22457c4a2fc493872ccbc8a2c45283e785ab200ca671c48f00f3f22a037fac3b97afb35534f5ec7288714a16dfaa59ed53acbbd39c3e7f89f16cdec72ef1bed1 SHA512 0b96406a1d62129d7d63f78fc4558062c223a3bfbf9719be86362fd922b72b5dac294524dd1b0a996a4a7a709ee9d2dfc790ee32564add70adad41d044a0ed80 DIST libgd-2.3.2.tar.xz 2821096 BLAKE2B a126fbac1c20113fe8f27187e70b1b81712212b7da01c9a0b3e5e38fb4d4356b7992a0cfd7db55a2f94877f6ecf82d775c39977a523db1f948cf215c6c0d7672 SHA512 a31c6dbb64e7b725b63f3b400f7bebc289e2d776bdca0595af23006841660dc93a56c2247b98f8a584438a826f9e9ff0bea17d0b3900e48e281580b1308794d2 +DIST libgd-2.3.3.tar.xz 2809056 BLAKE2B bde7a3218e5b07758b0beb96a654a44a97ba79abfe1ebe115ffd44aa34301be8e76f33840824362826dbfe93b16a4c4403b00b34aa631a0b18398cd46a09889d SHA512 aa49d4381d604a4360d556419d603df2ffd689a6dcc10f8e5e1d158ddaa3ab89912f6077ca77da4e370055074007971cf6d356ec9bf26dcf39bcff3208bc7e6c diff --git a/media-libs/gd/gd-2.3.3.ebuild b/media-libs/gd/gd-2.3.3.ebuild new file mode 100644 index 000..5797a5d83b0 --- /dev/null +++ b/media-libs/gd/gd-2.3.3.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools flag-o-matic multilib-minimal + +DESCRIPTION="Graphics library for fast image creation" +HOMEPAGE="https://libgd.org/ https://www.boutell.com/gd/"; +SRC_URI="https://github.com/libgd/libgd/releases/download/${P}/lib${P}.tar.xz"; +S="${WORKDIR}/lib${P}" + +LICENSE="gd IJG HPND BSD" +SLOT="2/3" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +IUSE="avif cpu_flags_x86_sse fontconfig +jpeg heif +png static-libs test tiff truetype webp xpm zlib" +RESTRICT="!test? ( test )" + +# fontconfig has prefixed font paths, details see bug #518970 +REQUIRED_USE=" + prefix? ( fontconfig ) + test? ( png ) +" + +BDEPEND="virtual/pkgconfig" +RDEPEND=" + avif? ( media-libs/libavif[${MULTILIB_USEDEP}] ) + fontconfig? ( >=media-libs/fontconfig-2.10.92[${MULTILIB_USEDEP}] ) + jpeg? ( >=virtual/jpeg-0-r2:0=[${MULTILIB_USEDEP}] ) + heif? ( media-libs/libheif[${MULTILIB_USEDEP}] ) + png? ( >=media-libs/libpng-1.6.10:0=[${MULTILIB_USEDEP}] ) + tiff? ( media-libs/tiff:0[${MULTILIB_USEDEP}] ) + truetype? ( >=media-libs/freetype-2.5.0.1[${MULTILIB_USEDEP}] ) + webp? ( media-libs/libwebp:=[${MULTILIB_USEDEP}] ) + xpm? ( + >=x11-libs/libXpm-3.5.10-r1[${MULTILIB_USEDEP}] + >=x11-libs/libXt-1.1.4[${MULTILIB_USEDEP}] + ) + zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] ) +" +DEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}/${PN}-2.3.0-disable-flaky-tests.patch" +) + +src_prepare() { + default + eautoreconf +} + +multilib_src_configure() { + # bug 603360, https://github.com/libgd/libgd/blob/fd06f7f83c5e78bf5b7f5397746b4e5ee4366250/docs/README.TESTING#L65 + if use cpu_flags_x86_sse ; then + append-cflags -msse -mfpmath=sse + else + append-cflags -ffloat-store + fi + + # bug 632076, https://github.com/libgd/libgd/issues/278 + if use arm64 || use ppc64 || use s390 ; then + append-cflags -ffp-contract=off + fi + + # we aren't actually {en,dis}abling X here ... the configure + # script uses it just to add explicit -I/-L paths which we + # don't care about on Gentoo systems. + local myeconfargs=( + --disable-werror + --without-x + --without-liq + $(use_enable static-libs static) + $(use_with avif) + $(use_with fontconfig) + $(use_with png) + $(use_with tiff) + $(use_with truetype freetype) + $(use_with heif) + $(use_with jp
[gentoo-commits] repo/gentoo:master commit in: media-libs/gd/
commit: a49b1e9513d0b6a93cb54698346f87f0a7582b38 Author: Sam James gentoo org> AuthorDate: Tue Sep 7 03:05:26 2021 + Commit: Sam James gentoo org> CommitDate: Tue Sep 7 03:05:26 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a49b1e95 media-libs/gd: Stabilize 2.3.2 ppc64, #783555 Signed-off-by: Sam James gentoo.org> media-libs/gd/gd-2.3.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-libs/gd/gd-2.3.2.ebuild b/media-libs/gd/gd-2.3.2.ebuild index 3beffa36fe5..9e697c051d8 100644 --- a/media-libs/gd/gd-2.3.2.ebuild +++ b/media-libs/gd/gd-2.3.2.ebuild @@ -12,7 +12,7 @@ S="${WORKDIR}/lib${P}" LICENSE="gd IJG HPND BSD" SLOT="2/3" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="avif cpu_flags_x86_sse fontconfig +jpeg heif +png static-libs test tiff truetype webp xpm zlib" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: media-libs/gd/
commit: b041aae440f289ebd361d0928a5d33753375b69b Author: Sam James gentoo org> AuthorDate: Tue Sep 7 03:02:47 2021 + Commit: Sam James gentoo org> CommitDate: Tue Sep 7 03:02:47 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b041aae4 media-libs/gd: Stabilize 2.3.2 arm64, #783555 Signed-off-by: Sam James gentoo.org> media-libs/gd/gd-2.3.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-libs/gd/gd-2.3.2.ebuild b/media-libs/gd/gd-2.3.2.ebuild index 1bdcdb7031f..3beffa36fe5 100644 --- a/media-libs/gd/gd-2.3.2.ebuild +++ b/media-libs/gd/gd-2.3.2.ebuild @@ -12,7 +12,7 @@ S="${WORKDIR}/lib${P}" LICENSE="gd IJG HPND BSD" SLOT="2/3" -KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="avif cpu_flags_x86_sse fontconfig +jpeg heif +png static-libs test tiff truetype webp xpm zlib" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: media-libs/gd/
commit: 02b0995fc091f1d08e7d81fd1ab6fa81b33a39ef Author: Thomas Deutschmann gentoo org> AuthorDate: Sun May 23 23:03:41 2021 + Commit: Thomas Deutschmann gentoo org> CommitDate: Sun May 23 23:06:43 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02b0995f media-libs/gd: x86 stable (bug #783555) Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Thomas Deutschmann gentoo.org> media-libs/gd/gd-2.3.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-libs/gd/gd-2.3.2.ebuild b/media-libs/gd/gd-2.3.2.ebuild index 2da3de41918..1bdcdb7031f 100644 --- a/media-libs/gd/gd-2.3.2.ebuild +++ b/media-libs/gd/gd-2.3.2.ebuild @@ -12,7 +12,7 @@ S="${WORKDIR}/lib${P}" LICENSE="gd IJG HPND BSD" SLOT="2/3" -KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="avif cpu_flags_x86_sse fontconfig +jpeg heif +png static-libs test tiff truetype webp xpm zlib" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: media-libs/gd/
commit: 1ecf5a09dc69124ff05f6f59ee3c232bb6a1570a Author: Sam James gentoo org> AuthorDate: Sun May 16 20:00:00 2021 + Commit: Sam James gentoo org> CommitDate: Sun May 16 20:00:00 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ecf5a09 media-libs/gd: Stabilize 2.3.2 amd64, #783555 Signed-off-by: Sam James gentoo.org> media-libs/gd/gd-2.3.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-libs/gd/gd-2.3.2.ebuild b/media-libs/gd/gd-2.3.2.ebuild index 9965a554fb4..2da3de41918 100644 --- a/media-libs/gd/gd-2.3.2.ebuild +++ b/media-libs/gd/gd-2.3.2.ebuild @@ -12,7 +12,7 @@ S="${WORKDIR}/lib${P}" LICENSE="gd IJG HPND BSD" SLOT="2/3" -KEYWORDS="~alpha ~amd64 arm ~arm64 hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="avif cpu_flags_x86_sse fontconfig +jpeg heif +png static-libs test tiff truetype webp xpm zlib" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: media-libs/gd/
commit: be5b9e8ac502f3379761f34089744ebdc2fe84ef Author: Sam James gentoo org> AuthorDate: Sun Apr 25 09:31:22 2021 + Commit: Sam James gentoo org> CommitDate: Sun Apr 25 09:31:59 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be5b9e8a media-libs/gd: Stabilize 2.3.2 arm, #783555 Signed-off-by: Sam James gentoo.org> media-libs/gd/gd-2.3.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-libs/gd/gd-2.3.2.ebuild b/media-libs/gd/gd-2.3.2.ebuild index 675966972be..9965a554fb4 100644 --- a/media-libs/gd/gd-2.3.2.ebuild +++ b/media-libs/gd/gd-2.3.2.ebuild @@ -12,7 +12,7 @@ S="${WORKDIR}/lib${P}" LICENSE="gd IJG HPND BSD" SLOT="2/3" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha ~amd64 arm ~arm64 hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="avif cpu_flags_x86_sse fontconfig +jpeg heif +png static-libs test tiff truetype webp xpm zlib" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: media-libs/gd/
commit: 100faa5e0cda3dd79d6589a9d4c3e3fd5105390f Author: Sergei Trofimovich gentoo org> AuthorDate: Sun Apr 25 09:12:33 2021 + Commit: Sergei Trofimovich gentoo org> CommitDate: Sun Apr 25 09:18:03 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=100faa5e media-libs/gd: stable 2.3.2 for hppa stable wrt bug #783555 Package-Manager: Portage-3.0.18, Repoman-3.0.3 RepoMan-Options: --include-arches="hppa" Signed-off-by: Sergei Trofimovich gentoo.org> media-libs/gd/gd-2.3.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-libs/gd/gd-2.3.2.ebuild b/media-libs/gd/gd-2.3.2.ebuild index db52387e0a4..675966972be 100644 --- a/media-libs/gd/gd-2.3.2.ebuild +++ b/media-libs/gd/gd-2.3.2.ebuild @@ -12,7 +12,7 @@ S="${WORKDIR}/lib${P}" LICENSE="gd IJG HPND BSD" SLOT="2/3" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="avif cpu_flags_x86_sse fontconfig +jpeg heif +png static-libs test tiff truetype webp xpm zlib" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: media-libs/gd/
commit: 2b1053e803b2daf29a2fe3a43e22e04660aea83f Author: Sam James gentoo org> AuthorDate: Fri Apr 23 13:32:35 2021 + Commit: Sam James gentoo org> CommitDate: Fri Apr 23 13:32:35 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b1053e8 media-libs/gd: Stabilize 2.3.2 ppc, #783555 Signed-off-by: Sam James gentoo.org> media-libs/gd/gd-2.3.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-libs/gd/gd-2.3.2.ebuild b/media-libs/gd/gd-2.3.2.ebuild index 5797a5d83b0..2012a056910 100644 --- a/media-libs/gd/gd-2.3.2.ebuild +++ b/media-libs/gd/gd-2.3.2.ebuild @@ -12,7 +12,7 @@ S="${WORKDIR}/lib${P}" LICENSE="gd IJG HPND BSD" SLOT="2/3" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="avif cpu_flags_x86_sse fontconfig +jpeg heif +png static-libs test tiff truetype webp xpm zlib" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: media-libs/gd/
commit: cc03a899c31d75e6a6030b9bd69a72856cc30de9 Author: Sam James gentoo org> AuthorDate: Fri Apr 23 13:32:47 2021 + Commit: Sam James gentoo org> CommitDate: Fri Apr 23 13:32:47 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc03a899 media-libs/gd: Stabilize 2.3.2 sparc, #783555 Signed-off-by: Sam James gentoo.org> media-libs/gd/gd-2.3.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-libs/gd/gd-2.3.2.ebuild b/media-libs/gd/gd-2.3.2.ebuild index 2012a056910..db52387e0a4 100644 --- a/media-libs/gd/gd-2.3.2.ebuild +++ b/media-libs/gd/gd-2.3.2.ebuild @@ -12,7 +12,7 @@ S="${WORKDIR}/lib${P}" LICENSE="gd IJG HPND BSD" SLOT="2/3" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="avif cpu_flags_x86_sse fontconfig +jpeg heif +png static-libs test tiff truetype webp xpm zlib" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: media-libs/gd/
commit: 8aa8845c8cecfc6cf2dc15d0175b75e641378a5f Author: Sam James gentoo org> AuthorDate: Thu Mar 11 17:08:12 2021 + Commit: Sam James gentoo org> CommitDate: Thu Mar 11 17:25:55 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8aa8845c media-libs/gd: minor formatting change Doing this in a separate commit to the upcoming libavif change for a better diff. Signed-off-by: Sam James gentoo.org> media-libs/gd/gd-2.3.2.ebuild | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/media-libs/gd/gd-2.3.2.ebuild b/media-libs/gd/gd-2.3.2.ebuild index f6ee164c0b4..b4f727eeed0 100644 --- a/media-libs/gd/gd-2.3.2.ebuild +++ b/media-libs/gd/gd-2.3.2.ebuild @@ -23,15 +23,20 @@ REQUIRED_USE=" " BDEPEND="virtual/pkgconfig" -RDEPEND="fontconfig? ( >=media-libs/fontconfig-2.10.92[${MULTILIB_USEDEP}] ) +RDEPEND=" + fontconfig? ( >=media-libs/fontconfig-2.10.92[${MULTILIB_USEDEP}] ) jpeg? ( >=virtual/jpeg-0-r2:0=[${MULTILIB_USEDEP}] ) heif? ( media-libs/libheif[${MULTILIB_USEDEP}] ) png? ( >=media-libs/libpng-1.6.10:0=[${MULTILIB_USEDEP}] ) tiff? ( media-libs/tiff:0[${MULTILIB_USEDEP}] ) truetype? ( >=media-libs/freetype-2.5.0.1[${MULTILIB_USEDEP}] ) webp? ( media-libs/libwebp:=[${MULTILIB_USEDEP}] ) - xpm? ( >=x11-libs/libXpm-3.5.10-r1[${MULTILIB_USEDEP}] >=x11-libs/libXt-1.1.4[${MULTILIB_USEDEP}] ) - zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )" + xpm? ( + >=x11-libs/libXpm-3.5.10-r1[${MULTILIB_USEDEP}] + >=x11-libs/libXt-1.1.4[${MULTILIB_USEDEP}] + ) + zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] ) +" DEPEND="${RDEPEND}" PATCHES=(
[gentoo-commits] repo/gentoo:master commit in: media-libs/gd/
commit: 02d5c009d3a3abfec856842f9311272a470c41ba Author: Sam James gentoo org> AuthorDate: Thu Mar 11 17:14:16 2021 + Commit: Sam James gentoo org> CommitDate: Thu Mar 11 17:25:55 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02d5c009 media-libs/gd: add libavif support Closes: https://bugs.gentoo.org/774534 Signed-off-by: Sam James gentoo.org> media-libs/gd/gd-2.3.2.ebuild | 5 +++-- media-libs/gd/metadata.xml| 1 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/media-libs/gd/gd-2.3.2.ebuild b/media-libs/gd/gd-2.3.2.ebuild index b4f727eeed0..5797a5d83b0 100644 --- a/media-libs/gd/gd-2.3.2.ebuild +++ b/media-libs/gd/gd-2.3.2.ebuild @@ -13,7 +13,7 @@ S="${WORKDIR}/lib${P}" LICENSE="gd IJG HPND BSD" SLOT="2/3" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" -IUSE="cpu_flags_x86_sse fontconfig +jpeg heif +png static-libs test tiff truetype webp xpm zlib" +IUSE="avif cpu_flags_x86_sse fontconfig +jpeg heif +png static-libs test tiff truetype webp xpm zlib" RESTRICT="!test? ( test )" # fontconfig has prefixed font paths, details see bug #518970 @@ -24,6 +24,7 @@ REQUIRED_USE=" BDEPEND="virtual/pkgconfig" RDEPEND=" + avif? ( media-libs/libavif[${MULTILIB_USEDEP}] ) fontconfig? ( >=media-libs/fontconfig-2.10.92[${MULTILIB_USEDEP}] ) jpeg? ( >=virtual/jpeg-0-r2:0=[${MULTILIB_USEDEP}] ) heif? ( media-libs/libheif[${MULTILIB_USEDEP}] ) @@ -68,8 +69,8 @@ multilib_src_configure() { --disable-werror --without-x --without-liq - --without-avif $(use_enable static-libs static) + $(use_with avif) $(use_with fontconfig) $(use_with png) $(use_with tiff) diff --git a/media-libs/gd/metadata.xml b/media-libs/gd/metadata.xml index 2f850ae2364..6c08c2fe834 100644 --- a/media-libs/gd/metadata.xml +++ b/media-libs/gd/metadata.xml @@ -28,6 +28,7 @@ and so forth. https://github.com/libgd/libgd/issues + Enable support for the avif format via media-libs/libavif Enable support for the heif format via media-libs/libheif Enable support for the webp format
[gentoo-commits] repo/gentoo:master commit in: media-libs/gd/
commit: f5e73a7b28c475b0be8315435e154b392272bb77 Author: Sam James gentoo org> AuthorDate: Sat Mar 6 22:51:46 2021 + Commit: Sam James gentoo org> CommitDate: Sat Mar 6 23:00:17 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5e73a7b media-libs/gd: add 2.3.2 Bug: https://bugs.gentoo.org/774534 Signed-off-by: Sam James gentoo.org> media-libs/gd/Manifest| 1 + media-libs/gd/gd-2.3.2.ebuild | 84 +++ media-libs/gd/metadata.xml| 1 + 3 files changed, 86 insertions(+) diff --git a/media-libs/gd/Manifest b/media-libs/gd/Manifest index 7c6d5873b36..d42fa6e8c07 100644 --- a/media-libs/gd/Manifest +++ b/media-libs/gd/Manifest @@ -1,2 +1,3 @@ DIST libgd-2.3.0.tar.xz 2539188 BLAKE2B a90f48be959d1bb6774ec44960e191b8be134ff3e74401eba4cbf9b165c72665f3dffe3beaaf92fa6069e0ef79533be5d57a5946a1839f55446072fa322ed808 SHA512 5b201d22560e147a3d5471010b898ad0268c3a2453b870d1267b6ba92e540cf9f75099336c1ab08217e41827ac86fe04525726bf29ad117e5dcbaef9a8d0622a DIST libgd-2.3.1.tar.xz 2632076 BLAKE2B 22457c4a2fc493872ccbc8a2c45283e785ab200ca671c48f00f3f22a037fac3b97afb35534f5ec7288714a16dfaa59ed53acbbd39c3e7f89f16cdec72ef1bed1 SHA512 0b96406a1d62129d7d63f78fc4558062c223a3bfbf9719be86362fd922b72b5dac294524dd1b0a996a4a7a709ee9d2dfc790ee32564add70adad41d044a0ed80 +DIST libgd-2.3.2.tar.xz 2821096 BLAKE2B a126fbac1c20113fe8f27187e70b1b81712212b7da01c9a0b3e5e38fb4d4356b7992a0cfd7db55a2f94877f6ecf82d775c39977a523db1f948cf215c6c0d7672 SHA512 a31c6dbb64e7b725b63f3b400f7bebc289e2d776bdca0595af23006841660dc93a56c2247b98f8a584438a826f9e9ff0bea17d0b3900e48e281580b1308794d2 diff --git a/media-libs/gd/gd-2.3.2.ebuild b/media-libs/gd/gd-2.3.2.ebuild new file mode 100644 index 000..f6ee164c0b4 --- /dev/null +++ b/media-libs/gd/gd-2.3.2.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools flag-o-matic multilib-minimal + +DESCRIPTION="Graphics library for fast image creation" +HOMEPAGE="https://libgd.org/ https://www.boutell.com/gd/"; +SRC_URI="https://github.com/libgd/libgd/releases/download/${P}/lib${P}.tar.xz"; +S="${WORKDIR}/lib${P}" + +LICENSE="gd IJG HPND BSD" +SLOT="2/3" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +IUSE="cpu_flags_x86_sse fontconfig +jpeg heif +png static-libs test tiff truetype webp xpm zlib" +RESTRICT="!test? ( test )" + +# fontconfig has prefixed font paths, details see bug #518970 +REQUIRED_USE=" + prefix? ( fontconfig ) + test? ( png ) +" + +BDEPEND="virtual/pkgconfig" +RDEPEND="fontconfig? ( >=media-libs/fontconfig-2.10.92[${MULTILIB_USEDEP}] ) + jpeg? ( >=virtual/jpeg-0-r2:0=[${MULTILIB_USEDEP}] ) + heif? ( media-libs/libheif[${MULTILIB_USEDEP}] ) + png? ( >=media-libs/libpng-1.6.10:0=[${MULTILIB_USEDEP}] ) + tiff? ( media-libs/tiff:0[${MULTILIB_USEDEP}] ) + truetype? ( >=media-libs/freetype-2.5.0.1[${MULTILIB_USEDEP}] ) + webp? ( media-libs/libwebp:=[${MULTILIB_USEDEP}] ) + xpm? ( >=x11-libs/libXpm-3.5.10-r1[${MULTILIB_USEDEP}] >=x11-libs/libXt-1.1.4[${MULTILIB_USEDEP}] ) + zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )" +DEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}/${PN}-2.3.0-disable-flaky-tests.patch" +) + +src_prepare() { + default + eautoreconf +} + +multilib_src_configure() { + # bug 603360, https://github.com/libgd/libgd/blob/fd06f7f83c5e78bf5b7f5397746b4e5ee4366250/docs/README.TESTING#L65 + if use cpu_flags_x86_sse ; then + append-cflags -msse -mfpmath=sse + else + append-cflags -ffloat-store + fi + + # bug 632076, https://github.com/libgd/libgd/issues/278 + if use arm64 || use ppc64 || use s390 ; then + append-cflags -ffp-contract=off + fi + + # we aren't actually {en,dis}abling X here ... the configure + # script uses it just to add explicit -I/-L paths which we + # don't care about on Gentoo systems. + local myeconfargs=( + --disable-werror + --without-x + --without-liq + --without-avif + $(use_enable static-libs static) + $(use_with fontconfig) + $(use_with png) + $(use_with tiff) + $(use_with truetype freetype) + $(use_with heif) + $(use_with jpeg) + $(use_with webp) + $(use_with xpm) + $(use_with zlib) + ) + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" +} + +multilib_src_install_all() { + dodoc README.md + find "${ED}" -name '*.la' -delete || die +} diff --git a/media-libs/gd/metadata.xml b/media-libs/gd/metadata.xml in
[gentoo-commits] repo/gentoo:master commit in: media-libs/gd/
commit: 9b97373c3e28cdd937a74f131074b81e8ccbaf47 Author: Sam James gentoo org> AuthorDate: Wed Mar 3 23:02:53 2021 + Commit: Sam James gentoo org> CommitDate: Wed Mar 3 23:02:53 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b97373c media-libs/gd: Stabilize 2.3.1 arm64, #773637 Signed-off-by: Sam James gentoo.org> media-libs/gd/gd-2.3.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-libs/gd/gd-2.3.1.ebuild b/media-libs/gd/gd-2.3.1.ebuild index 867e9362866..81b85e2979f 100644 --- a/media-libs/gd/gd-2.3.1.ebuild +++ b/media-libs/gd/gd-2.3.1.ebuild @@ -12,7 +12,7 @@ S="${WORKDIR}/lib${P}" LICENSE="gd IJG HPND BSD" SLOT="2/3" -KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="cpu_flags_x86_sse fontconfig +jpeg +png static-libs test tiff truetype webp xpm zlib" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: media-libs/gd/
commit: cf16fdd1f3e10d665bce9174fefb4632254e34b5 Author: Sam James gentoo org> AuthorDate: Wed Mar 3 18:58:57 2021 + Commit: Sam James gentoo org> CommitDate: Wed Mar 3 18:58:57 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf16fdd1 media-libs/gd: Stabilize 2.3.1 arm, #773637 Signed-off-by: Sam James gentoo.org> media-libs/gd/gd-2.3.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-libs/gd/gd-2.3.1.ebuild b/media-libs/gd/gd-2.3.1.ebuild index 83f4d37508a..867e9362866 100644 --- a/media-libs/gd/gd-2.3.1.ebuild +++ b/media-libs/gd/gd-2.3.1.ebuild @@ -12,7 +12,7 @@ S="${WORKDIR}/lib${P}" LICENSE="gd IJG HPND BSD" SLOT="2/3" -KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="cpu_flags_x86_sse fontconfig +jpeg +png static-libs test tiff truetype webp xpm zlib" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: media-libs/gd/
commit: 2769503111a0d6f62e86e3f02298ebf26467a6c6 Author: Rolf Eike Beer sf-mail de> AuthorDate: Tue Mar 2 18:55:22 2021 + Commit: Sergei Trofimovich gentoo org> CommitDate: Tue Mar 2 19:08:12 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27695031 media-libs/gd: stable 2.3.1 for hppa, bug #773637 Package-Manager: Portage-3.0.13, Repoman-3.0.2 RepoMan-Options: --include-arches="hppa" Signed-off-by: Rolf Eike Beer sf-mail.de> Signed-off-by: Sergei Trofimovich gentoo.org> media-libs/gd/gd-2.3.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-libs/gd/gd-2.3.1.ebuild b/media-libs/gd/gd-2.3.1.ebuild index fd726337ccc..83f4d37508a 100644 --- a/media-libs/gd/gd-2.3.1.ebuild +++ b/media-libs/gd/gd-2.3.1.ebuild @@ -12,7 +12,7 @@ S="${WORKDIR}/lib${P}" LICENSE="gd IJG HPND BSD" SLOT="2/3" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="cpu_flags_x86_sse fontconfig +jpeg +png static-libs test tiff truetype webp xpm zlib" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: media-libs/gd/
commit: 29f956478c5153cc855a6c441a02d1b61e94c8e0 Author: Sam James gentoo org> AuthorDate: Tue Mar 2 03:14:48 2021 + Commit: Sam James gentoo org> CommitDate: Tue Mar 2 03:14:48 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29f95647 media-libs/gd: Stabilize 2.3.1 amd64, #773637 Signed-off-by: Sam James gentoo.org> media-libs/gd/gd-2.3.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-libs/gd/gd-2.3.1.ebuild b/media-libs/gd/gd-2.3.1.ebuild index d513c0f0df7..fd726337ccc 100644 --- a/media-libs/gd/gd-2.3.1.ebuild +++ b/media-libs/gd/gd-2.3.1.ebuild @@ -12,7 +12,7 @@ S="${WORKDIR}/lib${P}" LICENSE="gd IJG HPND BSD" SLOT="2/3" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="cpu_flags_x86_sse fontconfig +jpeg +png static-libs test tiff truetype webp xpm zlib" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: media-libs/gd/
commit: 0ae38b3336c1536b81ef078f90d85a8e400c486b Author: Sam James gentoo org> AuthorDate: Tue Mar 2 01:39:34 2021 + Commit: Sam James gentoo org> CommitDate: Tue Mar 2 01:39:34 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ae38b33 media-libs/gd: Stabilize 2.3.1 x86, #773637 Signed-off-by: Sam James gentoo.org> media-libs/gd/gd-2.3.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-libs/gd/gd-2.3.1.ebuild b/media-libs/gd/gd-2.3.1.ebuild index 8ebbfc4ed97..d513c0f0df7 100644 --- a/media-libs/gd/gd-2.3.1.ebuild +++ b/media-libs/gd/gd-2.3.1.ebuild @@ -12,7 +12,7 @@ S="${WORKDIR}/lib${P}" LICENSE="gd IJG HPND BSD" SLOT="2/3" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="cpu_flags_x86_sse fontconfig +jpeg +png static-libs test tiff truetype webp xpm zlib" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: media-libs/gd/
commit: 767630cda0a4f216ce6f38e16c1397c3a918d015 Author: Sam James gentoo org> AuthorDate: Mon Mar 1 23:45:10 2021 + Commit: Sam James gentoo org> CommitDate: Mon Mar 1 23:45:10 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=767630cd media-libs/gd: Stabilize 2.3.1 s390, #773637 Signed-off-by: Sam James gentoo.org> media-libs/gd/gd-2.3.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-libs/gd/gd-2.3.1.ebuild b/media-libs/gd/gd-2.3.1.ebuild index f8147cf9af4..8ebbfc4ed97 100644 --- a/media-libs/gd/gd-2.3.1.ebuild +++ b/media-libs/gd/gd-2.3.1.ebuild @@ -12,7 +12,7 @@ S="${WORKDIR}/lib${P}" LICENSE="gd IJG HPND BSD" SLOT="2/3" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="cpu_flags_x86_sse fontconfig +jpeg +png static-libs test tiff truetype webp xpm zlib" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: media-libs/gd/
commit: 5e8b51d7f73dfc4f5808eb96fdc32245d5189695 Author: Sam James gentoo org> AuthorDate: Mon Mar 1 23:44:37 2021 + Commit: Sam James gentoo org> CommitDate: Mon Mar 1 23:44:37 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e8b51d7 media-libs/gd: Stabilize 2.3.1 ppc, #773637 Signed-off-by: Sam James gentoo.org> media-libs/gd/gd-2.3.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-libs/gd/gd-2.3.1.ebuild b/media-libs/gd/gd-2.3.1.ebuild index dc1e6d06d56..f8147cf9af4 100644 --- a/media-libs/gd/gd-2.3.1.ebuild +++ b/media-libs/gd/gd-2.3.1.ebuild @@ -12,7 +12,7 @@ S="${WORKDIR}/lib${P}" LICENSE="gd IJG HPND BSD" SLOT="2/3" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="cpu_flags_x86_sse fontconfig +jpeg +png static-libs test tiff truetype webp xpm zlib" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: media-libs/gd/
commit: c7e15dc6758fb0d1dcf389d0c0ec94dfb010c9ec Author: Sam James gentoo org> AuthorDate: Mon Mar 1 23:44:04 2021 + Commit: Sam James gentoo org> CommitDate: Mon Mar 1 23:44:04 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7e15dc6 media-libs/gd: Stabilize 2.3.1 ppc64, #773637 Signed-off-by: Sam James gentoo.org> media-libs/gd/gd-2.3.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-libs/gd/gd-2.3.1.ebuild b/media-libs/gd/gd-2.3.1.ebuild index 9d440781c0c..dc1e6d06d56 100644 --- a/media-libs/gd/gd-2.3.1.ebuild +++ b/media-libs/gd/gd-2.3.1.ebuild @@ -12,7 +12,7 @@ S="${WORKDIR}/lib${P}" LICENSE="gd IJG HPND BSD" SLOT="2/3" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="cpu_flags_x86_sse fontconfig +jpeg +png static-libs test tiff truetype webp xpm zlib" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: media-libs/gd/
commit: d6f95dfc943b7793143a486b1378b86fa7e02342 Author: Sam James gentoo org> AuthorDate: Mon Mar 1 23:42:03 2021 + Commit: Sam James gentoo org> CommitDate: Mon Mar 1 23:42:03 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6f95dfc media-libs/gd: Stabilize 2.3.1 sparc, #773637 Signed-off-by: Sam James gentoo.org> media-libs/gd/gd-2.3.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-libs/gd/gd-2.3.1.ebuild b/media-libs/gd/gd-2.3.1.ebuild index 698406d5155..9d440781c0c 100644 --- a/media-libs/gd/gd-2.3.1.ebuild +++ b/media-libs/gd/gd-2.3.1.ebuild @@ -12,7 +12,7 @@ S="${WORKDIR}/lib${P}" LICENSE="gd IJG HPND BSD" SLOT="2/3" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="cpu_flags_x86_sse fontconfig +jpeg +png static-libs test tiff truetype webp xpm zlib" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: media-libs/gd/
commit: 51a34463a1a3d69cec0e68c9ae4078d4b35a5a34 Author: Sam James gentoo org> AuthorDate: Sat Jan 30 21:22:22 2021 + Commit: Sam James gentoo org> CommitDate: Sat Jan 30 21:22:22 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51a34463 media-libs/gd: bump to 2.3.1 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Sam James gentoo.org> media-libs/gd/Manifest| 1 + media-libs/gd/gd-2.3.1.ebuild | 81 +++ 2 files changed, 82 insertions(+) diff --git a/media-libs/gd/Manifest b/media-libs/gd/Manifest index b3942941ec3..7c6d5873b36 100644 --- a/media-libs/gd/Manifest +++ b/media-libs/gd/Manifest @@ -1 +1,2 @@ DIST libgd-2.3.0.tar.xz 2539188 BLAKE2B a90f48be959d1bb6774ec44960e191b8be134ff3e74401eba4cbf9b165c72665f3dffe3beaaf92fa6069e0ef79533be5d57a5946a1839f55446072fa322ed808 SHA512 5b201d22560e147a3d5471010b898ad0268c3a2453b870d1267b6ba92e540cf9f75099336c1ab08217e41827ac86fe04525726bf29ad117e5dcbaef9a8d0622a +DIST libgd-2.3.1.tar.xz 2632076 BLAKE2B 22457c4a2fc493872ccbc8a2c45283e785ab200ca671c48f00f3f22a037fac3b97afb35534f5ec7288714a16dfaa59ed53acbbd39c3e7f89f16cdec72ef1bed1 SHA512 0b96406a1d62129d7d63f78fc4558062c223a3bfbf9719be86362fd922b72b5dac294524dd1b0a996a4a7a709ee9d2dfc790ee32564add70adad41d044a0ed80 diff --git a/media-libs/gd/gd-2.3.1.ebuild b/media-libs/gd/gd-2.3.1.ebuild new file mode 100644 index 000..698406d5155 --- /dev/null +++ b/media-libs/gd/gd-2.3.1.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools flag-o-matic multilib-minimal + +DESCRIPTION="Graphics library for fast image creation" +HOMEPAGE="https://libgd.org/ https://www.boutell.com/gd/"; +SRC_URI="https://github.com/libgd/libgd/releases/download/${P}/lib${P}.tar.xz"; +S="${WORKDIR}/lib${P}" + +LICENSE="gd IJG HPND BSD" +SLOT="2/3" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +IUSE="cpu_flags_x86_sse fontconfig +jpeg +png static-libs test tiff truetype webp xpm zlib" +RESTRICT="!test? ( test )" + +# fontconfig has prefixed font paths, details see bug #518970 +REQUIRED_USE=" + prefix? ( fontconfig ) + test? ( png ) +" + +BDEPEND="virtual/pkgconfig" +RDEPEND="fontconfig? ( >=media-libs/fontconfig-2.10.92[${MULTILIB_USEDEP}] ) + jpeg? ( >=virtual/jpeg-0-r2:0=[${MULTILIB_USEDEP}] ) + png? ( >=media-libs/libpng-1.6.10:0=[${MULTILIB_USEDEP}] ) + tiff? ( media-libs/tiff:0[${MULTILIB_USEDEP}] ) + truetype? ( >=media-libs/freetype-2.5.0.1[${MULTILIB_USEDEP}] ) + webp? ( media-libs/libwebp:=[${MULTILIB_USEDEP}] ) + xpm? ( >=x11-libs/libXpm-3.5.10-r1[${MULTILIB_USEDEP}] >=x11-libs/libXt-1.1.4[${MULTILIB_USEDEP}] ) + zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )" +DEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}/${PN}-2.3.0-disable-flaky-tests.patch" +) + +src_prepare() { + default + eautoreconf +} + +multilib_src_configure() { + # bug 603360, https://github.com/libgd/libgd/blob/fd06f7f83c5e78bf5b7f5397746b4e5ee4366250/docs/README.TESTING#L65 + if use cpu_flags_x86_sse ; then + append-cflags -msse -mfpmath=sse + else + append-cflags -ffloat-store + fi + + # bug 632076, https://github.com/libgd/libgd/issues/278 + if use arm64 || use ppc64 || use s390 ; then + append-cflags -ffp-contract=off + fi + + # we aren't actually {en,dis}abling X here ... the configure + # script uses it just to add explicit -I/-L paths which we + # don't care about on Gentoo systems. + local myeconfargs=( + --disable-werror + --without-x + --without-liq + $(use_enable static-libs static) + $(use_with fontconfig) + $(use_with png) + $(use_with tiff) + $(use_with truetype freetype) + $(use_with jpeg) + $(use_with webp) + $(use_with xpm) + $(use_with zlib) + ) + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" +} + +multilib_src_install_all() { + dodoc README.md + find "${ED}" -name '*.la' -delete || die +}
[gentoo-commits] repo/gentoo:master commit in: media-libs/gd/
commit: 2e15facc8941344ea63c3089eb3b3d63fd636041 Author: Sam James gentoo org> AuthorDate: Tue Jan 26 17:20:27 2021 + Commit: Sam James gentoo org> CommitDate: Tue Jan 26 17:21:11 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e15facc media-libs/gd: enable jpeg, png by default * Default change matches upstream defaults (libpng and libjpeg are on most systems anyway, and dependencies of media-libs/gd often enable one or both of these flags). * Needed for tests and mark this in REQUIRED_USE. Closes: https://bugs.gentoo.org/767313 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Sam James gentoo.org> media-libs/gd/gd-2.3.0.ebuild | 14 -- 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/media-libs/gd/gd-2.3.0.ebuild b/media-libs/gd/gd-2.3.0.ebuild index 04480d159c3..4824a477708 100644 --- a/media-libs/gd/gd-2.3.0.ebuild +++ b/media-libs/gd/gd-2.3.0.ebuild @@ -8,16 +8,21 @@ inherit autotools flag-o-matic multilib-minimal DESCRIPTION="Graphics library for fast image creation" HOMEPAGE="https://libgd.org/ https://www.boutell.com/gd/"; SRC_URI="https://github.com/libgd/libgd/releases/download/${P}/lib${P}.tar.xz"; +S="${WORKDIR}/lib${P}" LICENSE="gd IJG HPND BSD" SLOT="2/3" KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" -IUSE="cpu_flags_x86_sse fontconfig jpeg png static-libs test tiff truetype webp xpm zlib" +IUSE="cpu_flags_x86_sse fontconfig +jpeg +png static-libs test tiff truetype webp xpm zlib" RESTRICT="!test? ( test )" # fontconfig has prefixed font paths, details see bug #518970 -REQUIRED_USE="prefix? ( fontconfig )" +REQUIRED_USE=" + prefix? ( fontconfig ) + test? ( png ) +" +BDEPEND="virtual/pkgconfig" RDEPEND="fontconfig? ( >=media-libs/fontconfig-2.10.92[${MULTILIB_USEDEP}] ) jpeg? ( >=virtual/jpeg-0-r2:0=[${MULTILIB_USEDEP}] ) png? ( >=media-libs/libpng-1.6.10:0=[${MULTILIB_USEDEP}] ) @@ -26,10 +31,7 @@ RDEPEND="fontconfig? ( >=media-libs/fontconfig-2.10.92[${MULTILIB_USEDEP}] ) webp? ( media-libs/libwebp:=[${MULTILIB_USEDEP}] ) xpm? ( >=x11-libs/libXpm-3.5.10-r1[${MULTILIB_USEDEP}] >=x11-libs/libXt-1.1.4[${MULTILIB_USEDEP}] ) zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )" -DEPEND="${RDEPEND} - virtual/pkgconfig" - -S="${WORKDIR}/lib${P}" +DEPEND="${RDEPEND}" PATCHES=( "${FILESDIR}/${PN}-2.3.0-disable-flaky-tests.patch"
[gentoo-commits] repo/gentoo:master commit in: media-libs/gd/
commit: 6e08b59bd400e3222b226aea5df8ce6268f18221 Author: Sam James gentoo org> AuthorDate: Tue Jan 26 15:44:47 2021 + Commit: Sam James gentoo org> CommitDate: Tue Jan 26 15:44:47 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e08b59b media-libs/gd: drop dead bitbucket remote-id Package-Manager: Portage-3.0.14-prefix, Repoman-3.0.2 Signed-off-by: Sam James gentoo.org> media-libs/gd/metadata.xml | 1 - 1 file changed, 1 deletion(-) diff --git a/media-libs/gd/metadata.xml b/media-libs/gd/metadata.xml index 0550df095a8..f341db0625d 100644 --- a/media-libs/gd/metadata.xml +++ b/media-libs/gd/metadata.xml @@ -26,7 +26,6 @@ and so forth. libgd/libgd https://github.com/libgd/libgd/issues - libgd/gd-libgd Enable support for the webp format
[gentoo-commits] repo/gentoo:master commit in: media-libs/gd/
commit: 6528e8d8ee1635007923b8b8d8eb932fadcca833 Author: Sam James gentoo org> AuthorDate: Tue Jan 26 15:42:19 2021 + Commit: Sam James gentoo org> CommitDate: Tue Jan 26 15:42:19 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6528e8d8 media-libs/gd: adopt for codec@ Package-Manager: Portage-3.0.14-prefix, Repoman-3.0.2 Signed-off-by: Sam James gentoo.org> media-libs/gd/metadata.xml | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/media-libs/gd/metadata.xml b/media-libs/gd/metadata.xml index c476739e6bd..0550df095a8 100644 --- a/media-libs/gd/metadata.xml +++ b/media-libs/gd/metadata.xml @@ -1,7 +1,10 @@ http://www.gentoo.org/dtd/metadata.dtd";> - + + co...@gentoo.org + Gentoo Codec Project + gd is a graphics library. It allows your code to quickly draw images complete with lines, arcs, text, multiple colors, cut and paste from other images, and
[gentoo-commits] repo/gentoo:master commit in: media-libs/gd/
commit: f259e40564b1fbc2b0eab556c42e437c88e23bde Author: Fabian Groffen gentoo org> AuthorDate: Sun Dec 27 17:43:26 2020 + Commit: Fabian Groffen gentoo org> CommitDate: Sun Dec 27 17:46:49 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f259e405 media-libs/gd: drop ppc-aix m68k-mint Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Fabian Groffen gentoo.org> media-libs/gd/gd-2.3.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-libs/gd/gd-2.3.0.ebuild b/media-libs/gd/gd-2.3.0.ebuild index 79cfcfea441..153204a77e1 100644 --- a/media-libs/gd/gd-2.3.0.ebuild +++ b/media-libs/gd/gd-2.3.0.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/libgd/libgd/releases/download/${P}/lib${P}.tar.xz"; LICENSE="gd IJG HPND BSD" SLOT="2/3" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 sparc x86 ~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="cpu_flags_x86_sse fontconfig jpeg png static-libs test tiff truetype webp xpm zlib" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: media-libs/gd/files/
commit: 6f62811e7f813c38a3e576f1ceee8f27a5f5da6a Author: Michael Mair-Keimberger gmail com> AuthorDate: Fri Jun 26 06:50:51 2020 + Commit: Aaron Bauman gentoo org> CommitDate: Sat Jun 27 20:49:26 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f62811e media-libs/gd: remove unused patches Package-Manager: Portage-2.3.101, Repoman-2.3.22 Signed-off-by: Michael Mair-Keimberger gmail.com> Closes: https://github.com/gentoo/gentoo/pull/16425 Signed-off-by: Aaron Bauman gentoo.org> .../gd/files/gd-2.2.5-CVE-2018-1000222.patch | 73 -- media-libs/gd/files/gd-2.2.5-CVE-2018-5711.patch | 124 - media-libs/gd/files/gd-2.2.5-CVE-2019-6977.patch | 28 --- media-libs/gd/files/gd-2.2.5-CVE-2019-6978.patch | 278 - media-libs/gd/files/gd-2.2.5-ossfuzz5700.patch | 103 5 files changed, 606 deletions(-) diff --git a/media-libs/gd/files/gd-2.2.5-CVE-2018-1000222.patch b/media-libs/gd/files/gd-2.2.5-CVE-2018-1000222.patch deleted file mode 100644 index 80f9712bf8e..000 --- a/media-libs/gd/files/gd-2.2.5-CVE-2018-1000222.patch +++ /dev/null @@ -1,73 +0,0 @@ -From ac16bdf2d41724b5a65255d4c28fb0ec46bc42f5 Mon Sep 17 00:00:00 2001 -From: Mike Frysinger -Date: Sat, 14 Jul 2018 13:54:08 -0400 -Subject: [PATCH] bmp: check return value in gdImageBmpPtr - -Closes #447. - src/gd_bmp.c | 17 ++--- - 1 file changed, 14 insertions(+), 3 deletions(-) - -diff --git a/src/gd_bmp.c b/src/gd_bmp.c -index bde0b9d3..78f40d9a 100644 a/src/gd_bmp.c -+++ b/src/gd_bmp.c -@@ -47,6 +47,8 @@ static int bmp_read_4bit(gdImagePtr im, gdIOCtxPtr infile, bmp_info_t *info, bmp - static int bmp_read_8bit(gdImagePtr im, gdIOCtxPtr infile, bmp_info_t *info, bmp_hdr_t *header); - static int bmp_read_rle(gdImagePtr im, gdIOCtxPtr infile, bmp_info_t *info); - -+static int _gdImageBmpCtx(gdImagePtr im, gdIOCtxPtr out, int compression); -+ - #define BMP_DEBUG(s) - - static int gdBMPPutWord(gdIOCtx *out, int w) -@@ -87,8 +89,10 @@ BGD_DECLARE(void *) gdImageBmpPtr(gdImagePtr im, int *size, int compression) - void *rv; - gdIOCtx *out = gdNewDynamicCtx(2048, NULL); - if (out == NULL) return NULL; -- gdImageBmpCtx(im, out, compression); -- rv = gdDPExtractData(out, size); -+ if (!_gdImageBmpCtx(im, out, compression)) -+ rv = gdDPExtractData(out, size); -+ else -+ rv = NULL; - out->gd_free(out); - return rv; - } -@@ -141,6 +145,11 @@ BGD_DECLARE(void) gdImageBmp(gdImagePtr im, FILE *outFile, int compression) - compression - whether to apply RLE or not. - */ - BGD_DECLARE(void) gdImageBmpCtx(gdImagePtr im, gdIOCtxPtr out, int compression) -+{ -+ _gdImageBmpCtx(im, out, compression); -+} -+ -+static int _gdImageBmpCtx(gdImagePtr im, gdIOCtxPtr out, int compression) - { - int bitmap_size = 0, info_size, total_size, padding; - int i, row, xpos, pixel; -@@ -148,6 +157,7 @@ BGD_DECLARE(void) gdImageBmpCtx(gdImagePtr im, gdIOCtxPtr out, int compression) - unsigned char *uncompressed_row = NULL, *uncompressed_row_start = NULL; - FILE *tmpfile_for_compression = NULL; - gdIOCtxPtr out_original = NULL; -+ int ret = 1; - - /* No compression if its true colour or we don't support seek */ - if (im->trueColor) { -@@ -325,6 +335,7 @@ BGD_DECLARE(void) gdImageBmpCtx(gdImagePtr im, gdIOCtxPtr out, int compression) - out_original = NULL; - } - -+ ret = 0; - cleanup: - if (tmpfile_for_compression) { - #ifdef _WIN32 -@@ -338,7 +349,7 @@ BGD_DECLARE(void) gdImageBmpCtx(gdImagePtr im, gdIOCtxPtr out, int compression) - if (out_original) { - out_original->gd_free(out_original); - } -- return; -+ return ret; - } - - static int compress_row(unsigned char *row, int length) diff --git a/media-libs/gd/files/gd-2.2.5-CVE-2018-5711.patch b/media-libs/gd/files/gd-2.2.5-CVE-2018-5711.patch deleted file mode 100644 index 6d9de06998a..000 --- a/media-libs/gd/files/gd-2.2.5-CVE-2018-5711.patch +++ /dev/null @@ -1,124 +0,0 @@ -From a11f47475e6443b7f32d21f2271f28f417e2ac04 Mon Sep 17 00:00:00 2001 -From: "Christoph M. Becker" -Date: Wed, 29 Nov 2017 19:37:38 +0100 -Subject: [PATCH] Fix #420: Potential infinite loop in gdImageCreateFromGifCtx - -Due to a signedness confusion in `GetCode_` a corrupt GIF file can -trigger an infinite loop. Furthermore we make sure that a GIF without -any palette entries is treated as invalid *after* open palette entries -have been removed. - -CVE-2018-5711 - -See also https://bugs.php.net/bug.php?id=75571. - src/gd_gif_in.c | 12 ++-- - tests/gif/CMakeLists.txt| 1 + - tests/gif/Makemodule.am | 2 ++ - tests/gif/php_bug_75571.c | 28 - tests/gif/php_bug_75571.gif | Bin 0 -> 1731 bytes - 6 files changed, 38 insertions(+), 6 deletions(-) - cr
[gentoo-commits] repo/gentoo:master commit in: media-libs/gd/
commit: e7220615bbaa8ce9c101b5130b58f705425c11ea Author: John Helmert III posteo net> AuthorDate: Tue Jun 23 20:43:01 2020 + Commit: Joonas Niilola gentoo org> CommitDate: Thu Jun 25 11:27:00 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7220615 media-libs/gd: Drop old (security cleanup) Bug: https://bugs.gentoo.org/711122 Bug: https://bugs.gentoo.org/719464 Package-Manager: Portage-2.3.102, Repoman-2.3.23 Signed-off-by: John Helmert III posteo.net> Closes: https://github.com/gentoo/gentoo/pull/16387 Signed-off-by: Joonas Niilola gentoo.org> media-libs/gd/Manifest | 3 -- media-libs/gd/gd-2.2.5-r2.ebuild | 98 2 files changed, 101 deletions(-) diff --git a/media-libs/gd/Manifest b/media-libs/gd/Manifest index 8c9c7e108d4..b3942941ec3 100644 --- a/media-libs/gd/Manifest +++ b/media-libs/gd/Manifest @@ -1,4 +1 @@ -DIST libgd-2.2.5-ossfuzz5700.dat 30 BLAKE2B 5ddd3d2be2adf05e1e2eb1852cc689be57d4d77c57b471e8b6021877f2fb137d15b4c73445fbb23a9ed585974a96dd154759a48712c1e7b5bdc5750d534aee4a SHA512 2394e92ff7a42c818e13a1ac9ad15bc81aa401adc917366ec8c440bb7f27a63777ab059aa03c501dafef0ac16b462dd23c7fb9f8086ce558203384a98a235fff -DIST libgd-2.2.5-php_bug_75571.dat 1731 BLAKE2B 4b5d3f258b73e8089ede1b2c9f538855f410965a9e01e1f3f151ae52f072036172b184bd1a4d07b8355bb974bf088bebb0e812175a277bb67926274272bd80a0 SHA512 b3048640ce7828cca7901fadc989e867cfc6d31b44c0f5a1bda54d7428f317c8c8fc6403fef301e193869a95eb46eb7195d47710ec7f8c507ba049cb6cdcb281 -DIST libgd-2.2.5.tar.xz 2594092 BLAKE2B 222a7e012fbf9924ac391ee96c7cd3dec96afd78c6d43dfb680b33e7143e7df87fe6be75bbfe8fb93e916302d7daf08271214c84da28712e93a36465566cb2bd SHA512 e4598e17a277a75e02255402182cab139cb3f2cffcd68ec05cc10bbeaf6bc7aa39162c3445cd4a7efc1a26b72b9152bbedb187351e3ed099ea51767319997a6b DIST libgd-2.3.0.tar.xz 2539188 BLAKE2B a90f48be959d1bb6774ec44960e191b8be134ff3e74401eba4cbf9b165c72665f3dffe3beaaf92fa6069e0ef79533be5d57a5946a1839f55446072fa322ed808 SHA512 5b201d22560e147a3d5471010b898ad0268c3a2453b870d1267b6ba92e540cf9f75099336c1ab08217e41827ac86fe04525726bf29ad117e5dcbaef9a8d0622a diff --git a/media-libs/gd/gd-2.2.5-r2.ebuild b/media-libs/gd/gd-2.2.5-r2.ebuild deleted file mode 100644 index b4896640b7b..000 --- a/media-libs/gd/gd-2.2.5-r2.ebuild +++ /dev/null @@ -1,98 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" - -inherit autotools flag-o-matic multilib-minimal - -DESCRIPTION="Graphics library for fast image creation" -HOMEPAGE="https://libgd.org/ https://www.boutell.com/gd/"; -SRC_URI="https://github.com/libgd/libgd/releases/download/${P}/lib${P}.tar.xz - test? ( - https://github.com/libgd/libgd/raw/e0cb1b76c305db68b251fe782faa12da5d357593/tests/gif/ossfuzz5700.gif -> lib${P}-ossfuzz5700.dat - https://github.com/libgd/libgd/raw/e0cb1b76c305db68b251fe782faa12da5d357593/tests/gif/php_bug_75571.gif -> lib${P}-php_bug_75571.dat - )" - -LICENSE="gd IJG HPND BSD" -SLOT="2/3" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc x86 ~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" -IUSE="cpu_flags_x86_sse fontconfig jpeg png static-libs test tiff truetype webp xpm zlib" -RESTRICT="!test? ( test )" - -# fontconfig has prefixed font paths, details see bug #518970 -REQUIRED_USE="prefix? ( fontconfig )" - -RDEPEND="fontconfig? ( >=media-libs/fontconfig-2.10.92[${MULTILIB_USEDEP}] ) - jpeg? ( >=virtual/jpeg-0-r2:0=[${MULTILIB_USEDEP}] ) - png? ( >=media-libs/libpng-1.6.10:0=[${MULTILIB_USEDEP}] ) - tiff? ( media-libs/tiff:0[${MULTILIB_USEDEP}] ) - truetype? ( >=media-libs/freetype-2.5.0.1[${MULTILIB_USEDEP}] ) - webp? ( media-libs/libwebp:=[${MULTILIB_USEDEP}] ) - xpm? ( >=x11-libs/libXpm-3.5.10-r1[${MULTILIB_USEDEP}] >=x11-libs/libXt-1.1.4[${MULTILIB_USEDEP}] ) - zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )" -DEPEND="${RDEPEND} - virtual/pkgconfig" - -S="${WORKDIR}/lib${P}" - -PATCHES=( - "${FILESDIR}/${P}-ossfuzz5700.patch" - "${FILESDIR}/${P}-CVE-2018-5711.patch" - "${FILESDIR}/${P}-CVE-2018-1000222.patch" - "${FILESDIR}/${P}-CVE-2019-6977.patch" - "${FILESDIR}/${P}-CVE-2019-6978.patch" -) - -src_unpack() { - default - - if use test ; then - cp "${DISTDIR}"/lib${P}-ossfuzz5700.dat \ - "${S}"/tests/gif/ossfuzz5700.gif || die - cp "${DISTDIR}"/lib${P}-php_bug_75571.dat \ - "${S}"/tests/gif/php_bug_75571.gif || die - fi -} - -src_prepare() { - default - eautoreconf -} - -multilib_src_configure() { - # bug 603360, https://github.com/libgd/libgd/blob/fd06f7f83c5e78bf5b7f5397746b4e5ee4366250/docs/README.TESTING#L65 - if use cpu_flags_x86_sse
[gentoo-commits] repo/gentoo:master commit in: media-libs/gd/
commit: 10c1ff7c9c3523aace91e99e5e2303e1f5b83d81 Author: Rolf Eike Beer sf-mail de> AuthorDate: Sat May 16 19:21:26 2020 + Commit: Sergei Trofimovich gentoo org> CommitDate: Sat May 16 19:47:23 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10c1ff7c media-libs/gd: stable 2.3.0 for hppa, bug #719464 Package-Manager: Portage-2.3.99, Repoman-2.3.22 RepoMan-Options: --include-arches="hppa" Signed-off-by: Rolf Eike Beer sf-mail.de> Signed-off-by: Sergei Trofimovich gentoo.org> media-libs/gd/gd-2.3.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-libs/gd/gd-2.3.0.ebuild b/media-libs/gd/gd-2.3.0.ebuild index c4adf18cf67..eca39403824 100644 --- a/media-libs/gd/gd-2.3.0.ebuild +++ b/media-libs/gd/gd-2.3.0.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/libgd/libgd/releases/download/${P}/lib${P}.tar.xz"; LICENSE="gd IJG HPND BSD" SLOT="2/3" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc x86 ~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc x86 ~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="cpu_flags_x86_sse fontconfig jpeg png static-libs test tiff truetype webp xpm zlib" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: media-libs/gd/
commit: 9fc8c3100b7e58d2160ba6ff663a4abb72417d1f Author: Agostino Sarubbo gentoo org> AuthorDate: Thu May 14 08:02:43 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Thu May 14 08:02:43 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9fc8c310 media-libs/gd: x86 stable wrt bug #719464 Package-Manager: Portage-2.3.99, Repoman-2.3.22 RepoMan-Options: --include-arches="x86" Signed-off-by: Agostino Sarubbo gentoo.org> media-libs/gd/gd-2.3.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-libs/gd/gd-2.3.0.ebuild b/media-libs/gd/gd-2.3.0.ebuild index 54b5535a4ae..c4adf18cf67 100644 --- a/media-libs/gd/gd-2.3.0.ebuild +++ b/media-libs/gd/gd-2.3.0.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/libgd/libgd/releases/download/${P}/lib${P}.tar.xz"; LICENSE="gd IJG HPND BSD" SLOT="2/3" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc ~x86 ~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc x86 ~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="cpu_flags_x86_sse fontconfig jpeg png static-libs test tiff truetype webp xpm zlib" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: media-libs/gd/
commit: 2e283a4c1f9c5869b11105e42e0664a2a0bb7958 Author: Sam James (sam_c) cmpct info> AuthorDate: Wed May 13 01:07:44 2020 + Commit: Mart Raudsepp gentoo org> CommitDate: Wed May 13 21:05:48 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e283a4c media-libs/gd: arm64 stable (bug #719464) Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Sam James (sam_c) cmpct.info> Signed-off-by: Mart Raudsepp gentoo.org> media-libs/gd/gd-2.3.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-libs/gd/gd-2.3.0.ebuild b/media-libs/gd/gd-2.3.0.ebuild index 3af7a843a9f..54b5535a4ae 100644 --- a/media-libs/gd/gd-2.3.0.ebuild +++ b/media-libs/gd/gd-2.3.0.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/libgd/libgd/releases/download/${P}/lib${P}.tar.xz"; LICENSE="gd IJG HPND BSD" SLOT="2/3" -KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc ~x86 ~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc ~x86 ~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="cpu_flags_x86_sse fontconfig jpeg png static-libs test tiff truetype webp xpm zlib" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: media-libs/gd/
commit: e444c5967b6023c0e44f9d5a7c04a23b498b1de1 Author: Agostino Sarubbo gentoo org> AuthorDate: Wed May 13 17:14:13 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Wed May 13 17:14:13 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e444c596 media-libs/gd: ppc64 stable wrt bug #719464 Package-Manager: Portage-2.3.99, Repoman-2.3.22 RepoMan-Options: --include-arches="ppc64" Signed-off-by: Agostino Sarubbo gentoo.org> media-libs/gd/gd-2.3.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-libs/gd/gd-2.3.0.ebuild b/media-libs/gd/gd-2.3.0.ebuild index a10db834dda..3af7a843a9f 100644 --- a/media-libs/gd/gd-2.3.0.ebuild +++ b/media-libs/gd/gd-2.3.0.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/libgd/libgd/releases/download/${P}/lib${P}.tar.xz"; LICENSE="gd IJG HPND BSD" SLOT="2/3" -KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ~ppc64 s390 sparc ~x86 ~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc ~x86 ~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="cpu_flags_x86_sse fontconfig jpeg png static-libs test tiff truetype webp xpm zlib" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: media-libs/gd/
commit: 8c05243b43b9295a28f9cb3f4d7151f776137909 Author: Agostino Sarubbo gentoo org> AuthorDate: Wed May 13 17:11:59 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Wed May 13 17:12:33 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c05243b media-libs/gd: ppc stable wrt bug #719464 Package-Manager: Portage-2.3.99, Repoman-2.3.22 RepoMan-Options: --include-arches="ppc" Signed-off-by: Agostino Sarubbo gentoo.org> media-libs/gd/gd-2.3.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-libs/gd/gd-2.3.0.ebuild b/media-libs/gd/gd-2.3.0.ebuild index 2096138dbe8..a10db834dda 100644 --- a/media-libs/gd/gd-2.3.0.ebuild +++ b/media-libs/gd/gd-2.3.0.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/libgd/libgd/releases/download/${P}/lib${P}.tar.xz"; LICENSE="gd IJG HPND BSD" SLOT="2/3" -KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 s390 sparc ~x86 ~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ~ppc64 s390 sparc ~x86 ~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="cpu_flags_x86_sse fontconfig jpeg png static-libs test tiff truetype webp xpm zlib" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: media-libs/gd/
commit: d63f521adfafd2bc016c55ec55908b0edfb2d0ba Author: Agostino Sarubbo gentoo org> AuthorDate: Wed May 13 17:10:57 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Wed May 13 17:10:57 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d63f521a media-libs/gd: arm stable wrt bug #719464 Package-Manager: Portage-2.3.99, Repoman-2.3.22 RepoMan-Options: --include-arches="arm" Signed-off-by: Agostino Sarubbo gentoo.org> media-libs/gd/gd-2.3.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-libs/gd/gd-2.3.0.ebuild b/media-libs/gd/gd-2.3.0.ebuild index 72ed67d86c4..2096138dbe8 100644 --- a/media-libs/gd/gd-2.3.0.ebuild +++ b/media-libs/gd/gd-2.3.0.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/libgd/libgd/releases/download/${P}/lib${P}.tar.xz"; LICENSE="gd IJG HPND BSD" SLOT="2/3" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 s390 sparc ~x86 ~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 s390 sparc ~x86 ~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="cpu_flags_x86_sse fontconfig jpeg png static-libs test tiff truetype webp xpm zlib" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: media-libs/gd/
commit: 94d25ca185d68a9c06d67195ea8ecf60044177a9 Author: Agostino Sarubbo gentoo org> AuthorDate: Wed May 13 14:50:33 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Wed May 13 14:50:33 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94d25ca1 media-libs/gd: amd64 stable wrt bug #719464 Package-Manager: Portage-2.3.99, Repoman-2.3.22 RepoMan-Options: --include-arches="amd64" Signed-off-by: Agostino Sarubbo gentoo.org> media-libs/gd/gd-2.3.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-libs/gd/gd-2.3.0.ebuild b/media-libs/gd/gd-2.3.0.ebuild index 7e5870f30ba..72ed67d86c4 100644 --- a/media-libs/gd/gd-2.3.0.ebuild +++ b/media-libs/gd/gd-2.3.0.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/libgd/libgd/releases/download/${P}/lib${P}.tar.xz"; LICENSE="gd IJG HPND BSD" SLOT="2/3" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 s390 sparc ~x86 ~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 s390 sparc ~x86 ~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="cpu_flags_x86_sse fontconfig jpeg png static-libs test tiff truetype webp xpm zlib" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: media-libs/gd/
commit: ab6a9f87e410430571eab5687e3e6e72e5babfe6 Author: Agostino Sarubbo gentoo org> AuthorDate: Wed May 13 13:18:22 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Wed May 13 13:18:22 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab6a9f87 media-libs/gd: sparc stable wrt bug #719464 Package-Manager: Portage-2.3.99, Repoman-2.3.22 RepoMan-Options: --include-arches="sparc" Signed-off-by: Agostino Sarubbo gentoo.org> media-libs/gd/gd-2.3.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-libs/gd/gd-2.3.0.ebuild b/media-libs/gd/gd-2.3.0.ebuild index bab408a8bc4..7e5870f30ba 100644 --- a/media-libs/gd/gd-2.3.0.ebuild +++ b/media-libs/gd/gd-2.3.0.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/libgd/libgd/releases/download/${P}/lib${P}.tar.xz"; LICENSE="gd IJG HPND BSD" SLOT="2/3" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 s390 ~sparc ~x86 ~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 s390 sparc ~x86 ~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="cpu_flags_x86_sse fontconfig jpeg png static-libs test tiff truetype webp xpm zlib" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: media-libs/gd/
commit: a22aa4b91c48b782d9df06c58694d70587a8b44a Author: Agostino Sarubbo gentoo org> AuthorDate: Wed May 13 11:30:02 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Wed May 13 11:30:02 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a22aa4b9 media-libs/gd: s390 stable wrt bug #719464 Package-Manager: Portage-2.3.99, Repoman-2.3.22 RepoMan-Options: --include-arches="s390" Signed-off-by: Agostino Sarubbo gentoo.org> media-libs/gd/gd-2.3.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-libs/gd/gd-2.3.0.ebuild b/media-libs/gd/gd-2.3.0.ebuild index fe6404cb6d5..bab408a8bc4 100644 --- a/media-libs/gd/gd-2.3.0.ebuild +++ b/media-libs/gd/gd-2.3.0.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/libgd/libgd/releases/download/${P}/lib${P}.tar.xz"; LICENSE="gd IJG HPND BSD" SLOT="2/3" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 s390 ~sparc ~x86 ~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="cpu_flags_x86_sse fontconfig jpeg png static-libs test tiff truetype webp xpm zlib" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: media-libs/gd/files/, media-libs/gd/
commit: 394bb39d8e64a4b5e16c32c5ce03aa28d6f713e2 Author: Sam James (sam_c) cmpct info> AuthorDate: Mon May 11 23:06:20 2020 + Commit: Thomas Deutschmann gentoo org> CommitDate: Tue May 12 22:29:59 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=394bb39d media-libs/gd: Add upstream patch for 2 tests Fixes gdimagestring16 and gdimagestringup16 tests. Thanks-to: ernsteiswuerfel mailbox.org> Closes: https://bugs.gentoo.org/722448 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Sam James (sam_c) cmpct.info> Closes: https://github.com/gentoo/gentoo/pull/15754 Signed-off-by: Thomas Deutschmann gentoo.org> .../gd/files/gd-2.3.0-fix-tests-bug722448.patch| 62 ++ media-libs/gd/gd-2.3.0.ebuild | 1 + 2 files changed, 63 insertions(+) diff --git a/media-libs/gd/files/gd-2.3.0-fix-tests-bug722448.patch b/media-libs/gd/files/gd-2.3.0-fix-tests-bug722448.patch new file mode 100644 index 000..eef62fca676 --- /dev/null +++ b/media-libs/gd/files/gd-2.3.0-fix-tests-bug722448.patch @@ -0,0 +1,62 @@ +From ec0b4397698bd358557d33641aac4beb1912f43b Mon Sep 17 00:00:00 2001 +From: wilson chen +Date: Wed, 15 Apr 2020 00:25:01 +0800 +Subject: [PATCH] Improve test cases for gdImageString16 and gdImageStringUp16 + (#625) + +Fixed #623. wchar_t is 32 bits on 64-bits AIX, which will result in test case failure. +So we replace wchar_t with unsigned short array. +--- + tests/gdimagestring16/gdimagestring16.c | 6 ++ + tests/gdimagestringup16/gdimagestringup16.c | 6 ++ + 2 files changed, 4 insertions(+), 8 deletions(-) + +diff --git a/tests/gdimagestring16/gdimagestring16.c b/tests/gdimagestring16/gdimagestring16.c +index 57eae978..0ca06680 100644 +--- a/tests/gdimagestring16/gdimagestring16.c b/tests/gdimagestring16/gdimagestring16.c +@@ -9,9 +9,7 @@ int main() + { + /* Declare the image */ + gdImagePtr im = NULL; +- wchar_t *wchr = L"H"; +- unsigned short *sptr; +- sptr = (unsigned short *)wchr; ++ unsigned short s[2] = {'H', 0}; + int foreground; + int errorcode = 0; + gdFontPtr fontptr = gdFontGetLarge(); +@@ -20,7 +18,7 @@ int main() + gdImageColorAllocate(im, 255, 255, 255); + foreground = gdImageColorAllocate(im, 22, 4, 238); + +- gdImageString16(im, fontptr, 2, 2, sptr, foreground); ++ gdImageString16(im, fontptr, 2, 2, s, foreground); + + if (!gdAssertImageEqualsToFile("gdimagestring16/gdimagestring16_exp.png", im)) + errorcode = 1; +diff --git a/tests/gdimagestringup16/gdimagestringup16.c b/tests/gdimagestringup16/gdimagestringup16.c +index c843abec..c24639fd 100644 +--- a/tests/gdimagestringup16/gdimagestringup16.c b/tests/gdimagestringup16/gdimagestringup16.c +@@ -9,9 +9,7 @@ int main() + { + /* Declare the image */ + gdImagePtr im = NULL; +- wchar_t *wchr = L"H"; +- unsigned short *sptr; +- sptr = (unsigned short *)wchr; ++ unsigned short s[2] = {'H', 0}; + int foreground; + int errorcode = 0; + gdFontPtr fontptr = gdFontGetLarge(); +@@ -20,7 +18,7 @@ int main() + gdImageColorAllocate(im, 255, 255, 255); + foreground = gdImageColorAllocate(im, 22, 4, 238); + +- gdImageStringUp16(im, fontptr, 2, 18, sptr, foreground); ++ gdImageStringUp16(im, fontptr, 2, 18, s, foreground); + + if (!gdAssertImageEqualsToFile("gdimagestringup16/gdimagestringup16_exp.png", im)) + errorcode = 1; + diff --git a/media-libs/gd/gd-2.3.0.ebuild b/media-libs/gd/gd-2.3.0.ebuild index d9d3160c5c5..fe6404cb6d5 100644 --- a/media-libs/gd/gd-2.3.0.ebuild +++ b/media-libs/gd/gd-2.3.0.ebuild @@ -34,6 +34,7 @@ S="${WORKDIR}/lib${P}" PATCHES=( "${FILESDIR}/${PN}-2.3.0-disable-flaky-tests.patch" "${FILESDIR}/${PN}-2.3.0-getlib.patch" + "${FILESDIR}/${P}-fix-tests-bug722448.patch" ) src_prepare() {
[gentoo-commits] repo/gentoo:master commit in: media-libs/gd/files/, media-libs/gd/
commit: 69c5150b44714482be91bee9004afffef4200a91 Author: Sam James (sam_c) cmpct info> AuthorDate: Tue May 5 18:11:14 2020 + Commit: Thomas Deutschmann gentoo org> CommitDate: Sun May 10 22:35:49 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69c5150b media-libs/gd: Security bump to 2.3.0 Bug: https://bugs.gentoo.org/719464 Bug: https://bugs.gentoo.org/632076 Bug: https://bugs.gentoo.org/608730 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Sam James (sam_c) cmpct.info> Closes: https://github.com/gentoo/gentoo/pull/15657 Signed-off-by: Thomas Deutschmann gentoo.org> media-libs/gd/Manifest | 1 + .../gd/files/gd-2.3.0-disable-flaky-tests.patch| 25 +++ media-libs/gd/files/gd-2.3.0-getlib.patch | 81 ++ media-libs/gd/gd-2.3.0.ebuild | 80 + 4 files changed, 187 insertions(+) diff --git a/media-libs/gd/Manifest b/media-libs/gd/Manifest index 986a6d40524..8c9c7e108d4 100644 --- a/media-libs/gd/Manifest +++ b/media-libs/gd/Manifest @@ -1,3 +1,4 @@ DIST libgd-2.2.5-ossfuzz5700.dat 30 BLAKE2B 5ddd3d2be2adf05e1e2eb1852cc689be57d4d77c57b471e8b6021877f2fb137d15b4c73445fbb23a9ed585974a96dd154759a48712c1e7b5bdc5750d534aee4a SHA512 2394e92ff7a42c818e13a1ac9ad15bc81aa401adc917366ec8c440bb7f27a63777ab059aa03c501dafef0ac16b462dd23c7fb9f8086ce558203384a98a235fff DIST libgd-2.2.5-php_bug_75571.dat 1731 BLAKE2B 4b5d3f258b73e8089ede1b2c9f538855f410965a9e01e1f3f151ae52f072036172b184bd1a4d07b8355bb974bf088bebb0e812175a277bb67926274272bd80a0 SHA512 b3048640ce7828cca7901fadc989e867cfc6d31b44c0f5a1bda54d7428f317c8c8fc6403fef301e193869a95eb46eb7195d47710ec7f8c507ba049cb6cdcb281 DIST libgd-2.2.5.tar.xz 2594092 BLAKE2B 222a7e012fbf9924ac391ee96c7cd3dec96afd78c6d43dfb680b33e7143e7df87fe6be75bbfe8fb93e916302d7daf08271214c84da28712e93a36465566cb2bd SHA512 e4598e17a277a75e02255402182cab139cb3f2cffcd68ec05cc10bbeaf6bc7aa39162c3445cd4a7efc1a26b72b9152bbedb187351e3ed099ea51767319997a6b +DIST libgd-2.3.0.tar.xz 2539188 BLAKE2B a90f48be959d1bb6774ec44960e191b8be134ff3e74401eba4cbf9b165c72665f3dffe3beaaf92fa6069e0ef79533be5d57a5946a1839f55446072fa322ed808 SHA512 5b201d22560e147a3d5471010b898ad0268c3a2453b870d1267b6ba92e540cf9f75099336c1ab08217e41827ac86fe04525726bf29ad117e5dcbaef9a8d0622a diff --git a/media-libs/gd/files/gd-2.3.0-disable-flaky-tests.patch b/media-libs/gd/files/gd-2.3.0-disable-flaky-tests.patch new file mode 100644 index 000..245b3aac443 --- /dev/null +++ b/media-libs/gd/files/gd-2.3.0-disable-flaky-tests.patch @@ -0,0 +1,25 @@ +diff --git a/tests/gdimagecopyresampled/Makemodule.am b/tests/gdimagecopyresampled/Makemodule.am +index d42eab5..3644213 100644 +--- a/tests/gdimagecopyresampled/Makemodule.am b/tests/gdimagecopyresampled/Makemodule.am +@@ -4,8 +4,7 @@ libgd_test_programs += \ + if HAVE_LIBPNG + libgd_test_programs += \ + gdimagecopyresampled/basic \ +- gdimagecopyresampled/basic_alpha \ +- gdimagecopyresampled/bug00201 ++ gdimagecopyresampled/basic_alpha + endif + + EXTRA_DIST += \ +diff --git a/tests/gdimagegrayscale/Makemodule.am b/tests/gdimagegrayscale/Makemodule.am +index c6fec00..2d81a4a 100644 +--- a/tests/gdimagegrayscale/Makemodule.am b/tests/gdimagegrayscale/Makemodule.am +@@ -1,6 +1,5 @@ + if HAVE_LIBPNG + libgd_test_programs += \ +- gdimagegrayscale/basic \ + gdimagegrayscale/bug00386 + endif + diff --git a/media-libs/gd/files/gd-2.3.0-getlib.patch b/media-libs/gd/files/gd-2.3.0-getlib.patch new file mode 100644 index 000..91884e93292 --- /dev/null +++ b/media-libs/gd/files/gd-2.3.0-getlib.patch @@ -0,0 +1,81 @@ +From 635dd9a3065ed88e1741e6b963044b80e913f96a Mon Sep 17 00:00:00 2001 +From: Remi Collet +Date: Tue, 24 Mar 2020 08:01:01 +0100 +Subject: [PATCH] distribute getlib.sh + +--- + config/Makefile.am | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/config/Makefile.am b/config/Makefile.am +index 122287ee..6416dda4 100644 +--- a/config/Makefile.am b/config/Makefile.am +@@ -1,5 +1,5 @@ + ## Process this file with automake to produce Makefile.in -*-Makefile-*- +-EXTRA_DIST = gdlib.pc.cmake gdlib.pc.in getver.pl ++EXTRA_DIST = gdlib.pc.cmake gdlib.pc.in getlib.sh getver.pl + + pkgconfigdir = $(libdir)/pkgconfig + pkgconfig_DATA = gdlib.pc + +diff -ruN a/config/getlib.sh b/config/getlib.sh +--- a/config/getlib.sh 1970-01-01 00:00:00.0 - b/config/getlib.sh 2020-05-05 17:37:31.638896089 - +@@ -0,0 +1,43 @@ ++#!/bin/sh ++ ++GETVER="${0%/*}/getver.pl" ++GDLIB_MAJOR=$("${GETVER}" MAJOR) ++GDLIB_MINOR=$("${GETVER}" MINOR) ++GDLIB_REVISION=$("${GETVER}" RELEASE) ++ ++# Dynamic library version information ++# See http://www.gnu.org/software/libtool/manual/libtool.html#Updating-version-info ++ ++GDLIB_LT_CURRENT=3 ++# This is the version where the soname (current above) changes. We use it ++# to reset the rev
[gentoo-commits] repo/gentoo:master commit in: media-libs/gd/
commit: 9b133c6f76d516f9e9dc48d428a62cf21961ea5f Author: Aaron Bauman gentoo org> AuthorDate: Fri Aug 2 00:47:22 2019 + Commit: Aaron Bauman gentoo org> CommitDate: Fri Aug 2 00:47:22 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b133c6f media-libs/gd: drop vulnerable wrt bug #679702 * maintainer/proj timeout Signed-off-by: Aaron Bauman gentoo.org> media-libs/gd/gd-2.2.5-r1.ebuild | 64 1 file changed, 64 deletions(-) diff --git a/media-libs/gd/gd-2.2.5-r1.ebuild b/media-libs/gd/gd-2.2.5-r1.ebuild deleted file mode 100644 index 4e85c3bff54..000 --- a/media-libs/gd/gd-2.2.5-r1.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit libtool multilib-minimal - -DESCRIPTION="Graphics library for fast image creation" -HOMEPAGE="https://libgd.org/ https://www.boutell.com/gd/"; -SRC_URI="https://github.com/libgd/libgd/releases/download/${P}/lib${P}.tar.xz"; - -LICENSE="gd IJG HPND BSD" -SLOT="2/3" -KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" -IUSE="fontconfig jpeg png static-libs tiff truetype webp xpm zlib" - -# fontconfig has prefixed font paths, details see bug #518970 -REQUIRED_USE="prefix? ( fontconfig )" - -RDEPEND="fontconfig? ( >=media-libs/fontconfig-2.10.92[${MULTILIB_USEDEP}] ) - jpeg? ( >=virtual/jpeg-0-r2:0=[${MULTILIB_USEDEP}] ) - png? ( >=media-libs/libpng-1.6.10:0=[${MULTILIB_USEDEP}] ) - tiff? ( media-libs/tiff:0[${MULTILIB_USEDEP}] ) - truetype? ( >=media-libs/freetype-2.5.0.1[${MULTILIB_USEDEP}] ) - webp? ( media-libs/libwebp:=[${MULTILIB_USEDEP}] ) - xpm? ( >=x11-libs/libXpm-3.5.10-r1[${MULTILIB_USEDEP}] >=x11-libs/libXt-1.1.4[${MULTILIB_USEDEP}] ) - zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )" -DEPEND="${RDEPEND} - >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]" - -S="${WORKDIR}/lib${P}" - -PATCHES=( "${FILESDIR}/${P}-CVE-2018-1000222.patch" ) - -src_prepare() { - default - elibtoolize # for shared library on Solaris -} - -multilib_src_configure() { - # we aren't actually {en,dis}abling X here ... the configure - # script uses it just to add explicit -I/-L paths which we - # don't care about on Gentoo systems. - local myeconfargs=( - --disable-werror - --without-x - --without-liq - $(use_enable static-libs static) - $(use_with fontconfig) - $(use_with png) - $(use_with tiff) - $(use_with truetype freetype) - $(use_with jpeg) - $(use_with webp) - $(use_with xpm) - $(use_with zlib) - ) - ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" -} - -multilib_src_install_all() { - dodoc README.md - find "${D}" -name '*.la' -delete || die -}
[gentoo-commits] repo/gentoo:master commit in: media-libs/gd/
commit: d7e288f743fdeb03eebb99a4e42dac51a1630597 Author: Agostino Sarubbo gentoo org> AuthorDate: Wed Jun 5 07:11:14 2019 + Commit: Agostino Sarubbo gentoo org> CommitDate: Wed Jun 5 07:12:01 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7e288f7 media-libs/gd: ppc stable wrt bug #679702 Signed-off-by: Agostino Sarubbo gentoo.org> Package-Manager: Portage-2.3.66, Repoman-2.3.11 RepoMan-Options: --include-arches="ppc" media-libs/gd/gd-2.2.5-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-libs/gd/gd-2.2.5-r2.ebuild b/media-libs/gd/gd-2.2.5-r2.ebuild index a5719a6acc5..4a25de84ee0 100644 --- a/media-libs/gd/gd-2.2.5-r2.ebuild +++ b/media-libs/gd/gd-2.2.5-r2.ebuild @@ -15,7 +15,7 @@ SRC_URI="https://github.com/libgd/libgd/releases/download/${P}/lib${P}.tar.xz LICENSE="gd IJG HPND BSD" SLOT="2/3" -KEYWORDS="alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ~ppc ppc64 s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="cpu_flags_x86_sse fontconfig jpeg png static-libs test tiff truetype webp xpm zlib" # fontconfig has prefixed font paths, details see bug #518970
[gentoo-commits] repo/gentoo:master commit in: media-libs/gd/
commit: 3d9a45ae2ec2aea4ac8e67683b2d86e5c14ffc78 Author: Sergei Trofimovich gentoo org> AuthorDate: Sun Apr 28 08:39:40 2019 + Commit: Sergei Trofimovich gentoo org> CommitDate: Sun Apr 28 13:03:32 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d9a45ae media-libs/gd: stable 2.2.5-r2 for ppc64, bug #679702 Package-Manager: Portage-2.3.65, Repoman-2.3.12 RepoMan-Options: --include-arches="ppc64" Signed-off-by: Sergei Trofimovich gentoo.org> media-libs/gd/gd-2.2.5-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-libs/gd/gd-2.2.5-r2.ebuild b/media-libs/gd/gd-2.2.5-r2.ebuild index ed5c3a96905..a5719a6acc5 100644 --- a/media-libs/gd/gd-2.2.5-r2.ebuild +++ b/media-libs/gd/gd-2.2.5-r2.ebuild @@ -15,7 +15,7 @@ SRC_URI="https://github.com/libgd/libgd/releases/download/${P}/lib${P}.tar.xz LICENSE="gd IJG HPND BSD" SLOT="2/3" -KEYWORDS="alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ~ppc ppc64 s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="cpu_flags_x86_sse fontconfig jpeg png static-libs test tiff truetype webp xpm zlib" # fontconfig has prefixed font paths, details see bug #518970
[gentoo-commits] repo/gentoo:master commit in: media-libs/gd/
commit: d43816e3ef054bb3f5b4cf8e27e58877d7f4a585 Author: Mikle Kolyada gentoo org> AuthorDate: Sat Apr 6 13:35:34 2019 + Commit: Mikle Kolyada gentoo org> CommitDate: Sat Apr 6 13:35:34 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d43816e3 media-libs/gd: alpha stable wrt bug #679702 Signed-off-by: Mikle Kolyada gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11 RepoMan-Options: --include-arches="alpha" media-libs/gd/gd-2.2.5-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-libs/gd/gd-2.2.5-r2.ebuild b/media-libs/gd/gd-2.2.5-r2.ebuild index 6ce506513bf..ed5c3a96905 100644 --- a/media-libs/gd/gd-2.2.5-r2.ebuild +++ b/media-libs/gd/gd-2.2.5-r2.ebuild @@ -15,7 +15,7 @@ SRC_URI="https://github.com/libgd/libgd/releases/download/${P}/lib${P}.tar.xz LICENSE="gd IJG HPND BSD" SLOT="2/3" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="cpu_flags_x86_sse fontconfig jpeg png static-libs test tiff truetype webp xpm zlib" # fontconfig has prefixed font paths, details see bug #518970
[gentoo-commits] repo/gentoo:master commit in: media-libs/gd/
commit: afb4e966e715106f6f562032e8b61fc8a9f127f2 Author: Rolf Eike Beer sf-mail de> AuthorDate: Tue Apr 2 16:36:04 2019 + Commit: Sergei Trofimovich gentoo org> CommitDate: Tue Apr 2 19:20:48 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=afb4e966 media-libs/gd: stable 2.2.5-r2 for hppa, bug #679702 Signed-off-by: Rolf Eike Beer sf-mail.de> Package-Manager: Portage-2.3.62, Repoman-2.3.11 RepoMan-Options: --include-arches="hppa" Signed-off-by: Sergei Trofimovich gentoo.org> media-libs/gd/gd-2.2.5-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-libs/gd/gd-2.2.5-r2.ebuild b/media-libs/gd/gd-2.2.5-r2.ebuild index 00f3a5a6cf9..6ce506513bf 100644 --- a/media-libs/gd/gd-2.2.5-r2.ebuild +++ b/media-libs/gd/gd-2.2.5-r2.ebuild @@ -15,7 +15,7 @@ SRC_URI="https://github.com/libgd/libgd/releases/download/${P}/lib${P}.tar.xz LICENSE="gd IJG HPND BSD" SLOT="2/3" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="cpu_flags_x86_sse fontconfig jpeg png static-libs test tiff truetype webp xpm zlib" # fontconfig has prefixed font paths, details see bug #518970
[gentoo-commits] repo/gentoo:master commit in: media-libs/gd/
commit: 8c2e0f66ddfd0288b3528f510ec3ad1d6634269c Author: Mikle Kolyada gentoo org> AuthorDate: Sat Mar 16 14:12:55 2019 + Commit: Mikle Kolyada gentoo org> CommitDate: Sat Mar 16 14:12:55 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c2e0f66 media-libs/gd: arm stable wrt bug #679702 Signed-off-by: Mikle Kolyada gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11 RepoMan-Options: --include-arches="arm" media-libs/gd/gd-2.2.5-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-libs/gd/gd-2.2.5-r2.ebuild b/media-libs/gd/gd-2.2.5-r2.ebuild index 61cd3fa0ce8..00f3a5a6cf9 100644 --- a/media-libs/gd/gd-2.2.5-r2.ebuild +++ b/media-libs/gd/gd-2.2.5-r2.ebuild @@ -15,7 +15,7 @@ SRC_URI="https://github.com/libgd/libgd/releases/download/${P}/lib${P}.tar.xz LICENSE="gd IJG HPND BSD" SLOT="2/3" -KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="cpu_flags_x86_sse fontconfig jpeg png static-libs test tiff truetype webp xpm zlib" # fontconfig has prefixed font paths, details see bug #518970
[gentoo-commits] repo/gentoo:master commit in: media-libs/gd/
commit: 4d44c027b9b9074f0b196eb0a69f17e2e05e4582 Author: Mikle Kolyada gentoo org> AuthorDate: Fri Mar 15 23:23:58 2019 + Commit: Mikle Kolyada gentoo org> CommitDate: Fri Mar 15 23:23:58 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d44c027 media-libs/gd: s390 stable wrt bug #679702 Signed-off-by: Mikle Kolyada gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11 RepoMan-Options: --include-arches="s390" media-libs/gd/gd-2.2.5-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-libs/gd/gd-2.2.5-r2.ebuild b/media-libs/gd/gd-2.2.5-r2.ebuild index 20c151564f1..61cd3fa0ce8 100644 --- a/media-libs/gd/gd-2.2.5-r2.ebuild +++ b/media-libs/gd/gd-2.2.5-r2.ebuild @@ -15,7 +15,7 @@ SRC_URI="https://github.com/libgd/libgd/releases/download/${P}/lib${P}.tar.xz LICENSE="gd IJG HPND BSD" SLOT="2/3" -KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="cpu_flags_x86_sse fontconfig jpeg png static-libs test tiff truetype webp xpm zlib" # fontconfig has prefixed font paths, details see bug #518970
[gentoo-commits] repo/gentoo:master commit in: media-libs/gd/
commit: c6585a9612de612160e4f3908a4a9e1ffb54b296 Author: Agostino Sarubbo gentoo org> AuthorDate: Thu Mar 14 21:14:02 2019 + Commit: Agostino Sarubbo gentoo org> CommitDate: Thu Mar 14 21:14:02 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6585a96 media-libs/gd: amd64 stable wrt bug #679702 Signed-off-by: Agostino Sarubbo gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 RepoMan-Options: --include-arches="amd64" media-libs/gd/gd-2.2.5-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-libs/gd/gd-2.2.5-r2.ebuild b/media-libs/gd/gd-2.2.5-r2.ebuild index ebc47272327..20c151564f1 100644 --- a/media-libs/gd/gd-2.2.5-r2.ebuild +++ b/media-libs/gd/gd-2.2.5-r2.ebuild @@ -15,7 +15,7 @@ SRC_URI="https://github.com/libgd/libgd/releases/download/${P}/lib${P}.tar.xz LICENSE="gd IJG HPND BSD" SLOT="2/3" -KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="cpu_flags_x86_sse fontconfig jpeg png static-libs test tiff truetype webp xpm zlib" # fontconfig has prefixed font paths, details see bug #518970
[gentoo-commits] repo/gentoo:master commit in: media-libs/gd/
commit: a10593ea58abf1ded415bdbfa3a1a62c25eb2ced Author: Mart Raudsepp gentoo org> AuthorDate: Mon Mar 11 16:13:54 2019 + Commit: Mart Raudsepp gentoo org> CommitDate: Mon Mar 11 16:14:36 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a10593ea media-libs/gd: arm64 stable (bug #679702) Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Mart Raudsepp gentoo.org> media-libs/gd/gd-2.2.5-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-libs/gd/gd-2.2.5-r2.ebuild b/media-libs/gd/gd-2.2.5-r2.ebuild index 4e7248ab237..ebc47272327 100644 --- a/media-libs/gd/gd-2.2.5-r2.ebuild +++ b/media-libs/gd/gd-2.2.5-r2.ebuild @@ -15,7 +15,7 @@ SRC_URI="https://github.com/libgd/libgd/releases/download/${P}/lib${P}.tar.xz LICENSE="gd IJG HPND BSD" SLOT="2/3" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="cpu_flags_x86_sse fontconfig jpeg png static-libs test tiff truetype webp xpm zlib" # fontconfig has prefixed font paths, details see bug #518970
[gentoo-commits] repo/gentoo:master commit in: media-libs/gd/
commit: cfaa0221b7202553c854c0a791894c928b7fc13a Author: Thomas Deutschmann gentoo org> AuthorDate: Sat Mar 9 20:15:14 2019 + Commit: Thomas Deutschmann gentoo org> CommitDate: Sat Mar 9 20:15:35 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cfaa0221 media-libs/gd: add workaround for rounding problem on some architectures Bug: https://github.com/libgd/libgd/issues/278 Closes: https://bugs.gentoo.org/632076 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Thomas Deutschmann gentoo.org> media-libs/gd/gd-2.2.5-r2.ebuild | 5 + 1 file changed, 5 insertions(+) diff --git a/media-libs/gd/gd-2.2.5-r2.ebuild b/media-libs/gd/gd-2.2.5-r2.ebuild index 0dcb8668045..4e7248ab237 100644 --- a/media-libs/gd/gd-2.2.5-r2.ebuild +++ b/media-libs/gd/gd-2.2.5-r2.ebuild @@ -66,6 +66,11 @@ multilib_src_configure() { append-cflags -ffloat-store fi + # bug 632076, https://github.com/libgd/libgd/issues/278 + if use arm64 || use ppc64 || use s390 ; then + append-cflags -ffp-contract=off + fi + # we aren't actually {en,dis}abling X here ... the configure # script uses it just to add explicit -I/-L paths which we # don't care about on Gentoo systems.
[gentoo-commits] repo/gentoo:master commit in: media-libs/gd/
commit: 2a9fe8d78823cb9933cc78caec5e190fb6726c5f Author: Thomas Deutschmann gentoo org> AuthorDate: Sat Mar 9 19:06:49 2019 + Commit: Thomas Deutschmann gentoo org> CommitDate: Sat Mar 9 19:18:16 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a9fe8d7 media-libs/gd: x86 stable (bug #679702) Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Thomas Deutschmann gentoo.org> media-libs/gd/gd-2.2.5-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-libs/gd/gd-2.2.5-r2.ebuild b/media-libs/gd/gd-2.2.5-r2.ebuild index 636cf3398f4..0dcb8668045 100644 --- a/media-libs/gd/gd-2.2.5-r2.ebuild +++ b/media-libs/gd/gd-2.2.5-r2.ebuild @@ -15,7 +15,7 @@ SRC_URI="https://github.com/libgd/libgd/releases/download/${P}/lib${P}.tar.xz LICENSE="gd IJG HPND BSD" SLOT="2/3" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="cpu_flags_x86_sse fontconfig jpeg png static-libs test tiff truetype webp xpm zlib" # fontconfig has prefixed font paths, details see bug #518970
[gentoo-commits] repo/gentoo:master commit in: media-libs/gd/
commit: e4b9c7bfe522a0bfa760db822effe83046024d3e Author: Thomas Deutschmann gentoo org> AuthorDate: Sat Mar 9 18:18:13 2019 + Commit: Thomas Deutschmann gentoo org> CommitDate: Sat Mar 9 18:18:13 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4b9c7bf media-libs/gd: fix build for systems without SSE support Bug: https://github.com/libgd/libgd/issues/242 Closes: https://bugs.gentoo.org/603360 Closes: https://bugs.gentoo.org/587992 Closes: https://bugs.gentoo.org/632076 Closes: https://bugs.gentoo.org/608730 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Thomas Deutschmann gentoo.org> media-libs/gd/gd-2.2.5-r2.ebuild | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/media-libs/gd/gd-2.2.5-r2.ebuild b/media-libs/gd/gd-2.2.5-r2.ebuild index 799f5b0382a..636cf3398f4 100644 --- a/media-libs/gd/gd-2.2.5-r2.ebuild +++ b/media-libs/gd/gd-2.2.5-r2.ebuild @@ -3,7 +3,7 @@ EAPI="7" -inherit autotools multilib-minimal +inherit autotools flag-o-matic multilib-minimal DESCRIPTION="Graphics library for fast image creation" HOMEPAGE="https://libgd.org/ https://www.boutell.com/gd/"; @@ -16,7 +16,7 @@ SRC_URI="https://github.com/libgd/libgd/releases/download/${P}/lib${P}.tar.xz LICENSE="gd IJG HPND BSD" SLOT="2/3" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" -IUSE="fontconfig jpeg png static-libs test tiff truetype webp xpm zlib" +IUSE="cpu_flags_x86_sse fontconfig jpeg png static-libs test tiff truetype webp xpm zlib" # fontconfig has prefixed font paths, details see bug #518970 REQUIRED_USE="prefix? ( fontconfig )" @@ -59,6 +59,13 @@ src_prepare() { } multilib_src_configure() { + # bug 603360, https://github.com/libgd/libgd/blob/fd06f7f83c5e78bf5b7f5397746b4e5ee4366250/docs/README.TESTING#L65 + if use cpu_flags_x86_sse ; then + append-cflags -msse -mfpmath=sse + else + append-cflags -ffloat-store + fi + # we aren't actually {en,dis}abling X here ... the configure # script uses it just to add explicit -I/-L paths which we # don't care about on Gentoo systems.
[gentoo-commits] repo/gentoo:master commit in: media-libs/gd/
commit: 19a08ae0cbadc4ea2201e62a67c0644a5180f794 Author: Rolf Eike Beer sf-mail de> AuthorDate: Fri Mar 8 15:46:20 2019 + Commit: Sergei Trofimovich gentoo org> CommitDate: Fri Mar 8 19:52:19 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19a08ae0 media-libs/gd: stable 2.2.5-r2 for sparc, bug #679702 Signed-off-by: Rolf Eike Beer sf-mail.de> Package-Manager: Portage-2.3.51, Repoman-2.3.11 RepoMan-Options: --include-arches="sparc" Signed-off-by: Sergei Trofimovich gentoo.org> media-libs/gd/gd-2.2.5-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-libs/gd/gd-2.2.5-r2.ebuild b/media-libs/gd/gd-2.2.5-r2.ebuild index 4d24af7c8db..799f5b0382a 100644 --- a/media-libs/gd/gd-2.2.5-r2.ebuild +++ b/media-libs/gd/gd-2.2.5-r2.ebuild @@ -15,7 +15,7 @@ SRC_URI="https://github.com/libgd/libgd/releases/download/${P}/lib${P}.tar.xz LICENSE="gd IJG HPND BSD" SLOT="2/3" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="fontconfig jpeg png static-libs test tiff truetype webp xpm zlib" # fontconfig has prefixed font paths, details see bug #518970
[gentoo-commits] repo/gentoo:master commit in: media-libs/gd/
commit: 53839e1b65680123ed8cd5d2c34a8862c59fb58d Author: Lars Wendler gentoo org> AuthorDate: Mon Mar 4 12:32:47 2019 + Commit: Lars Wendler gentoo org> CommitDate: Mon Mar 4 12:33:19 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53839e1b media-libs/gd: Fixed build with USE="-test". Closes: https://bugs.gentoo.org/679380 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Lars Wendler gentoo.org> media-libs/gd/gd-2.2.5-r2.ebuild | 15 +-- 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/media-libs/gd/gd-2.2.5-r2.ebuild b/media-libs/gd/gd-2.2.5-r2.ebuild index 7686c2013da..4d24af7c8db 100644 --- a/media-libs/gd/gd-2.2.5-r2.ebuild +++ b/media-libs/gd/gd-2.2.5-r2.ebuild @@ -9,8 +9,8 @@ DESCRIPTION="Graphics library for fast image creation" HOMEPAGE="https://libgd.org/ https://www.boutell.com/gd/"; SRC_URI="https://github.com/libgd/libgd/releases/download/${P}/lib${P}.tar.xz test? ( - https://github.com/libgd/libgd/raw/e0cb1b76c305db68b251fe782faa12da5d357593/tests/gif/ossfuzz5700.gif -> lib$P-ossfuzz5700.dat - https://github.com/libgd/libgd/raw/e0cb1b76c305db68b251fe782faa12da5d357593/tests/gif/php_bug_75571.gif -> lib$P-php_bug_75571.dat + https://github.com/libgd/libgd/raw/e0cb1b76c305db68b251fe782faa12da5d357593/tests/gif/ossfuzz5700.gif -> lib${P}-ossfuzz5700.dat + https://github.com/libgd/libgd/raw/e0cb1b76c305db68b251fe782faa12da5d357593/tests/gif/php_bug_75571.gif -> lib${P}-php_bug_75571.dat )" LICENSE="gd IJG HPND BSD" @@ -45,13 +45,16 @@ PATCHES=( src_unpack() { default - cp "${DISTDIR}"/lib${P}-ossfuzz5700.dat "${S}"/tests/gif/ossfuzz5700.gif || die - cp "${DISTDIR}"/lib${P}-php_bug_75571.dat "${S}"/tests/gif/php_bug_75571.gif || die + if use test ; then + cp "${DISTDIR}"/lib${P}-ossfuzz5700.dat \ + "${S}"/tests/gif/ossfuzz5700.gif || die + cp "${DISTDIR}"/lib${P}-php_bug_75571.dat \ + "${S}"/tests/gif/php_bug_75571.gif || die + fi } src_prepare() { default - eautoreconf } @@ -78,5 +81,5 @@ multilib_src_configure() { multilib_src_install_all() { dodoc README.md - find "${D}" -name '*.la' -delete || die + find "${ED}" -name '*.la' -delete || die }
[gentoo-commits] repo/gentoo:master commit in: media-libs/gd/, media-libs/gd/files/
commit: 0c46087add86facfccbc875e0064cbc167775249 Author: Thomas Deutschmann gentoo org> AuthorDate: Mon Mar 4 00:28:44 2019 + Commit: Thomas Deutschmann gentoo org> CommitDate: Mon Mar 4 00:28:59 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c46087a media-libs/gd: rev bump to add some security patches ossfuzz5700 fix CVE-2018-5711 CVE-2019-6977 CVE-2019-6978 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Thomas Deutschmann gentoo.org> media-libs/gd/Manifest | 2 + media-libs/gd/files/gd-2.2.5-CVE-2018-5711.patch | 124 ++ media-libs/gd/files/gd-2.2.5-CVE-2019-6977.patch | 28 +++ media-libs/gd/files/gd-2.2.5-CVE-2019-6978.patch | 278 +++ media-libs/gd/files/gd-2.2.5-ossfuzz5700.patch | 103 + media-libs/gd/gd-2.2.5-r2.ebuild | 82 +++ 6 files changed, 617 insertions(+) diff --git a/media-libs/gd/Manifest b/media-libs/gd/Manifest index 9957e0f8f60..986a6d40524 100644 --- a/media-libs/gd/Manifest +++ b/media-libs/gd/Manifest @@ -1 +1,3 @@ +DIST libgd-2.2.5-ossfuzz5700.dat 30 BLAKE2B 5ddd3d2be2adf05e1e2eb1852cc689be57d4d77c57b471e8b6021877f2fb137d15b4c73445fbb23a9ed585974a96dd154759a48712c1e7b5bdc5750d534aee4a SHA512 2394e92ff7a42c818e13a1ac9ad15bc81aa401adc917366ec8c440bb7f27a63777ab059aa03c501dafef0ac16b462dd23c7fb9f8086ce558203384a98a235fff +DIST libgd-2.2.5-php_bug_75571.dat 1731 BLAKE2B 4b5d3f258b73e8089ede1b2c9f538855f410965a9e01e1f3f151ae52f072036172b184bd1a4d07b8355bb974bf088bebb0e812175a277bb67926274272bd80a0 SHA512 b3048640ce7828cca7901fadc989e867cfc6d31b44c0f5a1bda54d7428f317c8c8fc6403fef301e193869a95eb46eb7195d47710ec7f8c507ba049cb6cdcb281 DIST libgd-2.2.5.tar.xz 2594092 BLAKE2B 222a7e012fbf9924ac391ee96c7cd3dec96afd78c6d43dfb680b33e7143e7df87fe6be75bbfe8fb93e916302d7daf08271214c84da28712e93a36465566cb2bd SHA512 e4598e17a277a75e02255402182cab139cb3f2cffcd68ec05cc10bbeaf6bc7aa39162c3445cd4a7efc1a26b72b9152bbedb187351e3ed099ea51767319997a6b diff --git a/media-libs/gd/files/gd-2.2.5-CVE-2018-5711.patch b/media-libs/gd/files/gd-2.2.5-CVE-2018-5711.patch new file mode 100644 index 000..6d9de06998a --- /dev/null +++ b/media-libs/gd/files/gd-2.2.5-CVE-2018-5711.patch @@ -0,0 +1,124 @@ +From a11f47475e6443b7f32d21f2271f28f417e2ac04 Mon Sep 17 00:00:00 2001 +From: "Christoph M. Becker" +Date: Wed, 29 Nov 2017 19:37:38 +0100 +Subject: [PATCH] Fix #420: Potential infinite loop in gdImageCreateFromGifCtx + +Due to a signedness confusion in `GetCode_` a corrupt GIF file can +trigger an infinite loop. Furthermore we make sure that a GIF without +any palette entries is treated as invalid *after* open palette entries +have been removed. + +CVE-2018-5711 + +See also https://bugs.php.net/bug.php?id=75571. +--- + src/gd_gif_in.c | 12 ++-- + tests/gif/CMakeLists.txt| 1 + + tests/gif/Makemodule.am | 2 ++ + tests/gif/php_bug_75571.c | 28 + tests/gif/php_bug_75571.gif | Bin 0 -> 1731 bytes + 6 files changed, 38 insertions(+), 6 deletions(-) + create mode 100644 tests/gif/php_bug_75571.c + +diff --git a/src/gd_gif_in.c b/src/gd_gif_in.c +index daf26e79..0a8bd717 100644 +--- a/src/gd_gif_in.c b/src/gd_gif_in.c +@@ -335,11 +335,6 @@ BGD_DECLARE(gdImagePtr) gdImageCreateFromGifCtx(gdIOCtxPtr fd) + return 0; + } + +- if(!im->colorsTotal) { +- gdImageDestroy(im); +- return 0; +- } +- + /* Check for open colors at the end, so +* we can reduce colorsTotal and ultimately +* BitsPerPixel */ +@@ -351,6 +346,11 @@ BGD_DECLARE(gdImagePtr) gdImageCreateFromGifCtx(gdIOCtxPtr fd) + } + } + ++ if(!im->colorsTotal) { ++ gdImageDestroy(im); ++ return 0; ++ } ++ + return im; + } + +@@ -447,7 +447,7 @@ static int + GetCode_(gdIOCtx *fd, CODE_STATIC_DATA *scd, int code_size, int flag, int *ZeroDataBlockP) + { + int i, j, ret; +- unsigned char count; ++ int count; + + if(flag) { + scd->curbit = 0; +diff --git a/tests/gif/CMakeLists.txt b/tests/gif/CMakeLists.txt +index 2b73749e..e58e6b09 100644 +--- a/tests/gif/CMakeLists.txt b/tests/gif/CMakeLists.txt +@@ -4,6 +4,7 @@ LIST(APPEND TESTS_FILES + bug00227 + gif_null + ossfuzz5700 ++ php_bug_75571 + uninitialized_memory_read + ) + +diff --git a/tests/gif/Makemodule.am b/tests/gif/Makemodule.am +index 3199438f..5dbeac53 100644 +--- a/tests/gif/Makemodule.am b/tests/gif/Makemodule.am +@@ -4,6 +4,7 @@ libgd_test_programs += \ + gif/bug00227 \ + gif/gif_null \ + gif/ossfuzz5700 \ ++ gif/php_bug_75571 \ + gif/uninitialized_memory_read + + if HAVE_LIBPNG +@@ -26,4 +27,5 @@ EXTRA_DIST += \ + gif/bug00066.gif \ + gif/bug00066_exp.png \ + gif/ossfuzz5700.gif \ ++ gif/php_bug_75571.
[gentoo-commits] repo/gentoo:master commit in: media-libs/gd/
commit: 20ad1d78a036e9766e176e589eccea4b1e4976dc Author: Mikle Kolyada gentoo org> AuthorDate: Fri Jan 18 13:22:19 2019 + Commit: Mikle Kolyada gentoo org> CommitDate: Fri Jan 18 13:22:33 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20ad1d78 media-libs/gd: Security cleanup Signed-off-by: Mikle Kolyada gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 media-libs/gd/gd-2.2.5.ebuild | 62 --- 1 file changed, 62 deletions(-) diff --git a/media-libs/gd/gd-2.2.5.ebuild b/media-libs/gd/gd-2.2.5.ebuild deleted file mode 100644 index d0b3c15fb3b..000 --- a/media-libs/gd/gd-2.2.5.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -inherit libtool ltprune multilib-minimal - -DESCRIPTION="A graphics library for fast image creation" -HOMEPAGE="http://libgd.org/ http://www.boutell.com/gd/"; -SRC_URI="https://github.com/libgd/libgd/releases/download/${P}/lib${P}.tar.xz"; - -LICENSE="gd IJG HPND BSD" -SLOT="2/3" -KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" -IUSE="fontconfig jpeg png static-libs tiff truetype webp xpm zlib" - -# fontconfig has prefixed font paths, details see bug #518970 -REQUIRED_USE="prefix? ( fontconfig )" - -RDEPEND="fontconfig? ( >=media-libs/fontconfig-2.10.92[${MULTILIB_USEDEP}] ) - jpeg? ( >=virtual/jpeg-0-r2:0=[${MULTILIB_USEDEP}] ) - png? ( >=media-libs/libpng-1.6.10:0=[${MULTILIB_USEDEP}] ) - tiff? ( media-libs/tiff:0[${MULTILIB_USEDEP}] ) - truetype? ( >=media-libs/freetype-2.5.0.1[${MULTILIB_USEDEP}] ) - webp? ( media-libs/libwebp:=[${MULTILIB_USEDEP}] ) - xpm? ( >=x11-libs/libXpm-3.5.10-r1[${MULTILIB_USEDEP}] >=x11-libs/libXt-1.1.4[${MULTILIB_USEDEP}] ) - zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )" -DEPEND="${RDEPEND} - >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]" - -S="${WORKDIR}/lib${P}" - -src_prepare() { - default - elibtoolize # for shared library on Solaris -} - -multilib_src_configure() { - # we aren't actually {en,dis}abling X here ... the configure - # script uses it just to add explicit -I/-L paths which we - # don't care about on Gentoo systems. - local myeconfargs=( - --disable-werror - --without-x - --without-liq - $(use_enable static-libs static) - $(use_with fontconfig) - $(use_with png) - $(use_with tiff) - $(use_with truetype freetype) - $(use_with jpeg) - $(use_with webp) - $(use_with xpm) - $(use_with zlib) - ) - ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" -} - -multilib_src_install_all() { - dodoc README.md - prune_libtool_files -}
[gentoo-commits] repo/gentoo:master commit in: media-libs/gd/
commit: 67af531336dfe574b2e73689768875f64629a360 Author: Mikle Kolyada gentoo org> AuthorDate: Fri Jan 18 13:21:07 2019 + Commit: Mikle Kolyada gentoo org> CommitDate: Fri Jan 18 13:22:32 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67af5313 media-libs/gd: s390 stable wrt bug #664732 Signed-off-by: Mikle Kolyada gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 media-libs/gd/gd-2.2.5-r1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/media-libs/gd/gd-2.2.5-r1.ebuild b/media-libs/gd/gd-2.2.5-r1.ebuild index 869765c3bc4..4e85c3bff54 100644 --- a/media-libs/gd/gd-2.2.5-r1.ebuild +++ b/media-libs/gd/gd-2.2.5-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Authors +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -11,7 +11,7 @@ SRC_URI="https://github.com/libgd/libgd/releases/download/${P}/lib${P}.tar.xz"; LICENSE="gd IJG HPND BSD" SLOT="2/3" -KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="fontconfig jpeg png static-libs tiff truetype webp xpm zlib" # fontconfig has prefixed font paths, details see bug #518970
[gentoo-commits] repo/gentoo:master commit in: media-libs/gd/
commit: 0f85b90b64823d175cfc2bd180a2ff8a49d28092 Author: Matt Turner gentoo org> AuthorDate: Sun Dec 30 19:40:30 2018 + Commit: Matt Turner gentoo org> CommitDate: Sun Dec 30 19:40:38 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f85b90b media-libs/gd-2.2.5-r1: hppa stable, bug 664732 Signed-off-by: Matt Turner gentoo.org> media-libs/gd/gd-2.2.5-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-libs/gd/gd-2.2.5-r1.ebuild b/media-libs/gd/gd-2.2.5-r1.ebuild index 9ffef8a09bc..869765c3bc4 100644 --- a/media-libs/gd/gd-2.2.5-r1.ebuild +++ b/media-libs/gd/gd-2.2.5-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/libgd/libgd/releases/download/${P}/lib${P}.tar.xz"; LICENSE="gd IJG HPND BSD" SLOT="2/3" -KEYWORDS="alpha amd64 arm arm64 ~hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="fontconfig jpeg png static-libs tiff truetype webp xpm zlib" # fontconfig has prefixed font paths, details see bug #518970
[gentoo-commits] repo/gentoo:master commit in: media-libs/gd/
commit: c4a0667c18b9818168314699aaa69f0aa85cc4cb Author: Sergei Trofimovich gentoo org> AuthorDate: Sun Oct 14 22:32:40 2018 + Commit: Sergei Trofimovich gentoo org> CommitDate: Sun Oct 14 22:32:40 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4a0667c media-libs/gd: stable 2.2.5-r1 for ia64, bug #664732 Signed-off-by: Sergei Trofimovich gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 RepoMan-Options: --include-arches="ia64" media-libs/gd/gd-2.2.5-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-libs/gd/gd-2.2.5-r1.ebuild b/media-libs/gd/gd-2.2.5-r1.ebuild index 2206d8c712b..9ffef8a09bc 100644 --- a/media-libs/gd/gd-2.2.5-r1.ebuild +++ b/media-libs/gd/gd-2.2.5-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/libgd/libgd/releases/download/${P}/lib${P}.tar.xz"; LICENSE="gd IJG HPND BSD" SLOT="2/3" -KEYWORDS="alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="alpha amd64 arm arm64 ~hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="fontconfig jpeg png static-libs tiff truetype webp xpm zlib" # fontconfig has prefixed font paths, details see bug #518970
[gentoo-commits] repo/gentoo:master commit in: media-libs/gd/
commit: 49db1aeb5f44bf298600e730759c37caafe1b96b Author: Tobias Klausmann gentoo org> AuthorDate: Thu Oct 11 12:33:16 2018 + Commit: Tobias Klausmann gentoo org> CommitDate: Thu Oct 11 12:45:29 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49db1aeb media-libs/gd-2.2.5-r1: alpha stable Gentoo-Bug: http://bugs.gentoo.org/664732 Signed-off-by: Tobias Klausmann gentoo.org> media-libs/gd/gd-2.2.5-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-libs/gd/gd-2.2.5-r1.ebuild b/media-libs/gd/gd-2.2.5-r1.ebuild index 55b5475f63b..2206d8c712b 100644 --- a/media-libs/gd/gd-2.2.5-r1.ebuild +++ b/media-libs/gd/gd-2.2.5-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/libgd/libgd/releases/download/${P}/lib${P}.tar.xz"; LICENSE="gd IJG HPND BSD" SLOT="2/3" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="fontconfig jpeg png static-libs tiff truetype webp xpm zlib" # fontconfig has prefixed font paths, details see bug #518970
[gentoo-commits] repo/gentoo:master commit in: media-libs/gd/
commit: 7fa21efd686cce1304474956a53619a392c73df0 Author: Matt Turner gentoo org> AuthorDate: Sat Oct 6 16:13:26 2018 + Commit: Matt Turner gentoo org> CommitDate: Sat Oct 6 16:47:26 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7fa21efd media-libs/gd-2.2.5-r1: ppc64 stable, bug 664732 Signed-off-by: Matt Turner gentoo.org> media-libs/gd/gd-2.2.5-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-libs/gd/gd-2.2.5-r1.ebuild b/media-libs/gd/gd-2.2.5-r1.ebuild index d88e7f471f8..55b5475f63b 100644 --- a/media-libs/gd/gd-2.2.5-r1.ebuild +++ b/media-libs/gd/gd-2.2.5-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/libgd/libgd/releases/download/${P}/lib${P}.tar.xz"; LICENSE="gd IJG HPND BSD" SLOT="2/3" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="fontconfig jpeg png static-libs tiff truetype webp xpm zlib" # fontconfig has prefixed font paths, details see bug #518970
[gentoo-commits] repo/gentoo:master commit in: media-libs/gd/
commit: 99de4a13031707fd56171c7ecbb82e09bf152d01 Author: Mart Raudsepp gentoo org> AuthorDate: Sun Sep 30 22:19:54 2018 + Commit: Mart Raudsepp gentoo org> CommitDate: Sun Sep 30 22:29:38 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99de4a13 media-libs/gd-2.2.5-r1: arm64 stable (bug #664732) Signed-off-by: Mart Raudsepp gentoo.org> Package-Manager: Portage-2.3.49, Repoman-2.3.11 media-libs/gd/gd-2.2.5-r1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/media-libs/gd/gd-2.2.5-r1.ebuild b/media-libs/gd/gd-2.2.5-r1.ebuild index c00352325c0..ad27199face 100644 --- a/media-libs/gd/gd-2.2.5-r1.ebuild +++ b/media-libs/gd/gd-2.2.5-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2018 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -11,7 +11,7 @@ SRC_URI="https://github.com/libgd/libgd/releases/download/${P}/lib${P}.tar.xz"; LICENSE="gd IJG HPND BSD" SLOT="2/3" -KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="fontconfig jpeg png static-libs tiff truetype webp xpm zlib" # fontconfig has prefixed font paths, details see bug #518970
[gentoo-commits] repo/gentoo:master commit in: media-libs/gd/
commit: 170481858becf27fbdc287e3919fde2c5c159bc7 Author: Markus Meier gentoo org> AuthorDate: Mon Sep 24 18:15:47 2018 + Commit: Markus Meier gentoo org> CommitDate: Mon Sep 24 18:15:47 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17048185 media-libs/gd: arm stable, bug #664732 Package-Manager: Portage-2.3.49, Repoman-2.3.10 RepoMan-Options: --include-arches="arm" media-libs/gd/gd-2.2.5-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-libs/gd/gd-2.2.5-r1.ebuild b/media-libs/gd/gd-2.2.5-r1.ebuild index b0aec7a454a..c00352325c0 100644 --- a/media-libs/gd/gd-2.2.5-r1.ebuild +++ b/media-libs/gd/gd-2.2.5-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/libgd/libgd/releases/download/${P}/lib${P}.tar.xz"; LICENSE="gd IJG HPND BSD" SLOT="2/3" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="fontconfig jpeg png static-libs tiff truetype webp xpm zlib" # fontconfig has prefixed font paths, details see bug #518970
[gentoo-commits] repo/gentoo:master commit in: media-libs/gd/
commit: 17a2f161a28420ed48de4f715387e82ee4fcf2da Author: Rolf Eike Beer sf-mail de> AuthorDate: Wed Sep 19 15:45:14 2018 + Commit: Sergei Trofimovich gentoo org> CommitDate: Wed Sep 19 19:51:32 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17a2f161 media-libs/gd: stable 2.2.5-r1 for sparc, bug #664732 Signed-off-by: Rolf Eike Beer sf-mail.de> Package-Manager: Portage-2.3.49, Repoman-2.3.10 RepoMan-Options: --include-arches="sparc" Signed-off-by: Sergei Trofimovich gentoo.org> media-libs/gd/gd-2.2.5-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-libs/gd/gd-2.2.5-r1.ebuild b/media-libs/gd/gd-2.2.5-r1.ebuild index daca466a237..b0aec7a454a 100644 --- a/media-libs/gd/gd-2.2.5-r1.ebuild +++ b/media-libs/gd/gd-2.2.5-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/libgd/libgd/releases/download/${P}/lib${P}.tar.xz"; LICENSE="gd IJG HPND BSD" SLOT="2/3" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="fontconfig jpeg png static-libs tiff truetype webp xpm zlib" # fontconfig has prefixed font paths, details see bug #518970
[gentoo-commits] repo/gentoo:master commit in: media-libs/gd/
commit: eb8c87f8fca6b228e21116c9f9c2088aaae5c94f Author: Thomas Deutschmann gentoo org> AuthorDate: Wed Sep 19 15:47:26 2018 + Commit: Thomas Deutschmann gentoo org> CommitDate: Wed Sep 19 17:34:28 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb8c87f8 media-libs/gd: x86 stable (bug #664732) Package-Manager: Portage-2.3.49, Repoman-2.3.10 media-libs/gd/gd-2.2.5-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-libs/gd/gd-2.2.5-r1.ebuild b/media-libs/gd/gd-2.2.5-r1.ebuild index 25eb0b99626..daca466a237 100644 --- a/media-libs/gd/gd-2.2.5-r1.ebuild +++ b/media-libs/gd/gd-2.2.5-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/libgd/libgd/releases/download/${P}/lib${P}.tar.xz"; LICENSE="gd IJG HPND BSD" SLOT="2/3" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="fontconfig jpeg png static-libs tiff truetype webp xpm zlib" # fontconfig has prefixed font paths, details see bug #518970
[gentoo-commits] repo/gentoo:master commit in: media-libs/gd/
commit: 51b382b41b90455e0a68a676a08b6959869cc91e Author: Mikle Kolyada gentoo org> AuthorDate: Wed Sep 19 07:44:37 2018 + Commit: Mikle Kolyada gentoo org> CommitDate: Wed Sep 19 07:44:37 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51b382b4 media-libs/gd: amd64 stable wrt bug #664732 Package-Manager: Portage-2.3.49, Repoman-2.3.10 media-libs/gd/gd-2.2.5-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-libs/gd/gd-2.2.5-r1.ebuild b/media-libs/gd/gd-2.2.5-r1.ebuild index 22a71924d8d..25eb0b99626 100644 --- a/media-libs/gd/gd-2.2.5-r1.ebuild +++ b/media-libs/gd/gd-2.2.5-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/libgd/libgd/releases/download/${P}/lib${P}.tar.xz"; LICENSE="gd IJG HPND BSD" SLOT="2/3" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="fontconfig jpeg png static-libs tiff truetype webp xpm zlib" # fontconfig has prefixed font paths, details see bug #518970
[gentoo-commits] repo/gentoo:master commit in: media-libs/gd/files/, media-libs/gd/
commit: 04cf9aa3bf7e0746e85461c3c56d9f9a95ce6fba Author: Andreas Sturmlechner gentoo org> AuthorDate: Fri Sep 14 19:11:20 2018 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Fri Sep 14 19:15:47 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04cf9aa3 media-libs/gd: Fix CVE-2018-1000222 Thanks-to: Eddie Chapman ehuk.net> Bug: https://bugs.gentoo.org/664732 Package-Manager: Portage-2.3.49, Repoman-2.3.10 .../gd/files/gd-2.2.5-CVE-2018-1000222.patch | 73 ++ media-libs/gd/gd-2.2.5-r1.ebuild | 64 +++ 2 files changed, 137 insertions(+) diff --git a/media-libs/gd/files/gd-2.2.5-CVE-2018-1000222.patch b/media-libs/gd/files/gd-2.2.5-CVE-2018-1000222.patch new file mode 100644 index 000..80f9712bf8e --- /dev/null +++ b/media-libs/gd/files/gd-2.2.5-CVE-2018-1000222.patch @@ -0,0 +1,73 @@ +From ac16bdf2d41724b5a65255d4c28fb0ec46bc42f5 Mon Sep 17 00:00:00 2001 +From: Mike Frysinger +Date: Sat, 14 Jul 2018 13:54:08 -0400 +Subject: [PATCH] bmp: check return value in gdImageBmpPtr + +Closes #447. +--- + src/gd_bmp.c | 17 ++--- + 1 file changed, 14 insertions(+), 3 deletions(-) + +diff --git a/src/gd_bmp.c b/src/gd_bmp.c +index bde0b9d3..78f40d9a 100644 +--- a/src/gd_bmp.c b/src/gd_bmp.c +@@ -47,6 +47,8 @@ static int bmp_read_4bit(gdImagePtr im, gdIOCtxPtr infile, bmp_info_t *info, bmp + static int bmp_read_8bit(gdImagePtr im, gdIOCtxPtr infile, bmp_info_t *info, bmp_hdr_t *header); + static int bmp_read_rle(gdImagePtr im, gdIOCtxPtr infile, bmp_info_t *info); + ++static int _gdImageBmpCtx(gdImagePtr im, gdIOCtxPtr out, int compression); ++ + #define BMP_DEBUG(s) + + static int gdBMPPutWord(gdIOCtx *out, int w) +@@ -87,8 +89,10 @@ BGD_DECLARE(void *) gdImageBmpPtr(gdImagePtr im, int *size, int compression) + void *rv; + gdIOCtx *out = gdNewDynamicCtx(2048, NULL); + if (out == NULL) return NULL; +- gdImageBmpCtx(im, out, compression); +- rv = gdDPExtractData(out, size); ++ if (!_gdImageBmpCtx(im, out, compression)) ++ rv = gdDPExtractData(out, size); ++ else ++ rv = NULL; + out->gd_free(out); + return rv; + } +@@ -141,6 +145,11 @@ BGD_DECLARE(void) gdImageBmp(gdImagePtr im, FILE *outFile, int compression) + compression - whether to apply RLE or not. + */ + BGD_DECLARE(void) gdImageBmpCtx(gdImagePtr im, gdIOCtxPtr out, int compression) ++{ ++ _gdImageBmpCtx(im, out, compression); ++} ++ ++static int _gdImageBmpCtx(gdImagePtr im, gdIOCtxPtr out, int compression) + { + int bitmap_size = 0, info_size, total_size, padding; + int i, row, xpos, pixel; +@@ -148,6 +157,7 @@ BGD_DECLARE(void) gdImageBmpCtx(gdImagePtr im, gdIOCtxPtr out, int compression) + unsigned char *uncompressed_row = NULL, *uncompressed_row_start = NULL; + FILE *tmpfile_for_compression = NULL; + gdIOCtxPtr out_original = NULL; ++ int ret = 1; + + /* No compression if its true colour or we don't support seek */ + if (im->trueColor) { +@@ -325,6 +335,7 @@ BGD_DECLARE(void) gdImageBmpCtx(gdImagePtr im, gdIOCtxPtr out, int compression) + out_original = NULL; + } + ++ ret = 0; + cleanup: + if (tmpfile_for_compression) { + #ifdef _WIN32 +@@ -338,7 +349,7 @@ BGD_DECLARE(void) gdImageBmpCtx(gdImagePtr im, gdIOCtxPtr out, int compression) + if (out_original) { + out_original->gd_free(out_original); + } +- return; ++ return ret; + } + + static int compress_row(unsigned char *row, int length) diff --git a/media-libs/gd/gd-2.2.5-r1.ebuild b/media-libs/gd/gd-2.2.5-r1.ebuild new file mode 100644 index 000..79f1957b3f5 --- /dev/null +++ b/media-libs/gd/gd-2.2.5-r1.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit libtool ltprune multilib-minimal + +DESCRIPTION="A graphics library for fast image creation" +HOMEPAGE="http://libgd.org/ http://www.boutell.com/gd/"; +SRC_URI="https://github.com/libgd/libgd/releases/download/${P}/lib${P}.tar.xz"; + +LICENSE="gd IJG HPND BSD" +SLOT="2/3" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +IUSE="fontconfig jpeg png static-libs tiff truetype webp xpm zlib" + +# fontconfig has prefixed font paths, details see bug #518970 +REQUIRED_USE="prefix? ( fontconfig )" + +RDEPEND="fontconfig? ( >=media-libs/fontconfig-2.10.92[${MULTILIB_USEDEP}] ) + jpeg? ( >=virtual/jpeg-0-r2:0=[${MULTILIB_USEDEP}] ) + png? ( >=media-libs/libpng-1.6.10:0=[${MULTILIB_USEDEP}] ) + tiff? ( media-libs/tiff:0[${MULTILIB_USEDEP}] ) + truetype? ( >=media-libs/freetype-2.5.0.1[${MULTILIB_USEDEP}
[gentoo-commits] repo/gentoo:master commit in: media-libs/gd/
commit: 79e0cfbb9e9eb6ea14867b801654db9e9fea24c5 Author: Andreas Sturmlechner gentoo org> AuthorDate: Fri Sep 14 19:13:40 2018 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Fri Sep 14 19:15:47 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79e0cfbb media-libs/gd: Drop ltprune, use https Package-Manager: Portage-2.3.49, Repoman-2.3.10 media-libs/gd/gd-2.2.5-r1.ebuild | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/media-libs/gd/gd-2.2.5-r1.ebuild b/media-libs/gd/gd-2.2.5-r1.ebuild index 79f1957b3f5..22a71924d8d 100644 --- a/media-libs/gd/gd-2.2.5-r1.ebuild +++ b/media-libs/gd/gd-2.2.5-r1.ebuild @@ -1,12 +1,12 @@ # Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI="6" +EAPI=6 -inherit libtool ltprune multilib-minimal +inherit libtool multilib-minimal -DESCRIPTION="A graphics library for fast image creation" -HOMEPAGE="http://libgd.org/ http://www.boutell.com/gd/"; +DESCRIPTION="Graphics library for fast image creation" +HOMEPAGE="https://libgd.org/ https://www.boutell.com/gd/"; SRC_URI="https://github.com/libgd/libgd/releases/download/${P}/lib${P}.tar.xz"; LICENSE="gd IJG HPND BSD" @@ -60,5 +60,5 @@ multilib_src_configure() { multilib_src_install_all() { dodoc README.md - prune_libtool_files + find "${D}" -name '*.la' -delete || die }
[gentoo-commits] repo/gentoo:master commit in: media-libs/gd/
commit: 4f2389dc621966592aee8428db06e55e110f1b68 Author: Mikle Kolyada gentoo org> AuthorDate: Fri Jun 22 10:05:22 2018 + Commit: Mikle Kolyada gentoo org> CommitDate: Fri Jun 22 10:15:11 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f2389dc media-libs/gd: mark s390 stable Package-Manager: Portage-2.3.40, Repoman-2.3.9 media-libs/gd/gd-2.2.5.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-libs/gd/gd-2.2.5.ebuild b/media-libs/gd/gd-2.2.5.ebuild index 33273e3ba80..d0b3c15fb3b 100644 --- a/media-libs/gd/gd-2.2.5.ebuild +++ b/media-libs/gd/gd-2.2.5.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/libgd/libgd/releases/download/${P}/lib${P}.tar.xz"; LICENSE="gd IJG HPND BSD" SLOT="2/3" -KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="fontconfig jpeg png static-libs tiff truetype webp xpm zlib" # fontconfig has prefixed font paths, details see bug #518970
[gentoo-commits] repo/gentoo:master commit in: media-libs/gd/
commit: 8fe95bd580bd3ff457a529b867321e310f6c773d Author: Mart Raudsepp gentoo org> AuthorDate: Tue May 29 11:09:21 2018 + Commit: Mart Raudsepp gentoo org> CommitDate: Tue May 29 11:58:22 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8fe95bd5 media-libs/gd: arm64 stable Package-Manager: Portage-2.3.28, Repoman-2.3.9 media-libs/gd/gd-2.2.5.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-libs/gd/gd-2.2.5.ebuild b/media-libs/gd/gd-2.2.5.ebuild index 545b781f404..33273e3ba80 100644 --- a/media-libs/gd/gd-2.2.5.ebuild +++ b/media-libs/gd/gd-2.2.5.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/libgd/libgd/releases/download/${P}/lib${P}.tar.xz"; LICENSE="gd IJG HPND BSD" SLOT="2/3" -KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="fontconfig jpeg png static-libs tiff truetype webp xpm zlib" # fontconfig has prefixed font paths, details see bug #518970
[gentoo-commits] repo/gentoo:master commit in: media-libs/gd/
commit: 9df83d31d0160508d26e7ec731b88835582ca92b Author: Aaron Bauman gentoo org> AuthorDate: Sun Apr 22 21:10:44 2018 + Commit: Aaron Bauman gentoo org> CommitDate: Sun Apr 22 21:11:06 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9df83d31 media-libs/gd: drop vulnerable Closes: https://bugs.gentoo.org/629886 Package-Manager: Portage-2.3.31, Repoman-2.3.9 media-libs/gd/Manifest| 1 - media-libs/gd/gd-2.2.4.ebuild | 62 --- 2 files changed, 63 deletions(-) diff --git a/media-libs/gd/Manifest b/media-libs/gd/Manifest index 88e81428c7a..9957e0f8f60 100644 --- a/media-libs/gd/Manifest +++ b/media-libs/gd/Manifest @@ -1,2 +1 @@ -DIST libgd-2.2.4.tar.xz 2478528 BLAKE2B bec49fd50465549d13a403e6f2d487ef83633842ff313a44f45ea9bf50c66e70186f314da5a943cc4199185b992f8178334bfb14fb039fe51cdb296e80648cdc SHA512 07903f322c4f6ab392508b0f60c38ca133699111ea92995dc6cd9379210d598bcb24a46c19657884d9e252f8663d0ee8c89c600e3a382a5ae598198c190f39b5 DIST libgd-2.2.5.tar.xz 2594092 BLAKE2B 222a7e012fbf9924ac391ee96c7cd3dec96afd78c6d43dfb680b33e7143e7df87fe6be75bbfe8fb93e916302d7daf08271214c84da28712e93a36465566cb2bd SHA512 e4598e17a277a75e02255402182cab139cb3f2cffcd68ec05cc10bbeaf6bc7aa39162c3445cd4a7efc1a26b72b9152bbedb187351e3ed099ea51767319997a6b diff --git a/media-libs/gd/gd-2.2.4.ebuild b/media-libs/gd/gd-2.2.4.ebuild deleted file mode 100644 index 64fb1ae3054..000 --- a/media-libs/gd/gd-2.2.4.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -inherit libtool multilib-minimal - -DESCRIPTION="A graphics library for fast image creation" -HOMEPAGE="http://libgd.org/ http://www.boutell.com/gd/"; -SRC_URI="https://github.com/libgd/libgd/releases/download/${P}/lib${P}.tar.xz"; - -LICENSE="gd IJG HPND BSD" -SLOT="2/3" -KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" -IUSE="fontconfig jpeg png static-libs tiff truetype webp xpm zlib" - -# fontconfig has prefixed font paths, details see bug #518970 -REQUIRED_USE="prefix? ( fontconfig )" - -RDEPEND="fontconfig? ( >=media-libs/fontconfig-2.10.92[${MULTILIB_USEDEP}] ) - jpeg? ( >=virtual/jpeg-0-r2:0=[${MULTILIB_USEDEP}] ) - png? ( >=media-libs/libpng-1.6.10:0=[${MULTILIB_USEDEP}] ) - tiff? ( media-libs/tiff:0[${MULTILIB_USEDEP}] ) - truetype? ( >=media-libs/freetype-2.5.0.1[${MULTILIB_USEDEP}] ) - webp? ( media-libs/libwebp:=[${MULTILIB_USEDEP}] ) - xpm? ( >=x11-libs/libXpm-3.5.10-r1[${MULTILIB_USEDEP}] >=x11-libs/libXt-1.1.4[${MULTILIB_USEDEP}] ) - zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )" -DEPEND="${RDEPEND} - >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]" - -S="${WORKDIR}/lib${P}" - -src_prepare() { - default - elibtoolize # for shared library on Solaris -} - -multilib_src_configure() { - # we aren't actually {en,dis}abling X here ... the configure - # script uses it just to add explicit -I/-L paths which we - # don't care about on Gentoo systems. - local myeconfargs=( - --disable-werror - --without-x - --without-liq - $(use_enable static-libs static) - $(use_with fontconfig) - $(use_with png) - $(use_with tiff) - $(use_with truetype freetype) - $(use_with jpeg) - $(use_with webp) - $(use_with xpm) - $(use_with zlib) - ) - ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" -} - -multilib_src_install_all() { - dodoc README.md - find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die -}
[gentoo-commits] repo/gentoo:master commit in: media-libs/gd/
commit: 58d42cee3bd9797ce4b64c088f206ac38c68b5b5 Author: Matt Turner gentoo org> AuthorDate: Sun Apr 22 19:24:33 2018 + Commit: Matt Turner gentoo org> CommitDate: Sun Apr 22 19:24:53 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58d42cee media-libs/gd-2.2.5: hppa stable, bug 629886 media-libs/gd/gd-2.2.5.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-libs/gd/gd-2.2.5.ebuild b/media-libs/gd/gd-2.2.5.ebuild index 998ab0713c3..545b781f404 100644 --- a/media-libs/gd/gd-2.2.5.ebuild +++ b/media-libs/gd/gd-2.2.5.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/libgd/libgd/releases/download/${P}/lib${P}.tar.xz"; LICENSE="gd IJG HPND BSD" SLOT="2/3" -KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="fontconfig jpeg png static-libs tiff truetype webp xpm zlib" # fontconfig has prefixed font paths, details see bug #518970
[gentoo-commits] repo/gentoo:master commit in: media-libs/gd/
commit: d965891b7b86fae7eae9bee9ba7c90791e2a2f60 Author: Rolf Eike Beer sf-mail de> AuthorDate: Fri Apr 20 10:13:45 2018 + Commit: Sergei Trofimovich gentoo org> CommitDate: Fri Apr 20 19:00:52 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d965891b media-libs/gd: stable 2.2.5 for sparc Bug: https://bugs.gentoo.org/629886 Package-Manager: Portage-2.3.24, Repoman-2.3.6 RepoMan-Options: --include-arches="sparc" media-libs/gd/gd-2.2.5.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-libs/gd/gd-2.2.5.ebuild b/media-libs/gd/gd-2.2.5.ebuild index 89c3ac20a85..998ab0713c3 100644 --- a/media-libs/gd/gd-2.2.5.ebuild +++ b/media-libs/gd/gd-2.2.5.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/libgd/libgd/releases/download/${P}/lib${P}.tar.xz"; LICENSE="gd IJG HPND BSD" SLOT="2/3" -KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="fontconfig jpeg png static-libs tiff truetype webp xpm zlib" # fontconfig has prefixed font paths, details see bug #518970
[gentoo-commits] repo/gentoo:master commit in: media-libs/gd/
commit: 804340efb82e923350aa180759ec1d5a102122e6 Author: Markus Meier gentoo org> AuthorDate: Sun Apr 8 10:48:49 2018 + Commit: Markus Meier gentoo org> CommitDate: Sun Apr 8 10:48:49 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=804340ef media-libs/gd: arm stable, bug #629886 Package-Manager: Portage-2.3.24, Repoman-2.3.6 RepoMan-Options: --include-arches="arm" media-libs/gd/gd-2.2.5.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-libs/gd/gd-2.2.5.ebuild b/media-libs/gd/gd-2.2.5.ebuild index 20c9eaa6a08..89c3ac20a85 100644 --- a/media-libs/gd/gd-2.2.5.ebuild +++ b/media-libs/gd/gd-2.2.5.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/libgd/libgd/releases/download/${P}/lib${P}.tar.xz"; LICENSE="gd IJG HPND BSD" SLOT="2/3" -KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="fontconfig jpeg png static-libs tiff truetype webp xpm zlib" # fontconfig has prefixed font paths, details see bug #518970
[gentoo-commits] repo/gentoo:master commit in: media-libs/gd/
commit: 7a13d1918281b4845c9d8bdeb9071a0cdae2202f Author: Tobias Klausmann gentoo org> AuthorDate: Sat Mar 31 14:17:09 2018 + Commit: Tobias Klausmann gentoo org> CommitDate: Sat Mar 31 14:17:20 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a13d191 media-libs/gd-2.2.5-r0: alpha stable Gentoo-Bug: http://bugs.gentoo.org/629886 media-libs/gd/gd-2.2.5.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-libs/gd/gd-2.2.5.ebuild b/media-libs/gd/gd-2.2.5.ebuild index 2d88f311453..20c9eaa6a08 100644 --- a/media-libs/gd/gd-2.2.5.ebuild +++ b/media-libs/gd/gd-2.2.5.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/libgd/libgd/releases/download/${P}/lib${P}.tar.xz"; LICENSE="gd IJG HPND BSD" SLOT="2/3" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="fontconfig jpeg png static-libs tiff truetype webp xpm zlib" # fontconfig has prefixed font paths, details see bug #518970
[gentoo-commits] repo/gentoo:master commit in: media-libs/gd/
commit: 7570e5631583371f97ecd087e7190028bf7f391f Author: Sergei Trofimovich gentoo org> AuthorDate: Sun Mar 25 12:45:08 2018 + Commit: Sergei Trofimovich gentoo org> CommitDate: Sun Mar 25 12:45:08 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7570e563 media-libs/gd: stable 2.2.5 for ppc/ppc64, bug #629886 Package-Manager: Portage-2.3.24, Repoman-2.3.6 RepoMan-Options: --include-arches="ppc ppc64" media-libs/gd/gd-2.2.5.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-libs/gd/gd-2.2.5.ebuild b/media-libs/gd/gd-2.2.5.ebuild index 3f6b91a2f62..7290fcb7551 100644 --- a/media-libs/gd/gd-2.2.5.ebuild +++ b/media-libs/gd/gd-2.2.5.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/libgd/libgd/releases/download/${P}/lib${P}.tar.xz"; LICENSE="gd IJG HPND BSD" SLOT="2/3" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="fontconfig jpeg png static-libs tiff truetype webp xpm zlib" # fontconfig has prefixed font paths, details see bug #518970
[gentoo-commits] repo/gentoo:master commit in: media-libs/gd/
commit: 4cd964d7a298a5e86a18e9e60cbbfe03ffba700c Author: Sergei Trofimovich gentoo org> AuthorDate: Sat Mar 24 21:37:25 2018 + Commit: Sergei Trofimovich gentoo org> CommitDate: Sat Mar 24 21:37:25 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4cd964d7 media-libs/gd: stable 2.2.5 for ia64, bug #629886 Package-Manager: Portage-2.3.24, Repoman-2.3.6 RepoMan-Options: --include-arches="ia64" media-libs/gd/gd-2.2.5.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-libs/gd/gd-2.2.5.ebuild b/media-libs/gd/gd-2.2.5.ebuild index e2e8a7de5a7..3f6b91a2f62 100644 --- a/media-libs/gd/gd-2.2.5.ebuild +++ b/media-libs/gd/gd-2.2.5.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/libgd/libgd/releases/download/${P}/lib${P}.tar.xz"; LICENSE="gd IJG HPND BSD" SLOT="2/3" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="fontconfig jpeg png static-libs tiff truetype webp xpm zlib" # fontconfig has prefixed font paths, details see bug #518970
[gentoo-commits] repo/gentoo:master commit in: media-libs/gd/
commit: 4ce902c9a6b9d8373368d186fe327e5acd764626 Author: Mikle Kolyada gentoo org> AuthorDate: Sat Mar 24 21:07:19 2018 + Commit: Mikle Kolyada gentoo org> CommitDate: Sat Mar 24 21:07:19 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ce902c9 media-libs/gd: amd64 stable wrt bug #629886 Package-Manager: Portage-2.3.24, Repoman-2.3.6 media-libs/gd/gd-2.2.5.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-libs/gd/gd-2.2.5.ebuild b/media-libs/gd/gd-2.2.5.ebuild index dd27316e7a2..e2e8a7de5a7 100644 --- a/media-libs/gd/gd-2.2.5.ebuild +++ b/media-libs/gd/gd-2.2.5.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/libgd/libgd/releases/download/${P}/lib${P}.tar.xz"; LICENSE="gd IJG HPND BSD" SLOT="2/3" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="fontconfig jpeg png static-libs tiff truetype webp xpm zlib" # fontconfig has prefixed font paths, details see bug #518970
[gentoo-commits] repo/gentoo:master commit in: media-libs/gd/
commit: 102baa282bb124e37febc17d24e9b84767272fc4 Author: Lars Wendler gentoo org> AuthorDate: Fri Sep 1 20:42:20 2017 + Commit: Lars Wendler gentoo org> CommitDate: Fri Sep 1 20:54:29 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=102baa28 media-libs/gd: Bump to version 2.2.5 Package-Manager: Portage-2.3.8, Repoman-2.3.3 media-libs/gd/Manifest| 1 + media-libs/gd/gd-2.2.5.ebuild | 62 +++ 2 files changed, 63 insertions(+) diff --git a/media-libs/gd/Manifest b/media-libs/gd/Manifest index cc46b94908b..4cc99d4511f 100644 --- a/media-libs/gd/Manifest +++ b/media-libs/gd/Manifest @@ -1 +1,2 @@ DIST libgd-2.2.4.tar.xz 2478528 SHA256 137f13a7eb93ce72e32ccd7cebdab6874f8cf7ddf31d3a455a68e016ecd9e4e6 SHA512 07903f322c4f6ab392508b0f60c38ca133699111ea92995dc6cd9379210d598bcb24a46c19657884d9e252f8663d0ee8c89c600e3a382a5ae598198c190f39b5 WHIRLPOOL eb00e684e8db02e649b3e6e2e76e7eff1e7aaa08995d78cef429b2b2053798aa1a44cd5b5eed5d3bc042394e72096d90ccc238ab3759e11fd543c80b697d0d91 +DIST libgd-2.2.5.tar.xz 2594092 SHA256 8c302ccbf467faec732f0741a859eef4ecae22fea2d2ab87467be940842bde51 SHA512 e4598e17a277a75e02255402182cab139cb3f2cffcd68ec05cc10bbeaf6bc7aa39162c3445cd4a7efc1a26b72b9152bbedb187351e3ed099ea51767319997a6b WHIRLPOOL 0ca5f05ebf03ec38caa028862379c3ad78da0a28b933a150b7635135807aa0a7d6bb85f4e9c206dd0ba0d3ce8ef64cc1ba1a3d929f0aad737a6b48d4453e33ef diff --git a/media-libs/gd/gd-2.2.5.ebuild b/media-libs/gd/gd-2.2.5.ebuild new file mode 100644 index 000..3db0e012734 --- /dev/null +++ b/media-libs/gd/gd-2.2.5.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit libtool ltprune multilib-minimal + +DESCRIPTION="A graphics library for fast image creation" +HOMEPAGE="http://libgd.org/ http://www.boutell.com/gd/"; +SRC_URI="https://github.com/libgd/libgd/releases/download/${P}/lib${P}.tar.xz"; + +LICENSE="gd IJG HPND BSD" +SLOT="2/3" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +IUSE="fontconfig jpeg png static-libs tiff truetype webp xpm zlib" + +# fontconfig has prefixed font paths, details see bug #518970 +REQUIRED_USE="prefix? ( fontconfig )" + +RDEPEND="fontconfig? ( >=media-libs/fontconfig-2.10.92[${MULTILIB_USEDEP}] ) + jpeg? ( >=virtual/jpeg-0-r2:0=[${MULTILIB_USEDEP}] ) + png? ( >=media-libs/libpng-1.6.10:0=[${MULTILIB_USEDEP}] ) + tiff? ( media-libs/tiff:0[${MULTILIB_USEDEP}] ) + truetype? ( >=media-libs/freetype-2.5.0.1[${MULTILIB_USEDEP}] ) + webp? ( media-libs/libwebp:=[${MULTILIB_USEDEP}] ) + xpm? ( >=x11-libs/libXpm-3.5.10-r1[${MULTILIB_USEDEP}] >=x11-libs/libXt-1.1.4[${MULTILIB_USEDEP}] ) + zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )" +DEPEND="${RDEPEND} + >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]" + +S="${WORKDIR}/lib${P}" + +src_prepare() { + default + elibtoolize # for shared library on Solaris +} + +multilib_src_configure() { + # we aren't actually {en,dis}abling X here ... the configure + # script uses it just to add explicit -I/-L paths which we + # don't care about on Gentoo systems. + local myeconfargs=( + --disable-werror + --without-x + --without-liq + $(use_enable static-libs static) + $(use_with fontconfig) + $(use_with png) + $(use_with tiff) + $(use_with truetype freetype) + $(use_with jpeg) + $(use_with webp) + $(use_with xpm) + $(use_with zlib) + ) + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" +} + +multilib_src_install_all() { + dodoc README.md + prune_libtool_files +}
[gentoo-commits] repo/gentoo:master commit in: media-libs/gd/
commit: c7df77dd6b7ff45292a57c4b461cd02a70daae8b Author: Lars Wendler gentoo org> AuthorDate: Mon Aug 7 06:54:24 2017 + Commit: Lars Wendler gentoo org> CommitDate: Mon Aug 7 06:55:39 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7df77dd media-libs/gd: Minor code beautification. Package-Manager: Portage-2.3.6, Repoman-2.3.3 media-libs/gd/gd-2.2.4.ebuild | 27 ++- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/media-libs/gd/gd-2.2.4.ebuild b/media-libs/gd/gd-2.2.4.ebuild index d1305fbd5ba..7cdcb905a45 100644 --- a/media-libs/gd/gd-2.2.4.ebuild +++ b/media-libs/gd/gd-2.2.4.ebuild @@ -39,20 +39,21 @@ multilib_src_configure() { # we aren't actually {en,dis}abling X here ... the configure # script uses it just to add explicit -I/-L paths which we # don't care about on Gentoo systems. - ECONF_SOURCE=${S} \ - econf \ - --disable-werror \ - --without-x \ - --without-liq \ - $(use_enable static-libs static) \ - $(use_with fontconfig) \ - $(use_with png) \ - $(use_with tiff) \ - $(use_with truetype freetype) \ - $(use_with jpeg) \ - $(use_with webp) \ - $(use_with xpm) \ + local myeconfargs=( + --disable-werror + --without-x + --without-liq + $(use_enable static-libs static) + $(use_with fontconfig) + $(use_with png) + $(use_with tiff) + $(use_with truetype freetype) + $(use_with jpeg) + $(use_with webp) + $(use_with xpm) $(use_with zlib) + ) + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" } multilib_src_install_all() {