Patch115: cups-ipp-multifile.patch
Patch116: cups-web-devices-timeout.patch
Patch117: cups-lspp.patch
+Patch118: scx3400w-quirks.patchs
URL: http://www.cups.org/
BuildRequires: acl-devel
%{?with_lspp:BuildRequires: audit-libs-devel}
%patch115 -p1
%patch116 -p1
%patch117 -p1
+%patch118 -p1
%build
%{__aclocal} -I config-scripts
--- /dev/null
+From 231c3a3e3ee12e0078be772647707c7d63a6c098 Mon Sep 17 00:00:00 2001
+From: Zdenek Dohnal <zdohnal@redhat.com>
+Date: Tue, 12 Oct 2021 06:31:15 +0200
+Subject: [PATCH] org.cups.usb-quirks: Samsung SCX-3405W works without quirks
+
+---
+ CHANGES.md | 4 ++--
+ backend/org.cups.usb-quirks | 3 +++
+ 2 files changed, 5 insertions(+), 2 deletions(-)
+
+diff --git a/backend/org.cups.usb-quirks b/backend/org.cups.usb-quirks
+index b4e12a25e..5aa0d41af 100644
+--- a/backend/org.cups.usb-quirks
++++ b/backend/org.cups.usb-quirks
+@@ -194,6 +194,9 @@
+ # All Samsung devices (https://bugs.launchpad.net/bugs/1032456)
+ 0x04e8 soft-reset
+
++# Samsung SCX-3405W works without quirks (https://github.com/OpenPrinting/cups/issues/270)
++0x04e8 0x344f whitelist
++
+ # Samsung ML-2160 Series (https://bugzilla.redhat.com/show_bug.cgi?id=873123)
+ 0x04e8 0x330f unidir
+