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 (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0CEEE158042 for ; Fri, 18 Oct 2024 12:39:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1B087E092E; Fri, 18 Oct 2024 12:39:25 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 046D1E092E for ; Fri, 18 Oct 2024 12:39:25 +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 DF7F5341E1C for ; Fri, 18 Oct 2024 12:39:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4A0A81315 for ; Fri, 18 Oct 2024 12:39:22 +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: <1729255092.9629abcaefcca7b783c2afcd5a3f530779e34256.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.1.0.ebuild X-VCS-Directories: net-print/libppd/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 9629abcaefcca7b783c2afcd5a3f530779e34256 X-VCS-Branch: master Date: Fri, 18 Oct 2024 12:39:22 +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: f06babab-2079-4522-bdad-522901924e0e X-Archives-Hash: 86f6d38b79d16a3cc8263c5747d376e3 commit: 9629abcaefcca7b783c2afcd5a3f530779e34256 Author: Sam James gentoo org> AuthorDate: Fri Oct 18 12:38:12 2024 +0000 Commit: Sam James gentoo org> CommitDate: Fri Oct 18 12:38:12 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9629abca net-print/libppd: add 2.1.0 Tagging the bug for completeness but we'd already backported the CVE fixes. Bug: https://bugs.gentoo.org/940314 Signed-off-by: Sam James gentoo.org> net-print/libppd/Manifest | 1 + net-print/libppd/libppd-2.1.0.ebuild | 61 ++++++++++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+) diff --git a/net-print/libppd/Manifest b/net-print/libppd/Manifest index 164c5dbf1ac4..320b7f82e169 100644 --- a/net-print/libppd/Manifest +++ b/net-print/libppd/Manifest @@ -1,2 +1,3 @@ DIST libppd-2.0.0.tar.xz 580716 BLAKE2B 8505c5ab5b515104308624a8f78505343b894df08ab8ac2727d7bd82d0d65d256d22ecaf384b212d9a5c45d2a619a6311722a8c5ed954b7a8a9780477aedb458 SHA512 8be9e67552528606fd804ba13b05710938ed7d02316c1c902ee657bc0e5fade663ffacb5b032609a1c1fdc80d976e7e54d2ca2f71db83cb8fdcee6a371e6bad4 +DIST libppd-2.1.0.tar.xz 585288 BLAKE2B 87d325a659b98e2f489673fd2eb78daec83eafee990008380d852be17fbd990e4daa4a16bd5dc1e3a562040595b858c90d0747d815db0fb97fdccf97a3d4aa49 SHA512 06daf9149910298b2acd103c58f8bd345180219e42fab7dbc162b8370492e28b7bcecc6d72192fc8d053ec245a270d1901812662dd50687ff5b327a40ac0f475 DIST libppd-2.1b1.tar.xz 583692 BLAKE2B f9889ba7758097d2f794b16bdd74758223036daa8e49b191d07789e36ad7e2d69693c9ebb0b89c1c52f23f90fee8b56e1532246da90b1898caf1c557a416c20c SHA512 2b1ab3444f9de4a856f116aae83fd2aaa61adec9862bdd6dcff5fe2672e593b1e69e4da3638994ac4762dcc0e2640c5e3cbf3af247017d3790f01ef10395f54a diff --git a/net-print/libppd/libppd-2.1.0.ebuild b/net-print/libppd/libppd-2.1.0.ebuild new file mode 100644 index 000000000000..577c98a38e63 --- /dev/null +++ b/net-print/libppd/libppd-2.1.0.ebuild @@ -0,0 +1,61 @@ +# Copyright 2023-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit libtool + +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/_beta/b}/${P/_beta/b}.tar.xz" +S="${WORKDIR}"/${P/_beta/b} + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="+postscript +poppler" + +# 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_prepare() { + default + elibtoolize +} + +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 +}