diff --git a/packaging/patches/use-snapctl-with-slot-cups-server.patch b/packaging/patches/use-snapctl-with-slot-cups-server.patch deleted file mode 100644 index b6adf45b9..000000000 --- a/packaging/patches/use-snapctl-with-slot-cups-server.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/scheduler/auth.c b/scheduler/auth.c -index 7f6c3f6d2..326d70832 100644 ---- a/scheduler/auth.c -+++ b/scheduler/auth.c -@@ -2006,7 +2006,7 @@ check_admin_access(cupsd_client_t *con) // I - Client connection - "is-connected", - "--apparmor-label", - NULL, -- "cups-control", -+ "cups-server", - NULL - }; - diff --git a/packaging/snapcraft.yaml b/packaging/snapcraft.yaml index b35541ab0..e8171650e 100644 --- a/packaging/snapcraft.yaml +++ b/packaging/snapcraft.yaml @@ -193,9 +193,6 @@ parts: set -eux # Do the actual pull task craftctl default - # Settings: - # Patch to use snapctl with the slot name "cups-server" for Snap mediation - #patch -p1 < $CRAFT_PROJECT_DIR/patches/use-snapctl-with-slot-cups-server.patch # Longer timeout for Avahi resolving for cupsGetDests() API function, used # by "lpstat -l -e" (https://github.com/OpenPrinting/cups/issues/751) perl -p -i -e 's/(#\s*define\s+_CUPS_DNSSD_GET_DESTS\s+)250(\s+)/\1 1000\2/' cups/dest.c