diff --git a/10-wayland.conf b/10-wayland.conf new file mode 100644 index 0000000..583dfbc --- /dev/null +++ b/10-wayland.conf @@ -0,0 +1,6 @@ +[General] +DisplayServer=wayland +GreeterEnvironment=QT_WAYLAND_SHELL_INTEGRATION=layer-shell + +[Wayland] +CompositorCommand=kwin_wayland --drm --no-lockscreen --no-global-shortcuts --locale1 diff --git a/kwin.spec b/kwin.spec index 46f44a8..cc449f9 100644 --- a/kwin.spec +++ b/kwin.spec @@ -2,7 +2,7 @@ %define plasmaver %(echo %version | cut -d. -f1-3) Name: kwin Version: 6.2.5 -Release: 1mamba +Release: 3mamba Summary: KDE Plasma window manager Group: Graphical Desktop/Applications/Environment Vendor: openmamba @@ -10,6 +10,7 @@ Distribution: openmamba Packager: Silvan Calarco URL: https://kde.org/it/plasma-desktop/ Source: https://download.kde.org/%{stable_kf6}/plasma/%{plasmaver}/kwin-%{version}.tar.xz +Source1: 10-wayland.conf License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel @@ -82,7 +83,7 @@ BuildRequires: qt6-qtsvg-devel BuildRequires: qt6-qttools-devel BuildRequires: qt6-qtwayland-devel ## AUTOBUILDREQ-END -BuildRequires: qt6-qtwayland-devel >= 0:6.8.1-1mamba +BuildRequires: qt6-qtwayland-devel >= 0:6.8.2-1mamba BuildRequires: cmake BuildRequires: kf6-rpm-macros BuildRequires: extra-cmake-modules @@ -128,7 +129,6 @@ Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} %description -n lib%{name}-devel This package contains libraries and header files for developing applications that use %{name}. - %prep %setup -q #-D -T @@ -144,6 +144,8 @@ This package contains libraries and header files for developing applications tha [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %cmake_install +install -D -m0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/sddm.conf.d/10-wayland.conf.example + %find_lang %{name} --with-qt --with-html --all-name || touch %{name}.lang %clean @@ -153,6 +155,7 @@ This package contains libraries and header files for developing applications tha %files -f %{name}.lang %defattr(-,root,root) +%{_sysconfdir}/sddm.conf.d/10-wayland.conf.example %{_bindir}/kwin_wayland %{_bindir}/kwin_wayland_wrapper %{_bindir}/kwin_x11 @@ -222,6 +225,12 @@ This package contains libraries and header files for developing applications tha %{_libdir}/cmake/KWinDBusInterface/KWinDBusInterface*.cmake %changelog +* Wed Feb 05 2025 Silvan Calarco 6.2.5-3mamba +- rebuild with qt6-qtwayland 6.8.2 + +* Fri Jan 17 2025 Silvan Calarco 6.2.5-2mamba +- install sddm configuration snippet to use wayland via kwin_wayland for sddm + * Thu Jan 02 2025 Automatic Build System 6.2.5-1mamba - automatic version update by autodist