public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/gd/
Date: Sat,  6 Mar 2021 23:05:44 +0000 (UTC)	[thread overview]
Message-ID: <1615071617.f5e73a7b28c475b0be8315435e154b392272bb77.sam@gentoo> (raw)

commit:     f5e73a7b28c475b0be8315435e154b392272bb77
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Mar  6 22:51:46 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Mar  6 23:00:17 2021 +0000
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 <sam <AT> 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 00000000000..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
index f341db0625d..2f850ae2364 100644
--- a/media-libs/gd/metadata.xml
+++ b/media-libs/gd/metadata.xml
@@ -28,6 +28,7 @@ and so forth.
 		<bugs-to>https://github.com/libgd/libgd/issues</bugs-to>
 	</upstream>
 	<use>
+		<flag name="heif">Enable support for the heif format via <pkg>media-libs/libheif</pkg></flag>
 		<flag name="webp">Enable support for the webp format</flag>
 	</use>
 </pkgmetadata>


             reply	other threads:[~2021-03-06 23:05 UTC|newest]

Thread overview: 139+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-06 23:05 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-12-01 13:44 [gentoo-commits] repo/gentoo:master commit in: media-libs/gd/ Arthur Zamarin
2023-10-27 15:20 Michał Górny
2023-09-28  5:12 Sam James
2023-09-28  4:21 Sam James
2023-09-27  4:58 Sam James
2023-09-27  4:50 Sam James
2023-09-27  4:49 Sam James
2023-09-27  4:49 Sam James
2022-07-29 13:21 Arthur Zamarin
2022-07-16  8:59 Agostino Sarubbo
2022-07-16  8:56 Agostino Sarubbo
2022-07-16  7:17 Arthur Zamarin
2022-07-16  7:17 Arthur Zamarin
2022-07-15 18:51 Arthur Zamarin
2022-07-15 18:46 Arthur Zamarin
2022-07-15 18:46 Arthur Zamarin
2022-05-14 10:30 WANG Xuerui
2021-11-07 23:08 Sam James
2021-09-12 23:57 Sam James
2021-09-12 21:29 Sam James
2021-09-07  3:05 Sam James
2021-09-07  3:03 Sam James
2021-05-23 23:07 Thomas Deutschmann
2021-05-16 20:00 Sam James
2021-04-25  9:32 Sam James
2021-04-25  9:18 Sergei Trofimovich
2021-04-23 13:33 Sam James
2021-04-23 13:33 Sam James
2021-03-11 17:26 Sam James
2021-03-11 17:26 Sam James
2021-03-03 23:03 Sam James
2021-03-03 18:59 Sam James
2021-03-02 19:08 Sergei Trofimovich
2021-03-02  3:15 Sam James
2021-03-02  1:40 Sam James
2021-03-01 23:45 Sam James
2021-03-01 23:44 Sam James
2021-03-01 23:44 Sam James
2021-03-01 23:42 Sam James
2021-01-30 21:22 Sam James
2021-01-26 17:21 Sam James
2021-01-26 15:44 Sam James
2021-01-26 15:42 Sam James
2020-12-27 17:47 Fabian Groffen
2020-06-25 11:28 Joonas Niilola
2020-05-16 19:47 Sergei Trofimovich
2020-05-14  8:03 Agostino Sarubbo
2020-05-13 21:07 Mart Raudsepp
2020-05-13 17:14 Agostino Sarubbo
2020-05-13 17:12 Agostino Sarubbo
2020-05-13 17:11 Agostino Sarubbo
2020-05-13 14:52 Agostino Sarubbo
2020-05-13 13:18 Agostino Sarubbo
2020-05-13 11:30 Agostino Sarubbo
2019-08-02  0:47 Aaron Bauman
2019-06-05  7:12 Agostino Sarubbo
2019-04-28 13:03 Sergei Trofimovich
2019-04-06 13:39 Mikle Kolyada
2019-04-02 19:20 Sergei Trofimovich
2019-03-16 14:13 Mikle Kolyada
2019-03-15 23:24 Mikle Kolyada
2019-03-14 21:14 Agostino Sarubbo
2019-03-11 16:16 Mart Raudsepp
2019-03-09 20:15 Thomas Deutschmann
2019-03-09 19:18 Thomas Deutschmann
2019-03-09 18:18 Thomas Deutschmann
2019-03-08 19:52 Sergei Trofimovich
2019-03-04 12:33 Lars Wendler
2019-01-18 13:22 Mikle Kolyada
2019-01-18 13:22 Mikle Kolyada
2018-12-30 19:40 Matt Turner
2018-10-14 22:33 Sergei Trofimovich
2018-10-11 12:45 Tobias Klausmann
2018-10-06 16:48 Matt Turner
2018-09-30 22:30 Mart Raudsepp
2018-09-24 18:17 Markus Meier
2018-09-19 19:51 Sergei Trofimovich
2018-09-19 17:35 Thomas Deutschmann
2018-09-19  7:44 Mikle Kolyada
2018-09-14 19:16 Andreas Sturmlechner
2018-06-22 10:15 Mikle Kolyada
2018-05-29 11:58 Mart Raudsepp
2018-04-22 21:11 Aaron Bauman
2018-04-22 19:25 Matt Turner
2018-04-20 19:01 Sergei Trofimovich
2018-04-08 10:55 Markus Meier
2018-03-31 14:17 Tobias Klausmann
2018-03-25 12:45 Sergei Trofimovich
2018-03-24 21:37 Sergei Trofimovich
2018-03-24 21:07 Mikle Kolyada
2017-09-01 20:54 Lars Wendler
2017-08-07  6:55 Lars Wendler
2017-08-07  6:55 Lars Wendler
2017-03-13 12:55 Lars Wendler
2017-02-21 11:54 Tobias Klausmann
2017-02-18 14:44 Agostino Sarubbo
2017-02-17 10:56 Agostino Sarubbo
2017-02-12 20:11 Markus Meier
2017-02-12 17:01 Agostino Sarubbo
2017-02-12 15:44 Agostino Sarubbo
2017-02-04 15:21 Agostino Sarubbo
2017-02-01 22:34 Jeroen Roovers
2017-02-01 22:29 Jeroen Roovers
2017-01-30 22:04 Lars Wendler
2016-09-29 13:28 Agostino Sarubbo
2016-09-29  9:35 Agostino Sarubbo
2016-09-29  8:40 Agostino Sarubbo
2016-09-24 19:17 Markus Meier
2016-09-10 12:48 Agostino Sarubbo
2016-09-03  9:23 Jeroen Roovers
2016-09-02 19:15 Tobias Klausmann
2016-07-22  6:05 Mike Frysinger
2016-07-22  6:05 Mike Frysinger
2016-07-08 12:02 Agostino Sarubbo
2016-07-08  7:53 Agostino Sarubbo
2016-07-05 20:46 Markus Meier
2016-07-02  9:05 Jeroen Roovers
2016-07-01  8:30 Agostino Sarubbo
2016-07-01  8:29 Agostino Sarubbo
2016-06-30  8:04 Tobias Klausmann
2016-06-24  8:02 Mike Frysinger
2016-05-20 14:48 Mike Frysinger
2016-05-20  8:36 Lars Wendler
2016-05-20  2:57 Mike Frysinger
2016-03-12 12:32 Markus Meier
2016-02-06  7:03 Jeroen Roovers
2016-02-02 15:48 Tobias Klausmann
2016-01-20 20:32 Mike Frysinger
2016-01-20 20:32 Mike Frysinger
2016-01-11  9:07 Agostino Sarubbo
2016-01-10 10:34 Agostino Sarubbo
2016-01-07 20:20 Markus Meier
2015-12-27  9:59 Mikle Kolyada
2015-12-26 10:36 Agostino Sarubbo
2015-12-17  9:10 Jeroen Roovers
2015-12-16  8:46 Agostino Sarubbo
2015-12-16  8:45 Agostino Sarubbo
2015-12-03 22:40 Michał Górny

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1615071617.f5e73a7b28c475b0be8315435e154b392272bb77.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox