Projects
New Ticket     Wiki     Browse Source     Timeline     Roadmap     Bug Reports     Search

Ticket #7201 (new enhancement)

Opened 3 years ago

Last modified 13 months ago

NEW: hplip -Unfinished port

Reported by: simX@… Owned by: macports-tickets@…
Priority: Normal Milestone: Port Submissions
Component: ports Version:
Keywords: Cc: aschenke@…

Description

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.)

Attachments

Portfile (0.8 kB) - added by aschenke@… 2 years ago.
Portfile for hplip 0.9.10 (EXPERIMENTAL)
Portfile.2 (4.8 kB) - added by aschenke@… 2 years ago.
Portfile for hplip-0.9.10 (slightly-less-experimental)
Portfile.3 (6.2 kB) - added by aschenke@… 2 years ago.
Portfile for hplip-0.9.10 (partly-working)
patch-io_hpiod_device.cpp (1.9 kB) - added by aschenke@… 2 years ago.
patch for io/hpiod/device.cpp
patch-io_hpiod_device.2.cpp (4.5 kB) - added by aschenke@… 2 years ago.
patch for io/hpiod/device.cpp
Portfile.4 (6.2 kB) - added by aschenke@… 2 years ago.
Portfile for hplip 0.9.10 (partly-working)
Portfile.5 (6.2 kB) - added by aschenke@… 2 years ago.
Portfile for hplip 0.9.11
patch-io_hpiod_device.3.cpp (2.6 kB) - added by aschenke@… 2 years ago.
patch for io/hpiod/device.cpp
patch-io_hpiod_device.4.cpp (2.8 kB) - added by aschenke@… 2 years ago.
patch for io/hpiod/device.cpp
Portfile.6 (6.2 kB) - added by aschenke@… 2 years ago.
hplip Portfile
Portfile.7 (6.2 kB) - added by aschenke@… 2 years ago.
Portfile

Change History

Changed 2 years ago by aschenke@…

  • cc aschenke@… added

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).

Changed 2 years ago by aschenke@…

Portfile for hplip 0.9.10 (EXPERIMENTAL)

Changed 2 years ago by aschenke@…

Changed 2 years ago by aschenke@…

  • attachments.isobsolete changed from 0 to 1

Changed 2 years ago by aschenke@…

Portfile for hplip-0.9.10 (slightly-less-experimental)

Changed 2 years ago by aschenke@…

  • dependson set to 8480

Changed 2 years ago by aschenke@…

Changed 2 years ago by aschenke@…

  • attachments.isobsolete changed from 0 to 1

Changed 2 years ago by aschenke@…

Portfile for hplip-0.9.10 (partly-working)

Changed 2 years ago by aschenke@…

patch for io/hpiod/device.cpp

Changed 2 years ago by aschenke@…

Changed 2 years ago by aschenke@…

  • attachments.isobsolete changed from 0 to 1

Changed 2 years ago by aschenke@…

patch for io/hpiod/device.cpp

Changed 2 years ago by aschenke@…

Changed 2 years ago by aschenke@…

  • attachments.isobsolete changed from 0 to 1

Changed 2 years ago by aschenke@…

Portfile for hplip 0.9.10 (partly-working)

Changed 2 years ago by aschenke@…

Changed 2 years ago by aschenke@…

  • attachments.isobsolete changed from 0 to 1

Changed 2 years ago by aschenke@…

Portfile for hplip 0.9.11

Changed 2 years ago by aschenke@…

Changed 2 years ago by aschenke@…

  • attachments.isobsolete changed from 0 to 1

Changed 2 years ago by aschenke@…

patch for io/hpiod/device.cpp

Changed 2 years ago by aschenke@…

Changed 2 years ago by aschenke@…

  • attachments.isobsolete changed from 0 to 1

Changed 2 years ago by aschenke@…

patch for io/hpiod/device.cpp

Changed 2 years ago by markd@…

  • summary changed from Request for hpoj package to be created for DarwinPorts to NEW: hplip -Unfinished port

Changed 2 years ago by aschenke@…

hplip Portfile

Changed 2 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.

Changed 2 years ago by aschenke@…

Portfile

Changed 2 years ago by aschenke@…

Fixed the startupitems.

Changed 18 months ago by eridius@…

  • milestone set to New Ports

Changed 16 months 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.

Changed 14 months ago by jmpp@…

  • milestone changed from New Ports to Port Submissions

Milestone New Ports deleted

Changed 13 months ago by nox@…

  • priority changed from Expected to Normal
  • version 1.2 deleted
Note: See TracTickets for help on using tickets.