#7201 closed submission (duplicate)
NEW: hplip -Unfinished port — at Version 17
Reported by: | simX@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | aschenke@… | |
Port: |
Description (last modified by tobypeterson)
The official project page is http://hpoj.sourceforge.net/ . It's a project, supposedly funded by HP, that creates open-source drivers for HP's printers/scanners. It even supports scanning for HP's all-in-one models that don't seem to be widely support elsewhere.
There's also a FreeBSD port here, which might help: http:// www.freshports.org/graphics/hpoj . It seems that this can be installed by using a different package manager called pkg_add, but I wasn't able to find this for Mac OS X.
(hpoj supports printing and scanning, while the HPLIP software also mentioned on the hpoj project page only supports printing, and also supports fewer HP models. So hpoj would probably be better for a Fink package.)
Change History (28)
comment:1 Changed 18 years ago by aschenke@…
Cc: | aschenke@… added |
---|
Changed 18 years ago by aschenke@…
Portfile for hplip 0.9.10 (EXPERIMENTAL)
Changed 18 years ago by aschenke@…
Attachment: | Portfile.2 added |
---|
Portfile for hplip-0.9.10 (slightly-less-experimental)
comment:2 Changed 18 years ago by aschenke@…
attachments.isobsolete: | 0 → 1 |
---|
comment:3 Changed 18 years ago by aschenke@…
dependson: | → 8480 |
---|
Changed 18 years ago by aschenke@…
Attachment: | Portfile.3 added |
---|
Portfile for hplip-0.9.10 (partly-working)
comment:4 Changed 18 years ago by aschenke@…
attachments.isobsolete: | 0 → 1 |
---|
Changed 18 years ago by aschenke@…
Attachment: | patch-io_hpiod_device.cpp added |
---|
patch for io/hpiod/device.cpp
Changed 18 years ago by aschenke@…
Attachment: | patch-io_hpiod_device.2.cpp added |
---|
patch for io/hpiod/device.cpp
comment:5 Changed 18 years ago by aschenke@…
attachments.isobsolete: | 0 → 1 |
---|
Changed 18 years ago by aschenke@…
Attachment: | Portfile.4 added |
---|
Portfile for hplip 0.9.10 (partly-working)
comment:6 Changed 18 years ago by aschenke@…
attachments.isobsolete: | 0 → 1 |
---|
comment:7 Changed 18 years ago by aschenke@…
attachments.isobsolete: | 0 → 1 |
---|
Changed 18 years ago by aschenke@…
Attachment: | patch-io_hpiod_device.3.cpp added |
---|
patch for io/hpiod/device.cpp
comment:8 Changed 18 years ago by aschenke@…
attachments.isobsolete: | 0 → 1 |
---|
Changed 18 years ago by aschenke@…
Attachment: | patch-io_hpiod_device.4.cpp added |
---|
patch for io/hpiod/device.cpp
comment:9 Changed 18 years ago by aschenke@…
attachments.isobsolete: | 0 → 1 |
---|
comment:10 Changed 18 years ago by markd@…
Summary: | Request for hpoj package to be created for DarwinPorts → NEW: hplip -Unfinished port |
---|
comment:11 Changed 18 years ago by aschenke@…
This new portfile is updated to use the latest version of hplip (1.6.9). By default it will now build without X11 GUI support, so you don't need PyQt and its dependencies, making it much faster to install. There is a gui variant that will build the GUI support as before.
Note that this is still experimental and I haven't really tested this latest version. It is definitely not ready to be committed.
comment:13 Changed 18 years ago by kballard (Lily Ballard)
Milestone: | → New Ports |
---|
comment:14 Changed 17 years ago by simX_other@…
I managed to get this experimental portfile working, and it finishes the installation. However, when I open up Image Capture to try and scan from my HP PSC 1210 all-in-one printer, it just says that "SANE is in use by another application". I'm pretty sure that this is the correct way to access the scanning services offered by SANE, which in turn uses hplip to access the printer. But I guess it's still not working.
I tried installing the "gui" variant, but got a couple of errors, specifically:
Error: Target com.apple.configure returned: configure failure: shell command " cd "/opt/local/var/db/dports/build/_Users_simx_DarwinPorts_local-sources_print_hplip/work/hplip-1.6.9" && ./configure --prefix=/opt/local --disable-pp-build " returned error 6
and
configure: error: cannot find python-devel support Error: Status 1 encountered during processing.
Not sure what the deal is there.
I have previously install TWAIN-SANE (information at http://www.ellert.se/twain-sane/ ). Not sure if this installation is conflicting with the MacPorts install of SANE and hplip.
Also note that the latest version of hplip is now up to 1.7.4a, while the patchfile specifies version 1.6.9. I'm not sure if the patch supplied in this bug report applies to the latest version anymore. Manually modifying the patchfile to retrieve the latest version of hplip and trying to install it simply results in these errors:
Error: reinplace: couldn't read file "/opt/local/var/db/dports/build/_Users_simx_DarwinPorts_local-sources_print_hplip/work/hplip-1.7.4a/prnt/hpijs/hplip_api.h": no such file or directory Error: Target com.apple.configure returned: reinplace sed(1) failed Error: Status 1 encountered during processing.
comment:15 Changed 17 years ago by jmpalacios (Juan Manuel Palacios)
Milestone: | New Ports → Port Submissions |
---|
Milestone New Ports deleted
comment:16 Changed 17 years ago by nox@…
Priority: | Expected → Normal |
---|---|
Version: | 1.2 |
comment:17 Changed 16 years ago by tobypeterson
Description: | modified (diff) |
---|---|
Resolution: | → wontfix |
Status: | new → closed |
closing, this obviously isn't happening
I'm working on adding HPLIP, which replaces HPOJ and has all the functionality. No guarantees I get it working, though. It seems to compile without problems once the dependencies are installed (libusb and jpeg), but there are a few difficulties. First, because it works with CUPS, it needs to install files outside the standard DP tree. I'm not clear on how best to handle this. Second, the user interface requires PyQt, which isn't available as a port yet (bug 3210). Third, PyQt depends on py-sip, which needs to be updated (bug 8473).