I would like to unhook libinput sooner rather than later to unhook KDE
plasma.  But let us first disable it over all.

The list of FreeBSD looks somehow too small. Can someone grep in a bulk
build?

https://www.freshports.org/x11/libinput/

OK to disable libinput auto detection in Qt?

Index: qt5/qtbase/Makefile
===================================================================
RCS file: /cvs/ports/x11/qt5/qtbase/Makefile,v
retrieving revision 1.64
diff -u -p -r1.64 Makefile
--- qt5/qtbase/Makefile 1 Sep 2023 13:13:27 -0000       1.64
+++ qt5/qtbase/Makefile 17 Oct 2023 11:42:56 -0000
@@ -15,6 +15,8 @@ PKGNAME-tds =         qt5-tds-${VERSION}
 PKG_ARCH-global =      *
 PKG_ARCH-examples =    *
 
+REVISION-main =                0
+
 DPB_PROPERTIES =       parallel
 
 SHARED_LIBS +=  Qt5Concurrent                4.0 # 5.15
@@ -141,6 +143,8 @@ CONFIGURE_ARGS +=   -confirm-license \
 # We have to wait until arm64 is vulkan ready.
 #BUILD_DEPENDS =               graphics/vulkan-loader
 CONFIGURE_ARGS +=      -no-vulkan
+
+CONFIGURE_ARGS +=      -no-libinput
 
 # Let's wait a little until we have more experience and test results
 #LIB_DEPENDS +=                sysutils/libudev-openbsd
Index: qt6/qtbase/Makefile
===================================================================
RCS file: /cvs/ports/x11/qt6/qtbase/Makefile,v
retrieving revision 1.25
diff -u -p -r1.25 Makefile
--- qt6/qtbase/Makefile 28 Jul 2023 08:44:09 -0000      1.25
+++ qt6/qtbase/Makefile 17 Oct 2023 11:42:57 -0000
@@ -11,6 +11,8 @@ PKGNAME-mysql =               qt6-mysql-${VERSION}
 PKGNAME-global =       qt6-global-${VERSION}
 PKGNAME-psql =         qt6-postgresql-${VERSION}
 
+REVISION-main          0
+
 PKG_ARCH-global =      *
 
 DPB_PROPERTIES =       parallel
@@ -115,6 +117,7 @@ CONFIGURE_ARGS +=   -DCMAKE_INSTALL_PREFIX
                        -DBUILD_WITH_PCH=OFF \
                        -DQT_FEATURE_journald=OFF \
                        -DQT_FEATURE_libudev=OFF \
+                       -DQT_FEATURE_libinput=OFF \
                        -DQT_FEATURE_openssl_linked=ON \
                        -DQT_FEATURE_dtls=OFF
 

Reply via email to