summaryrefslogtreecommitdiff
path: root/net-print
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-04 16:24:49 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-04 16:24:49 -0500
commita3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7 (patch)
tree0c52bbae1c242fbc296bd650fcd1167685f81492 /net-print
parentbfd9c39e4712ebdb442d4ca0673061faed1e70e1 (diff)
downloadbaldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.gz
baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.xz
baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.zip
Adding metadata
Diffstat (limited to 'net-print')
-rw-r--r--net-print/brlaser/Manifest3
-rw-r--r--net-print/brlaser/brlaser-6-r1.ebuild26
-rw-r--r--net-print/brlaser/brlaser-6.2.6.ebuild28
-rw-r--r--net-print/brlaser/brlaser-6.2.8.ebuild28
-rw-r--r--net-print/brlaser/metadata.xml11
-rw-r--r--net-print/brother-mfcl8690cdw-bin/Manifest3
-rw-r--r--net-print/brother-mfcl8690cdw-bin/brother-mfcl8690cdw-bin-1.5.0.ebuild52
-rw-r--r--net-print/brother-mfcl8690cdw-bin/metadata.xml11
-rw-r--r--net-print/c2esp/Manifest1
-rw-r--r--net-print/c2esp/c2esp-27.ebuild31
-rw-r--r--net-print/c2esp/files/c2esp-27-fno-common.patch32
-rw-r--r--net-print/c2esp/files/c2esp-27-missing-includes.patch35
-rw-r--r--net-print/c2esp/metadata.xml11
-rw-r--r--net-print/captdriver/Manifest1
-rw-r--r--net-print/captdriver/captdriver-0.1.4.ebuild71
-rw-r--r--net-print/captdriver/metadata.xml11
-rw-r--r--net-print/cndrvcups-common-lb/Manifest1
-rw-r--r--net-print/cndrvcups-common-lb/cndrvcups-common-lb-3.70-r1.ebuild120
-rw-r--r--net-print/cndrvcups-common-lb/files/cndrvcups-common-lb-3.70-fno-common.patch68
-rw-r--r--net-print/cndrvcups-common-lb/metadata.xml5
-rw-r--r--net-print/cndrvcups-lb/Manifest1
-rw-r--r--net-print/cndrvcups-lb/cndrvcups-lb-3.70-r1.ebuild113
-rw-r--r--net-print/cndrvcups-lb/metadata.xml5
-rw-r--r--net-print/cnijfilter2/Manifest2
-rw-r--r--net-print/cnijfilter2/cnijfilter2-6.70-r1.ebuild80
-rw-r--r--net-print/cnijfilter2/cnijfilter2-6.81.ebuild80
-rw-r--r--net-print/cnijfilter2/files/cnijfilter2-5.80-cflags.patch10
-rw-r--r--net-print/cnijfilter2/files/cnijfilter2-5.80-fno-common.patch11
-rw-r--r--net-print/cnijfilter2/files/cnijfilter2-6.50-gentoo.patch58
-rw-r--r--net-print/cnijfilter2/files/cnijfilter2-6.60-c99.patch10
-rw-r--r--net-print/cnijfilter2/files/cnijfilter2-6.70-c23.patch13
-rw-r--r--net-print/cnijfilter2/metadata.xml8
-rw-r--r--net-print/cnrdrvcups-lb/Manifest2
-rw-r--r--net-print/cnrdrvcups-lb/cnrdrvcups-lb-5.40-r1.ebuild200
-rw-r--r--net-print/cnrdrvcups-lb/cnrdrvcups-lb-5.40-r2.ebuild208
-rw-r--r--net-print/cnrdrvcups-lb/cnrdrvcups-lb-5.80-r1.ebuild200
-rw-r--r--net-print/cnrdrvcups-lb/cnrdrvcups-lb-5.80-r2.ebuild212
-rw-r--r--net-print/cnrdrvcups-lb/files/cnrdrvcups-lb-fix-the-cast-error.patch19
-rw-r--r--net-print/cnrdrvcups-lb/metadata.xml5
-rw-r--r--net-print/cups-bjnp/Manifest1
-rw-r--r--net-print/cups-bjnp/cups-bjnp-2.0.3-r1.ebuild32
-rw-r--r--net-print/cups-bjnp/files/cups-bjnp-2.0.3-configure-clang16.patch34
-rw-r--r--net-print/cups-bjnp/metadata.xml11
-rw-r--r--net-print/cups-browsed/Manifest1
-rw-r--r--net-print/cups-browsed/cups-browsed-2.1.1-r1.ebuild81
-rw-r--r--net-print/cups-browsed/files/cups-browsed-2.1.1-crash.patch31
-rw-r--r--net-print/cups-browsed/files/cups-browsed-2.1.1-no-model.patch42
-rw-r--r--net-print/cups-browsed/files/cups-browsed.init.d9
-rw-r--r--net-print/cups-browsed/metadata.xml11
-rw-r--r--net-print/cups-filters/Manifest2
-rw-r--r--net-print/cups-filters/cups-filters-1.28.17-r2.ebuild151
-rw-r--r--net-print/cups-filters/cups-filters-2.0.1-r1.ebuild59
-rw-r--r--net-print/cups-filters/cups-filters-2.0.1.ebuild55
-rw-r--r--net-print/cups-filters/files/cups-browsed.init.d-r29
-rw-r--r--net-print/cups-filters/files/cups-filters-1.28.17-CVE-2023-24805.patch225
-rw-r--r--net-print/cups-filters/files/cups-filters-1.28.17-c++17.patch31
-rw-r--r--net-print/cups-filters/files/cups-filters-1.28.17-qpdf-12.patch276
-rw-r--r--net-print/cups-filters/files/cups-filters-2.0.1-CVE-2025-64524.patch80
-rw-r--r--net-print/cups-filters/metadata.xml16
-rw-r--r--net-print/cups-meta/cups-meta-1.ebuild23
-rw-r--r--net-print/cups-meta/metadata.xml14
-rw-r--r--net-print/cups-pdf/Manifest3
-rw-r--r--net-print/cups-pdf/cups-pdf-3.0.1-r3.ebuild48
-rw-r--r--net-print/cups-pdf/cups-pdf-3.0.2.ebuild48
-rw-r--r--net-print/cups-pdf/cups-pdf-3.0.3.ebuild48
-rw-r--r--net-print/cups-pdf/files/cups-pdf-3.0.1-ghostscript-gpl-9.54-compat.patch28
-rw-r--r--net-print/cups-pdf/metadata.xml8
-rw-r--r--net-print/cups-pk-helper/Manifest1
-rw-r--r--net-print/cups-pk-helper/cups-pk-helper-0.2.7-r1.ebuild31
-rw-r--r--net-print/cups-pk-helper/metadata.xml11
-rw-r--r--net-print/cups-windows/Manifest1
-rw-r--r--net-print/cups-windows/cups-windows-6.0-r1.ebuild24
-rw-r--r--net-print/cups-windows/metadata.xml8
-rw-r--r--net-print/cups/Manifest2
-rw-r--r--net-print/cups/cups-2.4.16.ebuild318
-rw-r--r--net-print/cups/cups-2.4.19.ebuild318
-rw-r--r--net-print/cups/cups-9999.ebuild318
-rw-r--r--net-print/cups/files/cups-2.4.1-nostrip.patch11
-rw-r--r--net-print/cups/files/cups-2.4.1-user-AR.patch21
-rw-r--r--net-print/cups/files/cupsd.init.d-r422
-rw-r--r--net-print/cups/metadata.xml18
-rw-r--r--net-print/epson-inkjet-printer-escpr/Manifest3
-rw-r--r--net-print/epson-inkjet-printer-escpr/epson-inkjet-printer-escpr-1.2.15-r1.ebuild38
-rw-r--r--net-print/epson-inkjet-printer-escpr/epson-inkjet-printer-escpr-1.2.15.ebuild37
-rw-r--r--net-print/epson-inkjet-printer-escpr/epson-inkjet-printer-escpr-1.8.6.ebuild51
-rw-r--r--net-print/epson-inkjet-printer-escpr/epson-inkjet-printer-escpr-1.8.8.ebuild50
-rw-r--r--net-print/epson-inkjet-printer-escpr/files/1.8.6-warnings.patch53
-rw-r--r--net-print/epson-inkjet-printer-escpr/files/1.8.8-warnings.patch53
-rw-r--r--net-print/epson-inkjet-printer-escpr/files/epson-inkjet-printer-escpr-1.2-filter-func.patch11
-rw-r--r--net-print/epson-inkjet-printer-escpr/files/epson-inkjet-printer-escpr-1.2-gcc15.patch23
-rw-r--r--net-print/epson-inkjet-printer-escpr/files/epson-inkjet-printer-escpr-1.7.7-fnocommon.patch11
-rw-r--r--net-print/epson-inkjet-printer-escpr/files/epson-inkjet-printer-escpr-1.8-missing-include.patch129
-rw-r--r--net-print/epson-inkjet-printer-escpr/files/gcc-no-implicit-function-declaration-1.2.patch89
-rw-r--r--net-print/epson-inkjet-printer-escpr/metadata.xml44
-rw-r--r--net-print/gtklp/Manifest2
-rw-r--r--net-print/gtklp/files/gtklp-1.3.4-formatsec.patch38
-rw-r--r--net-print/gtklp/gtklp-1.3.4.ebuild53
-rw-r--r--net-print/gtklp/metadata.xml17
-rw-r--r--net-print/gutenprint/Manifest2
-rw-r--r--net-print/gutenprint/files/gutenprint-5.3.1-cflags.patch23
-rw-r--r--net-print/gutenprint/files/gutenprint-5.3.4-invalidint.patch13
-rw-r--r--net-print/gutenprint/gutenprint-5.3.4-r2.ebuild93
-rw-r--r--net-print/gutenprint/gutenprint-5.3.5.ebuild86
-rw-r--r--net-print/gutenprint/metadata.xml11
-rw-r--r--net-print/hplip-plugin/Manifest1
-rw-r--r--net-print/hplip-plugin/hplip-plugin-3.25.8.ebuild71
-rw-r--r--net-print/hplip-plugin/metadata.xml19
-rw-r--r--net-print/hplip/Manifest4
-rw-r--r--net-print/hplip/hplip-3.25.8-r1.ebuild287
-rw-r--r--net-print/hplip/hplip-3.26.4.ebuild286
-rw-r--r--net-print/hplip/metadata.xml34
-rw-r--r--net-print/hpuld/Manifest1
-rw-r--r--net-print/hpuld/hpuld-1.00.39.15.00.23-r4.ebuild120
-rw-r--r--net-print/hpuld/metadata.xml32
-rw-r--r--net-print/ink/Manifest1
-rw-r--r--net-print/ink/ink-0.5.3.ebuild15
-rw-r--r--net-print/ink/metadata.xml11
-rw-r--r--net-print/kyocera-1x2x-mfp-driver/Manifest1
-rw-r--r--net-print/kyocera-1x2x-mfp-driver/files/rastertokpsl-fix.sh7
-rw-r--r--net-print/kyocera-1x2x-mfp-driver/kyocera-1x2x-mfp-driver-1.1203-r2.ebuild115
-rw-r--r--net-print/kyocera-1x2x-mfp-driver/metadata.xml19
-rw-r--r--net-print/lexmark-upd-ppd/Manifest1
-rw-r--r--net-print/lexmark-upd-ppd/lexmark-upd-ppd-1.0.0.20240321.ebuild45
-rw-r--r--net-print/lexmark-upd-ppd/metadata.xml8
-rw-r--r--net-print/libcupsfilters/Manifest1
-rw-r--r--net-print/libcupsfilters/files/libcupsfilters-2.1.1-CVE-2025-57812.patch128
-rw-r--r--net-print/libcupsfilters/files/libcupsfilters-2.1.1-CVE-2025-64503.patch45
-rw-r--r--net-print/libcupsfilters/libcupsfilters-2.1.1-r1.ebuild76
-rw-r--r--net-print/libcupsfilters/metadata.xml14
-rw-r--r--net-print/libinklevel/Manifest2
-rw-r--r--net-print/libinklevel/files/libinklevel-0.9.2-autoconf-2.70.patch51
-rw-r--r--net-print/libinklevel/files/libinklevel-0.9.7-disable-docs.patch16
-rw-r--r--net-print/libinklevel/libinklevel-0.9.3.ebuild43
-rw-r--r--net-print/libinklevel/libinklevel-0.9.7.ebuild41
-rw-r--r--net-print/libinklevel/metadata.xml11
-rw-r--r--net-print/libppd/Manifest1
-rw-r--r--net-print/libppd/libppd-2.1.1.ebuild61
-rw-r--r--net-print/libppd/metadata.xml14
-rw-r--r--net-print/metadata.xml32
-rw-r--r--net-print/mtink/Manifest1
-rw-r--r--net-print/mtink/files/mtink-1.0.16-fix-function-declarations.patch57
-rw-r--r--net-print/mtink/files/mtink-1.0.16-flags.patch182
-rw-r--r--net-print/mtink/files/mtink-1.0.16-fno-common.patch20
-rw-r--r--net-print/mtink/files/mtink-1.0.16-motif.patch49
-rw-r--r--net-print/mtink/files/mtink-1.0.16-overflow.patch11
-rw-r--r--net-print/mtink/files/mtinkd.confd14
-rw-r--r--net-print/mtink/files/mtinkd.rc19
-rw-r--r--net-print/mtink/metadata.xml8
-rw-r--r--net-print/mtink/mtink-1.0.16-r2.ebuild92
-rw-r--r--net-print/npadmin/Manifest1
-rw-r--r--net-print/npadmin/files/npadmin-0.8.7-gcc6.patch138
-rw-r--r--net-print/npadmin/files/npadmin-0.8.7-makefile.patch43
-rw-r--r--net-print/npadmin/files/npadmin-0.8.7-stdlib.patch10
-rw-r--r--net-print/npadmin/metadata.xml11
-rw-r--r--net-print/npadmin/npadmin-0.8.7-r2.ebuild34
-rw-r--r--net-print/pnm2ppa/Manifest1
-rw-r--r--net-print/pnm2ppa/files/pnm2ppa-1.13-clang16.patch7
-rw-r--r--net-print/pnm2ppa/files/pnm2ppa-1.13-fno-common.patch26
-rw-r--r--net-print/pnm2ppa/metadata.xml11
-rw-r--r--net-print/pnm2ppa/pnm2ppa-1.13-r2.ebuild83
-rw-r--r--net-print/poster/Manifest1
-rw-r--r--net-print/poster/files/poster-20060221-fix_cutmarks.patch15
-rw-r--r--net-print/poster/files/poster-20060221-fix_duplicate_DocumentMedia.patch19
-rw-r--r--net-print/poster/files/poster-20060221-fix_gs_crash.patch47
-rw-r--r--net-print/poster/metadata.xml8
-rw-r--r--net-print/poster/poster-20060221-r4.ebuild30
-rw-r--r--net-print/splix/Manifest3
-rw-r--r--net-print/splix/files/splix-2.0.0_p20130826-algo0x11_le.patch33
-rw-r--r--net-print/splix/metadata.xml16
-rw-r--r--net-print/splix/splix-2.0.0_p20130826-r1.ebuild66
-rw-r--r--net-print/splix/splix-2.0.1.ebuild63
171 files changed, 0 insertions, 7930 deletions
diff --git a/net-print/brlaser/Manifest b/net-print/brlaser/Manifest
deleted file mode 100644
index 1a6133d906cf..000000000000
--- a/net-print/brlaser/Manifest
+++ /dev/null
@@ -1,3 +0,0 @@
-DIST brlaser-6.2.8.tar.gz 29401 BLAKE2B 3b8622ad45071ec9d88d3e03af4d22e876099f76c1fb68ef57ea10525b78d4a4784638ec4dc20399ca8d57b232dd47dba5c0737de9a2e7a90d536a4e89742e5f SHA512 6cbfb2376dbbc06f55a605a160b946ca810191d9a88c1380adb5fcbac10e37c36ec77604ab0ee0fb2595d86306f87d322b0cea314166a8a2d3999bd43b9365ce
-DIST brlaser-6.2.6.tar.gz 25815 BLAKE2B 0583576e41d895df5fc9d20244daa38abd3f675af13f75f769045644f419385c99a1137c88a6ac8997a7fd4ab7323af304f62d785dac66b1174a9994e3f5104a SHA512 285a053473ae576167e653bb94c20a1ae676c1a39ec87d9b14c664e389a4713d93ca29d5cefd92a6793e1ffbc8b03b119ea8cd903749ae21c9354ce30d470a51
-DIST brlaser-6.tar.gz 22807 BLAKE2B be8041c1b6ddb8c4e5055fa35edc2c764562b2b4e52cad17aa968a51886621264d6bf289bd7bb5af0148098bb72aa96adea603091b38c3a245068d60737e80fc SHA512 d7e0e63b64be9ae7633381622c13ba0589e5fe58d277212bce4f5bb712a291ed0b0f2ac3d450dce61c7f9052c1ce7323fec66b5005c5cb3da1314b284d20f06f
diff --git a/net-print/brlaser/brlaser-6-r1.ebuild b/net-print/brlaser/brlaser-6-r1.ebuild
deleted file mode 100644
index 502b56748750..000000000000
--- a/net-print/brlaser/brlaser-6-r1.ebuild
+++ /dev/null
@@ -1,26 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake
-
-DESCRIPTION="Brother laser printer driver"
-HOMEPAGE="https://github.com/pdewacht/brlaser"
-SRC_URI="https://github.com/pdewacht/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-
-DEPEND="net-print/cups"
-RDEPEND="
- ${DEPEND}
- app-text/ghostscript-gpl"
-
-src_prepare() {
- # Don't clobber toolchain defaults
- sed -i -e '/-D_FORTIFY_SOURCE=2/d' CMakeLists.txt || die
-
- cmake_src_prepare
-}
diff --git a/net-print/brlaser/brlaser-6.2.6.ebuild b/net-print/brlaser/brlaser-6.2.6.ebuild
deleted file mode 100644
index 257dc50aef04..000000000000
--- a/net-print/brlaser/brlaser-6.2.6.ebuild
+++ /dev/null
@@ -1,28 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake
-
-DESCRIPTION="Brother laser printer driver"
-HOMEPAGE="https://github.com/Owl-Maintain/brlaser/"
-SRC_URI="https://github.com/Owl-Maintain/brlaser/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
-
-# https://github.com/Owl-Maintain/brlaser/blob/master/src/main.cc#L5C1-L8C39
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="amd64 x86"
-
-DEPEND="net-print/cups"
-RDEPEND="
- ${DEPEND}
- app-text/ghostscript-gpl
-"
-
-src_prepare() {
- # Don't clobber toolchain defaults
- sed -i -e '/-D_FORTIFY_SOURCE=2/d' CMakeLists.txt || die
-
- cmake_src_prepare
-}
diff --git a/net-print/brlaser/brlaser-6.2.8.ebuild b/net-print/brlaser/brlaser-6.2.8.ebuild
deleted file mode 100644
index d8488b994c9a..000000000000
--- a/net-print/brlaser/brlaser-6.2.8.ebuild
+++ /dev/null
@@ -1,28 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake
-
-DESCRIPTION="Brother laser printer driver"
-HOMEPAGE="https://github.com/Owl-Maintain/brlaser/"
-SRC_URI="https://github.com/Owl-Maintain/brlaser/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
-
-# https://github.com/Owl-Maintain/brlaser/blob/master/src/main.cc#L5C1-L8C39
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="amd64 x86"
-
-DEPEND="net-print/cups"
-RDEPEND="
- ${DEPEND}
- app-text/ghostscript-gpl
-"
-
-src_prepare() {
- # Don't clobber toolchain defaults
- sed -i -e '/-D_FORTIFY_SOURCE=2/d' CMakeLists.txt || die
-
- cmake_src_prepare
-}
diff --git a/net-print/brlaser/metadata.xml b/net-print/brlaser/metadata.xml
deleted file mode 100644
index 36ae0f188695..000000000000
--- a/net-print/brlaser/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>printing@gentoo.org</email>
- <name>Gentoo Printing Project</name>
- </maintainer>
- <upstream>
- <remote-id type="github">Owl-Maintain/brlaser</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/net-print/brother-mfcl8690cdw-bin/Manifest b/net-print/brother-mfcl8690cdw-bin/Manifest
deleted file mode 100644
index 792e1caf142f..000000000000
--- a/net-print/brother-mfcl8690cdw-bin/Manifest
+++ /dev/null
@@ -1,3 +0,0 @@
-DIST linux-brprinter-installer-2.2.3-1.gz 24519 BLAKE2B 4bb068ac444a24e94f0f49e1d290f8b3295780a53d23c91151242e59d265edae66b6ee032ab220efd9624655f095c47061dfcdfcb87763f13faec0c67496d663 SHA512 9fed0c747ec2cc9eb11862df93e4a75edbeddaa9fbf0a70139fcd3da58b372fbbeaca0821fbcb8d66b43c656eaf7392a97b021f260136496e1075d1014869c37
-DIST mfcl8690cdwcupswrapper-1.5.0-0.i386.rpm 16089 BLAKE2B c1dc7e9849d565a67235ced81996f763b0a7ea50ec9ce46eacfa321b79caeea7a3d3dd170bc2c65087701dd215561fa05edd776a2d0654ccf8708a072450e632 SHA512 fc4f6ee58b2216ae9a8e65cc5555eb939b3f71637972350450b7f7d79a0bef211213091368cad622d2e96728a7e7b87bc9405d9981b95b225cd3f3225976e01c
-DIST mfcl8690cdwlpr-1.5.0-0.i386.rpm 1424730 BLAKE2B fa6e2e5f9042a8e43d5696727d17a26d88637823b2c1e8397f746cc92b01284f20d835280f1a17642f9e00af5ecff952e75b6ccd7e1e4af96af763138aee66f6 SHA512 53bbea8d976a113cd9599c0000fc1f6fdffa329cd90f9b4481daa128e0f64b08e3d6a831039217612eb804d9b9e6b70af82bdaf499a157cf58b41504cdc50240
diff --git a/net-print/brother-mfcl8690cdw-bin/brother-mfcl8690cdw-bin-1.5.0.ebuild b/net-print/brother-mfcl8690cdw-bin/brother-mfcl8690cdw-bin-1.5.0.ebuild
deleted file mode 100644
index 992a70c36f9f..000000000000
--- a/net-print/brother-mfcl8690cdw-bin/brother-mfcl8690cdw-bin-1.5.0.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 2023 Liguros Authors
-# Distributed under the terms of the GNU General Public License v2
-EAPI=8
-
-inherit rpm multilib
-
-PRINTER_MODEL=${PN#*-}
-PRINTER_MODEL=${PRINTER_MODEL%-*}
-
-DESCRIPTION="Brother printer drive for ${PRINTER_MODEL}"
-HOMEPAGE="https://support.brother.com/g/b/downloadhowto.aspx?c=us&lang=en&prod=${PRINTER_MODEL}_us_eu_as"
-SRC_URI="
- https://download.brother.com/welcome/dlf103224/${PRINTER_MODEL}cupswrapper-1.5.0-0.i386.rpm
- https://download.brother.com/welcome/dlf103215/${PRINTER_MODEL}lpr-1.5.0-0.i386.rpm
-"
-
-RESTRICT="mirror strip"
-
-LICENSE="brother-eula"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="scanner"
-
-DEPEND=">=net-print/cups-2.2.7"
-RDEPEND="
- ${DEPEND}
- scanner? ( >=media-gfx/brother-mfcl8690cdw-bin-1.0 )
-"
-
-S="${WORKDIR}"
-
-src_install() {
- insinto opt/brother/Printers/${PRINTER_MODEL}
- doins -r "${S}"/opt/brother/Printers/${PRINTER_MODEL}/inf
-
- exeinto opt/brother/Printers/${PRINTER_MODEL}/lpd
- doexe "${S}"/opt/brother/Printers/${PRINTER_MODEL}/lpd/*/*
-
- # Printer configuration utility
-# dobin "${S}"/usr/bin/brprintconf_${PRINTER_MODEL}
-
- # Install wrapping tools for CUPS
- exeinto opt/brother/Printers/${PRINTER_MODEL}/cupswrapper
- doexe "${S}"/opt/brother/Printers/${PRINTER_MODEL}/cupswrapper/cupswrapper${PRINTER_MODEL}
-
- exeinto opt/brother/Printers/${PRINTER_MODEL}/cupswrapper
- doexe "${S}"/opt/brother/Printers/${PRINTER_MODEL}/cupswrapper/brother_lpdwrapper_${PRINTER_MODEL}
- dosym "${EPREFIX}"/opt/brother/Printers/${PRINTER_MODEL}/cupswrapper/brother_lpdwrapper_${PRINTER_MODEL} "${EPREFIX}"/usr/libexec/cups/filter/brother_lpdwrapper_${PRINTER_MODEL}
-
- insinto usr/share/ppd/Brother
- doins "${S}"/opt/brother/Printers/${PRINTER_MODEL}/cupswrapper/brother_${PRINTER_MODEL}_printer_en.ppd
-}
diff --git a/net-print/brother-mfcl8690cdw-bin/metadata.xml b/net-print/brother-mfcl8690cdw-bin/metadata.xml
deleted file mode 100644
index 43663787c391..000000000000
--- a/net-print/brother-mfcl8690cdw-bin/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>dev@liguros.net</email>
- <name>Development</name>
- </maintainer>
- <longdescription>Brother printer driver for mfcl8690cdw</longdescription>
-
- <origin>ports</origin>
-</pkgmetadata> \ No newline at end of file
diff --git a/net-print/c2esp/Manifest b/net-print/c2esp/Manifest
deleted file mode 100644
index ca69f487bc54..000000000000
--- a/net-print/c2esp/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST c2esp-27.tar.gz 143551 BLAKE2B 7cc80fd72eed24c24cb153d7395a692849c51249ca40a563f94bedbb82c6d976bce6b44d47dbe21c36ec40f26571178f562b175485f404d356724b4bc3f611bf SHA512 d3ff9dc6de7cf692e4be4f4b316f862d271bff06181f0000daf1ce2fb6921f1b24efe88ec24f7b811d78cb9dca18fcba3f17dd5273ac84ceb9f6bfcecedeecce
diff --git a/net-print/c2esp/c2esp-27.ebuild b/net-print/c2esp/c2esp-27.ebuild
deleted file mode 100644
index de8fdbf3bae2..000000000000
--- a/net-print/c2esp/c2esp-27.ebuild
+++ /dev/null
@@ -1,31 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DESCRIPTION="A CUPS filter for Kodak ESP printers"
-HOMEPAGE="https://sourceforge.net/projects/cupsdriverkodak"
-SRC_URI="https://downloads.sourceforge.net/cupsdriverkodak/files/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
-
-DEPEND=">=media-libs/jbigkit-2.0-r1:=
- >=net-print/cups-1.6
- virtual/zlib:="
-
-RDEPEND="${DEPEND}"
-
-PATCHES=(
- "${FILESDIR}"/${P}-missing-includes.patch
- "${FILESDIR}"/${P}-fno-common.patch
-)
-
-src_configure() {
- # Don't trust cups-config in case ROOT!=/.
-
- econf \
- --with-cupsfilterdir="${EPREFIX}"/usr/libexec/cups/filter \
- --with-cupsdatadir="${EPREFIX}"/usr/share/cups
-}
diff --git a/net-print/c2esp/files/c2esp-27-fno-common.patch b/net-print/c2esp/files/c2esp-27-fno-common.patch
deleted file mode 100644
index 8e4dc81519e2..000000000000
--- a/net-print/c2esp/files/c2esp-27-fno-common.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-Taken from: https://sources.debian.org/patches/c2esp/27-8/0002-Add-extern-stanzas-to-variable-definitions-in-header.patch/
-Author: Didier Raboud <odyx@debian.org>
-
---- a/src/c2espcommon.c
-+++ b/src/c2espcommon.c
-@@ -42,11 +42,11 @@
- * Globals...
- */
- char CallerName[50]; /* String that identifies the calling program */
--int DoBack; /* Enables the back channel comms */
-+extern int DoBack; /* Enables the back channel comms */
- char BackBuf[32000]; //for the back channel replies from the printer
- int BackBufLen=sizeof(BackBuf)-1;
- FILE *LogFile = NULL; //file descriptor for log file
--time_t StartTime;
-+extern time_t StartTime;
- int BlackPercent, ColourPercent;
-
- time_t KeepAwake(time_t Start, int Interval, FILE *PrintFile)
---- a/src/c2espcommon.h
-+++ b/src/c2espcommon.h
-@@ -35,8 +35,8 @@
- /*
- * Globals...
- */
--char BackBuf[32000]; //for the back channel replies from the printer
--int ColourPercent, BlackPercent; //to store the detected marker levels
-+extern char BackBuf[32000]; //for the back channel replies from the printer
-+extern int ColourPercent, BlackPercent; //to store the detected marker levels
-
-
- time_t KeepAwake(time_t Start, int Interval, FILE *PrintFile);
diff --git a/net-print/c2esp/files/c2esp-27-missing-includes.patch b/net-print/c2esp/files/c2esp-27-missing-includes.patch
deleted file mode 100644
index bde86e666688..000000000000
--- a/net-print/c2esp/files/c2esp-27-missing-includes.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-From 4341f243a34dbb8140800337d189345c370dc499 Mon Sep 17 00:00:00 2001
-From: Didier Raboud <odyx@debian.org>
-Date: Fri, 9 Feb 2018 17:23:25 +0100
-Subject: Fix various missing includes
-
-Last-Update: 2016-10-03
----
- src/c2espcommon.h | 1 +
- src/command2esp.c | 1 +
- 2 files changed, 2 insertions(+)
-
-diff --git a/src/c2espcommon.h b/src/c2espcommon.h
-index 471f46a..088a2b8 100644
---- a/src/c2espcommon.h
-+++ b/src/c2espcommon.h
-@@ -19,6 +19,7 @@
- */
-
- #include <cups/sidechannel.h> //FlushBackChannel, and the side channel functions and constants
-+#include <stdio.h> // FILE
- #include <fcntl.h> //files
- #include <time.h> //time functions used for debugging
-
-diff --git a/src/command2esp.c b/src/command2esp.c
-index 529342c..e30357e 100644
---- a/src/command2esp.c
-+++ b/src/command2esp.c
-@@ -44,6 +44,7 @@ Maintenance=003?
- #include <cups/cups.h>
- #include <cups/sidechannel.h> //FlushBackChannel, and the side channel functions and constants
- #include "string.h"
-+#include "strings.h" // strncasecmp
- #include <ctype.h>
- #include <fcntl.h> //files
- #include <time.h> //time functions used for debugging
diff --git a/net-print/c2esp/metadata.xml b/net-print/c2esp/metadata.xml
deleted file mode 100644
index 9975684c2cc9..000000000000
--- a/net-print/c2esp/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>printing@gentoo.org</email>
- <name>Gentoo Printing Project</name>
- </maintainer>
- <upstream>
- <remote-id type="sourceforge">cupsdriverkodak</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/net-print/captdriver/Manifest b/net-print/captdriver/Manifest
deleted file mode 100644
index 0c296b89e9cf..000000000000
--- a/net-print/captdriver/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST captdriver-0.1.4-m5.tar.gz 36578 BLAKE2B 0e8420755ce936d95403a49face6de8ade858210f12fcb0518a40f957b9b17223744f615f2242305fa4e0cbae9ab6892a0ae3c4cf710d7f9dc5f80f03ba3e323 SHA512 f6dab3ddc5df5c5aceebfdd077ee33ab6bbf26cbc5b518b76f35e35f7fcda256f3e162acaa10b1690ec98ead686be715035123ed05ebabbdd6ac81c3c5b7c3e0
diff --git a/net-print/captdriver/captdriver-0.1.4.ebuild b/net-print/captdriver/captdriver-0.1.4.ebuild
deleted file mode 100644
index a9fb37ee6a2d..000000000000
--- a/net-print/captdriver/captdriver-0.1.4.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# Copyright 2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools
-
-MY_V="0.1.4-m5"
-MY_P="${PN}-${MY_V}"
-
-DESCRIPTION="Alternative driver for Canon CAPT printers"
-HOMEPAGE="https://github.com/mounaiban/captdriver"
-SRC_URI="https://github.com/mounaiban/captdriver/archive/refs/tags/${MY_V}.tar.gz -> ${MY_P}.tar.gz"
-S="${WORKDIR}/${MY_P}"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64"
-
-DEPEND="
- net-print/cups
- net-print/cups-filters
-"
-RDEPEND="${DEPEND}"
-BDEPEND="
- dev-build/automake
- dev-build/autoconf
-"
-
-src_prepare() {
- default
- eaclocal
- eautoconf
- eautomake --add-missing
-}
-
-src_configure() {
- default
- ./configure || die "./configure failed"
-}
-
-src_compile() {
- default
- make
- ppdc -v -d . src/canon-lbp.drv
-}
-
-ppd_dir="/usr/share/ppd"
-
-src_install() {
- cups-config --serverbin || die -q "cups-config --serverbin failed"
- insinto "$ppd_dir"
- doins *.ppd
- exeinto "$(cups-config --serverbin)/filter"
- doexe src/rastertocapt
- docinto
- dodoc *.md
-}
-
-pkg_postinst() {
- einfo "PPD files are installed into $ppd_dir"
- einfo "You may want to add some printers that use CAPT driver"
- einfo " lpadmin -p 'LBP2900' -v usb://Canon/LBP2900?serial=<serial> -P $ppd_dir/Canon-LBP2900-3000.ppd -E"
- einfo " lpadmin -p 'LBP3000' -v usb://Canon/LBP3000?serial=<serial> -P $ppd_dir/Canon-LBP2900-3000.ppd -E"
- einfo " lpadmin -p 'LBP3010' -v usb://Canon/LBP3100?serial=<serial> -P $ppd_dir/Canon-LBP3010.ppd.ppd -E"
- einfo "You can find the <serial> with lpinfo -v command"
-}
-
-pkg_postrm() {
- ewarn "You may want to remove printers that depends on this package."
-}
diff --git a/net-print/captdriver/metadata.xml b/net-print/captdriver/metadata.xml
deleted file mode 100644
index c688ce622716..000000000000
--- a/net-print/captdriver/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>dangduong31205@gmail.com</email>
- <name>Nguyen Dinh Dang Duong</name>
- </maintainer>
- <upstream>
- <remote-id type="github">mounaiban/captdriver</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/net-print/cndrvcups-common-lb/Manifest b/net-print/cndrvcups-common-lb/Manifest
deleted file mode 100644
index b8b441732ad7..000000000000
--- a/net-print/cndrvcups-common-lb/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST linux-UFRII-drv-v370-uken-05.tar.gz 117334511 BLAKE2B 295c7a710b0f1ee29e642b29c7b0576f68317dba93758825aa85d431129cebea174d5c2dfa67f7506fa3b18fe48d373f0dc9331ed9caabc2e3bc733946aefd97 SHA512 d83254b7f7f87c56caeaaf151d898de36f746c03ad88d427959bdeec905b9cd92a14a8ac534073473a6cefbb5e2b0be9e9faa79b500e252ecd0a0564d2312bbc
diff --git a/net-print/cndrvcups-common-lb/cndrvcups-common-lb-3.70-r1.ebuild b/net-print/cndrvcups-common-lb/cndrvcups-common-lb-3.70-r1.ebuild
deleted file mode 100644
index 6e02eb4fd0b7..000000000000
--- a/net-print/cndrvcups-common-lb/cndrvcups-common-lb-3.70-r1.ebuild
+++ /dev/null
@@ -1,120 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools multilib toolchain-funcs
-
-MY_PV="$(ver_rs 1- '')"
-SOURCES_NAME="linux-UFRII-drv-v${MY_PV}-uken"
-
-DESCRIPTION="Common files for Canon drivers"
-HOMEPAGE="https://www.canon-europe.com/support/products/imagerunner/imagerunner-1730i.html"
-SRC_URI="http://gdlp01.c-wss.com/gds/8/0100007658/08/${SOURCES_NAME}-05.tar.gz"
-S="${WORKDIR}/${SOURCES_NAME}/Sources/${P/-lb-${PV}/-4.10}"
-
-# GPL-2 License inside LICENSE-EN.txt files
-LICENSE="Canon-UFR-II GPL-2 MIT"
-SLOT="0"
-KEYWORDS="-* amd64 x86"
-
-RDEPEND="
- >=dev-libs/libxml2-2.6:2=
- >=gnome-base/libglade-2.4:2.0
- >=net-print/cups-1.1.17
- >=x11-libs/gtk+-2.4:2"
-DEPEND="${RDEPEND}"
-
-PATCHES=( "${FILESDIR}"/${P}-fno-common.patch )
-
-pkg_setup() {
- # Don't raise a fuss over pre-built binaries
- QA_PREBUILT="
- /usr/libexec/cups/filter/c3pldrv
- /usr/$(get_abi_LIBDIR x86)/libColorGear.so.0.0.0
- /usr/$(get_abi_LIBDIR x86)/libColorGearC.so.1.0.0
- /usr/$(get_abi_LIBDIR x86)/libc3pl.so.0.0.1
- /usr/$(get_abi_LIBDIR x86)/libcaepcm.so.1.0
- /usr/$(get_abi_LIBDIR x86)/libcaiousb.so.1.0.0
- /usr/$(get_abi_LIBDIR x86)/libcaiowrap.so.1.0.0
- /usr/$(get_abi_LIBDIR x86)/libcanon_slim.so.1.0.0
- /usr/$(get_libdir)/libcanonc3pl.so.1.0.0"
- QA_SONAME="
- /usr/$(get_abi_LIBDIR x86)/libcaiousb.so.1.0.0"
-}
-
-src_unpack() {
- unpack ${A}
- cd "${WORKDIR}/${SOURCES_NAME}/Sources/" || die
- unpack ./${P/-lb-${PV}/-4.10}-1.tar.gz
-}
-
-change_dir() {
- for i in cngplp buftool backend; do
- cd "${i}" || die
- "${@}" || die
- cd "${S}" || die
- done
-}
-
-src_prepare() {
- default
- sed -i -e \
- "s:backenddir = \$(libdir)/cups/backend:backenddir = `cups-config --serverbin`/backend:" \
- backend/Makefile.am || die
-
- sed -i -e "s@CC=gcc@CC=$(tc-getCC)@" c3plmod_ipc/Makefile || die
-
- export "LIBS=-lgtk-x11-2.0 -lgobject-2.0 -lglib-2.0 -lgmodule-2.0"
- change_dir mv configure.in configure.ac
- change_dir sed -i -e 's/configure.in/configure.ac/' configure.ac
- change_dir eautoreconf
-}
-
-src_configure() {
- change_dir econf
-}
-
-src_compile() {
- change_dir emake AR="$(tc-getAR)"
-
- # Cannot be moved to 'change_dir' as it doesn't need eautoreconf
- cd "${S}/c3plmod_ipc" || die
- emake
-}
-
-src_install() {
- MAKEOPTS+=" -j1" default
-
- einstalldocs
-
- cd "${S}/c3plmod_ipc" || die
- dolib.so libcanonc3pl.so.1.0.0
- dosym libcanonc3pl.so.1.0.0 "/usr/$(get_libdir)/libcanonc3pl.so.1"
- dosym libcanonc3pl.so.1.0.0 "/usr/$(get_libdir)/libcanonc3pl.so"
-
- cd "${S}/data" || die
- insinto /usr/share/caepcm
- doins *
-
- ABI=x86
- cd "${S}/libs" || die
- exeinto $(cups-config --serverbin)/filter
- doexe c3pldrv
- dolib.so libcaepcm.so.1.0
- dosym libcaepcm.so.1.0 "/usr/$(get_libdir)/libcaepcm.so.1"
- dosym libcaepcm.so.1.0 "/usr/$(get_libdir)/libcaepcm.so"
- for lib in *.so.?.?.?; do
- dolib.so "${lib}"
- dosym "${lib}" "/usr/$(get_libdir)/${lib%.?.?}"
- dosym "${lib}" "/usr/$(get_libdir)/${lib%.?.?.?}"
- done
-
- # c3pldrv dlopens the absolute path /usr/lib/libc3pl.so :(, bug #????
- # Only needed with SYMLINK_LIB=yes #642138
- if [[ "$(get_libdir)" != lib ]] && [[ ${SYMLINK_LIB} = yes ]]; then
- dosym "../$(get_libdir)/libc3pl.so" /usr/lib/libc3pl.so
- fi
-
- find "${ED}" -name '*.la' -o -name '*.a' -delete || die
-}
diff --git a/net-print/cndrvcups-common-lb/files/cndrvcups-common-lb-3.70-fno-common.patch b/net-print/cndrvcups-common-lb/files/cndrvcups-common-lb-3.70-fno-common.patch
deleted file mode 100644
index fd17f6b72b19..000000000000
--- a/net-print/cndrvcups-common-lb/files/cndrvcups-common-lb-3.70-fno-common.patch
+++ /dev/null
@@ -1,68 +0,0 @@
---- a/cngplp/src/load.c
-+++ b/cngplp/src/load.c
-@@ -29,6 +29,17 @@ GModule* g_module = NULL;
- char pre_lib_name[MAX_PATH];
- gboolean first_load = TRUE;
-
-+void (*ShowPDLDialog)(const char* name, int print);
-+gboolean (*InitPDLController)(GtkWidget* main_dlg, char *printer_name, const char* print_file, gboolean first_load);
-+void (*UpdatePDLData)(int id, const char* value);
-+void (*UpdatePDLDataInt)(int id, int value);
-+void (*ClosePDLController)();
-+void (*SavePDLPrinterData)();
-+void (*PrintPDLFile)();
-+char* (*GetPDLData)(int id);
-+int (*GetPDLDataInt)(int id, int def);
-+int (*ExecPDLJobMode)();
-+
- int LoadPDL(GladeXML* main_xml, const char* print_file)
- {
- GtkWidget* main_dlg = NULL;
---- a/cngplp/src/load.h
-+++ b/cngplp/src/load.h
-@@ -28,15 +28,15 @@
-
- int LoadPDL(GladeXML* main_xml, const char* print_file);
- void UnLoadPDL();
--void (*ShowPDLDialog)(const char* name, int print);
--gboolean (*InitPDLController)(GtkWidget* main_dlg, char *printer_name, const char* print_file, gboolean first_load);
--void (*UpdatePDLData)(int id, const char* value);
--void (*UpdatePDLDataInt)(int id, int value);
--void (*ClosePDLController)();
--void (*SavePDLPrinterData)();
--void (*PrintPDLFile)();
--char* (*GetPDLData)(int id);
--int (*GetPDLDataInt)(int id, int def);
--int (*ExecPDLJobMode)();
-+extern void (*ShowPDLDialog)(const char* name, int print);
-+extern gboolean (*InitPDLController)(GtkWidget* main_dlg, char *printer_name, const char* print_file, gboolean first_load);
-+extern void (*UpdatePDLData)(int id, const char* value);
-+extern void (*UpdatePDLDataInt)(int id, int value);
-+extern void (*ClosePDLController)();
-+extern void (*SavePDLPrinterData)();
-+extern void (*PrintPDLFile)();
-+extern char* (*GetPDLData)(int id);
-+extern int (*GetPDLDataInt)(int id, int def);
-+extern int (*ExecPDLJobMode)();
-
- #endif
---- a/cngplp/src/mainwnd.c
-+++ b/cngplp/src/mainwnd.c
-@@ -82,6 +82,17 @@ static int g_stdout_fd;
- static void SaveOptions();
- static void LoadOptions();
-
-+extern void (*ShowPDLDialog)(const char* name, int print);
-+extern gboolean (*InitPDLController)(GtkWidget* main_dlg, char *printer_name, const char* print_file, gboolean first_load);
-+extern void (*UpdatePDLData)(int id, const char* value);
-+extern void (*UpdatePDLDataInt)(int id, int value);
-+extern void (*ClosePDLController)();
-+extern void (*SavePDLPrinterData)();
-+extern void (*PrintPDLFile)();
-+extern char* (*GetPDLData)(int id);
-+extern int (*GetPDLDataInt)(int id, int def);
-+extern int (*ExecPDLJobMode)();
-+
- void DisposeMainDlg()
- {
- int i = 0;
diff --git a/net-print/cndrvcups-common-lb/metadata.xml b/net-print/cndrvcups-common-lb/metadata.xml
deleted file mode 100644
index 85e4ed814fa2..000000000000
--- a/net-print/cndrvcups-common-lb/metadata.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<!-- maintainer-needed -->
-</pkgmetadata>
diff --git a/net-print/cndrvcups-lb/Manifest b/net-print/cndrvcups-lb/Manifest
deleted file mode 100644
index b8b441732ad7..000000000000
--- a/net-print/cndrvcups-lb/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST linux-UFRII-drv-v370-uken-05.tar.gz 117334511 BLAKE2B 295c7a710b0f1ee29e642b29c7b0576f68317dba93758825aa85d431129cebea174d5c2dfa67f7506fa3b18fe48d373f0dc9331ed9caabc2e3bc733946aefd97 SHA512 d83254b7f7f87c56caeaaf151d898de36f746c03ad88d427959bdeec905b9cd92a14a8ac534073473a6cefbb5e2b0be9e9faa79b500e252ecd0a0564d2312bbc
diff --git a/net-print/cndrvcups-lb/cndrvcups-lb-3.70-r1.ebuild b/net-print/cndrvcups-lb/cndrvcups-lb-3.70-r1.ebuild
deleted file mode 100644
index 00933033c867..000000000000
--- a/net-print/cndrvcups-lb/cndrvcups-lb-3.70-r1.ebuild
+++ /dev/null
@@ -1,113 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools multilib
-
-MY_PV="$(ver_rs 1- '')"
-SOURCES_NAME="linux-UFRII-drv-v${MY_PV}-uken"
-
-DESCRIPTION="Canon UFR II / LIPSLX Printer Driver for Linux"
-HOMEPAGE="https://www.canon-europe.com/support/products/imagerunner/imagerunner-1730i.html"
-SRC_URI="http://gdlp01.c-wss.com/gds/8/0100007658/08/${SOURCES_NAME}-05.tar.gz"
-S="${WORKDIR}/${SOURCES_NAME}/Sources/${P}"
-
-LICENSE="Canon-UFR-II"
-SLOT="0"
-KEYWORDS="-* amd64 x86"
-IUSE=""
-
-RDEPEND="
- >=dev-libs/libxml2-2.9.1-r4:=[abi_x86_32(-)]
- >=gnome-base/libglade-2.4:2.0
- >=net-print/cups-1.1.17
- ~net-print/cndrvcups-common-lb-${PV}
- >=x11-libs/gtk+-2.4:2
-"
-DEPEND="${RDEPEND}"
-
-MAKEOPTS+=" -j1"
-
-pkg_setup() {
- # Don't raise a fuss over pre-built binaries
- QA_PREBUILT="
- /usr/bin/cnpkbidi
- /usr/bin/cnpkmoduleufr2
- /usr/$(get_abi_LIBDIR x86)/libEnoJPEG.so.1.0.0
- /usr/$(get_abi_LIBDIR x86)/libEnoJBIG.so.1.0.0
- /usr/$(get_abi_LIBDIR x86)/libufr2filter.so.1.0.0
- /usr/$(get_abi_LIBDIR x86)/libcnlbcm.so.1.0
- /usr/$(get_abi_LIBDIR x86)/libcaiocnpkbidi.so.1.0.0
- /usr/$(get_abi_LIBDIR x86)/libcanonufr2.so.1.0.0
- "
- QA_SONAME="/usr/$(get_abi_LIBDIR x86)/libcaiocnpkbidi.so.1.0.0"
-}
-
-src_unpack() {
- unpack ${A}
- cd "${WORKDIR}/${SOURCES_NAME}/Sources/" || die
- unpack ./${P}-1.tar.gz
-}
-
-change_dir() {
- for i in buftool pstoufr2cpca cngplp cngplp/files cpca ; do
- cd "${i}" || die
- "${@}" || die
- cd "${S}" || die
- done
-}
-
-src_prepare() {
- default
- sed -i -e \
- "s:filterdir = \$(libdir)/cups/filter:filterdir = `cups-config --serverbin`/filter:" \
- pstoufr2cpca/filter/Makefile.am || die
-
- export "LIBS=-lgmodule-2.0"
- change_dir mv configure.in configure.ac
- change_dir sed -i -e 's/configure.in/configure.ac/' configure.ac
- change_dir eautoreconf
-}
-
-src_configure() {
- change_dir econf
-}
-
-src_install() {
- default
- einstalldocs
-
- find "${ED}" -name '*.la' -type f -delete || die
-
- insinto /usr/share/cups/model
- doins ppd/*.ppd
-
- cd "${S}/data" || die
- insinto /usr/share/caepcm
- doins *
-
- cd "${S}/libs" || die
- insinto /usr/share/cnpkbidi
- doins cnpkbidi_info*
-
- insinto /usr/share/ufr2filter
- doins ThLB*
-
- ABI=x86
- dobin cnpkbidi cnpkmoduleufr2
- dolib.so libcnlbcm.so.1.0
- dosym libcnlbcm.so.1.0 "/usr/$(get_libdir)/libcnlbcm.so.1"
- dosym libcnlbcm.so.1.0 "/usr/$(get_libdir)/libcnlbcm.so"
- for lib in *.so.?.?.?; do
- dolib.so "${lib}"
- dosym "${lib}" "/usr/$(get_libdir)/${lib%.?.?}"
- dosym "${lib}" "/usr/$(get_libdir)/${lib%.?.?.?}"
- done
-
- # c3pldrv dlopens the absolute path /usr/lib/libcnlbcm.so :(, bug #????
- # Only needed with SYMLINK_LIB=yes #642138
- if [[ "$(get_libdir)" != lib ]] && [[ ${SYMLINK_LIB} = yes ]]; then
- dosym "../$(get_libdir)/libcnlbcm.so" /usr/lib/libcnlbcm.so
- fi
-}
diff --git a/net-print/cndrvcups-lb/metadata.xml b/net-print/cndrvcups-lb/metadata.xml
deleted file mode 100644
index 85e4ed814fa2..000000000000
--- a/net-print/cndrvcups-lb/metadata.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<!-- maintainer-needed -->
-</pkgmetadata>
diff --git a/net-print/cnijfilter2/Manifest b/net-print/cnijfilter2/Manifest
deleted file mode 100644
index f79a2ab096a0..000000000000
--- a/net-print/cnijfilter2/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST cnijfilter2-source-6.70-1.tar.gz 3014630 BLAKE2B f1a36c1e24406c5e67bf5a024997dec1788aec77eceaa237dc678a0d55de1434c7a5ad23cda7f44b978cf01f214435afb8588d1b04dc0ab60c37d4c2f56e5fac SHA512 a6e345082eb0c6d9f80011e8e9c6edc5db63ad719c2b4953bce7d0de05493dcb8443a8a4bb88925349a2ceab64645eec91a73fee796cc363947ebe40534af5e4
-DIST cnijfilter2-source-6.81-1.tar.gz 3207300 BLAKE2B 25efd4dc6af05ccd897db96e0bbdb5515c727599a72ce3e9b8d1b5486ec5828131b292571f971a37b9eb3d2bb10fe0ea3f3c07be59943ff8a9475127ba8e8bcb SHA512 30327725ebb87d2b100d0f4336bb6c21a1e8e443cae2af3c11c67c89c81ee1042bf8c33246ea33d168def3798bfc74f7d5c09ad99c91ac4d68b51984747d9ea5
diff --git a/net-print/cnijfilter2/cnijfilter2-6.70-r1.ebuild b/net-print/cnijfilter2/cnijfilter2-6.70-r1.ebuild
deleted file mode 100644
index 582d84ec87d3..000000000000
--- a/net-print/cnijfilter2/cnijfilter2-6.70-r1.ebuild
+++ /dev/null
@@ -1,80 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools
-
-MY_P="${PN}-source-${PV}-1"
-
-DESCRIPTION="IJ Printer Driver"
-HOMEPAGE="https://www.usa.canon.com/support/p/pixma-g4270#idReference%3Dsoftware-drivers"
-SRC_URI="https://gdlp01.c-wss.com/gds/7/0100012137/01/${PN}-source-${PV}-1.tar.gz"
-
-S="${WORKDIR}"/${MY_P}
-
-LICENSE="Canon-IJ"
-SLOT="0"
-KEYWORDS="amd64 x86"
-
-DEPEND="virtual/libusb:1
- dev-libs/libxml2:=
- net-print/cups"
-RDEPEND="${DEPEND}"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-6.50-gentoo.patch
- "${FILESDIR}"/${PN}-5.80-cflags.patch
- "${FILESDIR}"/${PN}-5.80-fno-common.patch
- "${FILESDIR}"/${PN}-6.60-c99.patch
- "${FILESDIR}"/${P}-c23.patch
-)
-
-pkg_setup() {
- QA_PREBUILT="
- /usr/$(get_libdir)/libcnbpnet30.so.1.0.0
- /usr/$(get_libdir)/libcnbpcnclapicom2.so.5.0.0
- /usr/$(get_libdir)/libcnnet2.so.1.2.5
- /usr/$(get_libdir)/libcnbpnet20.so.1.0.0
- /usr/bin/cnijlgmon3
- "
-}
-
-src_prepare() {
- default
- DIRS="cmdtocanonij2 cmdtocanonij3 cnijbe2 lgmon3 rastertocanonij tocanonij tocnpwg"
- LIBDIR=com/libs_bin$(usex amd64 _x86_64 _i686)
- for d in ${DIRS}; do
- mv "${d}"/configure.{in,ac} || die
- done
- echo "AC_INIT([${PN}], [${PV}])" >> configure.ac
- echo "AM_INIT_AUTOMAKE" >> configure.ac
- echo "AC_CONFIG_SUBDIRS([${DIRS}])" >> configure.ac
- echo "AC_CONFIG_FILES([Makefile])" >> configure.ac
- echo "AC_OUTPUT()" >> configure.ac
- echo "SUBDIRS= ${DIRS}" >> Makefile.am
- sed -i \
- -e "/^CFLAGS/d" \
- */configure.ac \
- cnijbe2/src/Makefile.am || die
- eautoreconf
- cd ${LIBDIR}
- rm libcn*.so || die
- ln -sf libcnbpcnclapicom2.so.5.0.0 libcnbpcnclapicom2.so || die
- ln -sf libcnbpnet20.so.1.0.0 libcnbpnet20.so || die
- ln -sf libcnbpnet30.so.1.0.0 libcnbpnet30.so || die
- ln -sf libcnnet2.so.1.2.5 libcnnet2.so || die
-
- cd -
-}
-
-src_configure() {
- econf --enable-progpath="${EPREFIX}/usr/bin" LDFLAGS="-L${S}/${LIBDIR} ${LDFLAGS}"
-}
-
-src_install() {
- default
- insinto /usr/share/ppd/cupsfilters
- doins ppd/*ppd
- dolib.so ${LIBDIR}/*
-}
diff --git a/net-print/cnijfilter2/cnijfilter2-6.81.ebuild b/net-print/cnijfilter2/cnijfilter2-6.81.ebuild
deleted file mode 100644
index 7fb06518a472..000000000000
--- a/net-print/cnijfilter2/cnijfilter2-6.81.ebuild
+++ /dev/null
@@ -1,80 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools
-
-MY_P="${PN}-source-${PV}-1"
-
-DESCRIPTION="IJ Printer Driver"
-HOMEPAGE="https://www.usa.canon.com/support/p/pixma-g4270#idReference%3Dsoftware-drivers"
-SRC_URI="https://gdlp01.c-wss.com/gds/4/0100012534/01/${MY_P}.tar.gz"
-
-S="${WORKDIR}"/${MY_P}
-
-LICENSE="Canon-IJ"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-DEPEND="virtual/libusb:1
- dev-libs/libxml2:=
- net-print/cups"
-RDEPEND="${DEPEND}"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-6.50-gentoo.patch
- "${FILESDIR}"/${PN}-5.80-cflags.patch
- "${FILESDIR}"/${PN}-5.80-fno-common.patch
- "${FILESDIR}"/${PN}-6.60-c99.patch
- "${FILESDIR}"/${PN}-6.70-c23.patch
-)
-
-pkg_setup() {
- QA_PREBUILT="
- /usr/$(get_libdir)/libcnbpnet30.so.1.0.0
- /usr/$(get_libdir)/libcnbpcnclapicom2.so.5.0.0
- /usr/$(get_libdir)/libcnnet2.so.1.2.5
- /usr/$(get_libdir)/libcnbpnet20.so.1.0.0
- /usr/bin/cnijlgmon3
- "
-}
-
-src_prepare() {
- default
- DIRS="cmdtocanonij2 cmdtocanonij3 cnijbe2 lgmon3 rastertocanonij tocanonij tocnpwg"
- LIBDIR=com/libs_bin$(usex amd64 _x86_64 _i686)
- for d in ${DIRS}; do
- mv "${d}"/configure.{in,ac} || die
- done
- echo "AC_INIT([${PN}], [${PV}])" >> configure.ac
- echo "AM_INIT_AUTOMAKE" >> configure.ac
- echo "AC_CONFIG_SUBDIRS([${DIRS}])" >> configure.ac
- echo "AC_CONFIG_FILES([Makefile])" >> configure.ac
- echo "AC_OUTPUT()" >> configure.ac
- echo "SUBDIRS= ${DIRS}" >> Makefile.am
- sed -i \
- -e "/^CFLAGS/d" \
- */configure.ac \
- cnijbe2/src/Makefile.am || die
- eautoreconf
- cd ${LIBDIR}
- rm libcn*.so || die
- ln -sf libcnbpcnclapicom2.so.5.0.0 libcnbpcnclapicom2.so || die
- ln -sf libcnbpnet20.so.1.0.0 libcnbpnet20.so || die
- ln -sf libcnbpnet30.so.1.0.0 libcnbpnet30.so || die
- ln -sf libcnnet2.so.1.2.5 libcnnet2.so || die
-
- cd -
-}
-
-src_configure() {
- econf --enable-progpath="${EPREFIX}/usr/bin" LDFLAGS="-L${S}/${LIBDIR} ${LDFLAGS}"
-}
-
-src_install() {
- default
- insinto /usr/share/ppd/cupsfilters
- doins ppd/*ppd
- dolib.so ${LIBDIR}/*
-}
diff --git a/net-print/cnijfilter2/files/cnijfilter2-5.80-cflags.patch b/net-print/cnijfilter2/files/cnijfilter2-5.80-cflags.patch
deleted file mode 100644
index e76176e003b1..000000000000
--- a/net-print/cnijfilter2/files/cnijfilter2-5.80-cflags.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- a/lgmon3/src/Makefile.am 2020-05-13 23:18:47.936735159 +0200
-+++ b/lgmon3/src/Makefile.am 2020-05-13 23:19:12.239525072 +0200
-@@ -6,6 +6,6 @@
-
- cnijlgmon3_SOURCES = cnijcomif.c cnijifusb.c cnijlgmon3.c cnijifnet.c keytext.c cnijifnet2.c cnijutil.c
-
--CFLAGS = -O2 -Wall -I/usr/include/libusb-1.0 -I./common @XML2_CFLAGS@
-+AM_CPPFLAGS = -I/usr/include/libusb-1.0 -I./common @XML2_CFLAGS@
-
- cnijlgmon3_LDADD = -ldl -lusb-1.0 -lcnnet2 -lxml2 -lcnbpcnclapicom2 -lcnbpnet30
diff --git a/net-print/cnijfilter2/files/cnijfilter2-5.80-fno-common.patch b/net-print/cnijfilter2/files/cnijfilter2-5.80-fno-common.patch
deleted file mode 100644
index 7374aa92fba9..000000000000
--- a/net-print/cnijfilter2/files/cnijfilter2-5.80-fno-common.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/lgmon3/src/cnijlgmon3.c 2020-05-16 19:28:03.585781655 +0200
-+++ b/lgmon3/src/cnijlgmon3.c 2020-05-16 19:28:13.488625335 +0200
-@@ -55,7 +55,7 @@
- int (*GET_STATUS)(char *, int, int *, int * , char *);
- int (*GET_STATUS2)(char *, int, char *, int *, int * , char *, char *);
- int (*GET_STATUS2_MAINTENANCE)(char *, int, char *, int *, int * , char *, char *);
--int (*GET_PROTOCOL)(char *, size_t);
-+static int (*GET_PROTOCOL)(char *, size_t);
-
-
- int main(int argc, char *argv[])
diff --git a/net-print/cnijfilter2/files/cnijfilter2-6.50-gentoo.patch b/net-print/cnijfilter2/files/cnijfilter2-6.50-gentoo.patch
deleted file mode 100644
index cdc5f936824e..000000000000
--- a/net-print/cnijfilter2/files/cnijfilter2-6.50-gentoo.patch
+++ /dev/null
@@ -1,58 +0,0 @@
---- a/cmdtocanonij2/filter/Makefile.am 2018-01-14 18:14:20.645473030 +0100
-+++ b/cmdtocanonij2/filter/Makefile.am 2018-01-14 18:14:36.078219959 +0100
-@@ -1,4 +1,4 @@
--filterdir=$(libdir)/cups/filter
-+filterdir=$(libexecdir)/cups/filter
-
- filter_PROGRAMS= cmdtocanonij2
-
---- a/cmdtocanonij3/filter/Makefile.am 2018-01-14 18:14:20.645473030 +0100
-+++ b/cmdtocanonij3/filter/Makefile.am 2018-01-14 18:14:36.078219959 +0100
-@@ -1,4 +1,4 @@
--filterdir=$(libdir)/cups/filter
-+filterdir=$(libexecdir)/cups/filter
-
- filter_PROGRAMS= cmdtocanonij3
-
---- a/cnijbe2/src/Makefile.am 2023-02-15 19:25:48.823470121 +0100
-+++ b/cnijbe2/src/Makefile.am 2023-02-15 19:25:59.316275741 +0100
-@@ -1,6 +1,6 @@
- ## Process this file with automake to produce Makefile.in
-
--backend_bindir = $(libdir)/cups/backend
-+backend_bindir = $(libexecdir)/cups/backend
- backend_bin_PROGRAMS = cnijbe2
- transform =
-
---- a/rastertocanonij/src/Makefile.am 2018-01-14 21:31:33.053307218 +0100
-+++ b/rastertocanonij/src/Makefile.am 2018-01-14 21:31:41.106166479 +0100
-@@ -1,4 +1,4 @@
--filterdir=$(libdir)/cups/filter
-+filterdir=$(libexecdir)/cups/filter
-
- filter_PROGRAMS= rastertocanonij
-
---- a/tocanonij/src/Makefile.am 2018-01-15 22:38:14.236460663 +0100
-+++ b/tocanonij/src/Makefile.am 2018-01-15 22:38:39.184018933 +0100
-@@ -1,7 +1,8 @@
- INCLUDES = \
- -I$(top_srcdir)/include/cncl
-
--bin_PROGRAMS= tocanonij
-+filterdir=$(libexecdir)/cups/filter
-+filter_PROGRAMS= tocanonij
-
- tocanonij_SOURCES= \
- main.c
---- a/tocnpwg/src/Makefile.am 2018-01-15 22:42:43.759703863 +0100
-+++ b/tocnpwg/src/Makefile.am 2018-01-15 22:43:10.442232986 +0100
-@@ -2,7 +2,8 @@
- INCLUDES = \
- @XML_2_CFLAGS@
-
--bin_PROGRAMS= tocnpwg
-+filterdir=$(libexecdir)/cups/filter
-+filter_PROGRAMS= tocnpwg
-
- tocnpwg_SOURCES= \
- main.c mkpset.c
diff --git a/net-print/cnijfilter2/files/cnijfilter2-6.60-c99.patch b/net-print/cnijfilter2/files/cnijfilter2-6.60-c99.patch
deleted file mode 100644
index d328d1d1f63c..000000000000
--- a/net-print/cnijfilter2/files/cnijfilter2-6.60-c99.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- a/lgmon3/src/keytext.c 2024-02-20 07:45:11.719827112 +0100
-+++ b/lgmon3/src/keytext.c 2024-02-20 07:46:15.504048256 +0100
-@@ -37,6 +37,7 @@
- #include <unistd.h>
- #include <libxml/parser.h> /* Ver.2.80 */
- #include <string.h>
-+#include <stdlib.h>
-
- #include "keytext.h"
-
diff --git a/net-print/cnijfilter2/files/cnijfilter2-6.70-c23.patch b/net-print/cnijfilter2/files/cnijfilter2-6.70-c23.patch
deleted file mode 100644
index 93af6c24257d..000000000000
--- a/net-print/cnijfilter2/files/cnijfilter2-6.70-c23.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- a/lgmon3/src/common/libcnnet2_type.h 2024-11-28 10:21:02.088649219 +0100
-+++ b/lgmon3/src/common/libcnnet2_type.h 2024-11-28 10:22:01.171874307 +0100
-@@ -48,8 +48,10 @@
- } CNNET2_SETTING_FLAGS;
-
- #ifndef __cplusplus
-+#if (__STDC_VERSION__ <= 201710L)
- typedef char bool;
- #endif
-+#endif
-
- typedef struct {
- int nicIndex_;
diff --git a/net-print/cnijfilter2/metadata.xml b/net-print/cnijfilter2/metadata.xml
deleted file mode 100644
index 8c0d75248cf7..000000000000
--- a/net-print/cnijfilter2/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>tupone@gentoo.org</email>
- <name>Tupone Alfredo</name>
- </maintainer>
-</pkgmetadata>
diff --git a/net-print/cnrdrvcups-lb/Manifest b/net-print/cnrdrvcups-lb/Manifest
deleted file mode 100644
index 38b30046937b..000000000000
--- a/net-print/cnrdrvcups-lb/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST linux-UFRII-drv-v540-uken-08.tar.gz 188874055 BLAKE2B 150b917d20566de5658bfd46d06e2568924267a046e9083289878e0b51ab05744fefbcebd8e61694d937fd1dde769c0c8f06b6248eacebf3ac8d8706f7baa1f8 SHA512 c488fbaee081b3cd601282e737af0ce1d141a9ae940daa2335ef4da833cdb9fbdda3cc378f4e49b26700b36911dc7b142ef0665e1cacef505f91a666736e62dc
-DIST linux-UFRII-drv-v580-m17n-08.tar.gz 66915545 BLAKE2B 5b07c74079c2c5b4a8b360389d426d61026198b9f3c148098b7d32a900912a6d72951f5550896ae7b89418147637dc47fc4351bdc11775958d877c33359a9251 SHA512 650b5fce570dc464d2bd269f6671c276c064f0696170aabbace9811f28da86aeb8fe21badc0ec3d2814943911f35897aa59da26f44797943e97da36e5838409c
diff --git a/net-print/cnrdrvcups-lb/cnrdrvcups-lb-5.40-r1.ebuild b/net-print/cnrdrvcups-lb/cnrdrvcups-lb-5.40-r1.ebuild
deleted file mode 100644
index d70e1d37eb93..000000000000
--- a/net-print/cnrdrvcups-lb/cnrdrvcups-lb-5.40-r1.ebuild
+++ /dev/null
@@ -1,200 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools desktop flag-o-matic toolchain-funcs
-
-CANON_REL="08"
-DL_ID="8/0100007658/25"
-MY_PV="${PV//\./}"
-
-DESCRIPTION="Canon UFR II / LIPSLX Printer Driver for Linux"
-HOMEPAGE="https://www.canon-europe.com/support/products/imagerunner/"
-SRC_URI="https://gdlp01.c-wss.com/gds/${DL_ID}/linux-UFRII-drv-v${MY_PV}-uken-${CANON_REL}.tar.gz"
-
-LICENSE="Canon-UFR-II GPL-2 MIT"
-SLOT="0"
-KEYWORDS="-* amd64 x86"
-IUSE=""
-
-DEPEND="dev-libs/atk
- dev-libs/glib:2
- dev-libs/libxml2:2=
- gnome-base/libglade:2.0
- media-libs/jbigkit
- media-libs/libjpeg-turbo
- net-print/cups
- x11-libs/cairo
- x11-libs/gdk-pixbuf:2
- x11-libs/gtk+:2
- x11-libs/gtk+:3
- x11-libs/pango"
-RDEPEND="${DEPEND}
- !net-print/cndrvcups-common-lb
- !net-print/cndrvcups-lb"
-
-HTML_DOCS=(
- "${WORKDIR}"/linux-UFRII-drv-v${MY_PV}-uken/Documents/README-ufr2-${PV//0}xUK.html
- "${WORKDIR}"/linux-UFRII-drv-v${MY_PV}-uken/Documents/UsersGuide-ufr2-UK.html
-)
-
-S="${WORKDIR}/linux-UFRII-drv-v${MY_PV}-uken/Sources"
-
-common_op() {
- local i
- for i in backend buftool cngplp cnjbig rasterfilter; do
- cd "${S}/cnrdrvcups-common-${PV}/${i}" ||
- die "failed to switch dir to ${i}"
- "${@}"
- cd "${S}" || die "failed to switch dir back from ${i} to ${S}"
- done
-}
-
-driver_op() {
- local i
- for i in cngplp cngplp/files cpca pdftocpca; do
- cd "${S}/cnrdrvcups-lb-${PV}/${i}" ||
- die "failed to switch dir to ${i}"
- "${@}"
- cd "${S}" || die "failed to switch dir back from ${i} to ${S}"
- done
-}
-
-pkg_setup() {
- QA_PREBUILT="/usr/bin/cnsetuputil2
- /usr/bin/cnrsdrvufr2
- /usr/bin/cnpkmoduleufr2r
- /usr/bin/cnpkbidir
- /usr/bin/cnpdfdrv
- /usr/$(get_libdir)/libufr2filterr.so.1.0.0
- /usr/$(get_libdir)/libColorGearCufr2.so.2.0.0
- /usr/$(get_libdir)/libcnlbcmr.so.1.0
- /usr/$(get_libdir)/libcanon_slimufr2.so.1.0.0
- /usr/$(get_libdir)/libcanonufr2r.so.1.0.0
- /usr/$(get_libdir)/libcaiowrapufr2.so.1.0.0
- /usr/$(get_libdir)/libcaiocnpkbidir.so.1.0.0
- /usr/$(get_libdir)/libcaepcmufr2.so.1.0"
-
- QA_SONAME="/usr/$(get_libdir)/libcaiocnpkbidir.so.1.0.0"
-}
-
-src_unpack() {
- unpack ${A}
- cd "${WORKDIR}/linux-UFRII-drv-v${MY_PV}-uken/Sources/" || die
- unpack ./${P}-1.tar.gz
-}
-
-src_prepare() {
- default
-
- common_op mv configure.in configure.ac || die "failed to move configure.in"
- driver_op mv configure.in configure.ac || die "failed to move configure.in"
-
- common_op sed -i -e 's/configure.in/configure.ac/' configure.ac || die
- driver_op sed -i -e 's/configure.in/configure.ac/' configure.ac || die
-
- # This should work with autoreconf
- export "LIBS=-lgtk-x11-2.0 -lgobject-2.0 -lglib-2.0 -lgmodule-2.0"
-
- # Other components already depend on compiled product
- append-ldflags -L"${S}/cnrdrvcups-common-${PV}/buftool"
-
- common_op eautoreconf
- driver_op eautoreconf
-
- # Fix a QA issue with .desktop file,
- sed -i 's/Application;Utility/Utility/g' "${S}"/cnrdrvcups-utility-${PV}/data/cnsetuputil2.desktop ||
- die "Failed to modify cnsetuputil2.desktop file."
-
- append-cflags -fcommon
-
- # For some reason, @AR@ is defined everywhere else correctly, but not here.
- sed -i -e "s/AR = ar/AR = $(tc-getAR)/g" ./cnrdrvcups-common-${PV}/buftool/Makefile.in || die
-}
-
-src_configure() {
- common_op econf
- driver_op econf
-}
-
-src_compile() {
- common_op emake
- driver_op emake
-}
-
-src_install() {
- common_op emake DESTDIR="${D}" install COMMON_SUFFIX=2
- driver_op emake DESTDIR="${D}" install COMMON_SUFFIX=2
-
- insinto /usr/share/cups
- doins "${S}"/cnrdrvcups-common-${PV}/Rule/canon-laser-printer_ufr2.usb-quirks
-
- if use amd64; then
- cd "${S}"/lib/libs64/intel/ || die "failed to switch into libs64"
- elif use x86; then
- cd "${S}"/lib/libs32/intel/ || die "failed to switch into libs32"
- else
- die "I don't know what directory to switch into!"
- fi
-
- dolib.so libcaepcmufr2.so.1.0 libcaiocnpkbidir.so.1.0.0 \
- libcaiowrapufr2.so.1.0.0 libcanonufr2r.so.1.0.0 \
- libcanon_slimufr2.so.1.0.0 libcnlbcmr.so.1.0 \
- libColorGearCufr2.so.2.0.0 libufr2filterr.so.1.0.0
-
- dosym libcaepcmufr2.so.1.0 /usr/$(get_libdir)/libcaepcmufr2.so
- dosym libcaepcmufr2.so.1.0 /usr/$(get_libdir)/libcaepcmufr2.so.1
-
- dosym libcaiocnpkbidir.so.1.0.0 /usr/$(get_libdir)/libcaiocnpkbidir.so
- dosym libcaiocnpkbidir.so.1.0.0 /usr/$(get_libdir)/libcaiocnpkbidir.so.1
-
- dosym libcaiowrapufr2.so.1.0.0 /usr/$(get_libdir)/libcaiowrapufr2.so
- dosym libcaiowrapufr2.so.1.0.0 /usr/$(get_libdir)/libcaiowrapufr2.so.1
-
- dosym libcanonufr2r.so.1.0.0 /usr/$(get_libdir)/libcanonufr2r.so
- dosym libcanonufr2r.so.1.0.0 /usr/$(get_libdir)/libcanonufr2r.so.1
-
- dosym libcanon_slimufr2.so.1.0.0 /usr/$(get_libdir)/libcanon_slimufr2.so
- dosym libcanon_slimufr2.so.1.0.0 /usr/$(get_libdir)/libcanon_slimufr2.so.1
-
- dosym libcnlbcmr.so.1.0 /usr/$(get_libdir)/libcnlbcmr.so
- dosym libcnlbcmr.so.1.0 /usr/$(get_libdir)/libcnlbcmr.so.1
-
- dosym libColorGearCufr2.so.2.0.0 /usr/$(get_libdir)/libColorGearCufr2.so
- dosym libColorGearCufr2.so.2.0.0 /usr/$(get_libdir)/libColorGearCufr2.so.2
-
- dosym libufr2filterr.so.1.0.0 /usr/$(get_libdir)/libufr2filterr.so
- dosym libufr2filterr.so.1.0.0 /usr/$(get_libdir)/libufr2filterr.so.1
-
- dobin cnpdfdrv cnpkbidir cnpkmoduleufr2r cnrsdrvufr2 cnsetuputil2
-
- insinto /usr/share/cnpkbidir
- doins ./cnpkbidir_info*
-
- insinto /usr/share/ufr2filterr
- doins ./ThLB*
-
- cd "${S}" || die "Failed to switch back into ${S} during installation."
-
- dosym ../../../$(get_libdir)/cups/backend/cnusb /usr/libexec/cups/backend/cnusb
- dosym ../../../$(get_libdir)/cups/filter/pdftocpca /usr/libexec/cups/filter/pdftocpca
- dosym ../../../$(get_libdir)/cups/filter/rastertoufr2 /usr/libexec/cups/filter/rastertoufr2
-
- insinto /usr/share/caepcm/ufr2
- doins -r "${S}"/lib/data/ufr2/
-
- insinto /usr/share/cups/model
- doins ${P}/ppd/*.ppd
-
- domenu ./cnrdrvcups-utility-${PV}/data/cnsetuputil2.desktop
- doicon ./cnrdrvcups-utility-${PV}/data/cnsetuputil.png
-
- einstalldocs
- newdoc "${S}"/cnrdrvcups-common-${PV}/README README.common
- newdoc "${S}"/cnrdrvcups-common-${PV}/cngplp/README README.cngplp.common
- newdoc "${S}"/cnrdrvcups-lb-${PV}/README README.lb
- newdoc "${S}"/cnrdrvcups-lb-${PV}/cngplp/README README.cngplp.driver
-
- find "${D}" -name '*.la' -type f -delete || die
-}
diff --git a/net-print/cnrdrvcups-lb/cnrdrvcups-lb-5.40-r2.ebuild b/net-print/cnrdrvcups-lb/cnrdrvcups-lb-5.40-r2.ebuild
deleted file mode 100644
index 2e5105c9e28d..000000000000
--- a/net-print/cnrdrvcups-lb/cnrdrvcups-lb-5.40-r2.ebuild
+++ /dev/null
@@ -1,208 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools desktop flag-o-matic toolchain-funcs
-
-CANON_REL="08"
-DL_ID="8/0100007658/25"
-MY_PV="${PV//\./}"
-
-DESCRIPTION="Canon UFR II / LIPSLX Printer Driver for Linux"
-HOMEPAGE="https://www.canon-europe.com/support/products/imagerunner/"
-SRC_URI="https://gdlp01.c-wss.com/gds/${DL_ID}/linux-UFRII-drv-v${MY_PV}-uken-${CANON_REL}.tar.gz"
-
-LICENSE="Canon-UFR-II GPL-2 MIT"
-SLOT="0"
-KEYWORDS="-* ~amd64 ~x86"
-IUSE=""
-
-DEPEND="dev-libs/atk
- dev-libs/glib:2
- dev-libs/libxml2:2=
- gnome-base/libglade:2.0
- media-libs/jbigkit
- media-libs/libjpeg-turbo
- net-print/cups
- x11-libs/cairo
- x11-libs/gdk-pixbuf:2
- x11-libs/gtk+:2
- x11-libs/gtk+:3
- x11-libs/pango"
-RDEPEND="${DEPEND}
- !net-print/cndrvcups-common-lb
- !net-print/cndrvcups-lb"
-
-HTML_DOCS=(
- "${WORKDIR}"/linux-UFRII-drv-v${MY_PV}-uken/Documents/README-ufr2-${PV//0}xUK.html
- "${WORKDIR}"/linux-UFRII-drv-v${MY_PV}-uken/Documents/UsersGuide-ufr2-UK.html
-)
-
-S="${WORKDIR}/linux-UFRII-drv-v${MY_PV}-uken/Sources"
-
-common_op() {
- local i
- for i in backend buftool cngplp cnjbig rasterfilter; do
- cd "${S}/cnrdrvcups-common-${PV}/${i}" ||
- die "failed to switch dir to ${i}"
- "${@}"
- cd "${S}" || die "failed to switch dir back from ${i} to ${S}"
- done
-}
-
-driver_op() {
- local i
- for i in cngplp cngplp/files cpca pdftocpca; do
- cd "${S}/cnrdrvcups-lb-${PV}/${i}" ||
- die "failed to switch dir to ${i}"
- "${@}"
- cd "${S}" || die "failed to switch dir back from ${i} to ${S}"
- done
-}
-
-pkg_setup() {
- QA_PREBUILT="/usr/bin/cnsetuputil2
- /usr/bin/cnrsdrvufr2
- /usr/bin/cnpkmoduleufr2r
- /usr/bin/cnpkbidir
- /usr/bin/cnpdfdrv
- /usr/$(get_libdir)/libufr2filterr.so.1.0.0
- /usr/$(get_libdir)/libColorGearCufr2.so.2.0.0
- /usr/$(get_libdir)/libcnlbcmr.so.1.0
- /usr/$(get_libdir)/libcanon_slimufr2.so.1.0.0
- /usr/$(get_libdir)/libcanonufr2r.so.1.0.0
- /usr/$(get_libdir)/libcaiowrapufr2.so.1.0.0
- /usr/$(get_libdir)/libcaiocnpkbidir.so.1.0.0
- /usr/$(get_libdir)/libcaepcmufr2.so.1.0"
-
- QA_SONAME="/usr/$(get_libdir)/libcaiocnpkbidir.so.1.0.0"
-}
-
-src_unpack() {
- unpack ${A}
- cd "${WORKDIR}/linux-UFRII-drv-v${MY_PV}-uken/Sources/" || die
- unpack ./${P}-1.tar.gz
-}
-
-src_prepare() {
- default
-
- # https://bugs.gentoo.org/774324
- common_op sed -i -e 's/$(COMMON_SUFFIX)/${COMMON_SUFFIX}/' configure.in || die
-
- common_op mv configure.in configure.ac || die "failed to move configure.in"
- driver_op mv configure.in configure.ac || die "failed to move configure.in"
-
- common_op sed -i -e 's/configure.in/configure.ac/' configure.ac || die
- driver_op sed -i -e 's/configure.in/configure.ac/' configure.ac || die
-
- # This should work with autoreconf
- export "LIBS=-lgtk-x11-2.0 -lgobject-2.0 -lglib-2.0 -lgmodule-2.0"
-
- # Other components already depend on compiled product
- append-ldflags -L"${S}/cnrdrvcups-common-${PV}/buftool"
-
- common_op eautoreconf
- driver_op eautoreconf
-
- # Fix a QA issue with .desktop file,
- sed -i 's/Application;Utility/Utility/g' "${S}"/cnrdrvcups-utility-${PV}/data/cnsetuputil2.desktop ||
- die "Failed to modify cnsetuputil2.desktop file."
-
- append-cflags -fcommon
-
- # For some reason, @AR@ is defined everywhere else correctly, but not here.
- sed -i -e "s/AR = ar/AR = $(tc-getAR)/g" ./cnrdrvcups-common-${PV}/buftool/Makefile.in || die
-
- eapply -d "${S}/cnrdrvcups-lb-${PV}" -- "${FILESDIR}/${PN}-fix-the-cast-error.patch"
-}
-
-src_configure() {
- common_op econf
- driver_op econf
-}
-
-src_compile() {
- common_op emake
- driver_op emake
-}
-
-src_install() {
- common_op emake DESTDIR="${D}" install COMMON_SUFFIX=2
- driver_op emake DESTDIR="${D}" install COMMON_SUFFIX=2
-
- insinto /usr/share/cups
- doins "${S}"/cnrdrvcups-common-${PV}/Rule/canon-laser-printer_ufr2.usb-quirks
-
- if use amd64; then
- cd "${S}"/lib/libs64/intel/ || die "failed to switch into libs64"
- elif use x86; then
- cd "${S}"/lib/libs32/intel/ || die "failed to switch into libs32"
- else
- die "I don't know what directory to switch into!"
- fi
-
- dolib.so libcaepcmufr2.so.1.0 libcaiocnpkbidir.so.1.0.0 \
- libcaiowrapufr2.so.1.0.0 libcanonufr2r.so.1.0.0 \
- libcanon_slimufr2.so.1.0.0 libcnlbcmr.so.1.0 \
- libColorGearCufr2.so.2.0.0 libufr2filterr.so.1.0.0
-
- dosym libcaepcmufr2.so.1.0 /usr/$(get_libdir)/libcaepcmufr2.so
- dosym libcaepcmufr2.so.1.0 /usr/$(get_libdir)/libcaepcmufr2.so.1
-
- dosym libcaiocnpkbidir.so.1.0.0 /usr/$(get_libdir)/libcaiocnpkbidir.so
- dosym libcaiocnpkbidir.so.1.0.0 /usr/$(get_libdir)/libcaiocnpkbidir.so.1
-
- dosym libcaiowrapufr2.so.1.0.0 /usr/$(get_libdir)/libcaiowrapufr2.so
- dosym libcaiowrapufr2.so.1.0.0 /usr/$(get_libdir)/libcaiowrapufr2.so.1
-
- dosym libcanonufr2r.so.1.0.0 /usr/$(get_libdir)/libcanonufr2r.so
- dosym libcanonufr2r.so.1.0.0 /usr/$(get_libdir)/libcanonufr2r.so.1
-
- dosym libcanon_slimufr2.so.1.0.0 /usr/$(get_libdir)/libcanon_slimufr2.so
- dosym libcanon_slimufr2.so.1.0.0 /usr/$(get_libdir)/libcanon_slimufr2.so.1
-
- dosym libcnlbcmr.so.1.0 /usr/$(get_libdir)/libcnlbcmr.so
- dosym libcnlbcmr.so.1.0 /usr/$(get_libdir)/libcnlbcmr.so.1
-
- dosym libColorGearCufr2.so.2.0.0 /usr/$(get_libdir)/libColorGearCufr2.so
- dosym libColorGearCufr2.so.2.0.0 /usr/$(get_libdir)/libColorGearCufr2.so.2
-
- # https://bugs.gentoo.org/735970
- dosym libColorGearCufr2.so.2.0.0 /usr/$(get_libdir)/libColorGearC.so.2
-
- dosym libufr2filterr.so.1.0.0 /usr/$(get_libdir)/libufr2filterr.so
- dosym libufr2filterr.so.1.0.0 /usr/$(get_libdir)/libufr2filterr.so.1
-
- dobin cnpdfdrv cnpkbidir cnpkmoduleufr2r cnrsdrvufr2 cnsetuputil2
-
- insinto /usr/share/cnpkbidir
- doins ./cnpkbidir_info*
-
- insinto /usr/share/ufr2filterr
- doins ./ThLB*
-
- cd "${S}" || die "Failed to switch back into ${S} during installation."
-
- dosym ../../../$(get_libdir)/cups/backend/cnusb /usr/libexec/cups/backend/cnusb
- dosym ../../../$(get_libdir)/cups/filter/pdftocpca /usr/libexec/cups/filter/pdftocpca
- dosym ../../../$(get_libdir)/cups/filter/rastertoufr2 /usr/libexec/cups/filter/rastertoufr2
-
- insinto /usr/share/caepcm/ufr2
- doins -r "${S}"/lib/data/ufr2/
-
- insinto /usr/share/cups/model
- doins ${P}/ppd/*.ppd
-
- domenu ./cnrdrvcups-utility-${PV}/data/cnsetuputil2.desktop
- doicon ./cnrdrvcups-utility-${PV}/data/cnsetuputil.png
-
- einstalldocs
- newdoc "${S}"/cnrdrvcups-common-${PV}/README README.common
- newdoc "${S}"/cnrdrvcups-common-${PV}/cngplp/README README.cngplp.common
- newdoc "${S}"/cnrdrvcups-lb-${PV}/README README.lb
- newdoc "${S}"/cnrdrvcups-lb-${PV}/cngplp/README README.cngplp.driver
-
- find "${D}" -name '*.la' -type f -delete || die
-}
diff --git a/net-print/cnrdrvcups-lb/cnrdrvcups-lb-5.80-r1.ebuild b/net-print/cnrdrvcups-lb/cnrdrvcups-lb-5.80-r1.ebuild
deleted file mode 100644
index 6c18870fc620..000000000000
--- a/net-print/cnrdrvcups-lb/cnrdrvcups-lb-5.80-r1.ebuild
+++ /dev/null
@@ -1,200 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools desktop flag-o-matic toolchain-funcs
-
-CANON_REL="08"
-DL_ID="8/0100007658/25"
-MY_PV="${PV//\./}"
-
-DESCRIPTION="Canon UFR II / LIPSLX Printer Driver for Linux"
-HOMEPAGE="https://www.canon-europe.com/support/products/imagerunner/"
-SRC_URI="https://pdisp01.c-wss.com/gdl/WWUFORedirectTarget.do?id=MDEwMDAwNzY1ODM5&cmp=ABX&lang=EN -> linux-UFRII-drv-v${MY_PV}-m17n-${CANON_REL}.tar.gz"
-
-LICENSE="Canon-UFR-II GPL-2 MIT"
-SLOT="0"
-KEYWORDS="-* amd64 x86"
-IUSE=""
-
-DEPEND="dev-libs/atk
- dev-libs/glib:2
- dev-libs/libxml2:2=
- gnome-base/libglade:2.0
- media-libs/jbigkit
- media-libs/libjpeg-turbo
- net-print/cups
- x11-libs/cairo
- x11-libs/gdk-pixbuf:2
- x11-libs/gtk+:2
- x11-libs/gtk+:3
- x11-libs/pango"
-RDEPEND="${DEPEND}
- !net-print/cndrvcups-common-lb
- !net-print/cndrvcups-lb"
-
-HTML_DOCS=(
- "${WORKDIR}"/linux-UFRII-drv-v${MY_PV}-m17n/Documents/uk_eng/README-ufr2-${PV//0}xUK.html
- "${WORKDIR}"/linux-UFRII-drv-v${MY_PV}-m17n/Documents/uk_eng/UsersGuide-ufr2-UK.html
-)
-
-S="${WORKDIR}/linux-UFRII-drv-v${MY_PV}-m17n/Sources"
-
-common_op() {
- local i
- for i in backend buftool cngplp cnjbig rasterfilter; do
- cd "${S}/cnrdrvcups-common-${PV}/${i}" ||
- die "failed to switch dir to ${i}"
- "${@}"
- cd "${S}" || die "failed to switch dir back from ${i} to ${S}"
- done
-}
-
-driver_op() {
- local i
- for i in cngplp cngplp/files cpca pdftocpca; do
- cd "${S}/cnrdrvcups-lb-${PV}/${i}" ||
- die "failed to switch dir to ${i}"
- "${@}"
- cd "${S}" || die "failed to switch dir back from ${i} to ${S}"
- done
-}
-
-pkg_setup() {
- QA_PREBUILT="/usr/bin/cnsetuputil2
- /usr/bin/cnrsdrvufr2
- /usr/bin/cnpkmoduleufr2r
- /usr/bin/cnpkbidir
- /usr/bin/cnpdfdrv
- /usr/$(get_libdir)/libufr2filterr.so.1.0.0
- /usr/$(get_libdir)/libColorGearCufr2.so.2.0.0
- /usr/$(get_libdir)/libcnlbcmr.so.1.0
- /usr/$(get_libdir)/libcanon_slimufr2.so.1.0.0
- /usr/$(get_libdir)/libcanonufr2r.so.1.0.0
- /usr/$(get_libdir)/libcaiowrapufr2.so.1.0.0
- /usr/$(get_libdir)/libcaiocnpkbidir.so.1.0.0
- /usr/$(get_libdir)/libcaepcmufr2.so.1.0"
-
- QA_SONAME="/usr/$(get_libdir)/libcaiocnpkbidir.so.1.0.0"
-}
-
-src_unpack() {
- unpack ${A}
- cd "${WORKDIR}/linux-UFRII-drv-v${MY_PV}-m17n/Sources/" || die
- unpack ./${P}-1.05.tar.xz
-}
-
-src_prepare() {
- default
-
- common_op mv configure.in configure.ac || die "failed to move configure.in"
- driver_op mv configure.in configure.ac || die "failed to move configure.in"
-
- common_op sed -i -e 's/configure.in/configure.ac/' configure.ac || die
- driver_op sed -i -e 's/configure.in/configure.ac/' configure.ac || die
-
- # This should work with autoreconf
- export "LIBS=-lgtk-x11-2.0 -lgobject-2.0 -lglib-2.0 -lgmodule-2.0"
-
- # Other components already depend on compiled product
- append-ldflags -L"${S}/cnrdrvcups-common-${PV}/buftool"
-
- common_op eautoreconf
- driver_op eautoreconf
-
- # Fix a QA issue with .desktop file,
- sed -i 's/Application;Utility/Utility/g' "${S}"/cnrdrvcups-utility-${PV}/data/cnsetuputil2.desktop ||
- die "Failed to modify cnsetuputil2.desktop file."
-
- append-cflags -fcommon
-
- # For some reason, @AR@ is defined everywhere else correctly, but not here.
- sed -i -e "s/AR = ar/AR = $(tc-getAR)/g" ./cnrdrvcups-common-${PV}/buftool/Makefile.in || die
-}
-
-src_configure() {
- common_op econf
- driver_op econf
-}
-
-src_compile() {
- common_op emake
- driver_op emake
-}
-
-src_install() {
- common_op emake DESTDIR="${D}" install COMMON_SUFFIX=2
- driver_op emake DESTDIR="${D}" install COMMON_SUFFIX=2
-
- insinto /usr/share/cups
- doins "${S}"/cnrdrvcups-common-${PV}/Rule/canon-laser-printer.usb-quirks
-
- if use amd64; then
- cd "${S}"/lib/libs64/intel/ || die "failed to switch into libs64"
- elif use x86; then
- cd "${S}"/lib/libs32/intel/ || die "failed to switch into libs32"
- else
- die "I don't know what directory to switch into!"
- fi
-
- dolib.so libcaepcmufr2.so.1.0 libcaiocnpkbidir.so.1.0.0 \
- libcaiowrapufr2.so.1.0.0 libcanonufr2r.so.1.0.0 \
- libcanon_slimufr2.so.1.0.0 libcnlbcmr.so.1.0 \
- libColorGearCufr2.so.2.0.0 libufr2filterr.so.1.0.0
-
- dosym libcaepcmufr2.so.1.0 /usr/$(get_libdir)/libcaepcmufr2.so
- dosym libcaepcmufr2.so.1.0 /usr/$(get_libdir)/libcaepcmufr2.so.1
-
- dosym libcaiocnpkbidir.so.1.0.0 /usr/$(get_libdir)/libcaiocnpkbidir.so
- dosym libcaiocnpkbidir.so.1.0.0 /usr/$(get_libdir)/libcaiocnpkbidir.so.1
-
- dosym libcaiowrapufr2.so.1.0.0 /usr/$(get_libdir)/libcaiowrapufr2.so
- dosym libcaiowrapufr2.so.1.0.0 /usr/$(get_libdir)/libcaiowrapufr2.so.1
-
- dosym libcanonufr2r.so.1.0.0 /usr/$(get_libdir)/libcanonufr2r.so
- dosym libcanonufr2r.so.1.0.0 /usr/$(get_libdir)/libcanonufr2r.so.1
-
- dosym libcanon_slimufr2.so.1.0.0 /usr/$(get_libdir)/libcanon_slimufr2.so
- dosym libcanon_slimufr2.so.1.0.0 /usr/$(get_libdir)/libcanon_slimufr2.so.1
-
- dosym libcnlbcmr.so.1.0 /usr/$(get_libdir)/libcnlbcmr.so
- dosym libcnlbcmr.so.1.0 /usr/$(get_libdir)/libcnlbcmr.so.1
-
- dosym libColorGearCufr2.so.2.0.0 /usr/$(get_libdir)/libColorGearCufr2.so
- dosym libColorGearCufr2.so.2.0.0 /usr/$(get_libdir)/libColorGearCufr2.so.2
-
- dosym libufr2filterr.so.1.0.0 /usr/$(get_libdir)/libufr2filterr.so
- dosym libufr2filterr.so.1.0.0 /usr/$(get_libdir)/libufr2filterr.so.1
-
- dobin cnpdfdrv cnpkbidir cnpkmoduleufr2r cnrsdrvufr2 cnsetuputil2
-
- insinto /usr/share/cnpkbidir
- doins ./cnpkbidir_info*
-
- insinto /usr/share/ufr2filterr
- doins ./ThLB*
-
- cd "${S}" || die "Failed to switch back into ${S} during installation."
-
- dosym ../../../$(get_libdir)/cups/backend/cnusb /usr/libexec/cups/backend/cnusb
- dosym ../../../$(get_libdir)/cups/filter/pdftocpca /usr/libexec/cups/filter/pdftocpca
- dosym ../../../$(get_libdir)/cups/filter/rastertoufr2 /usr/libexec/cups/filter/rastertoufr2
-
- insinto /usr/share/caepcm/ufr2
- doins -r "${S}"/lib/data/ufr2/
-
- insinto /usr/share/cups/model
- doins ${P}/ppd/*.ppd
-
- domenu ./cnrdrvcups-utility-${PV}/data/cnsetuputil2.desktop
- doicon ./cnrdrvcups-utility-${PV}/data/cnsetuputil.png
-
- einstalldocs
- newdoc "${S}"/cnrdrvcups-common-${PV}/README README.common
- newdoc "${S}"/cnrdrvcups-common-${PV}/cngplp/README README.cngplp.common
- newdoc "${S}"/cnrdrvcups-lb-${PV}/README README.lb
- newdoc "${S}"/cnrdrvcups-lb-${PV}/cngplp/README README.cngplp.driver
-
- find "${D}" -name '*.la' -type f -delete || die
-}
diff --git a/net-print/cnrdrvcups-lb/cnrdrvcups-lb-5.80-r2.ebuild b/net-print/cnrdrvcups-lb/cnrdrvcups-lb-5.80-r2.ebuild
deleted file mode 100644
index e6b5dbf93007..000000000000
--- a/net-print/cnrdrvcups-lb/cnrdrvcups-lb-5.80-r2.ebuild
+++ /dev/null
@@ -1,212 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools desktop flag-o-matic toolchain-funcs
-
-CANON_REL="08"
-DL_ID="8/0100007658/25"
-MY_PV="${PV//\./}"
-
-DESCRIPTION="Canon UFR II / LIPSLX Printer Driver for Linux"
-HOMEPAGE="https://www.canon-europe.com/support/products/imagerunner/"
-SRC_URI="https://pdisp01.c-wss.com/gdl/WWUFORedirectTarget.do?id=MDEwMDAwNzY1ODM5&cmp=ABX&lang=EN -> linux-UFRII-drv-v${MY_PV}-m17n-${CANON_REL}.tar.gz"
-
-LICENSE="Canon-UFR-II GPL-2 MIT"
-SLOT="0"
-KEYWORDS="-* ~amd64 ~x86"
-IUSE=""
-
-DEPEND="dev-libs/atk
- dev-libs/glib:2
- dev-libs/libxml2:2=
- gnome-base/libglade:2.0
- media-libs/jbigkit
- media-libs/libjpeg-turbo
- net-print/cups
- x11-libs/cairo
- x11-libs/gdk-pixbuf:2
- x11-libs/gtk+:2
- x11-libs/gtk+:3
- x11-libs/pango"
-RDEPEND="${DEPEND}
- !net-print/cndrvcups-common-lb
- !net-print/cndrvcups-lb"
-
-HTML_DOCS=(
- "${WORKDIR}"/linux-UFRII-drv-v${MY_PV}-m17n/Documents/uk_eng/README-ufr2-${PV//0}xUK.html
- "${WORKDIR}"/linux-UFRII-drv-v${MY_PV}-m17n/Documents/uk_eng/UsersGuide-ufr2-UK.html
-)
-
-S="${WORKDIR}/linux-UFRII-drv-v${MY_PV}-m17n/Sources"
-
-common_op() {
- local i
- for i in backend buftool cngplp cnjbig rasterfilter; do
- cd "${S}/cnrdrvcups-common-${PV}/${i}" ||
- die "failed to switch dir to ${i}"
- "${@}"
- cd "${S}" || die "failed to switch dir back from ${i} to ${S}"
- done
-}
-
-driver_op() {
- local i
- for i in cngplp cngplp/files cpca pdftocpca; do
- cd "${S}/cnrdrvcups-lb-${PV}/${i}" ||
- die "failed to switch dir to ${i}"
- "${@}"
- cd "${S}" || die "failed to switch dir back from ${i} to ${S}"
- done
-}
-
-pkg_setup() {
- QA_PREBUILT="/usr/bin/cnsetuputil2
- /usr/bin/cnrsdrvufr2
- /usr/bin/cnpkmoduleufr2r
- /usr/bin/cnpkbidir
- /usr/bin/cnpdfdrv
- /usr/$(get_libdir)/libufr2filterr.so.1.0.0
- /usr/$(get_libdir)/libColorGearCufr2.so.2.0.0
- /usr/$(get_libdir)/libcnlbcmr.so.1.0
- /usr/$(get_libdir)/libcanon_slimufr2.so.1.0.0
- /usr/$(get_libdir)/libcanonufr2r.so.1.0.0
- /usr/$(get_libdir)/libcaiowrapufr2.so.1.0.0
- /usr/$(get_libdir)/libcaiocnpkbidir.so.1.0.0
- /usr/$(get_libdir)/libcaepcmufr2.so.1.0"
-
- QA_SONAME="/usr/$(get_libdir)/libcaiocnpkbidir.so.1.0.0"
-}
-
-src_unpack() {
- unpack ${A}
- cd "${WORKDIR}/linux-UFRII-drv-v${MY_PV}-m17n/Sources/" || die
- unpack ./${P}-1.05.tar.xz
-}
-
-src_prepare() {
- default
-
- # https://bugs.gentoo.org/774324
- common_op sed -i -e 's/$(COMMON_SUFFIX)/${COMMON_SUFFIX}/' configure.in || die
-
- common_op mv configure.in configure.ac || die "failed to move configure.in"
- driver_op mv configure.in configure.ac || die "failed to move configure.in"
-
- common_op sed -i -e 's/configure.in/configure.ac/' configure.ac || die
- driver_op sed -i -e 's/configure.in/configure.ac/' configure.ac || die
-
- # https://bugs.gentoo.org/931847
- common_op sed -i -e "s|dir = /usr/lib/cups/|dir = /usr/$(get_libdir)/cups/|" Makefile.am || die
- driver_op sed -i -e "s|dir = /usr/lib/cups/|dir = /usr/$(get_libdir)/cups/|" Makefile.am || die
-
- # This should work with autoreconf
- export "LIBS=-lgtk-x11-2.0 -lgobject-2.0 -lglib-2.0 -lgmodule-2.0"
-
- # Other components already depend on compiled product
- append-ldflags -L"${S}/cnrdrvcups-common-${PV}/buftool"
-
- common_op eautoreconf
- driver_op eautoreconf
-
- # Fix a QA issue with .desktop file,
- sed -i 's/Application;Utility/Utility/g' "${S}"/cnrdrvcups-utility-${PV}/data/cnsetuputil2.desktop ||
- die "Failed to modify cnsetuputil2.desktop file."
-
- append-cflags -fcommon
-
- # For some reason, @AR@ is defined everywhere else correctly, but not here.
- sed -i -e "s/AR = ar/AR = $(tc-getAR)/g" ./cnrdrvcups-common-${PV}/buftool/Makefile.in || die
-
- eapply -d "${S}/cnrdrvcups-lb-${PV}" -- "${FILESDIR}/${PN}-fix-the-cast-error.patch"
-}
-
-src_configure() {
- common_op econf
- driver_op econf
-}
-
-src_compile() {
- common_op emake
- driver_op emake
-}
-
-src_install() {
- common_op emake DESTDIR="${D}" install COMMON_SUFFIX=2
- driver_op emake DESTDIR="${D}" install COMMON_SUFFIX=2
-
- insinto /usr/share/cups
- doins "${S}"/cnrdrvcups-common-${PV}/Rule/canon-laser-printer.usb-quirks
-
- if use amd64; then
- cd "${S}"/lib/libs64/intel/ || die "failed to switch into libs64"
- elif use x86; then
- cd "${S}"/lib/libs32/intel/ || die "failed to switch into libs32"
- else
- die "I don't know what directory to switch into!"
- fi
-
- dolib.so libcaepcmufr2.so.1.0 libcaiocnpkbidir.so.1.0.0 \
- libcaiowrapufr2.so.1.0.0 libcanonufr2r.so.1.0.0 \
- libcanon_slimufr2.so.1.0.0 libcnlbcmr.so.1.0 \
- libColorGearCufr2.so.2.0.0 libufr2filterr.so.1.0.0
-
- dosym libcaepcmufr2.so.1.0 /usr/$(get_libdir)/libcaepcmufr2.so
- dosym libcaepcmufr2.so.1.0 /usr/$(get_libdir)/libcaepcmufr2.so.1
-
- dosym libcaiocnpkbidir.so.1.0.0 /usr/$(get_libdir)/libcaiocnpkbidir.so
- dosym libcaiocnpkbidir.so.1.0.0 /usr/$(get_libdir)/libcaiocnpkbidir.so.1
-
- dosym libcaiowrapufr2.so.1.0.0 /usr/$(get_libdir)/libcaiowrapufr2.so
- dosym libcaiowrapufr2.so.1.0.0 /usr/$(get_libdir)/libcaiowrapufr2.so.1
-
- dosym libcanonufr2r.so.1.0.0 /usr/$(get_libdir)/libcanonufr2r.so
- dosym libcanonufr2r.so.1.0.0 /usr/$(get_libdir)/libcanonufr2r.so.1
-
- dosym libcanon_slimufr2.so.1.0.0 /usr/$(get_libdir)/libcanon_slimufr2.so
- dosym libcanon_slimufr2.so.1.0.0 /usr/$(get_libdir)/libcanon_slimufr2.so.1
-
- dosym libcnlbcmr.so.1.0 /usr/$(get_libdir)/libcnlbcmr.so
- dosym libcnlbcmr.so.1.0 /usr/$(get_libdir)/libcnlbcmr.so.1
-
- dosym libColorGearCufr2.so.2.0.0 /usr/$(get_libdir)/libColorGearCufr2.so
- dosym libColorGearCufr2.so.2.0.0 /usr/$(get_libdir)/libColorGearCufr2.so.2
-
- # https://bugs.gentoo.org/735970
- dosym libColorGearCufr2.so.2.0.0 /usr/$(get_libdir)/libColorGearC.so.2
-
- dosym libufr2filterr.so.1.0.0 /usr/$(get_libdir)/libufr2filterr.so
- dosym libufr2filterr.so.1.0.0 /usr/$(get_libdir)/libufr2filterr.so.1
-
- dobin cnpdfdrv cnpkbidir cnpkmoduleufr2r cnrsdrvufr2 cnsetuputil2
-
- insinto /usr/share/cnpkbidir
- doins ./cnpkbidir_info*
-
- insinto /usr/share/ufr2filterr
- doins ./ThLB*
-
- cd "${S}" || die "Failed to switch back into ${S} during installation."
-
- dosym ../../../$(get_libdir)/cups/backend/cnusb /usr/libexec/cups/backend/cnusb
- dosym ../../../$(get_libdir)/cups/filter/pdftocpca /usr/libexec/cups/filter/pdftocpca
- dosym ../../../$(get_libdir)/cups/filter/rastertoufr2 /usr/libexec/cups/filter/rastertoufr2
-
- insinto /usr/share/caepcm/ufr2
- doins -r "${S}"/lib/data/ufr2/
-
- insinto /usr/share/cups/model
- doins ${P}/ppd/*.ppd
-
- domenu ./cnrdrvcups-utility-${PV}/data/cnsetuputil2.desktop
- doicon ./cnrdrvcups-utility-${PV}/data/cnsetuputil.png
-
- einstalldocs
- newdoc "${S}"/cnrdrvcups-common-${PV}/README README.common
- newdoc "${S}"/cnrdrvcups-common-${PV}/cngplp/README README.cngplp.common
- newdoc "${S}"/cnrdrvcups-lb-${PV}/README README.lb
- newdoc "${S}"/cnrdrvcups-lb-${PV}/cngplp/README README.cngplp.driver
-
- find "${D}" -name '*.la' -type f -delete || die
-}
diff --git a/net-print/cnrdrvcups-lb/files/cnrdrvcups-lb-fix-the-cast-error.patch b/net-print/cnrdrvcups-lb/files/cnrdrvcups-lb-fix-the-cast-error.patch
deleted file mode 100644
index 1d7b5eda30d7..000000000000
--- a/net-print/cnrdrvcups-lb/files/cnrdrvcups-lb-fix-the-cast-error.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-From: Pavel Sobolev <contact@paveloom.dev>
-Subject: [PATCH] Fix the cast error
-
-Bug: https://bugs.gentoo.org/944806
-
-Signed-off-by: Pavel Sobolev <contact@paveloom.dev>
-
---- a/cngplp/cngplpmod/execjob.c
-+++ b/cngplp/cngplpmod/execjob.c
-@@ -1149,7 +1149,7 @@ int make_ppd_param(cngplpData *data, char **param_list, int lpr_type)
- ptr_param += num;
- list_num += num;
- if (strlen(ppd_opt->job_result_notice_address) > 0){
-- num = add_param_int(ptr_param, kPPD_Items_CNJobResultNoticeAddress, ppd_opt->job_result_notice_address);
-+ num = add_param_char(ptr_param, kPPD_Items_CNJobResultNoticeAddress, ppd_opt->job_result_notice_address);
- ptr_param += num;
- list_num += num;
- }
-
diff --git a/net-print/cnrdrvcups-lb/metadata.xml b/net-print/cnrdrvcups-lb/metadata.xml
deleted file mode 100644
index bef24d2c2337..000000000000
--- a/net-print/cnrdrvcups-lb/metadata.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <!-- maintainer-needed -->
-</pkgmetadata>
diff --git a/net-print/cups-bjnp/Manifest b/net-print/cups-bjnp/Manifest
deleted file mode 100644
index 12e3eea53a5b..000000000000
--- a/net-print/cups-bjnp/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST cups-bjnp-2.0.3.tar.gz 140764 BLAKE2B 4b8d3c823abd9057be91a246b463fd17a26362c7f11959989749e023d3bdb70a0cba444b86d5f2302f6da13324f7fb6f6c84970933919be67c023e03842b124a SHA512 57db45e85ca016b823563ed6a2aa07a32b9fb733fc01af0aa488bd2fc3cf02388ae1dfb63234ce80d64616dd97209153bb8c047ff549405e7bfdcca0c57fcd5c
diff --git a/net-print/cups-bjnp/cups-bjnp-2.0.3-r1.ebuild b/net-print/cups-bjnp/cups-bjnp-2.0.3-r1.ebuild
deleted file mode 100644
index 456c3250d40a..000000000000
--- a/net-print/cups-bjnp/cups-bjnp-2.0.3-r1.ebuild
+++ /dev/null
@@ -1,32 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools
-
-DESCRIPTION="CUPS backend for canon printers using proprietary USB over IP BJNP protocol"
-HOMEPAGE="https://sourceforge.net/projects/cups-bjnp/"
-SRC_URI="https://downloads.sourceforge.net/${PN}/${PV}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~ppc ~ppc64 x86"
-
-DEPEND="net-print/cups"
-RDEPEND="${DEPEND}"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-2.0.3-configure-clang16.patch
-)
-
-src_prepare() {
- default
-
- # Clang 16
- eautoreconf
-}
-
-src_configure() {
- econf --disable-Werror
-}
diff --git a/net-print/cups-bjnp/files/cups-bjnp-2.0.3-configure-clang16.patch b/net-print/cups-bjnp/files/cups-bjnp-2.0.3-configure-clang16.patch
deleted file mode 100644
index e1d37445f89d..000000000000
--- a/net-print/cups-bjnp/files/cups-bjnp-2.0.3-configure-clang16.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-https://sourceforge.net/p/cups-bjnp/patches/5/
---- a/acinclude.m4
-+++ b/acinclude.m4
-@@ -25,9 +25,9 @@
- #include <sys/socket.h> ], [
- /* AF_INET6 available check */
- if (socket(AF_INET6, SOCK_STREAM, 0) < 0)
-- exit(1);
-+ return 1;
- else
-- exit(0);
-+ return 0;
- ],[
- AC_MSG_RESULT(yes)
- AC_DEFINE([ENABLE_IPV6], 1, [Define to 1 if the system supports IPv6])
-@@ -47,7 +47,7 @@
- /* test if the ss_family member exists in struct sockaddr_storage */
- struct sockaddr_storage ss;
- ss.ss_family = AF_INET;
-- exit (0);
-+ return 0;
- ], [
- AC_MSG_RESULT(yes)
- AC_DEFINE([HAS_SS_FAMILY], 1, [Define to 1 if struct sockaddr_storage has an ss_family member])
-@@ -59,7 +59,7 @@
- /* test if the __ss_family member exists in struct sockaddr_storage */
- struct sockaddr_storage ss;
- ss.__ss_family = AF_INET;
-- exit (0);
-+ return 0;
- ], [
- AC_MSG_RESULT([no, but __ss_family exists])
- AC_DEFINE([HAS___SS_FAMILY], 1, [Define to 1 if struct sockaddr_storage has __ss_family instead of ss_family])
-
diff --git a/net-print/cups-bjnp/metadata.xml b/net-print/cups-bjnp/metadata.xml
deleted file mode 100644
index e6ef1a972c06..000000000000
--- a/net-print/cups-bjnp/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>printing@gentoo.org</email>
- <name>Gentoo Printing Project</name>
- </maintainer>
- <upstream>
- <remote-id type="sourceforge">cups-bjnp</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/net-print/cups-browsed/Manifest b/net-print/cups-browsed/Manifest
deleted file mode 100644
index 89d84f12c031..000000000000
--- a/net-print/cups-browsed/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST cups-browsed-2.1.1.tar.xz 419892 BLAKE2B 3d6cde7fb257e4db2deecd899431cb45ce815ff8553a84f2a2ab952edfbf5b1200ccb062f937007b9940873f5d9bd52d2f5f09023cbedf8fb9a48f082ef6c15b SHA512 b5048bce179fc037f7dd737b4ab2a7c8b5bdf8fd5554ebb742675792f05b984c7286c2760797c07bca3fccf635259d924acf9579908681488ef1f37ce830d335
diff --git a/net-print/cups-browsed/cups-browsed-2.1.1-r1.ebuild b/net-print/cups-browsed/cups-browsed-2.1.1-r1.ebuild
deleted file mode 100644
index ac180915d7b4..000000000000
--- a/net-print/cups-browsed/cups-browsed-2.1.1-r1.ebuild
+++ /dev/null
@@ -1,81 +0,0 @@
-# Copyright 2023-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit systemd
-
-DESCRIPTION="helper daemon to browse for remote CUPS queues and IPP network printers"
-HOMEPAGE="https://github.com/OpenPrinting/cups-browsed"
-SRC_URI="https://github.com/OpenPrinting/cups-browsed/releases/download/${PV}/${P}.tar.xz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
-IUSE="test selinux zeroconf"
-
-RDEPEND="
- dev-libs/glib:2
- >=net-print/cups-2
- >=net-print/cups-filters-2.0.0
- test? ( net-print/cups[zeroconf] )
- zeroconf? ( net-dns/avahi[dbus] )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
- >=dev-util/gdbus-codegen-2.80.5-r1
- >=sys-devel/gettext-0.18.3
- virtual/pkgconfig
-"
-RDEPEND+=" selinux? ( sec-policy/selinux-cups )"
-
-# The tests are new since the split out of cups-filters. Actually running them
-# seems to be challenging. You need:
-# - cups tools that are USE-optional
-# - running avahi-daemon (as root!)
-# - disable portage's pid-sandbox, which interferes with avahi
-# - ipptool still fails to connect to port 8xxx
-#
-# If anything fails, a `while true` loop fails to successfully launch and break
-# out of the loop, leading to a hang. Until there's an obvious recipe for
-# successfully running the tests, restrict it.
-RESTRICT="test"
-
-PATCHES=(
- "${FILESDIR}"/${P}-no-model.patch
- "${FILESDIR}"/${P}-crash.patch
-)
-
-src_configure() {
- local myeconfargs=(
- --localstatedir="${EPREFIX}"/var
- --with-cups-rundir="${EPREFIX}"/run/cups
- --with-rcdir=no
-
- $(use_enable zeroconf avahi)
- )
-
- econf "${myeconfargs[@]}"
-}
-
-src_test() {
- # Requires avahi running. Hangs forever if not available.
- avahi-daemon --check 2>/dev/null || die "no running avahi daemon found, cannot run tests"
-
- default
-}
-
-src_install() {
- default
-
- cp "${FILESDIR}"/cups-browsed.init.d "${T}"/cups-browsed || die
-
- if ! use zeroconf ; then
- sed -i -e 's:need cupsd avahi-daemon:need cupsd:g' "${T}"/cups-browsed || die
- sed -i -e 's:cups\.service avahi-daemon\.service:cups.service:g' "${S}"/daemon/cups-browsed.service || die
- fi
-
- doinitd "${T}"/cups-browsed
- systemd_dounit "${S}"/daemon/cups-browsed.service
-
-}
diff --git a/net-print/cups-browsed/files/cups-browsed-2.1.1-crash.patch b/net-print/cups-browsed/files/cups-browsed-2.1.1-crash.patch
deleted file mode 100644
index b103db02ee7e..000000000000
--- a/net-print/cups-browsed/files/cups-browsed-2.1.1-crash.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-https://github.com/OpenPrinting/cups-browsed/commit/724ac36fd2cd9c11f7c429b63ba1e9e7fed0d326
-
-From 724ac36fd2cd9c11f7c429b63ba1e9e7fed0d326 Mon Sep 17 00:00:00 2001
-From: Till Kamppeter <till.kamppeter@gmail.com>
-Date: Wed, 16 Apr 2025 18:59:34 +0200
-Subject: [PATCH] cups-browsed: NULL check od make/model string when checking
- printer's PDLs
-
-If we allow setting up queues for non-driverless legacy IPP printers
-(IPP 1.x) we check for known PDLs and here we check also the
-make/model string, but our check would crash cups-browsed if the
-string is NULL. This commit adds an appropriate NULL check.
----
- daemon/cups-browsed.c | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
-diff --git a/daemon/cups-browsed.c b/daemon/cups-browsed.c
-index 46bc8892..ad4e4f45 100644
---- a/daemon/cups-browsed.c
-+++ b/daemon/cups-browsed.c
-@@ -6832,7 +6832,8 @@ create_remote_printer_entry (const char *queue_name,
- ((!strcasestr(pdl, "application/vnd.hp-PCL") &&
- !strcasestr(pdl, "application/PCL") &&
- !strcasestr(pdl, "application/x-pcl")) ||
-- ((!strncasecmp(make_model, "HP", 2) || // HP inkjets not supported
-+ (make_model &&
-+ (!strncasecmp(make_model, "HP", 2) || // HP inkjets not supported
- !strncasecmp(make_model, "Hewlett Packard", 15) ||
- !strncasecmp(make_model, "Hewlett-Packard", 15)) &&
- !strcasestr(make_model, "LaserJet") &&
-
diff --git a/net-print/cups-browsed/files/cups-browsed-2.1.1-no-model.patch b/net-print/cups-browsed/files/cups-browsed-2.1.1-no-model.patch
deleted file mode 100644
index dd20a8702ff2..000000000000
--- a/net-print/cups-browsed/files/cups-browsed-2.1.1-no-model.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-https://github.com/OpenPrinting/cups-browsed/commit/6f48f9daf91fff0c94abe3325b583eb959b480c2
-
-From 6f48f9daf91fff0c94abe3325b583eb959b480c2 Mon Sep 17 00:00:00 2001
-From: Till Kamppeter <till.kamppeter@gmail.com>
-Date: Wed, 16 Apr 2025 17:41:24 +0200
-Subject: [PATCH] cups-browsed: Generate PPD for printer also if it does not
- report make/model
-
-It can happen that an IPP printer does not report make and model in
-its DNS-SD record. cups-browsed did not create a PPD file for the
-local queue then. This commit fixes it.
-
-The ppdCreatePPDFromIPP2() function of libppd works also when its
-make_model parameter is NULL.
----
- daemon/cups-browsed.c | 6 ++++--
- 1 file changed, 4 insertions(+), 2 deletions(-)
-
-diff --git a/daemon/cups-browsed.c b/daemon/cups-browsed.c
-index 5401a134..42cebf3c 100644
---- a/daemon/cups-browsed.c
-+++ b/daemon/cups-browsed.c
-@@ -7582,7 +7582,8 @@ create_queue(void* arg)
- debug_printf("Generated Default Attributes for local queue %s\n",
- p->queue_name);
- }
-- if (ppdfile == NULL && make_model && strcmp(make_model, "Local Raw Printer"))
-+ if (ppdfile == NULL &&
-+ (!make_model || strcmp(make_model, "Local Raw Printer")))
- {
- // If we do not want CUPS-generated PPDs or we cannot obtain a
- // CUPS-generated PPD, for example if CUPS does not create a
-@@ -7775,7 +7776,8 @@ create_queue(void* arg)
- debug_printf("Generated Default Attributes for local queue %s\n",
- p->queue_name);
- }
-- if (ppdfile == NULL && make_model && strcmp(make_model, "Local Raw Printer"))
-+ if (ppdfile == NULL &&
-+ (!make_model || strcmp(make_model, "Local Raw Printer")))
- {
- // If we do not want CUPS-generated PPDs or we cannot obtain a
- // CUPS-generated PPD, for example if CUPS does not create a
diff --git a/net-print/cups-browsed/files/cups-browsed.init.d b/net-print/cups-browsed/files/cups-browsed.init.d
deleted file mode 100644
index 4fea546a05ca..000000000000
--- a/net-print/cups-browsed/files/cups-browsed.init.d
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/sbin/openrc-run
-
-pidfile="/run/cups-browsed.pid"
-command="/usr/sbin/cups-browsed"
-command_background="true"
-
-depend() {
- need cupsd avahi-daemon
-}
diff --git a/net-print/cups-browsed/metadata.xml b/net-print/cups-browsed/metadata.xml
deleted file mode 100644
index 1b9a77a07ab0..000000000000
--- a/net-print/cups-browsed/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>printing@gentoo.org</email>
- <name>Gentoo Printing Project</name>
- </maintainer>
- <upstream>
- <remote-id type="github">OpenPrinting/cups-browsed</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/net-print/cups-filters/Manifest b/net-print/cups-filters/Manifest
deleted file mode 100644
index c7c8aa3323f8..000000000000
--- a/net-print/cups-filters/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST cups-filters-1.28.17.tar.xz 1516052 BLAKE2B 87258391901d55d9e59b06d54603d014e54d224a373529bd70fcd38cded9dc96c88ca73bcea63d7633c065caea3f9e3274cd450aec5f1bd90130d9a88c0d3421 SHA512 320544a48206165581adafb28dbef58f39c66bebd3641be3d180a692605349d9e6af6d464044db9f7bda17a67f4a079370d8cc880cd7873d684b2209882deb35
-DIST cups-filters-2.0.1.tar.xz 447288 BLAKE2B 5bab10e10890332e873944f42cf53f00055a74898cd8139c3e3ee98f76f369f68c2a6c70f336167dbc43a48d92c3030e29cdfb30864bc52cdc5eb5e7b5158e7a SHA512 e80783a03722228fdd67ab5041082d1c2ad9c5c5d59a60ac1aee51a4600b2e9c0c90b78f6fdbc2c7928c2bf2bb634df7c1ec5db23de65e867a0498372f7a2c00
diff --git a/net-print/cups-filters/cups-filters-1.28.17-r2.ebuild b/net-print/cups-filters/cups-filters-1.28.17-r2.ebuild
deleted file mode 100644
index e9c6327159b3..000000000000
--- a/net-print/cups-filters/cups-filters-1.28.17-r2.ebuild
+++ /dev/null
@@ -1,151 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-GENTOO_DEPEND_ON_PERL=no
-inherit perl-module systemd flag-o-matic
-
-DESCRIPTION="Cups filters"
-HOMEPAGE="https://wiki.linuxfoundation.org/openprinting/cups-filters"
-SRC_URI="
- https://github.com/OpenPrinting/cups-filters/releases/download/${PV}/${P}.tar.xz
- https://www.openprinting.org/download/${PN}/${P}.tar.xz
-"
-
-LICENSE="MIT GPL-2"
-SLOT="0"
-IUSE="dbus exif +foomatic jpeg ldap pclm pdf perl png +postscript test tiff zeroconf"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
-
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- >=app-text/poppler-0.32[cxx,jpeg?,lcms,tiff?,utils]
- >=app-text/qpdf-8.3.0:=
- dev-libs/glib:2
- media-libs/fontconfig
- media-libs/freetype:2
- media-libs/lcms:2
- >=net-print/cups-1.7.3
- !<=net-print/cups-1.5.9999
- app-alternatives/bc
- virtual/zlib:=
- exif? ( media-libs/libexif )
- dbus? ( sys-apps/dbus )
- foomatic? ( !net-print/foomatic-filters )
- jpeg? ( media-libs/libjpeg-turbo:= )
- ldap? ( net-nds/openldap:= )
- pdf? ( app-text/mupdf:= )
- perl? ( dev-lang/perl:= )
- png? ( media-libs/libpng:= )
- postscript? ( >=app-text/ghostscript-gpl-9.09[cups] )
- tiff? ( media-libs/tiff:= )
- zeroconf? ( net-dns/avahi[dbus] )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
- >=dev-util/gdbus-codegen-2.80.5-r1
- >=sys-devel/gettext-0.18.3
- virtual/pkgconfig
- test? ( media-fonts/dejavu )
-"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-1.28.17-c++17.patch
- "${FILESDIR}"/${PN}-1.28.17-CVE-2023-24805.patch
- "${FILESDIR}"/${PN}-1.28.17-qpdf-12.patch
-)
-
-src_configure() {
- # Bug #898156
- append-cxxflags -std=c++17
-
- local myeconfargs=(
- --enable-imagefilters
- --localstatedir="${EPREFIX}"/var
- --with-browseremoteprotocols=DNSSD,CUPS
- --with-cups-rundir="${EPREFIX}"/run/cups
- --with-fontdir="fonts/conf.avail"
- --with-pdftops=pdftops
- --with-rcdir=no
- --without-php
-
- $(use_enable exif)
- $(use_enable dbus)
- $(use_enable foomatic)
- $(use_enable ldap)
- $(use_enable pclm)
- $(use_enable pdf mutool)
- $(use_enable postscript ghostscript)
- $(use_enable zeroconf avahi)
- $(use_with jpeg)
- $(use_with png)
- $(use_with tiff)
- )
-
- econf "${myeconfargs[@]}"
-
- if use perl; then
- pushd "${S}"/scripting/perl > /dev/null || die
- perl-module_src_configure
- popd > /dev/null || die
- fi
-}
-
-src_compile() {
- default
-
- if use perl; then
- pushd "${S}"/scripting/perl > /dev/null || die
- perl-module_src_compile
- popd > /dev/null || die
- fi
-}
-
-src_test() {
- # Avoid perl-module_src_test
- default
-
- if use perl; then
- pushd "${S}/scripting/perl" > /dev/null || die
- perl-module_src_test
- popd > /dev/null || die
- fi
-}
-
-src_install() {
- default
-
- if use perl; then
- pushd "${S}"/scripting/perl > /dev/null || die
- perl-module_src_install
- perl_delete_localpod
- popd > /dev/null || die
- fi
-
- if use postscript; then
- # workaround: some printer drivers still require pstoraster and pstopxl, bug #383831
- dosym gstoraster /usr/libexec/cups/filter/pstoraster
- dosym gstopxl /usr/libexec/cups/filter/pstopxl
- fi
-
- find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die
-
- cp "${FILESDIR}"/cups-browsed.init.d-r2 "${T}"/cups-browsed || die
-
- if ! use zeroconf ; then
- sed -i -e 's:need cupsd avahi-daemon:need cupsd:g' "${T}"/cups-browsed || die
- sed -i -e 's:cups\.service avahi-daemon\.service:cups.service:g' "${S}"/utils/cups-browsed.service || die
- fi
-
- doinitd "${T}"/cups-browsed
- systemd_dounit "${S}"/utils/cups-browsed.service
-}
-
-pkg_postinst() {
- if ! use foomatic ; then
- ewarn "You are disabling the foomatic code in cups-filters. Please do that ONLY if absolutely"
- ewarn "necessary. net-print/foomatic-filters as a replacement is deprecated and unmaintained."
- fi
-}
diff --git a/net-print/cups-filters/cups-filters-2.0.1-r1.ebuild b/net-print/cups-filters/cups-filters-2.0.1-r1.ebuild
deleted file mode 100644
index d9ec573c9645..000000000000
--- a/net-print/cups-filters/cups-filters-2.0.1-r1.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 2023-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit flag-o-matic
-
-DESCRIPTION="Cups filters"
-HOMEPAGE="https://wiki.linuxfoundation.org/openprinting/cups-filters"
-SRC_URI="https://github.com/OpenPrinting/cups-filters/releases/download/${PV}/${P}.tar.xz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
-IUSE="+foomatic"
-
-RDEPEND="
- net-print/libcupsfilters
- net-print/libppd
- >=net-print/cups-1.7.3
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
- >=sys-devel/gettext-0.18.3
- virtual/pkgconfig
-"
-
-# The tests are composed of:
-# - built program
-# - test case itself: filter/test.sh
-#
-# The latter is not wired up, and it becomes immediately evident why.
-# Bow to this reality and don't claim we can run anything. As a side
-# effect, don't compile in src_test, that which we never use.
-RESTRICT="test"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-2.0.1-CVE-2025-64524.patch
-)
-
-src_configure() {
- # https://github.com/OpenPrinting/cups-filters/issues/605 (bug #944074)
- append-cflags -std=gnu17
-
- local myeconfargs=(
- --enable-imagefilters
- --enable-driverless
- --enable-poppler
- --localstatedir="${EPREFIX}"/var
- --with-fontdir="fonts/conf.avail"
- # These are just probed for the path. Always enable them.
- --with-gs-path="${EPREFIX}"/usr/bin/gs
- --with-mutool-path="${EPREFIX}"/usr/bin/mutool
-
- $(use_enable foomatic)
- )
-
- econf "${myeconfargs[@]}"
-}
diff --git a/net-print/cups-filters/cups-filters-2.0.1.ebuild b/net-print/cups-filters/cups-filters-2.0.1.ebuild
deleted file mode 100644
index fdd1355504b0..000000000000
--- a/net-print/cups-filters/cups-filters-2.0.1.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 2023-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit flag-o-matic
-
-DESCRIPTION="Cups filters"
-HOMEPAGE="https://wiki.linuxfoundation.org/openprinting/cups-filters"
-SRC_URI="https://github.com/OpenPrinting/cups-filters/releases/download/${PV}/${P}.tar.xz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
-IUSE="+foomatic"
-
-RDEPEND="
- net-print/libcupsfilters
- net-print/libppd
- >=net-print/cups-1.7.3
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
- >=sys-devel/gettext-0.18.3
- virtual/pkgconfig
-"
-
-# The tests are composed of:
-# - built program
-# - test case itself: filter/test.sh
-#
-# The latter is not wired up, and it becomes immediately evident why.
-# Bow to this reality and don't claim we can run anything. As a side
-# effect, don't compile in src_test, that which we never use.
-RESTRICT="test"
-
-src_configure() {
- # https://github.com/OpenPrinting/cups-filters/issues/605 (bug #944074)
- append-cflags -std=gnu17
-
- local myeconfargs=(
- --enable-imagefilters
- --enable-driverless
- --enable-poppler
- --localstatedir="${EPREFIX}"/var
- --with-fontdir="fonts/conf.avail"
- # These are just probed for the path. Always enable them.
- --with-gs-path="${EPREFIX}"/usr/bin/gs
- --with-mutool-path="${EPREFIX}"/usr/bin/mutool
-
- $(use_enable foomatic)
- )
-
- econf "${myeconfargs[@]}"
-}
diff --git a/net-print/cups-filters/files/cups-browsed.init.d-r2 b/net-print/cups-filters/files/cups-browsed.init.d-r2
deleted file mode 100644
index 4fea546a05ca..000000000000
--- a/net-print/cups-filters/files/cups-browsed.init.d-r2
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/sbin/openrc-run
-
-pidfile="/run/cups-browsed.pid"
-command="/usr/sbin/cups-browsed"
-command_background="true"
-
-depend() {
- need cupsd avahi-daemon
-}
diff --git a/net-print/cups-filters/files/cups-filters-1.28.17-CVE-2023-24805.patch b/net-print/cups-filters/files/cups-filters-1.28.17-CVE-2023-24805.patch
deleted file mode 100644
index 58b562504d0d..000000000000
--- a/net-print/cups-filters/files/cups-filters-1.28.17-CVE-2023-24805.patch
+++ /dev/null
@@ -1,225 +0,0 @@
-Modified version from:
-
- https://packages.debian.org/de/sid/cups-filters
-
- From: Thorsten Alteholz <debian@alteholz.de>
- Date: Fri, 19 May 2023 10:49:35 +0200
- Subject: fix CVE-2023-24805
-
-Original patch:
-
-https://github.com/OpenPrinting/cups-filters/commit/8f274035756c04efeb77eb654e9d4c4447287d65
-
-From 8f274035756c04efeb77eb654e9d4c4447287d65 Mon Sep 17 00:00:00 2001
-From: Till Kamppeter <till.kamppeter@gmail.com>
-Date: Wed, 17 May 2023 11:12:37 +0200
-Subject: [PATCH] Merge pull request from GHSA-gpxc-v2m8-fr3x
-
-* beh backend: Use execv() instead of system() - CVE-2023-24805
-
-With execv() command line arguments are passed as separate strings and
-not the full command line in a single string. This prevents arbitrary
-command execution by escaping the quoting of the arguments in a job
-with forged job title.
-
-* beh backend: Extra checks against odd/forged input - CVE-2023-24805
-
-- Do not allow '/' in the scheme of the URI (= backend executable
- name), to assure that only backends inside /usr/lib/cups/backend/
- are used.
-
-- Pre-define scheme buffer to empty string, to be defined for case of
- uri being NULL.
-
-- URI must have ':', to split off scheme, otherwise error.
-
-- Check return value of snprintf() to create call path for backend, to
- error out on truncation of a too long scheme or on complete failure
- due to a completely odd scheme.
-
-* beh backend: Further improvements - CVE-2023-24805
-
-- Use strncat() instead of strncpy() for getting scheme from URI, the latter
- does not require setting terminating zero byte in case of truncation.
-
-- Also exclude "." or ".." as scheme, as directories are not valid CUPS
- backends.
-
-- Do not use fprintf() in sigterm_handler(), to not interfere with a
- fprintf() which could be running in the main process when
- sigterm_handler() is triggered.
-
-- Use "static volatile int" for global variable job_canceled.
-
----
- backend/beh.c | 107 +++++++++++++++++++++++++++++++++++++++++++++-------------
- 1 file changed, 84 insertions(+), 23 deletions(-)
-
-diff --git a/backend/beh.c b/backend/beh.c
-index 225fd27..8d51235 100644
---- a/backend/beh.c
-+++ b/backend/beh.c
-@@ -22,12 +22,13 @@
- #include "backend-private.h"
- #include <cups/array.h>
- #include <ctype.h>
-+#include <sys/wait.h>
-
- /*
- * Local globals...
- */
-
--static int job_canceled = 0; /* Set to 1 on SIGTERM */
-+static volatile int job_canceled = 0; /* Set to 1 on SIGTERM */
-
- /*
- * Local functions...
-@@ -213,21 +214,40 @@ call_backend(char *uri, /* I - URI of final destination */
- char **argv, /* I - Command-line arguments */
- char *filename) { /* I - File name of input data */
- const char *cups_serverbin; /* Location of programs */
-+ char *backend_argv[8]; /* Arguments for backend */
- char scheme[1024], /* Scheme from URI */
- *ptr, /* Pointer into scheme */
-- cmdline[65536]; /* Backend command line */
-- int retval;
-+ backend_path[2048]; /* Backend path */
-+ int pid = 0, /* Process ID of backend */
-+ wait_pid, /* Process ID from wait() */
-+ wait_status, /* Status from child */
-+ retval = 0;
-+ int bytes;
-
- /*
- * Build the backend command line...
- */
-
-- strncpy(scheme, uri, sizeof(scheme) - 1);
-- if (strlen(uri) > 1023)
-- scheme[1023] = '\0';
-+ scheme[0] = '\0';
-+ strncat(scheme, uri, sizeof(scheme) - 1);
- if ((ptr = strchr(scheme, ':')) != NULL)
- *ptr = '\0';
--
-+ else {
-+ fprintf(stderr,
-+ "ERROR: beh: Invalid URI, no colon (':') to mark end of scheme part.\n");
-+ exit (CUPS_BACKEND_FAILED);
-+ }
-+ if (strchr(scheme, '/')) {
-+ fprintf(stderr,
-+ "ERROR: beh: Invalid URI, scheme contains a slash ('/').\n");
-+ exit (CUPS_BACKEND_FAILED);
-+ }
-+ if (!strcmp(scheme, ".") || !strcmp(scheme, "..")) {
-+ fprintf(stderr,
-+ "ERROR: beh: Invalid URI, scheme (\"%s\") is a directory.\n",
-+ scheme);
-+ exit (CUPS_BACKEND_FAILED);
-+ }
- if ((cups_serverbin = getenv("CUPS_SERVERBIN")) == NULL)
- cups_serverbin = CUPS_SERVERBIN;
-
-@@ -235,16 +255,29 @@ call_backend(char *uri, /* I - URI of final destination */
- fprintf(stderr,
- "ERROR: beh: Direct output into a file not supported.\n");
- exit (CUPS_BACKEND_FAILED);
-- } else
-- snprintf(cmdline, sizeof(cmdline),
-- "%s/backend/%s '%s' '%s' '%s' '%s' '%s' %s",
-- cups_serverbin, scheme, argv[1], argv[2], argv[3],
-- /* Apply number of copies only if beh was called with a
-- file name and not with the print data in stdin, as
-- backends should handle copies only if they are called
-- with a file name */
-- (argc == 6 ? "1" : argv[4]),
-- argv[5], filename);
-+ }
-+
-+ backend_argv[0] = uri;
-+ backend_argv[1] = argv[1];
-+ backend_argv[2] = argv[2];
-+ backend_argv[3] = argv[3];
-+ /* Apply number of copies only if beh was called with a file name
-+ and not with the print data in stdin, as backends should handle
-+ copies only if they are called with a file name */
-+ backend_argv[4] = (argc == 6 ? "1" : argv[4]);
-+ backend_argv[5] = argv[5];
-+ backend_argv[6] = filename;
-+ backend_argv[7] = NULL;
-+
-+ bytes = snprintf(backend_path, sizeof(backend_path),
-+ "%s/backend/%s", cups_serverbin, scheme);
-+ if (bytes < 0 || bytes >= sizeof(backend_path))
-+ {
-+ fprintf(stderr,
-+ "ERROR: beh: Invalid scheme (\"%s\"), could not determing backend path.\n",
-+ scheme);
-+ return (CUPS_BACKEND_FAILED);
-+ }
-
- /*
- * Overwrite the device URI and run the actual backend...
-@@ -253,18 +286,44 @@ call_backend(char *uri, /* I - URI of final destination */
- setenv("DEVICE_URI", uri, 1);
-
- fprintf(stderr,
-- "DEBUG: beh: Executing backend command line \"%s\"...\n",
-- cmdline);
-+ "DEBUG: beh: Executing backend command line \"%s '%s' '%s' '%s' '%s' '%s' %s\"...\n",
-+ backend_path, backend_argv[1], backend_argv[2], backend_argv[3],
-+ backend_argv[4], backend_argv[5], backend_argv[6]);
- fprintf(stderr,
- "DEBUG: beh: Using device URI: %s\n",
- uri);
-
-- retval = system(cmdline) >> 8;
-+ if ((pid = fork()) == 0) {
-+ /*
-+ * Child comes here...
-+ */
-+
-+ /* Run the backend */
-+ execv(backend_path, backend_argv);
-
-- if (retval == -1)
- fprintf(stderr, "ERROR: Unable to execute backend command line: %s\n",
- strerror(errno));
-
-+ exit(1);
-+ } else if (pid < 0) {
-+ /*
-+ * Unable to fork!
-+ */
-+
-+ return (CUPS_BACKEND_FAILED);
-+ }
-+
-+ while ((wait_pid = wait(&wait_status)) < 0 && errno == EINTR);
-+
-+ if (wait_pid >= 0 && wait_status) {
-+ if (WIFEXITED(wait_status))
-+ retval = WEXITSTATUS(wait_status);
-+ else if (WTERMSIG(wait_status) != SIGTERM)
-+ retval = WTERMSIG(wait_status);
-+ else
-+ retval = 0;
-+ }
-+
- return (retval);
- }
-
-@@ -277,8 +336,10 @@ static void
- sigterm_handler(int sig) { /* I - Signal number (unused) */
- (void)sig;
-
-- fprintf(stderr,
-- "DEBUG: beh: Job canceled.\n");
-+ const char * const msg = "DEBUG: beh: Job canceled.\n";
-+ /* The if() is to eliminate the return value and silence the warning
-+ about an unused return value. */
-+ if (write(2, msg, strlen(msg)));
-
- if (job_canceled)
- _exit(CUPS_BACKEND_OK);
diff --git a/net-print/cups-filters/files/cups-filters-1.28.17-c++17.patch b/net-print/cups-filters/files/cups-filters-1.28.17-c++17.patch
deleted file mode 100644
index f8f63ccd4724..000000000000
--- a/net-print/cups-filters/files/cups-filters-1.28.17-c++17.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-https://bugs.gentoo.org/901243
-(and https://bugs.gentoo.org/898076)
-https://github.com/OpenPrinting/cups-filters/pull/505
-
-From 104fba23b1c0c67c92777b3165c6dca99558a656 Mon Sep 17 00:00:00 2001
-From: Khem Raj <raj.khem@gmail.com>
-Date: Mon, 6 Feb 2023 18:13:52 -0800
-Subject: [PATCH] use noexcept(false) instead of throw() from c++17 onwards
-
-C++17 removed dynamic exception specifications [1]
-they had been deprecated since C++11, replace
-throw(whatever) with noexcept(false).
-
-[1] https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0003r5.html
-
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
---- a/filter/pdftoraster.cxx
-+++ b/filter/pdftoraster.cxx
-@@ -2148,7 +2148,11 @@ int main(int argc, char *argv[]) {
- /* For compatibility with g++ >= 4.7 compilers _GLIBCXX_THROW
- * should be used as a guard, otherwise use traditional definition */
- #ifndef _GLIBCXX_THROW
-+#if __cplusplus < 201703L
- #define _GLIBCXX_THROW throw
-+#else
-+#define _GLIBCXX_THROW(x) noexcept(false)
-+#endif
- #endif
-
- void * operator new(size_t size) _GLIBCXX_THROW (std::bad_alloc)
-
diff --git a/net-print/cups-filters/files/cups-filters-1.28.17-qpdf-12.patch b/net-print/cups-filters/files/cups-filters-1.28.17-qpdf-12.patch
deleted file mode 100644
index 25e7f8d9727e..000000000000
--- a/net-print/cups-filters/files/cups-filters-1.28.17-qpdf-12.patch
+++ /dev/null
@@ -1,276 +0,0 @@
-https://bugs.gentoo.org/962385#c4
-diff '--color=auto' -rupN a/filter/pdf.cxx b/filter/pdf.cxx
---- a/filter/pdf.cxx 2023-01-24 18:41:08.000000000 -0700
-+++ b/filter/pdf.cxx 2025-09-05 10:07:29.738695867 -0600
-@@ -138,7 +138,7 @@ extern "C" void pdf_prepend_stream(pdf_t
- }
-
- // prepare the new stream which is to be prepended
-- PointerHolder<Buffer> stream_data = PointerHolder<Buffer>(new Buffer(len));
-+ std::shared_ptr<Buffer> stream_data = std::shared_ptr<Buffer>(new Buffer(len));
- memcpy(stream_data->getBuffer(), buf, len);
- QPDFObjectHandle stream = QPDFObjectHandle::newStream(pdf, stream_data);
- stream = pdf->makeIndirectObject(stream);
-diff '--color=auto' -rupN a/filter/pdftopdf/qpdf_pdftopdf_processor.cc b/filter/pdftopdf/qpdf_pdftopdf_processor.cc
---- a/filter/pdftopdf/qpdf_pdftopdf_processor.cc 2023-01-24 18:41:08.000000000 -0700
-+++ b/filter/pdftopdf/qpdf_pdftopdf_processor.cc 2025-09-05 09:57:51.836902479 -0600
-@@ -83,10 +83,10 @@ QPDFObjectHandle QPDF_PDFTOPDF_PageHandl
- page.getKey("/Resources").replaceKey("/XObject",QPDFObjectHandle::newDictionary(xobjs));
- content.append("Q\n");
- page.getKey("/Contents").replaceStreamData(content,QPDFObjectHandle::newNull(),QPDFObjectHandle::newNull());
-- page.replaceOrRemoveKey("/Rotate",makeRotate(rotation));
-+ page.replaceKey("/Rotate",makeRotate(rotation));
- } else {
- Rotation rot=getRotate(page)+rotation;
-- page.replaceOrRemoveKey("/Rotate",makeRotate(rot));
-+ page.replaceKey("/Rotate",makeRotate(rot));
- }
- page=QPDFObjectHandle(); // i.e. uninitialized
- return ret;
-@@ -181,9 +181,9 @@ Rotation QPDF_PDFTOPDF_PageHandle::crop(
- page.assertInitialized();
- Rotation save_rotate = getRotate(page);
- if(orientation==ROT_0||orientation==ROT_180)
-- page.replaceOrRemoveKey("/Rotate",makeRotate(ROT_90));
-+ page.replaceKey("/Rotate",makeRotate(ROT_90));
- else
-- page.replaceOrRemoveKey("/Rotate",makeRotate(ROT_0));
-+ page.replaceKey("/Rotate",makeRotate(ROT_0));
-
- PageRect currpage= getBoxAsRect(getTrimBox(page));
- double width = currpage.right-currpage.left;
-@@ -242,7 +242,7 @@ Rotation QPDF_PDFTOPDF_PageHandle::crop(
- //Cropping.
- // TODO: Borders are covered by the image. buffer space?
- page.replaceKey("/TrimBox",makeBox(currpage.left,currpage.bottom,currpage.right,currpage.top));
-- page.replaceOrRemoveKey("/Rotate",makeRotate(save_rotate));
-+ page.replaceKey("/Rotate",makeRotate(save_rotate));
- return getRotate(page);
- }
-
-@@ -251,14 +251,14 @@ bool QPDF_PDFTOPDF_PageHandle::is_landsc
- page.assertInitialized();
- Rotation save_rotate = getRotate(page);
- if(orientation==ROT_0||orientation==ROT_180)
-- page.replaceOrRemoveKey("/Rotate",makeRotate(ROT_90));
-+ page.replaceKey("/Rotate",makeRotate(ROT_90));
- else
-- page.replaceOrRemoveKey("/Rotate",makeRotate(ROT_0));
-+ page.replaceKey("/Rotate",makeRotate(ROT_0));
-
- PageRect currpage= getBoxAsRect(getTrimBox(page));
- double width = currpage.right-currpage.left;
- double height = currpage.top-currpage.bottom;
-- page.replaceOrRemoveKey("/Rotate",makeRotate(save_rotate));
-+ page.replaceKey("/Rotate",makeRotate(save_rotate));
- if(width>height)
- return true;
- return false;
-@@ -662,7 +662,7 @@ void QPDF_PDFTOPDF_Processor::autoRotate
- // TODO? other rotation direction, e.g. if (src_rot==ROT_0)&&(param.orientation==ROT_270) ... etc.
- // rotation=ROT_270;
-
-- page.replaceOrRemoveKey("/Rotate",makeRotate(src_rot+rotation));
-+ page.replaceKey("/Rotate",makeRotate(src_rot+rotation));
- }
- }
- }
-diff '--color=auto' -rupN a/filter/pdftopdf/qpdf_xobject.cc b/filter/pdftopdf/qpdf_xobject.cc
---- a/filter/pdftopdf/qpdf_xobject.cc 2023-01-24 18:41:08.000000000 -0700
-+++ b/filter/pdftopdf/qpdf_xobject.cc 2025-09-05 10:09:23.131598674 -0600
-@@ -136,7 +136,7 @@ QPDFObjectHandle makeXObject(QPDF *pdf,Q
-
- std::vector<QPDFObjectHandle> contents=page.getPageContents(); // (will assertPageObject)
-
-- auto ph=PointerHolder<QPDFObjectHandle::StreamDataProvider>(new CombineFromContents_Provider(contents));
-+ auto ph=std::shared_ptr<QPDFObjectHandle::StreamDataProvider>(new CombineFromContents_Provider(contents));
- ret.replaceStreamData(ph,filter,decode_parms);
-
- return ret;
-diff '--color=auto' -rupN a/filter/rastertopdf.cpp b/filter/rastertopdf.cpp
---- a/filter/rastertopdf.cpp 2023-01-24 18:41:08.000000000 -0700
-+++ b/filter/rastertopdf.cpp 2025-09-05 10:20:21.324455441 -0600
-@@ -310,10 +310,10 @@ struct pdf_info
- std::vector<std::string> pclm_source_resolution_supported;
- std::string pclm_source_resolution_default;
- std::string pclm_raster_back_side;
-- std::vector< PointerHolder<Buffer> > pclm_strip_data;
-+ std::vector< std::shared_ptr<Buffer> > pclm_strip_data;
- std::string render_intent;
- cups_cspace_t color_space;
-- PointerHolder<Buffer> page_data;
-+ std::shared_ptr<Buffer> page_data;
- double page_width,page_height;
- OutFormatType outformat;
- };
-@@ -442,7 +442,7 @@ QPDFObjectHandle embedIccProfile(QPDF &p
- std::map<std::string,QPDFObjectHandle> streamdict;
- std::string n_value = "";
- std::string alternate_cs = "";
-- PointerHolder<Buffer>ph;
-+ std::shared_ptr<Buffer>ph;
-
- #ifdef USE_LCMS1
- size_t profile_size;
-@@ -481,7 +481,7 @@ QPDFObjectHandle embedIccProfile(QPDF &p
- cmsSaveProfileToMem(colorProfile, buff, &profile_size);
-
- // Write ICC profile buffer into PDF
-- ph = new Buffer(buff, profile_size);
-+ ph = std::shared_ptr<Buffer>(new Buffer(buff, profile_size));
- iccstream = QPDFObjectHandle::newStream(&pdf, ph);
- iccstream.replaceDict(QPDFObjectHandle::newDictionary(streamdict));
-
-@@ -605,7 +605,7 @@ QPDFObjectHandle getCalGrayArray(double
- * O - std::vector of QPDFObjectHandle
- * I - QPDF object
- * I - number of strips per page
-- * I - std::vector of PointerHolder<Buffer> containing data for each strip
-+ * I - std::vector of std::shared_ptr<Buffer> containing data for each strip
- * I - strip width
- * I - strip height
- * I - color space
-@@ -613,7 +613,7 @@ QPDFObjectHandle getCalGrayArray(double
- */
- std::vector<QPDFObjectHandle>
- makePclmStrips(QPDF &pdf, unsigned num_strips,
-- std::vector< PointerHolder<Buffer> > &strip_data,
-+ std::vector< std::shared_ptr<Buffer> > &strip_data,
- std::vector<CompressionMethod> &compression_methods,
- unsigned width, std::vector<unsigned>& strip_height, cups_cspace_t cs, unsigned bpc)
- {
-@@ -679,7 +679,7 @@ makePclmStrips(QPDF &pdf, unsigned num_s
- Pl_Flate pflate("pflate", &psink, Pl_Flate::a_deflate);
- pflate.write(strip_data[i]->getBuffer(), strip_data[i]->getSize());
- pflate.finish();
-- ret[i].replaceStreamData(PointerHolder<Buffer>(psink.getBuffer()),
-+ ret[i].replaceStreamData(std::shared_ptr<Buffer>(psink.getBuffer()),
- QPDFObjectHandle::newName("/FlateDecode"),QPDFObjectHandle::newNull());
- }
- else if (compression == RLE_DECODE)
-@@ -687,7 +687,7 @@ makePclmStrips(QPDF &pdf, unsigned num_s
- Pl_RunLength prle("prle", &psink, Pl_RunLength::a_encode);
- prle.write(strip_data[i]->getBuffer(),strip_data[i]->getSize());
- prle.finish();
-- ret[i].replaceStreamData(PointerHolder<Buffer>(psink.getBuffer()),
-+ ret[i].replaceStreamData(std::shared_ptr<Buffer>(psink.getBuffer()),
- QPDFObjectHandle::newName("/RunLengthDecode"),QPDFObjectHandle::newNull());
- }
- else if (compression == DCT_DECODE)
-@@ -695,7 +695,7 @@ makePclmStrips(QPDF &pdf, unsigned num_s
- Pl_DCT pdct("pdct", &psink, width, strip_height[i], components, color_space);
- pdct.write(strip_data[i]->getBuffer(),strip_data[i]->getSize());
- pdct.finish();
-- ret[i].replaceStreamData(PointerHolder<Buffer>(psink.getBuffer()),
-+ ret[i].replaceStreamData(std::shared_ptr<Buffer>(psink.getBuffer()),
- QPDFObjectHandle::newName("/DCTDecode"),QPDFObjectHandle::newNull());
- }
- }
-@@ -703,7 +703,7 @@ makePclmStrips(QPDF &pdf, unsigned num_s
- }
- #endif
-
--QPDFObjectHandle makeImage(QPDF &pdf, PointerHolder<Buffer> page_data, unsigned width,
-+QPDFObjectHandle makeImage(QPDF &pdf, std::shared_ptr<Buffer> page_data, unsigned width,
- unsigned height, std::string render_intent, cups_cspace_t cs, unsigned bpc)
- {
- QPDFObjectHandle ret = QPDFObjectHandle::newStream(&pdf);
-@@ -843,7 +843,7 @@ QPDFObjectHandle makeImage(QPDF &pdf, Po
- pflate.write(page_data->getBuffer(),page_data->getSize());
- pflate.finish();
-
-- ret.replaceStreamData(PointerHolder<Buffer>(psink.getBuffer()),
-+ ret.replaceStreamData(std::shared_ptr<Buffer>(psink.getBuffer()),
- QPDFObjectHandle::newName("/FlateDecode"),QPDFObjectHandle::newNull());
- #else
- ret.replaceStreamData(page_data,QPDFObjectHandle::newNull(),QPDFObjectHandle::newNull());
-@@ -857,7 +857,7 @@ void finish_page(struct pdf_info * info)
- if (info->outformat == OUTPUT_FORMAT_PDF)
- {
- // Finish previous PDF Page
-- if(!info->page_data.getPointer())
-+ if(!info->page_data.get())
- return;
-
- QPDFObjectHandle image = makeImage(info->pdf, info->page_data, info->width, info->height, info->render_intent, info->color_space, info->bpc);
-@@ -874,7 +874,7 @@ void finish_page(struct pdf_info * info)
- return;
-
- for (size_t i = 0; i < info->pclm_strip_data.size(); i ++)
-- if(!info->pclm_strip_data[i].getPointer())
-+ if(!info->pclm_strip_data[i].get())
- return;
-
- std::vector<QPDFObjectHandle> strips = makePclmStrips(info->pdf, info->pclm_num_strips, info->pclm_strip_data, info->pclm_compression_method_preferred, info->width, info->pclm_strip_height, info->color_space, info->bpc);
-@@ -932,7 +932,7 @@ void finish_page(struct pdf_info * info)
- #endif
-
- // bookkeeping
-- info->page_data = PointerHolder<Buffer>();
-+ info->page_data = std::shared_ptr<Buffer>();
- #ifdef QPDF_HAVE_PCLM
- info->pclm_strip_data.clear();
- #endif
-@@ -1101,12 +1101,12 @@ int add_pdf_page(struct pdf_info * info,
- die("Page too big");
- }
- if (info->outformat == OUTPUT_FORMAT_PDF)
-- info->page_data = PointerHolder<Buffer>(new Buffer(info->line_bytes*info->height));
-+ info->page_data = std::shared_ptr<Buffer>(new Buffer(info->line_bytes*info->height));
- else if (info->outformat == OUTPUT_FORMAT_PCLM)
- {
- // reserve space for PCLm strips
- for (size_t i = 0; i < info->pclm_num_strips; i ++)
-- info->pclm_strip_data[i] = PointerHolder<Buffer>(new Buffer(info->line_bytes*info->pclm_strip_height[i]));
-+ info->pclm_strip_data[i] = std::shared_ptr<Buffer>(new Buffer(info->line_bytes*info->pclm_strip_height[i]));
- }
-
- QPDFObjectHandle page = QPDFObjectHandle::parse(
-diff '--color=auto' -rupN a/filter/urftopdf.cpp b/filter/urftopdf.cpp
---- a/filter/urftopdf.cpp 2023-01-24 18:41:08.000000000 -0700
-+++ b/filter/urftopdf.cpp 2025-09-05 10:09:30.535788230 -0600
-@@ -80,7 +80,7 @@ struct pdf_info
- unsigned pixel_bytes;
- unsigned line_bytes;
- unsigned bpp;
-- PointerHolder<Buffer> page_data;
-+ std::shared_ptr<Buffer> page_data;
- double page_width,page_height;
- };
-
-@@ -119,7 +119,7 @@ enum ColorSpace {
- iprintf("Created temporary file '%s'\n", tempfile_name);
- */
-
--QPDFObjectHandle makeImage(QPDF &pdf, PointerHolder<Buffer> page_data, unsigned width, unsigned height, ColorSpace cs, unsigned bpc)
-+QPDFObjectHandle makeImage(QPDF &pdf, std::shared_ptr<Buffer> page_data, unsigned width, unsigned height, ColorSpace cs, unsigned bpc)
- {
- QPDFObjectHandle ret = QPDFObjectHandle::newStream(&pdf);
-
-@@ -153,7 +153,7 @@ QPDFObjectHandle makeImage(QPDF &pdf, Po
-
- // /Filter /FlateDecode
- // /DecodeParms [<</Predictor 1 /Colors 1[3] /BitsPerComponent $bits /Columns $x>>] ??
-- ret.replaceStreamData(PointerHolder<Buffer>(psink.getBuffer()),
-+ ret.replaceStreamData(std::shared_ptr<Buffer>(psink.getBuffer()),
- QPDFObjectHandle::newName("/FlateDecode"),QPDFObjectHandle::newNull());
- #else
- ret.replaceStreamData(page_data,QPDFObjectHandle::newNull(),QPDFObjectHandle::newNull());
-@@ -182,7 +182,7 @@ void finish_page(struct pdf_info * info)
- info->page.getKey("/Contents").replaceStreamData(content,QPDFObjectHandle::newNull(),QPDFObjectHandle::newNull());
-
- // bookkeeping
-- info->page_data = PointerHolder<Buffer>();
-+ info->page_data = std::shared_ptr<Buffer>();
- }
-
- int add_pdf_page(struct pdf_info * info, int pagen, unsigned width, unsigned height, int bpp, unsigned dpi)
-@@ -199,7 +199,7 @@ int add_pdf_page(struct pdf_info * info,
- if (info->height > (std::numeric_limits<unsigned>::max() / info->line_bytes)) {
- die("Page too big");
- }
-- info->page_data = PointerHolder<Buffer>(new Buffer(info->line_bytes*info->height));
-+ info->page_data = std::shared_ptr<Buffer>(new Buffer(info->line_bytes*info->height));
-
- QPDFObjectHandle page = QPDFObjectHandle::parse(
- "<<"
diff --git a/net-print/cups-filters/files/cups-filters-2.0.1-CVE-2025-64524.patch b/net-print/cups-filters/files/cups-filters-2.0.1-CVE-2025-64524.patch
deleted file mode 100644
index e9808766ebce..000000000000
--- a/net-print/cups-filters/files/cups-filters-2.0.1-CVE-2025-64524.patch
+++ /dev/null
@@ -1,80 +0,0 @@
-https://bugs.gentoo.org/970481
-https://github.com/OpenPrinting/cups-filters/commit/0fe46c511e81062575b05936f804eb18c9f0a011
-
-From 0fe46c511e81062575b05936f804eb18c9f0a011 Mon Sep 17 00:00:00 2001
-From: Zdenek Dohnal <zdohnal@redhat.com>
-Date: Wed, 12 Nov 2025 15:47:24 +0100
-Subject: [PATCH] rastertopclx.c: Fix infinite loop caused by crafted file
-
-Infinite loop happened because of crafted input raster file, which led
-into heap buffer overflow of `CompressBuf` array.
-
-Based on comments there should be always some `count` when compressing
-the data, and processing of crafted file ended with offset and count
-being 0.
-
-Fixes CVE-2025-64524
----
- filter/rastertopclx.c | 25 +++++++++++++++++++++++--
- 1 file changed, 23 insertions(+), 2 deletions(-)
-
-diff --git a/filter/rastertopclx.c b/filter/rastertopclx.c
-index ded86f114..39cb378bf 100644
---- a/filter/rastertopclx.c
-+++ b/filter/rastertopclx.c
-@@ -825,10 +825,10 @@ StartPage(cf_filter_data_t *data, // I - filter data
- }
-
- if (header->cupsCompression)
-- CompBuffer = malloc(DotBufferSize * 4);
-+ CompBuffer = calloc(DotBufferSize * 4, sizeof(unsigned char));
-
- if (header->cupsCompression >= 3)
-- SeedBuffer = malloc(DotBufferSize);
-+ SeedBuffer = calloc(DotBufferSize, sizeof(unsigned char));
-
- SeedInvalid = 1;
-
-@@ -1159,6 +1159,13 @@ CompressData(unsigned char *line, // I - Data to compress
- seed ++;
- count ++;
- }
-+
-+ //
-+ // Bail out if we don't have count to compress
-+ //
-+
-+ if (count == 0)
-+ break;
- }
-
- //
-@@ -1252,6 +1259,13 @@ CompressData(unsigned char *line, // I - Data to compress
-
- count = line_ptr - start;
-
-+ //
-+ // Bail out if we don't have count to compress
-+ //
-+
-+ if (count == 0)
-+ break;
-+
- #if 0
- fprintf(stderr,
- "DEBUG: offset=%d, count=%d, comp_ptr=%p(%d of %d)...\n",
-@@ -1424,6 +1438,13 @@ CompressData(unsigned char *line, // I - Data to compress
-
- count = (line_ptr - start) / 3;
-
-+ //
-+ // Bail out if we don't have count to compress
-+ //
-+
-+ if (count == 0)
-+ break;
-+
- //
- // Place mode 10 compression data in the buffer; each sequence
- // starts with a command byte that looks like:
-
diff --git a/net-print/cups-filters/metadata.xml b/net-print/cups-filters/metadata.xml
deleted file mode 100644
index f39cf8273849..000000000000
--- a/net-print/cups-filters/metadata.xml
+++ /dev/null
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>printing@gentoo.org</email>
- <name>Gentoo Printing Project</name>
- </maintainer>
- <use>
- <flag name="foomatic">Build the included foomatic-rip printer driver. Strongly recommended.</flag>
- <flag name="pclm">Enable PCLm support</flag>
- </use>
- <upstream>
- <remote-id type="github">OpenPrinting/cups-filters</remote-id>
- <remote-id type="cpe">cpe:/a:linuxfoundation:cups-filters</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/net-print/cups-meta/cups-meta-1.ebuild b/net-print/cups-meta/cups-meta-1.ebuild
deleted file mode 100644
index 1adb4bb53b92..000000000000
--- a/net-print/cups-meta/cups-meta-1.ebuild
+++ /dev/null
@@ -1,23 +0,0 @@
-# Copyright 2023-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DESCRIPTION="Metapackage for a fully configured cups printer setup"
-HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
-
-LICENSE="metapackage"
-SLOT="0"
-IUSE="+browsed +foomatic pdf +postscript +poppler zeroconf"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
-
-RDEPEND="
- net-print/cups[zeroconf?]
- net-print/libppd[postscript?,poppler?]
- net-print/libcupsfilters[pdf?,poppler?]
- net-print/cups-filters[foomatic?]
-
- browsed? ( net-print/cups-browsed )
- pdf? ( app-text/mupdf )
- postscript? ( >=app-text/ghostscript-gpl-9.09[cups] )
-"
diff --git a/net-print/cups-meta/metadata.xml b/net-print/cups-meta/metadata.xml
deleted file mode 100644
index 45b1ab54c522..000000000000
--- a/net-print/cups-meta/metadata.xml
+++ /dev/null
@@ -1,14 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>printing@gentoo.org</email>
- <name>Gentoo Printing Project</name>
- </maintainer>
- <stabilize-allarches/>
- <use>
- <flag name="browsed">Include support for the cups-browsed daemon.</flag>
- <flag name="foomatic">Include support for the foomatic-rip printer driver. Strongly recommended.</flag>
- <flag name="poppler">Include support for the <pkg>app-text/poppler</pkg> filters.</flag>
- </use>
-</pkgmetadata>
diff --git a/net-print/cups-pdf/Manifest b/net-print/cups-pdf/Manifest
deleted file mode 100644
index 274bac244452..000000000000
--- a/net-print/cups-pdf/Manifest
+++ /dev/null
@@ -1,3 +0,0 @@
-DIST cups-pdf_3.0.1.tar.gz 29754 BLAKE2B f964358c5e465447e703848a697f6c801624a1836e2a0a4026c507c66048cf4bef92327508598ec7e9a356d4f57894a6b610e55b7a9a34e942cf2b88c6c55b85 SHA512 a06580f3056dddbb883c8db0c71b37b883482ae1ac8aa9bcfd85e679c4dcb44278006b7110d2988173d0eeb05b0f19fb39081fad49bf26839235e97fbe27a818
-DIST cups-pdf_3.0.2.tar.gz 32776 BLAKE2B b5a869571cda9197f67ad3a59292c4680c629c91b0440ef5042705751826f7b9877aaccc33d555a85ce225d25d66f6f806473c856621f78e5b6afe9ad496c084 SHA512 e400a12da4b6cdfd9e77bf03e3a4e87f3512a01e5272d94e58ddf51b3cab54d8978c43c8bfd9490e4c7456523662df522ef783aa723332d32b657b6448320618
-DIST cups-pdf_3.0.3.tar.gz 36473 BLAKE2B 211da7231e55da2c60cd9032e486d4c2a12a19a2a49dc5c62ee54a36b614680de91d4d6a20ebec15c90ce31673f3a19dccadb47dd6d99d0e3c56e6e78f177cb9 SHA512 1005ff656d6465db73998dde0bff913249f90b944a2e762a98c5d2b66c1c0d1d0f03060f38199327a9c1a1408453ee764a0d54d71bdcb353b9dfb8a3911c7816
diff --git a/net-print/cups-pdf/cups-pdf-3.0.1-r3.ebuild b/net-print/cups-pdf/cups-pdf-3.0.1-r3.ebuild
deleted file mode 100644
index ed52b55cd752..000000000000
--- a/net-print/cups-pdf/cups-pdf-3.0.1-r3.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit toolchain-funcs
-
-DESCRIPTION="Provides a virtual printer for CUPS to produce PDF files"
-HOMEPAGE="https://www.cups-pdf.de/"
-SRC_URI="https://www.cups-pdf.de/src/${PN}_${PV/_}.tar.gz"
-S=${WORKDIR}/${PN}-${PV/_}
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ppc ~ppc64 x86"
-IUSE="+ppds"
-
-DEPEND="net-print/cups"
-RDEPEND="${DEPEND}
- >=app-text/ghostscript-gpl-9.54"
-
-PATCHES=( "${FILESDIR}"/${PN}-3.0.1-ghostscript-gpl-9.54-compat.patch )
-
-src_configure() {
- tc-export CC
-}
-
-src_compile() {
- LDLIBS="-lcups" emake -C src ${PN}
-}
-
-src_install() {
- exeinto /usr/libexec/cups/backend
- exeopts -m0700
- doexe src/cups-pdf
-
- insinto /etc/cups
- doins extra/cups-pdf.conf
-
- insinto /usr/share/cups/model
- if use ppds; then
- doins extra/CUPS-PDF_opt.ppd
- else
- doins extra/CUPS-PDF_noopt.ppd
- fi
-
- einstalldocs
-}
diff --git a/net-print/cups-pdf/cups-pdf-3.0.2.ebuild b/net-print/cups-pdf/cups-pdf-3.0.2.ebuild
deleted file mode 100644
index 82c73b273003..000000000000
--- a/net-print/cups-pdf/cups-pdf-3.0.2.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit toolchain-funcs
-
-DESCRIPTION="Provides a virtual printer for CUPS to produce PDF files"
-HOMEPAGE="https://www.cups-pdf.de/"
-SRC_URI="https://www.cups-pdf.de/src/${PN}_${PV/_}.tar.gz"
-S=${WORKDIR}/${PN}-${PV/_}
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ppc ~ppc64 x86"
-IUSE="+ppds"
-
-DEPEND="net-print/cups"
-RDEPEND="
- ${DEPEND}
- >=app-text/ghostscript-gpl-9.54
-"
-
-src_configure() {
- tc-export CC
-}
-
-src_compile() {
- LDLIBS="-lcups" emake -C src ${PN}
-}
-
-src_install() {
- exeinto /usr/libexec/cups/backend
- exeopts -m0700
- doexe src/cups-pdf
-
- insinto /etc/cups
- doins extra/cups-pdf.conf
-
- insinto /usr/share/cups/model
- if use ppds; then
- doins extra/CUPS-PDF_opt.ppd
- else
- doins extra/CUPS-PDF_noopt.ppd
- fi
-
- einstalldocs
-}
diff --git a/net-print/cups-pdf/cups-pdf-3.0.3.ebuild b/net-print/cups-pdf/cups-pdf-3.0.3.ebuild
deleted file mode 100644
index 1f6538056113..000000000000
--- a/net-print/cups-pdf/cups-pdf-3.0.3.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit toolchain-funcs
-
-DESCRIPTION="Provides a virtual printer for CUPS to produce PDF files"
-HOMEPAGE="https://www.cups-pdf.de/"
-SRC_URI="https://www.cups-pdf.de/src/${PN}_${PV/_}.tar.gz"
-S="${WORKDIR}"/${PN}-${PV/_}
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
-IUSE="+ppds"
-
-DEPEND="net-print/cups"
-RDEPEND="
- ${DEPEND}
- >=app-text/ghostscript-gpl-9.54
-"
-
-src_configure() {
- tc-export CC
-}
-
-src_compile() {
- LDLIBS="-lcups" emake -C src ${PN}
-}
-
-src_install() {
- exeinto /usr/libexec/cups/backend
- exeopts -m0700
- doexe src/cups-pdf
-
- insinto /etc/cups
- doins extra/cups-pdf.conf
-
- insinto /usr/share/cups/model
- if use ppds; then
- doins extra/CUPS-PDF_opt.ppd
- else
- doins extra/CUPS-PDF_noopt.ppd
- fi
-
- einstalldocs
-}
diff --git a/net-print/cups-pdf/files/cups-pdf-3.0.1-ghostscript-gpl-9.54-compat.patch b/net-print/cups-pdf/files/cups-pdf-3.0.1-ghostscript-gpl-9.54-compat.patch
deleted file mode 100644
index 3890743107e5..000000000000
--- a/net-print/cups-pdf/files/cups-pdf-3.0.1-ghostscript-gpl-9.54-compat.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-https://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=180419375973b9ce4664286a67106d712260ef7f
-
---- a/extra/cups-pdf.conf
-+++ b/extra/cups-pdf.conf
-@@ -250,9 +250,9 @@
- ### Key: GSCall (config)
- ## command line for calling GhostScript (!!! DO NOT USE NEWLINES !!!)
- ## MacOSX: for using pstopdf set this to %s %s -o %s %s
--### Default: %s -q -dCompatibilityLevel=%s -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite -sOutputFile="%s" -dAutoRotatePages=/PageByPage -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dPDFSETTINGS=/prepress -c .setpdfwrite -f %s
-+### Default: %s -q -dCompatibilityLevel=%s -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite -sOutputFile="%s" -dAutoRotatePages=/PageByPage -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dPDFSETTINGS=/prepress -c -f %s
-
--#GSCall %s -q -dCompatibilityLevel=%s -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite -sOutputFile="%s" -dAutoRotatePages=/PageByPage -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dPDFSETTINGS=/prepress -c .setpdfwrite -f %s
-+#GSCall %s -q -dCompatibilityLevel=%s -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite -sOutputFile="%s" -dAutoRotatePages=/PageByPage -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dPDFSETTINGS=/prepress -c -f %s
-
- ### Key: PDFVer (config, ppd, lptopions)
- ## PDF version to be created - can be "1.5", "1.4", "1.3" or "1.2"
---- a/src/cups-pdf.h
-+++ b/src/cups-pdf.h
-@@ -58,7 +58,7 @@ struct {
- { "AnonDirName", SEC_CONF|SEC_PPD, { "/var/spool/cups-pdf/ANONYMOUS" } },
- { "AnonUser", SEC_CONF|SEC_PPD, { "nobody" } },
- { "GhostScript", SEC_CONF|SEC_PPD, { "/usr/bin/gs" } },
-- { "GSCall", SEC_CONF|SEC_PPD, { "%s -q -dCompatibilityLevel=%s -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite -sOutputFile=\"%s\" -dAutoRotatePages=/PageByPage -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dPDFSETTINGS=/prepress -c .setpdfwrite -f %s" } },
-+ { "GSCall", SEC_CONF|SEC_PPD, { "%s -q -dCompatibilityLevel=%s -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite -sOutputFile=\"%s\" -dAutoRotatePages=/PageByPage -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dPDFSETTINGS=/prepress -c -f %s" } },
- { "Grp", SEC_CONF|SEC_PPD, { "lp" } },
- { "GSTmp", SEC_CONF|SEC_PPD, { "TMPDIR=/var/tmp" } },
- { "Log", SEC_CONF|SEC_PPD, { "/var/log/cups" } },
-
diff --git a/net-print/cups-pdf/metadata.xml b/net-print/cups-pdf/metadata.xml
deleted file mode 100644
index 882504794e17..000000000000
--- a/net-print/cups-pdf/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>printing@gentoo.org</email>
- <name>Gentoo Printing Project</name>
- </maintainer>
-</pkgmetadata>
diff --git a/net-print/cups-pk-helper/Manifest b/net-print/cups-pk-helper/Manifest
deleted file mode 100644
index b590abe2099e..000000000000
--- a/net-print/cups-pk-helper/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST cups-pk-helper-0.2.7.tar.xz 54500 BLAKE2B e9107c18396e87bc8e385a32d00ac6d15bfcc6f53e9c04514bbc9e7bee6b4a87ba16b97da321c72fb01fa273a0fdcb396a0eed335e9e37eb98d7a299ec480ca1 SHA512 8f1d5dce73a52552d00eb3f54b39e03ca7ae711a0591572a25bd8926e228457628f1ee7e6ae89bda1b0ef473f860ad85bff9036ca1bc244d2cbda530bab96d40
diff --git a/net-print/cups-pk-helper/cups-pk-helper-0.2.7-r1.ebuild b/net-print/cups-pk-helper/cups-pk-helper-0.2.7-r1.ebuild
deleted file mode 100644
index 374ceb57753b..000000000000
--- a/net-print/cups-pk-helper/cups-pk-helper-0.2.7-r1.ebuild
+++ /dev/null
@@ -1,31 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit gnome.org meson
-
-DESCRIPTION="PolicyKit helper to configure cups with fine-grained privileges"
-HOMEPAGE="https://www.freedesktop.org/wiki/Software/cups-pk-helper https://gitlab.freedesktop.org/cups-pk-helper/cups-pk-helper"
-SRC_URI="https://www.freedesktop.org/software/${PN}/releases/${P}.tar.xz"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="~alpha amd64 ~arm arm64 ~loong ppc ppc64 ~riscv ~sparc x86"
-RESTRICT="test" # bug #864949
-
-DEPEND="
- >=dev-libs/glib-2.36.0:2
- >=sys-auth/polkit-0.97
- net-print/cups
-"
-RDEPEND="${DEPEND}
- sys-apps/dbus
-"
-BDEPEND="
- >=dev-util/gdbus-codegen-2.80.5-r1
- virtual/pkgconfig
- sys-devel/gettext
-"
-
-DOCS=( AUTHORS HACKING NEWS README )
diff --git a/net-print/cups-pk-helper/metadata.xml b/net-print/cups-pk-helper/metadata.xml
deleted file mode 100644
index 5f0502eb8386..000000000000
--- a/net-print/cups-pk-helper/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>gnome@gentoo.org</email>
- <name>Gentoo GNOME Desktop</name>
- </maintainer>
- <upstream>
- <remote-id type="freedesktop-gitlab">cups-pk-helper/cups-pk-helper</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/net-print/cups-windows/Manifest b/net-print/cups-windows/Manifest
deleted file mode 100644
index 59a9b3c999e3..000000000000
--- a/net-print/cups-windows/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST cups-windows-6.0-source.tar.bz2 38284 BLAKE2B 67722a99dc906ac9c39ba9a93b7fbbb24a44b7400de6209ac5d0ddedc4f891b48ad0284d6cfa8336400697af6eaa006e79349931cefe55cf72b428546c6ff43e SHA512 03bd66d210ee191d25139d9e462543a01d30e8a0dc797a9ee62673e84cfa9d057cc6d327792c74941a17e5021a7ffe52c40bcb52a3f3f4186f59f04796c809df
diff --git a/net-print/cups-windows/cups-windows-6.0-r1.ebuild b/net-print/cups-windows/cups-windows-6.0-r1.ebuild
deleted file mode 100644
index 9dd662194570..000000000000
--- a/net-print/cups-windows/cups-windows-6.0-r1.ebuild
+++ /dev/null
@@ -1,24 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DESCRIPTION="CUPS PostScript Driver for Windows"
-HOMEPAGE="https://www.cups.org/"
-SRC_URI="mirror://gentoo/${P}-source.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm ~hppa ~m68k ~mips ppc ppc64 ~s390 ~sparc x86"
-
-RDEPEND=">=net-print/cups-1.2"
-DEPEND="${RDEPEND}"
-
-src_install() {
- emake BUILDROOT="${D}" install
- dodoc README.txt
-
- einfo "Copying missing cups6.ppd file"
- insinto /usr/share/cups/drivers
- doins i386/cups6.ppd
-}
diff --git a/net-print/cups-windows/metadata.xml b/net-print/cups-windows/metadata.xml
deleted file mode 100644
index e2fedda90ee1..000000000000
--- a/net-print/cups-windows/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<maintainer type="project">
- <email>printing@gentoo.org</email>
- <name>Gentoo Printing Project</name>
-</maintainer>
-</pkgmetadata>
diff --git a/net-print/cups/Manifest b/net-print/cups/Manifest
deleted file mode 100644
index a25585d7ac5e..000000000000
--- a/net-print/cups/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST cups-2.4.16-source.tar.gz 8159166 BLAKE2B db7e9ea3c14794e54b92b18fcb8eb4a9b643ae9a77da864b2858fa0a72439c84be5484515b51b1c43f0a486e2b91a8565b7b835badcce9caef198fbdd3a0e0f8 SHA512 ee0d2afdba7b713c8249912dd738c4fa87efb6f7cdb0a48a48be299d03ae4b1a02773418d6ffc4f7c5731bbae2c859bcc39695f9b93cc422ec6124b7ba179734
-DIST cups-2.4.19-source.tar.gz 7950335 BLAKE2B 6c6a4c5b15e1ed4ae10abb21c9f4c6a4820df3f2289b478510579a455d3ceb82c6bac850765f05d6671588fdbfed1942e6e84e9a12c4547daa89a740bf3c3419 SHA512 3d7f7bd448afc54011e98cc3f6a6cfe704bdae58a1e0cdde19f95ed0b4956b518c6e0a64277c99daa38b26d3ddf23033a4135cc21c3e5d7602731789024fa287
diff --git a/net-print/cups/cups-2.4.16.ebuild b/net-print/cups/cups-2.4.16.ebuild
deleted file mode 100644
index d62e2a09231e..000000000000
--- a/net-print/cups/cups-2.4.16.ebuild
+++ /dev/null
@@ -1,318 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools eapi9-ver linux-info xdg multilib-minimal optfeature pam toolchain-funcs
-
-MY_PV="${PV/_beta/b}"
-MY_PV="${MY_PV/_rc/rc}"
-MY_PV="${MY_PV/_p/op}"
-MY_P="${PN}-${MY_PV}"
-
-if [[ ${PV} == *9999 ]] ; then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/OpenPrinting/cups.git"
- [[ ${PV} != 9999 ]] && EGIT_BRANCH=branch-${PV/.9999}
-else
- SRC_URI="https://github.com/OpenPrinting/cups/releases/download/v${MY_PV}/cups-${MY_PV}-source.tar.gz"
- if [[ ${PV} != *_beta* && ${PV} != *_rc* ]] ; then
- KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
- fi
-fi
-
-DESCRIPTION="The Common Unix Printing System"
-HOMEPAGE="https://www.cups.org/ https://github.com/OpenPrinting/cups"
-S="${WORKDIR}/${MY_P}"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-IUSE="acl dbus debug kerberos openssl pam selinux static-libs systemd test usb X xinetd zeroconf"
-
-RESTRICT="!test? ( test )"
-
-BDEPEND="
- acct-group/lp
- acct-group/lpadmin
- virtual/pkgconfig
-"
-COMMON_DEPEND="
- app-text/libpaper:=
- virtual/zlib:=
- acl? (
- kernel_linux? (
- sys-apps/acl
- )
- )
- dbus? ( >=sys-apps/dbus-1.6.18-r1[${MULTILIB_USEDEP}] )
- kerberos? ( >=virtual/krb5-0-r1[${MULTILIB_USEDEP}] )
- pam? ( sys-libs/pam )
- !pam? ( virtual/libcrypt:= )
- !openssl? ( >=net-libs/gnutls-2.12.23-r6:=[${MULTILIB_USEDEP}] )
- openssl? ( dev-libs/openssl:=[${MULTILIB_USEDEP}] )
- systemd? ( sys-apps/systemd )
- usb? ( virtual/libusb:1 )
- X? ( x11-misc/xdg-utils )
- xinetd? ( sys-apps/xinetd )
- zeroconf? ( >=net-dns/avahi-0.6.31-r2[dbus,${MULTILIB_USEDEP}] )
-"
-# if libcupsfilters is installed, more tests are run. They fail without at least one of the two formats enabled.
-DEPEND="
- ${COMMON_DEPEND}
- test? ( || ( net-print/libcupsfilters[jpeg] net-print/libcupsfilters[png] ) )
-"
-RDEPEND="
- ${COMMON_DEPEND}
- acct-group/lp
- acct-group/lpadmin
- selinux? ( sec-policy/selinux-cups )
-"
-
-PATCHES=(
- "${FILESDIR}/${PN}-2.4.1-nostrip.patch"
- "${FILESDIR}/${PN}-2.4.1-user-AR.patch"
-)
-
-MULTILIB_CHOST_TOOLS=(
- /usr/bin/cups-config
-)
-
-pkg_setup() {
- if use kernel_linux; then
- linux-info_pkg_setup
- if ! linux_config_exists; then
- ewarn "Can't check the linux kernel configuration."
- ewarn "You might have some incompatible options enabled."
- else
- # Recheck that we don't have usblp to collide with libusb; this should now work in most cases (bug #501122)
- if use usb; then
- if linux_chkconfig_present USB_PRINTER; then
- elog "Your USB printers will be managed via libusb. In case you run into problems, "
- elog "please try disabling USB_PRINTER support in your kernel or blacklisting the"
- elog "usblp kernel module."
- elog "Alternatively, just disable the usb useflag for cups (your printer will still work)."
- fi
- else
- if ! linux_chkconfig_present USB_PRINTER; then
- ewarn "If you plan to use USB printers you should enable the USB_PRINTER"
- ewarn "support in your kernel."
- ewarn "Please enable it:"
- ewarn " CONFIG_USB_PRINTER=y"
- ewarn "in /usr/src/linux/.config or"
- ewarn " Device Drivers --->"
- ewarn " USB support --->"
- ewarn " [*] USB Printer support"
- ewarn "Alternatively, enable the usb useflag for cups and use the libusb code."
- fi
- fi
- fi
- fi
-}
-
-src_prepare() {
- default
-
- # Remove ".SILENT" rule for verbose output (bug #524338).
- sed 's#^.SILENT:##g' -i Makedefs.in || die
-
- # Remove redefinition of _FORTIFY_SOURCE (bug #907683)
- sed 's#-D_FORTIFY_SOURCE=3##g' -i config-scripts/cups-compiler.m4 || die
-
- AT_M4DIR="config-scripts" eautoreconf
-
- # Custom Makefiles
- multilib_copy_sources
-}
-
-multilib_src_configure() {
- export DSOFLAGS="${LDFLAGS}"
-
- # Explicitly specify compiler wrt bug #524340
- #
- # Need to override KRB5CONFIG for proper flags
- # https://github.com/apple/cups/issues/4423
- local myeconfargs=(
- CC="$(tc-getCC)"
- CXX="$(tc-getCXX)"
- KRB5CONFIG="${EPREFIX}"/usr/bin/${CHOST}-krb5-config
- --libdir="${EPREFIX}"/usr/$(get_libdir)
- --localstatedir="${EPREFIX}"/var
- # Follow Fedora permission setting
- --with-cupsd-file-perm=0755
- --with-exe-file-perm=755
- --with-log-file-perm=0640
- # Used by Debian, also prevents printers from getting
- # disabled and users not knowing how to re-enable them
- --with-error-policy=retry-job
- # Used in Debian and Fedora
- --enable-sync-on-close
- #
- --with-rundir="${EPREFIX}"/run/cups
- --with-pkgconfpath="${EPREFIX}"/usr/$(get_libdir)/pkgconfig
- --with-cups-user=lp
- --with-cups-group=lp
- --with-docdir="${EPREFIX}"/usr/share/cups/html
- # See bug #863221 for adding root
- --with-system-groups="root lpadmin"
- --with-xinetd="${EPREFIX}"/etc/xinetd.d
- $(multilib_native_use_enable acl)
- $(use_enable dbus)
- $(use_enable debug)
- $(use_enable debug debug-guards)
- $(use_enable debug debug-printfs)
- $(use_enable kerberos gssapi)
- $(multilib_native_use_enable pam)
- $(use_enable static-libs static)
- --with-tls=$(usex openssl openssl gnutls)
- $(use_with systemd ondemand systemd)
- $(multilib_native_use_enable usb libusb)
- $(use_with zeroconf dnssd avahi)
- $(multilib_is_native_abi && echo --enable-libpaper || echo --disable-libpaper)
- )
-
- # Handle empty LINGUAS properly, bug #771162
- if [[ -n "${LINGUAS+x}" ]] ; then
- myeconfargs+=(
- --with-languages="${LINGUAS}"
- )
- fi
-
- if tc-is-static-only; then
- myeconfargs+=(
- --disable-shared
- )
- fi
-
- # Install in /usr/libexec always, instead of using /usr/lib/cups, as that
- # makes more sense when facing multilib support.
- sed -i -e 's:CUPS_SERVERBIN="$exec_prefix/lib/cups":CUPS_SERVERBIN="$exec_prefix/libexec/cups":g' configure ||die
-
- econf "${myeconfargs[@]}"
-
- sed -i -e "s:SERVERBIN.*:SERVERBIN = \"\$\(BUILDROOT\)${EPREFIX}/usr/libexec/cups\":" Makedefs || die
- sed -i -e "s:#define CUPS_SERVERBIN.*:#define CUPS_SERVERBIN \"${EPREFIX}/usr/libexec/cups\":" config.h || die
- sed -i -e "s:cups_serverbin=.*:cups_serverbin=\"${EPREFIX}/usr/libexec/cups\":" cups-config || die
-
- # Additional path corrections needed for prefix, see bug #597728
- sed \
- -e "s:ICONDIR.*:ICONDIR = ${EPREFIX}/usr/share/icons:" \
- -e "s:INITDIR.*:INITDIR = ${EPREFIX}/etc:" \
- -e "s:DBUSDIR.*:DBUSDIR = ${EPREFIX}/etc/dbus-1:" \
- -e "s:MENUDIR.*:MENUDIR = ${EPREFIX}/usr/share/applications:" \
- -i Makedefs || die
-}
-
-multilib_src_compile() {
- if multilib_is_native_abi; then
- default
- else
- emake libs
- fi
-}
-
-multilib_src_test() {
- # We only build some of CUPS for multilib, so can't run the tests.
- if multilib_is_native_abi; then
- # Avoid using /tmp
- export CUPS_TESTBASE="${T}"/cups-tests
-
- mkdir "${T}"/cups-tests || die
-
- # avoid building *and running* test binaries in src_compile
- # https://github.com/OpenPrinting/cups/commit/b1d42061e9286f50eefc851ed906d17c6e80c4b0
- emake UNITTESTS=unittests
- default
- fi
-}
-
-multilib_src_install() {
- if multilib_is_native_abi; then
- emake BUILDROOT="${D}" install
- else
- emake BUILDROOT="${D}" install-libs install-headers
-
- # Manually install pkgconfig file to avoid tangling with duplicate file behavior
- insinto /usr/$(get_libdir)/pkgconfig
- doins cups.pc
-
- dobin cups-config
- fi
-}
-
-multilib_src_install_all() {
- dodoc {CHANGES,CREDITS,README}.md
-
- # Move the default config file to docs
- dodoc "${ED}"/etc/cups/cupsd.conf.default
- rm "${ED}"/etc/cups/cupsd.conf.default || die
-
- # Clean out cups init scripts
- rm -r "${ED}"/etc/{init.d/cups,rc*} || die
-
- # Install our init script
- local neededservices=(
- $(usex zeroconf avahi-daemon '')
- $(usex dbus dbus '')
- )
- [[ -n ${neededservices[@]} ]] && neededservices="need ${neededservices[@]}"
- cp "${FILESDIR}"/cupsd.init.d-r4 "${T}"/cupsd || die
- sed -i -e "s/@neededservices@/${neededservices}/" "${T}"/cupsd || die
- doinitd "${T}"/cupsd
-
- if use pam ; then
- rm "${ED}"/etc/pam.d/${PN} || die
- pamd_mimic_system cups auth account
- fi
-
- if use xinetd ; then
- # Correct path
- sed -i -e "s:server = .*:server = /usr/libexec/cups/daemon/cups-lpd:" \
- "${ED}"/etc/xinetd.d/cups-lpd || die
- # It is safer to disable this by default, bug #137130
- grep -w 'disable' "${ED}"/etc/xinetd.d/cups-lpd || \
- { sed -i -e "s:}:\tdisable = yes\n}:" "${ED}"/etc/xinetd.d/cups-lpd || die ; }
- # Write permission for file owner (root), bug #296221
- fperms u+w /etc/xinetd.d/cups-lpd
- else
- # Always configure with --with-xinetd= and clean up later,
- # bug #525604
- rm -r "${ED}"/etc/xinetd.d || die
- fi
-
- keepdir /etc/cups/{interfaces,ppd,ssl}
-
- if ! use X ; then
- rm -r "${ED}"/usr/share/applications || die
- fi
-
- # Create /etc/cups/client.conf, bug #196967 and bug #266678
- echo "ServerName ${EPREFIX}/run/cups/cups.sock" >> "${ED}"/etc/cups/client.conf
-
- # The following file is now provided by cups-filter:
- rm -r "${ED}"/usr/share/cups/banners || die
-
- # The following are created by the init script
- rm -r "${ED}"/var/cache || die
- rm -r "${ED}"/run || die
-
- keepdir /usr/libexec/cups/driver /usr/share/cups/{model,profiles} /var/log/cups /var/spool/cups/tmp
-}
-
-pkg_postinst() {
- xdg_pkg_postinst
-
- if ver_replacing -lt 2.2.2-r2 ; then
- ewarn "The cupsd init script switched to using pidfiles. Shutting down"
- ewarn "cupsd will fail the next time. To fix this, please run once as root"
- ewarn " killall cupsd ; /etc/init.d/cupsd zap ; /etc/init.d/cupsd start"
- fi
-
- if [[ -n ${REPLACING_VERSIONS} ]]; then
- elog
- elog "For information about installing a printer and general cups setup"
- elog "take a look at: https://wiki.gentoo.org/wiki/Printing"
- fi
-
- optfeature_header "CUPS may need installing the following for certain features to work:"
- use zeroconf && optfeature "local hostname resolution using a hostname.local naming scheme" sys-auth/nss-mdns
-}
diff --git a/net-print/cups/cups-2.4.19.ebuild b/net-print/cups/cups-2.4.19.ebuild
deleted file mode 100644
index 56c63be3d4e4..000000000000
--- a/net-print/cups/cups-2.4.19.ebuild
+++ /dev/null
@@ -1,318 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools eapi9-ver linux-info xdg multilib-minimal optfeature pam toolchain-funcs
-
-MY_PV="${PV/_beta/b}"
-MY_PV="${MY_PV/_rc/rc}"
-MY_PV="${MY_PV/_p/op}"
-MY_P="${PN}-${MY_PV}"
-
-if [[ ${PV} == *9999 ]] ; then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/OpenPrinting/cups.git"
- [[ ${PV} != 9999 ]] && EGIT_BRANCH=branch-${PV/.9999}
-else
- SRC_URI="https://github.com/OpenPrinting/cups/releases/download/v${MY_PV}/cups-${MY_PV}-source.tar.gz"
- if [[ ${PV} != *_beta* && ${PV} != *_rc* ]] ; then
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
- fi
-fi
-
-DESCRIPTION="The Common Unix Printing System"
-HOMEPAGE="https://www.cups.org/ https://github.com/OpenPrinting/cups"
-S="${WORKDIR}/${MY_P}"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-IUSE="acl dbus debug kerberos openssl pam selinux static-libs systemd test usb X xinetd zeroconf"
-
-RESTRICT="!test? ( test )"
-
-BDEPEND="
- acct-group/lp
- acct-group/lpadmin
- virtual/pkgconfig
-"
-COMMON_DEPEND="
- app-text/libpaper:=
- virtual/zlib:=
- acl? (
- kernel_linux? (
- sys-apps/acl
- )
- )
- dbus? ( >=sys-apps/dbus-1.6.18-r1[${MULTILIB_USEDEP}] )
- kerberos? ( >=virtual/krb5-0-r1[${MULTILIB_USEDEP}] )
- pam? ( sys-libs/pam )
- !pam? ( virtual/libcrypt:= )
- !openssl? ( >=net-libs/gnutls-2.12.23-r6:=[${MULTILIB_USEDEP}] )
- openssl? ( dev-libs/openssl:=[${MULTILIB_USEDEP}] )
- systemd? ( sys-apps/systemd )
- usb? ( virtual/libusb:1 )
- X? ( x11-misc/xdg-utils )
- xinetd? ( sys-apps/xinetd )
- zeroconf? ( >=net-dns/avahi-0.6.31-r2[dbus,${MULTILIB_USEDEP}] )
-"
-# if libcupsfilters is installed, more tests are run. They fail without at least one of the two formats enabled.
-DEPEND="
- ${COMMON_DEPEND}
- test? ( || ( net-print/libcupsfilters[jpeg] net-print/libcupsfilters[png] ) )
-"
-RDEPEND="
- ${COMMON_DEPEND}
- acct-group/lp
- acct-group/lpadmin
- selinux? ( sec-policy/selinux-cups )
-"
-
-PATCHES=(
- "${FILESDIR}/${PN}-2.4.1-nostrip.patch"
- "${FILESDIR}/${PN}-2.4.1-user-AR.patch"
-)
-
-MULTILIB_CHOST_TOOLS=(
- /usr/bin/cups-config
-)
-
-pkg_setup() {
- if use kernel_linux; then
- linux-info_pkg_setup
- if ! linux_config_exists; then
- ewarn "Can't check the linux kernel configuration."
- ewarn "You might have some incompatible options enabled."
- else
- # Recheck that we don't have usblp to collide with libusb; this should now work in most cases (bug #501122)
- if use usb; then
- if linux_chkconfig_present USB_PRINTER; then
- elog "Your USB printers will be managed via libusb. In case you run into problems, "
- elog "please try disabling USB_PRINTER support in your kernel or blacklisting the"
- elog "usblp kernel module."
- elog "Alternatively, just disable the usb useflag for cups (your printer will still work)."
- fi
- else
- if ! linux_chkconfig_present USB_PRINTER; then
- ewarn "If you plan to use USB printers you should enable the USB_PRINTER"
- ewarn "support in your kernel."
- ewarn "Please enable it:"
- ewarn " CONFIG_USB_PRINTER=y"
- ewarn "in /usr/src/linux/.config or"
- ewarn " Device Drivers --->"
- ewarn " USB support --->"
- ewarn " [*] USB Printer support"
- ewarn "Alternatively, enable the usb useflag for cups and use the libusb code."
- fi
- fi
- fi
- fi
-}
-
-src_prepare() {
- default
-
- # Remove ".SILENT" rule for verbose output (bug #524338).
- sed 's#^.SILENT:##g' -i Makedefs.in || die
-
- # Remove redefinition of _FORTIFY_SOURCE (bug #907683)
- sed 's#-D_FORTIFY_SOURCE=3##g' -i config-scripts/cups-compiler.m4 || die
-
- AT_M4DIR="config-scripts" eautoreconf
-
- # Custom Makefiles
- multilib_copy_sources
-}
-
-multilib_src_configure() {
- export DSOFLAGS="${LDFLAGS}"
-
- # Explicitly specify compiler wrt bug #524340
- #
- # Need to override KRB5CONFIG for proper flags
- # https://github.com/apple/cups/issues/4423
- local myeconfargs=(
- CC="$(tc-getCC)"
- CXX="$(tc-getCXX)"
- KRB5CONFIG="${EPREFIX}"/usr/bin/${CHOST}-krb5-config
- --libdir="${EPREFIX}"/usr/$(get_libdir)
- --localstatedir="${EPREFIX}"/var
- # Follow Fedora permission setting
- --with-cupsd-file-perm=0755
- --with-exe-file-perm=755
- --with-log-file-perm=0640
- # Used by Debian, also prevents printers from getting
- # disabled and users not knowing how to re-enable them
- --with-error-policy=retry-job
- # Used in Debian and Fedora
- --enable-sync-on-close
- #
- --with-rundir="${EPREFIX}"/run/cups
- --with-pkgconfpath="${EPREFIX}"/usr/$(get_libdir)/pkgconfig
- --with-cups-user=lp
- --with-cups-group=lp
- --with-docdir="${EPREFIX}"/usr/share/cups/html
- # See bug #863221 for adding root
- --with-system-groups="root lpadmin"
- --with-xinetd="${EPREFIX}"/etc/xinetd.d
- $(multilib_native_use_enable acl)
- $(use_enable dbus)
- $(use_enable debug)
- $(use_enable debug debug-guards)
- $(use_enable debug debug-printfs)
- $(use_enable kerberos gssapi)
- $(multilib_native_use_enable pam)
- $(use_enable static-libs static)
- --with-tls=$(usex openssl openssl gnutls)
- $(use_with systemd ondemand systemd)
- $(multilib_native_use_enable usb libusb)
- $(use_with zeroconf dnssd avahi)
- $(multilib_is_native_abi && echo --enable-libpaper || echo --disable-libpaper)
- )
-
- # Handle empty LINGUAS properly, bug #771162
- if [[ -n "${LINGUAS+x}" ]] ; then
- myeconfargs+=(
- --with-languages="${LINGUAS}"
- )
- fi
-
- if tc-is-static-only; then
- myeconfargs+=(
- --disable-shared
- )
- fi
-
- # Install in /usr/libexec always, instead of using /usr/lib/cups, as that
- # makes more sense when facing multilib support.
- sed -i -e 's:CUPS_SERVERBIN="$exec_prefix/lib/cups":CUPS_SERVERBIN="$exec_prefix/libexec/cups":g' configure ||die
-
- econf "${myeconfargs[@]}"
-
- sed -i -e "s:SERVERBIN.*:SERVERBIN = \"\$\(BUILDROOT\)${EPREFIX}/usr/libexec/cups\":" Makedefs || die
- sed -i -e "s:#define CUPS_SERVERBIN.*:#define CUPS_SERVERBIN \"${EPREFIX}/usr/libexec/cups\":" config.h || die
- sed -i -e "s:cups_serverbin=.*:cups_serverbin=\"${EPREFIX}/usr/libexec/cups\":" cups-config || die
-
- # Additional path corrections needed for prefix, see bug #597728
- sed \
- -e "s:ICONDIR.*:ICONDIR = ${EPREFIX}/usr/share/icons:" \
- -e "s:INITDIR.*:INITDIR = ${EPREFIX}/etc:" \
- -e "s:DBUSDIR.*:DBUSDIR = ${EPREFIX}/etc/dbus-1:" \
- -e "s:MENUDIR.*:MENUDIR = ${EPREFIX}/usr/share/applications:" \
- -i Makedefs || die
-}
-
-multilib_src_compile() {
- if multilib_is_native_abi; then
- default
- else
- emake libs
- fi
-}
-
-multilib_src_test() {
- # We only build some of CUPS for multilib, so can't run the tests.
- if multilib_is_native_abi; then
- # Avoid using /tmp
- export CUPS_TESTBASE="${T}"/cups-tests
-
- mkdir "${T}"/cups-tests || die
-
- # avoid building *and running* test binaries in src_compile
- # https://github.com/OpenPrinting/cups/commit/b1d42061e9286f50eefc851ed906d17c6e80c4b0
- emake UNITTESTS=unittests
- default
- fi
-}
-
-multilib_src_install() {
- if multilib_is_native_abi; then
- emake BUILDROOT="${D}" install
- else
- emake BUILDROOT="${D}" install-libs install-headers
-
- # Manually install pkgconfig file to avoid tangling with duplicate file behavior
- insinto /usr/$(get_libdir)/pkgconfig
- doins cups.pc
-
- dobin cups-config
- fi
-}
-
-multilib_src_install_all() {
- dodoc {CHANGES,CREDITS,README}.md
-
- # Move the default config file to docs
- dodoc "${ED}"/etc/cups/cupsd.conf.default
- rm "${ED}"/etc/cups/cupsd.conf.default || die
-
- # Clean out cups init scripts
- rm -r "${ED}"/etc/{init.d/cups,rc*} || die
-
- # Install our init script
- local neededservices=(
- $(usex zeroconf avahi-daemon '')
- $(usex dbus dbus '')
- )
- [[ -n ${neededservices[@]} ]] && neededservices="need ${neededservices[@]}"
- cp "${FILESDIR}"/cupsd.init.d-r4 "${T}"/cupsd || die
- sed -i -e "s/@neededservices@/${neededservices}/" "${T}"/cupsd || die
- doinitd "${T}"/cupsd
-
- if use pam ; then
- rm "${ED}"/etc/pam.d/${PN} || die
- pamd_mimic_system cups auth account
- fi
-
- if use xinetd ; then
- # Correct path
- sed -i -e "s:server = .*:server = /usr/libexec/cups/daemon/cups-lpd:" \
- "${ED}"/etc/xinetd.d/cups-lpd || die
- # It is safer to disable this by default, bug #137130
- grep -w 'disable' "${ED}"/etc/xinetd.d/cups-lpd || \
- { sed -i -e "s:}:\tdisable = yes\n}:" "${ED}"/etc/xinetd.d/cups-lpd || die ; }
- # Write permission for file owner (root), bug #296221
- fperms u+w /etc/xinetd.d/cups-lpd
- else
- # Always configure with --with-xinetd= and clean up later,
- # bug #525604
- rm -r "${ED}"/etc/xinetd.d || die
- fi
-
- keepdir /etc/cups/{interfaces,ppd,ssl}
-
- if ! use X ; then
- rm -r "${ED}"/usr/share/applications || die
- fi
-
- # Create /etc/cups/client.conf, bug #196967 and bug #266678
- echo "ServerName ${EPREFIX}/run/cups/cups.sock" >> "${ED}"/etc/cups/client.conf
-
- # The following file is now provided by cups-filter:
- rm -r "${ED}"/usr/share/cups/banners || die
-
- # The following are created by the init script
- rm -r "${ED}"/var/cache || die
- rm -r "${ED}"/run || die
-
- keepdir /usr/libexec/cups/driver /usr/share/cups/{model,profiles} /var/log/cups /var/spool/cups/tmp
-}
-
-pkg_postinst() {
- xdg_pkg_postinst
-
- if ver_replacing -lt 2.2.2-r2 ; then
- ewarn "The cupsd init script switched to using pidfiles. Shutting down"
- ewarn "cupsd will fail the next time. To fix this, please run once as root"
- ewarn " killall cupsd ; /etc/init.d/cupsd zap ; /etc/init.d/cupsd start"
- fi
-
- if [[ -n ${REPLACING_VERSIONS} ]]; then
- elog
- elog "For information about installing a printer and general cups setup"
- elog "take a look at: https://wiki.gentoo.org/wiki/Printing"
- fi
-
- optfeature_header "CUPS may need installing the following for certain features to work:"
- use zeroconf && optfeature "local hostname resolution using a hostname.local naming scheme" sys-auth/nss-mdns
-}
diff --git a/net-print/cups/cups-9999.ebuild b/net-print/cups/cups-9999.ebuild
deleted file mode 100644
index 56c63be3d4e4..000000000000
--- a/net-print/cups/cups-9999.ebuild
+++ /dev/null
@@ -1,318 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools eapi9-ver linux-info xdg multilib-minimal optfeature pam toolchain-funcs
-
-MY_PV="${PV/_beta/b}"
-MY_PV="${MY_PV/_rc/rc}"
-MY_PV="${MY_PV/_p/op}"
-MY_P="${PN}-${MY_PV}"
-
-if [[ ${PV} == *9999 ]] ; then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/OpenPrinting/cups.git"
- [[ ${PV} != 9999 ]] && EGIT_BRANCH=branch-${PV/.9999}
-else
- SRC_URI="https://github.com/OpenPrinting/cups/releases/download/v${MY_PV}/cups-${MY_PV}-source.tar.gz"
- if [[ ${PV} != *_beta* && ${PV} != *_rc* ]] ; then
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
- fi
-fi
-
-DESCRIPTION="The Common Unix Printing System"
-HOMEPAGE="https://www.cups.org/ https://github.com/OpenPrinting/cups"
-S="${WORKDIR}/${MY_P}"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-IUSE="acl dbus debug kerberos openssl pam selinux static-libs systemd test usb X xinetd zeroconf"
-
-RESTRICT="!test? ( test )"
-
-BDEPEND="
- acct-group/lp
- acct-group/lpadmin
- virtual/pkgconfig
-"
-COMMON_DEPEND="
- app-text/libpaper:=
- virtual/zlib:=
- acl? (
- kernel_linux? (
- sys-apps/acl
- )
- )
- dbus? ( >=sys-apps/dbus-1.6.18-r1[${MULTILIB_USEDEP}] )
- kerberos? ( >=virtual/krb5-0-r1[${MULTILIB_USEDEP}] )
- pam? ( sys-libs/pam )
- !pam? ( virtual/libcrypt:= )
- !openssl? ( >=net-libs/gnutls-2.12.23-r6:=[${MULTILIB_USEDEP}] )
- openssl? ( dev-libs/openssl:=[${MULTILIB_USEDEP}] )
- systemd? ( sys-apps/systemd )
- usb? ( virtual/libusb:1 )
- X? ( x11-misc/xdg-utils )
- xinetd? ( sys-apps/xinetd )
- zeroconf? ( >=net-dns/avahi-0.6.31-r2[dbus,${MULTILIB_USEDEP}] )
-"
-# if libcupsfilters is installed, more tests are run. They fail without at least one of the two formats enabled.
-DEPEND="
- ${COMMON_DEPEND}
- test? ( || ( net-print/libcupsfilters[jpeg] net-print/libcupsfilters[png] ) )
-"
-RDEPEND="
- ${COMMON_DEPEND}
- acct-group/lp
- acct-group/lpadmin
- selinux? ( sec-policy/selinux-cups )
-"
-
-PATCHES=(
- "${FILESDIR}/${PN}-2.4.1-nostrip.patch"
- "${FILESDIR}/${PN}-2.4.1-user-AR.patch"
-)
-
-MULTILIB_CHOST_TOOLS=(
- /usr/bin/cups-config
-)
-
-pkg_setup() {
- if use kernel_linux; then
- linux-info_pkg_setup
- if ! linux_config_exists; then
- ewarn "Can't check the linux kernel configuration."
- ewarn "You might have some incompatible options enabled."
- else
- # Recheck that we don't have usblp to collide with libusb; this should now work in most cases (bug #501122)
- if use usb; then
- if linux_chkconfig_present USB_PRINTER; then
- elog "Your USB printers will be managed via libusb. In case you run into problems, "
- elog "please try disabling USB_PRINTER support in your kernel or blacklisting the"
- elog "usblp kernel module."
- elog "Alternatively, just disable the usb useflag for cups (your printer will still work)."
- fi
- else
- if ! linux_chkconfig_present USB_PRINTER; then
- ewarn "If you plan to use USB printers you should enable the USB_PRINTER"
- ewarn "support in your kernel."
- ewarn "Please enable it:"
- ewarn " CONFIG_USB_PRINTER=y"
- ewarn "in /usr/src/linux/.config or"
- ewarn " Device Drivers --->"
- ewarn " USB support --->"
- ewarn " [*] USB Printer support"
- ewarn "Alternatively, enable the usb useflag for cups and use the libusb code."
- fi
- fi
- fi
- fi
-}
-
-src_prepare() {
- default
-
- # Remove ".SILENT" rule for verbose output (bug #524338).
- sed 's#^.SILENT:##g' -i Makedefs.in || die
-
- # Remove redefinition of _FORTIFY_SOURCE (bug #907683)
- sed 's#-D_FORTIFY_SOURCE=3##g' -i config-scripts/cups-compiler.m4 || die
-
- AT_M4DIR="config-scripts" eautoreconf
-
- # Custom Makefiles
- multilib_copy_sources
-}
-
-multilib_src_configure() {
- export DSOFLAGS="${LDFLAGS}"
-
- # Explicitly specify compiler wrt bug #524340
- #
- # Need to override KRB5CONFIG for proper flags
- # https://github.com/apple/cups/issues/4423
- local myeconfargs=(
- CC="$(tc-getCC)"
- CXX="$(tc-getCXX)"
- KRB5CONFIG="${EPREFIX}"/usr/bin/${CHOST}-krb5-config
- --libdir="${EPREFIX}"/usr/$(get_libdir)
- --localstatedir="${EPREFIX}"/var
- # Follow Fedora permission setting
- --with-cupsd-file-perm=0755
- --with-exe-file-perm=755
- --with-log-file-perm=0640
- # Used by Debian, also prevents printers from getting
- # disabled and users not knowing how to re-enable them
- --with-error-policy=retry-job
- # Used in Debian and Fedora
- --enable-sync-on-close
- #
- --with-rundir="${EPREFIX}"/run/cups
- --with-pkgconfpath="${EPREFIX}"/usr/$(get_libdir)/pkgconfig
- --with-cups-user=lp
- --with-cups-group=lp
- --with-docdir="${EPREFIX}"/usr/share/cups/html
- # See bug #863221 for adding root
- --with-system-groups="root lpadmin"
- --with-xinetd="${EPREFIX}"/etc/xinetd.d
- $(multilib_native_use_enable acl)
- $(use_enable dbus)
- $(use_enable debug)
- $(use_enable debug debug-guards)
- $(use_enable debug debug-printfs)
- $(use_enable kerberos gssapi)
- $(multilib_native_use_enable pam)
- $(use_enable static-libs static)
- --with-tls=$(usex openssl openssl gnutls)
- $(use_with systemd ondemand systemd)
- $(multilib_native_use_enable usb libusb)
- $(use_with zeroconf dnssd avahi)
- $(multilib_is_native_abi && echo --enable-libpaper || echo --disable-libpaper)
- )
-
- # Handle empty LINGUAS properly, bug #771162
- if [[ -n "${LINGUAS+x}" ]] ; then
- myeconfargs+=(
- --with-languages="${LINGUAS}"
- )
- fi
-
- if tc-is-static-only; then
- myeconfargs+=(
- --disable-shared
- )
- fi
-
- # Install in /usr/libexec always, instead of using /usr/lib/cups, as that
- # makes more sense when facing multilib support.
- sed -i -e 's:CUPS_SERVERBIN="$exec_prefix/lib/cups":CUPS_SERVERBIN="$exec_prefix/libexec/cups":g' configure ||die
-
- econf "${myeconfargs[@]}"
-
- sed -i -e "s:SERVERBIN.*:SERVERBIN = \"\$\(BUILDROOT\)${EPREFIX}/usr/libexec/cups\":" Makedefs || die
- sed -i -e "s:#define CUPS_SERVERBIN.*:#define CUPS_SERVERBIN \"${EPREFIX}/usr/libexec/cups\":" config.h || die
- sed -i -e "s:cups_serverbin=.*:cups_serverbin=\"${EPREFIX}/usr/libexec/cups\":" cups-config || die
-
- # Additional path corrections needed for prefix, see bug #597728
- sed \
- -e "s:ICONDIR.*:ICONDIR = ${EPREFIX}/usr/share/icons:" \
- -e "s:INITDIR.*:INITDIR = ${EPREFIX}/etc:" \
- -e "s:DBUSDIR.*:DBUSDIR = ${EPREFIX}/etc/dbus-1:" \
- -e "s:MENUDIR.*:MENUDIR = ${EPREFIX}/usr/share/applications:" \
- -i Makedefs || die
-}
-
-multilib_src_compile() {
- if multilib_is_native_abi; then
- default
- else
- emake libs
- fi
-}
-
-multilib_src_test() {
- # We only build some of CUPS for multilib, so can't run the tests.
- if multilib_is_native_abi; then
- # Avoid using /tmp
- export CUPS_TESTBASE="${T}"/cups-tests
-
- mkdir "${T}"/cups-tests || die
-
- # avoid building *and running* test binaries in src_compile
- # https://github.com/OpenPrinting/cups/commit/b1d42061e9286f50eefc851ed906d17c6e80c4b0
- emake UNITTESTS=unittests
- default
- fi
-}
-
-multilib_src_install() {
- if multilib_is_native_abi; then
- emake BUILDROOT="${D}" install
- else
- emake BUILDROOT="${D}" install-libs install-headers
-
- # Manually install pkgconfig file to avoid tangling with duplicate file behavior
- insinto /usr/$(get_libdir)/pkgconfig
- doins cups.pc
-
- dobin cups-config
- fi
-}
-
-multilib_src_install_all() {
- dodoc {CHANGES,CREDITS,README}.md
-
- # Move the default config file to docs
- dodoc "${ED}"/etc/cups/cupsd.conf.default
- rm "${ED}"/etc/cups/cupsd.conf.default || die
-
- # Clean out cups init scripts
- rm -r "${ED}"/etc/{init.d/cups,rc*} || die
-
- # Install our init script
- local neededservices=(
- $(usex zeroconf avahi-daemon '')
- $(usex dbus dbus '')
- )
- [[ -n ${neededservices[@]} ]] && neededservices="need ${neededservices[@]}"
- cp "${FILESDIR}"/cupsd.init.d-r4 "${T}"/cupsd || die
- sed -i -e "s/@neededservices@/${neededservices}/" "${T}"/cupsd || die
- doinitd "${T}"/cupsd
-
- if use pam ; then
- rm "${ED}"/etc/pam.d/${PN} || die
- pamd_mimic_system cups auth account
- fi
-
- if use xinetd ; then
- # Correct path
- sed -i -e "s:server = .*:server = /usr/libexec/cups/daemon/cups-lpd:" \
- "${ED}"/etc/xinetd.d/cups-lpd || die
- # It is safer to disable this by default, bug #137130
- grep -w 'disable' "${ED}"/etc/xinetd.d/cups-lpd || \
- { sed -i -e "s:}:\tdisable = yes\n}:" "${ED}"/etc/xinetd.d/cups-lpd || die ; }
- # Write permission for file owner (root), bug #296221
- fperms u+w /etc/xinetd.d/cups-lpd
- else
- # Always configure with --with-xinetd= and clean up later,
- # bug #525604
- rm -r "${ED}"/etc/xinetd.d || die
- fi
-
- keepdir /etc/cups/{interfaces,ppd,ssl}
-
- if ! use X ; then
- rm -r "${ED}"/usr/share/applications || die
- fi
-
- # Create /etc/cups/client.conf, bug #196967 and bug #266678
- echo "ServerName ${EPREFIX}/run/cups/cups.sock" >> "${ED}"/etc/cups/client.conf
-
- # The following file is now provided by cups-filter:
- rm -r "${ED}"/usr/share/cups/banners || die
-
- # The following are created by the init script
- rm -r "${ED}"/var/cache || die
- rm -r "${ED}"/run || die
-
- keepdir /usr/libexec/cups/driver /usr/share/cups/{model,profiles} /var/log/cups /var/spool/cups/tmp
-}
-
-pkg_postinst() {
- xdg_pkg_postinst
-
- if ver_replacing -lt 2.2.2-r2 ; then
- ewarn "The cupsd init script switched to using pidfiles. Shutting down"
- ewarn "cupsd will fail the next time. To fix this, please run once as root"
- ewarn " killall cupsd ; /etc/init.d/cupsd zap ; /etc/init.d/cupsd start"
- fi
-
- if [[ -n ${REPLACING_VERSIONS} ]]; then
- elog
- elog "For information about installing a printer and general cups setup"
- elog "take a look at: https://wiki.gentoo.org/wiki/Printing"
- fi
-
- optfeature_header "CUPS may need installing the following for certain features to work:"
- use zeroconf && optfeature "local hostname resolution using a hostname.local naming scheme" sys-auth/nss-mdns
-}
diff --git a/net-print/cups/files/cups-2.4.1-nostrip.patch b/net-print/cups/files/cups-2.4.1-nostrip.patch
deleted file mode 100644
index 5862ce178255..000000000000
--- a/net-print/cups/files/cups-2.4.1-nostrip.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/config-scripts/cups-compiler.m4 2022-01-27 12:11:42.000000000 +0100
-+++ b/config-scripts/cups-compiler.m4 2022-05-01 11:24:58.855033882 +0200
-@@ -30,8 +30,6 @@
- dnl For debugging, keep symbols, otherwise strip them...
- AS_IF([test x$enable_debug = xyes -a "x$OPTIM" = x], [
- OPTIM="-g"
--], [
-- INSTALL_STRIP="-s"
- ])
-
- dnl Debug printfs can slow things down, so provide a separate option for that
diff --git a/net-print/cups/files/cups-2.4.1-user-AR.patch b/net-print/cups/files/cups-2.4.1-user-AR.patch
deleted file mode 100644
index edbecd6ed9fa..000000000000
--- a/net-print/cups/files/cups-2.4.1-user-AR.patch
+++ /dev/null
@@ -1,21 +0,0 @@
---- a/config-scripts/cups-common.m4
-+++ b/config-scripts/cups-common.m4
-@@ -39,15 +39,15 @@
- AC_PROG_CPP
- AC_PROG_CXX
- AC_PROG_RANLIB
--AC_PATH_PROG([AR], [ar])
-+AC_CHECK_TOOL([AR], [ar])
- AC_PATH_PROG([CHMOD], [chmod])
- AC_PATH_PROG([GZIPPROG], [gzip])
- AC_MSG_CHECKING([for install-sh script])
- INSTALL="`pwd`/install-sh"
- AC_SUBST([INSTALL])
- AC_MSG_RESULT([using $INSTALL])
--AC_PATH_PROG([LD], [ld])
--AC_PATH_PROG([LN], [ln])
-+AC_CHECK_TOOL([LD], [ld])
-+AC_CHECK_TOOL([LN], [ln])
- AC_PATH_PROG([MKDIR], [mkdir])
- AC_PATH_PROG([MV], [mv])
- AC_PATH_PROG([RM], [rm])
diff --git a/net-print/cups/files/cupsd.init.d-r4 b/net-print/cups/files/cupsd.init.d-r4
deleted file mode 100644
index 3f65258fbe43..000000000000
--- a/net-print/cups/files/cupsd.init.d-r4
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2021 Gentoo Authors
-
-description="The Common Unix Printing System daemon"
-command="/usr/sbin/cupsd"
-command_args="-f -c /etc/cups/cupsd.conf -s /etc/cups/cups-files.conf"
-pidfile="/run/cupsd.pid"
-start_stop_daemon_args="-b -m --pidfile ${pidfile}"
-
-depend() {
- use net
- @neededservices@
- before nfs
- after logger
-}
-
-start_pre() {
- checkpath -q -d -m 0775 -o root:lp /var/cache/cups
- checkpath -q -d -m 0775 -o root:lp /var/cache/cups/rss
- checkpath -q -d -m 0755 -o root:lp /run/cups
- checkpath -q -d -m 0511 -o lp:lpadmin /run/cups/certs
-}
diff --git a/net-print/cups/metadata.xml b/net-print/cups/metadata.xml
deleted file mode 100644
index 077186856985..000000000000
--- a/net-print/cups/metadata.xml
+++ /dev/null
@@ -1,18 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>printing@gentoo.org</email>
- <name>Gentoo Printing Project</name>
- </maintainer>
- <use>
- <flag name="openssl">Use <pkg>dev-libs/openssl</pkg> instead of <pkg>net-libs/gnutls</pkg> for TLS support</flag>
- </use>
- <upstream>
- <bugs-to>https://github.com/OpenPrinting/cups/issues</bugs-to>
- <changelog>https://github.com/OpenPrinting/cups/blob/master/CHANGES.md</changelog>
- <doc>https://openprinting.github.io/cups/#DOCUMENTATION</doc>
- <remote-id type="cpe">cpe:/a:openprinting:cups</remote-id>
- <remote-id type="github">OpenPrinting/cups</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/net-print/epson-inkjet-printer-escpr/Manifest b/net-print/epson-inkjet-printer-escpr/Manifest
deleted file mode 100644
index 2a56dd6a2f2f..000000000000
--- a/net-print/epson-inkjet-printer-escpr/Manifest
+++ /dev/null
@@ -1,3 +0,0 @@
-DIST epson-inkjet-printer-escpr-1.8.6-1.tar.gz 5715741 BLAKE2B 0da5e0af022bf2ce42ef94631c984b8308562bcb8f1f47a8f50b77be09326a80e9495ddaf02becdf72e78e50041f73cdd558c96d72046600452de50bc68f1bc8 SHA512 d0040c99793ba33e54ec5f0137f3b672628f089a6cd792916c24fc5edab75702561dade91eb63cd4b3b8e898f7b4647c899ca425e1449a401c7ff562f8cc0f1e
-DIST epson-inkjet-printer-escpr-1.8.8-1.src.rpm 5274878 BLAKE2B 9c876fd321fee6dae734dd3f0442edd89d63c97a1702435ffbe65d077a5f5afcb79ab911c87a46c83a7c7e8264c6266591db3975e37b006a614981992703cc59 SHA512 85bcaff840fe4dfb256b42e5625e221ad273881b7bbeefafc53cff96ab4ddb91e0045fdfcdcf9e53a469385ec524077bfc40051429fba205b659c95741168a51
-DIST epson-inkjet-printer-escpr2-1.2.15-1.tar.gz 5560479 BLAKE2B 8180fe06df8175ec31044b0eec2a125b9567c11a827343401a07e59e8bd93e689617b9b29364374f1d6ba6d6bca320d6615f601791c59e966d3a4d63f7adbeb0 SHA512 62cd5161f65f8ca6f8c1a8bb755e06eb147d4a06b5f796a8068ed9235b3abf38e6ccb10e82bdd93fddc085b90a7f9332e024ba09679aa08490a05735c0372653
diff --git a/net-print/epson-inkjet-printer-escpr/epson-inkjet-printer-escpr-1.2.15-r1.ebuild b/net-print/epson-inkjet-printer-escpr/epson-inkjet-printer-escpr-1.2.15-r1.ebuild
deleted file mode 100644
index 24d820039d6a..000000000000
--- a/net-print/epson-inkjet-printer-escpr/epson-inkjet-printer-escpr-1.2.15-r1.ebuild
+++ /dev/null
@@ -1,38 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-MY_P="${PN}2-${PV}"
-
-DESCRIPTION="Epson Inkjet Printer Driver 2 (ESC/P-R) for Linux"
-HOMEPAGE="https://download.ebz.epson.net/dsc/search/01/search/?OSC=LX"
-SRC_URI="https://download3.ebz.epson.net/dsc/f/03/00/16/06/85/fddc1d5996d0cab4dceea35852a2e430fb124993/${MY_P}-1.tar.gz"
-S="${WORKDIR}/${MY_P}"
-LICENSE="EPSON LGPL-2.1+"
-SLOT="2"
-KEYWORDS="~amd64"
-
-QA_FLAGS_IGNORED="/usr/lib64/libescpr2.so.1.0.0"
-
-DEPEND="net-print/cups"
-RDEPEND="${DEPEND}"
-
-PATCHES=(
- "${FILESDIR}/gcc-no-implicit-function-declaration-$(ver_cut 1-2 ${PV}).patch"
- "${FILESDIR}/${PN}-$(ver_cut 1-2 ${PV})-gcc15.patch"
- "${FILESDIR}/${PN}-$(ver_cut 1-2 ${PV})-filter-func.patch"
-)
-
-src_configure() {
- econf \
- --with-cupsfilterdir="${EPREFIX}/usr/libexec/cups/filter"\
- --with-cupsppddir="${EPREFIX}/usr/share/ppd"
-}
-
-src_install() {
- default
-
- find "${ED}/usr/lib64" -name "*.la" -delete \
- || die "Removal of libtool files (.la) has failed."
-}
diff --git a/net-print/epson-inkjet-printer-escpr/epson-inkjet-printer-escpr-1.2.15.ebuild b/net-print/epson-inkjet-printer-escpr/epson-inkjet-printer-escpr-1.2.15.ebuild
deleted file mode 100644
index 7af630931f56..000000000000
--- a/net-print/epson-inkjet-printer-escpr/epson-inkjet-printer-escpr-1.2.15.ebuild
+++ /dev/null
@@ -1,37 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-MY_P="${PN}2-${PV}"
-
-DESCRIPTION="Epson Inkjet Printer Driver 2 (ESC/P-R) for Linux"
-HOMEPAGE="https://download.ebz.epson.net/dsc/search/01/search/?OSC=LX"
-SRC_URI="https://download3.ebz.epson.net/dsc/f/03/00/16/06/85/fddc1d5996d0cab4dceea35852a2e430fb124993/${MY_P}-1.tar.gz"
-S="${WORKDIR}/${MY_P}"
-LICENSE="EPSON LGPL-2.1+"
-SLOT="2"
-KEYWORDS="amd64"
-
-QA_FLAGS_IGNORED="/usr/lib64/libescpr2.so.1.0.0"
-
-DEPEND="net-print/cups"
-RDEPEND="${DEPEND}"
-
-PATCHES=(
- #"${FILESDIR}/gcc-no-implicit-function-declaration-${PV}.patch"
- "${FILESDIR}/gcc-no-implicit-function-declaration-$(ver_cut 1-2 ${PV}).patch"
-)
-
-src_configure() {
- econf \
- --with-cupsfilterdir="${EPREFIX}/usr/libexec/cups/filter"
- --with-cupsppddir="${EPREFIX}/usr/share/ppd"
-}
-
-src_install() {
- default
-
- find "${ED}/usr/lib64" -name "*.la" -delete \
- || die "Removal of libtool files (.la) has failed."
-}
diff --git a/net-print/epson-inkjet-printer-escpr/epson-inkjet-printer-escpr-1.8.6.ebuild b/net-print/epson-inkjet-printer-escpr/epson-inkjet-printer-escpr-1.8.6.ebuild
deleted file mode 100644
index 3bf36d82fb5a..000000000000
--- a/net-print/epson-inkjet-printer-escpr/epson-inkjet-printer-escpr-1.8.6.ebuild
+++ /dev/null
@@ -1,51 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools edos2unix
-
-DESCRIPTION="Epson Inkjet Printer Driver (ESC/P-R)"
-HOMEPAGE="https://download.ebz.epson.net/dsc/search/01/search/?OSC=LX"
-
-# https://support.epson.net/linux/Printer/LSB_distribution_pages/en/escpr.php
-# Use the "source package for arm CPU" to get a tarball instead of an srpm.
-SRC_URI="https://download3.ebz.epson.net/dsc/f/03/00/16/21/81/74d098a47c3a616713079c9cd5904b468bb33dea/${P}-1.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ppc64"
-
-DEPEND="net-print/cups"
-RDEPEND="${DEPEND}"
-
-PATCHES=(
- "${FILESDIR}/${PV}-warnings.patch"
- "${FILESDIR}/${PN}-1.7.7-fnocommon.patch"
- "${FILESDIR}/${PN}-1.8-missing-include.patch"
-)
-
-src_prepare() {
- local f
- for f in $(find ./ -type f || die); do
- edos2unix "${f}"
- done
-
- eautoreconf
- default
-}
-
-src_configure() {
- econf --disable-shared
-
- # Makefile calls ls to generate a file list which is included in Makefile.am
- # Set the collation to C to avoid automake being called automatically
- unset LC_ALL
- export LC_COLLATE=C
-}
-
-src_install() {
- emake -C ppd DESTDIR="${D}" install
- emake -C src DESTDIR="${D}" install
- einstalldocs
-}
diff --git a/net-print/epson-inkjet-printer-escpr/epson-inkjet-printer-escpr-1.8.8.ebuild b/net-print/epson-inkjet-printer-escpr/epson-inkjet-printer-escpr-1.8.8.ebuild
deleted file mode 100644
index 23c141cb51ea..000000000000
--- a/net-print/epson-inkjet-printer-escpr/epson-inkjet-printer-escpr-1.8.8.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-RPM_COMPRESS_TYPE=none
-inherit autotools edos2unix rpm
-
-DESCRIPTION="Epson Inkjet Printer Driver (ESC/P-R)"
-HOMEPAGE="https://download.ebz.epson.net/dsc/search/01/search/?OSC=LX"
-SRC_URI="https://distfiles.gentoo.org/pub/dev/dilfridge%40gentoo.org/${CATEGORY}/${PN}/${P}-1.src.rpm"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ppc64"
-# No reason for RESTRICT=fetch since this is GPL-2
-
-DEPEND="net-print/cups"
-RDEPEND="${DEPEND}"
-
-PATCHES=(
- "${FILESDIR}/${PV}-warnings.patch"
- "${FILESDIR}/${PN}-1.7.7-fnocommon.patch"
- "${FILESDIR}/${PN}-1.8-missing-include.patch"
-)
-
-src_prepare() {
- local f
- for f in $(find ./ -type f || die); do
- edos2unix "${f}"
- done
-
- eautoreconf
- default
-}
-
-src_configure() {
- econf --disable-shared
-
- # Makefile calls ls to generate a file list which is included in Makefile.am
- # Set the collation to C to avoid automake being called automatically
- unset LC_ALL
- export LC_COLLATE=C
-}
-
-src_install() {
- emake -C ppd DESTDIR="${D}" install
- emake -C src DESTDIR="${D}" install
- einstalldocs
-}
diff --git a/net-print/epson-inkjet-printer-escpr/files/1.8.6-warnings.patch b/net-print/epson-inkjet-printer-escpr/files/1.8.6-warnings.patch
deleted file mode 100644
index 6e83ed6e1404..000000000000
--- a/net-print/epson-inkjet-printer-escpr/files/1.8.6-warnings.patch
+++ /dev/null
@@ -1,53 +0,0 @@
---- a/lib/epson-escpr-api.h 2024-10-30 12:42:07.278862232 -0400
-+++ b/lib/epson-escpr-api.h 2024-10-30 12:43:46.975989499 -0400
-@@ -111,6 +111,10 @@ extern EPS_ERR_CODE epsGetUsersizeRange
- /*** -------------------------------------------------------------------------------*/
- extern EPS_ERR_CODE epsMakeMainteCmd (EPS_INT32, EPS_UINT8*, EPS_UINT32* );
-
-+extern EPS_ERR_CODE SetupJobAttrib (const EPS_JOB_ATTRIB* );
-+extern EPS_ERR_CODE SendStartJob (EPS_BOOL );
-+extern EPS_ERR_CODE PrintBand (const EPS_UINT8*, EPS_UINT32, EPS_UINT32* );
-+
- #ifdef __cplusplus
- }
- #endif
---- a/src/filter.c 2024-10-30 12:44:02.992729085 -0400
-+++ b/src/filter.c 2024-10-30 12:44:49.836274137 -0400
-@@ -32,7 +32,9 @@
-
- #include "epson-protocol.h"
- #include "epson-escpr-api.h"
-+#include "epson-escpr-services.h"
- #include "epson-escpr-mem.h"
-+#include "epson-escpage.h"
-
- #include "err.h"
- #include "mem.h"
-@@ -42,6 +44,7 @@
- #include "optBase.h"
- #include "linux_cmn.h"
- #include "custompage.h"
-+#include "xfifo.h"
-
- #define WIDTH_BYTES(bits) (((bits) + 31) / 32 * 4)
-
---- a/src/mem.c 2024-10-30 12:42:31.732309679 -0400
-+++ b/src/mem.c 2024-10-30 12:43:15.375844801 -0400
-@@ -22,6 +22,7 @@
- #endif
-
- #include <stdlib.h>
-+#include "err.h"
- #include "mem.h"
-
- void *
---- a/src/wrapper.c 2024-10-30 12:48:35.673934604 -0400
-+++ b/src/wrapper.c 2024-10-30 12:49:00.237373816 -0400
-@@ -35,6 +35,7 @@
- #include <signal.h>
-
- #include "libprtX.h"
-+#include "custompage.h"
-
- #define WIDTH_BYTES(bits) (((bits) + 31) / 32 * 4)
-
diff --git a/net-print/epson-inkjet-printer-escpr/files/1.8.8-warnings.patch b/net-print/epson-inkjet-printer-escpr/files/1.8.8-warnings.patch
deleted file mode 100644
index 3f01ee52ba4e..000000000000
--- a/net-print/epson-inkjet-printer-escpr/files/1.8.8-warnings.patch
+++ /dev/null
@@ -1,53 +0,0 @@
---- a/lib/epson-escpr-api.h 2026-03-19 07:42:36.886592312 -0400
-+++ b/lib/epson-escpr-api.h 2026-03-19 07:48:42.364228918 -0400
-@@ -111,6 +111,10 @@ extern EPS_ERR_CODE epsGetUsersizeRange
- /*** -------------------------------------------------------------------------------*/
- extern EPS_ERR_CODE epsMakeMainteCmd (EPS_INT32, EPS_UINT8*, EPS_UINT32* );
-
-+extern EPS_ERR_CODE SetupJobAttrib (const EPS_JOB_ATTRIB* );
-+extern EPS_ERR_CODE SendStartJob (EPS_BOOL );
-+extern EPS_ERR_CODE PrintBand (const EPS_UINT8*, EPS_UINT32, EPS_UINT32* );
-+
- #ifdef __cplusplus
- }
- #endif
---- a/src/filter.c 2026-03-19 07:43:28.517557190 -0400
-+++ b/src/filter.c 2026-03-19 07:49:49.216432346 -0400
-@@ -31,7 +31,9 @@
-
- #include "epson-protocol.h"
- #include "epson-escpr-api.h"
-+#include "epson-escpr-services.h"
- #include "epson-escpr-mem.h"
-+#include "epson-escpage.h"
-
- #include "err.h"
- #include "mem.h"
-@@ -41,6 +43,7 @@
- #include "optBase.h"
- #include "linux_cmn.h"
- #include "custompage.h"
-+#include "xfifo.h"
-
- #define WIDTH_BYTES(bits) (((bits) + 31) / 32 * 4)
-
---- a/src/mem.c 2026-03-19 07:43:34.625555671 -0400
-+++ b/src/mem.c 2026-03-19 07:50:52.904484035 -0400
-@@ -22,6 +22,7 @@
- #endif
-
- #include <stdlib.h>
-+#include "err.h"
- #include "mem.h"
-
- void *
---- a/src/wrapper.c 2026-03-19 07:43:45.227424448 -0400
-+++ b/src/wrapper.c 2026-03-19 07:51:13.850794453 -0400
-@@ -35,6 +35,7 @@
- #include <signal.h>
-
- #include "libprtX.h"
-+#include "custompage.h"
-
- #define HAVE_PPM_W 0
-
diff --git a/net-print/epson-inkjet-printer-escpr/files/epson-inkjet-printer-escpr-1.2-filter-func.patch b/net-print/epson-inkjet-printer-escpr/files/epson-inkjet-printer-escpr-1.2-filter-func.patch
deleted file mode 100644
index b800f74531c0..000000000000
--- a/net-print/epson-inkjet-printer-escpr/files/epson-inkjet-printer-escpr-1.2-filter-func.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/src/filter.c 2025-03-11 13:42:50.136160524 -0400
-+++ b/src/filter.c 2025-03-11 13:43:06.210514768 -0400
-@@ -450,7 +450,7 @@ main (int argc, char *argv[])
-
- debug_msg("call SendStartJob function\n");
-
-- err = SendStartJob(FALSE);
-+ err = SendStartJob();
-
- if (err){
- debug_msg("Error occurred in \"SendStartJob\": %d\n", err);
diff --git a/net-print/epson-inkjet-printer-escpr/files/epson-inkjet-printer-escpr-1.2-gcc15.patch b/net-print/epson-inkjet-printer-escpr/files/epson-inkjet-printer-escpr-1.2-gcc15.patch
deleted file mode 100644
index 076d444234a7..000000000000
--- a/net-print/epson-inkjet-printer-escpr/files/epson-inkjet-printer-escpr-1.2-gcc15.patch
+++ /dev/null
@@ -1,23 +0,0 @@
---- a/src/Makefile.in 2025-03-11 13:27:10.299747040 -0400
-+++ b/src/Makefile.in 2025-03-11 13:34:22.746707500 -0400
-@@ -319,7 +319,9 @@ AM_LDFLAGS = -lpthread -lm
- cupsfilterdir = $(CUPS_FILTER_DIR)
- ESCPR_LIB_DIR = ../escprlib
- epson_escpr_wrapper2_CFLAGS = \
-- -Wall\
-+ -Wno-pointer-sign\
-+ -Wno-unused-result\
-+ -Wno-deprecated-declarations\
- -DCUPS_FILTER_NAME=\"epson-escpr2\" \
- -DCUPS_FILTER_PATH=\"$(CUPS_FILTER_DIR)\" \
- -DGCOMSW_PRIVATE
-@@ -332,7 +334,8 @@ epson_escpr_wrapper2_SOURCES = \
- epson_escpr2_CFLAGS = \
- -I$(top_srcdir)/escprlib/include \
- -DGCOMSW_PRIVATE \
-- -DEPS_FILTER
-+ -DEPS_FILTER\
-+ -Wno-unused-result
-
- epson_escpr2_SOURCES = \
- filter.c \
diff --git a/net-print/epson-inkjet-printer-escpr/files/epson-inkjet-printer-escpr-1.7.7-fnocommon.patch b/net-print/epson-inkjet-printer-escpr/files/epson-inkjet-printer-escpr-1.7.7-fnocommon.patch
deleted file mode 100644
index e2e35719ca8f..000000000000
--- a/net-print/epson-inkjet-printer-escpr/files/epson-inkjet-printer-escpr-1.7.7-fnocommon.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/src/filter.c 2020-05-23 13:50:19.064756474 +0200
-+++ b/src/filter.c 2020-05-23 13:53:01.936647646 +0200
-@@ -68,7 +68,7 @@
- extern EPS_UINT8* tmpLineBuf;
-
- extern EPS_CMN_FUNC epsCmnFnc;
--EPS_JOB_FUNCS jobFnc;
-+extern EPS_JOB_FUNCS jobFnc;
-
- extern EPS_INT32 tonerSave;
- extern EPS_INT32 back_type;
diff --git a/net-print/epson-inkjet-printer-escpr/files/epson-inkjet-printer-escpr-1.8-missing-include.patch b/net-print/epson-inkjet-printer-escpr/files/epson-inkjet-printer-escpr-1.8-missing-include.patch
deleted file mode 100644
index 4229d649bb26..000000000000
--- a/net-print/epson-inkjet-printer-escpr/files/epson-inkjet-printer-escpr-1.8-missing-include.patch
+++ /dev/null
@@ -1,129 +0,0 @@
---- /dev/null 2024-02-07 07:14:59.428332875 -0500
-+++ b/lib/epson-escpage.h 2024-02-07 12:39:28.463235607 -0500
-@@ -0,0 +1,126 @@
-+/*__________________________________ epson-escpage.h ________________________________*/
-+
-+/* 1 2 3 4 5 6 7 8 */
-+/*34567890123456789012345678901234567890123456789012345678901234567890123456789012345678*/
-+/*******************************************|********************************************/
-+/*
-+ * Copyright (c) 2010 Seiko Epson Corporation All rights reserved.
-+ *
-+ * Copyright protection claimed includes all forms and matters of
-+ * copyrightable material and information now allowed by statutory or judicial
-+ * law or hereinafter granted, including without limitation, material generated
-+ * from the software programs which are displayed on the screen such as icons,
-+ * screen display looks, etc.
-+ *
-+ */
-+/*******************************************|********************************************/
-+/* */
-+/* Epson ESC/Page command Functions */
-+/* */
-+/*******************************************|********************************************/
-+
-+#ifndef __EPSON_ESCPAGE_H__
-+#define __EPSON_ESCPAGE_H__
-+#ifdef __cplusplus
-+extern "C" {
-+#endif
-+/*------------------------------------ Includes -------------------------------------*/
-+/*******************************************|********************************************/
-+#include "epson-escpr-pvt.h"
-+#include "epson-escpr-media.h"
-+
-+/*------------------------------- Global Compiler Switch -------------------------------*/
-+/*******************************************|********************************************/
-+#define EPS_PAGE_RIT (1)
-+#define EPS_PAGE_TONER_SAVE (0)
-+#define EPS_PAGE_OUTUNIT_FACEDOWN (1)
-+#define EPS_PAGE_LOWRES_MODE (1) /* OFF=0 / ON=1 */
-+#define EPS_PAGE_HT_ERR_DIFFUSION (1) /* Halftoning mode */
-+
-+/*----------------------------------- Definitions ------------------------------------*/
-+/*******************************************|********************************************/
-+#define dim(x) (sizeof(x) / sizeof(x[0]))
-+#define EPS_EJL_LINEMAX (256)
-+
-+/*--------------------------- ESC/Page Media Declarations ---------------------------*/
-+/*******************************************|********************************************/
-+typedef struct _tagEPS_PAGE_MEDIASIZE_ {
-+ EPS_INT32 id;
-+ EPS_INT32 paper_x;
-+ EPS_INT32 paper_y;
-+ EPS_INT32 print_area_x_border;
-+ EPS_INT32 print_area_y_border;
-+ const EPS_INT8 *name;
-+} EPS_PAGE_MEDIASIZE;
-+
-+/* Size 600dpi */
-+static const EPS_PAGE_MEDIASIZE pageMediaSize[] = {
-+ { EPS_MSID_A4, 4960, 7016, 4720, 6776, "A4" },
-+ { EPS_MSID_A3, 7016, 9920, 6776, 9680, "A3" },
-+ { EPS_MSID_B4, 6072, 8600, 5832, 8360, "B4" },
-+ { EPS_MSID_B5, 4300, 6072, 4060, 5832, "B5" },
-+ { EPS_MSID_LETTER, 5100, 6600, 4860, 6360, "LT" },
-+ { EPS_MSID_LEGAL, 5100, 8400, 4860, 8160, "LGL"},
-+ { EPS_MSID_POSTCARD,2362, 3496, 2122, 3256, "PC" }
-+};
-+
-+/*--------------------------- Data Structure Declarations ---------------------------*/
-+/*******************************************|********************************************/
-+/* command data buffer */
-+typedef struct tagEPS_COMMAND_BUFFER
-+{
-+ EPS_UINT32 size; /* allocated buffer size */
-+ EPS_UINT32 len; /* data size */
-+ EPS_INT8* p;
-+ void* pExtent;
-+} EPS_COMMAND_BUFFER;
-+
-+/*-------------------------- Public Function Declarations ---------------------------*/
-+/*******************************************|********************************************/
-+extern EPS_ERR_CODE pageInitJob (const EPS_JOB_ATTRIB *pJobAttr);
-+extern EPS_ERR_CODE pageAllocBuffer (void);
-+extern void pageRelaseBuffer (void);
-+extern EPS_ERR_CODE pageStartJob (void);
-+extern EPS_ERR_CODE pageEndJob (void);
-+extern EPS_ERR_CODE pageStartPage (void);
-+extern EPS_ERR_CODE pageEndPage (void);
-+extern EPS_ERR_CODE pageColorRow (const EPS_BANDBMP*, EPS_RECT*);
-+extern EPS_ERR_CODE pageSendLeftovers (void);
-+
-+ /*** Get Supported Media Function */
-+ /*** -------------------------------------------------------------------------------*/
-+extern EPS_ERR_CODE pageCreateMediaInfo (EPS_PRINTER_INN* printer, EPS_UINT8* pmString,
-+ EPS_INT32 pmSize );
-+extern void pageClearSupportedMedia (EPS_PRINTER_INN* printer );
-+extern EPS_ERR_CODE pageGetPrintAreaInfoFromTable(const EPS_JOB_ATTRIB*,
-+ EPS_UINT32*, EPS_UINT32*, EPS_LAYOUT_INFO*);
-+extern EPS_ERR_CODE pageCreatePrintAreaInfoFromTable (EPS_UINT32,EPS_PRINT_AREA_INFO* );
-+
-+ /*** Get Printable Area */
-+ /*** -------------------------------------------------------------------------------*/
-+extern EPS_ERR_CODE pageGetPrintableArea (EPS_JOB_ATTRIB*, EPS_UINT32*, EPS_UINT32* );
-+
-+
-+/*----------------------- ESC/Page Local Function Declarations ----------------------*/
-+/*******************************************|********************************************/
-+typedef EPS_ERR_CODE (*PAGE_CmdBuffGrow )(EPS_COMMAND_BUFFER *pCmdBuff, EPS_INT32 addSize);
-+
-+extern EPS_ERR_CODE ejlStart (EPS_COMMAND_BUFFER *pCmdBuff, PAGE_CmdBuffGrow pfncGrow);
-+extern EPS_ERR_CODE ejlEnd (EPS_COMMAND_BUFFER *pCmdBuff, PAGE_CmdBuffGrow pfncGrow,
-+ EPS_INT32 pageCount );
-+extern EPS_ERR_CODE ejlPageEsc (EPS_COMMAND_BUFFER *pCmdBuff, PAGE_CmdBuffGrow pfncGrow);
-+
-+#ifdef __cplusplus
-+}
-+#endif
-+
-+#endif /* def __EPSON_ESCPAGE_H__ */
-+
-+/*__________________________________ epson-escpage.h ________________________________*/
-+
-+/*34567890123456789012345678901234567890123456789012345678901234567890123456789012345678*/
-+/* 1 2 3 4 5 6 7 8 */
-+/*******************************************|********************************************/
-+/*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%|%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
-+/***** End of File *** End of File *** End of File *** End of File *** End of File ******/
-+/*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%|%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
diff --git a/net-print/epson-inkjet-printer-escpr/files/gcc-no-implicit-function-declaration-1.2.patch b/net-print/epson-inkjet-printer-escpr/files/gcc-no-implicit-function-declaration-1.2.patch
deleted file mode 100644
index ab244ddbe71b..000000000000
--- a/net-print/epson-inkjet-printer-escpr/files/gcc-no-implicit-function-declaration-1.2.patch
+++ /dev/null
@@ -1,89 +0,0 @@
-From 70b13d5be6d9ca55c0a9ec0dd401c9401922b1b7 Mon Sep 17 00:00:00 2001
-From: Aleix Quintana Alsius <kinta@communia.org>
-Date: Fri, 31 May 2024 23:51:51 +0200
-Subject: [PATCH] reroll update x86-64 patch
-
----
- src/filter.c | 12 +++++++++---
- src/mem.c | 1 +
- src/wrapper.c | 1 +
- 3 files changed, 11 insertions(+), 3 deletions(-)
-
-diff --git a/src/filter.c b/src/filter.c
-index d53e091..5bb2a5f 100644
---- a/src/filter.c
-+++ b/src/filter.c
-@@ -39,6 +39,7 @@
- #include "epson-escpr-api.h"
- #include "epson-escpr-services.h"
- #include "epson-escpr-mem.h"
-+#include "epson-escpr-services.h"
-
- #include "err.h"
- #include "mem.h"
-@@ -48,6 +49,11 @@
- #include "optBase.h"
- #include "linux_cmn.h"
- #include "custompage.h"
-+#include "xfifo.h"
-+
-+extern EPS_ERR_CODE SetupJobAttrib (const EPS_JOB_ATTRIB*);
-+extern EPS_ERR_CODE SendStartJob ();
-+extern EPS_ERR_CODE PrintBand (const EPS_UINT8*, EPS_UINT32, EPS_UINT32*);
-
- #define WIDTH_BYTES(bits) (((bits) + 31) / 32 * 4)
-
-@@ -453,7 +459,7 @@ main (int argc, char *argv[])
- }
-
- printJob.jobStatus = EPS_STATUS_ESTABLISHED;
-- int printHeight = 0;
-+ EPS_UINT32 printHeight = 0;
- ///////////////////////////////////////////////////////////////////////////////////////////////////////////
-
- print_area_x = printJob.printableAreaWidth;
-@@ -632,7 +638,7 @@ main (int argc, char *argv[])
- memcpy(rever_buf + k*3, startpage + pos + (bandBmp.widthBytes - 6) - k*3, 3);
- }
- }
-- PrintBand (rever_buf, bandBmp.widthBytes, &printHeight);
-+ PrintBand ((const EPS_UINT8 *)rever_buf, bandBmp.widthBytes, &printHeight);
- pos -= bandBmp.widthBytes;
- }
-
-@@ -925,7 +931,7 @@ set_pips_parameter (filter_option_t *filter_opt_p, EPS_OPT *printOpt)
-
- /* Get number of pages */
- char page_num;
-- read (STDIN_FILENO, &page_num, 1);
-+ (void)read (STDIN_FILENO, &page_num, 1);
- debug_msg("total pages = %d\n", page_num);
-
- /* Others */
-diff --git a/src/mem.c b/src/mem.c
-index f53f2bc..d6c945a 100644
---- a/src/mem.c
-+++ b/src/mem.c
-@@ -23,6 +23,7 @@
-
- #include <stdlib.h>
- #include "mem.h"
-+#include "err.h"
-
- void *
- mem_malloc (unsigned int size, bool_t crit)
-diff --git a/src/wrapper.c b/src/wrapper.c
-index 1fa6daa..bfd567d 100644
---- a/src/wrapper.c
-+++ b/src/wrapper.c
-@@ -33,6 +33,7 @@
- /* added 22-04-2004 */
- #include <signal.h>
-
-+#include "custompage.h"
- #include "libprtX.h"
-
- #define WIDTH_BYTES(bits) (((bits) + 31) / 32 * 4)
---
-2.45.1
-
diff --git a/net-print/epson-inkjet-printer-escpr/metadata.xml b/net-print/epson-inkjet-printer-escpr/metadata.xml
deleted file mode 100644
index 970ebc8e76c0..000000000000
--- a/net-print/epson-inkjet-printer-escpr/metadata.xml
+++ /dev/null
@@ -1,44 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <!-- maintainer-needed -->
- <longdescription>
- This software is a filter program used with Common UNIX Printing System
- (CUPS) from the Linux. This can supply the high quality print with
- Seiko Epson Color Ink Jet Printers.
-
- This product supports only EPSON ESC/P-R printers. This package can be
- used for all EPSON ESC/P-R printers.
-
- For detail list of supported printer, please refer to below site:
- http://download.ebz.epson.net/dsc/search/01/search/?OSC=LX.
- </longdescription>
- <longdescription lang="fr">
- Ce logiciel est un programme de filtres pour le « Common UNIX Printing
- System » (CUPS) de Linux. Il peut fournir une impression de haute
- qualité avec les imprimantes à jet d'encre couleur Seiko Epson (« Seiko
- Epson Color Ink Jet Printers »).
-
- Ce produit ne supporte que les imprimantes EPSON ESC/P-R. Ce paquet
- peut être être utilisé pour toutes les imprimantes EPSON ESC/P-R.
-
- Pour une liste détaillée des imprimantes supportées, veuillez vous
- référer au site ci-dessous :
- http://download.ebz.epson.net/dsc/search/01/search/?OSC=LX.
- </longdescription>
- <slots>
- <slot name="0">Epson Inkjet Printer Driver (ESC/P-R) for Linux</slot>
- <slot name="2">Epson Inkjet Printer Driver 2 (ESC/P-R) for Linux</slot>
- </slots>
- <slots lang="fr">
- <slot name="0">Epson Inkjet Printer Driver (ESC/P-R) pour Linux</slot>
- <slot name="2">Epson Inkjet Printer Driver 2 (ESC/P-R) pour Linux</slot>
- </slots>
- <upstream>
- <maintainer status="active">
- <name>Seiko Epson Corporation</name>
- <email>linux-printer@epson.jp</email>
- </maintainer>
- <doc>http://download.ebz.epson.net/man/linux/escpr2.html</doc>
- </upstream>
-</pkgmetadata>
diff --git a/net-print/gtklp/Manifest b/net-print/gtklp/Manifest
deleted file mode 100644
index af3211d43de8..000000000000
--- a/net-print/gtklp/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST gtklp-1.3.4.src.tar.gz 678888 BLAKE2B 6108be518d2ccc9dd88fd98c195d6f02626809128401b56845973963491c09028b6eb5d7a6b8047c3b4c4869af310aea547284c2958c1fa48205b7050961b4be SHA512 1aff481214b01f9d5dbacf5e23ec19a8424c4d0ae4e6489de06cdb708fc5fbc9bcff9ac8cb70c87983572023397534c0f3be3cbf732c352757efcc0d43f1165e
-DIST gtklp-logo.xpm.gz 2254 BLAKE2B 6ba85919472c0018cb77c89b6d5058e68845d94c2baa941d43d55a9a58b33f9347cdd8e3449afc3f692ae0b4d1bcb73fb0159b372b641537420e7131fcd9d703 SHA512 24fd320bb1fd533d5f539ad5aa22661a2c923c4d6012b7d908a7a8311dcd179f2c7f02a88d52289d659ad89ce63ab40956725051b7dbe14ed23eb3a62e6c9240
diff --git a/net-print/gtklp/files/gtklp-1.3.4-formatsec.patch b/net-print/gtklp/files/gtklp-1.3.4-formatsec.patch
deleted file mode 100644
index d09ab9e2bb2b..000000000000
--- a/net-print/gtklp/files/gtklp-1.3.4-formatsec.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-https://sources.debian.org/src/gtklp/1.3.4-4/debian/patches/0005-fix-format-security.patch
-
-From: Boyuan Yang <byang@debian.org>
-Date: Sun, 23 Jan 2022 16:19:15 -0500
-Subject: fix format-security
-
----
- libgtklp/libgtklp.c | 8 ++++----
- 1 file changed, 4 insertions(+), 4 deletions(-)
-
-diff --git a/libgtklp/libgtklp.c b/libgtklp/libgtklp.c
-index f380a9c..cf4ad06 100644
---- a/libgtklp/libgtklp.c
-+++ b/libgtklp/libgtklp.c
-@@ -939,9 +939,9 @@ void exitOnError(char *gerror1, char *gerror2, int exitcode)
- gtk_widget_show(pixmapwid);
-
- if (strlen(gerror2) == 0)
-- snprintf(tmplabel, (size_t) MAXLINE, gerror1);
-+ snprintf(tmplabel, (size_t) MAXLINE, "%s", gerror1);
- else
-- snprintf(tmplabel, (size_t) MAXLINE, gerror1, gerror2);
-+ snprintf(tmplabel, (size_t) MAXLINE, "%s\n%s", gerror1, gerror2);
- label = gtk_label_new(tmplabel);
- gtk_box_pack_end(GTK_BOX(hbox), label, FALSE, FALSE,
- FRAME_SPACING_V);
-@@ -973,9 +973,9 @@ void exitOnError(char *gerror1, char *gerror2, int exitcode)
- #endif
- } else {
- if (strlen(gerror2) == 0)
-- g_warning(gerror1);
-+ g_warning("%s", gerror1);
- else
-- g_warning(gerror1, gerror2);
-+ g_warning("%s\n%s", gerror1, gerror2);
- }
- exit(exitcode);
- }
diff --git a/net-print/gtklp/gtklp-1.3.4.ebuild b/net-print/gtklp/gtklp-1.3.4.ebuild
deleted file mode 100644
index 35ae2375f7a9..000000000000
--- a/net-print/gtklp/gtklp-1.3.4.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools desktop flag-o-matic xdg
-
-DESCRIPTION="A GUI for cupsd"
-HOMEPAGE="https://gtklp.sirtobi.com/"
-SRC_URI="
- https://downloads.sourceforge.net/project/${PN}/${PN}/${PV}/${P}.src.tar.gz
- https://downloads.sourceforge.net/project/${PN}/enhancements/icons/logo.xpm.gz -> ${PN}-logo.xpm.gz
-"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ppc ~sparc x86"
-IUSE="nls ssl"
-
-RDEPEND="
- net-print/cups
- x11-libs/gtk+:2
- nls? ( sys-devel/gettext )
- ssl? ( dev-libs/openssl:0= )"
-DEPEND="${RDEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-PATCHES=( "${FILESDIR}/${P}-formatsec.patch" )
-
-src_prepare() {
- default
- sed -e '/DEF_BROWSER_CMD/{s:netscape:firefox:}' \
- -e '/DEF_HELP_HOME/{s:631/sum.html#STANDARD_OPTIONS:631/help/:}' \
- -i include/defaults.h || die
- eautoreconf
-}
-
-src_configure() {
- append-cflags -fcommon
- econf \
- $(use_enable nls) \
- $(use_enable ssl) \
- --enable-forte #369003
-}
-
-src_install() {
- default
-
- dodoc USAGE
- doicon "${WORKDIR}"/"${PN}"-logo.xpm
- make_desktop_entry 'gtklp -i' "${PN} -- Print files via CUPS" "${PN}"-logo 'System;HardwareSettings;Settings;Printing'
- make_desktop_entry "${PN}"q "${PN}q -- CUPS queue manager" "${PN}"-logo 'System;HardwareSettings;Settings;Printing'
-}
diff --git a/net-print/gtklp/metadata.xml b/net-print/gtklp/metadata.xml
deleted file mode 100644
index af00374fc38f..000000000000
--- a/net-print/gtklp/metadata.xml
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>printing@gentoo.org</email>
- <name>Gentoo Printing Project</name>
- </maintainer>
- <longdescription>
- GtkLP is an graphical frontend for CUPS, the Common UNIX Printing System.
- It is used to have an easy (and graphical) access to all of the many options
- of cups-managed printers. Package also includes GtkLPQ - a graphical
- frontend for CUPS-Printqueues.
- </longdescription>
- <upstream>
- <remote-id type="sourceforge">gtklp</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/net-print/gutenprint/Manifest b/net-print/gutenprint/Manifest
deleted file mode 100644
index 5472bfe98269..000000000000
--- a/net-print/gutenprint/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST gutenprint-5.3.4.tar.xz 5341824 BLAKE2B 134e59c7dbf9c0ba95b91c717f1e6841f35520b55105feb1ba40b82785c825b8e2a2429990e78186a1455e5c6de9880f911438d514c53c56d05575dd4e2d68a4 SHA512 63de0b62edbe255a7efaaeab1dcd22577b7b46d7e0e48441b79977f19e76bf3862e4e8e18c55dd1f2e7392d555f9e8ee875ea53b90c689852d2343491a8fbcc8
-DIST gutenprint-5.3.5.tar.xz 5667532 BLAKE2B 36cc9fff9bc15482e9f12b744c912055f6b0aad6f0105c145024461b67bc7a0f39fee093bb63b4bd2a06fd8dd46058f1508af2e1ff3c57eae62d0a16df3d3bf9 SHA512 18ac06e77fef012650515db0fa551f68c93941250e5f254d71381f20822d7682eae148142ad1bb650440c6b790f90daf9801b742f20dd081a05076d81275ba7c
diff --git a/net-print/gutenprint/files/gutenprint-5.3.1-cflags.patch b/net-print/gutenprint/files/gutenprint-5.3.1-cflags.patch
deleted file mode 100644
index 2f539333f792..000000000000
--- a/net-print/gutenprint/files/gutenprint-5.3.1-cflags.patch
+++ /dev/null
@@ -1,23 +0,0 @@
---- gutenprint-5.3.1/configure.ac
-+++ gutenprint-5.3.1/configure.ac
-@@ -714,20 +714,6 @@
- if test x${USE_MAINTAINER_MODE} = xyes ; then
- STP_ADD_COMPILER_ARGS([-D_POSIX_C_SOURCE=200809L -std=c99 -pedantic -Waggregate-return -Wcast-qual -Wshadow -Wredundant-decls],, [GNUCFLAGS])
- fi
-- if test x$ENABLE_DEBUG = xyes ; then
-- STP_ADD_COMPILER_ARG([-g])
-- else
-- STP_ADD_FIRST_COMPILER_ARG([-O3 -O2 -O1 -O])
-- fi
--else
-- if test x$ENABLE_DEBUG = xyes ; then
-- STP_ADD_COMPILER_ARG([-g])
-- else
-- STP_ADD_FIRST_COMPILER_ARG([-O])
-- fi
--fi
--if test x$ENABLE_PROFILE = xyes ; then
-- STP_ADD_COMPILER_ARG([-pg])
- fi
- AC_SUBST(GNUCFLAGS)
-
diff --git a/net-print/gutenprint/files/gutenprint-5.3.4-invalidint.patch b/net-print/gutenprint/files/gutenprint-5.3.4-invalidint.patch
deleted file mode 100644
index a39a974d78b0..000000000000
--- a/net-print/gutenprint/files/gutenprint-5.3.4-invalidint.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- gutenprint-5.3.4.orig/src/gimp2/print.c 2024-09-17 01:59:12.666943714 -0400
-+++ gutenprint-5.3.4/src/gimp2/print.c 2024-09-17 02:02:46.637482947 -0400
-@@ -114,8 +114,8 @@
- {
- if (gimp_thumbnail_data)
- g_free(gimp_thumbnail_data);
-- gint x = gimp_image_width(image_ID);
-- gint y = gimp_image_height(image_ID);
-+ gint x = gimp_image_width((gint32)(intptr_t)image_ID);
-+ gint y = gimp_image_height((gint32)(intptr_t)image_ID);
- if (*width > x)
- *width = x;
- if (*height > y)
diff --git a/net-print/gutenprint/gutenprint-5.3.4-r2.ebuild b/net-print/gutenprint/gutenprint-5.3.4-r2.ebuild
deleted file mode 100644
index dd0fce35f92c..000000000000
--- a/net-print/gutenprint/gutenprint-5.3.4-r2.ebuild
+++ /dev/null
@@ -1,93 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools
-
-DESCRIPTION="Ghostscript and cups printer drivers"
-HOMEPAGE="http://gutenprint.sourceforge.net"
-
-MY_P="${P/_/-}"
-S="${WORKDIR}/${MY_P}"
-SRC_URI="https://downloads.sourceforge.net/gimp-print/${MY_P}.tar.xz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm ~hppa ppc ppc64 ~sparc x86"
-
-IUSE="cups gimp gtk nls readline ppds static-libs"
-RESTRICT="test"
-REQUIRED_USE="gimp? ( gtk )"
-
-BDEPEND="
- virtual/pkgconfig
- nls? ( sys-devel/gettext )
-"
-
-# gimp restriction: https://sourceforge.net/p/gimp-print/bugs/725/
-RDEPEND="
- dev-lang/perl
- cups? ( >=net-print/cups-1.1.14 )
- gimp? (
- media-gfx/gimp:0/2
- x11-libs/gtk+:2
- )
- gtk? ( x11-libs/gtk+:2 )
- readline? ( sys-libs/readline:0= )
-"
-DEPEND="${RDEPEND}"
-
-DOCS=( AUTHORS ChangeLog NEWS README doc/gutenprint-users-manual.{pdf,odt} )
-PATCHES=(
- "${FILESDIR}"/${PN}-5.3.1-cflags.patch
- "${FILESDIR}"/${P}-invalidint.patch
-)
-
-src_prepare() {
- default
-
- # Needed for cflags patch
- eautoreconf
-}
-
-src_configure() {
- local myeconfargs=(
- --enable-test
- --disable-translated-cups-ppds
- $(use_enable gtk libgutenprintui2)
- $(use_with gimp gimp2)
- $(use_with gimp gimp2-as-gutenprint)
- $(use_with cups)
- $(use_enable nls)
- $(use_with readline)
- $(use_enable static-libs static)
- )
-
- if use cups && use ppds; then
- myeconfargs+=( --enable-cups-ppds --enable-cups-level3-ppds )
- else
- myeconfargs+=( --disable-cups-ppds )
- fi
-
- econf "${myeconfargs[@]}"
-}
-
-src_install() {
- default
-
- dodoc doc/FAQ.html
- dodoc -r doc/gutenprintui2/html
- rm -r "${ED}"/usr/share/gutenprint/doc || die
-
- find "${ED}" -name '*.la' -delete || die
-}
-
-pkg_postinst() {
- if [[ -x /usr/sbin/cups-genppdupdate ]]; then
- elog "Updating installed printer ppd files"
- elog $(/usr/sbin/cups-genppdupdate)
- else
- elog "You need to update installed ppds manually using cups-genppdupdate"
- fi
-}
diff --git a/net-print/gutenprint/gutenprint-5.3.5.ebuild b/net-print/gutenprint/gutenprint-5.3.5.ebuild
deleted file mode 100644
index 33bda6186969..000000000000
--- a/net-print/gutenprint/gutenprint-5.3.5.ebuild
+++ /dev/null
@@ -1,86 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-inherit autotools
-
-DESCRIPTION="Ghostscript and cups printer drivers"
-HOMEPAGE="https://gimp-print.sourceforge.io/"
-
-MY_P="${P/_/-}"
-SRC_URI="https://downloads.sourceforge.net/gimp-print/${MY_P}.tar.xz"
-S="${WORKDIR}/${MY_P}"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ppc ppc64 ~sparc x86"
-
-IUSE="cups nls readline ppds static-libs"
-RESTRICT="test"
-
-BDEPEND="
- virtual/pkgconfig
- nls? ( sys-devel/gettext )
-"
-
-RDEPEND="
- dev-lang/perl
- cups? ( >=net-print/cups-1.1.14 )
- readline? ( sys-libs/readline:0= )
-"
-DEPEND="${RDEPEND}"
-
-DOCS=( AUTHORS ChangeLog NEWS README doc/gutenprint-users-manual.{pdf,odt} )
-
-src_prepare() {
- default
-
- # Needed for cflags patch
- eautoreconf
-}
-
-src_configure() {
- local myeconfargs=(
- --enable-test
- --disable-translated-cups-ppds
- --disable-libgutenprintui2
- --without-gimp2
- --without-gimp2-as-gutenprint
- $(use_with cups)
- $(use_enable nls)
- $(use_with readline)
- $(use_enable static-libs static)
- )
-
- if use cups && use ppds; then
- myeconfargs+=(
- --enable-globalized-cups-ppds
- --enable-cups-1_2-enhancements
- --enable-cups-ppds
- --enable-cups-level3-ppds
- )
- else
- myeconfargs+=( --disable-cups-ppds )
- fi
-
- econf "${myeconfargs[@]}"
-}
-
-src_install() {
- default
-
- dodoc doc/FAQ.html
- dodoc -r doc/gutenprintui2/html
- rm -r "${ED}"/usr/share/gutenprint/doc || die
-
- find "${ED}" -name '*.la' -delete || die
-}
-
-pkg_postinst() {
- if [[ -x /usr/sbin/cups-genppdupdate ]]; then
- elog "Updating installed printer ppd files"
- elog $(/usr/sbin/cups-genppdupdate)
- else
- elog "You need to update installed ppds manually using cups-genppdupdate"
- fi
-}
diff --git a/net-print/gutenprint/metadata.xml b/net-print/gutenprint/metadata.xml
deleted file mode 100644
index a9a8d007b78d..000000000000
--- a/net-print/gutenprint/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>printing@gentoo.org</email>
- <name>Gentoo Printing Project</name>
- </maintainer>
- <upstream>
- <remote-id type="sourceforge">gimp-print</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/net-print/hplip-plugin/Manifest b/net-print/hplip-plugin/Manifest
deleted file mode 100644
index 285b556682c7..000000000000
--- a/net-print/hplip-plugin/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST hplip-3.25.8-plugin.run 11491307 BLAKE2B 62347337186d1af9617cc09163ac4e49b19375823cb468ee747e914bcc566de4aa6faab70da251720569e65dfb4588c6335c1d10e7aa4c6679b387e89b89f6f2 SHA512 93c77da187dd35f04124f52eb845d683d2ed748e350e1678f402c457f4d9d5d51a6031ce3dfe8d0ca178dc342dea1dec306d6fd10835a34d10b3ef3429f0e4f2
diff --git a/net-print/hplip-plugin/hplip-plugin-3.25.8.ebuild b/net-print/hplip-plugin/hplip-plugin-3.25.8.ebuild
deleted file mode 100644
index 0070b8cb4fc9..000000000000
--- a/net-print/hplip-plugin/hplip-plugin-3.25.8.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit unpacker
-
-DESCRIPTION="Proprietary plugins and firmware for HPLIP"
-HOMEPAGE="https://developers.hp.com/hp-linux-imaging-and-printing/plugins"
-SRC_URI="https://www.openprinting.org/download/printdriver/auxfiles/HP/plugins/hplip-${PV}-plugin.run"
-S="${WORKDIR}"
-
-LICENSE="hplip-plugin"
-SLOT="0"
-KEYWORDS="amd64 arm arm64 x86"
-IUSE="orblite"
-# License does not allow us to redistribute the "source" package
-RESTRICT="mirror"
-
-RDEPEND="
- ~net-print/hplip-${PV}
- virtual/udev
- orblite? (
- media-gfx/sane-backends
- >=sys-libs/glibc-2.26
- virtual/libusb:0
- )
-"
-
-HPLIP_HOME=/usr/share/hplip
-
-# Binary prebuilt package
-QA_PREBUILT="${HPLIP_HOME}/*.so"
-
-src_install() {
- local hplip_arch plugin
- case "${ARCH}" in
- amd64) hplip_arch="x86_64" ;;
- arm) hplip_arch="arm32" ;;
- arm64) hplip_arch="arm64" ;;
- x86) hplip_arch="x86_32" ;;
- *) die "Unsupported architecture." ;;
- esac
-
- insinto "${HPLIP_HOME}"/data/firmware
- doins *.fw.gz
-
- for plugin in *-${hplip_arch}.so; do
- local plugin_type=prnt
- case "${plugin}" in
- bb_orblite-*)
- use orblite || continue
- plugin_type=scan ;;
- bb_*)
- plugin_type=scan ;;
- fax_*)
- plugin_type=fax ;;
- esac
-
- exeinto "${HPLIP_HOME}"/${plugin_type}/plugins
- newexe ${plugin} ${plugin/-${hplip_arch}}
- done
-
- insinto /var/lib/hp
- newins - hplip.state <<-_EOF_
- [plugin]
- installed = 1
- eula = 1
- version = ${PV}
- _EOF_
-}
diff --git a/net-print/hplip-plugin/metadata.xml b/net-print/hplip-plugin/metadata.xml
deleted file mode 100644
index 115298d450d4..000000000000
--- a/net-print/hplip-plugin/metadata.xml
+++ /dev/null
@@ -1,19 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>printing@gentoo.org</email>
- <name>Gentoo Printing Project</name>
- </maintainer>
- <maintainer type="person">
- <email>chewi@gentoo.org</email>
- <name>James Le Cuirot</name>
- </maintainer>
- <upstream>
- <remote-id type="sourceforge">hplip</remote-id>
- </upstream>
- <use>
- <flag name="orblite">Install the ORBlite scanner plugin</flag>
- </use>
- <stabilize-allarches/>
-</pkgmetadata>
diff --git a/net-print/hplip/Manifest b/net-print/hplip/Manifest
deleted file mode 100644
index 7fec0f9ab633..000000000000
--- a/net-print/hplip/Manifest
+++ /dev/null
@@ -1,4 +0,0 @@
-DIST hplip-3.25.6-patches-2.tar.xz 22316 BLAKE2B 3644d06a530309490384b6c374a04c238e2ae844c836642be668c36159315be42b0693f153f3e3185593374bf36e70dc9d9760bd2e8a503a91be406e8674a910 SHA512 efd6338b31c33eb3318b6aa42391bb460bb6c65c3f1df4ebfdd50363252a7167a2eb43fe693a2e9b7f07ef939418a71117d69a0613d149277f73b39ab1ed7578
-DIST hplip-3.25.8-patches-1.tar.xz 22860 BLAKE2B e8ae156cb5a1f38dcdbdff70c9d315e4f7b63619c6de930f841e885adf0725c901929de03657312a24db29d0d83e5f072048e1f93de3a5bd1a47fa11b6970e6a SHA512 6e45150b4742aee715570610d554a9fb164e3343d18188d2cf54d9e238dd146b245058756434ba2b148ffa4b31873cb77c09e866b578f6c38b505378e739d3cd
-DIST hplip-3.25.8.tar.gz 30874051 BLAKE2B 1d4392966947f29c104671ae43c36ace5334120daf41b29cd1e344002e327f8491391d6cfaa2d82c72e3b4d7811d4f42ebd051bfe51bd2470d7f5111a4b0c656 SHA512 64ff2cc79088a874caa10d3e248a023461afb648e6363f542329cb70c537b594cace49b305c5c87c71daa82a7e03d4a6986497a50f73fc53714bb59336c3bc46
-DIST hplip-3.26.4.tar.gz 30963728 BLAKE2B 9e03ba394cf5711a1baa645d25f5217db0bf442da6ce4169488d3817078e2f94cd1b2f14a85d7fd8c8c0e3fd1d89ece5cc9af5ba7a13f96efee26e1f94d4b555 SHA512 ea0f4890d6c643019fceb6d19946f53df7c7433f57c103e3475e95c970ed5fd7f814434a79355217e7609eb8498c7051858839cec76623e2deebefc311ee4e29
diff --git a/net-print/hplip/hplip-3.25.8-r1.ebuild b/net-print/hplip/hplip-3.25.8-r1.ebuild
deleted file mode 100644
index 0afcedbd4a7d..000000000000
--- a/net-print/hplip/hplip-3.25.8-r1.ebuild
+++ /dev/null
@@ -1,287 +0,0 @@
-# Copyright 2021-2026 Liguros Authors
-# Distributed under the terms of the GNU General Public License v2
-EAPI=8
-
-PYTHON_COMPAT=( python3_{13..14} )
-PYTHON_REQ_USE="threads(+),xml(+)"
-
-inherit autotools flag-o-matic linux-info python-single-r1 readme.gentoo-r1 udev
-
-DESCRIPTION="HP Linux Imaging and Printing - Print, scan, fax drivers and service tools"
-HOMEPAGE="https://developers.hp.com/hp-linux-imaging-and-printing"
-SRC_URI="
- https://downloads.sourceforge.net/project/${PN}/${PN}/${PV}/${P}.tar.gz
- https://dev.gentoo.org/~billie/distfiles/${PN}-3.25.6-patches-2.tar.xz
-"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 arm arm64 ppc ppc64 x86"
-
-IUSE="doc fax +hpcups hpijs kde libnotify libusb0 minimal parport policykit qt6 scanner +snmp static-ppds X"
-
-COMMON_DEPEND="
- net-print/cups
- media-libs/libjpeg-turbo:0
- hpijs? ( net-print/cups-filters[foomatic] )
- !libusb0? ( virtual/libusb:1 )
- libusb0? ( virtual/libusb:0 )
- ${PYTHON_DEPS}
- !minimal? (
- sys-apps/dbus
- scanner? (
- media-gfx/sane-backends
- )
- snmp? (
- dev-libs/openssl:0=
-
- net-analyzer/net-snmp:=[${PYTHON_SINGLE_USEDEP}]
- net-dns/avahi[dbus,python,${PYTHON_SINGLE_USEDEP}]
- )
- )
-"
-BDEPEND="
- virtual/pkgconfig
-"
-DEPEND="
- ${COMMON_DEPEND}
-"
-RDEPEND="
- ${COMMON_DEPEND}
- app-text/ghostscript-gpl
- !minimal? (
- $(python_gen_cond_dep 'dev-python/pygobject:3[${PYTHON_USEDEP}]' 'python3*')
- kernel_linux? ( virtual/udev )
- $(python_gen_cond_dep '
- >=dev-python/dbus-python-1.2.0-r1[${PYTHON_USEDEP}]
- dev-python/distro[${PYTHON_USEDEP}]
- fax? ( dev-python/reportlab[${PYTHON_USEDEP}] )
- qt6? (
- ? ( dev-python/pyqt6[dbus,gui,-ssl,widgets,${PYTHON_USEDEP}] )
- dev-python/pyqt6[dbus,gui,widgets,${PYTHON_USEDEP}]
- libnotify? ( dev-python/notify2[${PYTHON_USEDEP}] )
- )
- scanner? (
- >=dev-python/reportlab-3.2[${PYTHON_USEDEP}]
- >=dev-python/pillow-3.1.1[${PYTHON_USEDEP}]
- X? (
- || (
- kde? ( kde-misc/skanlite )
- media-gfx/xsane
- media-gfx/sane-frontends
- )
- )
- )
- ')
- )
- policykit? ( sys-auth/polkit )
-"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-PATCHES=(
- "${WORKDIR}/patches"
-)
-
-CONFIG_CHECK="~PARPORT ~PPDEV"
-ERROR_PARPORT="Please make sure kernel parallel port support is enabled (PARPORT and PPDEV)."
-
-DOC_CONTENTS="
-For more information on setting up your printer please take
-a look at the hplip section of the gentoo printing guide:
-https://wiki.gentoo.org/wiki/Printing
-"
-
-pkg_setup() {
- python-single-r1_pkg_setup
-
- use scanner && ! use X && ewarn "You need USE=X for the scanner GUI."
- use parport && linux-info_pkg_setup
-
- if use minimal ; then
- ewarn "Installing driver portions only, make sure you know what you are doing."
- ewarn "Depending on the USE flags set for hpcups or hpijs the appropiate driver"
- ewarn "is installed. If both USE flags are set hpijs overrides hpcups."
- ewarn "This also disables fax, network, scanner and gui support!"
- fi
-
- if ! use hpcups && ! use hpijs ; then
- ewarn "Installing neither hpcups (USE=-hpcups) nor hpijs (USE=-hpijs) driver,"
- ewarn "which is probably not what you want."
- ewarn "You will almost certainly not be able to print."
- fi
-}
-
-src_prepare() {
- rm -f ${WORKDIR}/patches/022_hplip-3.23.5-C99-compatibility-fixes.patch
- #rm -f ${WORKDIR}/patches/024_hplip-3.23.12-no-readfp.patch
- default
-
- python_fix_shebang .
-
- # Make desktop files follow the specification
- # Gentoo bug: https://bugs.gentoo.org/show_bug.cgi?id=443680
- # Upstream bug: https://bugs.launchpad.net/hplip/+bug/1080324
- sed -i -e '/^Categories=/s/Application;//' \
- -e '/^Encoding=.*/d' hplip.desktop.in || die
- sed -i -e '/^Categories=/s/Application;//' \
- -e '/^Version=.*/d' \
- -e '/^Comment=.*/d' hplip-systray.desktop.in || die
-
- # Fix for Gentoo bug https://bugs.gentoo.org/show_bug.cgi?id=345725
- # Upstream bug: https://bugs.launchpad.net/hplip/+bug/880847,
- # https://bugs.launchpad.net/hplip/+bug/500086
- local udevdir=$(get_udevdir)
- sed -i -e "s|/etc/udev|${udevdir}|g" \
- $(find . -type f -exec grep -l /etc/udev {} +) || die
-
- # Force recognition of Gentoo distro by hp-check
- sed -i \
- -e "s:file('/etc/issue', 'r').read():'Gentoo':" \
- installer/core_install.py || die
-
- eautoreconf
-}
-
-src_configure() {
- # -Werror=lto-type-mismatch
- # https://bugs.gentoo.org/861851
- # https://bugs.launchpad.net/hplip/+bug/2055371
- filter-lto
-
- local drv_build minimal_build
-
- if use hpcups ; then
- drv_build="$(use_enable hpcups hpcups-install)"
- if use static-ppds ; then
- drv_build="${drv_build} --enable-cups-ppd-install"
- drv_build="${drv_build} --disable-cups-drv-install"
- else
- drv_build="${drv_build} --enable-cups-drv-install"
- drv_build="${drv_build} --disable-cups-ppd-install"
- fi
- else
- drv_build="--disable-hpcups-install"
- drv_build="${drv_build} --disable-cups-drv-install"
- drv_build="${drv_build} --disable-cups-ppd-install"
- fi
-
- if use hpijs ; then
- drv_build="${drv_build} $(use_enable hpijs hpijs-install)"
- if use static-ppds ; then
- drv_build="${drv_build} --enable-foomatic-ppd-install"
- drv_build="${drv_build} --disable-foomatic-drv-install"
- else
- drv_build="${drv_build} --enable-foomatic-drv-install"
- drv_build="${drv_build} --disable-foomatic-ppd-install"
- fi
- else
- drv_build="${drv_build} --disable-hpijs-install"
- drv_build="${drv_build} --disable-foomatic-drv-install"
- drv_build="${drv_build} --disable-foomatic-ppd-install"
- fi
-
- if use minimal ; then
- if use hpijs ; then
- minimal_build="--enable-hpijs-only-build"
- else
- minimal_build="--disable-hpijs-only-build"
- fi
- if use hpcups ; then
- minimal_build="${minimal_build} --enable-hpcups-only-build"
- else
- minimal_build="${minimal_build} --disable-hpcups-only-build"
- fi
- minimal_build="${minimal_build} --disable-dbus-build"
- minimal_build="${minimal_build} --disable-fax-build"
- minimal_build="${minimal_build} --disable-network-build"
- minimal_build="${minimal_build} --disable-scan-build"
- minimal_build="${minimal_build} --disable-gui-build"
- else
- minimal_build="${minimal_build} --enable-dbus-build"
- if use fax ; then
- minimal_build="${minimal_build} --enable-fax-build"
- else
- minimal_build="${minimal_build} --disable-fax-build"
- fi
- if use snmp ; then
- minimal_build="${minimal_build} --enable-network-build"
- else
- minimal_build="${minimal_build} --disable-network-build"
- fi
- if use scanner ; then
- minimal_build="${minimal_build} --enable-scan-build"
- else
- minimal_build="${minimal_build} --disable-scan-build"
- fi
- if use qt6 ; then
- minimal_build="${minimal_build} --enable-qt6"
- minimal_build="${minimal_build} --enable-gui-build"
- else
- minimal_build="${minimal_build} --disable-gui-build"
- minimal_build="${minimal_build} --disable-qt6"
- fi
- fi
-
- # disable class driver for now
- econf \
- --disable-class-driver \
- --disable-cups11-build \
- --disable-foomatic-rip-hplip-install \
- --disable-imageProcessor-build \
- --disable-lite-build \
- --disable-shadow-build \
- --disable-qt3 \
- --disable-qt4 \
- --disable-qt5 \
- --disable-udev_sysfs_rules \
- --with-cupsbackenddir=$(cups-config --serverbin)/backend \
- --with-cupsfilterdir=$(cups-config --serverbin)/filter \
- --with-docdir=/usr/share/doc/${PF} \
- --with-htmldir=/usr/share/doc/${PF}/html \
- --enable-hpps-install \
- ${drv_build} \
- ${minimal_build} \
- $(use_enable doc doc-build) \
- $(use_enable libusb0 libusb01_build) \
- $(use_enable parport pp-build) \
- $(use_enable policykit)
-}
-
-src_install() {
- # Disable parallel install
- # Gentoo Bug: https://bugs.gentoo.org/show_bug.cgi?id=578018
- emake -j1 DESTDIR="${D}" install
- einstalldocs
-
- # Installed by sane-backends
- # Gentoo Bug: https://bugs.gentoo.org/show_bug.cgi?id=201023
- rm -f "${ED}"/etc/sane.d/dll.conf || die
-
- # Remove desktop and autostart files
- # Gentoo Bug: https://bugs.gentoo.org/show_bug.cgi?id=638770
- use qt6 || {
- rm -Rf "${ED}"/usr/share/applications "${ED}"/etc/xdg
- }
-
- rm -f "${ED}"/usr/share/doc/${PF}/{copyright,README_LIBJPG,COPYING} || die
- rmdir --ignore-fail-on-non-empty "${ED}"/usr/share/doc/${PF}/ || die
-
- # Remove hal fdi files
- rm -rf "${ED}"/usr/share/hal || die
-
- find "${D}" -name '*.la' -delete || die
-
- python_optimize "${ED}"/usr/share/hplip
-
- readme.gentoo_create_doc
-}
-
-pkg_postinst() {
- udev_reload
- readme.gentoo_print_elog
-}
-
-pkg_postrm() {
- udev_reload
-}
diff --git a/net-print/hplip/hplip-3.26.4.ebuild b/net-print/hplip/hplip-3.26.4.ebuild
deleted file mode 100644
index 3141b004085c..000000000000
--- a/net-print/hplip/hplip-3.26.4.ebuild
+++ /dev/null
@@ -1,286 +0,0 @@
-# Copyright 2021-2026 Liguros Authors
-# Distributed under the terms of the GNU General Public License v2
-EAPI=8
-
-PYTHON_COMPAT=( python3_{13..14} )
-PYTHON_REQ_USE="threads(+),xml(+)"
-
-inherit autotools flag-o-matic linux-info python-single-r1 readme.gentoo-r1 udev
-
-DESCRIPTION="HP Linux Imaging and Printing - Print, scan, fax drivers and service tools"
-HOMEPAGE="https://developers.hp.com/hp-linux-imaging-and-printing"
-SRC_URI="
- https://downloads.sourceforge.net/project/${PN}/${PN}/${PV}/${P}.tar.gz
- https://dev.gentoo.org/~billie/distfiles/${PN}-3.25.8-patches-1.tar.xz
-"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 arm arm64 ppc ppc64 x86"
-
-IUSE="doc fax +hpcups hpijs kde libnotify libusb0 minimal parport policykit qt6 scanner +snmp static-ppds X"
-
-COMMON_DEPEND="
- net-print/cups
- media-libs/libjpeg-turbo:0
- hpijs? ( net-print/cups-filters[foomatic] )
- !libusb0? ( virtual/libusb:1 )
- libusb0? ( virtual/libusb:0 )
- ${PYTHON_DEPS}
- !minimal? (
- sys-apps/dbus
- scanner? (
- media-gfx/sane-backends
- )
- snmp? (
- dev-libs/openssl:0=
-
- net-analyzer/net-snmp:=[${PYTHON_SINGLE_USEDEP}]
- net-dns/avahi[dbus,python,${PYTHON_SINGLE_USEDEP}]
- )
- )
-"
-BDEPEND="
- virtual/pkgconfig
-"
-DEPEND="
- ${COMMON_DEPEND}
-"
-RDEPEND="
- ${COMMON_DEPEND}
- app-text/ghostscript-gpl
- !minimal? (
- $(python_gen_cond_dep 'dev-python/pygobject:3[${PYTHON_USEDEP}]' 'python3*')
- kernel_linux? ( virtual/udev )
- $(python_gen_cond_dep '
- >=dev-python/dbus-python-1.2.0-r1[${PYTHON_USEDEP}]
- dev-python/distro[${PYTHON_USEDEP}]
- fax? ( dev-python/reportlab[${PYTHON_USEDEP}] )
- qt6? (
- ? ( dev-python/pyqt6[dbus,gui,-ssl,widgets,${PYTHON_USEDEP}] )
- dev-python/pyqt6[dbus,gui,widgets,${PYTHON_USEDEP}]
- libnotify? ( dev-python/notify2[${PYTHON_USEDEP}] )
- )
- scanner? (
- >=dev-python/reportlab-3.2[${PYTHON_USEDEP}]
- >=dev-python/pillow-3.1.1[${PYTHON_USEDEP}]
- X? (
- || (
- kde? ( kde-misc/skanlite )
- media-gfx/xsane
- media-gfx/sane-frontends
- )
- )
- )
- ')
- )
- policykit? ( sys-auth/polkit )
-"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-PATCHES=(
- "${WORKDIR}/patches"
-)
-
-CONFIG_CHECK="~PARPORT ~PPDEV"
-ERROR_PARPORT="Please make sure kernel parallel port support is enabled (PARPORT and PPDEV)."
-
-DOC_CONTENTS="
-For more information on setting up your printer please take
-a look at the hplip section of the gentoo printing guide:
-https://wiki.gentoo.org/wiki/Printing
-"
-
-pkg_setup() {
- python-single-r1_pkg_setup
-
- use scanner && ! use X && ewarn "You need USE=X for the scanner GUI."
- use parport && linux-info_pkg_setup
-
- if use minimal ; then
- ewarn "Installing driver portions only, make sure you know what you are doing."
- ewarn "Depending on the USE flags set for hpcups or hpijs the appropiate driver"
- ewarn "is installed. If both USE flags are set hpijs overrides hpcups."
- ewarn "This also disables fax, network, scanner and gui support!"
- fi
-
- if ! use hpcups && ! use hpijs ; then
- ewarn "Installing neither hpcups (USE=-hpcups) nor hpijs (USE=-hpijs) driver,"
- ewarn "which is probably not what you want."
- ewarn "You will almost certainly not be able to print."
- fi
-}
-
-src_prepare() {
- rm -f ${WORKDIR}/patches/028_hplip-3.25.6-python-3.12-locale.format_string.patch
- default
-
- python_fix_shebang .
-
- # Make desktop files follow the specification
- # Gentoo bug: https://bugs.gentoo.org/show_bug.cgi?id=443680
- # Upstream bug: https://bugs.launchpad.net/hplip/+bug/1080324
- sed -i -e '/^Categories=/s/Application;//' \
- -e '/^Encoding=.*/d' hplip.desktop.in || die
- sed -i -e '/^Categories=/s/Application;//' \
- -e '/^Version=.*/d' \
- -e '/^Comment=.*/d' hplip-systray.desktop.in || die
-
- # Fix for Gentoo bug https://bugs.gentoo.org/show_bug.cgi?id=345725
- # Upstream bug: https://bugs.launchpad.net/hplip/+bug/880847,
- # https://bugs.launchpad.net/hplip/+bug/500086
- local udevdir=$(get_udevdir)
- sed -i -e "s|/etc/udev|${udevdir}|g" \
- $(find . -type f -exec grep -l /etc/udev {} +) || die
-
- # Force recognition of Gentoo distro by hp-check
- sed -i \
- -e "s:file('/etc/issue', 'r').read():'Gentoo':" \
- installer/core_install.py || die
-
- eautoreconf
-}
-
-src_configure() {
- # -Werror=lto-type-mismatch
- # https://bugs.gentoo.org/861851
- # https://bugs.launchpad.net/hplip/+bug/2055371
- filter-lto
-
- local drv_build minimal_build
-
- if use hpcups ; then
- drv_build="$(use_enable hpcups hpcups-install)"
- if use static-ppds ; then
- drv_build="${drv_build} --enable-cups-ppd-install"
- drv_build="${drv_build} --disable-cups-drv-install"
- else
- drv_build="${drv_build} --enable-cups-drv-install"
- drv_build="${drv_build} --disable-cups-ppd-install"
- fi
- else
- drv_build="--disable-hpcups-install"
- drv_build="${drv_build} --disable-cups-drv-install"
- drv_build="${drv_build} --disable-cups-ppd-install"
- fi
-
- if use hpijs ; then
- drv_build="${drv_build} $(use_enable hpijs hpijs-install)"
- if use static-ppds ; then
- drv_build="${drv_build} --enable-foomatic-ppd-install"
- drv_build="${drv_build} --disable-foomatic-drv-install"
- else
- drv_build="${drv_build} --enable-foomatic-drv-install"
- drv_build="${drv_build} --disable-foomatic-ppd-install"
- fi
- else
- drv_build="${drv_build} --disable-hpijs-install"
- drv_build="${drv_build} --disable-foomatic-drv-install"
- drv_build="${drv_build} --disable-foomatic-ppd-install"
- fi
-
- if use minimal ; then
- if use hpijs ; then
- minimal_build="--enable-hpijs-only-build"
- else
- minimal_build="--disable-hpijs-only-build"
- fi
- if use hpcups ; then
- minimal_build="${minimal_build} --enable-hpcups-only-build"
- else
- minimal_build="${minimal_build} --disable-hpcups-only-build"
- fi
- minimal_build="${minimal_build} --disable-dbus-build"
- minimal_build="${minimal_build} --disable-fax-build"
- minimal_build="${minimal_build} --disable-network-build"
- minimal_build="${minimal_build} --disable-scan-build"
- minimal_build="${minimal_build} --disable-gui-build"
- else
- minimal_build="${minimal_build} --enable-dbus-build"
- if use fax ; then
- minimal_build="${minimal_build} --enable-fax-build"
- else
- minimal_build="${minimal_build} --disable-fax-build"
- fi
- if use snmp ; then
- minimal_build="${minimal_build} --enable-network-build"
- else
- minimal_build="${minimal_build} --disable-network-build"
- fi
- if use scanner ; then
- minimal_build="${minimal_build} --enable-scan-build"
- else
- minimal_build="${minimal_build} --disable-scan-build"
- fi
- if use qt6 ; then
- minimal_build="${minimal_build} --enable-qt6"
- minimal_build="${minimal_build} --enable-gui-build"
- else
- minimal_build="${minimal_build} --disable-gui-build"
- minimal_build="${minimal_build} --disable-qt6"
- fi
- fi
-
- # disable class driver for now
- econf \
- --disable-class-driver \
- --disable-cups11-build \
- --disable-foomatic-rip-hplip-install \
- --disable-imageProcessor-build \
- --disable-lite-build \
- --disable-shadow-build \
- --disable-qt3 \
- --disable-qt4 \
- --disable-qt5 \
- --disable-udev_sysfs_rules \
- --with-cupsbackenddir=$(cups-config --serverbin)/backend \
- --with-cupsfilterdir=$(cups-config --serverbin)/filter \
- --with-docdir=/usr/share/doc/${PF} \
- --with-htmldir=/usr/share/doc/${PF}/html \
- --enable-hpps-install \
- ${drv_build} \
- ${minimal_build} \
- $(use_enable doc doc-build) \
- $(use_enable libusb0 libusb01_build) \
- $(use_enable parport pp-build) \
- $(use_enable policykit)
-}
-
-src_install() {
- # Disable parallel install
- # Gentoo Bug: https://bugs.gentoo.org/show_bug.cgi?id=578018
- emake -j1 DESTDIR="${D}" install
- einstalldocs
-
- # Installed by sane-backends
- # Gentoo Bug: https://bugs.gentoo.org/show_bug.cgi?id=201023
- rm -f "${ED}"/etc/sane.d/dll.conf || die
-
- # Remove desktop and autostart files
- # Gentoo Bug: https://bugs.gentoo.org/show_bug.cgi?id=638770
- use qt6 || {
- rm -Rf "${ED}"/usr/share/applications "${ED}"/etc/xdg
- }
-
- rm -f "${ED}"/usr/share/doc/${PF}/{copyright,README_LIBJPG,COPYING} || die
- rmdir --ignore-fail-on-non-empty "${ED}"/usr/share/doc/${PF}/ || die
-
- # Remove hal fdi files
- rm -rf "${ED}"/usr/share/hal || die
-
- find "${D}" -name '*.la' -delete || die
-
- python_optimize "${ED}"/usr/share/hplip
-
- readme.gentoo_create_doc
-}
-
-pkg_postinst() {
- udev_reload
- readme.gentoo_print_elog
-}
-
-pkg_postrm() {
- udev_reload
-}
diff --git a/net-print/hplip/metadata.xml b/net-print/hplip/metadata.xml
deleted file mode 100644
index 724978201b42..000000000000
--- a/net-print/hplip/metadata.xml
+++ /dev/null
@@ -1,34 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>dev@liguros.net</email>
- <name>Development</name>
- </maintainer>
- <maintainer type="person">
- <email>billie@gentoo.org</email>
- <name>Daniel Pielmeier</name>
- </maintainer>
- <maintainer type="project">
- <email>printing@gentoo.org</email>
- <name>Gentoo Printing Project</name>
- </maintainer>
- <upstream>
- <remote-id type="cpe">cpe:/a:hp:linux_imaging_and_printing_project</remote-id>
- </upstream>
- <use>
- <flag name="fax">Enable fax on multifunction devices which support it</flag>
- <flag name="hpcups">Build the hpcups driver for cups (by HP)</flag>
- <flag name="hpijs">Build the IJS driver for cups (Foomatic)</flag>
- <flag name="kde">Enables <pkg>kde-misc/skanlite</pkg> as scanner GUI with USE="scanner X"</flag>
- <flag name="libnotify">Enables desktop notifications</flag>
- <flag name="libusb0">Depend on <pkg>virtual/libusb</pkg> SLOT 0. Some old printers do not work with <pkg>virtual/libusb</pkg> SLOT 1.</flag>
- <flag name="minimal">Only build internal hpijs/hpcups driver (not recommended at all, make sure you know what you are doing)</flag>
- <flag name="parport">Enable parallel port for devices which require it</flag>
- <flag name="scanner">Enable scanner on multifunction devices which support it</flag>
- <flag name="snmp">Add support for <pkg>net-analyzer/net-snmp</pkg> which enables this driver to work over networks (both for server and client)</flag>
- <flag name="static-ppds">Use statically-generated PPDs instead of Dynamic PPDs. Although this is deprecated some printers may still need it to work properly. Use this flag if hp-setup fails to find/create a valid PPD file</flag>
- <flag name="X">Enables scanner GUI dependencies with USE="scanner" where <pkg>media-gfx/xsane</pkg> is preferred over <pkg>media-gfx/sane-frontends</pkg></flag>
- </use>
- <origin>ports</origin>
-</pkgmetadata> \ No newline at end of file
diff --git a/net-print/hpuld/Manifest b/net-print/hpuld/Manifest
deleted file mode 100644
index cc3e4d734e1f..000000000000
--- a/net-print/hpuld/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST ULDLINUX_HewlettPackard_V1.00.39.15_00.23.zip 10106994 BLAKE2B e187b967a0da80714a67ae188e50b6fb2aab82bb075172f6c7f15a7f595e927ac0537b997ecd141b481e3d90fe9cbe6717b176b4bfc56491b03025c0102c729b SHA512 9dc3f137fbf32d77f2e158c135853c5bd283970bda6fa9d6d548d817418c43559b80b88e82fef9bd91c50a06d8d342ccd4fe14524ab550ee5ab70b955dda92ba
diff --git a/net-print/hpuld/hpuld-1.00.39.15.00.23-r4.ebuild b/net-print/hpuld/hpuld-1.00.39.15.00.23-r4.ebuild
deleted file mode 100644
index 305ee3122e1d..000000000000
--- a/net-print/hpuld/hpuld-1.00.39.15.00.23-r4.ebuild
+++ /dev/null
@@ -1,120 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="8"
-
-MY_PV="$(ver_rs 4 _)"
-SANE_CONF_DIR="/etc/sane.d"
-
-DESCRIPTION="HP Unified Linux Driver (for samsung hardware)"
-HOMEPAGE="https://support.hp.com"
-
-SRC_URI="
- https://ftp.ext.hp.com/pub/softlib/software13/printers/LaserJet/M437_M443/ULDLINUX_HewlettPackard_V${MY_PV}.zip
-"
-
-S="${WORKDIR}/uld"
-
-LICENSE="all-rights-reserved"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~mips ~x86"
-
-IUSE="+scanner"
-
-RDEPEND="
- dev-libs/libusb
- net-print/cups
- scanner? (
- dev-libs/libxml2-compat:2
- media-gfx/sane-backends
- )
-"
-
-DEPEND="
- ${RDEPEND}
-"
-
-BDEPEND="
- app-arch/unzip
-"
-
-# Do not complain about CFLAGS etc since it is binary package
-QA_FLAGS_IGNORED=".*"
-QA_PRESTRIPPED="${QA_FLAGS_IGNORED}"
-
-src_unpack() {
- default
-
- for f in "${WORKDIR}"/*/*.tar.gz; do
- tar -zxf "$f" -C "${WORKDIR}" || die
- done
-}
-
-src_install() {
- export AGREE_EULA="y"
- export CONTINUE_INSTALL="y"
- export PAGER="$(which cat)"
-
- # Fix printer install path
- sed -i "s#\"/opt\"#\"${D}/opt\"#g" noarch/package_utils || die
- sed -i "s#\"/opt\"#\"${D}/opt\"#g" noarch/pre_install.sh || die
- sed -i "s#\"\$INSTDIR_CUPS_BACKENDS\"#\"${D}/\$INSTDIR_CUPS_BACKENDS\"#g" noarch/printer.pkg || die
- sed -i "s#\"\$INSTDIR_CUPS_FILTERS\"#\"${D}/\$INSTDIR_CUPS_FILTERS\"#g" noarch/printer.pkg || die
- sed -i "s#\"\$INSTDIR_CUPS_PPD\"#\"${D}/\$INSTDIR_CUPS_PPD\"#g" noarch/printer-script.pkg || die
- sed -i "s#\"\$INSTDIR_LSB_PPD\"#\"${D}/\$INSTDIR_LSB_PPD\"#g" noarch/printer-script.pkg || die
- # Not use rpm and dpkg
- sed -i "s#which rpm#which not_found_command_${PN}#g" noarch/package_utils || die
- sed -i "s#which dpkg#which not_found_command_${PN}#g" noarch/package_utils || die
-
- # Fix scanner install path
- sed -i "s#SANE_DIR=/usr/lib\${LIBSFX}/sane#SANE_DIR=${D}/usr/lib\${LIBSFX}/sane#g" noarch/scanner.pkg || die
- sed -i "s#/usr/lib/sane#${D}/usr/lib\${LIBSFX}/sane#g" noarch/scanner.pkg || die
- sed -i "s#/usr/share/locale/\$i/LC_MESSAGES/#${D}//usr/share/locale/\$i/LC_MESSAGES#g" noarch/scanner.pkg || die
- sed -i "s#\$(sane_config)#${D}/\$(sane_config)#g" noarch/scanner-script.pkg || die
- sed -i "s#\$(udev_rules)#${D}/\$(udev_rules)#g" noarch/scanner-script.pkg || die
- sed -i "s#\$(hal_rules)#${D}/\$(hal_rules)#g" noarch/scanner-script.pkg || die
- sed -i "s#\${USERMAP}#${D}/\${USERMAP}#g" noarch/scanner-script.pkg || die
- sed -i "s# trigger_libusbscanner_hotplug##g" noarch/scanner-script.pkg || die
- mkdir -p "${D}"/etc/hotplug/usb || die
-
- if use scanner ; then
- echo "# Add support for the HP-ULD specific backend. Needs net-print/hpuld installed." > "${S}"/"${PN}".conf || die
- echo "smfp" > "${S}"/"${PN}".conf || die
- insinto ${SANE_CONF_DIR}/dll.d
- doins "${S}"/"${PN}".conf
-
- sh ./install.sh || die
- fperms 644 /etc/sane.d/smfp-hewlett-packard.conf
- else
- sh ./install-printer.sh || die
- fi
-
- # upstream install.sh embeds ${D} into symlink targets; strip it.
- local link target
- while IFS= read -r -d '' link; do
- target="$(readlink "${link}")"
- [[ "${target}" == "${D}"* ]] || continue
- ln -sfn "${target#${D}}" "${link}" || die
- done < <(find "${D}" -type l -print0)
-}
-
-pkg_postinst() {
- if use scanner ; then
- ewarn "If you want to use the scanner,"
- ewarn "make sure the smfp is listed in ${SANE_CONF_DIR}/dll.d/"${PN}".conf."
- ewarn "If the geniusvp2 is listed in ${SANE_CONF_DIR}/dll.conf,"
- ewarn "please comment out it."
-
- ewarn "You should restart cupsd service after installed $P."
- ewarn "OpenRC: rc-service cupsd restart"
- ewarn "systemd: systemctl restart cups.service"
- fi
-}
-
-pkg_postrm() {
- if use scanner ; then
- ewarn "You should restart cupsd service after removed $P."
- ewarn "OpenRC: rc-service cupsd restart"
- ewarn "systemd: systemctl restart cups.service"
- fi
-}
diff --git a/net-print/hpuld/metadata.xml b/net-print/hpuld/metadata.xml
deleted file mode 100644
index d32bbab0ac6d..000000000000
--- a/net-print/hpuld/metadata.xml
+++ /dev/null
@@ -1,32 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>vowstar@gmail.com</email>
- <name>Huang Rui</name>
- </maintainer>
- <use>
- <flag name="scanner">Enable scanner on multifunction devices which support it</flag>
- </use>
- <longdescription lang="en">
- HP Unified Linux Driver.
- There are HP devices that are not supported by the HPLIP software but
- require the Samsung Unified Linux Driver (ULD) software for printing or
- scanning. Some such devices have PPDs and drivers in
- uld-hp_V1.00.39.*.tar.gz and uld-hp.tar.gz.
- The names of these packages and their contents have been known to change,
- so it may very well be best to search for them using a printer model.
- The devices catered for by the packages above are
- * HP Color Laser 15x Series
- * HP Color Laser MFP 17x Series
- * HP LaserJet MFP M433
- * HP LaserJet MFP M436
- * HP LaserJet MFP M72625 72630
- * HP Laser10x Series
- * HP Laser MFP 13x Series
- A concise guide to installing the ULDLINUX package and setting up a
- USB-connected print queue with an appropriate PPD has been provided by
- Robert Nurnberg.
- Adapting the guide for a wireless connection should not be difficult.
- </longdescription>
-</pkgmetadata>
diff --git a/net-print/ink/Manifest b/net-print/ink/Manifest
deleted file mode 100644
index 7221b969191e..000000000000
--- a/net-print/ink/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST ink-0.5.3.tar.gz 111791 BLAKE2B 15269a5ea267434f529256aeb144950111ffdaf9d9e182b62f5e1b0b3e6340495a2fdf22ffa6578a1960259a5f1a9097f27ca09ea6ecb1fb1f702aa15b7b2b5b SHA512 a05a3647d0fcae652f1b339006d22b7324e42615ed63fed47269dad409d0a6bd7640b9ec9fb6871d7ff0027af2577b64af98cbb8d9e38810e3b26490a5c0a2a1
diff --git a/net-print/ink/ink-0.5.3.ebuild b/net-print/ink/ink-0.5.3.ebuild
deleted file mode 100644
index 766b299210e4..000000000000
--- a/net-print/ink/ink-0.5.3.ebuild
+++ /dev/null
@@ -1,15 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DESCRIPTION="A command line utility to display the ink level of your printer"
-SRC_URI="https://downloads.sourceforge.net/ink/${P/_}.tar.gz"
-HOMEPAGE="http://ink.sourceforge.net/"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-
-DEPEND="net-print/libinklevel"
-RDEPEND="${DEPEND}"
diff --git a/net-print/ink/metadata.xml b/net-print/ink/metadata.xml
deleted file mode 100644
index f07b456ea944..000000000000
--- a/net-print/ink/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>printing@gentoo.org</email>
- <name>Gentoo Printing Project</name>
- </maintainer>
- <upstream>
- <remote-id type="sourceforge">ink</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/net-print/kyocera-1x2x-mfp-driver/Manifest b/net-print/kyocera-1x2x-mfp-driver/Manifest
deleted file mode 100644
index e0a2b4b0da6f..000000000000
--- a/net-print/kyocera-1x2x-mfp-driver/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST LinuxDrv_1.1203_FS-1x2xMFP.zip 5392941 BLAKE2B d39140d6bbf5d08d248739f2689ccd45d066b5568c3ba27bdcea34f2ed348e91d0b95d64c7e789dd08094ebda43a5fb6911efb9cdfcc43cf1fefd4af32fb18bb SHA512 afbe237d25d784a6202be01669ccb5e1f0f9a6349b6b74227723905529f23da6d7880b25420b289277020450286d02f579722add5c0d48c839ac44152a60d1ab
diff --git a/net-print/kyocera-1x2x-mfp-driver/files/rastertokpsl-fix.sh b/net-print/kyocera-1x2x-mfp-driver/files/rastertokpsl-fix.sh
deleted file mode 100644
index af898459f65f..000000000000
--- a/net-print/kyocera-1x2x-mfp-driver/files/rastertokpsl-fix.sh
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/bash
-# This file is a slightly modified version of 'rastertokpsl_wrapper' script
-# by Maxim Norin. See https://github.com/mnorin/kyocera-ppd-installer for
-# the original version.
-# Distributed under the terms of the GNU General Public License v2.
-jobname="$(echo "$3" | grep -Eo "[[:alnum:]]" | tr -d "\n" | tail -c 20)"
-/usr/libexec/cups/filter/rastertokpsl "$1" "$2" "${jobname}" "$4" "$5"
diff --git a/net-print/kyocera-1x2x-mfp-driver/kyocera-1x2x-mfp-driver-1.1203-r2.ebuild b/net-print/kyocera-1x2x-mfp-driver/kyocera-1x2x-mfp-driver-1.1203-r2.ebuild
deleted file mode 100644
index ee73cd5036fb..000000000000
--- a/net-print/kyocera-1x2x-mfp-driver/kyocera-1x2x-mfp-driver-1.1203-r2.ebuild
+++ /dev/null
@@ -1,115 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DESCRIPTION="Printer descriptions (PPDs) and filters for Kyocera 1x2x MFP"
-HOMEPAGE="http://www.kyoceradocumentsolutions.eu"
-SRC_URI="LinuxDrv_${PV}_FS-1x2xMFP.zip"
-
-LICENSE="GPL-2 kyocera-mita-ppds"
-SLOT="0"
-KEYWORDS="-* ~amd64"
-
-IUSE_L10N=( en ar cs de el es fr he hu it ko pl pt ro ru th tr vi zh-CN zh-TW )
-IUSE="+rastertokpsl-fix +${IUSE_L10N[@]/#/l10n_}"
-REQUIRED_USE="|| ( ${IUSE_L10N[@]/#/l10n_} )"
-RESTRICT="fetch mirror"
-
-RDEPEND="net-print/cups"
-BDEPEND="app-arch/unzip"
-
-QA_PREBUILT="/usr/libexec/cups/filter/rastertokpsl"
-
-get_tarball_name() {
- # Note the capitalization inconsistency. Don't "fix" that.
- declare -A animals=(
- [ar]=arabic [cs]=czech [de]=German [el]=greek [en]=English
- [es]=Spanish [fr]=French [he]=hebrew [hu]=hungarian [it]=Italian
- [ko]=Korean [pl]=polish [pt]=Portuguese [ro]=romanian [ru]=russian
- [th]=thai [tr]=turkish [vi]=vietnamese [zh-CN]=simplified [zh-TW]=traditional
- )
- echo "${animals[$1]}"
-}
-
-pkg_nofetch() {
- einfo "Please, navigate your browser to the following URL, select"
- einfo "'Support - Downloads' in the menu, select 'FS-1025MFP',"
- einfo "select 'Linux print driver (${PV})', accept EULA, and manually"
- einfo "download the file named '${A}', then put it into your DISTDIR."
- einfo "https://www.kyoceradocumentsolutions.eu/en/support/downloads.name-L2V1L2VuL21mcC9GUzExMjVNRlA=.html"
- einfo
- einfo "Consider keeping a local copy of the file since there're chances"
- einfo "the company is going to eventually stop hosting it for whatever"
- einfo "reason."
-}
-
-src_unpack() {
- unpack ${A}
- S="${WORKDIR}/Linux/$(usex amd64 64bit 32bit)/Global"
-
- cd "${S}" || die
- local l10n
- for l10n in ${L10N}; do
- local language="$(get_tarball_name "${l10n}")"
- unpack "./${language}.tar.gz"
- done
-}
-
-src_prepare() {
- eapply_user
-
- # Original PPD files need patching, since they expect their filter
- # program to reside under /usr/lib, but Gentoo uses /usr/libexec.
-
- local orig="/usr/lib/cups/filter/rastertokpsl"
- local repl="/usr/libexec/cups/filter/rastertokpsl"
- if use rastertokpsl-fix; then
- repl+="-fix.sh"
- fi
-
- sed -i "s|${orig}|${repl}|g" ./*/Kyocera*.ppd || die
-}
-
-src_install() {
- insinto /usr/share/cups/model/KyoceraMita
-
- install_with_l10n_suffix() {
- local l10n="$1"; shift
- local file
- for file; do
- local bn="${file}"
- bn="${bn##*/}"
- bn="${bn%.ppd}"
- newins "${file}" "${bn}_${l10n}.ppd"
- done
- }
-
- local l10n
- for l10n in ${L10N}; do
- local language="$(get_tarball_name "${l10n}")"
- install_with_l10n_suffix "${l10n}" "./${language}"/Kyocera*.ppd
- done
-
- exeinto /usr/libexec/cups/filter
-
- # Each unpacked tarball contains an exact copy of 'rastertokpsl',
- # just take any of them.
- local rasterfile="$(find -name rastertokpsl -print -quit)"
- [[ $? -eq 0 && -n "${rasterfile}" ]] || die
- doexe "${rasterfile}"
-
- if use rastertokpsl-fix; then
- doexe "${FILESDIR}/rastertokpsl-fix.sh"
- fi
-
- dodoc ../../Readme.htm
-
- elog "This packages installs Kyocera's 'Readme.htm' file (see package"
- elog "documentation directory) which lists several common problems and"
- elog "workarounds. You might want to have a look on it."
- elog "(Merging the package with 'rastertokpsl-fix' USE flag can save you"
- elog "from getting some of these problems.)"
- elog
- elog "Hint: try socket:// protocol when configuring network printing."
-}
diff --git a/net-print/kyocera-1x2x-mfp-driver/metadata.xml b/net-print/kyocera-1x2x-mfp-driver/metadata.xml
deleted file mode 100644
index 37e15e9dd378..000000000000
--- a/net-print/kyocera-1x2x-mfp-driver/metadata.xml
+++ /dev/null
@@ -1,19 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person" proxied="yes">
- <email>firegurafiku@gmail.com</email>
- <name>Pavel Kretov</name>
- </maintainer>
- <maintainer type="project" proxied="proxy">
- <email>proxy-maint@gentoo.org</email>
- <name>Proxy Maintainers</name>
- </maintainer>
-
- <use>
- <flag name="rastertokpsl-fix">
- Use custom wrapper script to sanitize arguments before passing
- to 'rastertokpsl' filter program
- </flag>
- </use>
-</pkgmetadata>
diff --git a/net-print/lexmark-upd-ppd/Manifest b/net-print/lexmark-upd-ppd/Manifest
deleted file mode 100644
index dd99e9687858..000000000000
--- a/net-print/lexmark-upd-ppd/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST lexmark-upd-ppd-1.0.0.20240321.tar.Z 2580703 BLAKE2B 3ca05a41d7f03caabd252089f4479938b355c9630f0ad0939aaa9838b564e1a9c287d81f210c4e16b253d4ec0b22024ee712d674524146585c00d3aaaa5d8420 SHA512 9c5108c99d41c62994db4c56249b20093f6cd6470db71d3a44d0465bf08094d22d8ff5c37a2f26d11ac8445f93b8d4c94da4d82f0eb62ff346b07f3c2dcb5ff5
diff --git a/net-print/lexmark-upd-ppd/lexmark-upd-ppd-1.0.0.20240321.ebuild b/net-print/lexmark-upd-ppd/lexmark-upd-ppd-1.0.0.20240321.ebuild
deleted file mode 100644
index 87fe42193a7e..000000000000
--- a/net-print/lexmark-upd-ppd/lexmark-upd-ppd-1.0.0.20240321.ebuild
+++ /dev/null
@@ -1,45 +0,0 @@
-# Copyright 2021-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DESCRIPTION="Lexmark universal printer driver PPDs"
-HOMEPAGE="https://www.lexmark.com/en_us/support/universal-print-driver.html"
-SRC_URI="https://downloads.lexmark.com/downloads/drivers/Lexmark-UPD-PPD-Files.tar.Z -> ${P}.tar.Z"
-RESTRICT="mirror"
-
-LICENSE="Lexmark-EU2-0111"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-DEPEND=""
-RDEPEND="
- >=net-print/cups-1.4
- net-dns/avahi
-"
-BDEPEND=""
-
-# TODO: add IUSE for foomatic and install those files too
-
-S="${WORKDIR}"/ppd_files
-
-QA_FLAGS_IGNORED="usr/libexec/cups/filter/LexCommandFileFilterG2"
-
-src_prepare() {
- default
- sed -i 's:/usr/lib/cups/filter/:/usr/libexec/cups/filter/:g' GlobalPPD_1.4/Lexmark_UPD_Series.ppd || die "Unable to patch hard coded PPD paths"
-}
-
-src_install() {
- local filterdir
- if use amd64; then filterdir="lib64";
- elif use x86; then filterdir="lib";
- else die "No filter for architecture"; fi
-
- insinto /usr/share/cups/model
- exeinto /usr/libexec/cups/filter
-
- doins "${S}"/GlobalPPD_1.4/Lexmark_UPD_Series.ppd
- doexe "${S}"/GlobalPPD_1.4/$filterdir/LexCommandFileFilterG2
- doexe "${S}"/GlobalPPD_1.4/LexFaxPnHFilter
-}
diff --git a/net-print/lexmark-upd-ppd/metadata.xml b/net-print/lexmark-upd-ppd/metadata.xml
deleted file mode 100644
index 78a9d6b02d0f..000000000000
--- a/net-print/lexmark-upd-ppd/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<maintainer type="person">
-<email>zx2c4@gentoo.org</email>
-<name>Jason A. Donenfeld</name>
-</maintainer>
-</pkgmetadata>
diff --git a/net-print/libcupsfilters/Manifest b/net-print/libcupsfilters/Manifest
deleted file mode 100644
index 17dcbdb495c5..000000000000
--- a/net-print/libcupsfilters/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST libcupsfilters-2.1.1.tar.xz 1446192 BLAKE2B a4310fac3a2d484716b0cc0b96ffcfd8441558ffc8bbd3e9b2d1336a7a1f74e03892a0f653560abd068e8b2f84c134fd0fe4a9a8441f43224833de3c195c8cb7 SHA512 3025a52713a06cc5f79b2c55bcb4a331fddeb7439636951fd25bfb77c048a1a336143a1b03496e284f12de9c97f35cf1cea44c99f7e8d02f90d849e8f4f083ad
diff --git a/net-print/libcupsfilters/files/libcupsfilters-2.1.1-CVE-2025-57812.patch b/net-print/libcupsfilters/files/libcupsfilters-2.1.1-CVE-2025-57812.patch
deleted file mode 100644
index 857966edac83..000000000000
--- a/net-print/libcupsfilters/files/libcupsfilters-2.1.1-CVE-2025-57812.patch
+++ /dev/null
@@ -1,128 +0,0 @@
-https://bugs.gentoo.org/966005
-https://github.com/OpenPrinting/libcupsfilters/commit/ce1174b47948b00818479aba96f8ea23e895fe42
-
-From ce1174b47948b00818479aba96f8ea23e895fe42 Mon Sep 17 00:00:00 2001
-From: zdohnal <zdohnal@redhat.com>
-Date: Mon, 10 Nov 2025 18:58:31 +0100
-Subject: [PATCH] Merge commit from fork
-
-* Fix heap-buffer overflow write in cfImageLut
-
-1. fix for CVE-2025-57812
-
-* Reject color images with 1 bit per sample
-
-2. fix for CVE-2025-57812
-
-* Reject images where the number of samples does not correspond with the color space
-
-3. fix for CVE-2025-57812
-
-* Reject images with planar color configuration
-
-4. fix for CVE-2025-57812
-
-* Reject images with vertical scanlines
-
-5. fix for CVE-2025-57812
-
----------
-
-Co-authored-by: Till Kamppeter <till.kamppeter@gmail.com>
----
- cupsfilters/image-tiff.c | 46 +++++++++++++++++++++++++++++++++++++++-
- 1 file changed, 45 insertions(+), 1 deletion(-)
-
-diff --git a/cupsfilters/image-tiff.c b/cupsfilters/image-tiff.c
-index 20dfbaee6..748e2db63 100644
---- a/cupsfilters/image-tiff.c
-+++ b/cupsfilters/image-tiff.c
-@@ -41,6 +41,7 @@ _cfImageReadTIFF(
- TIFF *tif; // TIFF file
- uint32_t width, height; // Size of image
- uint16_t photometric, // Colorspace
-+ planar, // Color components in separate planes
- compression, // Type of compression
- orientation, // Orientation
- resunit, // Units for resolution
-@@ -113,6 +114,15 @@ _cfImageReadTIFF(
- return (-1);
- }
-
-+ if (TIFFGetField(tif, TIFFTAG_PLANARCONFIG, &planar) &&
-+ planar == PLANARCONFIG_SEPARATE)
-+ {
-+ fputs("DEBUG: Images with planar color configuration are not supported!\n", stderr);
-+ TIFFClose(tif);
-+ fclose(fp);
-+ return (1);
-+ }
-+
- if (!TIFFGetField(tif, TIFFTAG_COMPRESSION, &compression))
- {
- DEBUG_puts("DEBUG: No compression tag in the file!\n");
-@@ -127,6 +137,15 @@ _cfImageReadTIFF(
- if (!TIFFGetField(tif, TIFFTAG_BITSPERSAMPLE, &bits))
- bits = 1;
-
-+ if (bits == 1 && samples > 1)
-+ {
-+ fprintf(stderr, "ERROR: Color images with 1 bit per sample not supported! "
-+ "Samples per pixel: %d; Bits per sample: %d\n", samples, bits);
-+ TIFFClose(tif);
-+ fclose(fp);
-+ return (1);
-+ }
-+
- //
- // Get the image orientation...
- //
-@@ -193,6 +212,23 @@ _cfImageReadTIFF(
- else
- alpha = 0;
-
-+ //
-+ // Check whether number of samples per pixel corresponds with color space
-+ //
-+
-+ if ((photometric == PHOTOMETRIC_RGB && (samples < 3 || samples > 4)) ||
-+ (photometric == PHOTOMETRIC_SEPARATED && samples != 4))
-+ {
-+ fprintf(stderr, "DEBUG: Number of samples per pixel does not correspond to color space! "
-+ "Color space: %s; Samples per pixel: %d\n",
-+ (photometric == PHOTOMETRIC_RGB ? "RGB" :
-+ (photometric == PHOTOMETRIC_SEPARATED ? "CMYK" : "Unknown")),
-+ samples);
-+ TIFFClose(tif);
-+ fclose(fp);
-+ return (1);
-+ }
-+
- //
- // Check the size of the image...
- //
-@@ -265,6 +301,14 @@ _cfImageReadTIFF(
- break;
- }
-
-+ if (orientation >= ORIENTATION_LEFTTOP)
-+ {
-+ fputs("ERROR: TIFF files with vertical scanlines are not supported!\n", stderr);
-+ TIFFClose(tif);
-+ fclose(fp);
-+ return (-1);
-+ }
-+
- switch (orientation)
- {
- case ORIENTATION_TOPRIGHT :
-@@ -1493,7 +1537,7 @@ _cfImageReadTIFF(
- }
-
- if (lut)
-- cfImageLut(out, img->xsize * 3, lut);
-+ cfImageLut(out, img->xsize * bpp, lut);
-
- _cfImagePutRow(img, 0, y, img->xsize, out);
- }
-
diff --git a/net-print/libcupsfilters/files/libcupsfilters-2.1.1-CVE-2025-64503.patch b/net-print/libcupsfilters/files/libcupsfilters-2.1.1-CVE-2025-64503.patch
deleted file mode 100644
index 6c67a420d271..000000000000
--- a/net-print/libcupsfilters/files/libcupsfilters-2.1.1-CVE-2025-64503.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-https://bugs.gentoo.org/966005
-https://github.com/OpenPrinting/libcupsfilters/commit/c726672e5bfd8b353f18a8c62ce27bc954552c16
-
-From c726672e5bfd8b353f18a8c62ce27bc954552c16 Mon Sep 17 00:00:00 2001
-From: Till Kamppeter <till.kamppeter@gmail.com>
-Date: Mon, 10 Nov 2025 22:07:00 +0100
-Subject: [PATCH] Fix out-of-bounds write in cfFilterPDFToRaster()
-
-PDFs with too large page dimensions could cause an integer overflow and then a too small buffer for the pixel line to be allocated.
-
-Fixed this by cropping the page size to the maximum allowed by the standard, 14400x14400pt, 200x200in, 5x5m
-
-https://community.adobe.com/t5/indesign-discussions/maximum-width-of-a-pdf/td-p/9217372
-
-Fixes CVE-2025-64503
----
- cupsfilters/pdftoraster.cxx | 14 ++++++++++++++
- 1 file changed, 14 insertions(+)
-
-diff --git a/cupsfilters/pdftoraster.cxx b/cupsfilters/pdftoraster.cxx
-index 3b50030a6..b52c75631 100644
---- a/cupsfilters/pdftoraster.cxx
-+++ b/cupsfilters/pdftoraster.cxx
-@@ -1610,6 +1610,20 @@ out_page(pdftoraster_doc_t *doc,
- doc->header.cupsPageSize[0] = l;
- else
- doc->header.cupsPageSize[1] = l;
-+
-+ //
-+ // Maximum allowed page size for PDF is 200x200 inches (~ 5x5 m), or 14400x14400 pt
-+ // https://community.adobe.com/t5/indesign-discussions/maximum-width-of-a-pdf/td-p/9217372
-+ //
-+ if (doc->header.cupsPageSize[0] > 14400) {
-+ fprintf(stderr, "ERROR: Page width is %.2fpt, too large, cropping to 14400pt\n", doc->header.cupsPageSize[0]);
-+ doc->header.cupsPageSize[0] = 14400;
-+ }
-+ if (doc->header.cupsPageSize[1] > 14400) {
-+ fprintf(stderr, "ERROR: Page height is %.2fpt, too large, cropping to 14400pt\n", doc->header.cupsPageSize[1]);
-+ doc->header.cupsPageSize[1] = 14400;
-+ }
-+
- if (rotate == 90 || rotate == 270)
- {
- doc->header.cupsImagingBBox[0] =
-
diff --git a/net-print/libcupsfilters/libcupsfilters-2.1.1-r1.ebuild b/net-print/libcupsfilters/libcupsfilters-2.1.1-r1.ebuild
deleted file mode 100644
index edf345c05794..000000000000
--- a/net-print/libcupsfilters/libcupsfilters-2.1.1-r1.ebuild
+++ /dev/null
@@ -1,76 +0,0 @@
-# Copyright 2023-2026 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="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~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
- !<net-print/cups-filters-2.0.0
-
- exif? ( media-libs/libexif )
- dbus? ( sys-apps/dbus )
- jpeg? ( media-libs/libjpeg-turbo:= )
- pdf? ( app-text/mupdf )
- postscript? ( app-text/ghostscript-gpl[cups] )
- poppler? ( >=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 )
-"
-
-PATCHES=(
- "${FILESDIR}"/${P}-CVE-2025-57812.patch
- "${FILESDIR}"/${P}-CVE-2025-64503.patch
-)
-
-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
-}
diff --git a/net-print/libcupsfilters/metadata.xml b/net-print/libcupsfilters/metadata.xml
deleted file mode 100644
index d31059e1c097..000000000000
--- a/net-print/libcupsfilters/metadata.xml
+++ /dev/null
@@ -1,14 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>printing@gentoo.org</email>
- <name>Gentoo Printing Project</name>
- </maintainer>
- <use>
- <flag name="poppler">Build the pdftoraster filter</flag>
- </use>
- <upstream>
- <remote-id type="github">OpenPrinting/libcupsfilters</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/net-print/libinklevel/Manifest b/net-print/libinklevel/Manifest
deleted file mode 100644
index fe3a1bfbc739..000000000000
--- a/net-print/libinklevel/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST libinklevel-0.9.3.tar.gz 385622 BLAKE2B c44726239d09719b634046dd40e168b6d0aefe86e675ac6669e7ffcefffbe30f9116fd2b778d7b6c9ae06d7781126202b6dcdddc50359e8905c9dab3893a6cb7 SHA512 bc45661fb861fb8fc6e209ceb4023e7eed2e474e05de76a9185e698aac7bc14d302bd254a1d95bdda104bce066d85ca27bb69d6620e17eca41b95bb279a6ad47
-DIST libinklevel-0.9.7.tar.gz 410914 BLAKE2B 065dee8978c84e073734624c5f00c971b3946c80f2f7b51570f72a8cd1274fec1a7a274512b4d4b841dd43c43faff43bddd05f71955eb6dc606d1618aa43d326 SHA512 43bff216762caeb9789ef30e791c278e46a68ac5ed8e49277653fe9c9927aa2b3a9e45c39b444af7f2ad8ac8bdff674f8be9608deadad211e1f1247fe516c69a
diff --git a/net-print/libinklevel/files/libinklevel-0.9.2-autoconf-2.70.patch b/net-print/libinklevel/files/libinklevel-0.9.2-autoconf-2.70.patch
deleted file mode 100644
index 462f23eb73b1..000000000000
--- a/net-print/libinklevel/files/libinklevel-0.9.2-autoconf-2.70.patch
+++ /dev/null
@@ -1,51 +0,0 @@
-https://sources.debian.org/patches/libinklevel/0.9.3-3/0001-configure.ac-fix-ftbfs-with-autoconf2.70.patch/
-https://bugs.gentoo.org/750173
-
-From: Boyuan Yang <byang@debian.org>
-Date: Sat, 16 Jan 2021 11:03:56 -0500
-Subject: configure.ac: fix ftbfs with autoconf2.70
-
-Applied-Upstream: email, yes
---- a/configure.ac
-+++ b/configure.ac
-@@ -12,7 +12,7 @@ ABI_VERSION=5:0:0
-
- dnl no more configuration after this line
-
--AC_CONFIG_SRCDIR(libinklevel.c)
-+AC_CONFIG_SRCDIR([libinklevel.c])
-
- ## Determine hostname & OS
- ## AC_CANONICAL_HOST
-@@ -77,9 +77,9 @@ AC_CHECK_HEADERS([ifaddrs.h])
-
- ## Check for mandatory header files
-
--AC_CHECK_HEADERS([arpa/inet.h fcntl.h netdb.h netinet/in.h \
-+AC_CHECK_HEADERS([arpa/inet.h fcntl.h netdb.h netinet/in.h \
- sys/ioctl.h sys/socket.h sys/time.h sys/timeb.h wchar.h ]
-- ,,AC_MSG_ERROR( required header file missing ))
-+ ,,AC_MSG_ERROR([required header file missing]))
-
- ## determine libraries that need to get linked
-
-@@ -96,7 +96,7 @@ AC_CHECK_FUNCS([getifaddrs])
- AC_CHECK_FUNCS([alarm ftime gethostbyaddr gethostbyname gettimeofday inet_ntoa \
- memset select socket strchr strdup strerror strncasecmp strstr \
- gethostname]
-- ,,AC_MSG_ERROR( required library function missing ))
-+ ,,AC_MSG_ERROR([required library function missing]))
- AC_FUNC_MALLOC
- AC_FUNC_REALLOC
- AC_HEADER_RESOLV
-@@ -117,8 +117,8 @@ case $host in
- PKG_CHECK_MODULES([LIBUSB1], [libusb-1.0]);;
-
- *-freebsd*) AC_DEFINE_UNQUOTED(HOST_OS,FREEBSD,[Host OS])
-- AC_CHECK_LIB([usb], libusb_init,, AC_MSG_ERROR(Library not found),);;
-- *-*-*) AC_MSG_ERROR( Host OS not (yet) supported) ;;
-+ AC_CHECK_LIB([usb], libusb_init,, AC_MSG_ERROR([Library not found]),);;
-+ *-*-*) AC_MSG_ERROR([Host OS not (yet) supported]) ;;
- esac
-
- ## Variables to be exported
diff --git a/net-print/libinklevel/files/libinklevel-0.9.7-disable-docs.patch b/net-print/libinklevel/files/libinklevel-0.9.7-disable-docs.patch
deleted file mode 100644
index 09314bda3aa9..000000000000
--- a/net-print/libinklevel/files/libinklevel-0.9.7-disable-docs.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-was sed in 0.9.3
-Disables manual installation of docs that conflicts with ebuild
---- a/Makefile.am
-+++ b/Makefile.am
-@@ -2,11 +2,10 @@
-
- AM_CFLAGS = -Wall $(LIBUSB1_CFLAGS) $(LIBXML2_CFLAGS)
- ACLOCAL_AMFLAGS = -I m4
-
- lib_LTLIBRARIES = libinklevel.la
--dist_doc_DATA = NEWS README AUTHORS COPYING ChangeLog
- LIBTOOL_DEPS = @LIBTOOL_DEPS@
-
- libtool: $(LIBTOOL_DEPS)
- $(SHELL) ./config.status --recheck
-
diff --git a/net-print/libinklevel/libinklevel-0.9.3.ebuild b/net-print/libinklevel/libinklevel-0.9.3.ebuild
deleted file mode 100644
index cf924d097627..000000000000
--- a/net-print/libinklevel/libinklevel-0.9.3.ebuild
+++ /dev/null
@@ -1,43 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools
-
-MY_P="${P/_/}"
-DESCRIPTION="A library to get the ink level of your printer"
-HOMEPAGE="https://libinklevel.sourceforge.net/"
-SRC_URI="https://downloads.sourceforge.net/libinklevel/${MY_P}.tar.gz"
-S="${WORKDIR}/${MY_P}"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~ppc x86"
-IUSE="debug"
-
-DEPEND=">=sys-libs/libieee1284-0.2.11
- virtual/libusb:1"
-RDEPEND="${DEPEND}"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-0.9.2-autoconf-2.70.patch
-)
-
-src_prepare() {
- default
-
- sed -i -e "/^dist_doc_DATA/d" Makefile.am \
- || die "Failed to disable installation of docs"
-
- eautoreconf
-}
-
-src_configure() {
- econf $(use_enable debug)
-}
-
-src_install() {
- default
- find "${ED}" -name '*.la' -delete || die
-}
diff --git a/net-print/libinklevel/libinklevel-0.9.7.ebuild b/net-print/libinklevel/libinklevel-0.9.7.ebuild
deleted file mode 100644
index c99019ced9f0..000000000000
--- a/net-print/libinklevel/libinklevel-0.9.7.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools
-
-MY_P="${P/_/}"
-DESCRIPTION="A library to get the ink level of your printer"
-HOMEPAGE="https://libinklevel.sourceforge.net/"
-SRC_URI="https://downloads.sourceforge.net/libinklevel/${MY_P}.tar.gz"
-S="${WORKDIR}/${MY_P}"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~ppc x86"
-IUSE="debug"
-
-DEPEND="
- dev-libs/libxml2:=
- virtual/libusb:1
-"
-RDEPEND="${DEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-PATCHES=( "${FILESDIR}/${PN}-0.9.7-disable-docs.patch" )
-
-src_prepare() {
- default
-
- eautoreconf
-}
-
-src_configure() {
- econf $(use_enable debug)
-}
-
-src_install() {
- default
- find "${ED}" -name '*.la' -delete || die
-}
diff --git a/net-print/libinklevel/metadata.xml b/net-print/libinklevel/metadata.xml
deleted file mode 100644
index fa03614f75b6..000000000000
--- a/net-print/libinklevel/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>printing@gentoo.org</email>
- <name>Gentoo Printing Project</name>
- </maintainer>
- <upstream>
- <remote-id type="sourceforge">libinklevel</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/net-print/libppd/Manifest b/net-print/libppd/Manifest
deleted file mode 100644
index d4a424c1943f..000000000000
--- a/net-print/libppd/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST libppd-2.1.1.tar.xz 585776 BLAKE2B 7d2279d61948abf516fb33022ac750efc877a34b0c1e12351f0f2a2b0302abc7bb0c287bff4887874a3f59d7eb84369d5b9cc9c59f83c4a4936976d3898c40db SHA512 b469a94d090f49776486c8b5570bd40d964ea493b81fc404c23e88f18cfdaef2bbddcdf5123c243d9284fa254eec727e6ea4003075386f8f70c3f9145307458b
diff --git a/net-print/libppd/libppd-2.1.1.ebuild b/net-print/libppd/libppd-2.1.1.ebuild
deleted file mode 100644
index 71f0ebcc3e7e..000000000000
--- a/net-print/libppd/libppd-2.1.1.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 2023-2025 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="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~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
- !<net-print/cups-filters-2.0.0
- virtual/zlib:=
- postscript? ( >=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
-}
diff --git a/net-print/libppd/metadata.xml b/net-print/libppd/metadata.xml
deleted file mode 100644
index 67a6452ca268..000000000000
--- a/net-print/libppd/metadata.xml
+++ /dev/null
@@ -1,14 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>printing@gentoo.org</email>
- <name>Gentoo Printing Project</name>
- </maintainer>
- <use>
- <flag name="poppler">Use the <pkg>app-text/poppler</pkg> pdftops filter</flag>
- </use>
- <upstream>
- <remote-id type="github">OpenPrinting/libppd</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/net-print/metadata.xml b/net-print/metadata.xml
deleted file mode 100644
index 449c4f4c247b..000000000000
--- a/net-print/metadata.xml
+++ /dev/null
@@ -1,32 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE catmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<catmetadata>
- <longdescription lang="en">
- The net-print category contains network printing packages.
- </longdescription>
- <longdescription lang="de">
- Die Kategorie net-print enthält Software für das Drucken in Netzwerken.
- </longdescription>
- <longdescription lang="es">
- La categoría net-print contiene programas relacionadas con impresion.
- </longdescription>
- <longdescription lang="ja">
- net-printカテゴリーにはネットワーク・プリンティングのパッケージが含まれています。
- </longdescription>
- <longdescription lang="nl">
- De net-print categorie bevat applicaties voor netwerkprinten.
- </longdescription>
- <longdescription lang="vi">
- Nhóm net-print chứa các phần mềm in ấn qua mạng.
- </longdescription>
- <longdescription lang="it">
- La categoria net-print contiene programmi per la stampa via rete.
- </longdescription>
- <longdescription lang="pt">
- A categoria net-print contém pacotes relacionados com impressão
- de rede.
- </longdescription>
- <longdescription lang="pl">
- Kategoria net-print zawiera programy do drukowania w sieci.
- </longdescription>
-</catmetadata>
diff --git a/net-print/mtink/Manifest b/net-print/mtink/Manifest
deleted file mode 100644
index 994904af850c..000000000000
--- a/net-print/mtink/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST mtink-1.0.16.tar.gz 916315 BLAKE2B 27ea1a44b1271530ea9537ee651c5e8006a68239fbc350292bb26bbab36c619263804122e2ac20d8c473ed3515e8d2d03bccd74fa98da70dfcf215433b74d326 SHA512 e760b09643e55d4dfa6367cad2da3695db1af3e9b2f0ff1ad4a72eedfb0393b797af507b0e02d7f17300824959f4224ec8cbd745cfa1c45c55f7ab0fab34dec4
diff --git a/net-print/mtink/files/mtink-1.0.16-fix-function-declarations.patch b/net-print/mtink/files/mtink-1.0.16-fix-function-declarations.patch
deleted file mode 100644
index 459341f63a79..000000000000
--- a/net-print/mtink/files/mtink-1.0.16-fix-function-declarations.patch
+++ /dev/null
@@ -1,57 +0,0 @@
-Description: fix function declarations
- This patch fixes various conflicting and implicit function declarations
- reported by goto-cc from the cbmc package.
-Bug-Debian: http://bugs.debian.org/749433
-Author: Graham Inggs <graham@nerve.org.za>
-Forwarded: No, nothing left to forward to
-Last-Update: 2015-05-31
---- a/mainSrc/cmd.h
-+++ b/mainSrc/cmd.h
-@@ -70,6 +70,4 @@
- }
- #endif
-
--extern int devRead(int fd, unsigned char *buf, int len, int timeout);
--extern int devWrite(int fd, unsigned char *buf, int len, int timeout);
- #endif
---- a/mainSrc/rw.c
-+++ b/mainSrc/rw.c
-@@ -18,6 +18,8 @@
-
- #ifndef MACOS
- #include <stdio.h>
-+#include <stdlib.h>
-+#include <string.h>
- #include <unistd.h>
- #include <fcntl.h>
- #include <errno.h>
---- a/mainSrc/cmd.c
-+++ b/mainSrc/cmd.c
-@@ -53,6 +53,7 @@
- #include "mtink.h"
- #include "cmd.h"
- #include "d4lib.h"
-+#include "rw.h"
-
- #ifdef MACOS
- #include "usbHlp.h"
---- a/mainSrc/gimp-mtink.c
-+++ b/mainSrc/gimp-mtink.c
-@@ -23,6 +23,7 @@
-
- #include <stdio.h>
- #include <stdlib.h>
-+#include <string.h>
- #include <libgimp/gimp.h>
- #include <unistd.h>
- #include <dirent.h>
---- a/detect/askPrinter.c
-+++ b/detect/askPrinter.c
-@@ -1,6 +1,7 @@
- #include <stdio.h>
- #include <stdlib.h>
- #include <string.h>
-+#include <unistd.h>
- #include <sys/ioctl.h>
- #include <fcntl.h>
- #include <sys/time.h>
diff --git a/net-print/mtink/files/mtink-1.0.16-flags.patch b/net-print/mtink/files/mtink-1.0.16-flags.patch
deleted file mode 100644
index f1c4fe680247..000000000000
--- a/net-print/mtink/files/mtink-1.0.16-flags.patch
+++ /dev/null
@@ -1,182 +0,0 @@
---- a/Makefile.ORG
-+++ b/Makefile.ORG
-@@ -4,7 +4,7 @@
- setUid=1
- gimpVersion=
-
--DBG = -s -O
-+DBG =
-
- # comment this out for Solaris
-
-@@ -147,79 +147,79 @@
- ############## COMMON AND frintends ##################
- $(SRCDIR)/d4lib.o: $(SRCDIR)/d4lib.c $(SRCDIR)/d4lib.h Makefile
- @echo Compile d4lib.c
-- @$(CC) -c -o $(SRCDIR)/d4lib.o $(SRCDIR)/d4lib.c $(RDTIMEOUT) $(WRTIMEOUT) $(DEBUG) $(KERNEL_USB_BUG) $(MACOSCFLG)
-+ @$(CC) $(CFLAGS) -c -o $(SRCDIR)/d4lib.o $(SRCDIR)/d4lib.c $(RDTIMEOUT) $(WRTIMEOUT) $(DEBUG) $(KERNEL_USB_BUG) $(MACOSCFLG)
-
- $(SRCDIR)/access.o: $(SRCDIR)/access.c Makefile
- @echo Compile access.c
-- @$(CC) -c -o $(SRCDIR)/access.o $(SRCDIR)/access.c $(DEBUG) $(MACOSCFLG)
-+ @$(CC) $(CFLAGS) -c -o $(SRCDIR)/access.o $(SRCDIR)/access.c $(DEBUG) $(MACOSCFLG)
-
- $(SRCDIR)/rw.o: $(SRCDIR)/rw.c Makefile
- @echo Compile rw.c
-- @$(CC) -c -o $(SRCDIR)/rw.o $(SRCDIR)/rw.c $(DEBUG) $(MACOSCFLG)
-+ @$(CC) $(CFLAGS) -c -o $(SRCDIR)/rw.o $(SRCDIR)/rw.c $(DEBUG) $(MACOSCFLG)
-
- $(SRCDIR)/rcfile.o: $(SRCDIR)/rcfile.c $(SRCDIR)/rcfile.h $(SRCDIR)/mtink.h Makefile
- @echo Compile rcfile.c
-- @$(CC) -c -o $(SRCDIR)/rcfile.o $(SRCDIR)/rcfile.c $(CFLAGS) $(MTINK_CFLAGS) -DWITH_X=1
-+ @$(CC) $(CFLAGS) -c -o $(SRCDIR)/rcfile.o $(SRCDIR)/rcfile.c $(CFLAGS) $(MTINK_CFLAGS) -DWITH_X=1
-
- $(SRCDIR)/fsb.o: $(SRCDIR)/fsb.c $(SRCDIR)/fsb.h $(SRCDIR)/mtink.h $(SRCDIR)/wheelmouse.h Makefile
- @echo Compile fsb.c
-- @$(CC) -c -o $(SRCDIR)/fsb.o $(SRCDIR)/fsb.c $(CFLAGS) $(MTINK_CFLAGS) -DWITH_X=1
-+ @$(CC) $(CFLAGS) -c -o $(SRCDIR)/fsb.o $(SRCDIR)/fsb.c $(CFLAGS) $(MTINK_CFLAGS) -DWITH_X=1
-
- $(SRCDIR)/scrtxt.o: $(SRCDIR)/scrtxt.c $(SRCDIR)/scrtxt.h $(SRCDIR)/mtink.h $(SRCDIR)/wheelmouse.h Makefile
- @echo Compile scrtxt.c
-- @$(CC) -c -o $(SRCDIR)/scrtxt.o $(SRCDIR)/scrtxt.c $(CFLAGS) $(MTINK_CFLAGS) -DWITH_X=1
-+ @$(CC) $(CFLAGS) -c -o $(SRCDIR)/scrtxt.o $(SRCDIR)/scrtxt.c $(CFLAGS) $(MTINK_CFLAGS) -DWITH_X=1
-
- $(SRCDIR)/cfg1.o: $(SRCDIR)/cfg1.c $(SRCDIR)/cfg1.h $(SRCDIR)/mtink.h $(SRCDIR)/cmd.h $(SRCDIR)/wheelmouse.h $(SRCDIR)/model.h Makefile
- @echo Compile cfg1.c
-- @$(CC) -c -o $(SRCDIR)/cfg1.o $(SRCDIR)/cfg1.c $(CFLAGS) $(MTINK_CFLAGS) -DWITH_X=1
-+ @$(CC) $(CFLAGS) -c -o $(SRCDIR)/cfg1.o $(SRCDIR)/cfg1.c $(CFLAGS) $(MTINK_CFLAGS) -DWITH_X=1
-
- $(SRCDIR)/micon.o: $(SRCDIR)/micon.c $(SRCDIR)/micon.h Makefile
- @echo Compile micon.c
-- @$(CC) -c -o $(SRCDIR)/micon.o $(SRCDIR)/micon.c $(CFLAGS) $(MTINK_CFLAGS) -DWITH_X=1
-+ @$(CC) $(CFLAGS) -c -o $(SRCDIR)/micon.o $(SRCDIR)/micon.c $(CFLAGS) $(MTINK_CFLAGS) -DWITH_X=1
-
- $(SRCDIR)/rdPrtDesc.o: $(SRCDIR)/rdPrtDesc.c $(SRCDIR)/model.c $(SRCDIR)/rdPrtDesc.h $(SRCDIR)/model.h Makefile
- @echo Compile rdPrtDesc.c
-- @$(CC) -c -o $(SRCDIR)/rdPrtDesc.o $(SRCDIR)/rdPrtDesc.c $(CFLAGS) $(MTINK_CFLAGS) -DBLD_UTIL=0
-+ @$(CC) $(CFLAGS) -c -o $(SRCDIR)/rdPrtDesc.o $(SRCDIR)/rdPrtDesc.c $(CFLAGS) $(MTINK_CFLAGS) -DBLD_UTIL=0
-
- $(SRCDIR)/cfg2.o: $(SRCDIR)/cfg2.c $(SRCDIR)/cfg2.h $(SRCDIR)/mtink.h $(SRCDIR)/cfg1.h $(SRCDIR)/cmd.h Makefile
- @echo Compile cfg2.c
-- @$(CC) -c -o $(SRCDIR)/cfg2.o $(SRCDIR)/cfg2.c $(CFLAGS) $(MTINK_CFLAGS) -DWITH_X=1
-+ @$(CC) $(CFLAGS) -c -o $(SRCDIR)/cfg2.o $(SRCDIR)/cfg2.c $(CFLAGS) $(MTINK_CFLAGS) -DWITH_X=1
-
- $(SRCDIR)/alignbt.o: $(SRCDIR)/alignbt.c $(SRCDIR)/alignbt.h $(SRCDIR)/mtink.h $(SRCDIR)/cfg1.h $(SRCDIR)/cmd.h Makefile
- @echo Compile alignbt.c
-- @$(CC) -c -o $(SRCDIR)/alignbt.o $(SRCDIR)/alignbt.c $(CFLAGS) $(MTINK_CFLAGS) -DWITH_X=1
-+ @$(CC) $(CFLAGS) -c -o $(SRCDIR)/alignbt.o $(SRCDIR)/alignbt.c $(CFLAGS) $(MTINK_CFLAGS) -DWITH_X=1
-
- $(SRCDIR)/checkenv.o: $(SRCDIR)/checkenv.c $(SRCDIR)/checkenv.h $(SRCDIR)/mtink.h $(SRCDIR)/cfg1.h $(SRCDIR)/cmd.h Makefile
- @echo Compile checkenv.c
-- @$(CC) -c -o $(SRCDIR)/checkenv.o $(SRCDIR)/checkenv.c $(CFLAGS) $(MTINK_CFLAGS)
-+ @$(CC) $(CFLAGS) -c -o $(SRCDIR)/checkenv.o $(SRCDIR)/checkenv.c $(CFLAGS) $(MTINK_CFLAGS)
-
- $(SRCDIR)/cmd.o: $(SRCDIR)/cmd.c $(SRCDIR)/d4lib.h $(SRCDIR)/cmd.h $(SRCDIR)/mtink.h $(SRCDIR)/model.h $(SRCDIR)/al820.c $(SRCDIR)/align.c $(SRCDIR)/alC82.c $(SRCDIR)/bldpcode.c Makefile
- @echo Compile cmd.c
-- @$(CC) -c -o $(SRCDIR)/cmd.o $(SRCDIR)/cmd.c $(CFLAGS) $(MTINK_CFLAGS) $(DEBUG) $(RDTIMEOUT) $(WRTIMEOUT) -DWITH_X=1 -DSERVER=0
-+ @$(CC) $(CFLAGS) -c -o $(SRCDIR)/cmd.o $(SRCDIR)/cmd.c $(CFLAGS) $(MTINK_CFLAGS) $(DEBUG) $(RDTIMEOUT) $(WRTIMEOUT) -DWITH_X=1 -DSERVER=0
-
- $(SRCDIR)/nXcmd.o: $(SRCDIR)/cmd.c $(SRCDIR)/d4lib.h $(SRCDIR)/cmd.h $(SRCDIR)/mtink.h $(SRCDIR)/model.h Makefile $(SRCDIR)/al820.c $(SRCDIR)/align.c $(SRCDIR)/alC82.c $(SRCDIR)/bldpcode.c
- @echo Compile cmd.c as nXcmd.o
-- @$(CC) -c -o $(SRCDIR)/nXcmd.o $(SRCDIR)/cmd.c $(CFLAGS) $(MTINK_CFLAGS) $(DEBUG) $(RDTIMEOUT) $(WRTIMEOUT) -DWITH_X=0 -DSERVER=0
-+ @$(CC) $(CFLAGS) -c -o $(SRCDIR)/nXcmd.o $(SRCDIR)/cmd.c $(CFLAGS) $(MTINK_CFLAGS) $(DEBUG) $(RDTIMEOUT) $(WRTIMEOUT) -DWITH_X=0 -DSERVER=0
-
- $(SRCDIR)/resource.o: $(SRCDIR)/resource.c $(SRCDIR)/version.h Makefile
- @echo Compile resource.c
-- @$(CC) -c -o $(SRCDIR)/resource.o $(SRCDIR)/resource.c $(CFLAGS) $(MTINK_CFLAGS) $(DEBUG) -DWITH_X=1
-+ @$(CC) $(CFLAGS) -c -o $(SRCDIR)/resource.o $(SRCDIR)/resource.c $(CFLAGS) $(MTINK_CFLAGS) $(DEBUG) -DWITH_X=1
-
- $(SRCDIR)/mtink.o: $(SRCDIR)/mtink.c $(SRCDIR)/d4lib.h $(SRCDIR)/cmd.h $(SRCDIR)/mtink.h $(SRCDIR)/cfg1.h $(SRCDIR)/model.h $(SRCDIR)/checkenv.h Makefile
- @echo Compile mtink.c
-- @$(CC) -c -o $(SRCDIR)/mtink.o $(SRCDIR)/mtink.c $(CFLAGS) $(MTINK_CFLAGS) $(DEBUG) -DWITH_X=1
-+ @$(CC) $(CFLAGS) -c -o $(SRCDIR)/mtink.o $(SRCDIR)/mtink.c $(CFLAGS) $(MTINK_CFLAGS) $(DEBUG) -DWITH_X=1
-
- $(SRCDIR)/ttink.o: $(SRCDIR)/ttink.c $(SRCDIR)/d4lib.h $(SRCDIR)/cmd.h $(SRCDIR)/mtink.h $(SRCDIR)/model.h Makefile
- @echo Compile ttink.c
-- @$(CC) -c -o $(SRCDIR)/ttink.o $(SRCDIR)/ttink.c $(CFLAGS) $(MTINK_CFLAGS) $(DEBUG) -DWITH_X=0
-+ @$(CC) $(CFLAGS) -c -o $(SRCDIR)/ttink.o $(SRCDIR)/ttink.c $(CFLAGS) $(MTINK_CFLAGS) $(DEBUG) -DWITH_X=0
-
- $(SRCDIR)/tooltip.o: $(SRCDIR)/tooltip.c $(SRCDIR)/tooltip.h Makefile
- @echo Compile tooltip.c
-- @$(CC) -c -o $(SRCDIR)/tooltip.o $(SRCDIR)/tooltip.c $(CFLAGS) $(MTINK_CFLAGS) $(DEBUG) -DWITH_X=1
-+ @$(CC) $(CFLAGS) -c -o $(SRCDIR)/tooltip.o $(SRCDIR)/tooltip.c $(CFLAGS) $(MTINK_CFLAGS) $(DEBUG) -DWITH_X=1
-
- $(SRCDIR)/wheelmouse.o: $(SRCDIR)/wheelmouse.c Makefile
- @echo Compile wheelmouse.c
-- @$(CC) -c -o $(SRCDIR)/wheelmouse.o $(SRCDIR)/wheelmouse.c $(CFLAGS) $(MTINK_CFLAGS) $(DEBUG) -DWITH_X=1
-+ @$(CC) $(CFLAGS) -c -o $(SRCDIR)/wheelmouse.o $(SRCDIR)/wheelmouse.c $(CFLAGS) $(MTINK_CFLAGS) $(DEBUG) -DWITH_X=1
-
- $(SRCDIR)/rdRes.o: $(SRCDIR)/rdRes.c $(SRCDIR)/tres.c Makefile
- @echo Compile rdRes.c
-@@ -231,59 +231,59 @@
-
- mtink: $(OBJ) $(SRCDIR)/d4lib.h $(SRCDIR)/alignbt.h $(SRCDIR)/scrtxt.h $(SRCDIR)/cfg1.h $(SRCDIR)/cfg2.h $(SRCDIR)/cmd.h $(SRCDIR)/mtink.h $(SRCDIR)/cfg1.h $(SRCDIR)/version.h
- @echo Link mtink
-- @$(CC) -o mtink $(OBJ) $(CFLAGS) $(MTINK_CFLAGS) $(LDFLAGS) $(LFLAGS) $(RDTIMEOUT) $(DEVICE) $(WRTIMEOUT) $(DEBUG) $(KERNEL_USB_BUG) -DWITH_X=1
-+ @$(CC) $(LDFLAGS) -o mtink $(OBJ) $(CFLAGS) $(MTINK_CFLAGS) $(LDFLAGS) $(LFLAGS) $(RDTIMEOUT) $(DEVICE) $(WRTIMEOUT) $(DEBUG) $(KERNEL_USB_BUG) -DWITH_X=1
-
- ttink: $(TTYOBJ) $(SRCDIR)/d4lib.h $(SRCDIR)/cmd.h $(SRCDIR)/mtink.h $(SRCDIR)/model.h $(SRCDIR)/version.h Makefile
- @echo Link ttink
-- @$(CC) -o ttink $(TTYOBJ) $(CFLAGS) $(MTINK_CFLAGS) $(RDTIMEOUT) $(DEVICE) $(WRTIMEOUT) $(DEBUG) $(KERNEL_USB_BUG) $(MACOSLDFLG) -DWITH_X=0
-+ @$(CC) $(LDFLAGS) -o ttink $(TTYOBJ) $(CFLAGS) $(MTINK_CFLAGS) $(RDTIMEOUT) $(DEVICE) $(WRTIMEOUT) $(DEBUG) $(KERNEL_USB_BUG) $(MACOSLDFLG) -DWITH_X=0
-
- ############# PLUG-IN #######################
- gimp-mtink: $(SRCDIR)/gimp-mtink.c Makefile
- @echo Compile and link gimp-mtink.c
-- @-$(CC) -o gimp-mtink $(SRCDIR)/gimp-mtink.c $(GIMP_INC) $(GIMP_LIB)
-+ @-$(CC) $(LDFLAGS) -o gimp-mtink $(SRCDIR)/gimp-mtink.c $(GIMP_INC) $(GIMP_LIB)
-
- ############# SERVER ########################
- $(SVRDIR)/mtinkd.o: $(SVRDIR)/mtinkd.c Makefile
- @echo Compile mtinkd.c
-- @$(CC) -c -o $(SVRDIR)/mtinkd.o $(SVRDIR)/mtinkd.c -DSERVER=1 $(CFLAGS) $(MTINK_CFLAGS)
-+ @$(CC) $(CFLAGS) -c -o $(SVRDIR)/mtinkd.o $(SVRDIR)/mtinkd.c -DSERVER=1 $(CFLAGS) $(MTINK_CFLAGS)
-
- $(SVRDIR)/d4lib.o: $(SRCDIR)/d4lib.c Makefile
- @echo Compile d4lib.c
-- @$(CC) -c -o $(SVRDIR)/d4lib.o $(SRCDIR)/d4lib.c $(RDTIMEOUT) $(WRTIMEOUT) $(DEBUG) $(KERNEL_USB_BUG) $(CFLAGS) $(MTINK_CFLAGS)
-+ @$(CC) $(CFLAGS) -c -o $(SVRDIR)/d4lib.o $(SRCDIR)/d4lib.c $(RDTIMEOUT) $(WRTIMEOUT) $(DEBUG) $(KERNEL_USB_BUG) $(CFLAGS) $(MTINK_CFLAGS)
-
- $(SVRDIR)/cmd.o: $(SRCDIR)/cmd.c Makefile
- @echo Compile cmd.c
-- @$(CC) -c -o $(SVRDIR)/cmd.o $(SRCDIR)/cmd.c -DSERVER=1 $(CFLAGS) $(MTINK_CFLAGS)
-+ @$(CC) $(CFLAGS) -c -o $(SVRDIR)/cmd.o $(SRCDIR)/cmd.c -DSERVER=1 $(CFLAGS) $(MTINK_CFLAGS)
-
- mtinkd: $(SVR_OBJ) Makefile
- @echo Link mtinkd
-- @$(CC) -o mtinkd $(SVR_OBJ) $(CFLAGS) $(MTINK_CFLAGS) $(MACOSLDFLG)
-+ @$(CC) $(LDFLAGS) -o mtinkd $(SVR_OBJ) $(CFLAGS) $(MTINK_CFLAGS) $(MACOSLDFLG)
-
- ########### Chooser ##############
-
- mtinkc: $(CHODIR)/mtinkc.c Makefile
- @echo Compile and link mtinkc.c
-- @$(CC) -o mtinkc $(CHODIR)/mtinkc.c $(CFLAGS) $(MTINK_CFLAGS) $(LDFLAGS) $(LFLAGS)
-+ @$(CC) $(LDFLAGS) -o mtinkc $(CHODIR)/mtinkc.c $(CFLAGS) $(MTINK_CFLAGS) $(LDFLAGS) $(LFLAGS)
-
- ########### printer detection ##############
-
- $(DETDIR)/askPrinter: $(DETDIR)/askPrinter.c
- @echo Compile and link askPrinter.c
-- @$(CC) -o $(DETDIR)/askPrinter $(DETDIR)/askPrinter.c -I. -I$(DETDIR)
-+ @$(CC) $(CFLAGS) $(LDFLAGS) -o $(DETDIR)/askPrinter $(DETDIR)/askPrinter.c -I. -I$(DETDIR)
-
- ########### utilities ######################
-
- $(UTILS)/bldRes: $(UTILS)/bldRes.c
- @echo Compile bldRes.c
-- @$(CC) -o $(UTILS)/bldRes $(UTILS)/bldRes.c
-+ @$(CC) $(LDFLAGS) -o $(UTILS)/bldRes $(UTILS)/bldRes.c
-
- $(UTILS)/rdPrtDesc: $(SRCDIR)/rdPrtDesc.c
- @echo Compile rdPrtDesc.c
-- @$(CC) -o $(UTILS)/rdPrtDesc $(SRCDIR)/rdPrtDesc.c -I$(SRCDIR)
-+ @$(CC) $(LDFLAGS) -o $(UTILS)/rdPrtDesc $(SRCDIR)/rdPrtDesc.c -I$(SRCDIR)
-
- $(UTILS)/chckRes: $(SRCDIR)/rdRes.c
- @echo Compile chckRes
-- @$(CC) -o $(UTILS)/chckRes $(SRCDIR)/rdRes.c -I$(SRCDIR) -DRESCHECK=1
-+ @$(CC) $(LDFLAGS) -o $(UTILS)/chckRes $(SRCDIR)/rdRes.c -I$(SRCDIR) -DRESCHECK=1
-
- install: install-mtink install-ttink install-desc install-plugins install-askPrinter install-mtinkd install-start install-cups install-pyink
-
diff --git a/net-print/mtink/files/mtink-1.0.16-fno-common.patch b/net-print/mtink/files/mtink-1.0.16-fno-common.patch
deleted file mode 100644
index 289e2af1517c..000000000000
--- a/net-print/mtink/files/mtink-1.0.16-fno-common.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-https://sources.debian.org/patches/mtink/1.0.16-11/gcc-10/
-Author: Graham Inggs <ginggs@debian.org>
---- a/mainSrc/mtink.h
-+++ b/mainSrc/mtink.h
-@@ -133,11 +133,11 @@
-
- #endif
-
--wConfig_data_t firstConfig;
--wConfig_data_t newPrinter;
-+extern wConfig_data_t firstConfig;
-+extern wConfig_data_t newPrinter;
-
--wConfig_data_t exchangeCartridge;
--wConfig_data_t alignHead;
-+extern wConfig_data_t exchangeCartridge;
-+extern wConfig_data_t alignHead;
-
- #if WITH_X
- extern Widget createNoPrinterBox(char *);
diff --git a/net-print/mtink/files/mtink-1.0.16-motif.patch b/net-print/mtink/files/mtink-1.0.16-motif.patch
deleted file mode 100644
index ac66c450b056..000000000000
--- a/net-print/mtink/files/mtink-1.0.16-motif.patch
+++ /dev/null
@@ -1,49 +0,0 @@
-https://sources.debian.org/patches/mtink/1.0.16-11/lesstif-multiarch/
---- a/Configure
-+++ b/Configure
-@@ -127,6 +127,8 @@
- /usr/openwin/lib
- /usr/local/lib
- /usr/dt/lib'
-+LIBDIRS="$LIBDIRS `${CC-gcc} -print-search-dirs 2>/dev/null |
-+ awk '/^libraries:/{print $2}' | tr ':' ' '`"
-
- # Add gimp-2.0 for fedora core 2
- INCLDIRS='/usr/include/gimp-2.0/libgimp
-@@ -279,11 +281,6 @@
- exit 1
- fi
-
-- case $OS in
-- Linux) . ./checkMotifVersion.sh;;
-- Darwin) . ./checkMotifVersion.sh;;
-- esac
--
- if [ "$MotifLib" != "" ]
- then
- mlCmd="s@^MOLIB.*@MOLIB = $MotifLib@"
-@@ -297,24 +294,6 @@
- miCmd=
- fi
-
-- # Check for the Xp libary, some Motif libraries need this
--
-- xplibFound=0
-- for dir in $LIBDIRS
-- do
-- if [ "`ls -c $dir/libXp.* 2>/dev/null`" != "" ]
-- then
-- xplibFound=1
-- break
-- fi
-- done
--
-- # but not for Solaris
-- if [ `uname` = SunOS ]
-- then
-- xplibFound=0
-- fi
--
- # Gimp part ################################################
- # check for gimp
- includeFileFound=0
diff --git a/net-print/mtink/files/mtink-1.0.16-overflow.patch b/net-print/mtink/files/mtink-1.0.16-overflow.patch
deleted file mode 100644
index b0858485293e..000000000000
--- a/net-print/mtink/files/mtink-1.0.16-overflow.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/server/mtinkd.c
-+++ b/server/mtinkd.c
-@@ -244,7 +244,7 @@
- /* look for pid into /var/run/mtink(<fifo> */
- if ( (fp = fopen(runFile,"r")) )
- {
-- if ( fgets(ibuf, sizeof(buf), fp) )
-+ if ( fgets(ibuf, sizeof(ibuf), fp) )
- {
- if ( (pid = atoi(ibuf)) )
- {
diff --git a/net-print/mtink/files/mtinkd.confd b/net-print/mtink/files/mtinkd.confd
deleted file mode 100644
index 2c5993521b4c..000000000000
--- a/net-print/mtink/files/mtinkd.confd
+++ /dev/null
@@ -1,14 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-# define the device file, adapt this
-#DEV_FILE=/dev/lp0
-DEV_FILE=/dev/usb/lp0
-
-# Special options, adapt this
-# add name of printer
-NAME=
-
-# use the first line for USB printers, the second for parallel port printers
-SPEC="-name $NAME -usbbase /dev/usb/lp"
-#SPEC="-name $NAME"
diff --git a/net-print/mtink/files/mtinkd.rc b/net-print/mtink/files/mtinkd.rc
deleted file mode 100644
index d57664700229..000000000000
--- a/net-print/mtink/files/mtinkd.rc
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-depend() {
- use cups
-}
-
-start() {
- ebegin "Starting mtinkd"
- /usr/sbin/mtinkd start ${DEV_FILE} ${SPEC}
- eend $?
-}
-
-stop() {
- ebegin "Stopping mtinkd"
- /usr/sbin/mtinkd stop ${DEV_FILE} ${SPEC}
- eend $?
-}
diff --git a/net-print/mtink/metadata.xml b/net-print/mtink/metadata.xml
deleted file mode 100644
index 882504794e17..000000000000
--- a/net-print/mtink/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>printing@gentoo.org</email>
- <name>Gentoo Printing Project</name>
- </maintainer>
-</pkgmetadata>
diff --git a/net-print/mtink/mtink-1.0.16-r2.ebuild b/net-print/mtink/mtink-1.0.16-r2.ebuild
deleted file mode 100644
index 4d46836b2d1f..000000000000
--- a/net-print/mtink/mtink-1.0.16-r2.ebuild
+++ /dev/null
@@ -1,92 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit toolchain-funcs
-
-DESCRIPTION="mtink is a status monitor and inkjet cartridge changer for some Epson printers"
-HOMEPAGE="https://web.archive.org/web/20160316185818/http://xwtools.automatix.de/"
-SRC_URI="https://web.archive.org/web/20160316185818/http://xwtools.automatix.de/files/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~ppc ~sparc x86"
-IUSE="cups doc X"
-
-DEPEND="
- virtual/libusb:0
- cups? ( net-print/cups )
- X? (
- x11-libs/libX11
- x11-libs/libXpm
- x11-libs/libXt
- x11-libs/motif:0
- )
- cups? ( net-print/cups )
- virtual/libusb:0"
-RDEPEND="${DEPEND}"
-
-PATCHES=(
- "${FILESDIR}"/${P}-overflow.patch
- "${FILESDIR}"/${P}-flags.patch
- "${FILESDIR}"/${P}-motif.patch
- "${FILESDIR}"/${P}-fno-common.patch
- "${FILESDIR}"/${P}-fix-function-declarations.patch
-)
-
-src_prepare() {
- default
- sed -i -e "s/gcc/$(tc-getCC)/g" Makefile.ORG || die
-}
-
-src_configure() {
- if use X ; then
- ./Configure || die
- else
- ./Configure -x || die
- fi
-}
-
-src_compile() {
- local mytargets
- mytargets="ttink detect/askPrinter mtinkd"
-
- if use X; then
- mytargets="${mytargets} mtink mtinkc";
- fi
-
- export CFLAGS LDFLAGS
- emake ${mytargets}
-}
-
-src_install() {
- dobin ttink detect/askPrinter
-
- use X && dobin mtinkc mtink
-
- dosbin mtinkd
-
- newinitd "${FILESDIR}"/mtinkd.rc mtinkd
- newconfd "${FILESDIR}"/mtinkd.confd mtinkd
-
- if use cups; then
- exeinto /usr/lib/cups/backend
- doexe etc/mtink-cups
- fi
-
- dodoc html/README CHANGE.LOG
- use doc && dodoc -r html/*.{gif,html}
-}
-
-pkg_postinst() {
- # see #70310
- chmod 700 /var/mtink /var/run/mtink 2>/dev/null
-
- elog
- elog "mtink needs correct permissions to access printer device."
- elog "To do this you either need to run the following chmod command:"
- elog "chmod 666 /dev/<device>"
- elog "or set the suid bit on mtink, mtinkc and ttink in /usr/bin"
- elog
-}
diff --git a/net-print/npadmin/Manifest b/net-print/npadmin/Manifest
deleted file mode 100644
index 5faf805f5bfe..000000000000
--- a/net-print/npadmin/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST npadmin-0.8.7.tar.gz 104209 BLAKE2B 0badff83c3387d5e7b72803c5f42272a696ffb2e9bccffe8f004c9030aee604e6025781f30ff9944c63d3b54afe538ad898b0b9670a95cbf4f0ff1356e056f04 SHA512 da405a897e3ec057b355ac1e8a6237e876d1ba0365f5bffdd71b212fb8a5b3a79f7186d4b90d4ec321a9ff45bc222f6444b3dff666c819eb5efafddcfcecb026
diff --git a/net-print/npadmin/files/npadmin-0.8.7-gcc6.patch b/net-print/npadmin/files/npadmin-0.8.7-gcc6.patch
deleted file mode 100644
index 7523bb23e333..000000000000
--- a/net-print/npadmin/files/npadmin-0.8.7-gcc6.patch
+++ /dev/null
@@ -1,138 +0,0 @@
---- npadmin-0.8.7/npadmin.C.old 2016-09-19 20:08:16.932034393 -0400
-+++ npadmin-0.8.7/npadmin.C 2016-09-19 20:10:41.742717941 -0400
-@@ -72,74 +72,74 @@
-
- // don't change the order of these without changing the order in npaconsts.h
- static const struct option options[]= {
-- {"version", no_argument,&retval,VERSION_FLAG},
-- {"all", no_argument,&retval,ALL_FLAG},
-- {"debugsnmp", no_argument,&retval,DEBUGSNMP_FLAG},
-- {"name", no_argument,&retval,NAME_FLAG},
--
-- {"vendor", no_argument,&retval,VENDOR_FLAG},
-- {"model", no_argument,&retval,MODEL_FLAG},
-- {"contact", no_argument,&retval,CONTACT_FLAG},
-- {"netconfig", no_argument,&retval,NETCONFIG_FLAG},
-- {"printmib", no_argument,&retval,PRINTMIB_FLAG},
-- {"hostmib", no_argument,&retval,HOSTMIB_FLAG},
--
-- {"memory", no_argument,&retval,MEMORY_FLAG},
-- {"storage", no_argument,&retval,STORAGE_FLAG},
-- {"status", no_argument,&retval,STATUS_FLAG},
--
-- {"mediapath", no_argument,&retval,MEDIAPATH_FLAG},
-- {"maxpapersize",no_argument,&retval,MAXPAPERSIZE_FLAG},
-- {"enginespeed", no_argument,&retval,ENGINESPEED_FLAG},
-- {"duplex", no_argument,&retval,DUPLEX_FLAG},
-- {"minpapersize",no_argument,&retval,MINPAPERSIZE_FLAG},
--
-- {"inputtray", no_argument,&retval,INPUTTRAY_FLAG},
-- {"tabloid", no_argument,&retval,TABLOID_FLAG},
-- {"a4", no_argument,&retval,A4_FLAG},
-- {"b4", no_argument,&retval,B4_FLAG},
-- {"executive", no_argument,&retval,EXECUTIVE_FLAG},
-- {"a3", no_argument,&retval,A3_FLAG},
-- {"b5", no_argument,&retval,B5_FLAG},
-- {"letter", no_argument,&retval,LETTER_FLAG},
-- {"legal", no_argument,&retval,LEGAL_FLAG},
-+ {"version", no_argument,&retval,(int)VERSION_FLAG},
-+ {"all", no_argument,&retval,(int)ALL_FLAG},
-+ {"debugsnmp", no_argument,&retval,(int)DEBUGSNMP_FLAG},
-+ {"name", no_argument,&retval,(int)NAME_FLAG},
-+
-+ {"vendor", no_argument,&retval,(int)VENDOR_FLAG},
-+ {"model", no_argument,&retval,(int)MODEL_FLAG},
-+ {"contact", no_argument,&retval,(int)CONTACT_FLAG},
-+ {"netconfig", no_argument,&retval,(int)NETCONFIG_FLAG},
-+ {"printmib", no_argument,&retval,(int)PRINTMIB_FLAG},
-+ {"hostmib", no_argument,&retval,(int)HOSTMIB_FLAG},
-+
-+ {"memory", no_argument,&retval,(int)MEMORY_FLAG},
-+ {"storage", no_argument,&retval,(int)STORAGE_FLAG},
-+ {"status", no_argument,&retval,(int)STATUS_FLAG},
-+
-+ {"mediapath", no_argument,&retval,(int)MEDIAPATH_FLAG},
-+ {"maxpapersize",no_argument,&retval,(int)MAXPAPERSIZE_FLAG},
-+ {"enginespeed", no_argument,&retval,(int)ENGINESPEED_FLAG},
-+ {"duplex", no_argument,&retval,(int)DUPLEX_FLAG},
-+ {"minpapersize",no_argument,&retval,(int)MINPAPERSIZE_FLAG},
-+
-+ {"inputtray", no_argument,&retval,(int)INPUTTRAY_FLAG},
-+ {"tabloid", no_argument,&retval,(int)TABLOID_FLAG},
-+ {"a4", no_argument,&retval,(int)A4_FLAG},
-+ {"b4", no_argument,&retval,(int)B4_FLAG},
-+ {"executive", no_argument,&retval,(int)EXECUTIVE_FLAG},
-+ {"a3", no_argument,&retval,(int)A3_FLAG},
-+ {"b5", no_argument,&retval,(int)B5_FLAG},
-+ {"letter", no_argument,&retval,(int)LETTER_FLAG},
-+ {"legal", no_argument,&retval,(int)LEGAL_FLAG},
-
-- {"display", no_argument,&retval,DISPLAY_FLAG},
-- {"covers", no_argument,&retval,COVER_FLAG},
-+ {"display", no_argument,&retval,(int)DISPLAY_FLAG},
-+ {"covers", no_argument,&retval,(int)COVER_FLAG},
-
- // From here down These all get an extra bit to indicate that they belong
- // to argval[1] rather than argval[0]
-- {"languages", no_argument,&retval,LANGUAGES_FLAG+1},
-- {"pjl", no_argument,&retval,PJL_FLAG+1},
-- {"hpgl", no_argument,&retval,HPGL_FLAG+1},
-- {"psprinter", no_argument,&retval,PSPRINTER_FLAG+1},
-- {"autolang", no_argument,&retval,AUTOLANG_FLAG+1},
-- {"pcl", no_argument,&retval,PCL_FLAG+1},
-- {"postscript", no_argument,&retval,POSTSCRIPT_FLAG+1},
--
-- {"marker", no_argument,&retval,MARKER_FLAG+1},
-- {"pagecount", no_argument,&retval,PAGECOUNT_FLAG+1},
-- {"colors", no_argument,&retval,COLORS_FLAG+1},
-- {"resolution", no_argument,&retval,RESOLUTION_FLAG+1},
-- {"minmargin", no_argument,&retval,MINMARGIN_FLAG+1},
--
-- {"protocol", no_argument,&retval,PROTOCOL_FLAG+1},
-- {"appletalk", no_argument,&retval,APPLETALK_FLAG+1},
-- {"lpd", no_argument,&retval,LPD_FLAG+1},
-- {"netware", no_argument,&retval,NETWARE_FLAG+1},
-- {"port9100", no_argument,&retval,PORT9100_FLAG+1},
--
-- {"supplies", no_argument,&retval,SUPPLIES_FLAG+1},
-- {"cfgsrc", no_argument,&retval,CFGSRC_FLAG+1},
-- {"alerts", no_argument,&retval,ALERTS_FLAG+1},
-- {"reboot", no_argument,&retval,REBOOT_FLAG+1},
-+ {"languages", no_argument,&retval,(int)LANGUAGES_FLAG+1},
-+ {"pjl", no_argument,&retval,(int)PJL_FLAG+1},
-+ {"hpgl", no_argument,&retval,(int)HPGL_FLAG+1},
-+ {"psprinter", no_argument,&retval,(int)PSPRINTER_FLAG+1},
-+ {"autolang", no_argument,&retval,(int)AUTOLANG_FLAG+1},
-+ {"pcl", no_argument,&retval,(int)PCL_FLAG+1},
-+ {"postscript", no_argument,&retval,(int)POSTSCRIPT_FLAG+1},
-+
-+ {"marker", no_argument,&retval,(int)MARKER_FLAG+1},
-+ {"pagecount", no_argument,&retval,(int)PAGECOUNT_FLAG+1},
-+ {"colors", no_argument,&retval,(int)COLORS_FLAG+1},
-+ {"resolution", no_argument,&retval,(int)RESOLUTION_FLAG+1},
-+ {"minmargin", no_argument,&retval,(int)MINMARGIN_FLAG+1},
-+
-+ {"protocol", no_argument,&retval,(int)PROTOCOL_FLAG+1},
-+ {"appletalk", no_argument,&retval,(int)APPLETALK_FLAG+1},
-+ {"lpd", no_argument,&retval,(int)LPD_FLAG+1},
-+ {"netware", no_argument,&retval,(int)NETWARE_FLAG+1},
-+ {"port9100", no_argument,&retval,(int)PORT9100_FLAG+1},
-+
-+ {"supplies", no_argument,&retval,(int)SUPPLIES_FLAG+1},
-+ {"cfgsrc", no_argument,&retval,(int)CFGSRC_FLAG+1},
-+ {"alerts", no_argument,&retval,(int)ALERTS_FLAG+1},
-+ {"reboot", no_argument,&retval,(int)REBOOT_FLAG+1},
-
- // From here down These all get an extra bit 2 to indicate that they belong
- // to argval[2] rather than argval[0] or argval[1]
-- {"maxproc",required_argument,&retval,MAXPROC_FLAG+2},
-- {"setcontact",required_argument,&retval,SETCONTACT_FLAG+2},
-- {"setlocation",required_argument,&retval,SETLOCATION_FLAG+2},
-- {"updatefirmware",required_argument,&retval,UPDATEFIRM_FLAG+2},
-+ {"maxproc",required_argument,&retval,(int)MAXPROC_FLAG+2},
-+ {"setcontact",required_argument,&retval,(int)SETCONTACT_FLAG+2},
-+ {"setlocation",required_argument,&retval,(int)SETLOCATION_FLAG+2},
-+ {"updatefirmware",required_argument,&retval,(int)UPDATEFIRM_FLAG+2},
-
- {"community",required_argument,NULL, 'c'},
- {"timeout",required_argument,NULL, 't'},
diff --git a/net-print/npadmin/files/npadmin-0.8.7-makefile.patch b/net-print/npadmin/files/npadmin-0.8.7-makefile.patch
deleted file mode 100644
index 140750a0b0b8..000000000000
--- a/net-print/npadmin/files/npadmin-0.8.7-makefile.patch
+++ /dev/null
@@ -1,43 +0,0 @@
---- a/Makefile.in 2024-03-28 13:35:04.247099098 +0000
-+++ b/Makefile.in 2024-03-28 13:33:44.610623716 +0000
-@@ -104,7 +104,7 @@
- NROFF = nroff
- DIST_COMMON = README ./stamp-h.in AUTHORS COPYING ChangeLog INSTALL \
- Makefile.am Makefile.in NEWS TODO acconfig.h aclocal.m4 config.h.in \
--configure configure.in install-sh memcmp.c missing mkinstalldirs \
-+configure configure.ac install-sh memcmp.c missing mkinstalldirs \
- npadmin.spec.in snprintf.c
-
-
-@@ -118,19 +118,19 @@
- all: all-redirect
- .SUFFIXES:
- .SUFFIXES: .C .S .c .o .s
--$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
-+$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.ac $(ACLOCAL_M4)
- cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps Makefile
-
- Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
- cd $(top_builddir) \
- && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
-
--$(ACLOCAL_M4): configure.in
-+$(ACLOCAL_M4): configure.ac
- cd $(srcdir) && $(ACLOCAL)
-
- config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
- $(SHELL) ./config.status --recheck
--$(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
-+$(srcdir)/configure: $(srcdir)/configure.ac $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
- cd $(srcdir) && $(AUTOCONF)
-
- config.h: stamp-h
-@@ -148,7 +148,7 @@
- rm -f $(srcdir)/stamp-h.in; \
- $(MAKE) $(srcdir)/stamp-h.in; \
- else :; fi
--$(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) acconfig.h
-+$(srcdir)/stamp-h.in: $(top_srcdir)/configure.ac $(ACLOCAL_M4) acconfig.h
- cd $(top_srcdir) && $(AUTOHEADER)
- @echo timestamp > $(srcdir)/stamp-h.in 2> /dev/null
-
diff --git a/net-print/npadmin/files/npadmin-0.8.7-stdlib.patch b/net-print/npadmin/files/npadmin-0.8.7-stdlib.patch
deleted file mode 100644
index 976cc9c191a2..000000000000
--- a/net-print/npadmin/files/npadmin-0.8.7-stdlib.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- npadmin-0.8.7/snmpsock.h 1998-12-31 04:04:42.000000000 +0100
-+++ npadmin-0.8.7-patched/snmpsock.h 2005-02-23 15:37:41.082565000 +0100
-@@ -2,6 +2,7 @@
- #define __SNMPSOCK_H_
-
- #include <pthread.h>
-+#include <stdlib.h>
-
- class SNMP_socket {
- int sock;
diff --git a/net-print/npadmin/metadata.xml b/net-print/npadmin/metadata.xml
deleted file mode 100644
index a3f654a08ac7..000000000000
--- a/net-print/npadmin/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>printing@gentoo.org</email>
- <name>Gentoo Printing Project</name>
- </maintainer>
- <upstream>
- <remote-id type="sourceforge">npadmin</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/net-print/npadmin/npadmin-0.8.7-r2.ebuild b/net-print/npadmin/npadmin-0.8.7-r2.ebuild
deleted file mode 100644
index 97584d2906c8..000000000000
--- a/net-print/npadmin/npadmin-0.8.7-r2.ebuild
+++ /dev/null
@@ -1,34 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools
-
-DESCRIPTION="Network printer command-line administration tool"
-HOMEPAGE="https://npadmin.sourceforge.net/"
-SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~ppc x86"
-
-# this does NOT link against SNMP
-# DEPEND=""
-
-PATCHES=(
- "${FILESDIR}"/${P}-stdlib.patch
- "${FILESDIR}"/${P}-gcc6.patch
- "${FILESDIR}"/${P}-makefile.patch
-)
-
-src_prepare() {
- default
- eautoreconf
-}
-
-src_install() {
- dobin npadmin
- doman npadmin.1
- dodoc README AUTHORS ChangeLog INSTALL NEWS README TODO
-}
diff --git a/net-print/pnm2ppa/Manifest b/net-print/pnm2ppa/Manifest
deleted file mode 100644
index 7f8fe4961737..000000000000
--- a/net-print/pnm2ppa/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST pnm2ppa-1.13.tar.gz 291190 BLAKE2B c348f5582e8014a8dcc349a6254a302ce3e8272984b96828b3ce9f012654fb2520624aed6db2a97c3f0cbaf2be608a0d83da2b5b2b799e7500f89a6927c6d0d6 SHA512 8f96792cf7f03fd024db9a8d338f06d7484fa4474c1cd73048c90f0e88ae5540df30e6894c0bbc82dfd87126fc72875b6d71b2031c0e24b343ef88f51d00bb7a
diff --git a/net-print/pnm2ppa/files/pnm2ppa-1.13-clang16.patch b/net-print/pnm2ppa/files/pnm2ppa-1.13-clang16.patch
deleted file mode 100644
index 3fabafc871e9..000000000000
--- a/net-print/pnm2ppa/files/pnm2ppa-1.13-clang16.patch
+++ /dev/null
@@ -1,7 +0,0 @@
-https://bugs.gentoo.org/874534
---- a/ppa_protocol/parse_vlink.c
-+++ b/ppa_protocol/parse_vlink.c
-@@ -1,2 +1,3 @@
- #include <stdio.h>
-+#include <string.h>
-
diff --git a/net-print/pnm2ppa/files/pnm2ppa-1.13-fno-common.patch b/net-print/pnm2ppa/files/pnm2ppa-1.13-fno-common.patch
deleted file mode 100644
index e12ba7ba246d..000000000000
--- a/net-print/pnm2ppa/files/pnm2ppa-1.13-fno-common.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-Taken from: https://sources.debian.org/patches/pnm2ppa/1.13-10/0005-Declare-syslog_message-correctly-for-GCC-10-FTBFS.patch
-Author: Zdenek Dohnal <zdohnal@redhat.com>
---- a/ppa_syslog.h
-+++ b/ppa_syslog.h
-@@ -39,7 +39,7 @@
- #include <syslog.h>
- #endif
-
--char syslog_message[128];
-+extern char syslog_message[128];
- extern size_t message_size ;
-
- void wrap_syslog( int, char *, char *);
-diff --git a/syslog.c b/syslog.c
-index 9b11c55..dccab91 100644
---- a/syslog.c
-+++ b/syslog.c
-@@ -31,6 +31,8 @@
- #include "ppa_syslog.h"
- #include "global.h"
-
-+char syslog_message[128];
-+
- BOOLEAN verbose = false ;
-
- /*
diff --git a/net-print/pnm2ppa/metadata.xml b/net-print/pnm2ppa/metadata.xml
deleted file mode 100644
index 94ca5a8e1ab3..000000000000
--- a/net-print/pnm2ppa/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>printing@gentoo.org</email>
- <name>Gentoo Printing Project</name>
- </maintainer>
- <upstream>
- <remote-id type="sourceforge">pnm2ppa</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/net-print/pnm2ppa/pnm2ppa-1.13-r2.ebuild b/net-print/pnm2ppa/pnm2ppa-1.13-r2.ebuild
deleted file mode 100644
index ac933c7f1679..000000000000
--- a/net-print/pnm2ppa/pnm2ppa-1.13-r2.ebuild
+++ /dev/null
@@ -1,83 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DESCRIPTION="Print driver for Hp Deskjet 710, 712, 720, 722, 820, 1000 series"
-HOMEPAGE="http://pnm2ppa.sourceforge.net"
-SRC_URI="https://downloads.sourceforge.net/pnm2ppa/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="syslog"
-
-# en on first place so others can override it
-LANGS="en cs es fr it nl"
-for lng in ${LANGS}; do
- IUSE+=" l10n_${lng}"
-done
-
-RDEPEND="
- app-text/ghostscript-gpl
- net-print/cups
- >=net-print/cups-filters-1.0.43-r1[foomatic]
- sys-libs/glibc
- syslog? ( virtual/logger )"
-DEPEND="${RDEPEND}"
-
-PATCHES=(
- "${FILESDIR}"/${P}-fno-common.patch
- "${FILESDIR}"/${P}-clang16.patch
-)
-
-src_configure() {
- local lng i withval
-
- for lng in ${LANGS}; do
- if use l10n_${lng}; then
- if [[ -n ${i} ]] ; then
- ewarn "This package supports only one translation at a time."
- ewarn "Overriding previous value: \"${withval}\" with \"${lng}\""
- fi
- withval="${lng}"
- i=true
- fi
- done
-
- econf \
- --with-language="${lng}" \
- --enable-vlink \
- $(use_enable syslog)
-}
-
-src_install() {
- default
-
- dobin utils/Linux/detect_ppa utils/Linux/test_ppa
-
- insinto /usr/share/pnm2ppa
- doins -r lpd pdq
-
- exeinto /usr/share/pnm2ppa/lpd
- doexe lpd/lpdsetup
-
- exeinto /usr/share/pnm2ppa/sample_scripts
- doexe sample_scripts/*
-
- exeinto /etc/pdq/drivers/ghostscript
- doexe pdq/gs-pnm2ppa
-
- exeinto /etc/pdq/interfaces
- doexe pdq/dummy
-
- # install docs
- cd docs/en || die
- dodoc CALIBRATION*txt COLOR*txt PPA*txt RELEASE* CREDITS README sgml/*.sgml
-
- cd "${S}" || die
- docinto html/docs/en
- dodoc docs/en/*.html
- docinto html/ppa_protocol
- dodoc ppa_protocol/*.html
-}
diff --git a/net-print/poster/Manifest b/net-print/poster/Manifest
deleted file mode 100644
index ad8b808baf17..000000000000
--- a/net-print/poster/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST poster-20060221.tar.bz2 33770 BLAKE2B 96fc7202b737a6752d26428d5f5b301d84743ced74d8f1f971d61ddb24c32261ac708fe89aae8ee6a42c13a80ef1409086c3fab4cf6f83cb9c4df6e3ee0c1c6c SHA512 530d846ace93a182a4c232d7e30df47af653f354c8138f52d385b62b677ac51e6ca777c93ff5b3d4e983d8c16f3efa43d122f48826c80a08be0232331232c471
diff --git a/net-print/poster/files/poster-20060221-fix_cutmarks.patch b/net-print/poster/files/poster-20060221-fix_cutmarks.patch
deleted file mode 100644
index 0ae10f3bdfc8..000000000000
--- a/net-print/poster/files/poster-20060221-fix_cutmarks.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-https://bugs.gentoo.org/show_bug.cgi?id=580610
-
-Index: poster-20060221/poster.c
-===================================================================
---- poster-20060221.orig/poster.c
-+++ poster-20060221/poster.c
-@@ -113,7 +113,7 @@ char *whitemarginspec = NULL;
- char *scalespec = NULL;
- char *filespec = NULL;
- char *pagespec = NULL;
--char *clipfacil = "0xFF";
-+char *clipfacil = "255";
- char *overlap = "6";
-
- /* media sizes in ps units (1/72 inch) */
diff --git a/net-print/poster/files/poster-20060221-fix_duplicate_DocumentMedia.patch b/net-print/poster/files/poster-20060221-fix_duplicate_DocumentMedia.patch
deleted file mode 100644
index 52584a9507a3..000000000000
--- a/net-print/poster/files/poster-20060221-fix_duplicate_DocumentMedia.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-See https://bugs.gentoo.org/show_bug.cgi?id=471270
-
---- a/poster.c 2013-05-25 21:41:53.000000000 +0200
-+++ b/poster.c 2013-05-25 21:43:41.000000000 +0200
-@@ -812,8 +812,12 @@
- if (!strncmp( c, "(atend)", 7)) atend = 1;
- else
- { /* pass this DSC to output */
-- puts( buf);
-- dsc_cont = 1;
-+ /* if it is not another DocumentMedia comment */
-+ if (strncmp( buf, "%%DocumentMedia", 15))
-+ {
-+ puts( buf);
-+ dsc_cont = 1;
-+ }
- }
- }
- else if ( !strncmp( buf, "%%Pages:", 8 ) )
diff --git a/net-print/poster/files/poster-20060221-fix_gs_crash.patch b/net-print/poster/files/poster-20060221-fix_gs_crash.patch
deleted file mode 100644
index d2f3afd9328b..000000000000
--- a/net-print/poster/files/poster-20060221-fix_gs_crash.patch
+++ /dev/null
@@ -1,47 +0,0 @@
-Source: http://pkgs.fedoraproject.org/cgit/rpms/poster.git/plain/poster.fixes_gs_crash.patch
-See also https://bugs.gentoo.org/show_bug.cgi?id=471238
-
---- a/poster.c 2006-02-22 13:27:39.000000000 +0100
-+++ b/poster.c 2012-11-17 01:30:45.303051611 +0100
-@@ -856,21 +856,13 @@
- int row, col, page;
-
- printprolog();
-- for ( page = 0; page < number_pages; page++ )
-- {
-- printf( "/print_content_of_complete_page_%d\n", page);
-- printf( "{\n");
-- printfile (page);
-- printf( "} bind def\n\n");
--
- if ( pages == NULL )
-- {
-+ for ( page = 0; page < number_pages; page++ )
- for (row = 1; row <= nrows; row++)
- for (col = 1; col <= ncols; col++)
- tile( row, col, page);
-- }
- else
-- {
-+ for ( page = 0; page < number_pages; page++ )
- for ( row = 0; row < pages_length; row++ )
- {
- int p = pages[ row ]-1;
-@@ -878,8 +870,6 @@
- fprintf( stderr, "Warning: page index out of range: %d\n", p+1 );
- tile( p/ncols+1, p%ncols+1, page );
- }
-- }
-- }
- printf ("%%%%EOF\n");
-
- if (tail_cntl_D)
-@@ -1027,7 +1017,7 @@
- printf ("\n%%%%Page: (%d,%d) %d\n", pagetoprint+1, ((row-1)*ncols+col), page);
- printf ("%d %d tileprolog\n", row, col);
- printf ("%%%%BeginDocument: %s\n", infile);
-- printf( "print_content_of_complete_page_%d\n", pagetoprint);
-+ printfile (pagetoprint);
- printf ("%%%%EndDocument\n");
- printf ("tileepilog\n");
-
diff --git a/net-print/poster/metadata.xml b/net-print/poster/metadata.xml
deleted file mode 100644
index e2fedda90ee1..000000000000
--- a/net-print/poster/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<maintainer type="project">
- <email>printing@gentoo.org</email>
- <name>Gentoo Printing Project</name>
-</maintainer>
-</pkgmetadata>
diff --git a/net-print/poster/poster-20060221-r4.ebuild b/net-print/poster/poster-20060221-r4.ebuild
deleted file mode 100644
index 47b567373b68..000000000000
--- a/net-print/poster/poster-20060221-r4.ebuild
+++ /dev/null
@@ -1,30 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit toolchain-funcs
-
-DESCRIPTION="Small utility for making a poster from an EPS file or a one-page PS document"
-HOMEPAGE="https://ctan.org/pkg/poster"
-SRC_URI="mirror://kde/printing/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~ppc x86"
-
-PATCHES=(
- "${FILESDIR}/${P}-fix_gs_crash.patch"
- "${FILESDIR}/${P}-fix_duplicate_DocumentMedia.patch"
- "${FILESDIR}/${P}-fix_cutmarks.patch"
-)
-
-src_compile() {
- $(tc-getCC) ${CFLAGS} ${LDFLAGS} ${PN}.c -lm -o ${PN} || die
-}
-
-src_install() {
- dobin ${PN}
- doman ${PN}.1
- dodoc README ChangeLog
-}
diff --git a/net-print/splix/Manifest b/net-print/splix/Manifest
deleted file mode 100644
index 4950ef649caf..000000000000
--- a/net-print/splix/Manifest
+++ /dev/null
@@ -1,3 +0,0 @@
-DIST samsung-cms-20120312.tar.xz 3354884 BLAKE2B ebff80c7e4ddebb87c46b0d282c64037d7584170ed224931e5b17fc93a76b162bd1b33ed00c59371464dcaef345cf6c33d428aa42c7b67c82958a23384ed0bac SHA512 448f111493540dc93b88d59fa50857bdca2aa9eb772e53c1d227402235d878ad599683d74bc4d815b4789527b5e7ebe207bb0c8fa9194eaf61ca95b78a1444db
-DIST splix-2.0.0_p20130826.tar.bz2 127278 BLAKE2B 6a8eb6b15e5208dd4173d50bf2b41d0e0f136057fbb46f36fb68ab1302c0c8a6b735311bc03f15e7afce0de802b3fa62df04ad5cd016532216b67a74e39835c3 SHA512 dda07e24b4321e6c1e3d4fbdd03fcc2b5931465db36ed9d8676a62313c4c64b7cbd58bf41996ddd1ab02086438f225439db0506aca7f0269f6c84e80eff72cb0
-DIST splix-2.0.1.tar.xz 93032 BLAKE2B 82de9e591bda902cee9423e3f626a5b8b13b8ec0e2fd842142b10549d87094316d59c57a005615bf37601ecedf9d5defc59beb5312b4e1269ff1db207c3722bc SHA512 45708d65576e87c9f0c9cc7d4919ea19b1418bb932854b14a80bbcf890e28f7ee11ac64a5b9ccca1b8f4aec803822392ab738329d3e9894ad60b5393bffeef74
diff --git a/net-print/splix/files/splix-2.0.0_p20130826-algo0x11_le.patch b/net-print/splix/files/splix-2.0.0_p20130826-algo0x11_le.patch
deleted file mode 100644
index e73e6ebbe9fc..000000000000
--- a/net-print/splix/files/splix-2.0.0_p20130826-algo0x11_le.patch
+++ /dev/null
@@ -1,33 +0,0 @@
---- splix-2.0.0_p20130826/src/algo0x11.cpp.orig 2018-12-19 20:55:03.216127909 +0100
-+++ splix-2.0.0_p20130826/src/algo0x11.cpp 2018-12-19 20:58:21.986353903 +0100
-@@ -89,7 +89,8 @@
-
- // Print the table
- for (unsigned long i=0; i < TABLE_PTR_SIZE; i++, w += 2) {
-- *(uint16_t *)(out + w) = (uint16_t)_ptrArray[i];
-+ out[w + 0] = (uint8_t)_ptrArray[i];
-+ out[w + 1] = (uint8_t)(_ptrArray[i] >> 8);
- if (_ptrArray[i] > uncompSize)
- uncompSize = _ptrArray[i];
- }
-@@ -97,7 +98,10 @@
- // Print the first uncompressed bytes
- if (uncompSize > MAX_UNCOMPRESSED_BYTES)
- uncompSize = MAX_UNCOMPRESSED_BYTES;
-- *(uint32_t *)out = (uint32_t)uncompSize;
-+ out[0] = (uint8_t)uncompSize;
-+ out[1] = (uint8_t)(uncompSize >> 8);
-+ out[2] = (uint8_t)(uncompSize >> 16);
-+ out[3] = (uint8_t)(uncompSize >> 24);
- for (r=0; r < uncompSize; r++, w++)
- out[w] = data[r];
-
-@@ -234,7 +238,7 @@
- // Register the result into a band plane
- plane = new BandPlane();
- plane->setData(output, outputSize);
-- plane->setEndian(BandPlane::Dependant);
-+ plane->setEndian(BandPlane::LittleEndian);
- plane->setCompression(0x11);
-
- return plane;
diff --git a/net-print/splix/metadata.xml b/net-print/splix/metadata.xml
deleted file mode 100644
index 3ddb1879ca37..000000000000
--- a/net-print/splix/metadata.xml
+++ /dev/null
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>voyageur@gentoo.org</email>
- <name>Bernard Cafarelli</name>
- </maintainer>
- <maintainer type="project">
- <email>printing@gentoo.org</email>
- <name>Gentoo Printing Project</name>
- </maintainer>
- <upstream>
- <remote-id type="sourceforge">splix</remote-id>
- <remote-id type="github">OpenPrinting/splix</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/net-print/splix/splix-2.0.0_p20130826-r1.ebuild b/net-print/splix/splix-2.0.0_p20130826-r1.ebuild
deleted file mode 100644
index 5b17bec8db15..000000000000
--- a/net-print/splix/splix-2.0.0_p20130826-r1.ebuild
+++ /dev/null
@@ -1,66 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit toolchain-funcs
-
-DESCRIPTION="A set of CUPS printer drivers for SPL (Samsung Printer Language) printers"
-HOMEPAGE="https://splix.sourceforge.net/"
-SRC_URI="https://dev.gentoo.org/~voyageur/distfiles/${P}.tar.bz2
- https://dev.gentoo.org/~voyageur/distfiles/samsung-cms-20120312.tar.xz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~arm64 x86"
-IUSE="+jbig"
-
-DEPEND=">=app-text/ghostscript-gpl-9.02
- >=net-print/cups-1.4.0
- jbig? ( media-libs/jbigkit )"
-RDEPEND="${DEPEND}"
-
-PATCHES=( "${FILESDIR}"/${P}-algo0x11_le.patch )
-
-src_prepare() {
- default
-
- # Move to correct place
- mv *.ppd ppd/
- # Honor LDFLAGS
- sed -e "/[a-z]_LDFLAGS/s/:=.*/:= $\{LDFLAGS\}/" -i module.mk \
- || die
- # Correct link comand
- sed -e "s/g++/$\{LINKER\}/" -i rules.mk \
- || die
-}
-
-src_compile() {
- local options="MODE=optimized"
- use jbig || options="${options} DISABLE_JBIG=1"
- emake ${options} PSTORASTER=gstoraster CXX="$(tc-getCXX)" \
- OPTIM_CFLAGS="${CFLAGS}" OPTIM_CXXFLAGS="${CXXFLAGS}"
-}
-
-src_install() {
- emake DESTDIR="${D}" install
- gzip "${ED}"/$(cups-config --datadir)/model/*/*.ppd || die
-
- emake DESTDIR="${D}" CMSDIR="${WORKDIR}"/cms MANUFACTURER=samsung installcms
- # Add symlinks for xerox and dell models (installed in samsung)
- dosym $(cups-config --datadir)/profiles/samsung $(cups-config --datadir)/profiles/xerox
- dosym $(cups-config --datadir)/profiles/samsung $(cups-config --datadir)/profiles/dell
-}
-
-pkg_postinst() {
- ewarn "You *MUST* make sure that the PPD files that CUPS is using"
- ewarn "for actually installed printers are updated if you upgraded"
- ewarn "from a previous version of splix!"
- ewarn "Otherwise you will be unable to print (your printer might"
- ewarn "spit out blank pages etc.)."
- ewarn "To do that, simply delete the corresponding PPD file in"
- ewarn "/etc/cups/ppd/, click on 'Modify Printer' belonging to the"
- ewarn "corresponding printer in the CUPS webinterface (usually"
- ewarn "reachable via http://localhost:631/) and choose the correct"
- ewarn "printer make and model, for example:"
- ewarn "'Samsung' -> 'Samsung ML-1610, 1.0 (en)'"
-}
diff --git a/net-print/splix/splix-2.0.1.ebuild b/net-print/splix/splix-2.0.1.ebuild
deleted file mode 100644
index a3530d599c76..000000000000
--- a/net-print/splix/splix-2.0.1.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-inherit toolchain-funcs
-
-DESCRIPTION="A set of CUPS printer drivers for SPL (Samsung Printer Language) printers"
-HOMEPAGE="https://splix.sourceforge.net/"
-SRC_URI="https://github.com/OpenPrinting/splix/releases/download/${PV}/${P}.tar.xz
- https://dev.gentoo.org/~voyageur/distfiles/samsung-cms-20120312.tar.xz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~arm64 x86"
-IUSE="+jbig"
-
-DEPEND=">=app-text/ghostscript-gpl-9.02
- >=net-print/cups-1.4.0
- jbig? ( media-libs/jbigkit )"
-RDEPEND="${DEPEND}"
-
-PATCHES=( "${FILESDIR}"/${PN}-2.0.0_p20130826-algo0x11_le.patch )
-
-src_prepare() {
- default
-
- # Move to correct place
- mv *.ppd ppd/
- # Honor LDFLAGS
- sed -e "/[a-z]_LDFLAGS/s/:=.*/:= $\{LDFLAGS\}/" -i module.mk \
- || die
-}
-
-src_compile() {
- local options="MODE=optimized"
- use jbig || options="${options} DISABLE_JBIG=1"
- emake ${options} PSTORASTER=gstoraster CXX="$(tc-getCXX)" \
- OPTIM_CFLAGS="${CFLAGS}" OPTIM_CXXFLAGS="${CXXFLAGS}"
-}
-
-src_install() {
- emake DESTDIR="${D}" install
- gzip "${ED}"/$(cups-config --datadir)/model/*/*.ppd || die
-
- emake DESTDIR="${D}" CMSDIR="${WORKDIR}"/cms MANUFACTURER=samsung installcms
- # Add symlinks for xerox and dell models (installed in samsung)
- dosym $(cups-config --datadir)/profiles/samsung $(cups-config --datadir)/profiles/xerox
- dosym $(cups-config --datadir)/profiles/samsung $(cups-config --datadir)/profiles/dell
-}
-
-pkg_postinst() {
- ewarn "You *MUST* make sure that the PPD files that CUPS is using"
- ewarn "for actually installed printers are updated if you upgraded"
- ewarn "from a previous version of splix!"
- ewarn "Otherwise you will be unable to print (your printer might"
- ewarn "spit out blank pages etc.)."
- ewarn "To do that, simply delete the corresponding PPD file in"
- ewarn "/etc/cups/ppd/, click on 'Modify Printer' belonging to the"
- ewarn "corresponding printer in the CUPS webinterface (usually"
- ewarn "reachable via http://localhost:631/) and choose the correct"
- ewarn "printer make and model, for example:"
- ewarn "'Samsung' -> 'Samsung ML-1610, 1.0 (en)'"
-}