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 E6895158042 for ; Fri, 18 Oct 2024 15:17:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3EB74E089C; Fri, 18 Oct 2024 15:17:52 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 2702CE089C for ; Fri, 18 Oct 2024 15:17:52 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6D274343065 for ; Fri, 18 Oct 2024 15:17:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 859C51F41 for ; Fri, 18 Oct 2024 15:17:49 +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: <1729264638.c85934fb07145906e3aa22cb7d67d71a8a721892.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-print/libcupsfilters/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-print/libcupsfilters/Manifest net-print/libcupsfilters/libcupsfilters-2.1.0.ebuild X-VCS-Directories: net-print/libcupsfilters/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: c85934fb07145906e3aa22cb7d67d71a8a721892 X-VCS-Branch: master Date: Fri, 18 Oct 2024 15:17:49 +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: 64a2a569-8869-4800-aac1-c328124798ed X-Archives-Hash: a829a4145ec6c21f42e168dac33fbcd4 commit: c85934fb07145906e3aa22cb7d67d71a8a721892 Author: Sam James gentoo org> AuthorDate: Fri Oct 18 15:16:43 2024 +0000 Commit: Sam James gentoo org> CommitDate: Fri Oct 18 15:17:18 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c85934fb net-print/libcupsfilters: add 2.1.0 Note that we'd already backported the CVE fixes. Bug: https://bugs.gentoo.org/940313 Signed-off-by: Sam James gentoo.org> net-print/libcupsfilters/Manifest | 1 + .../libcupsfilters/libcupsfilters-2.1.0.ebuild | 71 ++++++++++++++++++++++ 2 files changed, 72 insertions(+) diff --git a/net-print/libcupsfilters/Manifest b/net-print/libcupsfilters/Manifest index 0ebcb3991370..b98b19704de4 100644 --- a/net-print/libcupsfilters/Manifest +++ b/net-print/libcupsfilters/Manifest @@ -1,2 +1,3 @@ DIST libcupsfilters-2.0.0.tar.xz 1279856 BLAKE2B ce9d839bb700017c303c1301c7a97fd02e3657a908e685377be49557d995574a7fc5a31d4fcbda5eeb9ba2d3cd07858224540dbf0bc9fa078cfd25a58ee15a41 SHA512 279bff6dcfa76312b10dae97480914345defd90eab79c4716d4553870f73e0f9db404786fd7e2948a86ae5aedb10dca0c2984ccb4222acbd4e835cd572030d6a +DIST libcupsfilters-2.1.0.tar.xz 1445276 BLAKE2B 7b7355c71b086dacfeb54d5ef4dbbe84ce23c5f65c36a7ef90c3f3b0a0a7630babebfd0d025dba01ad005714d7811dacf9c1983995e930212aee12b737a45c6a SHA512 2c15180a49f211215a13dac5b198a4f8d11fbc67c49d2112ec0c9a9cfd34f012867780bcf23dba81fae7bfaa7f05d4241b222dc6ad8dd83fc8ae29ce2869b235 DIST libcupsfilters-2.1b1.tar.xz 1443976 BLAKE2B 043174e47c6c5de5393cfb4d6f41e3839646932cff42cf677319b2ea22fe8408fbf1d1edfb3b99c1d2c36916a92993069a40ed5f75552d47d88300e283b6aa84 SHA512 5b0cd2472f54188dda13b091f82b257ba926e12065c225ddbde9cab97597baa6d855f09d7352b7d7ee4af8416fc9c3ddb3c75e0c6a0a201b366d047abe47ecef diff --git a/net-print/libcupsfilters/libcupsfilters-2.1.0.ebuild b/net-print/libcupsfilters/libcupsfilters-2.1.0.ebuild new file mode 100644 index 000000000000..0aadbdaf7957 --- /dev/null +++ b/net-print/libcupsfilters/libcupsfilters-2.1.0.ebuild @@ -0,0 +1,71 @@ +# Copyright 2023-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit libtool + +DESCRIPTION="library for developing printing features, split out of cups-filters" +HOMEPAGE="https://github.com/OpenPrinting/libcupsfilters" +SRC_URI="https://github.com/OpenPrinting/libcupsfilters/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="dbus exif jpeg pdf +poppler +postscript png test tiff" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=app-text/qpdf-8.3.0:= + media-libs/fontconfig + media-libs/lcms:2 + >=net-print/cups-2 + !=app-text/poppler-0.32:=[cxx] ) + png? ( media-libs/libpng:= ) + tiff? ( media-libs/tiff:= ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + >=sys-devel/gettext-0.18.3 + virtual/pkgconfig + test? ( media-fonts/dejavu ) +" + +src_prepare() { + default + + # respect --as-needed + elibtoolize +} + +src_configure() { + local myeconfargs=( + --enable-imagefilters + --localstatedir="${EPREFIX}"/var + --with-cups-rundir="${EPREFIX}"/run/cups + + $(use_enable exif) + $(use_enable dbus) + $(use_enable poppler) + $(use_enable postscript ghostscript) + $(use_enable pdf mutool) + $(use_with jpeg) + $(use_with png) + $(use_with tiff) + ) + + econf "${myeconfargs[@]}" +} + +src_install() { + default + find "${ED}" -name '*.la' -delete || die +}