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...
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.021734 |
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 .. 27 28 29 30 31 32 33 34 35 36 37 38 Next › Last »
ksniffer commented on 2012-10-12 22:46 (UTC)
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')
said commented on 2012-10-11 23:35 (UTC)
@pyropeter
what is the name of the open source replacement that you are using?
btw just orphan the package, someone will adopt it for sure
pyropeter commented on 2012-10-11 06:18 (UTC)
My printer (LaserJet 1000) no longer works with this package. I also found
an open source replacement for this plugin. So I'm not using this PKGBUILD
at the moment. The new hplip 3.12.10 changed the code used to install the
plugin, so it would probably be easier to just copy the files directly, without
relying on hplips installation routines. I noticed that this package needs to
set some flags in hplips state configuration file (in postinst). See the
plugin installation stuff in hplip for details.
To make things worse, I don't have that much free time at the moment.
If anyone wants to adopt this package, I would be happy to orphan it.
If no other maintainer is found, the update to 3.12.10 might take quite a
while.
archan.paul commented on 2012-10-10 05:53 (UTC)
3.12.10 is there in [extra] now.
pyropeter commented on 2012-10-07 13:18 (UTC)
@holyArch: please wait for [extra] to contain the new hplip before flagging this package out-of-date.
pyropeter commented on 2012-10-02 16:06 (UTC)
What @davedrowsy wrote is essentially right, BUT:
* The URL is http://pyropeter.eu/arch/pyropeter (the old one will break one day)
* My repo only contains x86_64 packages
* One can also just add my repo as an additional repo to pacman. This would allow
to just -Syu without even thinking about hplip. For more help on that, see
https://wiki.archlinux.org/index.php/Unofficial_User_Repositories
<deleted-account> commented on 2012-10-01 04:41 (UTC)
I just solved a problem that sprung up for me recently with updating hplip-plugin. Figured I'd post in case it helps someone:
When doing yaourt -Syau, I was getting this message:
error: failed to prepare transaction (could not satisfy dependencies)
:: Starting full system upgrade...
:: hplip-plugin: requires hplip=3.12.6
while my current version of both hplip and hplip-plugin was 3.12.6-3. I noticed that someone was having a similar problem about a year ago and pyropeter recommended downloading the hplip-plugin package from his repository* (in pkg.tar.xz format), so I tried downloading the latest hplip-plugin (3.12.9-1) pkg.tar.xz and did pacman -U [filename.pkg.tar.xz], pacman took care of the dependency issues and it easily upgraded both hplip and hplip-plugin to 3.12.9-1 - nice!
*http://keks.upful.org/arch/pyropeter
pyropeter commented on 2012-09-08 22:09 (UTC)
uploaded 3.12.9
pyropeter commented on 2012-09-07 17:10 (UTC)
uploaded 3.12.6-4:
* makedepends now contains the new python2-* names
* added the two pyqts as optdepends
@holyArch: After a glance through the hp-setup sourcecode I'm under the
impression that hp-setup is able to run in a so called "interactive" mode
using only the console, and furthermore has the ability to use qt3 and
qt4 for an optional GUI. I thus added pyqt3 and python2-pyqt to the optional
dependencies. Thanks for your hint! I also should say that I didn't actually
test this release very well (nothing to print at the moment...) so I would
be happy about any feedback. (Especially because hplip is really unstable)
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!