Commit Graph

72 Commits

Author SHA1 Message Date
Bastian Köcher
8152db99d7 hplip: Adds missing depdency sip 2018-03-29 11:29:44 +02:00
Vladyslav M
be6d9e1e69 hplip: 3.17.10 -> 3.17.11 2018-03-12 21:48:45 +02:00
Bastian Köcher
9abc4a550f hplip: Fixes runtime errors
The following errors are fixed:
- pyqt4 not found
- hpasio for sane not found
2018-01-26 12:59:00 +01:00
Orivej Desh
fe05782a4f hplip: fix quoting for makeWrapper
Fixes #33625 after #31497
2018-01-09 00:31:38 +00:00
Thomas Tuegel
721e07ea99
hplip: 3.17.9 -> 3.17.10 2017-11-05 11:29:50 -06:00
Thomas Tuegel
a2b852caa0
hplip: change maintainers
Remove nckx and add ttuegel
2017-09-22 07:41:18 -05:00
Thomas Tuegel
ec62d5462d
hplip: 3.16.11 -> 3.17.9
hplip-3.16.11 is retained as `hplip_3_16_11`.
2017-09-22 07:41:17 -05:00
Thomas Tuegel
4c09acad5c
hplip: remove 3.15.9
hplip-3.15.9 has not been buildable in some time due to changes in CUPS.
2017-09-22 06:50:54 -05:00
Thomas Tuegel
1e2ebee42a
hplip: fix Python wrappers
We cannot rely on wrapPythonPrograms to wrap the installed executables because
they are symlinks (which it ignores). Instead, we have to emulate it to make
the wrappers ourselves.
2017-09-20 17:03:12 -05:00
Thomas Tuegel
5ab37fb913
hplip: install PPDs where CUPS will find them 2017-09-20 14:04:55 -05:00
Tim Jäger
0c54a292fb hplip: introduce nettools dependency (#26439)
* hplip: introduce nettools dependency

Some HP printers (notably a HP MFP M477fnw) need to run `hostname` as part of
the printing process. This executable is provided by the "nettools" package.

* hplip: prepend nettools to PATH
2017-06-10 10:04:33 +01:00
Frederik Rietdijk
94eb74eaad Merge remote-tracking branch 'upstream/master' into HEAD 2017-03-21 13:04:37 +01:00
Frederik Rietdijk
3760c8c7fd Python: replace mkPythonDerivation with buildPythonPackage and format="other";
This way all Python packages use the same function,
`buildPythonPackage`.
2017-03-21 13:01:49 +01:00
Jörg Thalheim
c031adedba
hplip: 3.16.5 -> 3.16.11
fixes #24109
2017-03-20 11:18:41 +01:00
Frederik Rietdijk
d9c7a14c6a hplip: use mkPythonDerivation
since hplip is a Python package that doesn't use setuptools. Note that a
setup.py is provided, however, using buildPythonPackage fails.
2016-10-26 10:46:53 +02:00
Tobias Geerinckx-Rice
0a2f4e4d56 Merge pull request #17850 from regnat/hplip
hplip: Allow building with plugins on arm
2016-09-23 21:39:36 +02:00
Kirill Boltaev
bccd75094f treewide: explicitly specify gtk and related package versions 2016-09-12 18:26:06 +03:00
Théophane Hufschmitt
2bee86d435 hplip: Allow building with plugins on arm 2016-08-19 19:14:50 +02:00
Frederik Rietdijk
6842a24b21 Remove top-level pyqt4
See #11567.
2016-08-14 12:38:01 +02:00
Tuomas Tynkkynen
9d5ba6ba68 treewide: Make explicit that 'dev' output of libusb1 is used 2016-05-19 10:00:47 +02:00
Tobias Geerinckx-Rice
628ac272da
hplip{,WithPlugin}: 3.16.3 -> 3.16.5 2016-05-08 00:45:08 +02:00
Tobias Geerinckx-Rice
f72d3b2bbf
hplip{,WithPlugin}: 3.15.11 -> 3.16.3 2016-04-30 14:15:33 +02:00
Théophane Hufschmitt
5059511324 hplip : add openssl as buildInput 2016-04-18 13:47:15 +02:00
Tobias Geerinckx-Rice
d54bc765b5 hplip: canonicalise 56-hpmud.rules' paths if installed
Fixes #14338.
2016-04-04 22:14:21 +02:00
Tobias Geerinckx-Rice
ac33b4724a More version attribute tidying where maintainers |= nckx 2016-01-25 20:08:34 +01:00
Tobias Geerinckx-Rice
99075fb402 saneBackends{,Git} -> sane-backends{,-git}
Fixes xsane evaluation.
2016-01-03 03:31:38 +01:00
Tobias Geerinckx-Rice
3cc1f8dd15 hplip 3.15.9 -> 3.15.11
Keep 3.15.9 available as hplip{,WithPlugin}_3_15_9 in case this
breaks someone's printer/day job.
2015-11-27 01:45:53 +01:00
Vladimír Čunát
ec980c7b1e hplip: fix evaluation errors on unsupported platforms
Evidently, `abort` is unrecoverable, and `throw` should be used instead.
Only partially tested, as I don't have enough RAM right now for it.
2015-11-23 15:42:22 +01:00
Tobias Geerinckx-Rice
15324dc7d4 hplip: remove duplicate platform definitions 2015-11-21 01:35:34 +01:00
Tobias Geerinckx-Rice
2e248040a6 hplip: fix broken platforms hack 2015-11-21 01:35:34 +01:00
Tobias Geerinckx-Rice
729b764c53 hplip: use lib.optionals for clarity 2015-11-21 01:34:48 +01:00
Tobias Geerinckx-Rice
612a0f248b hplip: under_scores -> camelCase 2015-11-21 01:34:29 +01:00
Tobias Geerinckx-Rice
97597d4f75 hplip: clean up & remove unused arguments 2015-11-21 01:33:15 +01:00
Jude Taylor
d63f0d3a6b hplip: fix evaluation 2015-10-20 15:54:33 -07:00
Tobias Geerinckx-Rice
7eba250f55 hplip & plugin: 3.15.6 -> 3.15.9 2015-09-18 02:04:05 +02:00
Tobias Geerinckx-Rice
b62debe042 hplip: 3.15.7 -> 3.15.6
Version 3.15.7 breaks certain (but not all) PCL-based printers:
b0e46fc3ea

Forgetting to revert a failed patch hunk certainly didn't help. Grr.
2015-08-04 20:00:20 +02:00
Thomas Tuegel
b0e46fc3ea hplip: remove ttuegel from maintainers
I no longer commit my changes to Nixpkgs because they are usually broken
by other maintainers.
2015-08-03 21:31:44 -05:00
Tobias Geerinckx-Rice
aebb3ec0f4 hplip: patch shebangs in $out/share
A full wrap isn't needed as these scripts are only run from within
hplip's own environment, and unwanted because they are imported
as Python modules.

Also fix a reference to /etc in $out/etc/hp/hplip.conf, though I've no
idea whether it is actually used.
2015-07-23 03:12:24 +02:00
Tobias Geerinckx-Rice
603b146979 hplip: 3.15.6 -> 3.15.7 2015-07-23 03:12:23 +02:00
Tobias Geerinckx-Rice
1bad2fa611 hplip: fix scanning for USB devices 2015-07-23 03:12:23 +02:00
Tobias Geerinckx-Rice
72f6a797fa hplip: fix (Python) tools again
Something changed in the generic fixupPhase magic exposing a bug
in the previous fix (wrapPythonPrograms where I should have used
wrapPythonProgramsIn).

Also move buildInputs and friends to a more conventional spot.
2015-07-23 03:12:23 +02:00
Tobias Geerinckx-Rice
98b2d7b727 Separate nativeBuildInputs where maintainers |= nckx 2015-06-17 22:21:32 +02:00
Tobias Geerinckx-Rice
9f5b9de559 hplip 3.15.4 -> 3.15.6 2015-06-13 16:14:40 +02:00
Tobias Geerinckx-Rice
ff7dd3e3b1 hplip: do wrap Python scripts in $out/lib 2015-05-17 23:39:58 +02:00
Tobias Geerinckx-Rice
393219d000 hplip: stop installing corrupted tools
None of the installed tools like hp-align or hp-toolbox could
work, because they tried to import wrapped Python scripts (i.e.
shell code) as Python modules. Fix this by:

- Substituting `dbus` for the defective `pythonDBus`.

- No longer blindly wrapping all python files, but replacing
  the original symlinks in $out/bin with wrapper scripts.
  These wrappers then `exec` the unmodified Python scripts in
  $out/share/hplip directly, instead of the .<name>-wrapped
  copy that wrapPythonProgramsIn creates. The latter are simply
  removed.

Sure, it's a bit ugly. It's also 2015 and I couldn't use my
printer :-/
2015-05-17 21:11:36 +02:00
Thomas Tuegel
c59c20ca0f Update HPLIP to 3.15.4 2015-05-16 14:12:11 -05:00
Simon Jagoe
691a65cb41 Update SHA256 for hplip plugin 2015-05-15 13:04:11 +01:00
Tobias Geerinckx-Rice
5f7f793d4e hplip: coalesce find -exec sed invocations
No need to scan the (biggish) source tree six times, forking a separate
process for every file each time. This was slowing down testing.
2015-05-13 15:09:43 +02:00
Thomas Tuegel
18e594eddb hplip: update to 3.15.2 2015-02-21 20:19:21 -06:00
Thomas Tuegel
28b55a318a hplip: ensure plugin version always up-to-date 2015-01-21 07:57:05 -06:00