Tested on NetBSD/amd64 (9.0_BETA) with a HP LaserJet 200 color MFP M276. A manual copy/paste of the intermediate release notes follows (see https://developers.hp.com/hp-linux-imaging-and-printing/release_notes for the original content). HPLIP 3.19.12: * Added support for the following new Printers: - HP Color LaserJet Pro M256dn - HP Color LaserJet Pro M255dn - HP Color LaserJet Pro M256nw - HP Color LaserJet Pro M255nw - HP Color LaserJet Pro M256dw - HP Color LaserJet Pro M255dw - HP Color LaserJet Pro M155a - HP Color LaserJet Pro M156a - HP Color LaserJet Pro M155nw - HP Color LaserJet Pro M156nw - HP Color LaserJet Pro MFP M282nw - HP Color LaserJet Pro MFP M284nw - HP Color LaserJet Pro MFP M283fdn - HP Color LaserJet Pro MFP M285fdn - HP Color LaserJet Pro MFP M283fdw - HP Color LaserJet Pro MFP M285fdw - HP Color LaserJet Pro MFP M283cdw - HP Color LaserJet Pro MFP M285cdw - HP Color LaserJet Pro MFP M182n - HP Color LaserJet Pro MFP M184n - HP Color LaserJet Pro MFP M182nw - HP Color LaserJet Pro MFP M184nw - HP Color LaserJet Pro MFP M183fw - HP Color LaserJet Pro MFP M185fw * Added support for following new Distro's: - Debian 10.1 - Debian 10.2 - Manjaro 18.1.2 * Features: - Rendering print jobs with cupsfilter command HPLIP 3.19.11: * Added support for the following new Printers: - HP Color LaserJet MFP M776dn - HP Color LaserJet Flow MFP M776z - HP Color LaserJet Flow MFP M776zs - HP Color LaserJet M856dn - HP Color LaserJet M856x - HP Color LaserJet E85055dn * Added support for following new Distro's: - Manjaro 18.1.0(64-bit) - Ubuntu 19.10(64-bit) - Fedora 31(64-bit) HPLIP 3.19.8: * Added support for the following new Printers: - HP DesignJet T1530 Postscript - HP DesignJet T2530 Postscript - HP DesignJet T930 Postscript - HP DesignJet T1600 Postscript Printer - HP DesignJet T1600dr Postscript Printer - HP DesignJet T2600 Postscript MFP - HP LaserJet Pro MFP M329dn - HP LaserJet Pro MFP M329dw - HP LaserJet Pro M305d - HP LaserJet Pro M304a - HP LaserJet Pro M305dn - HP LaserJet Pro M305dw * Added support for following new Distro's: - OpenSuse 15.1 - Debian 9.9 - Debian 10 - Manjaro 18.0.4 - Linux Mint 19.2 - RHEL 8.0 HPLIP 3.19.6: * Added support for the following new Printers: - HP Smart Tank 500 series - HP Smart Tank 530 series - HP Smart Tank Plus 570 series - HP Smart Tank Plus 650 - HP Smart Tank 610 - HP Smart Tank Plus 550 - HP Smart Tank 510 - HP Neverstop Laser MFP 1200a - HP Neverstop Laser MFP 1200w - HP Laser NS MFP 1005 - HP Laser NS MFP 1005w - HP Neverstop Laser 1000a - HP Neverstop Laser 1000w - HP Laser NS 1020 - HP Laser NS 1020w - HP DesignJet T2600dr Postscript MFP - HP DesignJet XL 3600 PS MFP - HP Color LaserJet Pro M453cdn - HP Color LaserJet Pro M454dn - HP Color LaserJet Pro M454cdn - HP Color LaserJet Pro M453cdw - HP Color LaserJet Pro M454nw - HP Color LaserJet Pro M454dw - HP Color LaserJet Pro M454cdw - HP Color LaserJet Pro MFP M479dw - HP Color LaserJet Pro MFP M478fcdn - HP Color LaserJet Pro MFP M479fdn - HP Color LaserJet Pro MFP M479fcdn - HP Color LaserJet Pro MFP M478fcdw - HP Color LaserJet Pro MFP M479fdw - HP Color LaserJet Pro MFP M479fnw - HP Color LaserJet Pro MFP M479fcdw - HP LaserJet Pro MFP M428dw - HP LaserJet Pro MFP M429dw - HP LaserJet Pro MFP M428fdn - HP LaserJet Pro MFP M428c1 - HP LaserJet Pro MFP M428c3 - HP LaserJet Pro MFP M428m - HP LaserJet Pro MFP M429fdn - HP LaserJet Pro MFP M428fdw - HP LaserJet Pro MFP M428c2 - HP LaserJet Pro MFP M428c4 - HP LaserJet Pro MFP M429fdw - HP LaserJet Pro M404d - HP LaserJet Pro M405d - HP LaserJet Pro M404n - HP LaserJet Pro M405n - HP LaserJet Pro M404dn - HP LaserJet Pro M404c1 - HP LaserJet Pro M404c3 - HP LaserJet Pro M404m - HP LaserJet Pro M405dn - HP LaserJet Pro M404dw - HP LaserJet Pro M404c2 - HP LaserJet Pro M404c4 - HP LaserJet Pro M405dw HPLIP 3.19.5: * Added support for the following new Printers: - HP LaserJet Enterprise M507n - HP LaserJet Enterprise M507dn - HP LaserJet Enterprise M507x - HP LaserJet Enterprise M507dng - HP LaserJet Managed E50145dn - HP LaserJet Managed E50145x - HP LaserJet Enterprise MFP M528dn - HP LaserJet Enterprise MFP M528f - HP LaserJet Enterprise Flow MFP M528c - HP LaserJet Enterprise Flow MFP M528z - HP LaserJet Managed MFP E52645dn - HP LaserJet Managed Flow MFP E52645c - HP Color LaserJet Managed E75245dn - HP Color LaserJet Enterprise M751n - HP Color LaserJet Enterprise M751dn - HP PageWide XL 3900PS MFP - HP OfficeJet Pro 8030 All-in-One Printer series - HP OfficeJet Pro 8020 All-in-One Printer series - HP OfficeJet 8020 All-in-One Printer Series - HP OfficeJet 8010 All-in-One Printer series * Added support for following new Distro's: - Debian 9.8(64-bit) - Ubuntu 19.04(64-bit) - Fedora 30(64-bit) HPLIP 3.19.3: * Added support for the following new Printers: - HP OfficeJet Pro All-in-One 9010 - HP OfficeJet Pro All-in-One 9020 - HP OfficeJet All-in-One 9010 - HP PageWide XL 4100 Printer - HP PageWide XL 4100 MFP - HP PageWide XL 4600 Printer - HP PageWide XL 4600PS MFP - HP Color LaserJet Managed MFP E77422a - HP Color LaserJet Managed MFP E77422dv - HP Color LaserJet Managed MFP E77422dn - HP Color LaserJet Managed MFP E77428dn - HP LaserJet MFP E72425a - HP LaserJet MFP E72425dv - HP LaserJet MFP E72425dn - HP LaserJet MFP E72430dn - HP LaserJet Managed MFP E62655dn - HP LaserJet Managed MFP E62665hs - HP LaserJet Managed Flow MFP E62665h - HP LaserJet Managed Flow MFP E62675z - HP LaserJet Managed Flow MFP E62665z - HP LaserJet Managed E60155dn - HP LaserJet Managed E60165dn - HP LaserJet Managed E60175dn - HP Color LaserJet Managed E65150dn - HP Color LaserJet Managed E65160dn - HP Color LaserJet Managed MFP E67650dh - HP Color LaserJet Managed Flow MFP E67660z * Added support for following new Distro's: - Debian 9.7(64-bit) - RHEL-7.6(64-bit) - LinuxMint 19.1(64-bit) HPLIP 3.19.1: * Added support for the following new Printers: - HP LaserJet Managed MFP E82540du - HP LaserJet Managed MFP E82550du - HP LaserJet Managed MFP E82560du - HP Color LaserJet Managed MFP E87640 du - HP Color LaserJet Managed MFP E87650du - HP Color LaserJet Managed MFP E87660du * Added support for the following new ScanJet Device: - HP Scanjet Pro 2500 f1 * Added support for following new Distro's: - Fedora 29(64-bit) - Open Suse 15(64-bit) - Manjaro 18.0(64-bit) - RHEL 7.2(64-bit) HPLIP 3.18.12: * Added support for the following new Printers: - HP Tango - HP Tango X * Added support for the following new ScanJet Device: - HP Scanjet Pro 2000 S1 * Added support for following new Distro's: - Debian 9.6(64-bit) - Ubuntu 18.10(64-bit) HPLIP 3.18.10: * Added support for the following new Printers: - HP DesignJet T1708 PostScript - HP DesignJet T1708dr PostScript HPLIP 3.18.9: * Added support for the following new Printers: - HP PageWide 755dn - HP PageWide MFP 774dns - HP PageWide MFP 774dn - HP PageWide MFP 779dns - HP PageWide MFP 779dn - HP LaserJet Pro MFP M148dw - HP LaserJet Pro MFP M149dw - HP LaserJet Pro MFP M148fdw - HP LaserJet Pro MFP M149fdw - HP LaserJet Pro M118dw - HP LaserJet Pro M119dw - HP Scanjet Enterprise 7500 Flatbed Scanner * Added support for the following new Distros: - Linux Mint 19 - Debian 9.5 HPLIP 3.18.7: * Added support for the following new Printers: - HP Smart Tank 350 - HP Smart Tank Wireless 450 - HP Ink Tank 310 - HP Ink Tank Wireless 410 - HP Ink Tank 115 - HP DesignJet Z6 24in - HP DesignJet Z6 44in - HP DesignJet Z6dr 44in - HP DesignJet Z9 24in - HP DesignJet Z9 44in - HP DesignJet Z9dr 44in * Added support for the following new Distros: - Fedora 28 (64 bit) * Issues fixed: - CR 59273 - Supplies and status information are not displayed in the hp-toolbox for Ruby - CR 58929 - HPLIP Google Reported Issues related to models.dat file on PPD mapping - CD 58930 - HPLIP Google Reported Syntactical Issues related to models.dat file HPLIP 3.18.6: * Added support for the following new Printers: - HP DesignJet Z6810ps 60in - HP DesignJet Z6610ps 60in - HP DesignJet Z6810ps 42in
117 lines
6.1 KiB
Text
117 lines
6.1 KiB
Text
$NetBSD: patch-configure.in,v 1.4 2020/01/04 04:24:12 khorben Exp $
|
|
|
|
convert configure to use more configure paths instead of hard coded
|
|
paths.
|
|
|
|
--- configure.in.orig 2019-12-10 05:01:10.000000000 +0000
|
|
+++ configure.in
|
|
@@ -34,14 +34,15 @@ AC_DISABLE_STATIC
|
|
# Checks for programs.
|
|
AC_PROG_CXX
|
|
AC_PROG_CC
|
|
+AM_PROG_CC_C_O
|
|
AC_PROG_INSTALL
|
|
+AC_LIBTOOL_DLOPEN
|
|
AC_PROG_LIBTOOL
|
|
|
|
# Checks for required libraries, don't set global -lpthread, -lm, -ljpeg, ... here, set in Makefile.
|
|
AC_CHECK_LIB([pthread], [pthread_create], [LIBS="$LIBS"], [AC_MSG_ERROR([cannot find libpthread support], 7)])
|
|
AC_CHECK_LIB([m], [pow], [LIBS="$LIBS"], [AC_MSG_ERROR([cannot find libm math support], 10)])
|
|
AC_CHECK_LIB([jpeg], [jpeg_set_defaults],[LIBS="$LIBS"], [AC_MSG_ERROR(["cannot find libjpeg support"], 102)])
|
|
-AC_CHECK_LIB([dl], [dlopen], [LIBS="$LIBS" AC_DEFINE([HAVE_LIBDL])], [AC_MSG_ERROR(["cannot find libdl support"], 104)])
|
|
|
|
# Checks for required header files.
|
|
AC_CHECK_HEADERS(pthread.h,, [AC_MSG_ERROR([cannot find pthread-devel support], 7)])
|
|
@@ -301,7 +302,7 @@ AC_ARG_ENABLE(apparmor_build,
|
|
[ --enable-apparmor_build enable apparmor build (default=no)],
|
|
apparmor_build=$enableval, apparmor_build=no)
|
|
if test "$apparmor_build" = "yes"; then
|
|
- if test -d /etc/apparmor.d/; then
|
|
+ if test -d $sysconfdir/apparmor.d/; then
|
|
AC_MSG_RESULT(yes)
|
|
else
|
|
AC_MSG_ERROR([cannot find apparmor support])
|
|
@@ -367,40 +368,40 @@ else
|
|
fi
|
|
AM_CONDITIONAL(LIBUSB01_BUILD, test x$libusb01_build = xyes)
|
|
|
|
-AC_ARG_WITH(cupsbackenddir, AC_HELP_STRING([--with-cupsbackenddir=DIR], [set cups backend install directory [default=/usr/lib/cups/backend]]),
|
|
- cupsbackenddir=$withval, cupsbackenddir="/usr/lib/cups/backend")
|
|
+AC_ARG_WITH(cupsbackenddir, AC_HELP_STRING([--with-cupsbackenddir=DIR], [set cups backend install directory [default=libdir/lib/cups/backend]]),
|
|
+ cupsbackenddir=$withval, cupsbackenddir="$libdir/lib/cups/backend")
|
|
|
|
-AC_ARG_WITH(cupsfilterdir, AC_HELP_STRING([--with-cupsfilterdir=DIR], [set cups filter install directory [default=/usr/lib/cups/filter]]),
|
|
- cupsfilterdir=$withval, cupsfilterdir="/usr/lib/cups/filter")
|
|
+AC_ARG_WITH(cupsfilterdir, AC_HELP_STRING([--with-cupsfilterdir=DIR], [set cups filter install directory [default=libdir/lib/cups/filter]]),
|
|
+ cupsfilterdir=$withval, cupsfilterdir="$libdir/lib/cups/filter")
|
|
|
|
-AC_ARG_WITH(icondir, AC_HELP_STRING([--with-icondir=DIR], [set hplip.desktop install directory [default=/usr/share/applications]]),
|
|
- icondir=$withval, icondir="/usr/share/applications")
|
|
+AC_ARG_WITH(icondir, AC_HELP_STRING([--with-icondir=DIR], [set hplip.desktop install directory [default=datadir/applications]]),
|
|
+ icondir=$withval, icondir="$datadir/applications")
|
|
|
|
-AC_ARG_WITH(icondir, AC_HELP_STRING([--with-icondir=DIR], [set hp-uiscan.desktop install directory [default=/usr/share/applications]]),
|
|
- icondir=$withval, icondir="/usr/share/applications")
|
|
+AC_ARG_WITH(icondir, AC_HELP_STRING([--with-icondir=DIR], [set hp-uiscan.desktop install directory [default=datadir/applications]]),
|
|
+ icondir=$withval, icondir="$datadir/applications")
|
|
|
|
-AC_ARG_WITH(systraydir, AC_HELP_STRING([--with-systraydir=DIR], [set hplip-systray.desktop install directory [default=/etc/xdg/autostart]]),
|
|
- systraydir=$withval, systraydir="/etc/xdg/autostart")
|
|
+AC_ARG_WITH(systraydir, AC_HELP_STRING([--with-systraydir=DIR], [set hplip-systray.desktop install directory [default=sysconfdir/xdg/autostart]]),
|
|
+ systraydir=$withval, systraydir="$sysconfdir/xdg/autostart")
|
|
|
|
AC_ARG_WITH(hpppddir, AC_HELP_STRING([--with-hpppddir=DIR], [set hp ppd install directory [default=datadir/ppd/HP]]),
|
|
hpppddir=$withval, hpppddir="$datadir/ppd/HP")
|
|
|
|
# AppArmor Changes
|
|
-AC_ARG_WITH(apparmordir, AC_HELP_STRING([--with-apparmordir=DIR], [set apparmor profile install directory [default=/etc/apparmor.d]]),
|
|
- apparmordir=$withval, apparmordir="/etc/apparmor.d")
|
|
+AC_ARG_WITH(apparmordir, AC_HELP_STRING([--with-apparmordir=DIR], [set apparmor profile install directory [default=sysconfdir/apparmor.d]]),
|
|
+ apparmordir=$withval, apparmordir="$sysconfdir/apparmor.d")
|
|
|
|
-if test -f "/usr/share/cups/mime/mime.types"; then
|
|
- abs_mimedir="/usr/share/cups/mime/"
|
|
+if test -f "$datadir/cups/mime/mime.types"; then
|
|
+ abs_mimedir="$datadir/cups/mime/"
|
|
else
|
|
- abs_mimedir="/etc/cups/"
|
|
+ abs_mimedir="$sysconfdir/cups/"
|
|
fi
|
|
AC_ARG_WITH(mimedir, AC_HELP_STRING([--with-mimedir=DIR], [set cups mime.types location [default=abs_mimedir]]),
|
|
mimedir=$withval, mimedir="$abs_mimedir")
|
|
|
|
-AC_ARG_WITH(docdir, AC_HELP_STRING([--with-docdir=DIR], [set hplip documentation directory [default=datadir/doc]]),
|
|
+AC_ARG_WITH(docdir, AC_HELP_STRING([--with-docdir=DIR], [set hplip documentation directory [default=datadir/doc/hplip-VERSION]]),
|
|
hpdocdir=$withval, hpdocdir="$datadir/doc/hplip-$VERSION")
|
|
|
|
-AC_ARG_WITH(htmldir, AC_HELP_STRING([--with-htmldir=DIR], [set hplip html documentation directory [default=datadir/doc]]),
|
|
+AC_ARG_WITH(htmldir, AC_HELP_STRING([--with-htmldir=DIR], [set hplip html documentation directory [default=datadir/doc/hplip-VERSION]]),
|
|
hphtmldir=$withval, hphtmldir="$datadir/doc/hplip-$VERSION")
|
|
|
|
AC_MSG_CHECKING([for foomatic ppd install])
|
|
@@ -545,12 +546,12 @@ AM_CONDITIONAL(POLICYKIT_INSTALL, test x
|
|
|
|
# Determine where the PolicyKit policy file goes
|
|
if test "$policykit" = "yes"; then
|
|
- if test -d /usr/share/polkit-1; then
|
|
- policykit_dir=/usr/share/polkit-1/actions
|
|
- elif test -d /usr/share/PolicyKit; then
|
|
- policykit_dir=/usr/share/PolicyKit/policy
|
|
+ if test -d "$datadir/polkit-1"; then
|
|
+ policykit_dir="$datadir/polkit-1/actions"
|
|
+ elif test -d "$datadir/PolicyKit"; then
|
|
+ policykit_dir="$datadir/PolicyKit/policy"
|
|
else
|
|
- policykit_dir=/usr/share/PolicyKit/policy
|
|
+ policykit_dir="$datadir/PolicyKit/policy"
|
|
fi
|
|
else
|
|
policykit_dir=
|
|
@@ -659,6 +660,7 @@ AC_DEFINE_DIR([abs_sbindir], [sbindir])
|
|
AC_DEFINE_DIR([abs_hpppddir], [hpppddir])
|
|
AC_DEFINE_DIR([abs_docdir], [hpdocdir])
|
|
AC_DEFINE_DIR([abs_htmldir], [hphtmldir])
|
|
+AC_DEFINE_DIR([abs_icondir], [icondir])
|
|
abs_ppddir=${abs_hpppddir%/*}
|
|
AC_DEFINE_DIR([abs_drvdir], [drvdir])
|
|
|