Package Details: hplip-plugin 3.23.12-3

Git Clone URL: https://aur.archlinux.org/hplip-plugin.git (read-only, click to copy)
Package Base: hplip-plugin
Description: Binary plugin for HPs hplip printer driver library
Upstream URL: https://developers.hp.com/hp-linux-imaging-and-printing/binary_plugin.html
Licenses: LicenseRef-HPLIP-LICENSE
Submitter: pyropeter
Maintainer: carsme
Last Packager: carsme
Votes: 404
Popularity: 2.84
First Submitted: 2010-12-21 00:32 (UTC)
Last Updated: 2024-01-28 22:37 (UTC)

Pinned Comments

carsme commented on 2024-01-15 16:53 (UTC) (edited on 2024-02-04 14:15 (UTC) by carsme)

Hey, I've adopted this package and applied some of the suggestions:

  • Add missing dependencies, notably libusb-compat and sane (cred @ZhandHua).
  • Depend on exact version of hplip (cred @jsn42).

In addition, the PGP-signature of the artifact is now checked, which means you need to fetch upstream's key:

gpg --keyserver hkps://keyserver.ubuntu.com --recv-keys 4ABA2F66DBD5A95894910E0673D770CDA59047B9

Unfortunately, I have no HP printer at home so my testing ability is limited to running hp-diagnose_plugin. If someone has better opportunity to test and is interested in maintaining, let me know and I'll handover the package or add you as a co-maintainer. Cheers!

Latest Comments

« First ‹ Previous 1 .. 22 23 24 25 26 27 28 29 30 31 32 .. 34 Next › Last »

vrtladept commented on 2013-01-07 01:47 (UTC)

I installed this but whenever I try to setup the printer it still tells me I'm missing the plug-in (using hp-setup). I also tried to just install it directly with cups, but still doesn't work.

<deleted-account> commented on 2012-12-02 23:12 (UTC)

PKGBUILD updated and cleaned up. Note: now, the PKGBUILD just copies the files directly, without relying on hplip installation routines. If you have any problem, let me know.

kfl62 commented on 2012-11-30 07:50 (UTC)

3.12.11 md5sum '71ca43371bec133edebd29affcb8ecae'

harsha5500 commented on 2012-11-12 07:41 (UTC)

I got this working in a different way. I am posting this as a stop gap. If you have installed hplip from the official repos, there should be a 'hp-plugin' binary. Run it as root. There is a problem in the setup if you notice in the terminal, there is a python error. I figured it might be a problem with the Python2 vs Python3 syntax error as Arch is now Python3 by default. I did some renaming to temporarily point the 'python' binary to 'python2' (moved the original python in '/usr/bin/' to somewhere else and copied 'python2' to 'python' in '/usr/bin'. Reverted back after installation was done) and it worked! I switched back the binaries and the plugin is working. Will however wait for the packer version though.

<deleted-account> commented on 2012-11-07 18:28 (UTC)

For now packer can't build this package (it needs sudo). makepkg can't build it with and without sudo. Is this package installable?

pyropeter commented on 2012-11-07 17:04 (UTC)

That check should not test if the package is built as root. It checks if the config file is writeable, because the plugin installer tries to overwrite that file. If you remove that check and build the package as root (or any user that has the rights to overwrite the config), you will end up with a PKGBUILD that has side effects on the build system. The real solution is probably what I wrote in an earlier comment: > The new hplip 3.12.10 changed the code used to install the > plugin, so it would probably be easier to just copy the files directly, without > relying on hplips installation routines. I noticed that this package needs to > set some flags in hplips state configuration file (in postinst). See the plugin installation stuff in hplip for details.

dgbaley27 commented on 2012-11-07 16:17 (UTC)

Agreed. That test is kind of silly. By default makepkg refuses to run as root, and there's a flag to override it. Not to mention that's an odd way of checking.

archan.paul commented on 2012-11-07 12:20 (UTC)

I think following lines should be removed such that the package can be built as root. 26 if [ -w /etc/hp/hplip.conf ]; then 27 echo 'You should not make this package as root!!111!1' 28 return 1 29 fi When I tried to build it as user in root group, I got "OSError: [Errno 13] Permission denied: '/var/lib/hp/'" error as permission for /var/lib is 755.

dgbaley27 commented on 2012-11-04 03:45 (UTC)

So, I just had a hard time getting my firmware to load with the HP Laserjet 1020. I rewrote the rule for it: -----------------------8<---------------------- SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="2b17", \ RUN+="/usr/bin/systemd-cat -t hp-firmware -p5 /usr/bin/python2 /usr/bin/hp-firmware -n -y3 -s$env{BUSNUM}:$env{DEVNUM}" ----------------------->8---------------------- If anyone has problems they might want to try this rule. I wonder if we can unify all of them. Also, does anyone know why these rules have a delay of 3 seconds (-y3)?

8472 commented on 2012-10-31 14:27 (UTC)

@jamesbond007: yes, using zilti's patch, updating it to latest ver., it works fine: pkgver=3.12.10a depends=('hplip=3.12.10.a-3') md5sums=('7e9065367c347c76284be168143a0588')