git: e20ac93a381f - main - x11-wm/kwinft: update to 5.27.0 after 3a490e8f310d

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Sat, 18 Feb 2023 02:24:23 UTC
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=e20ac93a381f4119f3d0247a77b3ce09e44d958f

commit e20ac93a381f4119f3d0247a77b3ce09e44d958f
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2023-02-17 14:50:58 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-02-18 02:21:44 +0000

    x11-wm/kwinft: update to 5.27.0 after 3a490e8f310d
    
    Changes:        https://gitlab.com/kwinft/kwinft/-/releases/kwinft@5.27.0-beta.0
    Changes:        https://gitlab.com/kwinft/kwinft/-/releases/kwinft@5.27.0
---
 x11-wm/kwinft/Makefile                             |  7 +--
 x11-wm/kwinft/distinfo                             |  6 +-
 .../patch-render_post_night__color__manager.h      | 19 +++++++
 x11-wm/kwinft/pkg-plist                            | 65 +++++++++-------------
 4 files changed, 51 insertions(+), 46 deletions(-)

diff --git a/x11-wm/kwinft/Makefile b/x11-wm/kwinft/Makefile
index 76807c830a8c..a81580ed84fc 100644
--- a/x11-wm/kwinft/Makefile
+++ b/x11-wm/kwinft/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	kwinft
 DISTVERSIONPREFIX=	${PORTNAME}@
-DISTVERSION=	5.26.0
-PORTREVISION=	2
+DISTVERSION=	5.27.0
 CATEGORIES=	x11-wm wayland
 
 MAINTAINER=	jbeich@FreeBSD.org
@@ -11,8 +10,6 @@ WWW=		https://gitlab.com/kwinft/kwinft
 LICENSE=	GPLv2+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-BROKEN=		requires https://invent.kde.org/plasma/kwin/-/commit/9e97c7383c73
-
 BUILD_DEPENDS=	evdev-proto>0:devel/evdev-proto
 LIB_DEPENDS=	libepoxy.so:graphics/libepoxy \
 		libwayland-server.so:graphics/wayland \
@@ -43,7 +40,7 @@ USE_QT=		qmake:build buildtools:build core dbus declarative gui \
 		multimedia:run quickcontrols2:run widgets x11extras
 USE_XORG=	pixman x11 xcb xi
 SHEBANG_FILES=	effect/effects/*.py kconf_update/*.py kconf_update/*.pl
-GL_COMMIT=	3005b261c7e069a2cee5f35ed676356b1a8c11b0
+GL_COMMIT=	6d47e3aebd58ea1e7556c67e0f7870e874922f7c
 PLIST_SUB=	VERSION=${PORTVERSION}
 LDFLAGS+=	-Wl,--as-needed # GL, ICE/SM/Xext, glib, intl, Qt5*, KF5*
 
diff --git a/x11-wm/kwinft/distinfo b/x11-wm/kwinft/distinfo
index 9b9544fa7cf5..e7ee1788831c 100644
--- a/x11-wm/kwinft/distinfo
+++ b/x11-wm/kwinft/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1665499617
+TIMESTAMP = 1676645458
 SHA256 (llvm-llvm-project-llvmorg-13.0.1_GH0.tar.gz) = 09c50d558bd975c41157364421820228df66632802a4a6a7c9c17f86a7340802
 SIZE (llvm-llvm-project-llvmorg-13.0.1_GH0.tar.gz) = 147290251
-SHA256 (kwinft-kwinft-3005b261c7e069a2cee5f35ed676356b1a8c11b0_GL0.tar.gz) = 8ca664a1a780be5c0fed63abbd145624a308404742903591e353790028ba66ba
-SIZE (kwinft-kwinft-3005b261c7e069a2cee5f35ed676356b1a8c11b0_GL0.tar.gz) = 5021610
+SHA256 (kwinft-kwinft-6d47e3aebd58ea1e7556c67e0f7870e874922f7c_GL0.tar.gz) = ac43fed49afeb5966199d1ce317b00d5c62c0a92271e5a40f7d7c2d6d325d7dc
+SIZE (kwinft-kwinft-6d47e3aebd58ea1e7556c67e0f7870e874922f7c_GL0.tar.gz) = 5026514
diff --git a/x11-wm/kwinft/files/patch-render_post_night__color__manager.h b/x11-wm/kwinft/files/patch-render_post_night__color__manager.h
new file mode 100644
index 000000000000..1bc88a701615
--- /dev/null
+++ b/x11-wm/kwinft/files/patch-render_post_night__color__manager.h
@@ -0,0 +1,19 @@
+Use "daylight" from "night_color_data.h" instead of <time.h>
+
+In file included from base/options.cpp:15:
+In file included from render/platform.h:10:
+render/post/night_color_manager.h:478:28: error: use of undeclared identifier 'daylight'
+        const bool isDay = daylight;
+                           ^
+
+--- render/post/night_color_manager.h.orig	2023-02-17 14:50:58 UTC
++++ render/post/night_color_manager.h
+@@ -475,7 +475,7 @@ class night_color_manager (private)
+         slow_update_timer = nullptr;
+ 
+         const QDateTime now = QDateTime::currentDateTime();
+-        const bool isDay = daylight;
++        const bool isDay = data.daylight;
+         const int targetTemp = isDay ? data.temperature.day_target : data.temperature.night_target;
+ 
+         // We've reached the target color temperature or the transition time is zero.
diff --git a/x11-wm/kwinft/pkg-plist b/x11-wm/kwinft/pkg-plist
index 86e3ff47847e..70f5a4152b7b 100644
--- a/x11-wm/kwinft/pkg-plist
+++ b/x11-wm/kwinft/pkg-plist
@@ -36,6 +36,7 @@ include/kwinglutils.h
 include/kwinglutils_export.h
 include/kwinglutils_funcs.h
 include/kwinoffscreeneffect.h
+include/kwinquickeffect.h
 include/kwinxrender/export.h
 include/kwinxrender/utils.h
 include/kwinxrenderutils.h
@@ -49,21 +50,21 @@ lib/kconf_update_bin/kwin5_update_default_rules
 lib/libexec/kwin-applywindowdecoration
 lib/libexec/kwin_killer_helper
 lib/libexec/kwin_rules_dialog
-lib/libkcmkwincommon.so.5
 lib/libkcmkwincommon.so.%%VERSION%%
-lib/libkwin.so.5
+lib/libkcmkwincommon.so.5
 lib/libkwin.so.%%VERSION%%
-lib/libkwin_wayland.so.5
+lib/libkwin.so.5
 lib/libkwin_wayland.so.%%VERSION%%
+lib/libkwin_wayland.so.5
 lib/libkwineffects.so
-lib/libkwineffects.so.13
 lib/libkwineffects.so.%%VERSION%%
+lib/libkwineffects.so.14
 lib/libkwinglutils.so
-lib/libkwinglutils.so.13
 lib/libkwinglutils.so.%%VERSION%%
+lib/libkwinglutils.so.14
 lib/libkwinxrenderutils.so
-lib/libkwinxrenderutils.so.13
 lib/libkwinxrenderutils.so.%%VERSION%%
+lib/libkwinxrenderutils.so.14
 %%QT_PLUGINDIR%%/kpackage/packagestructure/kwin_aurorae.so
 %%QT_PLUGINDIR%%/kpackage/packagestructure/kwin_decoration.so
 %%QT_PLUGINDIR%%/kpackage/packagestructure/kwin_effect.so
@@ -71,12 +72,10 @@ lib/libkwinxrenderutils.so.%%VERSION%%
 %%QT_PLUGINDIR%%/kpackage/packagestructure/kwin_windowswitcher.so
 %%QT_PLUGINDIR%%/kwin/effects/configs/kcm_kwin4_genericscripted.so
 %%QT_PLUGINDIR%%/kwin/effects/configs/kwin_blur_config.so
-%%QT_PLUGINDIR%%/kwin/effects/configs/kwin_coverswitch_config.so
 %%QT_PLUGINDIR%%/kwin/effects/configs/kwin_cube_config.so
 %%QT_PLUGINDIR%%/kwin/effects/configs/kwin_cubeslide_config.so
 %%QT_PLUGINDIR%%/kwin/effects/configs/kwin_desktopgrid_config.so
 %%QT_PLUGINDIR%%/kwin/effects/configs/kwin_diminactive_config.so
-%%QT_PLUGINDIR%%/kwin/effects/configs/kwin_flipswitch_config.so
 %%QT_PLUGINDIR%%/kwin/effects/configs/kwin_glide_config.so
 %%QT_PLUGINDIR%%/kwin/effects/configs/kwin_invert_config.so
 %%QT_PLUGINDIR%%/kwin/effects/configs/kwin_lookingglass_config.so
@@ -84,13 +83,13 @@ lib/libkwinxrenderutils.so.%%VERSION%%
 %%QT_PLUGINDIR%%/kwin/effects/configs/kwin_magnifier_config.so
 %%QT_PLUGINDIR%%/kwin/effects/configs/kwin_mouseclick_config.so
 %%QT_PLUGINDIR%%/kwin/effects/configs/kwin_mousemark_config.so
-%%QT_PLUGINDIR%%/kwin/effects/configs/kwin_presentwindows_config.so
+%%QT_PLUGINDIR%%/kwin/effects/configs/kwin_overview_config.so
 %%QT_PLUGINDIR%%/kwin/effects/configs/kwin_resize_config.so
-%%QT_PLUGINDIR%%/kwin/effects/configs/kwin_showfps_config.so
 %%QT_PLUGINDIR%%/kwin/effects/configs/kwin_showpaint_config.so
 %%QT_PLUGINDIR%%/kwin/effects/configs/kwin_slide_config.so
 %%QT_PLUGINDIR%%/kwin/effects/configs/kwin_thumbnailaside_config.so
 %%QT_PLUGINDIR%%/kwin/effects/configs/kwin_trackmouse_config.so
+%%QT_PLUGINDIR%%/kwin/effects/configs/kwin_windowview_config.so
 %%QT_PLUGINDIR%%/kwin/effects/configs/kwin_wobblywindows_config.so
 %%QT_PLUGINDIR%%/kwin/effects/configs/kwin_zoom_config.so
 %%QT_PLUGINDIR%%/org.kde.kdecoration2/kwin5_aurorae.so
@@ -104,6 +103,7 @@ lib/libkwinxrenderutils.so.%%VERSION%%
 %%QT_PLUGINDIR%%/plasma/kcms/systemsettings_qwidgets/kcm_kwintabbox.so
 %%QT_PLUGINDIR%%/plasma/kcms/systemsettings_qwidgets/kcm_kwintouchscreen.so
 %%QT_PLUGINDIR%%/plasma/kcms/systemsettings_qwidgets/kwincompositing.so
+%%QT_QMLDIR%%/org/kde/kwin.2/DesktopThumbnailItem.qml
 %%QT_QMLDIR%%/org/kde/kwin/decoration/AppMenuButton.qml
 %%QT_QMLDIR%%/org/kde/kwin/decoration/ButtonGroup.qml
 %%QT_QMLDIR%%/org/kde/kwin/decoration/Decoration.qml
@@ -113,6 +113,10 @@ lib/libkwinxrenderutils.so.%%VERSION%%
 %%QT_QMLDIR%%/org/kde/kwin/decoration/qmldir
 %%QT_QMLDIR%%/org/kde/kwin/decorations/plastik/libplastikplugin.so
 %%QT_QMLDIR%%/org/kde/kwin/decorations/plastik/qmldir
+%%QT_QMLDIR%%/org/kde/kwin/private/effects/WindowHeap.qml
+%%QT_QMLDIR%%/org/kde/kwin/private/effects/WindowHeapDelegate.qml
+%%QT_QMLDIR%%/org/kde/kwin/private/effects/libeffectsplugin.so
+%%QT_QMLDIR%%/org/kde/kwin/private/effects/qmldir
 %%QT_QMLDIR%%/org/kde/kwin/private/kdecoration/libkdecorationprivatedeclarative.so
 %%QT_QMLDIR%%/org/kde/kwin/private/kdecoration/qmldir
 lib/systemd/user/plasma-kwin_wayland.service
@@ -204,6 +208,9 @@ share/kconf_update/kwin-5.16-auto-bordersize.sh
 share/kconf_update/kwin-5.18-move-animspeed.py
 share/kconf_update/kwin-5.21-desktop-grid-click-behavior.py
 share/kconf_update/kwin-5.23-placement.pl
+share/kconf_update/kwin-5.23-remove-cover-switch.py
+share/kconf_update/kwin-5.23-remove-flip-switch.py
+share/kconf_update/kwin-5.25-effect-pluginid-config-group.py
 share/kconf_update/kwin.upd
 share/kconf_update/kwinrules-5.19-placement.pl
 share/kconf_update/kwinrules-5.23-placement.pl
@@ -232,7 +239,6 @@ share/kpackage/kcms/kcm_kwinrules/contents/ui/ValueEditor.qml
 share/kpackage/kcms/kcm_kwinrules/contents/ui/main.qml
 share/kpackage/kcms/kcm_kwinrules/metadata.desktop
 share/kpackage/kcms/kcm_kwinrules/metadata.json
-share/kservices5/kwin/kwin4_decoration_qml_plastik.desktop
 share/kservicetypes5/kwindecoration.desktop
 share/kservicetypes5/kwindesktopswitcher.desktop
 share/kservicetypes5/kwineffect.desktop
@@ -250,13 +256,11 @@ share/kwin/builtin-effects/kwin4_effect_blend/metadata.json
 share/kwin/builtin-effects/kwin4_effect_blur/metadata.json
 share/kwin/builtin-effects/kwin4_effect_colorpicker/metadata.json
 share/kwin/builtin-effects/kwin4_effect_contrast/metadata.json
-share/kwin/builtin-effects/kwin4_effect_coverswitch/metadata.json
 share/kwin/builtin-effects/kwin4_effect_cube/metadata.json
 share/kwin/builtin-effects/kwin4_effect_cubeslide/metadata.json
 share/kwin/builtin-effects/kwin4_effect_desktopgrid/metadata.json
 share/kwin/builtin-effects/kwin4_effect_diminactive/metadata.json
 share/kwin/builtin-effects/kwin4_effect_fallapart/metadata.json
-share/kwin/builtin-effects/kwin4_effect_flipswitch/metadata.json
 share/kwin/builtin-effects/kwin4_effect_glide/metadata.json
 share/kwin/builtin-effects/kwin4_effect_highlightwindow/metadata.json
 share/kwin/builtin-effects/kwin4_effect_invert/metadata.json
@@ -266,7 +270,7 @@ share/kwin/builtin-effects/kwin4_effect_magiclamp/metadata.json
 share/kwin/builtin-effects/kwin4_effect_magnifier/metadata.json
 share/kwin/builtin-effects/kwin4_effect_mouseclick/metadata.json
 share/kwin/builtin-effects/kwin4_effect_mousemark/metadata.json
-share/kwin/builtin-effects/kwin4_effect_presentwindows/metadata.json
+share/kwin/builtin-effects/kwin4_effect_overview/metadata.json
 share/kwin/builtin-effects/kwin4_effect_resize/metadata.json
 share/kwin/builtin-effects/kwin4_effect_screenedge/metadata.json
 share/kwin/builtin-effects/kwin4_effect_screenshot/metadata.json
@@ -281,6 +285,7 @@ share/kwin/builtin-effects/kwin4_effect_startupfeedback/metadata.json
 share/kwin/builtin-effects/kwin4_effect_thumbnailaside/metadata.json
 share/kwin/builtin-effects/kwin4_effect_touchpoints/metadata.json
 share/kwin/builtin-effects/kwin4_effect_trackmouse/metadata.json
+share/kwin/builtin-effects/kwin4_effect_windowview/metadata.json
 share/kwin/builtin-effects/kwin4_effect_wobblywindows/metadata.json
 share/kwin/builtin-effects/kwin4_effect_zoom/metadata.json
 share/kwin/cubecap.png
@@ -288,67 +293,55 @@ share/kwin/decorations/kwin4_decoration_qml_plastik/contents/config/main.xml
 share/kwin/decorations/kwin4_decoration_qml_plastik/contents/ui/PlastikButton.qml
 share/kwin/decorations/kwin4_decoration_qml_plastik/contents/ui/config.ui
 share/kwin/decorations/kwin4_decoration_qml_plastik/contents/ui/main.qml
-share/kwin/decorations/kwin4_decoration_qml_plastik/metadata.desktop
-share/kwin/effects/desktopgrid/main.qml
+share/kwin/decorations/kwin4_decoration_qml_plastik/metadata.json
+share/kwin/effects/desktopgrid/qml/DesktopView.qml
+share/kwin/effects/desktopgrid/qml/main.qml
 share/kwin/effects/kwin4_effect_dialogparent/contents/code/main.js
-share/kwin/effects/kwin4_effect_dialogparent/metadata.desktop
 share/kwin/effects/kwin4_effect_dialogparent/metadata.json
 share/kwin/effects/kwin4_effect_dimscreen/contents/code/main.js
-share/kwin/effects/kwin4_effect_dimscreen/metadata.desktop
 share/kwin/effects/kwin4_effect_dimscreen/metadata.json
 share/kwin/effects/kwin4_effect_eyeonscreen/contents/code/main.js
-share/kwin/effects/kwin4_effect_eyeonscreen/metadata.desktop
 share/kwin/effects/kwin4_effect_eyeonscreen/metadata.json
 share/kwin/effects/kwin4_effect_fade/contents/code/main.js
 share/kwin/effects/kwin4_effect_fade/contents/config/main.xml
-share/kwin/effects/kwin4_effect_fade/metadata.desktop
 share/kwin/effects/kwin4_effect_fade/metadata.json
 share/kwin/effects/kwin4_effect_fadedesktop/contents/code/main.js
-share/kwin/effects/kwin4_effect_fadedesktop/metadata.desktop
 share/kwin/effects/kwin4_effect_fadedesktop/metadata.json
 share/kwin/effects/kwin4_effect_fadingpopups/contents/code/main.js
-share/kwin/effects/kwin4_effect_fadingpopups/metadata.desktop
 share/kwin/effects/kwin4_effect_fadingpopups/metadata.json
 share/kwin/effects/kwin4_effect_frozenapp/contents/code/main.js
-share/kwin/effects/kwin4_effect_frozenapp/metadata.desktop
 share/kwin/effects/kwin4_effect_frozenapp/metadata.json
 share/kwin/effects/kwin4_effect_fullscreen/contents/code/fullscreen.js
-share/kwin/effects/kwin4_effect_fullscreen/metadata.desktop
 share/kwin/effects/kwin4_effect_fullscreen/metadata.json
 share/kwin/effects/kwin4_effect_login/contents/code/main.js
 share/kwin/effects/kwin4_effect_login/contents/config/main.xml
 share/kwin/effects/kwin4_effect_login/contents/ui/config.ui
-share/kwin/effects/kwin4_effect_login/metadata.desktop
 share/kwin/effects/kwin4_effect_login/metadata.json
 share/kwin/effects/kwin4_effect_logout/contents/code/main.js
-share/kwin/effects/kwin4_effect_logout/metadata.desktop
 share/kwin/effects/kwin4_effect_logout/metadata.json
 share/kwin/effects/kwin4_effect_maximize/contents/code/maximize.js
-share/kwin/effects/kwin4_effect_maximize/metadata.desktop
 share/kwin/effects/kwin4_effect_maximize/metadata.json
 share/kwin/effects/kwin4_effect_morphingpopups/contents/code/morphingpopups.js
-share/kwin/effects/kwin4_effect_morphingpopups/metadata.desktop
 share/kwin/effects/kwin4_effect_morphingpopups/metadata.json
 share/kwin/effects/kwin4_effect_scale/contents/code/main.js
 share/kwin/effects/kwin4_effect_scale/contents/config/main.xml
 share/kwin/effects/kwin4_effect_scale/contents/ui/config.ui
-share/kwin/effects/kwin4_effect_scale/metadata.desktop
 share/kwin/effects/kwin4_effect_scale/metadata.json
 share/kwin/effects/kwin4_effect_sessionquit/contents/code/main.js
-share/kwin/effects/kwin4_effect_sessionquit/metadata.desktop
 share/kwin/effects/kwin4_effect_sessionquit/metadata.json
 share/kwin/effects/kwin4_effect_squash/contents/code/main.js
-share/kwin/effects/kwin4_effect_squash/metadata.desktop
 share/kwin/effects/kwin4_effect_squash/metadata.json
 share/kwin/effects/kwin4_effect_translucency/contents/code/main.js
 share/kwin/effects/kwin4_effect_translucency/contents/config/main.xml
 share/kwin/effects/kwin4_effect_translucency/contents/ui/config.ui
-share/kwin/effects/kwin4_effect_translucency/metadata.desktop
 share/kwin/effects/kwin4_effect_translucency/metadata.json
 share/kwin/effects/kwin4_effect_windowaperture/contents/code/main.js
-share/kwin/effects/kwin4_effect_windowaperture/metadata.desktop
 share/kwin/effects/kwin4_effect_windowaperture/metadata.json
-share/kwin/effects/presentwindows/main.qml
+share/kwin/effects/overview/qml/DesktopBar.qml
+share/kwin/effects/overview/qml/DesktopView.qml
+share/kwin/effects/overview/qml/ScreenView.qml
+share/kwin/effects/showfps/qml/main.qml
+share/kwin/effects/windowview/qml/main.qml
 share/kwin/frames/plasma/frame_none.qml
 share/kwin/frames/plasma/frame_styled.qml
 share/kwin/frames/plasma/frame_unstyled.qml
@@ -362,18 +355,14 @@ share/kwin/onscreennotification/plasma/main.qml
 share/kwin/outline/plasma/outline.qml
 share/kwin/scripts/desktopchangeosd/contents/ui/main.qml
 share/kwin/scripts/desktopchangeosd/contents/ui/osd.qml
-share/kwin/scripts/desktopchangeosd/metadata.desktop
 share/kwin/scripts/desktopchangeosd/metadata.json
 share/kwin/scripts/minimizeall/contents/code/main.js
-share/kwin/scripts/minimizeall/metadata.desktop
 share/kwin/scripts/minimizeall/metadata.json
 share/kwin/scripts/synchronizeskipswitcher/contents/code/main.js
-share/kwin/scripts/synchronizeskipswitcher/metadata.desktop
 share/kwin/scripts/synchronizeskipswitcher/metadata.json
 share/kwin/scripts/videowall/contents/code/main.js
 share/kwin/scripts/videowall/contents/config/main.xml
 share/kwin/scripts/videowall/contents/ui/config.ui
-share/kwin/scripts/videowall/metadata.desktop
 share/kwin/scripts/videowall/metadata.json
 share/kwin/tm_inner.png
 share/kwin/tm_outer.png