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-gfx/graphicsmagick/
Date: Sun, 24 Sep 2023 06:41:06 +0000 (UTC)	[thread overview]
Message-ID: <1695537424.0acdb24e1d41279ad87fde7788f98f250f020a23.sam@gentoo> (raw)

commit:     0acdb24e1d41279ad87fde7788f98f250f020a23
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 24 06:37:04 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Sep 24 06:37:04 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0acdb24e

media-gfx/graphicsmagick: add 1.3.42

Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-gfx/graphicsmagick/Manifest                  |   2 +
 .../graphicsmagick/graphicsmagick-1.3.42.ebuild    | 162 +++++++++++++++++++++
 2 files changed, 164 insertions(+)

diff --git a/media-gfx/graphicsmagick/Manifest b/media-gfx/graphicsmagick/Manifest
index 99ddfe68d68d..8ec94017c96a 100644
--- a/media-gfx/graphicsmagick/Manifest
+++ b/media-gfx/graphicsmagick/Manifest
@@ -2,3 +2,5 @@ DIST GraphicsMagick-1.3.40.tar.xz 5507792 BLAKE2B 2052eb34931f07c902a9c68192ebe4
 DIST GraphicsMagick-1.3.40.tar.xz.asc 228 BLAKE2B 70eaaa0cd30cfe23ac6dc5e8edc026c57eea7b1a608e83da3408f6fa9fc2cceeb8190e4e9015f321ee688f2a32689d244d69bc61764a99ab0f99ada72143a575 SHA512 82c628e4a260a690c7b1941321881a97d54b4c9580dcbfd8ae786a1774dc43c46e8542488ca875346446858e7475847c440cfca572315a5fe123315b187a240a
 DIST GraphicsMagick-1.3.41.tar.xz 5533080 BLAKE2B 878c785b19feb3153cd2ea9cb105938ff7c4e577ce5e563cfdde501ca26b48f4c3ac6e875de240229938fa1b5776564607a35398dcc9adfd0fd801341d87ab63 SHA512 f2b850818f992349e8cb8f74ed8e897af4e1f4b9af9f3622c1ff30f3af5bc8530a60efbb24875fda80ff49e0db0304dfd6a39de87bd2e29b8ce42d653846890e
 DIST GraphicsMagick-1.3.41.tar.xz.asc 228 BLAKE2B 298c1445d7de5114e38e02f4b3c5c91569b70c126849526a822cc5a2fc2623b6bc83b74a4a58cf0e326741a96ace95b60108f9a07bf9c37a3d9ca722485eb8be SHA512 13bb0218a436ab083518f4a32d17b231a941abd960b32b13a05e4fca3d6b57112f2b496bf7fba0996c2c9855c15158f8223003fcbcf4335bd0ba1a1ae7ee8ba9
+DIST GraphicsMagick-1.3.42.tar.xz 5553692 BLAKE2B f8f0d7d420375262b7db8ffcc1c9eb4e372fb20a7c5e55f566d965183bb9a8d3a20a43c249a0b05235caaa0883c58885329d5c8d1967f464c0b757d40d6fc825 SHA512 b512c9c4c06ec60f7d31e140da08f2bc16d492a2dab82778f1b38c074a25340159e59bfbaa30b2997a6fbd10a500ae1bda527e3c3854e4462bcae837e818428a
+DIST GraphicsMagick-1.3.42.tar.xz.asc 228 BLAKE2B 723f8d1ca13bd5b32a12d69bb46f4991df6e7963f0d4c12ddaf60167a9ade4c6fa36819cce1df202437143bc55e17dd6f2cff821412dafceeb3ab5e3dbf3dc7b SHA512 de5d90c748376e7e480a066e9354ac1771f15cb2d8c6e5c9249672fd811b7bbe06f97b3348240538fa8d0d7c11150f57fb5148285214712944f7535afb943bd0

diff --git a/media-gfx/graphicsmagick/graphicsmagick-1.3.42.ebuild b/media-gfx/graphicsmagick/graphicsmagick-1.3.42.ebuild
new file mode 100644
index 000000000000..e829330a5e8f
--- /dev/null
+++ b/media-gfx/graphicsmagick/graphicsmagick-1.3.42.ebuild
@@ -0,0 +1,162 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools toolchain-funcs
+
+MY_P=${P/graphicsm/GraphicsM}
+DESCRIPTION="Collection of tools and libraries for many image formats"
+HOMEPAGE="http://www.graphicsmagick.org/ https://hg.osdn.net/view/graphicsmagick/GM"
+
+if [[ ${PV} == 9999 ]] ; then
+	EHG_REPO_URI="http://hg.code.sf.net/p/${PN}/code"
+	inherit mercurial
+else
+	VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/bobfriesenhahn.asc
+	inherit verify-sig
+
+	SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.xz"
+	SRC_URI+=" verify-sig? ( mirror://sourceforge/${PN}/${MY_P}.tar.xz.asc )"
+	S="${WORKDIR}/${MY_P}"
+
+	KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
+
+	BDEPEND="verify-sig? ( sec-keys/openpgp-keys-bobfriesenhahn )"
+fi
+
+LICENSE="MIT"
+SLOT="0/${PV%.*}"
+IUSE="bzip2 +cxx debug dynamic-loading fpx heif imagemagick jbig jpeg jpegxl lcms lzma"
+IUSE+=" openmp perl png postscript q16 q32 static-libs svg tcmalloc tiff truetype"
+IUSE+=" webp wmf X zlib zstd"
+
+RDEPEND="
+	dev-libs/libltdl
+	bzip2? ( app-arch/bzip2 )
+	fpx? ( media-libs/libfpx )
+	heif? ( media-libs/libheif:= )
+	imagemagick? ( !media-gfx/imagemagick )
+	jbig? ( media-libs/jbigkit )
+	jpeg? ( media-libs/libjpeg-turbo:= )
+	jpegxl? ( media-libs/libjxl:= )
+	lcms? ( media-libs/lcms:2 )
+	lzma? ( app-arch/xz-utils )
+	perl? ( dev-lang/perl:= )
+	png? ( media-libs/libpng:= )
+	postscript? ( app-text/ghostscript-gpl )
+	svg? ( dev-libs/libxml2 )
+	tcmalloc? ( dev-util/google-perftools:= )
+	tiff? ( media-libs/tiff:= )
+	truetype? (
+		media-fonts/urw-fonts
+		>=media-libs/freetype-2
+	)
+	webp? ( media-libs/libwebp:= )
+	wmf? ( media-libs/libwmf )
+	X? (
+		x11-libs/libSM
+		x11-libs/libX11
+		x11-libs/libXext
+	)
+	zlib? ( sys-libs/zlib )
+	zstd? ( app-arch/zstd:= )
+"
+DEPEND="${RDEPEND}"
+BDEPEND+=" virtual/pkgconfig"
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-1.3.41-flags.patch
+	"${FILESDIR}"/${PN}-1.3.41-perl.patch
+)
+
+pkg_pretend() {
+	[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+pkg_setup() {
+	[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+src_prepare() {
+	default
+
+	eautoreconf
+}
+
+src_configure() {
+	local depth=8
+
+	use q16 && depth=16
+	use q32 && depth=32
+
+	local myeconfargs=(
+		--enable-largefile
+		--enable-shared
+		$(use_enable static-libs static)
+		$(use_enable debug prof)
+		$(use_enable debug gcov)
+		$(use_enable imagemagick magick-compat)
+		$(use_enable openmp)
+		--with-threads
+		$(use_with dynamic-loading modules)
+		--with-quantum-depth=${depth}
+		--without-frozenpaths
+		$(use_with cxx magick-plus-plus)
+		$(use_with heif)
+		$(use_with jpegxl jxl)
+		$(use_with perl)
+		--with-perl-options=INSTALLDIRS=vendor
+		$(use_with bzip2 bzlib)
+		$(use_with postscript dps)
+		$(use_with fpx)
+		$(use_with jbig)
+		$(use_with webp)
+		$(use_with jpeg)
+		# Needs last-rited/unpackaged jasper
+		--without-jp2
+		$(use_with lcms lcms2)
+		$(use_with lzma)
+		$(use_with png)
+		$(use_with tcmalloc)
+		$(use_with tiff)
+		--without-trio
+		$(use_with truetype ttf)
+		$(use_with wmf)
+		--with-fontpath="${EPREFIX}"/usr/share/fonts
+		--with-gs-font-dir="${EPREFIX}"/usr/share/fonts/urw-fonts
+		--with-windows-font-dir="${EPREFIX}"/usr/share/fonts/corefonts
+		$(use_with svg xml)
+		$(use_with zlib)
+		$(use_with zstd)
+		$(use_with X x)
+	)
+
+	econf "${myeconfargs[@]}"
+}
+
+src_compile() {
+	default
+
+	use perl && emake perl-build
+}
+
+src_test() {
+	# Some perl tests fail when DISPLAY is set
+	unset DISPLAY
+
+	default
+}
+
+src_install() {
+	default
+
+	if use perl ; then
+		emake -C PerlMagick DESTDIR="${D}" install
+
+		find "${ED}" -type f -name perllocal.pod -exec rm -f {} + || die
+		find "${ED}" -depth -mindepth 1 -type d -empty -exec rm -rf {} + || die
+	fi
+
+	find "${ED}" -name '*.la' -exec sed -i -e "/^dependency_libs/s:=.*:='':" {} + || die
+}


             reply	other threads:[~2023-09-24  6:41 UTC|newest]

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

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=1695537424.0acdb24e1d41279ad87fde7788f98f250f020a23.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