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: Sat, 14 Jan 2023 23:22:27 +0000 (UTC)	[thread overview]
Message-ID: <1673738107.347517dffa9f98c921535211bbe57aaa96c7d7d3.sam@gentoo> (raw)

commit:     347517dffa9f98c921535211bbe57aaa96c7d7d3
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 14 23:13:57 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jan 14 23:15:07 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=347517df

media-gfx/graphicsmagick: add 1.3.40

Bug: https://bugs.gentoo.org/890851
Signed-off-by: Sam James <sam <AT> gentoo.org>

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

diff --git a/media-gfx/graphicsmagick/Manifest b/media-gfx/graphicsmagick/Manifest
index b263f37b53e4..5f73be7e7b81 100644
--- a/media-gfx/graphicsmagick/Manifest
+++ b/media-gfx/graphicsmagick/Manifest
@@ -2,3 +2,5 @@ DIST GraphicsMagick-1.3.38.tar.xz 5958352 BLAKE2B 132c8b2303690dbe84b0e9ab33db0c
 DIST GraphicsMagick-1.3.38.tar.xz.sig 119 BLAKE2B 166b7bb6de30af22d1f2317812f76dee43dd69c5557613deea35de3767624466c07001fe029ec9d33d0c61ed2fe5ca3f48bf435853374c722963a1293bfaa7a1 SHA512 c6dfee7e4b63b646460f9045ca5c8f3105d1a761ec3cd3471b53293178ed9a963884539c8026d934ce1915654d517a9b30232d7260a13f6d7dbeb5a592485b09
 DIST GraphicsMagick-1.3.39.tar.xz 5509028 BLAKE2B 774717df5c10664d7f60305bbc0b780bd896c27cf5999fae3835a3b3275068bde626a8efb073f7eb9151671e0c170579b5fa7a36b9773e1a0d96c5cd7d0b73c8 SHA512 4820587a8fbc18864134a243eca68359389d92f2b716c657088e06b6fcf76831d9b3b4644478195ee6c5fb3a4ebdce06c79997f5a5778a28c63f5c8a319419a4
 DIST GraphicsMagick-1.3.39.tar.xz.asc 228 BLAKE2B ea9f9d607a4699e148beab6f43f04897c808db5a19c9b0d62d65218127506549931d9cae002ebed2abc8022fb9707612a298139fd051da6c5a6f2f9d5ac3d2a0 SHA512 f9d83d39e1bda804c1c128f18c9a6539906b21abacfb64501fb65c67a56b46b8591ba32a890ecf49917791ebdf394307136229b5820e16909159f5c42270f7ba
+DIST GraphicsMagick-1.3.40.tar.xz 5507792 BLAKE2B 2052eb34931f07c902a9c68192ebe4d36137cd23219b1598bae2fa78c5c8bfd1efadf9fd430ed4fee8dc903e50ffabe5a9c76bf55966b85b6f303b2decdca6ee SHA512 e64902aa2a8702d03d188350bd4252a2263e431611f9a70f38cd8beede8a38cc91bb4de3603fedf15420ebbba488f609f218e9b45e356b9f8dc8e4a75f380ee5
+DIST GraphicsMagick-1.3.40.tar.xz.asc 228 BLAKE2B 70eaaa0cd30cfe23ac6dc5e8edc026c57eea7b1a608e83da3408f6fa9fc2cceeb8190e4e9015f321ee688f2a32689d244d69bc61764a99ab0f99ada72143a575 SHA512 82c628e4a260a690c7b1941321881a97d54b4c9580dcbfd8ae786a1774dc43c46e8542488ca875346446858e7475847c440cfca572315a5fe123315b187a240a

diff --git a/media-gfx/graphicsmagick/graphicsmagick-1.3.40.ebuild b/media-gfx/graphicsmagick/graphicsmagick-1.3.40.ebuild
new file mode 100644
index 000000000000..4e497a4945c2
--- /dev/null
+++ b/media-gfx/graphicsmagick/graphicsmagick-1.3.40.ebuild
@@ -0,0 +1,160 @@
+# 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
+	inherit mercurial
+	EHG_REPO_URI="http://hg.code.sf.net/p/${PN}/code"
+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}"
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-1.3.36-flags.patch
+	"${FILESDIR}"/${PN}-1.3.19-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() {
+	unset DISPLAY # some perl tests fail when DISPLAY is set
+
+	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-01-14 23:22 UTC|newest]

Thread overview: 191+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-14 23:22 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-13 20:39 [gentoo-commits] repo/gentoo:master commit in: media-gfx/graphicsmagick/ Sam James
2024-10-13 20:39 Sam James
2024-10-10 11:04 Arthur Zamarin
2024-10-08 21:50 Jakov Smolić
2024-10-05 14:17 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-09-24  6:41 Sam James
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-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=1673738107.347517dffa9f98c921535211bbe57aaa96c7d7d3.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