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: 403
Popularity: 0.75
First Submitted: 2010-12-21 00:32 (UTC)
Last Updated: 2025-04-05 00:57 (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 2 3 4 5 6 7 8 .. 38 Next › Last »

ZhangHua commented on 2025-04-01 01:23 (UTC)

@Toolybird Would you mind to check if the repository is updated completely? I do not update .SRCINFO so some aur helper may not update the repository. I tested by running makechrootpkg -c -r /var/lib/aurbuild/x86_64 -u in this repository manually and it seems fine.

Toolybird commented on 2025-03-31 20:03 (UTC)

Not working here in a clean chroot with aurutils:

curl: cannot read config from 'ua.curlrc'
curl: option --config: error encountered when reading a file
curl: try 'curl --help' for more information

ZhangHua commented on 2025-03-31 12:26 (UTC)

@Lone_Wolf I find a way on forum to set User Agent to string contains space. ERROR: The download program curl-firefox is not installed. should not happen anymore.

Lone_Wolf commented on 2025-03-31 10:12 (UTC)

Confirmed, this is tricky but there may be better ways to solve this.

Please start a thread on archlinux forum in AUR Issues, Discussion & PKGBUILD Requests to get input on it.

ZhangHua commented on 2025-03-31 09:32 (UTC)

@Lone_Wolf Because simply using Mozilla as User-Agent cannot bypass its check:

$ curl -A 'Mozilla' -fLC - --retry 3 --retry-delay 3 -o /dev/null https://developers.hp.com/system/files/2025-03/hplip-3.25.2-plugin_run.zip
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 403

If you find any User-Agent without space and can bypass its check, please let me know so I can get rid of this wrapper.

Lone_Wolf commented on 2025-03-31 09:23 (UTC)

Why do you use a wrapper instead of DLAGENTS=("http::/usr/bin/curl -A 'Mozilla' -fLC - --retry 3 --retry-delay 3 -o %o %u") as suggested in the wiki ?

ZhangHua commented on 2025-03-31 09:14 (UTC)

@dbermond That's what I said in pinned message. That program is provided in this repository. Running makechrootpkg or makepkg in the repository seems working. But I cannot find a universal way to set path of curl-firefox correctly, because I do not know where the repository is on your PC.

dbermond commented on 2025-03-31 08:56 (UTC)

Getting error with makepkg and devtools: 'ERROR: The download program curl-firefox is not installed.'

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 copy ua.curlrc to $SRCDEST manually, or there will be a failure when downloading sources.

leandrocunha commented on 2025-03-30 15:18 (UTC) (edited on 2025-03-30 20:51 (UTC) by leandrocunha)

The package presented problems even when downloading, so anyone who wants to adopt it is welcome. Pacman does not support .asc via zip and I would have to create a script for this, which I did. But the installation fails.

curl -A "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36" -o "hplip-3.25.2-plugin_run.zip" "https://developers.hp.com/system/files/2025-03/hplip-3.25.2-plugin_run.zip"