From 10b667ff42aa0831f2ef1143c72e780e4ffca45d Mon Sep 17 00:00:00 2001 From: Pacho Ramos Date: Sun, 1 Nov 2026 10:05:06 +0100 Subject: [PATCH] net-print/foomatic-db-ppds: add 4.0.20261031 Closes: https://bugs.gentoo.org/983037 Closes: https://bugs.gentoo.org/969152 Signed-off-by: Pacho Ramos --- net-print/foomatic-db-ppds/Manifest | 1 + .../foomatic-db-ppds-4.0.20261031.ebuild | 30 +++++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 net-print/foomatic-db-ppds/foomatic-db-ppds-4.0.20261031.ebuild diff --git a/net-print/foomatic-db-ppds/Manifest b/net-print/foomatic-db-ppds/Manifest index d654519ffdf7b..f2359d6eaa186 100644 --- a/net-print/foomatic-db-ppds/Manifest +++ b/net-print/foomatic-db-ppds/Manifest @@ -1 +1,2 @@ DIST foomatic-db-4.0-20190226.tar.xz 6438248 BLAKE2B c5ce6b3ec5a29524f6f8c73fdaec88a97a3fd4521753c5058d470ebadf7c35c3218bd7e78023a26b267796ccfbca98368ee4d4bc5252b9339ee1c067adbe80b2 SHA512 308cf8b5648ae8f3be1a1a5af1885319ae9f263575e7b0b06bd66e6e3e0b495656124face65e285bfa657dbff3cff226bb00d78b873f16849b426641dc7d52fe +DIST foomatic-db-4.0-20261031.tar.xz 7921040 BLAKE2B 72c3f4c62a10aae36f291bffec88907a00045efa1c053f2dca44b1d641bd1272f88008dfe1118fb2a27ae8c319c706e75a1c5178102d94dbf38c71bb8826c868 SHA512 9be82b60ef7a780024d28c605c7540fbbaa277f364578d362d77b13f898d01d0e3286a7b447161496728f7cf4a72ec25e186096e4b243d4cc88c2cbb417fdd51 diff --git a/net-print/foomatic-db-ppds/foomatic-db-ppds-4.0.20261031.ebuild b/net-print/foomatic-db-ppds/foomatic-db-ppds-4.0.20261031.ebuild new file mode 100644 index 0000000000000..e8d5206c5ae5f --- /dev/null +++ b/net-print/foomatic-db-ppds/foomatic-db-ppds-4.0.20261031.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="linuxprinting.org PPD files for postscript printers" +HOMEPAGE="https://openprinting.github.io/foomatic/printers" +# Upstream removes the tarball every day: store a copy in our devspace for +# people not relying on our mirrors +SRC_URI="https://www.openprinting.org/download/foomatic/${PN/-ppds}-$(ver_rs 2 -).tar.xz + https://dev.gentoo.org/~pacho/${PN}/${PN/-ppds}-$(ver_rs 2 -).tar.xz" +S=${WORKDIR}/${PN/-ppds}-$(ver_cut 3) + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" + +PATCHES=( + "${FILESDIR}/Makefile.in-4.0.20120117.patch" +) + +src_prepare() { + rm db/source/PPD/Kyocera/ReadMe.htm || die # bug #559008 + default +} + +src_install() { + default + rm -v "${ED}"/usr/share/foomatic/xmlschema/{driver,option,printer,types}.xsd || die "Cannot remove duplicates" +}