Merge branch 'f19'
This commit is contained in:
commit
03e73a97b8
20
cups-ipp-multifile.patch
Normal file
20
cups-ipp-multifile.patch
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
diff -up cups-1.6.3/backend/ipp.c.ipp-multifile cups-1.6.3/backend/ipp.c
|
||||||
|
--- cups-1.6.3/backend/ipp.c.ipp-multifile 2013-08-06 17:17:19.359471503 +0100
|
||||||
|
+++ cups-1.6.3/backend/ipp.c 2013-08-06 17:19:03.346990727 +0100
|
||||||
|
@@ -1682,10 +1682,13 @@ main(int argc, /* I - Number of comm
|
||||||
|
ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME,
|
||||||
|
"requesting-user-name", NULL, argv[2]);
|
||||||
|
|
||||||
|
- if ((i + 1) >= num_files)
|
||||||
|
- ippAddBoolean(request, IPP_TAG_OPERATION, "last-document", 1);
|
||||||
|
+ ippAddBoolean(request, IPP_TAG_OPERATION, "last-document",
|
||||||
|
+ (i + 1) >= num_files);
|
||||||
|
|
||||||
|
- if (document_format)
|
||||||
|
+ if (num_files > 1)
|
||||||
|
+ ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_MIMETYPE,
|
||||||
|
+ "document-format", NULL, "application/octet-stream");
|
||||||
|
+ else if (document_format)
|
||||||
|
ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_MIMETYPE,
|
||||||
|
"document-format", NULL, document_format);
|
||||||
|
|
@ -14,7 +14,7 @@ Summary: CUPS printing system
|
|||||||
Name: cups
|
Name: cups
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Version: 1.7
|
Version: 1.7
|
||||||
Release: 0.22.%{prever}%{?dist}
|
Release: 0.23.%{prever}%{?dist}
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
Url: http://www.cups.org/
|
Url: http://www.cups.org/
|
||||||
@ -68,6 +68,7 @@ Patch35: cups-use-ipp1.1.patch
|
|||||||
Patch36: cups-avahi-no-threaded.patch
|
Patch36: cups-avahi-no-threaded.patch
|
||||||
Patch37: cups-gz-crc.patch
|
Patch37: cups-gz-crc.patch
|
||||||
Patch38: cups-build.patch
|
Patch38: cups-build.patch
|
||||||
|
Patch39: cups-ipp-multifile.patch
|
||||||
|
|
||||||
Patch100: cups-lspp.patch
|
Patch100: cups-lspp.patch
|
||||||
|
|
||||||
@ -256,6 +257,8 @@ Sends IPP requests to the specified URI and tests and/or displays the results.
|
|||||||
%patch37 -p1 -b .gz-crc
|
%patch37 -p1 -b .gz-crc
|
||||||
# Fixed build.
|
# Fixed build.
|
||||||
%patch38 -p1 -b .build
|
%patch38 -p1 -b .build
|
||||||
|
# Fixes for jobs with multiple files and multiple formats.
|
||||||
|
%patch39 -p1 -b .ipp-multifile
|
||||||
|
|
||||||
%if %lspp
|
%if %lspp
|
||||||
# LSPP support.
|
# LSPP support.
|
||||||
@ -630,6 +633,9 @@ rm -f %{cups_serverbin}/backend/smb
|
|||||||
%{_mandir}/man5/ipptoolfile.5.gz
|
%{_mandir}/man5/ipptoolfile.5.gz
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Aug 6 2013 Tim Waugh <twaugh@redhat.com> - 1:1.7-0.23.rc1
|
||||||
|
- Fixes for jobs with multiple files and multiple formats.
|
||||||
|
|
||||||
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.7-0.22.rc1
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.7-0.22.rc1
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user