Hello community, here is the log from the commit of package hplip for openSUSE:Factory checked in at 2015-05-29 09:44:01 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/hplip (Old) and /work/SRC/openSUSE:Factory/.hplip.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "hplip" Changes: -------- --- /work/SRC/openSUSE:Factory/hplip/hplip.changes 2015-03-29 20:16:25.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.hplip.new/hplip.changes 2015-05-29 09:44:02.000000000 +0200 @@ -1,0 +2,43 @@ +Tue May 19 17:04:45 CEST 2015 - [email protected] + +- Disabled build for parallel port because parallel port support + was disabled by default by upstream HPLIP at least since 2011 + and is deprecated by upstream HPLIP since 2013, + see https://bugs.launchpad.net/bugs/750796 + and http://hplipopensource.com/node/217 + furthermore parallel port support gets more or less abandoned + by upstream projects in general, see "Parallel port printers" + at https://en.opensuse.org/SDB:Installing_a_Printer +- Version upgrade to 3.15.4: + Added Support for the Following New Printers: + HP Color LaserJet Pro M252dw + HP Color LaserJet Pro M252n + HP Color LaserJet Pro MFP M277n + HP Color LaserJet Pro MFP M277dw + HP Color LaserJet Enterprise M553n + HP Color LaserJet Enterprise M553dn + HP Color LaserJet Enterprise M553x + HP Color LaserJet Enterprise M553dh + HP Color LaserJet Enterprise M552dn + HP LaserJet Enterprise M604n + HP LaserJet Enterprise M604dn + HP LaserJet Enterprise M605dn + HP LaserJet Enterprise M605n + HP LaserJet Enterprise M605x + HP LaserJet Enterprise M606x + HP LaserJet Enterprise M606dn + Some bug fixes. + For details see + http://hplipopensource.com/hplip-web/release_notes.html +- add_missing_includes_and_define_GNU_SOURCE.patch adds + missing '#include <...>' and missing '#define _GNU_SOURCE' + see https://bugs.launchpad.net/hplip/+bug/1456590 +- Using again plain 'make' instead of 'make %{?_smp_mflags}' + (cf. the entry below dated "Sun Apr 20 09:48:39 UTC 2014") + and plain 'make ... install' instead of + 'make ... install %{?_smp_mflags}' to avoid random obscure + build failures with errors like "libtool: install: error: relink + `cupsext.la' with the above command before installing it", cf. + http://lists.gnu.org/archive/html/automake/2010-03/msg00039.html + +------------------------------------------------------------------- Old: ---- hplip-3.15.2.tar.gz hplip-3.15.2.tar.gz.asc New: ---- add_missing_includes_and_define_GNU_SOURCE.patch hplip-3.15.4.tar.gz hplip-3.15.4.tar.gz.asc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ hplip.spec ++++++ --- /var/tmp/diff_new_pack.mvSzrc/_old 2015-05-29 09:44:04.000000000 +0200 +++ /var/tmp/diff_new_pack.mvSzrc/_new 2015-05-29 09:44:04.000000000 +0200 @@ -17,18 +17,18 @@ Name: hplip -Version: 3.15.2 +Version: 3.15.4 Release: 0 Summary: HP's Printing, Scanning, and Faxing Software License: BSD-3-Clause and GPL-2.0+ and MIT Group: Hardware/Printing Url: http://hplipopensource.com # Source0...Source9 is for sources from HP: -# URL for Source0: http://prdownloads.sourceforge.net/hplip/hplip-3.14.10.tar.gz -# URL to verify Source0: http://prdownloads.sourceforge.net/hplip/hplip-3.14.10.tar.gz.asc +# URL for Source0: http://prdownloads.sourceforge.net/hplip/hplip-3.15.4.tar.gz +# URL to verify Source0: http://prdownloads.sourceforge.net/hplip/hplip-3.15.4.tar.gz.asc # How to verify Source0 see: http://hplipopensource.com/node/327 # For example: /usr/bin/gpg --keyserver pgp.mit.edu --recv-keys 0xA59047B9 -# /usr/bin/gpg --verify hplip-3.14.10.tar.gz.asc hplip-3.14.10.tar.gz +# /usr/bin/gpg --verify hplip-3.15.4.tar.gz.asc hplip-3.15.4.tar.gz # must result: Good signature from "HPLIP (HP Linux Imaging and Printing) <[email protected]>" Source0: http://prdownloads.sourceforge.net/hplip/hplip-%{version}.tar.gz Source1: http://prdownloads.sourceforge.net/hplip/hplip-%{version}.tar.gz.asc @@ -81,6 +81,9 @@ Patch106: disable_hp-upgrade.patch # PATCH-FIX-SUSE: use proper udev rulesdir which is in usr not in /etc Patch107: hplip-udev-rules-in-usr.patch +# Patch108 add_missing_includes_and_define_GNU_SOURCE.patch adds missing '#include <...>' +# and missing '#define _GNU_SOURCE' see https://bugs.launchpad.net/hplip/+bug/1456590 +Patch108: add_missing_includes_and_define_GNU_SOURCE.patch # HPLIP's Python module cupsext.so has a build-time dependancy on the CUPS version: # It needs symbols (like ippFirstAttribute, ippNextAttribute, ippSetOperation etc) # that are defined only in libcups.so version > 1.5. For backward compatibility @@ -394,6 +397,9 @@ # To upgrade HPLIP an openSUSE software package manager like YaST or zypper should be used. %patch106 -b .disable_hp-upgrade.orig %patch107 -p1 -b .udev_rules_dir.orig +# Patch108 add_missing_includes_and_define_GNU_SOURCE.patch adds missing '#include <...>' +# and missing '#define _GNU_SOURCE' see https://bugs.launchpad.net/hplip/+bug/1456590 +%patch108 -b .add_missing_includes_and_define_GNU_SOURCE.orig %build # If AUTOMAKE='automake --foreign' is not set, autoreconf (in fact automake) @@ -403,6 +409,8 @@ # Set our preferred architecture-specific flags for the compiler and linker: export CFLAGS="%{optflags}" export CXXFLAGS="%{optflags} -fno-strict-aliasing" +# --disable-pp-build disables parallel port build because parallel port support is deprecated by upstream HPLIP +# and by upstream in general cf. "Parallel port printers" at https://en.opensuse.org/SDB:Installing_a_Printer # Static "hpijs" PPD files via enable-foomatic-ppd-install # require foomatic-rip-hplip via their cupsFilter entries # so that enable-foomatic-rip-hplip-install is also needed. @@ -435,7 +443,7 @@ --disable-policykit \ --enable-doc-build \ --enable-network-build \ - --enable-pp-build \ + --disable-pp-build \ --enable-scan-build \ --enable-gui-build \ --enable-fax-build \ @@ -454,10 +462,10 @@ --with-mimedir=%{_sysconfdir}/cups \ --with-docdir=%{_defaultdocdir}/%{name} \ --with-htmldir==%{_defaultdocdir}/%{name} -make %{?_smp_mflags} +make %install -make DESTDIR=%{buildroot} install %{?_smp_mflags} +make DESTDIR=%{buildroot} install # Make and install Python compiled bytecode files # (.pyc compiled python and .pyo optimized compiled python) # because normal users do not have write permissions @@ -768,6 +776,7 @@ %{_bindir}/hpijs %doc %{_mandir}/man1/hpijs.1.gz %{_libdir}/libhpip.so.* +%{_libdir}/libhpipp.so.* %{_libdir}/libhpmud.so.* %dir %{_libexecdir}/cups %dir %{_libexecdir}/cups/backend @@ -800,6 +809,7 @@ %files devel %defattr(-, root, root) %{_libdir}/libhpip.so +%{_libdir}/libhpipp.so %{_libdir}/libhpmud.so %{_libdir}/*.la %{_libdir}/sane/libsane-hpaio.so ++++++ add_missing_includes_and_define_GNU_SOURCE.patch ++++++ --- protocol/hp_ipp.c.orig 2015-04-14 11:53:09.000000000 +0200 +++ protocol/hp_ipp.c 2015-05-19 13:12:47.000000000 +0200 @@ -18,6 +18,9 @@ Boston, MA 02110-1301, USA. \******************************************************************************/ +#ifndef _GNU_SOURCE +#define _GNU_SOURCE +#endif #include <cups/cups.h> #include <cups/language.h> --- scan/sane/sclpml.c.orig 2015-04-14 11:53:17.000000000 +0200 +++ scan/sane/sclpml.c 2015-05-19 13:45:44.000000000 +0200 @@ -25,11 +25,16 @@ \************************************************************************************/ +#ifndef _GNU_SOURCE +#define _GNU_SOURCE +#endif + #include <stdio.h> #include <string.h> #include <unistd.h> #include <fcntl.h> #include <string.h> +#include <sys/time.h> #include "sane.h" #include "saneopts.h" #include "common.h" --- scan/sane/bb_ledm.c.orig 2015-05-19 13:47:53.000000000 +0200 +++ scan/sane/bb_ledm.c 2015-05-19 13:48:42.000000000 +0200 @@ -26,7 +26,7 @@ # include "http.h" # include "xml.h" # include <stdlib.h> - +# include <unistd.h> # include <stdint.h> # define _STRINGIZE(x) #x --- scan/sane/hpaio.c.orig 2015-04-14 11:53:17.000000000 +0200 +++ scan/sane/hpaio.c 2015-05-19 13:51:21.000000000 +0200 @@ -43,6 +43,7 @@ #include "hpaio.h" # include "ledm.h" #include "sclpml.h" +#include "io.h" #define DEBUG_DECLARE_ONLY #include "sanei_debug.h" --- io/hpmud/jd.c.orig 2015-05-19 13:46:39.000000000 +0200 +++ io/hpmud/jd.c 2015-05-19 13:47:01.000000000 +0200 @@ -31,6 +31,7 @@ #endif #include <signal.h> +#include <stdlib.h> #include "hpmud.h" #include "hpmudi.h" ++++++ hplip-3.15.2.tar.gz -> hplip-3.15.4.tar.gz ++++++ /work/SRC/openSUSE:Factory/hplip/hplip-3.15.2.tar.gz /work/SRC/openSUSE:Factory/.hplip.new/hplip-3.15.4.tar.gz differ: char 5, line 1
