From nobody Thu Nov 04 23:18:50 2021 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id D5150182B81C; Thu, 4 Nov 2021 23:18:50 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Hlfhp40jrz4gjp; Thu, 4 Nov 2021 23:18:50 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 5BFA249E5; Thu, 4 Nov 2021 23:18:50 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1A4NIo3c077764; Thu, 4 Nov 2021 23:18:50 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1A4NIoHW077763; Thu, 4 Nov 2021 23:18:50 GMT (envelope-from git) Date: Thu, 4 Nov 2021 23:18:50 GMT Message-Id: <202111042318.1A4NIoHW077763@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Jan Beich Subject: git: b468e890e52a - main - x11/disman: add new port List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jbeich X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: b468e890e52a85bf97f5f06107d7e3797c6ea71b Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=b468e890e52a85bf97f5f06107d7e3797c6ea71b commit b468e890e52a85bf97f5f06107d7e3797c6ea71b Author: Jan Beich AuthorDate: 2021-10-14 15:23:56 +0000 Commit: Jan Beich CommitDate: 2021-11-04 23:16:51 +0000 x11/disman: add new port Disman is a display management service and library. The service can communicate with the X11 windowing system and a multitude of Wayland compositors. The library provides convenient objects and methods for writing frontend GUI applications that interact with the service. Additionally the command line utility "dismanctl" is provided to query and modify display settings directly from the command line. https://gitlab.com/kwinft/disman --- x11/Makefile | 1 + x11/disman/Makefile | 35 ++++++++++++++++++++++++++ x11/disman/distinfo | 3 +++ x11/disman/files/patch-CMakeLists.txt | 25 +++++++++++++++++++ x11/disman/pkg-descr | 11 +++++++++ x11/disman/pkg-plist | 46 +++++++++++++++++++++++++++++++++++ 6 files changed, 121 insertions(+) diff --git a/x11/Makefile b/x11/Makefile index 60c7112f14af..dfeb6e84da91 100644 --- a/x11/Makefile +++ b/x11/Makefile @@ -48,6 +48,7 @@ SUBDIR += deforaos-locker SUBDIR += deforaos-panel SUBDIR += deskmenu + SUBDIR += disman SUBDIR += dmenu SUBDIR += dmenu-wayland SUBDIR += docker-tray diff --git a/x11/disman/Makefile b/x11/disman/Makefile new file mode 100644 index 000000000000..2ff763bbfb68 --- /dev/null +++ b/x11/disman/Makefile @@ -0,0 +1,35 @@ +PORTNAME= disman +DISTVERSIONPREFIX= ${PORTNAME}@ +DISTVERSION= 0.523.0 +CATEGORIES= x11 + +MAINTAINER= jbeich@FreeBSD.org +COMMENT= Qt/C++ display management library + +LICENSE= LGPL21+ +LICENSE_FILE= ${WRKSRC}/COPYING.LIB + +TEST_DEPENDS= ${qt-testlib_PORT:T}>0:${qt-testlib_PORT} + +USES= cmake:testing kde:5 qt:5 +USE_GITLAB= yes +USE_KDE= ecm_build coreaddons +USE_LDCONFIG= yes +USE_QT= qmake_build buildtools_build core dbus gui +GL_ACCOUNT= kwinft +GL_COMMIT= fd261a3b0c8991d1deb81e2d78e575bd96f5be60 +PLIST_SUB= VERSION=${PORTVERSION} + +OPTIONS_DEFINE= WAYLAND X11 +OPTIONS_DEFAULT=WAYLAND X11 +OPTIONS_SUB= yes + +WAYLAND_LIB_DEPENDS= libWraplandClient.so:graphics/wrapland +WAYLAND_USE= KDE=wayland +WAYLAND_CMAKE_BOOL_OFF= ${KF5Wayland Wrapland:L:S/^/CMAKE_DISABLE_FIND_PACKAGE_/} + +X11_USES= xorg +X11_USE= QT=x11extras XORG=xcb +X11_CMAKE_BOOL_OFF= ${Qt5X11Extras XCB:L:S/^/CMAKE_DISABLE_FIND_PACKAGE_/} + +.include diff --git a/x11/disman/distinfo b/x11/disman/distinfo new file mode 100644 index 000000000000..263bb4080a58 --- /dev/null +++ b/x11/disman/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1634225036 +SHA256 (kwinft-disman-fd261a3b0c8991d1deb81e2d78e575bd96f5be60_GL0.tar.gz) = 1ffb7f62974c7ba2d03058b553eb000f772e9a07e07512240fa58cd3663b4021 +SIZE (kwinft-disman-fd261a3b0c8991d1deb81e2d78e575bd96f5be60_GL0.tar.gz) = 153098 diff --git a/x11/disman/files/patch-CMakeLists.txt b/x11/disman/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..f620c68b1996 --- /dev/null +++ b/x11/disman/files/patch-CMakeLists.txt @@ -0,0 +1,25 @@ +CMake Error at /usr/local/lib/cmake/Qt5/Qt5Config.cmake:28 (find_package): + find_package for module Qt5Test called with REQUIRED, but + CMAKE_DISABLE_FIND_PACKAGE_Qt5Test is enabled. A REQUIRED package cannot + be disabled. +Call Stack (most recent call first): + CMakeLists.txt:27 (find_package) + +--- CMakeLists.txt.orig 2021-10-14 15:23:56 UTC ++++ CMakeLists.txt +@@ -28,7 +28,6 @@ find_package(Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED + Core + DBus + Gui +- Test + ) + + # Wayland backend plugin KWayland +@@ -66,6 +65,7 @@ add_subdirectory(service) + add_subdirectory(ctl) + add_subdirectory(backends) + if(BUILD_TESTING) ++ find_package(Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED Test) + add_subdirectory(autotests) + add_subdirectory(tests) + endif() diff --git a/x11/disman/pkg-descr b/x11/disman/pkg-descr new file mode 100644 index 000000000000..09456abca5bd --- /dev/null +++ b/x11/disman/pkg-descr @@ -0,0 +1,11 @@ +Disman is a display management service and library. + +The service can communicate with the X11 windowing system and a +multitude of Wayland compositors. The library provides convenient +objects and methods for writing frontend GUI applications that +interact with the service. + +Additionally the command line utility "dismanctl" is provided to query +and modify display settings directly from the command line. + +WWW: https://gitlab.com/kwinft/disman diff --git a/x11/disman/pkg-plist b/x11/disman/pkg-plist new file mode 100644 index 000000000000..686077568d32 --- /dev/null +++ b/x11/disman/pkg-plist @@ -0,0 +1,46 @@ +bin/dismanctl +include/disman/backendmanager_p.h +include/disman/config.h +include/disman/configmonitor.h +include/disman/configoperation.h +include/disman/disman_export.h +include/disman/generator.h +include/disman/getconfigoperation.h +include/disman/log.h +include/disman/mode.h +include/disman/output.h +include/disman/screen.h +include/disman/setconfigoperation.h +include/disman/types.h +include/disman/wayland/disman_wayland_export.h +include/disman/wayland/wayland_interface.h +include/disman/wayland/waylandoutput.h +include/disman_version.h +include/disman_wayland_version.h +lib/cmake/Disman/DismanConfig.cmake +lib/cmake/Disman/DismanConfigVersion.cmake +lib/cmake/Disman/DismanTargets-%%CMAKE_BUILD_TYPE%%.cmake +lib/cmake/Disman/DismanTargets.cmake +lib/cmake/DismanWayland/DismanWaylandConfig.cmake +lib/cmake/DismanWayland/DismanWaylandConfigVersion.cmake +lib/cmake/DismanWayland/DismanWaylandTargets-%%CMAKE_BUILD_TYPE%%.cmake +lib/cmake/DismanWayland/DismanWaylandTargets.cmake +lib/libDisman.so +lib/libDisman.so.0 +lib/libDisman.so.%%VERSION%% +lib/libDismanWayland.so +lib/libDismanWayland.so.0 +lib/libDismanWayland.so.%%VERSION%% +lib/libexec/disman_backend_launcher +%%QT_MKSPECDIR%%/modules/qt_Disman.pri +%%QT_PLUGINDIR%%/disman/fake.so +%%QT_PLUGINDIR%%/disman/qscreen.so +%%X11%%%%QT_PLUGINDIR%%/disman/randr.so +%%QT_PLUGINDIR%%/disman/wayland.so +%%WAYLAND%%%%QT_PLUGINDIR%%/disman/wayland/kwayland.so +%%WAYLAND%%%%QT_PLUGINDIR%%/disman/wayland/kwinft.so +%%WAYLAND%%%%QT_PLUGINDIR%%/disman/wayland/wlroots-wrapland.so +libdata/pkgconfig/disman-wayland.pc +libdata/pkgconfig/disman.pc +share/dbus-1/services/org.kwinft.disman.service +share/qlogging-categories5/Disman.categories