Sat Nov 4 14:22:03 2023 UTC ()
hplip: comment out broken qt5 option

It uses a non-existent bl3.mk file, and has a comment already that it
'needs more work'

Default off, so no bump.


(wiz)
diff -r1.21 -r1.22 pkgsrc/print/hplip/options.mk

cvs diff -r1.21 -r1.22 pkgsrc/print/hplip/options.mk (expand / switch to unified diff)

--- pkgsrc/print/hplip/options.mk 2022/03/15 02:30:23 1.21
+++ pkgsrc/print/hplip/options.mk 2023/11/04 14:22:03 1.22
@@ -1,49 +1,45 @@ @@ -1,49 +1,45 @@
1# $NetBSD: options.mk,v 1.21 2022/03/15 02:30:23 gutteridge Exp $ 1# $NetBSD: options.mk,v 1.22 2023/11/04 14:22:03 wiz Exp $
2# 2#
3# HPLIP dependencies are detailed in the following page: 3# HPLIP dependencies are detailed in the following page:
4# http://hplipopensource.com/hplip-web/install/manual/distros/other.html 4# http://hplipopensource.com/hplip-web/install/manual/distros/other.html
5 5
6PKG_OPTIONS_VAR= PKG_OPTIONS.hplip 6PKG_OPTIONS_VAR= PKG_OPTIONS.hplip
7PKG_SUPPORTED_OPTIONS= fax sane qt5 7PKG_SUPPORTED_OPTIONS= fax sane # qt5
8PKG_SUGGESTED_OPTIONS= fax 8PKG_SUGGESTED_OPTIONS= fax
9 9
10PKG_OPTIONS_LEGACY_OPTS+= scan:sane 
11PKG_OPTIONS_LEGACY_OPTS+= gui:qt5 
12PKG_OPTIONS_LEGACY_OPTS+= qt:qt5 
13 
14.include "../../mk/bsd.options.mk" 10.include "../../mk/bsd.options.mk"
15 11
16# NB the qt5 option results in components that don't entirely function 12# NB the qt5 option results in components that don't entirely function
17# correctly, at least on NetBSD. This needs more work. 13# correctly, at least on NetBSD. This needs more work.
18.if !empty(PKG_OPTIONS:Mqt5) 14#.if !empty(PKG_OPTIONS:Mqt5)
19PYTHON_VERSIONS_INCOMPATIBLE= 27 # py-pyphen 15#PYTHON_VERSIONS_INCOMPATIBLE= 27 # py-pyphen
20CONFIGURE_ARGS+= --enable-gui-build 16#CONFIGURE_ARGS+= --enable-gui-build
21CONFIGURE_ARGS+= --enable-policykit 17#CONFIGURE_ARGS+= --enable-policykit
22EGFILES+= dbus-1/system.d/com.hp.hplip.conf 18#EGFILES+= dbus-1/system.d/com.hp.hplip.conf
23MAKE_DIRS+= ${PKG_SYSCONFDIR}/dbus-1/system.d 19#MAKE_DIRS+= ${PKG_SYSCONFDIR}/dbus-1/system.d
24.include "../../security/policykit/buildlink3.mk" 20#.include "../../security/policykit/buildlink3.mk"
25.include "../../sysutils/desktop-file-utils/desktopdb.mk" 21#.include "../../sysutils/desktop-file-utils/desktopdb.mk"
26DEPENDS+= ${PYPKGPREFIX}-notify2-[0-9]*:../../sysutils/py-notify2 22#DEPENDS+= ${PYPKGPREFIX}-notify2-[0-9]*:../../sysutils/py-notify2
27PLIST_SRC+= PLIST.qt5 23#PLIST_SRC+= PLIST.qt5
28CONFIGURE_ARGS+= --disable-qt4 24#CONFIGURE_ARGS+= --disable-qt4
29CONFIGURE_ARGS+= --enable-qt5 25#CONFIGURE_ARGS+= --enable-qt5
30.include "../../x11/py-qt5/buildlink3.mk" 26#.include "../../x11/py-qt5/buildlink3.mk"
31.else 27#.else
32CONFIGURE_ARGS+= --disable-policykit 28CONFIGURE_ARGS+= --disable-policykit
33CONFIGURE_ARGS+= --disable-qt4 29CONFIGURE_ARGS+= --disable-qt4
34CONFIGURE_ARGS+= --disable-qt5 30CONFIGURE_ARGS+= --disable-qt5
35CONFIGURE_ARGS+= --disable-gui-build 31CONFIGURE_ARGS+= --disable-gui-build
36.endif 32#.endif
37 33
38.if !empty(PKG_OPTIONS:Mfax) 34.if !empty(PKG_OPTIONS:Mfax)
39PLIST_SRC+= PLIST.fax 35PLIST_SRC+= PLIST.fax
40CONFIGURE_ARGS+= --enable-fax-build 36CONFIGURE_ARGS+= --enable-fax-build
41CONFIGURE_ARGS+= --enable-dbus-build 37CONFIGURE_ARGS+= --enable-dbus-build
42EGFILES+= cups/pstotiff.convs cups/pstotiff.types 38EGFILES+= cups/pstotiff.convs cups/pstotiff.types
43MAKE_DIRS+= ${PKG_SYSCONFDIR}/cups 39MAKE_DIRS+= ${PKG_SYSCONFDIR}/cups
44DEPENDS+= ${PYPKGPREFIX}-reportlab-[0-9]*:../../print/py-reportlab 40DEPENDS+= ${PYPKGPREFIX}-reportlab-[0-9]*:../../print/py-reportlab
45.include "../../sysutils/dbus/buildlink3.mk" 41.include "../../sysutils/dbus/buildlink3.mk"
46.include "../../sysutils/py-dbus/buildlink3.mk" 42.include "../../sysutils/py-dbus/buildlink3.mk"
47.else 43.else
48CONFIGURE_ARGS+= --disable-dbus-build 44CONFIGURE_ARGS+= --disable-dbus-build
49CONFIGURE_ARGS+= --disable-fax-build 45CONFIGURE_ARGS+= --disable-fax-build