Package Details: hplip-plugin 3.25.2-1

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
Keywords: fax hp printer scanner
Licenses: LicenseRef-HPLIP-LICENSE
Submitter: pyropeter
Maintainer: ZhangHua
Last Packager: ZhangHua
Votes: 402
Popularity: 0.026081
First Submitted: 2010-12-21 00:32 (UTC)
Last Updated: 2025-03-31 12:08 (UTC)

Pinned Comments

ZhangHua commented on 2025-03-31 03:44 (UTC) (edited on 2025-04-01 01:28 (UTC) by ZhangHua)

Please ensure your working directory is in the repository, because we use a custom download agent to download sources, this download agent is a curl wrapper with UA set to firefox's. We call curl directly, using config file to provide User Agent with space.

As for why not set UA in command directly, please check https://wiki.archlinux.org/title/Nonfree_applications_package_guidelines#Custom_DLAGENTS for more info.

I tested paru and it seems can work without any change. But I am not sure if other AUR helpers also can work.

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 .. 5 6 7 8 9 10 11 12 13 14 15 .. 36 Next › Last »

mkiefel commented on 2020-06-23 21:10 (UTC) (edited on 2020-06-23 21:10 (UTC) by mkiefel)

What about adding arm6h support as well? Using this for already quite a while with a first version Raspberry Pi.

From 489eb7d7bea890a1e5c215ced902e518a557b0a3 Mon Sep 17 00:00:00 2001
From: Martin Kiefel <mk@nopw.de>
Date: Sun, 5 Jan 2020 19:40:49 +0100
Subject: [PATCH] Add arm6h support

---
 PKGBUILD | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/PKGBUILD b/PKGBUILD
index c835663..e029369 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=hplip-plugin
 pkgver=3.20.6
 pkgrel=1
 pkgdesc="Binary plugin for HPs hplip printer driver library"
-arch=('i686' 'x86_64' 'armv7h' 'aarch64')
+arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'aarch64')
 url="http://hplipopensource.com/node/309"
 license=('custom:proprietary')
 depends=("hplip>=$pkgver") 
@@ -26,6 +26,8 @@ package(){
         _arch='x86_32'
     elif [ $CARCH = "x86_64" ]; then
         _arch='x86_64'
+    elif [ $CARCH = "armv6h" ]; then
+        _arch='arm32'
     elif [ $CARCH = "armv7h" ]; then
         _arch='arm32'
     elif [ $CARCH = "aarch64" ]; then
-- 
2.27.0

mso commented on 2020-04-25 20:16 (UTC) (edited on 2020-04-25 20:24 (UTC) by mso)

Found the same error as leo_sk when installing hplip-plugin from pamac manager (GUI).

When I tried to install the package from the command line (pamac build hplip-plugin) it showed the problem: some files already existed on the system.

I deleted the contents at the following locations and then I was able to properly install the hplip-plugin (3.20.3-2) package: /usr/share/hplip/plugin.spec /usr/share/hplip/data/firmware/* /usr/share/hplip/fax/plugins/* /usr/share/hplip/prnt/plugins/* /usr/share/hplip/scan/plugins/*

I believe that the problem was that I had previously ran hp-toolbox that tried to install the plugins (it actually said it succeeded).

Despite the fact that the package has been installed properly hp-toolbox keeps asking for the plugin to be downloaded (for an HP Laserjet P1102w).

However adding the printer from KDE's GUI worked flawlessly.

leo_sk commented on 2020-01-23 14:32 (UTC)

I get error : var/tmp/pamac-build-shaurya/hplip-plugin/PKGBUILD: line 24: cd: /var/tmp/pamac-build-shaurya/hplip-plugin/src/hplip-3.19.12-plugin: No such file or directory

zfkerr commented on 2019-11-05 21:17 (UTC)

Does the license for this driver allow it to be added to the official Arch Linux repositories?

taterdzai commented on 2019-06-25 11:21 (UTC)

hplip plugin supports arm32 and arm64 arch, so maybe they should be added

kaaposc commented on 2019-05-22 11:03 (UTC)

Maybe 'sane' should be added to dependencies because plugin installation fails in an uninformative way because it can't find '/etc/sane.d/dll/conf' file.

PurpleStephyr commented on 2019-03-16 15:06 (UTC)

I saw a similar issue to @SirNiczeK and @nrw when trying to update with aura:

aura >>= Building hplip-plugin... aura >>= Well, building hplip-plugin failed. aura >>= Dumping makepkg output in 3.. 2.. 1.. ==> Making package: hplip-plugin 3.19.1-1 (Sat 16 Mar 2019 10:55:31 AM EDT) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Downloading hplip-3.19.1-plugin.run... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 10.9M 100 10.9M 0 0 2479k 0 0:00:04 0:00:04 --:--:-- 2479k ==> Validating source files with md5sums... hplip-3.19.1-plugin.run ... Passed ==> Extracting sources... ==> Starting prepare()... ==> Entering fakeroot environment... ==> Starting package()... /var/cache/pacman/pkg/hplip-plugin6126/hplip-plugin/PKGBUILD: line 23: cd: /var/cache/pacman/pkg/hplip-plugin6126/hplip-plugin/src/hplip-3.19.1-plugin: No such file or directory ==> ERROR: A failure occurred in package(). Aborting...

I had no problems installing the package manually though - probably a bug in aura.

gerson commented on 2019-02-08 19:06 (UTC)

@ron2138, and @SirNiczeK, I'm not sure if it is the case, but which distro are you using? For instance, the Manjaro packages are slightly delayed with respect to Arch. For the hplip-plugin package it leads to occasional inconsistency with the versions. Since the AUR plugin follows the version the hplip package in Arch, it happens that the Manjaro package is outdated and one cannot update the plugin. You have to wait for the Manjaro hplip package to be updated.

ron2138 commented on 2019-02-08 17:02 (UTC) (edited on 2019-02-08 17:06 (UTC) by ron2138)

Refering to @SirNiczeK comment from 2019-02-01 08:34, and @nrw comment from 2019-01-01 06:30:

Have you solved it? It could be the problem is specific to your environment because I believe it works for most users.