Undeclared variable srcdir, that's what I think it's happening.
Downlaoded and ran: https://www.openprinting.org/download/printdriver/auxfiles/HP/plugins/hplip-3.20.6-plugin.run
Just check for the particular version for you
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.022177 |
First Submitted: | 2010-12-21 00:32 (UTC) |
Last Updated: | 2025-04-05 00:57 (UTC) |
« First ‹ Previous 1 .. 6 7 8 9 10 11 12 13 14 15 16 .. 38 Next › Last »
Undeclared variable srcdir, that's what I think it's happening.
Downlaoded and ran: https://www.openprinting.org/download/printdriver/auxfiles/HP/plugins/hplip-3.20.6-plugin.run
Just check for the particular version for you
Any idea of how to solve this?
the pgp.mit.edu server is down/has a timeout most of the time, so i always have to run the command sed -i "s/'pgp.mit.edu'/'keyserver.ubuntu.com'/" /usr/share/hplip/base/validation.py
in order to be able to receive the proper HPLIP Digital Certificate..
Could you add pentium4 to the PKGBUILD? See https://wiki.archlinux.org/index.php?title=PKGBUILD&diff=633913&oldid=633868
Recently I installed hplip for HP color laserjet pro mfp m283fdn device. Printing was fine, but scanner did not work: scanner device was found but connection could not be established.
It did work however after I installed hplip-plugin.
==> Does it makes sense to add hplip-plugin as dependency to hplip package?
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
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.
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
Does the license for this driver allow it to be added to the official Arch Linux repositories?
Pinned Comments
ZhangHua commented on 2025-03-31 03:44 (UTC) (edited on 2025-04-03 12:45 (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.
Edit: Found a problem, if you use custom
$SRCDEST
for makepkg, you need to copyua.curlrc
to$SRCDEST
manually, or there will be a failure when downloading sources.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:
libusb-compat
andsane
(cred @ZhandHua).Depend on exact version ofhplip
(cred @jsn42).In addition, the PGP-signature of the artifact is now checked, which means you need to fetch upstream's key:
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!