[packages/cups] - default to IPP/1.1 for now (RHBZ#977813)

baggins baggins at pld-linux.org
Tue Nov 12 08:45:31 CET 2013


commit 5d498f1cf182fc0042e24a315d74d7bc1ec3c564
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Tue Nov 12 08:21:37 2013 +0100

    - default to IPP/1.1 for now (RHBZ#977813)

 cups-use-ipp1.1.patch | 12 ++++++++++++
 cups.spec             |  2 ++
 2 files changed, 14 insertions(+)
---
diff --git a/cups.spec b/cups.spec
index 50b39e9..c6d54ee 100644
--- a/cups.spec
+++ b/cups.spec
@@ -44,6 +44,7 @@ Patch13:	%{name}-systemd-socket.patch
 Patch14:	add-ipp-backend-of-cups-1.4.patch
 Patch15:	reactivate_recommended_driver.patch
 Patch16:	read-embedded-options-from-incoming-postscript-and-add-to-ipp-attrs.patch
+Patch17:	%{name}-use-ipp1.1.patch
 # avahi patches from fedora
 Patch100:	%{name}-avahi-address.patch
 Patch101:	%{name}-avahi-no-threaded.patch
@@ -265,6 +266,7 @@ Wsparcie dla LPD w serwerze wydruków CUPS.
 %patch14 -p1
 %patch15 -p1
 %patch16 -p1
+%patch17 -p1
 
 %if %{with avahi}
 %patch100 -p1
diff --git a/cups-use-ipp1.1.patch b/cups-use-ipp1.1.patch
new file mode 100644
index 0000000..41855fc
--- /dev/null
+++ b/cups-use-ipp1.1.patch
@@ -0,0 +1,12 @@
+diff -up cups-1.6.3/cups/usersys.c.use-ipp1.1 cups-1.6.3/cups/usersys.c
+--- cups-1.6.3/cups/usersys.c.use-ipp1.1	2013-07-12 11:41:45.368837618 +0200
++++ cups-1.6.3/cups/usersys.c	2013-07-12 11:41:45.391837299 +0200
+@@ -366,7 +366,7 @@ cupsSetServer(const char *server)	/* I -
+         cg->server_version = 22;
+     }
+     else
+-      cg->server_version = 20;
++      cg->server_version = 11;
+ 
+     if (cg->server[0] != '/' && (port = strrchr(cg->server, ':')) != NULL &&
+         !strchr(port, ']') && isdigit(port[1] & 255))
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/cups.git/commitdiff/885cd15471d8f02ba043881aa4c6997aca8d5275



More information about the pld-cvs-commit mailing list