Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package hplip for openSUSE:Factory checked in at 2021-06-24 18:22:12 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/hplip (Old) and /work/SRC/openSUSE:Factory/.hplip.new.2625 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "hplip" Thu Jun 24 18:22:12 2021 rev:138 rq:901116 version:3.21.4 Changes: -------- --- /work/SRC/openSUSE:Factory/hplip/hplip.changes 2021-03-02 15:16:56.849598369 +0100 +++ /work/SRC/openSUSE:Factory/.hplip.new.2625/hplip.changes 2021-06-24 18:22:23.660904246 +0200 @@ -1,0 +2,83 @@ +Thu Jun 16 11:44:00 UTC 2021 - Thomas Schraitle <thomas.schrai...@suse.com> - 3.21.4 + +- Update to 3.21.4 + Added support for the following new printers: + * HP Envy 6400 series + +- Update to 3.21.2 + Add support for the following printers: + * HP LaserJet Enterprise M406dn + * HP LaserJet Enterprise M407dn + * HP LaserJet Enterprise MFP M430f + * HP LaserJet Enterprise MFP M431f + * HP LaserJet Managed E40040dn + * HP LaserJet Managed MFP E42540f + * HP Color LaserJet Enterprise M455dn + * HP Color LaserJet Managed E45028dn + * HP Color LaserJet Enterprise MFP M480f + * HP Color LaserJet Managed MFP E47528f + * HP PageWide XL 3920 MFP + * HP PageWide XL 4200 Printer + * HP PageWide XL 4200 Multifunction Printer + * HP PageWide XL 4700 Printer + * HP PageWide XL 4700 Multifunction Printer + * HP PageWide XL 5200 Printer + * HP PageWide XL 5200 Multifunction Printer + * HP PageWide XL 8200 Printer + * HP Laserjet M207d + * HP Laserjet M208d + * HP Laserjet M209d + * HP Laserjet M210d + * HP Laserjet M212d + * HP Lasejet M211d + * HP Laserjet M209dw + * HP Laserjet M209dwe + * HP Laserjet M210dw + * HP Laserjet M210dwe + * HP Laserjet M212dw + * HP LaserJet M212dwe + * HP Laserjet M208dw + * HP Laserjet M207dw + * HP Laserjet M211dw + * HP LaserJet MFP M234dw + * HP LaserJet MFP M234dwe + * HP LaserJet MFP M233d + * HP LaserJet MFP M232d + * HP LaserJet MFP M235d + * HP LaserJet MFP M237d + * HP LaserJet MFP M236d + * HP LaserJet MFP M232dw + * HP LaserJet MFP M232dwc + * HP LaserJet MFP M233dw + * HP LaserJet MFP M236dw + * HP LaserJet MFP M235dw + * HP LaserJet MFP M235dwe + * HP LaserJet MFP M237dwe + * HP LaserJet MFP M237dw + * HP LaserJet MFP M232sdn + * HP LaserJet MFP M233sdn + * HP LaserJet MFP M236sdn + * HP LaserJet MFP M234sdn + * HP LaserJet MFP M234sdne + * HP LaserJet MFP M235sdn + * HP LaserJet MFP M235sdne + * HP LaserJet MFP M237sdne + * HP LaserJet MFP M237sdn + * HP LaserJet MFP M232sdw + * HP LaserJet MFP M233sdw + * HP LaserJet MFP M236sdw + * HP LaserJet MFP M234sdw + * HP LaserJet MFP M234sdwe + * HP LaserJet MFP M235sdw + * HP LaserJet MFP M235sdwe + * HP LaserJet MFP M237sdwe + * HP LaserJet MFP M237sdw +- Spec file: + * Adapted patch hplip-remove-imageprocessor.diff + * Disabled image processor build with the configure option + --disable-imageProcessor-build + * Remove executable bit in %{_datadir}/hplip/ + * Ignore duplicate files in hplip-rpmlintrc ("__init__.*.pyc?") + * Fixed some warnings + +------------------------------------------------------------------- Old: ---- hplip-3.20.11.tar.gz hplip-3.20.11.tar.gz.asc New: ---- hplip-3.21.4.tar.gz hplip-3.21.4.tar.gz.asc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ hplip.spec ++++++ --- /var/tmp/diff_new_pack.eSlb28/_old 2021-06-24 18:22:24.828905542 +0200 +++ /var/tmp/diff_new_pack.eSlb28/_new 2021-06-24 18:22:24.832905546 +0200 @@ -24,7 +24,7 @@ %define pyexe %{_bindir}/python3 %global use_qt5 1 Name: hplip -Version: 3.20.11 +Version: 3.21.4 Release: 0 Summary: HP's Printing, Scanning, and Faxing Software License: BSD-3-Clause AND GPL-2.0-or-later AND MIT @@ -327,8 +327,9 @@ sed -i 's,%{_bindir}/python\>,%{pyexe},' \ data/rules/* -# replace icon not available on openSUSE -sed -i -e 's|%{_datadir}/icons/Humanity/devices/48/printer.svg|printer|' hp-uiscan.desktop.in +# remove shebang line and replace icon not available on openSUSE +sed -i -e '/#!.*xdg-open$/d' \ + -e 's|%{_datadir}/icons/Humanity/devices/48/printer.svg|printer|' hp-uiscan.desktop.in %build # If AUTOMAKE='automake --foreign' is not set, autoreconf (in fact automake) @@ -381,6 +382,7 @@ --enable-cups-ppd-install \ --enable-hpijs-install \ --disable-foomatic-drv-install \ + --disable-imageProcessor-build \ --enable-foomatic-ppd-install \ --disable-foomatic-rip-hplip-install \ --with-hpppddir=%{_datadir}/cups/model/manufacturer-PPDs/%{name} \ ++++++ hplip-3.20.11.tar.gz -> hplip-3.21.4.tar.gz ++++++ /work/SRC/openSUSE:Factory/hplip/hplip-3.20.11.tar.gz /work/SRC/openSUSE:Factory/.hplip.new.2625/hplip-3.21.4.tar.gz differ: char 5, line 1 ++++++ hplip-remove-imageprocessor.diff ++++++ --- /var/tmp/diff_new_pack.eSlb28/_old 2021-06-24 18:22:24.920905644 +0200 +++ /var/tmp/diff_new_pack.eSlb28/_new 2021-06-24 18:22:24.920905644 +0200 @@ -1,18 +1,7 @@ -From fa9c0cf1a5db9bf8880b4796d5e3e0da46534e3d Mon Sep 17 00:00:00 2001 -From: Didier Raboud <o...@debian.org> -Date: Tue, 21 Aug 2018 18:18:10 +0200 -Subject: Remove all ImageProcessor functionality, which is closed-source - ---- - Makefile.am | 14 ++------------ - prnt/hpcups/HPCupsFilter.cpp | 21 --------------------- - 2 files changed, 2 insertions(+), 33 deletions(-) - -Index: hplip-3.20.9/Makefile.am -=================================================================== ---- hplip-3.20.9.orig/Makefile.am -+++ hplip-3.20.9/Makefile.am -@@ -167,7 +167,7 @@ if !HPLIP_CLASS_DRIVER +diff -ur hplip-3.21.4.orig/Makefile.am hplip-3.21.4/Makefile.am +--- hplip-3.21.4.orig/Makefile.am 2021-05-06 10:39:14.000000000 +0200 ++++ hplip-3.21.4/Makefile.am 2021-06-16 09:19:42.354489830 +0200 +@@ -167,7 +167,7 @@ dist_hplip_SCRIPTS = hpssd.py __init__.py hpdio.py endif #HPLIP_CLASS_DRIVER @@ -21,7 +10,7 @@ dist_noinst_SCRIPTS += dat2drv.py install.py hplip-install init-suse-firewall init-iptables-firewall class_rpm_build.sh hplipclassdriver.spec createPPD.sh Makefile_dat2drv hpijs-drv if !HPLIP_CLASS_DRIVER -@@ -595,7 +595,7 @@ hpcups_SOURCES = prnt/hpcups/HPCupsFilte +@@ -595,7 +595,7 @@ prnt/hpcups/ImageProcessor.h hpcups_CXXFLAGS = $(APDK_ENDIAN_FLAG) $(DBUS_CFLAGS) @@ -30,7 +19,7 @@ #else #hpcupsdir = $(cupsfilterdir) #hpcups_PROGRAMS = hpcups -@@ -685,16 +685,6 @@ endif #HPLIP_CLASS_DRIVER +@@ -685,16 +685,6 @@ install-data-hook: if HPLIP_BUILD @@ -47,67 +36,3 @@ if !HPLIP_CLASS_DRIVER # If scanner build, add hpaio entry to sane dll.conf. if [ "$(scan_build)" = "yes" ]; then \ -Index: hplip-3.20.9/prnt/hpcups/HPCupsFilter.cpp -=================================================================== ---- hplip-3.20.9.orig/prnt/hpcups/HPCupsFilter.cpp -+++ hplip-3.20.9/prnt/hpcups/HPCupsFilter.cpp -@@ -31,7 +31,6 @@ - \*****************************************************************************/ - - #include "HPCupsFilter.h" --#include "ImageProcessor.h" - - #include <signal.h> - #include <sys/wait.h> -@@ -637,16 +636,10 @@ int HPCupsFilter::processRasterData(cups - - - sprintf(hpPreProcessedRasterFile, "%s/hp_%s_cups_SwapedPagesXXXXXX",CUPS_TMP_DIR, m_JA.user_name); -- image_processor_t* imageProcessor = imageProcessorCreate(); - - while (cupsRasterReadHeader2(cups_raster, &cups_header)) - { - -- IMAGE_PROCESSOR_ERROR result = imageProcessorStartPage(imageProcessor, &cups_header); -- if (result != IPE_SUCCESS){ -- dbglog("DEBUG: imageProcessorStartPage failed result = %d\n", result); -- } -- - current_page_number++; - - if (current_page_number == 1) { -@@ -745,12 +738,6 @@ int HPCupsFilter::processRasterData(cups - color_raster = rgbRaster; - black_raster = kRaster; - -- result = imageProcessorProcessLine(imageProcessor, m_pPrinterBuffer, cups_header.cupsBytesPerLine); -- if (result != IPE_SUCCESS){ -- dbglog("DEBUG: imageProcessorProcessLine failed result = %d\n", result); -- } -- -- - if ((y == 0) && !is_ljmono) { - //For ljmono, make sure that first line is not a blankRaster line.Otherwise printer - //may not skip blank lines before actual data -@@ -780,12 +767,6 @@ int HPCupsFilter::processRasterData(cups - } - } // for() loop end - -- result = imageProcessorEndPage(imageProcessor); -- if (result != IPE_SUCCESS){ -- dbglog("DEBUG: imageProcessorEndPage failed result = %d\n", result); -- } -- -- - m_Job.NewPage(); - if (err != NO_ERROR) { - break; -@@ -800,8 +781,6 @@ int HPCupsFilter::processRasterData(cups - rgbRaster = NULL; - } - -- imageProcessorDestroy(imageProcessor); -- - unlink(hpPreProcessedRasterFile); - return ret_status; - } ++++++ hplip-rpmlintrc ++++++ --- /var/tmp/diff_new_pack.eSlb28/_old 2021-06-24 18:22:24.936905662 +0200 +++ /var/tmp/diff_new_pack.eSlb28/_new 2021-06-24 18:22:24.936905662 +0200 @@ -1,3 +1,9 @@ from Config import * addFilter("arch-dependent-file-in-usr-share") +# Ignore any duplicate files +addFilter("files-duplicate .*/hplip/.*/__init__.py") +addFilter("files-duplicate .*/hplip/*/__init__.*pyc") +addFilter("files-duplicate .*/hplip/.*/__pycache__/__init__.*.pyc") +# +addFilter("non-executable-script /usr/share/hplip/.*")