Upstream fix for 'Stopped "Filter Failed"' (Launchpad #1476920)

This commit is contained in:
Jiri Popelka 2015-08-11 13:19:44 +02:00
parent 1240a687cb
commit 9848937170
2 changed files with 30 additions and 1 deletions

View File

@ -0,0 +1,22 @@
*** hplip-3.15.7_original/prnt/hpcups/CommonDefinitions.h 2015-07-13 13:18:53.000000000 +0530
--- hplip-3.15.7_latest/prnt/hpcups/CommonDefinitions.h 2015-07-28 20:07:24.018247373 +0530
***************
*** 441,447 ****
{
int media_source;
int color_mode;
- int HPSPDClass;
DUPLEXMODE e_duplex_mode;
int print_borderless;
int krgb_mode;
--- 441,446 ----
***************
*** 466,471 ****
--- 465,471 ----
int integer_values[16];
int printer_platform_version;
int pre_process_raster;
+ int HPSPDClass;
} JobAttributes;
#endif // COMMON_DEFINITIONS_H

View File

@ -10,7 +10,7 @@
Summary: HP Linux Imaging and Printing Project
Name: hplip
Version: 3.15.7
Release: 1%{?dist}
Release: 2%{?dist}
License: GPLv2+ and MIT
Url: http://hplip.sourceforge.net/
@ -39,6 +39,7 @@ Patch20: hplip-dj990c-margin.patch
Patch21: hplip-strncpy.patch
Patch22: hplip-no-write-bytecode.patch
Patch23: hplip-silence-ioerror.patch
Patch24: hplip-CommonDefinations.patch
%global hpijs_epoch 1
Requires: hpijs%{?_isa} = %{hpijs_epoch}:%{version}-%{release}
@ -237,6 +238,9 @@ done
# Ignore IOError when logging output (bug #712537).
%patch23 -p1 -b .silence-ioerror
# https://bugs.launchpad.net/hplip/+bug/1476920
%patch24 -p1 -b .CommonDefinations
sed -i.duplex-constraints \
-e 's,\(UIConstraints.* \*Duplex\),//\1,' \
prnt/drv/hpcups.drv.in
@ -523,6 +527,9 @@ rm -f ppds-all
%postun libs -p /sbin/ldconfig
%changelog
* Tue Aug 11 2015 Jiri Popelka <jpopelka@redhat.com> - 3.15.7-2
- Upstream fix for 'Stopped "Filter Failed"' (Launchpad #1476920)
* Wed Jul 15 2015 Jiri Popelka <jpopelka@redhat.com> - 3.15.7-1
- 3.15.7