From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 7C037158015 for ; Mon, 18 Dec 2023 03:54:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5D38B2BC027; Mon, 18 Dec 2023 03:54:13 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 1ABC52BC024 for ; Mon, 18 Dec 2023 03:54:13 +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 DC17733BE12 for ; Mon, 18 Dec 2023 03:54:11 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2459112F5 for ; Mon, 18 Dec 2023 03:54:10 +0000 (UTC) From: "Sam James" 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" Message-ID: <1702871600.1b9e392f8518a09cdf02dd819583f7312e6e5432.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-print/libppd/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-print/libppd/Manifest net-print/libppd/libppd-2.0.0.ebuild net-print/libppd/metadata.xml X-VCS-Directories: net-print/libppd/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 1b9e392f8518a09cdf02dd819583f7312e6e5432 X-VCS-Branch: master Date: Mon, 18 Dec 2023 03:54:10 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 27d18d73-1394-4e95-800a-84b30c624f73 X-Archives-Hash: 48ee73c90cea80f352117e0a8226fc1b commit: 1b9e392f8518a09cdf02dd819583f7312e6e5432 Author: Eli Schwartz gmail com> AuthorDate: Thu Nov 9 20:59:36 2023 +0000 Commit: Sam James gentoo org> CommitDate: Mon Dec 18 03:53:20 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b9e392f net-print/libppd: new package, add 2.0.0 Part of the CUPS v3 evolution. Now, cups-filters has been split out into multiple sub-packages. This is the legacy PPD filters core library. Bug: https://bugs.gentoo.org/914586 Signed-off-by: Eli Schwartz gmail.com> Signed-off-by: Sam James gentoo.org> net-print/libppd/Manifest | 1 + net-print/libppd/libppd-2.0.0.ebuild | 52 ++++++++++++++++++++++++++++++++++++ net-print/libppd/metadata.xml | 14 ++++++++++ 3 files changed, 67 insertions(+) diff --git a/net-print/libppd/Manifest b/net-print/libppd/Manifest new file mode 100644 index 000000000000..bc6ba554c08c --- /dev/null +++ b/net-print/libppd/Manifest @@ -0,0 +1 @@ +DIST libppd-2.0.0.tar.xz 580716 BLAKE2B 8505c5ab5b515104308624a8f78505343b894df08ab8ac2727d7bd82d0d65d256d22ecaf384b212d9a5c45d2a619a6311722a8c5ed954b7a8a9780477aedb458 SHA512 8be9e67552528606fd804ba13b05710938ed7d02316c1c902ee657bc0e5fade663ffacb5b032609a1c1fdc80d976e7e54d2ca2f71db83cb8fdcee6a371e6bad4 diff --git a/net-print/libppd/libppd-2.0.0.ebuild b/net-print/libppd/libppd-2.0.0.ebuild new file mode 100644 index 000000000000..174c775a213f --- /dev/null +++ b/net-print/libppd/libppd-2.0.0.ebuild @@ -0,0 +1,52 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Legacy library for PPD files, split out of cups-filters" +HOMEPAGE="https://github.com/OpenPrinting/libppd" +SRC_URI="https://github.com/OpenPrinting/libppd/releases/download/${PV}/${P}.tar.xz" + +LICENSE="Apache-2.0" +SLOT="0" +IUSE="+postscript +poppler" +KEYWORDS="~amd64" + +# pdftops has various possible implementations, but the default +# really needs to be decent +REQUIRED_USE="|| ( postscript poppler )" + +RDEPEND=" + >=net-print/cups-2 + net-print/libcupsfilters + !=app-text/ghostscript-gpl-9.09[cups] ) + poppler? ( >=app-text/poppler-0.32[utils] ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + >=sys-devel/gettext-0.18.3 + virtual/pkgconfig +" + +src_configure() { + local myeconfargs=( + --localstatedir="${EPREFIX}"/var + --with-cups-rundir="${EPREFIX}"/run/cups + # This does build time checks for (preferred) tool interfaces. + $(use_enable postscript ghostscript) + $(use_enable poppler pdftops) + # These fallbacks are just probed for the path. Always enable them. + --with-mutool-path="${EPREFIX}"/usr/bin/mutool + --with-pdftocairo-path="${EPREFIX}"/usr/bin/pdftocairo # from poppler + # unpackaged + --disable-acroread + ) + + econf "${myeconfargs[@]}" +} + +src_install() { + default + find "${ED}" -name '*.la' -delete || die +} diff --git a/net-print/libppd/metadata.xml b/net-print/libppd/metadata.xml new file mode 100644 index 000000000000..67a6452ca268 --- /dev/null +++ b/net-print/libppd/metadata.xml @@ -0,0 +1,14 @@ + + + + + printing@gentoo.org + Gentoo Printing Project + + + Use the app-text/poppler pdftops filter + + + OpenPrinting/libppd + +