2010-03-21 07:07:43 -04:00
|
|
|
$OpenBSD: patch-Makefile_in,v 1.6 2010/03/21 11:07:43 ajacoutot Exp $
|
|
|
|
|
|
|
|
libcompat is needed because hplip uses ftime(3).
|
|
|
|
|
|
|
|
--- Makefile.in.orig Thu Feb 25 00:10:02 2010
|
|
|
|
+++ Makefile.in Fri Mar 12 14:45:37 2010
|
|
|
|
@@ -3746,10 +3746,10 @@ cups_drv = prnt/drv/hpcups.drv
|
2009-08-20 04:07:48 -04:00
|
|
|
@HPLIP_BUILD_TRUE@@SCAN_BUILD_TRUE@ scan/sane/sanei_init_debug.c scan/sane/marvell.h scan/sane/marvelli.h scan/sane/marvell.c scan/sane/soapht.c scan/sane/soap.c \
|
|
|
|
@HPLIP_BUILD_TRUE@@SCAN_BUILD_TRUE@ scan/sane/soaphti.h scan/sane/soapi.h scan/sane/xml.c scan/sane/xml.h
|
|
|
|
|
|
|
|
-@DARWIN_BUILD_FALSE@@HPLIP_BUILD_TRUE@@SCAN_BUILD_TRUE@libsane_hpaio_la_LDFLAGS = -version-info 1:0:0
|
|
|
|
+@DARWIN_BUILD_FALSE@@HPLIP_BUILD_TRUE@@SCAN_BUILD_TRUE@libsane_hpaio_la_LDFLAGS = -module -avoid-version
|
2008-06-05 15:10:43 -04:00
|
|
|
@DARWIN_BUILD_TRUE@@HPLIP_BUILD_TRUE@@SCAN_BUILD_TRUE@libsane_hpaio_la_LDFLAGS = -module -framework CoreFoundation -version-info 1:0:0
|
2009-07-13 04:14:28 -04:00
|
|
|
# The following is a interlibrary dependency that must be compiled first.
|
2010-03-21 07:07:43 -04:00
|
|
|
-@HPLIP_BUILD_TRUE@@SCAN_BUILD_TRUE@libsane_hpaio_la_LIBADD = libhpip.la libhpmud.la $(DBUS_LIBS) -lcups -ldl
|
|
|
|
+@HPLIP_BUILD_TRUE@@SCAN_BUILD_TRUE@libsane_hpaio_la_LIBADD = libhpip.la libhpmud.la $(DBUS_LIBS) -lcups
|
2009-07-13 04:14:28 -04:00
|
|
|
#libsane_hpaio_la_CFLAGS = -DWITH_NONAMESPACES -DSOAP_DEBUG
|
|
|
|
@HPLIP_BUILD_TRUE@@SCAN_BUILD_TRUE@libsane_hpaio_la_CFLAGS = $(DBUS_CFLAGS)
|
|
|
|
|
2010-03-21 07:07:43 -04:00
|
|
|
@@ -3773,7 +3773,7 @@ cups_drv = prnt/drv/hpcups.drv
|
2009-07-13 04:14:28 -04:00
|
|
|
# hp-mkuri.
|
|
|
|
@HPLIP_BUILD_TRUE@hp_mkuridir = $(bindir)
|
|
|
|
@HPLIP_BUILD_TRUE@hp_mkuri_SOURCES = io/hpmud/hp-mkuri.c
|
|
|
|
-@HPLIP_BUILD_TRUE@hp_mkuri_LDADD = -ldl libhpmud.la
|
|
|
|
+@HPLIP_BUILD_TRUE@hp_mkuri_LDADD = libhpmud.la
|
2010-03-21 07:07:43 -04:00
|
|
|
@HPLIP_BUILD_TRUE@hp_mkuri_CFLAGS = -DCONFDIR=\"$(hplip_confdir)\"
|
2009-07-13 04:14:28 -04:00
|
|
|
|
|
|
|
# hpmud.rules
|
2010-03-21 07:07:43 -04:00
|
|
|
@@ -3964,7 +3964,7 @@ cups_drv = prnt/drv/hpcups.drv
|
2009-07-13 04:14:28 -04:00
|
|
|
@FULL_BUILD_TRUE@@HPLIP_BUILD_TRUE@hppgsz_SOURCES = prnt/hpijs/PrinterProperties.cpp prnt/hpijs/PrinterProperties.h prnt/hpijs/bug.h
|
|
|
|
@FULL_BUILD_TRUE@@HPLIP_BUILD_TRUE@hppgsz_CXXFLAGS = $(libapdk_la_CXXFLAGS)
|
|
|
|
@FULL_BUILD_TRUE@@HPLIP_BUILD_TRUE@hppgsz_CFLAGS = $(libapdk_la_CFLAGS)
|
|
|
|
-@FULL_BUILD_TRUE@@HPLIP_BUILD_TRUE@hppgsz_LDADD = libapdk.la -ljpeg -ldl
|
|
|
|
+@FULL_BUILD_TRUE@@HPLIP_BUILD_TRUE@hppgsz_LDADD = libapdk.la -ljpeg
|
|
|
|
|
|
|
|
# hplip.desktop
|
|
|
|
@FULL_BUILD_TRUE@@HPLIP_BUILD_TRUE@hplip_desktopdir = $(icondir)
|
2010-03-21 07:07:43 -04:00
|
|
|
@@ -4031,8 +4031,8 @@ libapdk_la_CFLAGS = $(libapdk_la_CXXFLAGS) -Iprnt/hpij
|
2009-07-13 04:14:28 -04:00
|
|
|
|
|
|
|
@HPIJS_INSTALL_TRUE@hpijs_CXXFLAGS = $(libapdk_la_CXXFLAGS)
|
|
|
|
@HPIJS_INSTALL_TRUE@hpijs_CFLAGS = $(libapdk_la_CFLAGS)
|
|
|
|
-@HPIJS_INSTALL_TRUE@@HPLIP_BUILD_FALSE@hpijs_LDADD = libapdk.la -ljpeg -ldl
|
|
|
|
-@HPIJS_INSTALL_TRUE@@HPLIP_BUILD_TRUE@hpijs_LDADD = libapdk.la -ljpeg -ldl libhpip.la libhpmud.la $(DBUS_LIBS)
|
|
|
|
+@HPIJS_INSTALL_TRUE@@HPLIP_BUILD_FALSE@hpijs_LDADD = libapdk.la -ljpeg
|
|
|
|
+@HPIJS_INSTALL_TRUE@@HPLIP_BUILD_TRUE@hpijs_LDADD = libapdk.la -ljpeg libhpip.la libhpmud.la $(DBUS_LIBS)
|
|
|
|
|
|
|
|
# hpcups
|
2010-03-21 07:07:43 -04:00
|
|
|
#if NEW_HPCUPS
|
|
|
|
@@ -4070,7 +4070,7 @@ libapdk_la_CFLAGS = $(libapdk_la_CXXFLAGS) -Iprnt/hpij
|
|
|
|
@HPCUPS_INSTALL_TRUE@ prnt/hpcups/dj4100PrintModes.h
|
|
|
|
|
|
|
|
@HPCUPS_INSTALL_TRUE@hpcups_CXXFLAGS = $(APDK_ENDIAN_FLAG)
|
|
|
|
-@HPCUPS_INSTALL_TRUE@hpcups_LDADD = -ljpeg -ldl -lcups -lcupsimage
|
|
|
|
+@HPCUPS_INSTALL_TRUE@hpcups_LDADD = -ljpeg -lcups -lcupsimage -lcompat
|
|
|
|
#else
|
2009-08-20 04:07:48 -04:00
|
|
|
#hpcupsdir = $(cupsfilterdir)
|
2010-03-21 07:07:43 -04:00
|
|
|
#hpcups_PROGRAMS = hpcups
|
|
|
|
@@ -4078,9 +4078,9 @@ libapdk_la_CFLAGS = $(libapdk_la_CXXFLAGS) -Iprnt/hpij
|
|
|
|
#hpcups_CXXFLAGS = $(libapdk_la_CXXFLAGS)
|
|
|
|
#hpcups_CFLAGS = $(libapdk_la_CFLAGS)
|
|
|
|
#if HPCUPS_ONLY_BUILD
|
|
|
|
-#hpcups_LDADD = libapdk.la -ljpeg -ldl -lcups -lcupsimage
|
|
|
|
+#hpcups_LDADD = libapdk.la -ljpeg -lcups -lcupsimage
|
|
|
|
#else
|
|
|
|
-#hpcups_LDADD = libapdk.la -ljpeg -ldl libhpip.la libhpmud.la $(DBUS_LIBS) -lcups -lcupsimage
|
|
|
|
+#hpcups_LDADD = libapdk.la -ljpeg libhpip.la libhpmud.la $(DBUS_LIBS) -lcups -lcupsimage
|
|
|
|
#endif #HPCUPS_ONLY_BUILD
|
|
|
|
#endif # NEW_HPCUPS
|
2009-07-13 04:14:28 -04:00
|
|
|
# hpcupsfax
|
2010-03-21 07:07:43 -04:00
|
|
|
@@ -7921,7 +7921,7 @@ install-data-am: install-cupsdrv2DATA install-cupsdrvD
|
|
|
|
install-cupsextLTLIBRARIES install-dist_baseDATA \
|
2009-07-13 04:14:28 -04:00
|
|
|
install-dist_cacSCRIPTS install-dist_cmdSCRIPTS \
|
2010-03-21 07:07:43 -04:00
|
|
|
install-dist_copierDATA install-dist_faxDATA \
|
|
|
|
- install-dist_fax_filtersDATA install-dist_halpreDATA \
|
|
|
|
+ install-dist_fax_filtersDATA \
|
|
|
|
install-dist_hpcupsfaxppdDATA install-dist_hpfaxSCRIPTS \
|
|
|
|
install-dist_hpijsfaxppdDATA install-dist_hplipSCRIPTS \
|
|
|
|
install-dist_hplip_stateDATA install-dist_images_128x128DATA \
|
|
|
|
@@ -7936,7 +7936,7 @@ install-data-am: install-cupsdrv2DATA install-cupsdrvD
|
2009-07-13 04:14:28 -04:00
|
|
|
install-dist_policykit_dbus_shareDATA \
|
|
|
|
install-dist_policykit_policyDATA install-dist_postscriptDATA \
|
2010-03-21 07:07:43 -04:00
|
|
|
install-dist_ppdDATA install-dist_prntDATA \
|
2009-07-13 04:14:28 -04:00
|
|
|
- install-dist_ripSCRIPTS install-dist_rulesDATA \
|
|
|
|
+ install-dist_ripSCRIPTS \
|
2010-03-21 07:07:43 -04:00
|
|
|
install-dist_scanDATA install-dist_ui4DATA install-dist_uiDATA \
|
|
|
|
install-dist_unrelDATA install-dist_www0DATA \
|
|
|
|
install-dist_www3DATA install-dist_www4DATA install-docDATA \
|
|
|
|
@@ -8128,17 +8128,6 @@ uninstall-am: uninstall-binPROGRAMS uninstall-cupsdrv2
|
Import hplip-2.7.10
This port contains 3 subpackages:
* hplip
HPLIP is an HP developed solution for printing, scanning, and faxing
with HP inkjet and laser based printers in Unix.
The HPLIP project provides printing support for 1,248 printer models,
including Deskjet, Officejet, Photosmart, PSC (Print Scan Copy),
Business Inkjet, LaserJet, Edgeline MFP, and LaserJet MFP.
* hpijs (supersed print/hpijs)
The Hewlett-Packard Co. Linux Inkjet Driver Project is an add-on to the
GNU Ghostscript application. This driver is based on the Hewlett Packard
Appliance APDK for deskjet printers.
* hplip-docs
Documentation for HPLIP in HTML format.
feedback from winiger@, reviewed by bernd@
"looks correct" jasper@ , "works for me" sthen@
2007-11-02 11:48:55 -04:00
|
|
|
|
|
|
|
|
2009-07-13 04:14:28 -04:00
|
|
|
install-data-hook:
|
Import hplip-2.7.10
This port contains 3 subpackages:
* hplip
HPLIP is an HP developed solution for printing, scanning, and faxing
with HP inkjet and laser based printers in Unix.
The HPLIP project provides printing support for 1,248 printer models,
including Deskjet, Officejet, Photosmart, PSC (Print Scan Copy),
Business Inkjet, LaserJet, Edgeline MFP, and LaserJet MFP.
* hpijs (supersed print/hpijs)
The Hewlett-Packard Co. Linux Inkjet Driver Project is an add-on to the
GNU Ghostscript application. This driver is based on the Hewlett Packard
Appliance APDK for deskjet printers.
* hplip-docs
Documentation for HPLIP in HTML format.
feedback from winiger@, reviewed by bernd@
"looks correct" jasper@ , "works for me" sthen@
2007-11-02 11:48:55 -04:00
|
|
|
-# If scanner build, add hpaio entry to sane dll.conf.
|
|
|
|
-@HPLIP_BUILD_TRUE@ if [ "$(scan_build)" = "yes" ]; then \
|
|
|
|
-@HPLIP_BUILD_TRUE@ $(mkinstalldirs) $(DESTDIR)/etc/sane.d; \
|
|
|
|
-@HPLIP_BUILD_TRUE@ if [ ! -f $(DESTDIR)/etc/sane.d/dll.conf ]; then \
|
|
|
|
-@HPLIP_BUILD_TRUE@ touch $(DESTDIR)/etc/sane.d/dll.conf; \
|
|
|
|
-@HPLIP_BUILD_TRUE@ fi; \
|
|
|
|
-@HPLIP_BUILD_TRUE@ if ! grep ^hpaio $(DESTDIR)/etc/sane.d/dll.conf >/dev/null 2>/dev/null ; then \
|
|
|
|
-@HPLIP_BUILD_TRUE@ echo "Adding hpaio entry to /etc/sane.d/dll.conf." ; \
|
|
|
|
-@HPLIP_BUILD_TRUE@ echo hpaio >>$(DESTDIR)/etc/sane.d/dll.conf ; \
|
|
|
|
-@HPLIP_BUILD_TRUE@ fi \
|
|
|
|
-@HPLIP_BUILD_TRUE@ fi
|
|
|
|
# Create hp-xxx commands in bindir.
|
2009-07-13 04:14:28 -04:00
|
|
|
@FULL_BUILD_TRUE@@HPLIP_BUILD_TRUE@ $(mkinstalldirs) $(DESTDIR)$(bindir)
|
|
|
|
@FULL_BUILD_TRUE@@HPLIP_BUILD_TRUE@ for i in $(dist_cmd_SCRIPTS); do \
|