From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1666902-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id D1543158083
	for <garchives@archives.gentoo.org>; Mon,  2 Sep 2024 09:21:42 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 8EDE92BC02C;
	Mon,  2 Sep 2024 09:21:41 +0000 (UTC)
Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 7B0B1E2A26
	for <gentoo-commits@lists.gentoo.org>; Mon,  2 Sep 2024 09:21:41 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 7728F3430F8
	for <gentoo-commits@lists.gentoo.org>; Mon,  2 Sep 2024 09:21:40 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id D6F391671
	for <gentoo-commits@lists.gentoo.org>; Mon,  2 Sep 2024 09:21:38 +0000 (UTC)
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" <sam@gentoo.org>
Message-ID: <1725268818.229e2808d2f112c981e5a5e56a9548bb8b8a9893.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/graphicsmagick/
X-VCS-Repository: repo/gentoo
X-VCS-Files: media-gfx/graphicsmagick/graphicsmagick-1.3.45-r1.ebuild media-gfx/graphicsmagick/graphicsmagick-1.3.45.ebuild media-gfx/graphicsmagick/graphicsmagick-9999.ebuild
X-VCS-Directories: media-gfx/graphicsmagick/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: 229e2808d2f112c981e5a5e56a9548bb8b8a9893
X-VCS-Branch: master
Date: Mon,  2 Sep 2024 09:21:38 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 0f621a6a-e545-407b-ad8c-81e7370e647a
X-Archives-Hash: a4849453940c783f0849b37e1d004f4d

commit:     229e2808d2f112c981e5a5e56a9548bb8b8a9893
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Sep  2 08:58:51 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Sep  2 09:20:18 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=229e2808

media-gfx/graphicsmagick: restore postscript support

We actually never had this wired up properly before, it just worked
automagically.

Fixes: 8182367d383e8e8175094e8634f8193fdde8ace0
Thanks-to: Holger Hoffstätte <holger <AT> applied-asynchrony.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../{graphicsmagick-1.3.45.ebuild => graphicsmagick-1.3.45-r1.ebuild} | 4 +++-
 media-gfx/graphicsmagick/graphicsmagick-9999.ebuild                   | 4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/media-gfx/graphicsmagick/graphicsmagick-1.3.45.ebuild b/media-gfx/graphicsmagick/graphicsmagick-1.3.45-r1.ebuild
similarity index 96%
rename from media-gfx/graphicsmagick/graphicsmagick-1.3.45.ebuild
rename to media-gfx/graphicsmagick/graphicsmagick-1.3.45-r1.ebuild
index ebd7600f3692..7540cb69f787 100644
--- a/media-gfx/graphicsmagick/graphicsmagick-1.3.45.ebuild
+++ b/media-gfx/graphicsmagick/graphicsmagick-1.3.45-r1.ebuild
@@ -28,7 +28,7 @@ fi
 LICENSE="MIT"
 SLOT="0/${PV%.*}"
 IUSE="bzip2 +cxx debug dynamic-loading fpx heif imagemagick jbig jpeg jpeg2k jpegxl lcms lzma"
-IUSE+=" openmp perl png q16 q32 static-libs tcmalloc tiff truetype"
+IUSE+=" openmp perl postscript png q16 q32 static-libs tcmalloc tiff truetype"
 IUSE+=" webp wmf X zip zlib zstd"
 
 RDEPEND="
@@ -44,6 +44,7 @@ RDEPEND="
 	lcms? ( media-libs/lcms:2 )
 	lzma? ( app-arch/xz-utils )
 	perl? ( dev-lang/perl:= )
+	postscript? ( app-text/ghostscript-gpl:= )
 	png? ( media-libs/libpng:= )
 	tcmalloc? ( dev-util/google-perftools:= )
 	tiff? ( media-libs/tiff:= )
@@ -103,6 +104,7 @@ src_configure() {
 		--with-quantum-depth=${depth}
 		--without-frozenpaths
 		$(use_with cxx magick-plus-plus)
+		$(use_with postscript gs)
 		$(use_with heif)
 		$(use_with jpegxl jxl)
 		$(use_with perl)

diff --git a/media-gfx/graphicsmagick/graphicsmagick-9999.ebuild b/media-gfx/graphicsmagick/graphicsmagick-9999.ebuild
index ebd7600f3692..7540cb69f787 100644
--- a/media-gfx/graphicsmagick/graphicsmagick-9999.ebuild
+++ b/media-gfx/graphicsmagick/graphicsmagick-9999.ebuild
@@ -28,7 +28,7 @@ fi
 LICENSE="MIT"
 SLOT="0/${PV%.*}"
 IUSE="bzip2 +cxx debug dynamic-loading fpx heif imagemagick jbig jpeg jpeg2k jpegxl lcms lzma"
-IUSE+=" openmp perl png q16 q32 static-libs tcmalloc tiff truetype"
+IUSE+=" openmp perl postscript png q16 q32 static-libs tcmalloc tiff truetype"
 IUSE+=" webp wmf X zip zlib zstd"
 
 RDEPEND="
@@ -44,6 +44,7 @@ RDEPEND="
 	lcms? ( media-libs/lcms:2 )
 	lzma? ( app-arch/xz-utils )
 	perl? ( dev-lang/perl:= )
+	postscript? ( app-text/ghostscript-gpl:= )
 	png? ( media-libs/libpng:= )
 	tcmalloc? ( dev-util/google-perftools:= )
 	tiff? ( media-libs/tiff:= )
@@ -103,6 +104,7 @@ src_configure() {
 		--with-quantum-depth=${depth}
 		--without-frozenpaths
 		$(use_with cxx magick-plus-plus)
+		$(use_with postscript gs)
 		$(use_with heif)
 		$(use_with jpegxl jxl)
 		$(use_with perl)