1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

x11-wm/theseus-ship: update to 6.0.0

Changes:	https://github.com/winft/theseus-ship/releases/tag/v6.0.0
Reported by:	GitHub (watch releases)
This commit is contained in:
Jan Beich 2024-02-27 14:10:40 +01:00
parent 6afd235692
commit 8dc860e740
16 changed files with 113 additions and 537 deletions

1
MOVED
View File

@ -3171,3 +3171,4 @@ lang/ocaml-nox11|lang/ocaml|2024-04-10|X11 support removed upstream
lang/qscheme||2024-04-10|Has expired: Unmaintained and there are more modern alternatives
x11/nvidia-hybrid-graphics||2024-04-11|Has expired: Not maintained and obsoleted by glvnd and nvidia-drm-kmod
lang/cython-devel|lang/cython3|2024-04-11|Has expired: use lang/cython3
x11-wm/kwinft|x11-wm/theseus-ship|2024-03-13|Project renamed

View File

@ -6,8 +6,8 @@ never touches the CPU, leaving it free to run your applications.
System Requirements:
* Wayland compositor supporting the following protocols:
* wlr-output-management-unstable-v1 (missing in hikari, cagebreak, gamescope, kwinft)
* wlr-screencopy-unstable-v1 (missing in gamescope and kwinft)
* wlr-output-management-unstable-v1 (missing in hikari, cagebreak, gamescope)
* wlr-screencopy-unstable-v1 (missing in gamescope and theseus-ship)
Known working examples: sway, hyprland, wayfire, labwc.
* VA-API encoding:
* Intel iGPUs: libva-intel-media-driver or libva-intel-driver

View File

@ -56,7 +56,6 @@
SUBDIR += jwm
SUBDIR += kickshaw
SUBDIR += korgwm
SUBDIR += kwinft
SUBDIR += labwc
SUBDIR += leftwm
SUBDIR += libcompizconfig
@ -106,6 +105,7 @@
SUBDIR += sway
SUBDIR += sway-devel
SUBDIR += swayfx
SUBDIR += theseus-ship
SUBDIR += tinywm
SUBDIR += transset
SUBDIR += twm

View File

@ -1,78 +0,0 @@
PORTNAME= kwinft
DISTVERSIONPREFIX= ${PORTNAME}@
DISTVERSION= 5.27.0
DISTVERSIONSUFFIX= -0-g6d47e3aeb
PORTREVISION= 4
CATEGORIES= x11-wm wayland
MAINTAINER= jbeich@FreeBSD.org
COMMENT= Wayland compositor and X11 window manager
WWW= https://github.com/winft/theseus-ship
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
BROKEN= fails to build with wrapland 0.600
BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto
LIB_DEPENDS= libepoxy.so:graphics/libepoxy \
libwayland-server.so:graphics/wayland \
libWraplandServer.so:graphics/wrapland \
libfreetype.so:print/freetype2 \
libfontconfig.so:x11-fonts/fontconfig \
libwlroots.so:x11-toolkits/wlroots \
libinput.so:x11/libinput \
libxkbcommon.so:x11/libxkbcommon \
libxcb-cursor.so:x11/xcb-util-cursor \
libxcb-image.so:x11/xcb-util-image \
libxcb-keysyms.so:x11/xcb-util-keysyms \
libxcb-icccm.so:x11/xcb-util-wm
TEST_DEPENDS= ${qt-testlib_PORT:T}>0:${qt-testlib_PORT}
CONFLICTS_INSTALL= plasma5-kwin # bin/kwin_wayland
USES= cmake:testing gl kde:5 pkgconfig python:run qt:5 shebangfix xorg
USE_GITHUB= yes
USE_GL= egl
USE_KDE= ecm:build auth config configwidgets \
coreaddons crash dbusaddons decoration globalaccel i18n \
idletime kcmutils kdeclarative kio kscreenlocker newstuff \
notifications package plasma-framework service \
widgetsaddons windowsystem xmlgui
USE_LDCONFIG= yes
USE_QT= qmake:build buildtools:build core dbus declarative gui \
multimedia:run quickcontrols2:run widgets x11extras
USE_XORG= pixman x11 xcb xi
GH_ACCOUNT= winft
GH_PROJECT= theseus-ship
WRKSRC= ${WRKDIR}/${GH_PROJECT}-${GH_TAGNAME:S/@/-/}
SHEBANG_FILES= effect/effects/*.py kconf_update/*.py kconf_update/*.pl
PLIST_SUB= VERSION=${PORTVERSION}
LDFLAGS+= -Wl,--as-needed # GL, ICE/SM/Xext, glib, intl, Qt5*, KF5*
OPTIONS_DEFINE= BREEZE DOCS QA11Y
OPTIONS_DEFAULT=BREEZE QA11Y
BREEZE_DESC= Default window decoration plugin
BREEZE_USE= KDE=breeze
BREEZE_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_Breeze
DOCS_USE= KDE=doctools:build
DOCS_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_KF5DocTools
QA11Y_DESC= Accessibility (focus tracking) for Zoom effect
QA11Y_LIB_DEPENDS= libqaccessibilityclient-qt5.so:accessibility/libqaccessibilityclient@qt5
QA11Y_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_QAccessibilityClient
post-patch:
# Convert nodes from linprocfs(5) to procfs(5)
# XXX kwinft lacks https://invent.kde.org/plasma/kwin/-/commit/1bc7afe8aaa9
@${REINPLACE_CMD} -e '/proc/,+1s,/exe,/file,' \
${WRKSRC}/base/wayland/filtered_display.cpp \
${WRKSRC}/desktop/kde/service_utils.h
# Generic nodes are not supported by procfs(5)
@${REINPLACE_CMD} -e '/mounts/s,/proc,${LINUXBASE}&,' \
${WRKSRC}/debug/perf/ftrace_impl.cpp
.include "${.CURDIR:H:H}/x11-toolkits/wlroots016/override.mk"
.include <bsd.port.mk>

View File

@ -1,3 +0,0 @@
TIMESTAMP = 1676645458
SHA256 (winft-theseus-ship-kwinft@5.27.0-0-g6d47e3aeb_GH0.tar.gz) = 0a128ae9af589b2506f851f00578779bbde9dc9170cdbb5e9e3943a2210f54a6
SIZE (winft-theseus-ship-kwinft@5.27.0-0-g6d47e3aeb_GH0.tar.gz) = 5025775

View File

@ -1,36 +0,0 @@
- Emulate SCHED_RESET_ON_FORK via pthread_atfork
- Switch to pthread_setschedparam as Linux sched_setscheduler
operates on threads contrary to POSIX
--- main_wayland.cpp.orig 2023-02-17 14:50:58 UTC
+++ main_wayland.cpp
@@ -58,7 +58,7 @@ along with this program. If not, see <http://www.gnu.
#include <QDebug>
#include <QWindow>
-#include <sched.h>
+#include <pthread.h>
#include <sys/resource.h>
#include <iostream>
@@ -122,12 +122,17 @@ void gainRealTime()
namespace {
void gainRealTime()
{
-#if HAVE_SCHED_RESET_ON_FORK
const int minPriority = sched_get_priority_min(SCHED_RR);
sched_param sp;
sp.sched_priority = minPriority;
- sched_setscheduler(0, SCHED_RR | SCHED_RESET_ON_FORK, &sp);
-#endif
+ if (pthread_setschedparam(pthread_self(), SCHED_RR, &sp))
+ return;
+
+ pthread_atfork(NULL, NULL, []() {
+ sched_param sp;
+ sp.sched_priority = 0;
+ pthread_setschedparam(pthread_self(), SCHED_OTHER, &sp);
+ });
}
}

View File

@ -1,23 +0,0 @@
In file included from ../.build/kwin_x11_lib_autogen/mocs_compilation.cpp:10:
In file included from ../.build/kwin_x11_lib_autogen/TRO3DFMZQE/moc_effects.cpp:10:
In file included from render/x11/effects.h:9:
In file included from render/x11/effect/blur_integration.h:8:
In file included from render/x11/effect/blur_update.h:8:
In file included from render/effect/internal_win_update.h:9:
render/effect/internal_win_properties.h:46:62: error: implicit instantiation of undefined template 'std::array<std::variant<KWin::render::internal_effect_property<QRegion>>, 1>'
inline std::array<std::variant<internal_region_property>, 1> get_internal_blur_properties()
^
/usr/include/c++/v1/__tuple:219:64: note: template is declared here
template <class _Tp, size_t _Size> struct _LIBCPP_TEMPLATE_VIS array;
^
--- render/effect/internal_win_properties.h.orig 2022-06-14 17:35:07 UTC
+++ render/effect/internal_win_properties.h
@@ -7,6 +7,7 @@
#include <KWindowEffects>
#include <QVariant>
+#include <array>
#include <string_view>
#include <variant>

View File

@ -1,19 +0,0 @@
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.

View File

@ -1,369 +0,0 @@
bin/kwin_wayland
bin/kwin_wayland_wrapper
bin/kwin_x11
include/kwin_export.h
include/kwinanimationeffect.h
include/kwinconfig.h
include/kwineffectquickview.h
include/kwineffects.h
include/kwineffects/animation_effect.h
include/kwineffects/effect.h
include/kwineffects/effect_frame.h
include/kwineffects/effect_integration.h
include/kwineffects/effect_plugin_factory.h
include/kwineffects/effect_quick_view.h
include/kwineffects/effect_screen.h
include/kwineffects/effect_window.h
include/kwineffects/effects_handler.h
include/kwineffects/export.h
include/kwineffects/motions.h
include/kwineffects/offscreen_effect.h
include/kwineffects/paint_clipper.h
include/kwineffects/paint_data.h
include/kwineffects/time_line.h
include/kwineffects/types.h
include/kwineffects/window_quad.h
include/kwineffects_export.h
include/kwingl/export.h
include/kwingl/platform.h
include/kwingl/texture.h
include/kwingl/utils.h
include/kwingl/utils_funcs.h
include/kwinglobals.h
include/kwinglplatform.h
include/kwingltexture.h
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
include/kwinxrenderutils_export.h
lib/cmake/KWinDBusInterface/KWinDBusInterfaceConfig.cmake
lib/cmake/KWinEffects/KWinEffectsConfig.cmake
lib/cmake/KWinEffects/KWinEffectsConfigVersion.cmake
lib/cmake/KWinEffects/KWinEffectsTargets-%%CMAKE_BUILD_TYPE%%.cmake
lib/cmake/KWinEffects/KWinEffectsTargets.cmake
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.%%VERSION%%
lib/libkcmkwincommon.so.5
lib/libkwin.so.%%VERSION%%
lib/libkwin.so.5
lib/libkwin_wayland.so.%%VERSION%%
lib/libkwin_wayland.so.5
lib/libkwineffects.so
lib/libkwineffects.so.%%VERSION%%
lib/libkwineffects.so.14
lib/libkwinglutils.so
lib/libkwinglutils.so.%%VERSION%%
lib/libkwinglutils.so.14
lib/libkwinxrenderutils.so
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
%%QT_PLUGINDIR%%/kpackage/packagestructure/kwin_script.so
%%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_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_glide_config.so
%%QT_PLUGINDIR%%/kwin/effects/configs/kwin_invert_config.so
%%QT_PLUGINDIR%%/kwin/effects/configs/kwin_lookingglass_config.so
%%QT_PLUGINDIR%%/kwin/effects/configs/kwin_magiclamp_config.so
%%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_overview_config.so
%%QT_PLUGINDIR%%/kwin/effects/configs/kwin_resize_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
%%QT_PLUGINDIR%%/plasma/kcms/systemsettings/kcm_kwin_effects.so
%%QT_PLUGINDIR%%/plasma/kcms/systemsettings/kcm_kwin_scripts.so
%%QT_PLUGINDIR%%/plasma/kcms/systemsettings/kcm_kwin_virtualdesktops.so
%%QT_PLUGINDIR%%/plasma/kcms/systemsettings/kcm_kwindecoration.so
%%QT_PLUGINDIR%%/plasma/kcms/systemsettings/kcm_kwinrules.so
%%QT_PLUGINDIR%%/plasma/kcms/systemsettings_qwidgets/kcm_kwinoptions.so
%%QT_PLUGINDIR%%/plasma/kcms/systemsettings_qwidgets/kcm_kwinscreenedges.so
%%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
%%QT_QMLDIR%%/org/kde/kwin/decoration/DecorationButton.qml
%%QT_QMLDIR%%/org/kde/kwin/decoration/MenuButton.qml
%%QT_QMLDIR%%/org/kde/kwin/decoration/libdecorationplugin.so
%%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
lib/systemd/user/plasma-kwin_x11.service
share/applications/kcm_kwin_effects.desktop
share/applications/kcm_kwin_scripts.desktop
share/applications/kcm_kwin_virtualdesktops.desktop
share/applications/kcm_kwindecoration.desktop
share/applications/kcm_kwinoptions.desktop
share/applications/kcm_kwinrules.desktop
share/applications/kcm_kwintabbox.desktop
share/applications/kwincompositing.desktop
share/applications/org.kde.kwin_rules_dialog.desktop
share/config.kcfg/kwin.kcfg
share/config.kcfg/kwin_colorcorrect.kcfg
share/config.kcfg/kwindecorationsettings.kcfg
share/config.kcfg/virtualdesktopssettings.kcfg
share/dbus-1/interfaces/org.kde.KWin.VirtualDesktopManager.xml
share/dbus-1/interfaces/org.kde.KWin.xml
share/dbus-1/interfaces/org.kde.kwin.ColorCorrect.xml
share/dbus-1/interfaces/org.kde.kwin.Compositing.xml
share/dbus-1/interfaces/org.kde.kwin.Effects.xml
share/dbus-1/interfaces/org.kde.kwin.InputDevice.xml
share/dbus-1/interfaces/org.kde.kwin.VirtualKeyboard.xml
%%PORTDOCS%%share/doc/HTML/en/kcontrol/desktop/index.cache.bz2
%%PORTDOCS%%share/doc/HTML/en/kcontrol/desktop/index.docbook
%%PORTDOCS%%share/doc/HTML/en/kcontrol/kwindecoration/button.png
%%PORTDOCS%%share/doc/HTML/en/kcontrol/kwindecoration/configure.png
%%PORTDOCS%%share/doc/HTML/en/kcontrol/kwindecoration/decoration.png
%%PORTDOCS%%share/doc/HTML/en/kcontrol/kwindecoration/index.cache.bz2
%%PORTDOCS%%share/doc/HTML/en/kcontrol/kwindecoration/index.docbook
%%PORTDOCS%%share/doc/HTML/en/kcontrol/kwindecoration/main.png
%%PORTDOCS%%share/doc/HTML/en/kcontrol/kwineffects/configure-effects.png
%%PORTDOCS%%share/doc/HTML/en/kcontrol/kwineffects/dialog-information.png
%%PORTDOCS%%share/doc/HTML/en/kcontrol/kwineffects/index.cache.bz2
%%PORTDOCS%%share/doc/HTML/en/kcontrol/kwineffects/index.docbook
%%PORTDOCS%%share/doc/HTML/en/kcontrol/kwineffects/video.png
%%PORTDOCS%%share/doc/HTML/en/kcontrol/kwinscreenedges/index.cache.bz2
%%PORTDOCS%%share/doc/HTML/en/kcontrol/kwinscreenedges/index.docbook
%%PORTDOCS%%share/doc/HTML/en/kcontrol/kwintabbox/index.cache.bz2
%%PORTDOCS%%share/doc/HTML/en/kcontrol/kwintabbox/index.docbook
%%PORTDOCS%%share/doc/HTML/en/kcontrol/windowbehaviour/index.cache.bz2
%%PORTDOCS%%share/doc/HTML/en/kcontrol/windowbehaviour/index.docbook
%%PORTDOCS%%share/doc/HTML/en/kcontrol/windowspecific/Face-smile.png
%%PORTDOCS%%share/doc/HTML/en/kcontrol/windowspecific/akgregator-info.png
%%PORTDOCS%%share/doc/HTML/en/kcontrol/windowspecific/akregator-attributes.png
%%PORTDOCS%%share/doc/HTML/en/kcontrol/windowspecific/akregator-fav.png
%%PORTDOCS%%share/doc/HTML/en/kcontrol/windowspecific/config-win-behavior.png
%%PORTDOCS%%share/doc/HTML/en/kcontrol/windowspecific/emacs-attribute.png
%%PORTDOCS%%share/doc/HTML/en/kcontrol/windowspecific/emacs-info.png
%%PORTDOCS%%share/doc/HTML/en/kcontrol/windowspecific/focus-stealing-pop2top-attribute.png
%%PORTDOCS%%share/doc/HTML/en/kcontrol/windowspecific/index.cache.bz2
%%PORTDOCS%%share/doc/HTML/en/kcontrol/windowspecific/index.docbook
%%PORTDOCS%%share/doc/HTML/en/kcontrol/windowspecific/knotes-attribute.png
%%PORTDOCS%%share/doc/HTML/en/kcontrol/windowspecific/knotes-info.png
%%PORTDOCS%%share/doc/HTML/en/kcontrol/windowspecific/kopete-attribute-2.png
%%PORTDOCS%%share/doc/HTML/en/kcontrol/windowspecific/kopete-chat-attribute.png
%%PORTDOCS%%share/doc/HTML/en/kcontrol/windowspecific/kopete-chat-info.png
%%PORTDOCS%%share/doc/HTML/en/kcontrol/windowspecific/kopete-info.png
%%PORTDOCS%%share/doc/HTML/en/kcontrol/windowspecific/kwin-detect-window.png
%%PORTDOCS%%share/doc/HTML/en/kcontrol/windowspecific/kwin-kopete-rules.png
%%PORTDOCS%%share/doc/HTML/en/kcontrol/windowspecific/kwin-rule-editor.png
%%PORTDOCS%%share/doc/HTML/en/kcontrol/windowspecific/kwin-rules-main-n-akregator.png
%%PORTDOCS%%share/doc/HTML/en/kcontrol/windowspecific/kwin-rules-main.png
%%PORTDOCS%%share/doc/HTML/en/kcontrol/windowspecific/kwin-rules-ordering.png
%%PORTDOCS%%share/doc/HTML/en/kcontrol/windowspecific/kwin-window-attributes.png
%%PORTDOCS%%share/doc/HTML/en/kcontrol/windowspecific/kwin-window-matching.png
%%PORTDOCS%%share/doc/HTML/en/kcontrol/windowspecific/pager-4-desktops.png
%%PORTDOCS%%share/doc/HTML/en/kcontrol/windowspecific/tbird-compose-attribute.png
%%PORTDOCS%%share/doc/HTML/en/kcontrol/windowspecific/tbird-compose-info.png
%%PORTDOCS%%share/doc/HTML/en/kcontrol/windowspecific/tbird-main-attribute.png
%%PORTDOCS%%share/doc/HTML/en/kcontrol/windowspecific/tbird-main-info.png
%%PORTDOCS%%share/doc/HTML/en/kcontrol/windowspecific/tbird-reminder-attribute-2.png
%%PORTDOCS%%share/doc/HTML/en/kcontrol/windowspecific/tbird-reminder-info.png
%%PORTDOCS%%share/doc/HTML/en/kcontrol/windowspecific/window-matching-emacs.png
%%PORTDOCS%%share/doc/HTML/en/kcontrol/windowspecific/window-matching-init.png
%%PORTDOCS%%share/doc/HTML/en/kcontrol/windowspecific/window-matching-knotes.png
%%PORTDOCS%%share/doc/HTML/en/kcontrol/windowspecific/window-matching-kopete-chat.png
%%PORTDOCS%%share/doc/HTML/en/kcontrol/windowspecific/window-matching-kopete.png
%%PORTDOCS%%share/doc/HTML/en/kcontrol/windowspecific/window-matching-ready-akregator.png
%%PORTDOCS%%share/doc/HTML/en/kcontrol/windowspecific/window-matching-tbird-compose.png
%%PORTDOCS%%share/doc/HTML/en/kcontrol/windowspecific/window-matching-tbird-main.png
%%PORTDOCS%%share/doc/HTML/en/kcontrol/windowspecific/window-matching-tbird-reminder.png
share/icons/hicolor/16x16/apps/kwin.png
share/icons/hicolor/32x32/apps/kwin.png
share/icons/hicolor/48x48/apps/kwin.png
share/icons/hicolor/scalable/apps/kwin.svgz
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
share/kconf_update/kwinrules-5.23-virtual-desktop-ids.py
share/kconf_update/kwinrules.upd
share/knotifications5/kwin.notifyrc
share/knsrcfiles/aurorae.knsrc
share/knsrcfiles/kwineffect.knsrc
share/knsrcfiles/kwinscripts.knsrc
share/knsrcfiles/kwinswitcher.knsrc
share/knsrcfiles/window-decorations.knsrc
share/kpackage/kcms/kcm_kwin_effects/contents/ui/Effect.qml
share/kpackage/kcms/kcm_kwin_effects/contents/ui/Video.qml
share/kpackage/kcms/kcm_kwin_effects/contents/ui/main.qml
share/kpackage/kcms/kcm_kwin_scripts/contents/ui/main.qml
share/kpackage/kcms/kcm_kwin_virtualdesktops/contents/ui/main.qml
share/kpackage/kcms/kcm_kwindecoration/contents/ui/ButtonGroup.qml
share/kpackage/kcms/kcm_kwindecoration/contents/ui/Buttons.qml
share/kpackage/kcms/kcm_kwindecoration/contents/ui/Themes.qml
share/kpackage/kcms/kcm_kwindecoration/contents/ui/main.qml
share/kpackage/kcms/kcm_kwinrules/contents/ui/FileDialogLoader.qml
share/kpackage/kcms/kcm_kwinrules/contents/ui/OptionsComboBox.qml
share/kpackage/kcms/kcm_kwinrules/contents/ui/RuleItemDelegate.qml
share/kpackage/kcms/kcm_kwinrules/contents/ui/RulesEditor.qml
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/kservicetypes5/kwindecoration.desktop
share/kservicetypes5/kwindesktopswitcher.desktop
share/kservicetypes5/kwineffect.desktop
share/kservicetypes5/kwinscript.desktop
share/kservicetypes5/kwinwindowswitcher.desktop
share/kwin/aurorae/AppMenuButton.qml
share/kwin/aurorae/AuroraeButton.qml
share/kwin/aurorae/AuroraeButtonGroup.qml
share/kwin/aurorae/AuroraeMaximizeButton.qml
share/kwin/aurorae/Decoration.qml
share/kwin/aurorae/DecorationButton.qml
share/kwin/aurorae/MenuButton.qml
share/kwin/aurorae/aurorae.qml
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_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_glide/metadata.json
share/kwin/builtin-effects/kwin4_effect_highlightwindow/metadata.json
share/kwin/builtin-effects/kwin4_effect_invert/metadata.json
share/kwin/builtin-effects/kwin4_effect_kscreen/metadata.json
share/kwin/builtin-effects/kwin4_effect_lookingglass/metadata.json
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_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
share/kwin/builtin-effects/kwin4_effect_sheet/metadata.json
share/kwin/builtin-effects/kwin4_effect_showfps/metadata.json
share/kwin/builtin-effects/kwin4_effect_showpaint/metadata.json
share/kwin/builtin-effects/kwin4_effect_slide/metadata.json
share/kwin/builtin-effects/kwin4_effect_slideback/metadata.json
share/kwin/builtin-effects/kwin4_effect_slidingpopups/metadata.json
share/kwin/builtin-effects/kwin4_effect_snaphelper/metadata.json
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
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.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.json
share/kwin/effects/kwin4_effect_dimscreen/contents/code/main.js
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.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.json
share/kwin/effects/kwin4_effect_fadedesktop/contents/code/main.js
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.json
share/kwin/effects/kwin4_effect_frozenapp/contents/code/main.js
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.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.json
share/kwin/effects/kwin4_effect_logout/contents/code/main.js
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.json
share/kwin/effects/kwin4_effect_morphingpopups/contents/code/morphingpopups.js
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.json
share/kwin/effects/kwin4_effect_sessionquit/contents/code/main.js
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.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.json
share/kwin/effects/kwin4_effect_windowaperture/contents/code/main.js
share/kwin/effects/kwin4_effect_windowaperture/metadata.json
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
share/kwin/kcm_kwintabbox/desktop.png
share/kwin/kcm_kwintabbox/dolphin.png
share/kwin/kcm_kwintabbox/kmail.png
share/kwin/kcm_kwintabbox/konqueror.png
share/kwin/kcm_kwintabbox/systemsettings.png
share/kwin/onscreennotification/plasma/dummydata/osd.qml
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.json
share/kwin/scripts/minimizeall/contents/code/main.js
share/kwin/scripts/minimizeall/metadata.json
share/kwin/scripts/synchronizeskipswitcher/contents/code/main.js
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.json
share/kwin/tm_inner.png
share/kwin/tm_outer.png
share/qlogging-categories5/org_kde_kwin.categories

View File

@ -31,8 +31,6 @@ BUILD_DEPENDS= ${LOCALBASE}/include/linux/input.h:devel/evdev-proto \
RUN_DEPENDS= Xwayland:x11-servers/xwayland \
hwdata>0:misc/hwdata
CONFLICTS_INSTALL= kwinft # bin/kwin_wayland
USES= cmake compiler:c++11-lib gettext gl gnome kde:5 pkgconfig qt:5 \
shebangfix tar:xz xorg \
python:run

View File

@ -29,6 +29,8 @@ LIB_DEPENDS= libdisplay-info.so:sysutils/libdisplay-info \
RUN_DEPENDS= hwdata>0:misc/hwdata \
Xwayland:x11-servers/xwayland
CONFLICTS_INSTALL= theseus-ship # bin/kwin_wayland
USES= cmake gettext gl kde:6 pkgconfig python qt:6 shebangfix tar:xz \
xorg
USE_GL= egl gbm gl opengl

View File

@ -0,0 +1,68 @@
PORTNAME= theseus-ship
DISTVERSIONPREFIX= v
DISTVERSION= 6.0.0
CATEGORIES= x11-wm wayland
MAINTAINER= jbeich@FreeBSD.org
COMMENT= Wayland compositor and X11 window manager
WWW= https://github.com/winft/theseus-ship
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libepoxy.so:graphics/libepoxy \
libwayland-server.so:graphics/wayland \
libWraplandServer.so:graphics/wrapland \
libcomo-script.so.0:x11-toolkits/como \
libwlroots.so:x11-toolkits/wlroots \
libxkbcommon.so:x11/libxkbcommon \
libxcb-cursor.so:x11/xcb-util-cursor \
libxcb-keysyms.so:x11/xcb-util-keysyms \
libxcb-icccm.so:x11/xcb-util-wm
CONFLICTS_INSTALL= plasma6-kwin # bin/kwin_wayland
USES= cmake:testing gettext-tools kde:6 pkgconfig qt:6 xorg
USE_GITHUB= yes
USE_KDE= colorscheme config coreaddons crash dbusaddons decoration \
ecm:build globalaccel i18n kcmutils kscreenlocker newstuff:build \
notifications package svg widgetsaddons windowsystem xmlgui
USE_LDCONFIG= yes
USE_QT= base declarative tools
USE_XORG= pixman x11 xcb xi
GH_ACCOUNT= winft
GH_PROJECT= theseus-ship
PLIST_SUB= VERSION=${PORTVERSION}
LDFLAGS+= -Wl,--as-needed # GL, ICE/SM/Xext, input, KF6Service
OPTIONS_DEFINE= BREEZE
OPTIONS_DEFAULT=BREEZE
BREEZE_DESC= Default window decoration plugin
BREEZE_USE= KDE=breeze
BREEZE_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_Breeze
# XXX Drop after FreeBSD 13.2 EOL around 2024-07-01 (don't forget distinfo)
.if ${CXX} == c++ && exists(/usr/lib/libc++.so)
.if !exists(/usr/include/c++/v1/__ranges/as_rvalue_view.h) || make(makesum) || make(fetch)
USES+= llvm:min=16,build,export
PATH:= ${LLVM_PREFIX}/bin:${PATH} # XXX _CMAKE_TOOLCHAIN_SUFFIX vs. devel/llvm*
CONFIGURE_ENV+= CC="${CC}" CXX="${CXX}" CPP="${CPP}"
# XXX Move into separate port and standardize via USES
GH_TUPLE+= llvm:llvm-project:llvmorg-16.0.1:libcxx
CXXFLAGS+= -nostdinc++ -isystem${WRKDIR}/libcxx_prefix/include/c++/v1
# Don't link against new libc++ as it's not necessary
#LDFLAGS+= -nostdlib++ -L${WRKDIR}/libcxx_prefix/lib -l:libc++.a -lcxxrt
pre-configure: bundled-libcxx
bundled-libcxx:
@${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} \
-DLIBCXX_INCLUDE_BENCHMARKS:BOOL=OFF \
-DCMAKE_INSTALL_PREFIX:PATH=${WRKDIR}/libcxx_prefix \
-B ${WRKDIR}/libcxx_build -S ${WRKSRC_libcxx}/libcxx
@${DO_MAKE_BUILD:NDESTDIR*} install -C ${WRKDIR}/libcxx_build
.endif
.endif # exists(/usr/lib/libc++.so)
.include <bsd.port.mk>

View File

@ -0,0 +1,5 @@
TIMESTAMP = 1709039440
SHA256 (winft-theseus-ship-v6.0.0_GH0.tar.gz) = ffd8cf6c0b48cda918a74df372c55f42e00c9151420b4148b5e9f67ae05a05d5
SIZE (winft-theseus-ship-v6.0.0_GH0.tar.gz) = 2691337
SHA256 (llvm-llvm-project-llvmorg-16.0.1_GH0.tar.gz) = b5a9ff1793b1e2d388a3819bf35797002b1d2e40bb35a10c65605e0ea1435271
SIZE (llvm-llvm-project-llvmorg-16.0.1_GH0.tar.gz) = 179289803

View File

@ -32,10 +32,10 @@ Nested under X11 as X11 window manager:
Replace KWin in Plasma Desktop:
$ pkg set -n plasma5-kwin:kwinft
$ pkg set -o x11-wm/plasma5-kwin:x11-wm/kwinft
$ pkg upgrade -f kwinft
$ pkg lock kwinft
$ pkg set -n plasma6-kwin:theseus-ship
$ pkg set -o x11-wm/plasma6-kwin:x11-wm/theseus-ship
$ pkg upgrade -f theseus-ship
$ pkg lock theseus-ship
Improve Wayland responsiveness under high load:

View File

@ -0,0 +1,30 @@
bin/kwin_wayland
bin/kwin_wayland_wrapper
bin/kwin_x11
lib/libkcmkwincommon.so.6
lib/libkcmkwincommon.so.%%VERSION%%
%%QT_PLUGINDIR%%/kwin/effects/configs/kcm_kwin4_genericscripted.so
%%QT_PLUGINDIR%%/plasma/kcms/systemsettings/kcm_kwin_effects.so
%%QT_PLUGINDIR%%/plasma/kcms/systemsettings/kcm_kwin_scripts.so
%%QT_PLUGINDIR%%/plasma/kcms/systemsettings/kcm_kwin_virtualdesktops.so
%%QT_PLUGINDIR%%/plasma/kcms/systemsettings/kcm_kwindecoration.so
%%QT_PLUGINDIR%%/plasma/kcms/systemsettings/kcm_kwinrules.so
%%QT_PLUGINDIR%%/plasma/kcms/systemsettings_qwidgets/kcm_kwinoptions.so
%%QT_PLUGINDIR%%/plasma/kcms/systemsettings_qwidgets/kcm_kwinscreenedges.so
%%QT_PLUGINDIR%%/plasma/kcms/systemsettings_qwidgets/kcm_kwintouchscreen.so
%%QT_PLUGINDIR%%/plasma/kcms/systemsettings_qwidgets/kwincompositing.so
%%QT_QMLDIR%%/org/kde/kwin/private/kdecoration/libkdecorationprivatedeclarative.so
%%QT_QMLDIR%%/org/kde/kwin/private/kdecoration/qmldir
libexec/kwin-applywindowdecoration
share/applications/kcm_kwin_effects.desktop
share/applications/kcm_kwin_scripts.desktop
share/applications/kcm_kwin_virtualdesktops.desktop
share/applications/kcm_kwindecoration.desktop
share/applications/kcm_kwinoptions.desktop
share/applications/kcm_kwinrules.desktop
share/applications/kwincompositing.desktop
share/config.kcfg/kwindecorationsettings.kcfg
share/config.kcfg/virtualdesktopssettings.kcfg
share/knsrcfiles/kwineffect.knsrc
share/knsrcfiles/kwinscripts.knsrc
share/knsrcfiles/window-decorations.knsrc