Commit Graph

136 Commits

Author SHA1 Message Date
arthsmn
52d2734b0c
hplip: remove arthsmn from maintainers 2024-07-22 22:59:38 -03:00
Alois Wohlschlager
57428640ff
hplip: 3.23.8 -> 3.24.4
Remove a patch that does no longer apply and seems to be not needed any more.
2024-07-10 05:55:13 +02:00
Alois Wohlschlager
ac20a96efd
hplip: fix dependencies
Wrapping with gobject-introspection is required so that hp-systray is able to
find dbus. Sip4 is outdated and seems no longer required.
2024-07-10 05:55:05 +02:00
John Chadwick
fc8576c062 hplip: fix 2024-07-08 20:26:45 -04:00
北雁 Cryolitia
93a9ca34fe
ghostscript: add output fonts 2024-05-28 11:50:34 +08:00
Felix Bühler
e0fe5361fd
Merge pull request #279367 from Stunkymonkey/sip4-normalize
python311Packages.sip4: rename from sip_4
2024-01-14 13:16:56 +01:00
Felix Buehler
a69b0e8a68 python311Packages.sip4: rename from sip_4 2024-01-10 22:50:20 +01:00
Felix Buehler
f5888649c0 python311Packages.pyqt5-sip: rename from pyqt5_sip 2024-01-10 22:49:05 +01:00
Doron Behar
3a546238f4 hplip: don't double wrap with qt env 2023-12-25 14:58:15 +02:00
Doron Behar
78d486bc1a hplip: add support for qtwayland
Otherwise, if `QT_QPA_PLATFORM=wayland`, qt based programs will
segfault.
2023-12-25 14:22:58 +02:00
Arthur
eff5176f70 hplip: 3.23.3 -> 3.23.8
Update pkgs/misc/drivers/hplip/default.nix

Co-authored-by: éclairevoyant <848000+eclairevoyant@users.noreply.github.com>

Update pkgs/misc/drivers/hplip/default.nix

Co-authored-by: éclairevoyant <848000+eclairevoyant@users.noreply.github.com>
2023-11-21 21:56:05 -03:00
undefined
d0403d923f
hplip: 3.22.6 -> 3.23.3 2023-04-08 00:37:48 +08:00
Vladimír Čunát
3fbc1838eb
hplip: disable parallel installing
> cannot find -lhpipp
https://hydra.nixos.org/log/s0c7hm2jpwd64msh8xqm6y6q1ihnplci-hplip-3.22.6.drv
2023-03-25 10:03:18 +01:00
jopejoe1
7cee2ad598 hplip: fix broken/hardcoded paths in .desktop files 2023-03-20 16:04:21 +01:00
Sandro Jäckel
fb7c2cdb51
hplip: fix patch download link 2023-02-27 00:56:34 +01:00
Claudio Bley
3ed1328b9b hplip: 3.21.12 -> 3.22.6
* add patch from Debian which removes closed-source binary blobs from the
  package and fixes the build on aarch64-linux

* add patch that reverts calls of `strcpy` replaced with `snprintf`

Fixes #162141.
2022-07-02 11:07:58 +02:00
Lorenz Brun
d40f59d7db hplip: add missing distro dependency
This is required by hp-wificonfig, otherwise it crashes.
2022-05-28 16:36:47 +02:00
Doron Behar
38afa0bd75 hplip: Fix missing pyqt5_sip module
Fixes #114051.
2022-02-15 13:29:51 +02:00
Florian Klink
c1c6066185 hplip: 3.20.11 -> 3.21.12
The ImageProcessor component became a configure option, so we can drop
the patch.
2022-02-14 22:52:23 +01:00
ajs124
a389429453 hplip_3_16_11: drop 2022-01-21 03:51:41 +01:00
Markus S. Wamser
b0249fdf99 pkgs.misc: remove unused args 2021-11-13 23:09:33 +01:00
Vladimír Čunát
2ae4f06e4f
hplip: replace preConfigure with a nicer approach
The newlines were a problem at *this* moment:
https://github.com/NixOS/nixpkgs/commit/c335a18e#commitcomment-53611461
but let's make the hplip expression nicer regardless of how that ends.
2021-07-17 10:22:19 +02:00
Artturin
1422563f54 hplip: add -n to gzip to improve reproducibility 2021-07-07 23:50:47 +03:00
Artturin
46c7445c34 hplip: hardcode ppdc path to fix #44230
the ppdc: Warning - overlapping filename can be ignored
https://bugs.launchpad.net/hplip/+bug/1756967
2021-07-01 03:38:15 +03:00
Eduardo Sánchez Muñoz
42d9ba907c hplip_3_18_5: remove
It does not seem to be used anymore and will allow to simplify pyqt5's expression (https://github.com/NixOS/nixpkgs/pull/123378#issuecomment-866786136).
2021-06-27 00:25:13 +02:00
Sandro
11d75bc234
Merge pull request #123086 from mebubo/hplipWithPlugin
hplipWithPlugin: correct arch name for the plugin file on aarch64
2021-05-17 19:30:03 +02:00
Sergei Dolgov
5153e0e491 hplipWithPlugin: correct arch name for the plugin file on aarch64
Without this change, building hplipWithPlugin on aarch64 fails with:

    cp: cannot stat 'lj-aarch64.so': No such file or directory
    builder for '/nix/store/p0x02ppv0n1xj46wvik3p3cn4jikmr1q-hplip-3.20.11.drv' failed with exit code 1

This is because the corresponding file in the archive is actually called
lj-arm64.so.

hplipPlatforms exists to convert between the different names; this
commit only changes the value to a correct one.
2021-05-15 12:21:43 +02:00
Eduardo Sánchez Muñoz
08a26e4579 pythonPackages.sip: rename to sip_4
sip 4 is the old and unmaintained version
2021-05-10 20:41:38 +02:00
Ben Siraphob
fce00d15c2 pkgs/misc: pkgconfig -> pkg-config 2021-01-16 23:49:59 -08:00
Ben Siraphob
badf51221d treewide: stdenv.lib -> lib 2021-01-16 17:58:11 +07:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Bryan Gardiner
60df55c9fb
hplip: fix hp-setup crash by adding proper NixOS PPD search path
HPLIP's getSystemPPDs() function relies on searching for PPDs below common FHS
paths.  None of these exist on NixOS, but the code assumes that at least one of
the directories will be found, and crashes when it doesn't (cups_ppd_path is
None and the code passes that to os.path.join).

A usable PPD search path for the running system on NixOS is
/var/lib/cups/path/share, so this patches the source to check this path as well.
This should fix the NixOS case and keep non-NixOS cases working too.
2021-01-09 17:07:30 -08:00
Doron Behar
b6270a2d90 hplip: 3.20.5 -> 3.20.11 2021-01-05 10:23:16 +02:00
Graham Christensen
bc49a0815a
utillinux: rename to util-linux 2020-11-24 12:42:06 -05:00
Doron Behar
359f2345c0 hplip: Remove all python related gcc references
Use in stripDebugList python sitePackages directory used by the build,
and don't hard code python3.7's sitePackages path.
2020-07-12 14:24:05 +03:00
Florian Klink
907353b1e4 hplip: use wrapQtApp
Otherwise, things like hp-setup segfault if you run them from another
nixpkgs checkout:

```
HP Linux Imaging and Printing System (ver. 3.20.5)
Printer/Fax Setup Utility ver. 9.0

Copyright (c) 2001-18 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

[1]    4543 abort (core dumped)  result/bin/hp-setup
```
2020-06-16 20:34:30 +02:00
Bastian Köcher
88f749545c hplip: Add missing library
Otherwise, things like `hp-setup` fail finding gi:

```
HP Linux Imaging and Printing System (ver. 3.20.5)
Printer/Fax Setup Utility ver. 9.0

Copyright (c) 2001-18 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

Traceback (most recent call last):
  File "/nix/store/rmzq8c4n47s4q4p31w18waz0zrba2ljl-hplip-3.20.5/share/hplip/setup.py", line 314, in <module>
    ui = import_module(ui_package + ".setupdialog")
  File "/nix/store/n0b076p351ma864q38if4yglsg99hw2s-python3-3.8.3/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/nix/store/rmzq8c4n47s4q4p31w18waz0zrba2ljl-hplip-3.20.5/share/hplip/ui5/setupdialog.py", line 31, in <module>
    from base import device, utils, models, pkit
  File "/nix/store/rmzq8c4n47s4q4p31w18waz0zrba2ljl-hplip-3.20.5/share/hplip/base/pkit.py", line 38, in <module>
    from gi import _gobject as gobject
ModuleNotFoundError: No module named 'gi'
```
2020-06-16 20:26:40 +02:00
Florian Klink
fd2627babf
Merge pull request #89120 from dasj19/hplip-update
Upgrade hplip & hplip plugin to 3.20.5
2020-06-16 01:33:06 +02:00
Daniel Șerbănescu
37583e45a2 hplip: 3.20.3 -> 3.20.5 2020-06-16 01:31:14 +02:00
Doron Behar
c59e8d3fb3 hplip: don't reference gcc in binaries from /share and other locations 2020-06-03 20:32:32 +03:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Daniel Șerbănescu
d7d3b0deff hplip: 3.19.12 -> 3.20.3 2020-03-24 22:17:40 +01:00
talyz
c4f58aba47 hplip: Fix plugin url and hash 2020-01-22 10:23:01 +01:00
Thomas Tuegel
c6bed9f7dd
Merge pull request #76128 from Mic92/hplip
hplip: 3.19.6 -> 3.19.12
2020-01-16 10:01:10 -06:00
Jörg Thalheim
725f85e271
net-snmp: rename from net_snmp 2019-12-21 22:56:08 +00:00
Jörg Thalheim
4d7ae1e646
hplip: 3.19.6 -> 3.19.12 2019-12-21 07:39:09 +00:00
Graham Christensen
821d50e304
hplip: add dbus-python to the deps 2019-12-18 23:12:23 -05:00
Graham Christensen
34e63b4615
hplip: python2 -> python3
Tested with a local HP printer
2019-12-18 23:12:19 -05:00
Frederik Rietdijk
8ea50952b2 hplip: use python2Packages
While Python 3 is (partially) supported, it requires more effort to fix
it.
2019-11-13 16:27:37 +01:00
volth
35d68ef143 treewide: remove redundant quotes 2019-08-26 21:40:19 +00:00