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.
Search Criteria
Package Details: hplip-plugin 3.24.4-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 |
Licenses: | LicenseRef-HPLIP-LICENSE |
Submitter: | pyropeter |
Maintainer: | carsme |
Last Packager: | carsme |
Votes: | 406 |
Popularity: | 0.31 |
First Submitted: | 2010-12-21 00:32 (UTC) |
Last Updated: | 2024-06-23 05:00 (UTC) |
Dependencies (5)
- gcc-libs (gcc-libs-gitAUR, gccrs-libs-gitAUR, gcc11-libsAUR, gcc-libs-snapshotAUR)
- glibc (glibc-gitAUR, glibc-linux4AUR, glibc-eacAUR, glibc-eac-binAUR, glibc-eac-rocoAUR)
- hplip (hplip-liteAUR, hplip-minimalAUR)
- libusb-compat (libusb0AUR)
- sane (sane-gitAUR)
Required by (0)
Sources (2)
Latest Comments
« First ‹ Previous 1 .. 23 24 25 26 27 28 29 30 31 32 33 34 Next › Last »
dgbaley27 commented on 2012-11-07 16:17 (UTC)
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')
jamesbond007 commented on 2012-10-30 23:45 (UTC)
Can anyone confirm that hplip-plugin 3.12.10a-1 works?
said commented on 2012-10-23 15:55 (UTC)
Thanks pyropeter. I adopted this package. Eventually i will probaly switch to foo2zjs too.
pyropeter commented on 2012-10-23 08:23 (UTC)
I'm disowning this now. I hope that the new maintainer will handle
this PKGBUILD with care. This is my first disowned package, so I
might be a bit sentimental about it. *Sniff* farewell, package!
@said: It's foo2zjs: http://foo2zjs.rkkda.com/
farnsworth commented on 2012-10-13 09:44 (UTC)
ksniffer, I was able to install it (remove hplip-plugin, update hplip then reinstall hplip-plugin) with the information given by zilti.
try to sudo mkdir /var/lib/hp this should solve your problem.
ksniffer commented on 2012-10-12 22:46 (UTC)
Zilti I have got these errors using you changes:
[ksniffer@arch-laptop hplip-plugin]$ makepkg -s
==> Making package: hplip-plugin 3.12.10a-1 (Sat Oct 13 00:45:30 CEST 2012)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
-> Downloading hplip-3.12.10a-plugin.run...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1765k 100 1765k 0 0 433k 0 0:00:04 0:00:04 --:--:-- 457k
==> Validating source files with md5sums...
hplip-3.12.10a-plugin.run ... Passed
==> Extracting Sources...
==> Entering fakeroot environment...
==> Starting package()...
./
./lj-x86_64.so
./fax_marvell-x86_64.so
./86-hpmud-sysfs_hp_laserjet_p1008.rules
./86-hpmud-hp_laserjet_p1007.rules
./bb_soapht-x86_32.so
./86-hpmud-sysfs_hp_laserjet_1005_series.rules
./hp_laserjet_1005_series.fw.gz
./86-hpmud-hp_laserjet_p1008.rules
./86-hpmud-hp_laserjet_professional_p1102w.rules
./hp_laserjet_professional_p1566.fw.gz
./bb_soap-x86_64.so
./86-hpmud-sysfs_hp_laserjet_1000.rules
./86-hpmud-hp_laserjet_p1505.rules
./hp_laserjet_p1007.fw.gz
./86-hpmud-sysfs_hp_laserjet_p1006.rules
./86-hpmud-sysfs_hp_laserjet_1020.rules
./86-hpmud-hp_laserjet_p1006.rules
./plugin.spec
./86-hpmud-hp_laserjet_1018.rules
./hp_laserjet_1000.fw.gz
./hp_laserjet_professional_p1102.fw.gz
./86-hpmud-sysfs_hp_laserjet_p1505.rules
./license.txt
./86-hpmud-sysfs_hp_laserjet_professional_p1102w.rules
./hp_laserjet_1020.fw.gz
./86-hpmud-sysfs_hp_laserjet_professional_p1566.rules
./bb_marvell-x86_64.so
./86-hpmud-hp_laserjet_p1005.rules
./hplip-plugin-install
./hp_laserjet_p1005.fw.gz
./86-hpmud-sysfs_hp_laserjet_professional_p1102.rules
./86-hpmud-hp_laserjet_professional_p1566.rules
./hp_laserjet_p1006.fw.gz
./86-hpmud-sysfs_hp_laserjet_p1007.rules
./lj-x86_32.so
./plugin_install.py
./86-hpmud-sysfs_hp_laserjet_p1005.rules
./bb_soapht-x86_64.so
./bb_soap-x86_32.so
./hp_laserjet_p1505.fw.gz
./bb_marvell-x86_32.so
./86-hpmud-hp_laserjet_professional_p1102.rules
./86-hpmud-hp_laserjet_1020.rules
./hp_laserjet_p1009.fw.gz
./86-hpmud-sysfs_hp_laserjet_1018.rules
./version.txt
./86-hpmud-hp_laserjet_1005_series.rules
./86-hpmud-hp_laserjet_1000.rules
./fax_marvell-x86_32.so
./hp_laserjet_p1008.fw.gz
./hp_laserjet_1018.fw.gz
./hp_laserjet_professional_p1102w.fw.gz
Traceback (most recent call last):
File "plugin_install.py", line 75, in <module>
from base.g import *
File "/usr/share/hplip/base/g.py", line 210, in <module>
sys_state = State()
File "/usr/share/hplip/base/g.py", line 153, in __init__
os.makedirs('/var/lib/hp/')
File "/usr/lib/python2.7/os.py", line 157, in makedirs
mkdir(name, mode)
OSError: [Errno 13] Permission denied: '/var/lib/hp/'
==> ERROR: A failure occurred in package().
Aborting...
zilti commented on 2012-10-12 08:02 (UTC)
To install current version, simply edit the PKGBUILD, replace:
pkgver=3.12.10a
depends=(hplip=3.12.10.a)
md5sums=('7e9065367c347c76284be168143a0588')
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:
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!