From aa4954f71a3ba2293395a8cce2321a70c39c7554 Mon Sep 17 00:00:00 2001
From: V3n3RiX <venerix@koprulu.sector>
Date: Fri, 24 May 2024 00:07:11 +0100
Subject: gentoo auto-resync : 24:05:2024 - 00:07:11

---
 media-gfx/Manifest.gz                       | Bin 38009 -> 38010 bytes
 media-gfx/fig2dev/Manifest                  |   3 +-
 media-gfx/fig2dev/fig2dev-3.2.9-r3.ebuild   |  95 ++++++++++++++++++++++++++++
 media-gfx/fig2dev/metadata.xml              |   3 +
 media-gfx/skanpage/Manifest                 |   4 +-
 media-gfx/skanpage/skanpage-24.04.90.ebuild |  49 --------------
 media-gfx/skanpage/skanpage-24.05.0.ebuild  |  49 ++++++++++++++
 7 files changed, 151 insertions(+), 52 deletions(-)
 create mode 100644 media-gfx/fig2dev/fig2dev-3.2.9-r3.ebuild
 delete mode 100644 media-gfx/skanpage/skanpage-24.04.90.ebuild
 create mode 100644 media-gfx/skanpage/skanpage-24.05.0.ebuild

(limited to 'media-gfx')

diff --git a/media-gfx/Manifest.gz b/media-gfx/Manifest.gz
index f7ff4dff6cec..6bc0400244bd 100644
Binary files a/media-gfx/Manifest.gz and b/media-gfx/Manifest.gz differ
diff --git a/media-gfx/fig2dev/Manifest b/media-gfx/fig2dev/Manifest
index eae3a13145be..bc5bf94b4e75 100644
--- a/media-gfx/fig2dev/Manifest
+++ b/media-gfx/fig2dev/Manifest
@@ -1,4 +1,5 @@
 DIST fig2dev-3.2.9.tar.xz 529892 BLAKE2B d6b4f84f89f85b282e2e02a3a4129ab8c9f67b3376b670fb553fc89347bf2552bfc3b3bfc4d4a4a35da7f9e5659f6f6fdf5a1fb4f82fb87d140dc09d079d9ffa SHA512 4a92539d79027c73cd9fa53d7e960db40ae5616d3197023a98346de4727cd70b28cd7d64ba33063dbe3dcacada7e97bb0e0c595547781a4244aea8c75d43f406
 DIST fig2mpdf-1.1.2.tar.bz2 191438 BLAKE2B 411791fecf6e10aac92c004c7da69a10c97a6e12f811452f12d0b51b3a1eeff8fff97d831a5e64c9047855d27e6825a4e65f62be2536651e5876edd00cc822a9 SHA512 36dea40008371386b47a4451e2f311cc2540ab063e3b61e628a535775d62a8840c5cc20c37b80465184bf041c6e583aaf3e5156079e72211d0a87ff3346d2980
 EBUILD fig2dev-3.2.9-r2.ebuild 2299 BLAKE2B e52d451f49bfa3ecb700caf594e6218bc65b1398aff300baef91d49dff581a7819836d9c5c60d3760b99c3b37d050c73e39960248bab685553d09e23be880d74 SHA512 4375637aeb94840774f820512624753845252ccc0dbf93d4ac6dbdde7d05c0b07e5fe286b212bc5612ecf12c80f4cc3a1b69e1f4b041808f81dedcb04d534bbf
-MISC metadata.xml 484 BLAKE2B 8f0c03a4eae95a088a590133f0a911b6ff795d23aba1fddcafeceb40433b5af14c530b288552e6e97d5fd981dd37fc8491a7e4cfe5b79cf872c2fb70015d7cb6 SHA512 4c8313b75726d3fe87f68b7810f9f69a0a9fa4deddd856d5e7276bb5b419400ca583a96d59f3333edba52c71bc53f4687dcfe4e72e37e85e80a9cc95c52a733e
+EBUILD fig2dev-3.2.9-r3.ebuild 2369 BLAKE2B 11d4d04ff7645bd2609de791749d87b6dee8316718aae32362b341bd0531a5991313d3fe71e82f0a6d452cacc5bc42660d3eac2918ba1941b67016fb21996c4f SHA512 98ee8d0882a9f8e16d412632665ef553261ea7730a3f5b55596d1dfc43e337e63a7042ffc0182c04dc4bb41391861673833e3ad6cb3775cafa5e5fe34200db93
+MISC metadata.xml 609 BLAKE2B f4f19f0cb2281cf5cddbdf11ac59b3c5c4881b04943e3a4c5d0ff0e5c7f66ffe7d066fc7cd9fb07f7db4f1ef727bcbe7d2033415681d619580a3bed3630474e5 SHA512 0bf3ae4eac46bd373650dfd16ba5b4abaf7f17352a1b59255352e2e9dba56cca03a3192ec99b2b0da6586d86349784de0df25628bf4b35f1e1b37bf38e0ccd6b
diff --git a/media-gfx/fig2dev/fig2dev-3.2.9-r3.ebuild b/media-gfx/fig2dev/fig2dev-3.2.9-r3.ebuild
new file mode 100644
index 000000000000..43202da3dfa8
--- /dev/null
+++ b/media-gfx/fig2dev/fig2dev-3.2.9-r3.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+#MY_P="${PN}.${PV}"
+
+DESCRIPTION="Set of tools for creating TeX documents with graphics"
+HOMEPAGE="https://www.xfig.org/"
+SRC_URI="https://downloads.sourceforge.net/mcj/${P}.tar.xz
+	mirror://gentoo/fig2mpdf-1.1.2.tar.bz2"
+#S="${WORKDIR}/${MY_P}"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
+IUSE="+ghostscript"
+
+RDEPEND="
+	media-libs/libpng
+	media-libs/libjpeg-turbo:=
+	x11-apps/rgb
+	x11-libs/libXpm
+	!media-gfx/transfig
+	ghostscript? ( app-text/ghostscript-gpl )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+	app-text/rman
+	sys-devel/gcc
+"
+
+DOCS=( README CHANGES NOTES )
+HTML_DOCS=( "${WORKDIR}/fig2mpdf/doc/." )
+
+sed_Imakefile() {
+	# see fig2dev/Imakefile for details
+	vars2subs="BINDIR=${EPREFIX}/usr/bin
+			MANDIR=${EPREFIX}/usr/share/man/man\$\(MANSUFFIX\)
+			XFIGLIBDIR=${EPREFIX}/usr/share/xfig
+			PNGINC=-I${EPREFIX}/usr/include/X11
+			XPMINC=-I${EPREFIX}/usr/include/X11
+			USEINLINE=-DUSE_INLINE
+			RGB=${EPREFIX}/usr/share/X11/rgb.txt
+			FIG2DEV_LIBDIR=${EPREFIX}/usr/share/fig2dev"
+
+	for variable in ${vars2subs} ; do
+		varname=${variable%%=*}
+		varval=${variable##*=}
+		sed -i "s:^\(XCOMM\)*[[:space:]]*${varname}[[:space:]]*=.*$:${varname} = ${varval}:" "$@" || die
+	done
+}
+
+src_configure() {
+	# export IMAKECPP=${IMAKECPP:-${CHOST}-gcc -E}
+	# CC="$(tc-getBUILD_CC)" LD="$(tc-getLD)" xmkmf || die
+	econf --enable-transfig
+}
+
+src_compile() {
+	# emake CC="$(tc-getBUILD_CC)" LD="$(tc-getLD)" Makefiles
+
+	local myemakeargs=(
+		CC="$(tc-getCC)"
+		AR="$(tc-getAR)"
+		RANLIB="$(tc-getRANLIB)"
+		CDEBUGFLAGS="${CFLAGS}"
+		LOCAL_LDFLAGS="${LDFLAGS}"
+		USRLIBDIR="${EPREFIX}/usr/$(get_libdir)"
+	)
+	emake "${myemakeargs[@]}"
+}
+
+src_install() {
+	local myemakeargs=(
+		DESTDIR="${D}"
+		INSTDATFLAGS="-m 644"
+		INSTMANFLAGS="-m 644"
+	)
+	emake "${myemakeargs[@]}" install
+
+	dobin "${WORKDIR}/fig2mpdf/fig2mpdf"
+	doman "${WORKDIR}/fig2mpdf/fig2mpdf.1"
+
+	einstalldocs
+
+	rm "${ED}/usr/share/doc/${PF}/html/"{Makefile,*.lfig,*.pdf,*.tex} || die
+}
+
+pkg_postinst() {
+	elog "Note, that defaults are changed and now if you don't want to ship"
+	elog "personal information into output files, use fig2dev with -a option."
+}
diff --git a/media-gfx/fig2dev/metadata.xml b/media-gfx/fig2dev/metadata.xml
index 78af0f20536c..33ea7d1b9d42 100644
--- a/media-gfx/fig2dev/metadata.xml
+++ b/media-gfx/fig2dev/metadata.xml
@@ -9,6 +9,9 @@
 		<email>proxy-maint@gentoo.org</email>
 		<name>Proxy Maintainers</name>
 	</maintainer>
+	<use>
+		<flag name="ghostscript">Require <pkg>app-text/ghostscript-gpl</pkg> to export PDF an bitmap formats</flag>
+	</use>
 	<upstream>
 		<remote-id type="sourceforge">mcj</remote-id>
 	</upstream>
diff --git a/media-gfx/skanpage/Manifest b/media-gfx/skanpage/Manifest
index 968522ce401b..eb4771fb6702 100644
--- a/media-gfx/skanpage/Manifest
+++ b/media-gfx/skanpage/Manifest
@@ -1,5 +1,5 @@
 DIST skanpage-23.08.5.tar.xz 1317292 BLAKE2B 2ee8e7db4e08c9f6ecac93789b20fcb862f56da8d44d5540268dd71f5e1e79c93c7d67455c534f2b0a50f4f2f99bcfdc1989dfd6ecafb7bd3c5a7bc15ab8880d SHA512 d5ddd8a52ad42421d79a6817eb3430996a9d968b2f824ca3c5adaf9bef69c60f6270b72a9d87308834b79f3038b6347b242c8fa635fd8c28953533061e21d158
-DIST skanpage-24.04.90.tar.xz 1331856 BLAKE2B 9774ea6d2688a287247917a5a46e2644d18f44a7cb0b2c9507620a671cf30c7ec15bb6693cd09b02b25ed3dbfc09915760eb3876e0e34413f686c395fdbfa580 SHA512 89f1c28a9a0fba138635d9487237bfcc051c2cbf3ebfdcbd42b3ca8aea65cee03c469badf476ab89b2e5a3fa0ccdbed577ad028f1f23ec66cf591fd5cddaae0e
+DIST skanpage-24.05.0.tar.xz 1331888 BLAKE2B e5c3bee49e2d2745db76bace3f4bc13a1855320250357078e7a05e77d6c19d00d62c6f91002578763b88500ff83fa37d94b1f1d78f1bfd7a635ba74b22bdb692 SHA512 9332e4a6e743aacc864524ebb48dec788da0a759d9d5578b4ec3eb0fbeacace4b4415833f5caa8d31ead3d86354466fc497f50baebd917721942c285c1a4cacc
 EBUILD skanpage-23.08.5.ebuild 1383 BLAKE2B 2b2d5cf4582e9d1e4897b1aeb8c8c3b4fa91b753293eb8886c881bb150186a83df2946e8e278f102baf03005b7ae3c8edf9dd8cd7363545fbad33d3f80e04abc SHA512 c0fab6531ac492693bead97c2b231b2379490bb4de55bb05d4df4650599d15a9602521fe03f0afc1dd64b72ac2bdd362a492838bfb690e6adc57fe2a9321701b
-EBUILD skanpage-24.04.90.ebuild 1233 BLAKE2B 5cfe97b4474dc4399a2aba88361ff7c506278473753607804446db67646f3543ffdeee7f035303eaf7ac65c0aa5b4c2af67472c286c3057f1be51dee62d86eea SHA512 868902d4fa8a5294e0ac005c60905f6e9a4545e1cc8799f2e002b8187810e6a5e1c4c148222fa4afb81dd25120f640479373437233cc2eb138b527f948ac12ed
+EBUILD skanpage-24.05.0.ebuild 1233 BLAKE2B 5cfe97b4474dc4399a2aba88361ff7c506278473753607804446db67646f3543ffdeee7f035303eaf7ac65c0aa5b4c2af67472c286c3057f1be51dee62d86eea SHA512 868902d4fa8a5294e0ac005c60905f6e9a4545e1cc8799f2e002b8187810e6a5e1c4c148222fa4afb81dd25120f640479373437233cc2eb138b527f948ac12ed
 MISC metadata.xml 374 BLAKE2B 3666d82bcae95e5b38d777c81491cc25488aff6b55e112f6eebbaf80ef603d40e8287fe33d649e647c2f97b9caca237f2b9785ee49ff9c2f5c81576a2cf33379 SHA512 fcc360165d6fa100c9d92c2528f4f2ba291a0bf6b05a7b252b5bb215514144e9b699915f98d7aecda6869bf50bfbb51b42b3186679e5db2c3901cb4d6151e6e8
diff --git a/media-gfx/skanpage/skanpage-24.04.90.ebuild b/media-gfx/skanpage/skanpage-24.04.90.ebuild
deleted file mode 100644
index 3a2f60a0cff1..000000000000
--- a/media-gfx/skanpage/skanpage-24.04.90.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-KDE_ORG_CATEGORY="utilities"
-PVCUT=$(ver_cut 1-3)
-KFMIN=6.0.0
-QTMIN=6.6.2
-inherit ecm gear.kde.org
-
-DESCRIPTION="Multi-page scanning application supporting image and pdf files"
-HOMEPAGE="https://apps.kde.org/skanpage/"
-
-LICENSE="|| ( GPL-2 GPL-3 ) CC0-1.0"
-SLOT="6"
-KEYWORDS="~amd64"
-IUSE="ocr"
-
-DEPEND="
-	>=dev-qt/qtbase-${QTMIN}:6[concurrent,gui,network,widgets]
-	>=dev-qt/qtdeclarative-${QTMIN}:6
-	>=dev-qt/qtwebengine-${QTMIN}:6[pdfium]
-	>=kde-frameworks/kconfig-${KFMIN}:6
-	>=kde-frameworks/kcoreaddons-${KFMIN}:6
-	>=kde-frameworks/kcrash-${KFMIN}:6
-	>=kde-frameworks/ki18n-${KFMIN}:6
-	>=kde-frameworks/kio-${KFMIN}:6
-	>=kde-frameworks/kirigami-${KFMIN}:6
-	>=kde-frameworks/kjobwidgets-${KFMIN}:6
-	>=kde-frameworks/kwidgetsaddons-${KFMIN}:6
-	>=kde-frameworks/kxmlgui-${KFMIN}:6
-	>=kde-frameworks/purpose-${KFMIN}:6
-	media-libs/kquickimageeditor:6
-	>=media-libs/ksanecore-${PVCUT}:6
-	ocr? (
-		>=app-text/tesseract-5:=
-		media-libs/leptonica:=
-	)
-"
-RDEPEND="${DEPEND}"
-
-src_configure() {
-	local mycmakeargs=(
-		$(cmake_use_find_package ocr Tesseract)
-		$(cmake_use_find_package ocr Leptonica)
-	)
-	ecm_src_configure
-}
diff --git a/media-gfx/skanpage/skanpage-24.05.0.ebuild b/media-gfx/skanpage/skanpage-24.05.0.ebuild
new file mode 100644
index 000000000000..3a2f60a0cff1
--- /dev/null
+++ b/media-gfx/skanpage/skanpage-24.05.0.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+KDE_ORG_CATEGORY="utilities"
+PVCUT=$(ver_cut 1-3)
+KFMIN=6.0.0
+QTMIN=6.6.2
+inherit ecm gear.kde.org
+
+DESCRIPTION="Multi-page scanning application supporting image and pdf files"
+HOMEPAGE="https://apps.kde.org/skanpage/"
+
+LICENSE="|| ( GPL-2 GPL-3 ) CC0-1.0"
+SLOT="6"
+KEYWORDS="~amd64"
+IUSE="ocr"
+
+DEPEND="
+	>=dev-qt/qtbase-${QTMIN}:6[concurrent,gui,network,widgets]
+	>=dev-qt/qtdeclarative-${QTMIN}:6
+	>=dev-qt/qtwebengine-${QTMIN}:6[pdfium]
+	>=kde-frameworks/kconfig-${KFMIN}:6
+	>=kde-frameworks/kcoreaddons-${KFMIN}:6
+	>=kde-frameworks/kcrash-${KFMIN}:6
+	>=kde-frameworks/ki18n-${KFMIN}:6
+	>=kde-frameworks/kio-${KFMIN}:6
+	>=kde-frameworks/kirigami-${KFMIN}:6
+	>=kde-frameworks/kjobwidgets-${KFMIN}:6
+	>=kde-frameworks/kwidgetsaddons-${KFMIN}:6
+	>=kde-frameworks/kxmlgui-${KFMIN}:6
+	>=kde-frameworks/purpose-${KFMIN}:6
+	media-libs/kquickimageeditor:6
+	>=media-libs/ksanecore-${PVCUT}:6
+	ocr? (
+		>=app-text/tesseract-5:=
+		media-libs/leptonica:=
+	)
+"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+	local mycmakeargs=(
+		$(cmake_use_find_package ocr Tesseract)
+		$(cmake_use_find_package ocr Leptonica)
+	)
+	ecm_src_configure
+}
-- 
cgit v1.2.3