Contents of /lib needs to be moved to /usr/lib
See https://wiki.archlinux.org/index.php/DeveloperWiki:usrlib
--- PKGBUILD 2012-06-23 21:14:12.000000000 +0200
+++ PKGBUILD~ 2012-07-14 20:21:07.117219136 +0200
@@ -2,7 +2,7 @@
pkgname=hplip-plugin
pkgver=3.12.6
-pkgrel=2
+pkgrel=3
pkgdesc="Binary plugin for HPs hplip printer driver library"
arch=('i686' 'x86_64')
url="http://hplipopensource.com/"
@@ -45,12 +45,12 @@
ln -sf "$relpath" "$link"
done < <(find "$pkgdir" -type l -print0)
- mkdir -p "$pkgdir"/lib/udev
- mv "$pkgdir"/etc/udev/rules.d "$pkgdir"/lib/udev/
- chmod 0644 "$pkgdir"/lib/udev/rules.d/*
+ mkdir -p "$pkgdir"/usr/lib/udev
+ mv "$pkgdir"/etc/udev/rules.d "$pkgdir"/usr/lib/udev/
+ chmod 0644 "$pkgdir"/usr/lib/udev/rules.d/*
rm -r "$pkgdir"/etc
sed -i -e "s|SYSFS|ATTR|g" \
-e "s|sysfs|attr|g" \
- -e 's|"bin/sh|"/bin/sh|g' "$pkgdir"/lib/udev/rules.d/*.rules
+ -e 's|"bin/sh|"/bin/sh|g' "$pkgdir"/usr/lib/udev/rules.d/*.rules
}
Search Criteria
Package Details: hplip-plugin 3.25.2-1
Package Actions
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.022630 |
First Submitted: | 2010-12-21 00:32 (UTC) |
Last Updated: | 2025-04-05 00:57 (UTC) |
Dependencies (5)
- gcc-libs (gcc-libs-gitAUR, gccrs-libs-gitAUR, gcc11-libsAUR, gcc-libs-snapshotAUR)
- glibc (glibc-gitAUR, glibc-linux4AUR, glibc-eacAUR)
- hplip (hplip-liteAUR, hplip-minimalAUR)
- libusb-compat (libusb0AUR)
- sane (sane-gitAUR)
Required by (0)
Sources (1)
Latest Comments
« First ‹ Previous 1 .. 28 29 30 31 32 33 34 35 36 37 Next › Last »
garyvdm commented on 2012-07-14 18:23 (UTC)
pyropeter commented on 2012-07-12 16:27 (UTC)
@said: You should try to consult the upstream support. They know how to deal with not-working issues.
said commented on 2012-07-12 09:26 (UTC)
Plug-in version: 3.12.6
Installed HPLIP version: 3.12.6
Number of files to install: 0
Used to work before with this plugin, not anymore. I've a laserjet p1006.
pyropeter commented on 2012-07-01 20:25 (UTC)
@holyArch: yes.
pyropeter commented on 2012-06-23 22:02 (UTC)
@GR3: You are welcome!
<deleted-account> commented on 2012-06-23 21:42 (UTC)
@pyropeter: Thanks for your hard work. Appreciate it!
pyropeter commented on 2012-06-23 19:17 (UTC)
uploaded 3.12.6-2
* now works with spaces in $startdir
@GR3: yes, that's a bug. I thought I had quoted every variable substitution, but apparently, I was wrong. It's fixed now.
<deleted-account> commented on 2012-06-23 18:11 (UTC)
@pyropeter: Nope. Its parent directory contained a space which I removed after reading your comment (was "june 2012" and changed it to "june2012") and it went through flawlessly. Bit awkward, isn't it?
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!