Commit Graph

118 Commits

Author SHA256 Message Date
Martin Wilck
ad03afc826 - Fixed device communication/detection problems with mdns/Bonjour
Fixed changelog message:
  * added hplip-mdns.patch (MDNS send/receive on every iterface)
  * added hplip-mdns-retry-query.patch (MDNS retry)
  See https://bugs.launchpad.net/hplip/+bug/1616861

OBS-URL: https://build.opensuse.org/package/show/Printing/hplip?expand=0&rev=129
2016-08-26 15:59:14 +00:00
Martin Wilck
2d6bd814e6 Accepting request 423113 from home:mwilck:branches:Printing
- Fixed device communication/detection problems with mdns/Bonjour
  see https://bugs.launchpad.net/hplip/+bug/1616861

In my home network, the HP printer/scanner (ENVY 5530) often fails with messages like this:

hp-toolbox[7119]: [7119]: error: Unable to communicate with device (code=12): hp:/net/ENVY_5530_series?zc=HP3464A9E628B4

I've tracked this down to two problems with the MDNS implementation in HPLIP:

 1. On a multi-homed host, HPLIP uses only one interface for MDNS multicast send and receive. This leads to failure if the printer is not on the "default" network. The code uses just INADDR_ANY in its multicast IP_MULTPATH_IF and IP_ADD_MEMBERSHIP setsockopt calls, meaning that the kernel has to figure out the interface to use. This fails if the system has no default route, or if the HP device is on a different network than the default route. The solution is to receive and send multicast on all interfaces.

 2. MDNS authorities (including HP printers) don't answer every query, especially the same query is repeated quickly. The latter happens when the HP tools start, causing the MDNS lookup procedure to fail and the "communication error" to be detected. This can be solved by retrying the query after a short wait (1-2s).

This build contains fixes for both problems.

OBS-URL: https://build.opensuse.org/request/show/423113
OBS-URL: https://build.opensuse.org/package/show/Printing/hplip?expand=0&rev=128
2016-08-26 14:55:31 +00:00
Johannes Meixner
7057a6e0b5 Accepting request 400159 from home:weberho:branches:Printing
* Updated to version 3.16.5
* rebased patches

OBS-URL: https://build.opensuse.org/request/show/400159
OBS-URL: https://build.opensuse.org/package/show/Printing/hplip?expand=0&rev=126
2016-06-06 09:18:58 +00:00
Tomáš Chvátal
c0c8581f3d - Fix build on SLE11 by removing not required and wrongly installed
selinux support config
- Remove another nested conditions that are the same
- remove patch104: do_not_open_mdns_port.diff, no more needed
  because since HPLIP 3.15.11 there is no longer "open_mdns_port=..."
  in distros.dat for any "SUSE" distribution

OBS-URL: https://build.opensuse.org/package/show/Printing/hplip?expand=0&rev=124
2015-12-09 10:56:41 +00:00
Tomáš Chvátal
53eed71203 Accepting request 347977 from home:scarabeus_iv:branches:Printing
- Do not bother with fsf address fix, if they move again or if the
  package update it we would needlessly fail
- Do not bother with one condition that is equal to the following one

OBS-URL: https://build.opensuse.org/request/show/347977
OBS-URL: https://build.opensuse.org/package/show/Printing/hplip?expand=0&rev=123
2015-12-08 20:14:50 +00:00
Tomáš Chvátal
6b5e16a864 Accepting request 345335 from home:ecsos
update to 3.15.11. Some other changes, see hplip.changes

OBS-URL: https://build.opensuse.org/request/show/345335
OBS-URL: https://build.opensuse.org/package/show/Printing/hplip?expand=0&rev=122
2015-12-08 20:07:21 +00:00
Johannes Meixner
2fdecea380 Accepting request 337010 from home:jsmeix:branches:Printing
Dropped support for the outdated foomatic-rip-hplip which makes it "just build" again also if suse_version > 1310 without awkward hacks.

OBS-URL: https://build.opensuse.org/request/show/337010
OBS-URL: https://build.opensuse.org/package/show/Printing/hplip?expand=0&rev=120
2015-10-07 14:22:00 +00:00
Johannes Meixner
402cd6e371 Accepting request 336743 from home:jsmeix:branches:Printing
HPLIP version upgrade to 3.15.9

OBS-URL: https://build.opensuse.org/request/show/336743
OBS-URL: https://build.opensuse.org/package/show/Printing/hplip?expand=0&rev=119
2015-10-06 14:57:15 +00:00
Johannes Meixner
5031afc5db Accepting request 313567 from home:jsmeix:branches:Printing
HPLIP version upgrade to 3.15.6 plus band-aid fix for CVE-2015-0839 (bsc#933191)

OBS-URL: https://build.opensuse.org/request/show/313567
OBS-URL: https://build.opensuse.org/package/show/Printing/hplip?expand=0&rev=117
2015-06-24 14:13:45 +00:00
Johannes Meixner
8ddc1fbd41 Accepting request 308095 from home:jsmeix:branches:Printing
HPLIP version upgrade to 3.15.4

OBS-URL: https://build.opensuse.org/request/show/308095
OBS-URL: https://build.opensuse.org/package/show/Printing/hplip?expand=0&rev=115
2015-05-20 09:19:50 +00:00
Johannes Meixner
b027fc415a Accepting request 291386 from home:jsmeix:branches:Printing
make it build for SLE12

OBS-URL: https://build.opensuse.org/request/show/291386
OBS-URL: https://build.opensuse.org/package/show/Printing/hplip?expand=0&rev=113
2015-03-19 08:21:51 +00:00
Johannes Meixner
6df7276a61 Accepting request 288078 from home:jsmeix:branches:Printing
Make it again build correctly for released openSUSE versions and for SLE11 (boo#918387)

OBS-URL: https://build.opensuse.org/request/show/288078
OBS-URL: https://build.opensuse.org/package/show/Printing/hplip?expand=0&rev=111
2015-02-27 12:56:18 +00:00
Tomáš Chvátal
6b94d90859 - Version bump to 3.15.2:
OBS-URL: https://build.opensuse.org/package/show/Printing/hplip?expand=0&rev=110
2015-02-19 13:46:03 +00:00
Tomáš Chvátal
0ab93476d7 - Cleanup-with spec-cleaner
- Kill sle11 support as per min cups requirement
- Add patch to put udev rules to usr as it is required:
  * hplip-udev-rules-in-usr.patch
- Also run udev rules update in post for the above rules

OBS-URL: https://build.opensuse.org/package/show/Printing/hplip?expand=0&rev=109
2015-02-19 12:36:58 +00:00
Tomáš Chvátal
e18dbf119c - Add minimal version requirement on cups (currently 1.7) bnc#918387
OBS-URL: https://build.opensuse.org/package/show/Printing/hplip?expand=0&rev=108
2015-02-19 12:05:31 +00:00
Tomáš Chvátal
eac8e619d3 - Drop gpg-offline usage as we do it as service on obs side if
required files are present in the package

OBS-URL: https://build.opensuse.org/package/show/Printing/hplip?expand=0&rev=107
2015-02-11 21:08:06 +00:00
Tomáš Chvátal
4c83dcccb2 - Version bump to 3.15.1:
* python3 support (not enabled to work on older distros now)
  * Support for KF5 systemtray
  * Fixed issues:
    + 1388126 - Doesn't build against libjpeg-turbo 1.3.90
    + 1395676 - hpcups crashes if DEVICE_URI not set in environment
    + 1388007 - Incorrect call to hpmudext.device_open
    + 1187055 - plugin download fails if python links to python3
    + 802999  - Incorrect IEEE 1284 Device IDs for many models
  * For more info see http://hplipopensource.com/hplip-web/release_notes.html

OBS-URL: https://build.opensuse.org/package/show/Printing/hplip?expand=0&rev=106
2015-02-11 21:03:17 +00:00
Johannes Meixner
0cd8f71c71 Accepting request 258497 from home:jsmeix:branches:Printing
Version upgrade to 3.14.10

OBS-URL: https://build.opensuse.org/request/show/258497
OBS-URL: https://build.opensuse.org/package/show/Printing/hplip?expand=0&rev=104
2014-10-27 11:44:01 +00:00
Johannes Meixner
74c1a36c82 Accepting request 256945 from home:jsmeix:branches:Printing
- Make and install Python compiled bytecode files
  (.pyc compiled python and .pyo optimized compiled python)
  because normal users do not have write permissions to the
  install location /usr/share/hplip/ so that for normal users
  Python would recompile the sources every time,
  see https://en.opensuse.org/openSUSE:Packaging_Python
- Hardlink .pyc and .pyo when they have same content but
  do not run "fdupes buildroot/_datadir/hplip" because
  fdupes will link any files with same content there
  which can have unexpected side-effects (cf. bnc#784670).
- Removed RPM preun script that had deleted leftover .pyc
  and .pyo files if made during run-time (see the entry below
  dated Fri Feb 16 11:52:28 CET 2007) because now those files
  are provided in the package.
- Removed trailing whitespaces in RPM changelog file.

OBS-URL: https://build.opensuse.org/request/show/256945
OBS-URL: https://build.opensuse.org/package/show/Printing/hplip?expand=0&rev=101
2014-10-16 15:24:13 +00:00
Johannes Meixner
836a684ab2 Accepting request 250076 from home:jsmeix:branches:Printing
- From openSUSE 13.2 on explicitly
  "BuildRequires cups-filters-foomatic-rip"
  to avoid that foomatic-filters is used for build
  in the "Printing" development project (where foomatic-filters
  intentionally exists also for openSUSE_13.2 and openSUSE_Factory)
  which would not match what is used for build in openSUSE:13.2 or
  openSUSE:Factory (where foomatic-filters is intentionally dropped
  and replaced by cups-filters-foomatic-rip). Using the matching
  package for build results that the backward compatibility link
  /usr/lib/cups/filter/foomatic-rip-hplip points to a foomatic-rip
  executable that is used by default on the runtime system.

OBS-URL: https://build.opensuse.org/request/show/250076
OBS-URL: https://build.opensuse.org/package/show/Printing/hplip?expand=0&rev=99
2014-09-18 09:58:46 +00:00
Johannes Meixner
b501904d86 Accepting request 249259 from home:jsmeix:branches:Printing
- PPDs that require a proprietary plugin from HP must be moved to
  the hplip main-package because the proprietary plugin from HP
  must be downloaded and installed by using HP's "hp-plugin" tool
  that belongs to the hplip main-package. Accordingly PPDs that
  require a proprietary plugin from HP are in a new directory
  /usr/share/cups/model/manufacturer-PPDs/hplip-plugin
  that belongs to the hplip main-package (bnc#876690).

OBS-URL: https://build.opensuse.org/request/show/249259
OBS-URL: https://build.opensuse.org/package/show/Printing/hplip?expand=0&rev=98
2014-09-15 12:47:22 +00:00
Johannes Meixner
e39b964002 Accepting request 236822 from home:jsmeix:branches:Printing
HPLIP version upgrade to 3.14.6

OBS-URL: https://build.opensuse.org/request/show/236822
OBS-URL: https://build.opensuse.org/package/show/Printing/hplip?expand=0&rev=96
2014-06-11 08:11:30 +00:00
Johannes Meixner
08b3a6036e Accepting request 232936 from home:jsmeix:branches:Printing
Moved the hpcupsfax filter to the hplip-hpijs sub-package where the PPDs for it are because it works when only the hplip-hpijs RPM is installed. Moved the hpps filter to the hplip main-package because the hpps Python script imports HPLIP Python modules from the hplip main-package and accordingly moved the PPDs that use the hpps filter to the hplip main-package (bnc#876690).

OBS-URL: https://build.opensuse.org/request/show/232936
OBS-URL: https://build.opensuse.org/package/show/Printing/hplip?expand=0&rev=94
2014-05-07 14:10:22 +00:00
Johannes Meixner
ab1434b063 Accepting request 231130 from home:jsmeix:branches:Printing
Fix how the link that points to foomatic-rip is installed depending on which package provides foomatic-rip. This should fix building hplip on openSUSE:Factory where it currently fails to build because that link is currently created wrong on openSUSE:Factory.

OBS-URL: https://build.opensuse.org/request/show/231130
OBS-URL: https://build.opensuse.org/package/show/Printing/hplip?expand=0&rev=92
2014-04-23 09:49:41 +00:00
Tomáš Chvátal
4f089b03f3 - Enable paralel build.
OBS-URL: https://build.opensuse.org/package/show/Printing/hplip?expand=0&rev=91
2014-04-20 09:54:50 +00:00
Johannes Meixner
4b1e68ed30 Accepting request 229529 from home:jsmeix:branches:Printing
Version upgrade to 3.14.4

OBS-URL: https://build.opensuse.org/request/show/229529
OBS-URL: https://build.opensuse.org/package/show/Printing/hplip?expand=0&rev=89
2014-04-09 15:57:19 +00:00
Johannes Meixner
1b405163fe Accepting request 209404 from home:jsmeix:branches:Printing
disabled hp-upgrade/upgrade.py for security reasons (bnc#853405)

OBS-URL: https://build.opensuse.org/request/show/209404
OBS-URL: https://build.opensuse.org/package/show/Printing/hplip?expand=0&rev=86
2013-12-04 14:50:19 +00:00
Johannes Meixner
8dab88b65b Accepting request 208731 from home:Mailaender:branches:Printing
update, rpmlint fixes and packaging improvements around the .desktop files

OBS-URL: https://build.opensuse.org/request/show/208731
OBS-URL: https://build.opensuse.org/package/show/Printing/hplip?expand=0&rev=85
2013-11-28 09:34:54 +00:00
Johannes Meixner
b5f2ba9c14 Accepting request 203652 from home:jsmeix:branches:Printing
version upgrade to 3.13.10

OBS-URL: https://build.opensuse.org/request/show/203652
OBS-URL: https://build.opensuse.org/package/show/Printing/hplip?expand=0&rev=83
2013-10-17 15:47:40 +00:00
Johannes Meixner
9cac513ea8 Accepting request 198711 from home:jsmeix:branches:Printing
Version upgrade to 3.13.9

OBS-URL: https://build.opensuse.org/request/show/198711
OBS-URL: https://build.opensuse.org/package/show/Printing/hplip?expand=0&rev=81
2013-09-12 14:34:45 +00:00
Johannes Meixner
3e02bc53d3 Accepting request 198327 from home:jsmeix:branches:Printing
Added udev rule that only uploads firmware into printer that need it (see upstream bug https://bugs.launchpad.net/hplip/+bug/1220628/comments/18)

OBS-URL: https://build.opensuse.org/request/show/198327
OBS-URL: https://build.opensuse.org/package/show/Printing/hplip?expand=0&rev=79
2013-09-10 15:18:55 +00:00
Johannes Meixner
f415360fde Accepting request 197400 from home:jsmeix:branches:Printing
Version upgrade to 3.13.8

OBS-URL: https://build.opensuse.org/request/show/197400
OBS-URL: https://build.opensuse.org/package/show/Printing/hplip?expand=0&rev=77
2013-09-04 13:04:04 +00:00
Johannes Meixner
0524afe7d9 Accepting request 184100 from home:jsmeix:branches:Printing
HPLIP version upgrade to 3.13.7

OBS-URL: https://build.opensuse.org/request/show/184100
OBS-URL: https://build.opensuse.org/package/show/Printing/hplip?expand=0&rev=75
2013-07-23 14:03:37 +00:00
Johannes Meixner
d5dddb16d4 Accepting request 182918 from home:jsmeix:branches:Printing
HPLIP version upgrade to 3.13.6

OBS-URL: https://build.opensuse.org/request/show/182918
OBS-URL: https://build.opensuse.org/package/show/Printing/hplip?expand=0&rev=73
2013-07-12 12:20:30 +00:00
Johannes Meixner
c8d0df09e5 Accepting request 171115 from home:jsmeix:branches:Printing
HPLIP version upgrade to 3.13.4

OBS-URL: https://build.opensuse.org/request/show/171115
OBS-URL: https://build.opensuse.org/package/show/Printing/hplip?expand=0&rev=71
2013-04-16 12:41:13 +00:00
Johannes Meixner
f8377e97ad Accepting request 159423 from home:msmeissn:branches:Printing
- use URLs in Source tags
- added gpg signature checking to %prep.

OBS-URL: https://build.opensuse.org/request/show/159423
OBS-URL: https://build.opensuse.org/package/show/Printing/hplip?expand=0&rev=69
2013-03-19 08:40:18 +00:00
Johannes Meixner
efa1a2dc7c Accepting request 158651 from home:jsmeix:branches:Printing
HPLIP version upgrade to 3.13.3.

OBS-URL: https://build.opensuse.org/request/show/158651
OBS-URL: https://build.opensuse.org/package/show/Printing/hplip?expand=0&rev=67
2013-03-12 11:12:52 +00:00
Johannes Meixner
417a60ac86 - Removed hp-systray.wrapper because the reason for it
is no longer in compliance with HPLIP upstream intentions
  (see SUSE Bugzilla bnc#649280 starting at comment#10).

OBS-URL: https://build.opensuse.org/package/show/Printing/hplip?expand=0&rev=65
2013-03-06 09:08:33 +00:00
Johannes Meixner
b8d820e99f Accepting request 155552 from home:jsmeix:branches:Printing
HPLIP version upgrade to 3.13.2.

OBS-URL: https://build.opensuse.org/request/show/155552
OBS-URL: https://build.opensuse.org/package/show/Printing/hplip?expand=0&rev=63
2013-02-15 15:38:15 +00:00
Johannes Meixner
b3ec575433 Accepting request 149796 from home:jsmeix:branches:Printing
Create /var/log/hp/tmp/ directory (bnc#800312)

OBS-URL: https://build.opensuse.org/request/show/149796
OBS-URL: https://build.opensuse.org/package/show/Printing/hplip?expand=0&rev=61
2013-01-24 14:31:28 +00:00
Johannes Meixner
147129274d Accepting request 143650 from home:jsmeix:branches:Printing
Version upgrade to 3.12.11

OBS-URL: https://build.opensuse.org/request/show/143650
OBS-URL: https://build.opensuse.org/package/show/Printing/hplip?expand=0&rev=59
2012-11-30 11:22:19 +00:00
Johannes Meixner
d7f4ed5f98 Accepting request 137740 from home:jsmeix:branches:Printing
Bugfix version upgrade to 3.12.10a that fixes only bnc#784173 plus a fix for bnc#783810

OBS-URL: https://build.opensuse.org/request/show/137740
OBS-URL: https://build.opensuse.org/package/show/Printing/hplip?expand=0&rev=57
2012-10-10 13:46:53 +00:00
Johannes Meixner
af334604b3 Accepting request 137243 from home:jsmeix:branches:Printing
Version upgrade to 3.12.10

OBS-URL: https://build.opensuse.org/request/show/137243
OBS-URL: https://build.opensuse.org/package/show/Printing/hplip?expand=0&rev=56
2012-10-05 13:04:18 +00:00
Johannes Meixner
0182ffdd21 Accepting request 137049 from home:jsmeix:branches:Printing
Version upgrade to 3.12.9 plus fix for bnc#780413

OBS-URL: https://build.opensuse.org/request/show/137049
OBS-URL: https://build.opensuse.org/package/show/Printing/hplip?expand=0&rev=55
2012-10-04 15:20:01 +00:00
Johannes Meixner
ac1f00a7e9 - Provide the /var/lib/hp directory that is required in particular
by hp-plugin (see https://bugs.launchpad.net/hplip/+bug/1018303)
  in the hplip-hpijs package to be on the safe side because
  hplip-hpijs is the minimal (printing-only) way to use HPLIP.

OBS-URL: https://build.opensuse.org/package/show/Printing/hplip?expand=0&rev=53
2012-06-28 10:48:50 +00:00
Johannes Meixner
f3eac31e93 Use the patch file name fix-no-return-in-nonvoid-function.diff
in hplip.changes entry to be 100% clear what is fixed by which
patch file and when and by whom which patch file was added.

OBS-URL: https://build.opensuse.org/package/show/Printing/hplip?expand=0&rev=52
2012-06-27 10:22:36 +00:00
Johannes Meixner
4a278ff520 Removed "BuildRequires: libusb-1_0-0" because libusb-1_0-devel
has a "Requires: libusb-1_0-0".

Split too long lines in changes file into several lines.

OBS-URL: https://build.opensuse.org/package/show/Printing/hplip?expand=0&rev=51
2012-06-26 11:30:01 +00:00
Johannes Meixner
c8eef55832 Accepting request 126028 from home:phiwag:branches:Printing
Updated to hplip 3.12.6

OBS-URL: https://build.opensuse.org/request/show/126028
OBS-URL: https://build.opensuse.org/package/show/Printing/hplip?expand=0&rev=50
2012-06-26 11:12:09 +00:00
Johannes Meixner
3fd5839584 - hplip.SuSEfirewall2 is no longer provided
(see SUSE Bugzilla bnc#757354 comment #10).

OBS-URL: https://build.opensuse.org/package/show/Printing/hplip?expand=0&rev=48
2012-04-24 11:52:41 +00:00
Johannes Meixner
f61539c24c Accepting request 113411 from home:jsmeix:branches:Printing
version upgrade to hplip-3.12.4 plus fix for bnc#755820 and bnc#735865

OBS-URL: https://build.opensuse.org/request/show/113411
OBS-URL: https://build.opensuse.org/package/show/Printing/hplip?expand=0&rev=46
2012-04-13 13:36:52 +00:00