commit 5184b63ab2ef73082b73c36e6fc47c1e8fa8ec8aede00693324c1cf1af696d0c Author: Christophe Marin Date: Wed Sep 11 07:57:54 2024 +0000 Plasma 6.1.5. sddm-kcm6 needed a patch change. OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks/kwin6?expand=0&rev=34 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_constraints b/_constraints new file mode 100644 index 0000000..b3010ae --- /dev/null +++ b/_constraints @@ -0,0 +1,7 @@ + + + + 4 + + + diff --git a/kwin-6.1.3.tar.xz b/kwin-6.1.3.tar.xz new file mode 100644 index 0000000..97a4da3 --- /dev/null +++ b/kwin-6.1.3.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fb23b9d085381ba9455cd3f3aca184b137a7653951ca9f7b78f9e746dd0cc6bf +size 8494708 diff --git a/kwin-6.1.3.tar.xz.sig b/kwin-6.1.3.tar.xz.sig new file mode 100644 index 0000000..6dbef85 --- /dev/null +++ b/kwin-6.1.3.tar.xz.sig @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNATURE----- + +iQIzBAABCgAdFiEE4KPrIC+OV1KOE+cv11dEg7tXsY0FAmaWVMEACgkQ11dEg7tX +sY3kTxAAvFkBkO/z908FhMXFja6YFZwcq+HOtH9s8P4RG9JniT7rrQeKkJ9l4RO8 +EgJuhBK7UTT1dFpLtYuSfn4nljTl2eTWj254POSIzJTYaJY+eUvrUdLEqGnPH6o5 +IZXfzUMcDG5qNcOtgmTceOWlgM15xmGdeeZ2RfTT/uM4numgeqaO+iVPaGKGdE0B +p4h9LqthSEthI3CsSlOi1lLOko0osjccthItumnA5aWfMapOKN3dNnTDaQAgCgwq +nl6fb1Y4zH7gEqGvpztcfKrh5ZesypZeCbaKg0qwpiR5vQG+t5uVs/Il7foOBv/J +I+xNQkWPXNDdnJVRWTvSKQPnsP+6XCXWtSgTMJowdCUOu65CULiBIWk6BH3ClN/r +moSbt6rfbq+6563jswff+DFsSLiVge2kKjVTeh4l/o7SNII53JHrNdvouEcTie9G +v0E0I3gTjdFuN3kS+309Sey+ZywnN8bCBZUhy7tlMyMb31aU2bQy5oEKX+CDw/aW +P3kxyv88NdX6CJEuglylrNmr/dYSZVNTsdKM6z+759Y/z6//cdZtnUn40rJuYLXd +jG6Rr1erXI1HrXTbteKesrMR7i2pcBDE+d2jkAk3FJRfB8EzL7mx1aZgzUtfqxNT +IHmwz68AhZpqpEcUPDgBwx6A8H8TJ/oE50zmYBady2IrCFHse9Q= +=udqr +-----END PGP SIGNATURE----- diff --git a/kwin-6.1.4.tar.xz b/kwin-6.1.4.tar.xz new file mode 100644 index 0000000..ceac8c4 --- /dev/null +++ b/kwin-6.1.4.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fcffce468dea23a92cad33ac1b1264c55c0799d497f54f6b8e23439dcdadeb3a +size 8499248 diff --git a/kwin-6.1.4.tar.xz.sig b/kwin-6.1.4.tar.xz.sig new file mode 100644 index 0000000..5f78a02 --- /dev/null +++ b/kwin-6.1.4.tar.xz.sig @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNATURE----- + +iQIzBAABCgAdFiEE4KPrIC+OV1KOE+cv11dEg7tXsY0FAmayGEAACgkQ11dEg7tX +sY1FrBAAsr6BX8tGJh+FKAc+ImUVl3+K8P8Cz0Fppfjz4h6xB7dWtBx3Ifd3UXw1 +WWfzpeo2ArdOO23AUEPhWBQgdQm5luc+sHwkHK/bOoYkd3uo68T6x2t93aHzLj3i +rqtDTDpuYXavIsWMugu6aBsyvuKreqtr2LD7RlZsRuDjOfrwkO5eCWhjOOMmuSHZ +o5dyxXAb2En0Xj6mRbFpfu9sfCXeXVQLB5th/WrA5yjVsr5hFd2f19fDd/nQ4uzV +YJeoijeNsSTSRAj7Ihk0hcSWsaEYXwsodEHaAhRfI5Si+NiBbn1doesHzKlfvFL9 +SngbckbaKPIqpMeyCnMNasXbalC3st0NMWiZutgtlqyyXgE3LVVEy0NQjZ88v0+5 +YoY5kGlI+iy+UW8wUXJAHNgUPJe/tOqcIsRClLGM96TqjegrWa8cAOf7mRKy46SP +F9EGIrvWUqJxYE2llnXOHMvnO3kWmWsa7+RMwG3YjldSOBsx3rzsuY3shiyDX5mR +jU3Y1Pw9Gspk3QzYEr/Cm9AV3ZD07Gb5tk/FnAN5IzlByDu0VQs3K9gqKMGeV0Z7 +bjRQA81pV9ktHwts9HdHxRN8iFQgyVZvjQaUJIVzKO2aK9F4lcf9BbsJzCgtD+GW +Z/0Fy3Y7EKh2tOqppHrgB1wTNzYkZgK/WCem+mqi+fRIZwsIhxE= +=8UP9 +-----END PGP SIGNATURE----- diff --git a/kwin-6.1.5.tar.xz b/kwin-6.1.5.tar.xz new file mode 100644 index 0000000..eae95d9 --- /dev/null +++ b/kwin-6.1.5.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ba0aace323195b58adbfde14ec74cdd4c28c211d78a567c44af70f336dcab3f7 +size 8503432 diff --git a/kwin-6.1.5.tar.xz.sig b/kwin-6.1.5.tar.xz.sig new file mode 100644 index 0000000..8db44b5 --- /dev/null +++ b/kwin-6.1.5.tar.xz.sig @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNATURE----- + +iQIzBAABCgAdFiEE4KPrIC+OV1KOE+cv11dEg7tXsY0FAmbgCHMACgkQ11dEg7tX +sY3aKg/+OiLD04FaoeDJZPg60A43tfNLHrbQUpzCva7R21k+M4gjJImdWw/Om6rH +aOAc/jwAuE+uTe4vlvOjo8IUMqDLG0aOV+q6FRfJSQPpkRnpegOCkqZ1pWm+oWNM +/u+i9A0JdNUt86qqMM9rKSuFMwwKHdKabzht7jXugjLUo66MZTP8vyYaTVIEIyvI +EF1U3rmqBz4srymaCCQEEUBbk04KMceO2pKwA9GR3ZjPYeLEWLyEvF9XgZzGmPjk +PoSkrwqzVUtf1eVuVcsSViDAaNb3ReXHTe+CQ2ihb9e1uLiRs/P+hirlCI+zC86R +bav8rqK5UK64UBlyWY/B0iIfs1Q9qBdsTmdqXBjGS2IoKw8xy2CWXcwekmGZGuc5 +RJRBJvuxyd8Xoxyb5O9upWZ635dFgXuubXpA0lD5as56Whxyt8fC5DgLXy8Qk46a +V6ewgjfUGdiDxKjhqSzdOzCeePC9WKAriRbuQs5Jw3VMhZ09f2Ki41xprZp7ieGd +Aj4pbZPuuLjrYIEbolmBoCofc0f04oyC2UWXMUIqytbw/Dpij123vJqN8xCR2h/P +7JT4KfmUGOyabrbu9VKP4yvXEt0xQccAr0RHFc8A/b/Xk2yEkRz5Z1NVMVf39x/E +AeyKYMb+ZJctwmdoEe7BtbyeBxn+SWAoscJkf8VmIwU5Gx53jnQ= +=KUs4 +-----END PGP SIGNATURE----- diff --git a/kwin6.changes b/kwin6.changes new file mode 100644 index 0000000..99df372 --- /dev/null +++ b/kwin6.changes @@ -0,0 +1,290 @@ +------------------------------------------------------------------- +Tue Sep 10 14:52:33 UTC 2024 - Fabian Vogt + +- Update to 6.1.5: + * New bugfix release + * For more details see https://kde.org/announcements/plasma/6/6.1.5 +- Changes since 6.1.4: + * update version for new release + * Don't process pad button events from a device that has been removed + * workspace: don't rearrange immediately when a window with struts gets removed + * input.cpp: initialize m_touchpadsEnabled in addInputDevice (kde#486763) + * scene: Add an assert to debug crash in BlurEffect::prePaintWindow() + * plugins/synchronizeskipswitcher: Fix Window::skipTaskbarChanged handler (kde#465600) + * Fix null dereference in Workspace::workspaceEvent() + * window: make setQuickTileMode more sane + * effect: Refuse starting quick effect if keyboard cannot be grabbed + * decorations: Show tooltip at current cursor position (kde#491143) + * opengl/gltexture: Fix format for 565 textures + * Fix a crash in computeLayer() (kde#491618) + * Make Workspace::removeUnmanaged() keep the window in the stack + * colorblindesscorrection: fix incorrect variable name in shader program + * opengl: Fix a typo in GLTexture::upload() + * backends/drm: allow triple buffering on NVidia if KWIN_DRM_DISABLE_TRIPLE_BUFFERING=0 is set + * wayland: Fix a potential null dereference when sending current output device mode + * platformsupport/scene/opengl: do test imports for external_only formats properly + * opengl/egldisplay: add the invalid modifier to the correct list + * scene: Fix SurfaceItemWayland::freeze() + * placeholderinputeventfilter: don't block media keys (kde#491531) + * plugins/trackmouse: listen to mouse events when active (kde#487820) + * screenedge: allow activating clients in drag and drop (kde#450579) + * update version for new release + +------------------------------------------------------------------- +Tue Aug 6 13:25:29 UTC 2024 - Fabian Vogt + +- Update to 6.1.4: + * New bugfix release + * For more details see https://kde.org/announcements/plasma/6/6.1.4 +- Changes since 6.1.3: + * update version for new release + * activation: fix X11 windows being stuck in should_get_focus more properly + * plugins/buttonrebinds: correctly handle level 1 keys (kde#484367) + * backends/drm: don't block direct scanout if color profile source isn't set to ICC + * Fix checking whether GraphicsBufferView is null + * backends/drm: don't apply the brightness factor without HDR + * activation: don't add the active window to should_get_focus list (kde#484155) + * core/renderloop: don't move the target presentation timestamp back when rescheduling (kde#488843) + * core/renderloop: fix triple buffering hysteresis + * scene/itemrenderer_opengl: reset OpenGL state for YUV conversion back to RGB + * autotests: test placement to always put the titlebar on the screen + * placement: keep the titlebar in the screen with centered placement (kde#489500) + * placement: don't overwrite scheduled position change in cascadeIfCovering + * Make Workspace::desktopResized() reassign outputs of uninitialized windows + * wayland: Avoid klipper loop with existing but empty clipboards (kde#469644) + * backends/drm: Fix a crash in DrmGpu::releaseBuffers() + * wayland: Ignore plasma shell reposition requests during interactive move resize (kde#481829) + * backends/drm: limit max_bpc to 8 by default with docks + * compositor_wayland: count rendering time for all steps of compositing + * xdgshellwindow: never request clients to resize to a negative size (kde#489983) + * backends/libinput: Ignore redundant events for pointer buttons and keyboard keys when pressed/released on multiple devices (kde#486034) + * backends/x11: Fix crash that happens when toggling compositing + * plugins/stickykeys: Unlatch modifiers when locking + * Fix sticky keys for AltGr + * Test locking sticky keys for all modifiers + * Release key in sticky key test + * utils: Fix gaining realtime scheduling with musl (kde#487996) + * core/renderloop: add some hysteresis to triple buffering + +------------------------------------------------------------------- +Tue Jul 16 13:22:44 UTC 2024 - Fabian Vogt + +- Update to 6.1.3: + * New bugfix release + * For more details see https://kde.org/announcements/plasma/6/6.1.3 +- Changes since 6.1.2: + * update version for new release + * plugins/nightlight: Relax custom times constraints (kde#489366) + * wayland: Simplify XdgPopupWindow::sendRoleConfigure() + * wayland: Dismiss XdgPopupWindow when the parent window is closed (kde#472013) + * tiling: Don't put maximized windows in tile (kde#489463) + * Input method window should not break showing desktop (kde#489057) + * plugins/fadingpopups: don't block direct scanout (kde#487780) + * backends/drm: test and apply all mode changes at once + * autotests/drm: add test for vrr capability changing without a hotunplug + * backends/drm: update output properties after they're created too (kde#486149) + * use separation dep_version to build against, updated by release scripts + * plugins/screencast: Don't download texture data if target size and texture size mismatch + * plugins/screencast: Allocate offscreen texture in WindowScreenCastSource::render(QImage) as big as the memfd buffer (kde#489764) + * autotests: Skip testScreencasting in CI + * Foward modifiers after disabling sticky keys + * plugins/screenshot: Port blitScreenshot() to glReadnPixels() + * wayland: add error handling for QFile::open failure in org_kde_plasma_window_get_icon + * placement: ignore the active output with place under mouse (kde#488110) + * opengl: Add OpenGlContext::glGetnTexImage() + * plugins/screencast: Prefer glReadnPixels() and glGetnTexImage() + * WindowHeapDelegate: label topMargin to small, remove height padding (kde#489595) + * plugins/glide: drop references to closed windows if they're not animated + * update version for new release + * plugins/screencast: Handle frame rate throttling timer firing a bit earlier + * backends/drm: disable triple buffering on NVidia (kde#487833) + +------------------------------------------------------------------- +Tue Jul 2 17:33:33 UTC 2024 - Fabian Vogt + +- Update to 6.1.2: + * New bugfix release + * For more details see https://kde.org/announcements/plasma/6/6.1.2 +- Changes since 6.1.1.2: + * Don't assert on null output + * quicktiling: Reset layout when last quicktile ceases to exist (kde#465937) + * wayland: Bump default max buffer size to 1 MiB + * plugins/qpa: set deprecated functions option correctly + * plugins/kdecoration: Fix MenuButton not accepting button press events (kde#488993) + * plugins/colorcorrection: simplify the effect, merge the shader files and support color management + * opengl: Reset OpenGlContext::currentContext() if it's destroyed (kde#488830) + * window: adhere to window rules in checkWorkspacePosition (kde#489117) + * plugins/hidecursor: show the cursor on tablet events (kde#489009) + +------------------------------------------------------------------- +Thu Jun 27 11:42:31 UTC 2024 - Fabian Vogt + +- Update to 6.1.1.2: + * New bugfix release +- Changes since 6.1.1: + * 3rdparty: Reformat xcursor.{h,c} + * utils: Load Xcursor themes using QFile (kde#489241) + * 3rdparty: Drop xcursor write hook + * plugins/hidecursor: Set minimum to allow disabling hiding cursor on inactivity + * WindowHeapDelegate: Label text background (kde#483016) + * plugins/backgroundcontrast,blur: correct support checks + * opengl/glframebuffer: handle missing support for blits on Wayland (kde#484193) + * opengl: glBufferStorage is not supported on GL ES by default + * core/renderloop: assume high render times if the last frame has been a while ago + +------------------------------------------------------------------- +Tue Jun 25 17:13:30 UTC 2024 - Fabian Vogt + +- Update to 6.1.1: + * New bugfix release + * For more details see https://kde.org/announcements/plasma/6/6.1.1 +- Too many changes to list here + +------------------------------------------------------------------- +Thu Jun 13 10:58:33 UTC 2024 - Fabian Vogt + +- Update to 6.1.0: + * New bugfix release + * For more details see https://kde.org/announcements/plasma/6/6.1.0 +- Too many changes to list here + +------------------------------------------------------------------- +Sat May 25 11:23:10 UTC 2024 - Fabian Vogt + +- Update to 6.0.90.1: + * New feature release + * For more details see https://kde.org/announcements/plasma/6/6.0.90 +- Too many changes to list here + +------------------------------------------------------------------- +Wed May 22 07:41:52 UTC 2024 - Fabian Vogt + +- Update to 6.0.5: + * New bugfix release + * For more details see https://kde.org/announcements/plasma/6/6.0.5 +- Too many changes to list here + +------------------------------------------------------------------- +Mon Apr 22 21:15:19 UTC 2024 - Fabian Vogt + +- Update to 6.0.4.1: + * New bugfix release +- Changes since 6.0.4: + * Fall back to breeze_cursors if neither configured nor default can be loaded + * scene/workspacescene: don't check direct scanout candidates for a pixmap + (kde#485639, kde#485730, kde#485712) + +------------------------------------------------------------------- +Wed Apr 17 08:12:44 UTC 2024 - Fabian Vogt + +- Update to 6.0.4: + * New bugfix release + * For more details see https://kde.org/announcements/plasma/6/6.0.4 +- Too many changes to list here + +------------------------------------------------------------------- +Wed Mar 27 17:49:07 UTC 2024 - Fabian Vogt + +- Update to 6.0.3.1: + * New bugfix release + * For more details see https://kde.org/announcements/plasma/6/6.0.3.1 +- Changes since 6.0.3: + * plugins/screencast: Handle failing to import dmabuf + * plugins/screencast: Simplify damage calculation in region screen cast source + * plugins/screencast: Drop "stream" in ScreenCastStream::streamReady + * plugins/screencast: Rename ScreenCastStream::stop() to close() + * plugins/screencast: Pause/resume source when stream is paused/resumed + * Fix oversights on shortcut handling within Overview/Grid effect (kde#482931) + * tiles: Evacuate windows in CustomTile::remove() + * tiles: Use deleteLater() in CustomTile::remove() + +------------------------------------------------------------------- +Tue Mar 26 18:05:50 UTC 2024 - Fabian Vogt + +- Update to 6.0.3: + * New bugfix release + * For more details see https://kde.org/announcements/plasma/6/6.0.3 +- Too many changes to list here + +------------------------------------------------------------------- +Wed Mar 13 09:09:50 UTC 2024 - Fabian Vogt + +- Update to 6.0.2: + * New bugfix release + * For more details see https://kde.org/announcements/plasma/6/6.0.2 +- Changes since 6.0.1: + * plugins/screencast: fix the cursor being offset after changing the scale + * xkb: fix testing if on keypad + * wayland: Only send artificial mouse up events for xwayland drags + * wayland: Only partially revert send pointer leave on drag + * Properly intersect the shape with clipRect + * core/colorspace: fix ColorDescription comparisons (kde#482809) + * utils/xcbutils: Don't call toXNative with unsigned integer (kde#482687) + * backends/drm: handle dumb buffer target correctly (kde#482859) + * Port IdleDetector to QBasicTimer + * Add timeout assert in IdleDetector + * xdgshellwindow: Always update window position and size along all axes when fully miximizing window (kde#482086) + * Fix sending window to all desktops (kde#482670) + * backends/drm: also set legacy gamma after VT switches + * backends/drm: don't set gamma with legacy unless really necessary + * backends/drm: ignore ctm support on legacy (kde#482143) + * Rename Workspace::updateClientArea as Workspace::rearrange + * wayland: Fix windows shrinking when output layout changes + * x11window: Skip strict geometry checks in isFullScreenable() + * xwayland: Use correct key for key release events + * xwayland: Send to xwayland even when no window is focussed (kde#478705) + * update version for new release + +------------------------------------------------------------------- +Wed Mar 6 08:40:28 UTC 2024 - Fabian Vogt + +- Update to 6.0.1: + * New bugfix release + * For more details see https://kde.org/announcements/plasma/6/6.0.1 +- Too many changes to list here +- Drop patches, now upstream: + * intel-compositor-freeze.patch + +------------------------------------------------------------------- +Mon Mar 4 20:05:29 UTC 2024 - Christophe Marin + +- Add Provides/Obsoletes to replace Plasma 5 + +------------------------------------------------------------------- +Thu Feb 29 18:26:03 UTC 2024 - Bruno Pitrus + +- Add backported intel-compositor-freeze.patch + * fixes kde#481721 + +------------------------------------------------------------------- +Wed Feb 21 18:36:15 UTC 2024 - Fabian Vogt + +- Update to 6.0.0: + * New bugfix release + * Release announcement not available yet +- Too many changes to list here + +------------------------------------------------------------------- +Wed Jan 31 17:37:15 UTC 2024 - Fabian Vogt + +- Update to 5.93.0 (6.0 RC 2): + * New bugfix release + * See https://kde.org/announcements/megarelease/6/rc2/ for details +- Too many changes to list here + +------------------------------------------------------------------- +Mon Jan 15 21:08:58 UTC 2024 - Fabian Vogt + +- Update to 5.92.0 (6.0 RC 1) + * For more details please see: + https://kde.org/announcements/megarelease/6/rc1/ + +------------------------------------------------------------------- +Thu Dec 28 12:51:08 UTC 2023 - Neal Gompa + +- Split X11 window manager into a subpackage + +------------------------------------------------------------------- +Sat Jul 1 15:45:17 UTC 2023 - Christophe Marin + +- Init kwin6 diff --git a/kwin6.spec b/kwin6.spec new file mode 100644 index 0000000..0a05293 --- /dev/null +++ b/kwin6.spec @@ -0,0 +1,337 @@ +# +# spec file for package kwin6 +# +# Copyright (c) 2024 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +# Internal QML imports +%global __requires_exclude qt6qmlimport\\(org\\.kde\\.KWin\\.Effect\\.WindowView.* + +%global kf6_version 6.2.0 +%define qt6_version 6.6.0 + +%define rname kwin +# Full Plasma 6 version (e.g. 6.0.0) +%{!?_plasma6_bugfix: %define _plasma6_bugfix %{version}} +# Latest ABI-stable Plasma (e.g. 6.0 in KF6, but 6.0.80 in KUF) +%{!?_plasma6_version: %define _plasma6_version %(echo %{_plasma6_bugfix} | awk -F. '{print $1"."$2}')} +%bcond_without released +Name: kwin6 +Version: 6.1.5 +Release: 0 +Summary: KDE Window Manager +License: GPL-2.0-or-later AND GPL-3.0-or-later +URL: https://www.kde.org +Source: https://download.kde.org/stable/plasma/%{version}/%{rname}-%{version}.tar.xz +%if %{with released} +Source1: https://download.kde.org/stable/plasma/%{version}/%{rname}-%{version}.tar.xz.sig +Source2: plasma.keyring +%endif +BuildRequires: fdupes +BuildRequires: kf6-extra-cmake-modules >= %{kf6_version} +BuildRequires: libcap-progs +BuildRequires: pkgconfig +BuildRequires: qt6-core-private-devel >= %{qt6_version} +BuildRequires: qt6-gui-private-devel >= %{qt6_version} +BuildRequires: systemd-rpm-macros +BuildRequires: cmake(Breeze) >= %{_plasma6_bugfix} +BuildRequires: cmake(KDecoration2) >= %{_plasma6_bugfix} +BuildRequires: cmake(KF6Auth) >= %{kf6_version} +BuildRequires: cmake(KF6Config) >= %{kf6_version} +BuildRequires: cmake(KF6ConfigWidgets) >= %{kf6_version} +BuildRequires: cmake(KF6CoreAddons) >= %{kf6_version} +BuildRequires: cmake(KF6Crash) >= %{kf6_version} +BuildRequires: cmake(KF6DBusAddons) >= %{kf6_version} +BuildRequires: cmake(KF6Declarative) >= %{kf6_version} +BuildRequires: cmake(KF6DocTools) >= %{kf6_version} +BuildRequires: cmake(KF6GlobalAccel) >= %{kf6_version} +BuildRequires: cmake(KF6I18n) >= %{kf6_version} +BuildRequires: cmake(KF6IdleTime) >= %{kf6_version} +BuildRequires: cmake(KF6KCMUtils) >= %{kf6_version} +BuildRequires: cmake(KF6NewStuff) >= %{kf6_version} +BuildRequires: cmake(KF6Notifications) >= %{kf6_version} +BuildRequires: cmake(KF6Package) >= %{kf6_version} +BuildRequires: cmake(KF6Runner) >= %{kf6_version} +BuildRequires: cmake(KF6Service) >= %{kf6_version} +BuildRequires: cmake(KF6Svg) >= %{kf6_version} +BuildRequires: cmake(KF6WidgetsAddons) >= %{kf6_version} +BuildRequires: cmake(KF6WindowSystem) >= %{kf6_version} +BuildRequires: cmake(KF6XmlGui) >= %{kf6_version} +BuildRequires: cmake(KGlobalAccelD) >= %{_plasma6_bugfix} +BuildRequires: cmake(KScreenLocker) >= %{_plasma6_bugfix} +BuildRequires: cmake(KWayland) >= %{_plasma6_bugfix} +BuildRequires: cmake(PlasmaActivities) >= %{_plasma6_bugfix} +BuildRequires: cmake(PlasmaWaylandProtocols) +BuildRequires: cmake(QAccessibilityClient6) +BuildRequires: cmake(Qt6Concurrent) >= %{qt6_version} +BuildRequires: cmake(Qt6Core) >= %{qt6_version} +BuildRequires: cmake(Qt6Core5Compat) >= %{qt6_version} +BuildRequires: cmake(Qt6DBus) >= %{qt6_version} +BuildRequires: cmake(Qt6Quick) >= %{qt6_version} +BuildRequires: cmake(Qt6Sensors) >= %{qt6_version} +BuildRequires: cmake(Qt6UiTools) >= %{qt6_version} +BuildRequires: cmake(Qt6WaylandClient) >= %{qt6_version} +BuildRequires: cmake(Qt6Widgets) >= %{qt6_version} +BuildRequires: pkgconfig(epoxy) +BuildRequires: pkgconfig(fontconfig) +BuildRequires: pkgconfig(freetype2) +BuildRequires: pkgconfig(gbm) +BuildRequires: pkgconfig(lcms2) +BuildRequires: pkgconfig(libcap) +BuildRequires: pkgconfig(libdisplay-info) +BuildRequires: pkgconfig(libdrm) >= 2.4.112 +BuildRequires: pkgconfig(libeis-1.0) +BuildRequires: pkgconfig(libinput) >= 1.19 +BuildRequires: pkgconfig(libpipewire-0.3) >= 0.3.29 +BuildRequires: pkgconfig(libudev) +BuildRequires: pkgconfig(libxcvt) +BuildRequires: pkgconfig(wayland-cursor) >= 1.22 +BuildRequires: pkgconfig(wayland-egl) +BuildRequires: pkgconfig(wayland-protocols) >= 1.34 +BuildRequires: pkgconfig(x11) +BuildRequires: pkgconfig(x11-xcb) +BuildRequires: pkgconfig(xcb) >= 1.10 +BuildRequires: pkgconfig(xcb-composite) >= 1.10 +BuildRequires: pkgconfig(xcb-cursor) +BuildRequires: pkgconfig(xcb-damage) >= 1.10 +BuildRequires: pkgconfig(xcb-dri3) >= 1.10 +BuildRequires: pkgconfig(xcb-glx) >= 1.10 +BuildRequires: pkgconfig(xcb-icccm) +BuildRequires: pkgconfig(xcb-image) +BuildRequires: pkgconfig(xcb-keysyms) +BuildRequires: pkgconfig(xcb-present) >= 1.10 +BuildRequires: pkgconfig(xcb-randr) >= 1.10 +BuildRequires: pkgconfig(xcb-render) >= 1.10 +BuildRequires: pkgconfig(xcb-shape) >= 1.10 +BuildRequires: pkgconfig(xcb-shm) >= 1.10 +BuildRequires: pkgconfig(xcb-sync) >= 1.10 +BuildRequires: pkgconfig(xcb-util) +BuildRequires: pkgconfig(xcb-xfixes) >= 1.10 +BuildRequires: pkgconfig(xcb-xinerama) >= 1.10 +BuildRequires: pkgconfig(xcb-xkb) >= 1.10 +BuildRequires: pkgconfig(xkbcommon) >= 0.7.0 +BuildRequires: pkgconfig(xkbcommon-x11) +Requires: breeze6-decoration >= %{_plasma6_bugfix} +Requires: kf6-kirigami-imports >= %{kf6_version} +Requires: kglobalacceld6 >= %{_plasma6_bugfix} +Requires: libkwin6 = %{version} +# SECTION QML dependencies +Requires: kf6-kdeclarative-imports >= %{kf6_version} +Requires: kf6-kitemmodels-imports >= %{kf6_version} +Requires: plasma6-framework-components >= %{_plasma6_bugfix} +Requires: qt6-declarative-imports >= %{qt6_version} +Requires: qt6-multimedia-imports >= %{qt6_version} +# /SECTION +# For post and verifyscript +Requires(post): permissions +Requires(verify): permissions +# For displaying full monitor vendor names +Recommends: hwdata +# xorg-x11-server-wayland is required by plasma6-session-wayland, but not kwin6 itself +Recommends: xorg-x11-server-wayland +Provides: kwin5 = %{version} +Obsoletes: kwin5 < %{version} +Obsoletes: kwin5-lang < %{version} +# /usr/share/kwin/tabbox/thumbnail_grid/metadata.json conflicts with plasma5-addons +# (Use a version check as plasma6-addons provides plasma5-addons) +Conflicts: plasma5-addons < 6.0 +Conflicts: plasma5-addons-lang < 6.0 +# Needed to show dialogs +Requires: kdialog +Provides: windowmanager +Provides: qt6qmlimport(org.kde.kwin) +Provides: qt6qmlimport(org.kde.kwin.3) = 0 + +%description +KWin is Plasma window manager. + +%package x11 +Summary: KDE Window Manager for X11 +Requires: kwin6 = %{version} +Requires: xorg-x11-server + +%description x11 +KWin is Plasma window manager. +This package provides the X11 window manager. + +%package -n libkwin6 +Summary: KWin library + +%description -n libkwin6 +KWin is Plasma window manager. +This package provides the kwin library. + +%package devel +Summary: KDE Window Manager - development files +Requires: kdecoration6-devel >= %{_plasma6_bugfix} +Requires: libkwin6 = %{version} +Requires: pkgconfig(epoxy) +Provides: kwin5-devel = %{version} +Obsoletes: kwin5-devel < %{version} + +%description devel +KWin is Plasma window manager. +This package provides development files. + +%lang_package + +%prep +%autosetup -p1 -n %{rname}-%{version} + +%build +%cmake_kf6 + +%kf6_build + +%install +%kf6_install + +%find_lang kwin6 --with-html --all-name + +%fdupes %{buildroot}%{_kf6_libdir} +%fdupes %{buildroot}%{_kf6_sharedir} + +%preun +%{systemd_user_preun plasma-kwin_wayland.service} + +%post +%ldconfig +%ldconfig -n libkwin6 +%set_permissions %{_kf6_bindir}/kwin_wayland +%{systemd_user_post plasma-kwin_wayland.service} + +%postun +%ldconfig +%ldconfig -n libkwin6 +%{systemd_user_postun plasma-kwin_wayland.service} + +%ldconfig_scriptlets -n libkwin6 + +%preun x11 +%{systemd_user_preun plasma-kwin_x11.service} + +%post x11 +%{systemd_user_post plasma-kwin_x11.service} + +%postun x11 +%{systemd_user_postun plasma-kwin_x11.service} + +%verifyscript +%verify_permissions -e %{_kf6_bindir}/kwin_wayland + +%files +%verify(not caps) %{_kf6_bindir}/kwin_wayland +%license LICENSES/* +%doc README.md +%doc %lang(en) %{_kf6_htmldir}/en/* +%{_kf6_applicationsdir}/kcm_kwin_effects.desktop +%{_kf6_applicationsdir}/kcm_kwin_scripts.desktop +%{_kf6_applicationsdir}/kcm_kwin_virtualdesktops.desktop +%{_kf6_applicationsdir}/kcm_kwindecoration.desktop +%{_kf6_applicationsdir}/kcm_kwinoptions.desktop +%{_kf6_applicationsdir}/kcm_kwinrules.desktop +%{_kf6_applicationsdir}/kcm_kwintabbox.desktop +%{_kf6_applicationsdir}/kcm_kwinxwayland.desktop +%{_kf6_applicationsdir}/kcm_virtualkeyboard.desktop +%{_kf6_applicationsdir}/kwincompositing.desktop +%{_kf6_applicationsdir}/org.kde.kwin.killer.desktop +%{_kf6_bindir}/kwin_wayland_wrapper +%{_kf6_configkcfgdir}/* +%{_kf6_debugdir}/org_kde_kwin.categories +%{_kf6_iconsdir}/hicolor/*/apps/kwin.png +%{_kf6_iconsdir}/hicolor/scalable/apps/kwin.svgz +%{_kf6_knsrcfilesdir}/*.knsrc +%{_kf6_libdir}/kconf_update_bin/kwin5_update_default_rules +%{_kf6_libdir}/kconf_update_bin/kwin-6.0-delete-desktop-switching-shortcuts +%{_kf6_libdir}/kconf_update_bin/kwin-6.0-remove-breeze-tabbox-default +%{_kf6_libdir}/kconf_update_bin/kwin-6.0-reset-active-mouse-screen +%{_kf6_libdir}/kconf_update_bin/kwin-6.1-remove-gridview-expose-shortcuts +%{_kf6_libdir}/libkcmkwincommon.so.* +%{_kf6_notificationsdir}/kwin.notifyrc +%dir %{_kf6_plugindir}/kwin +%dir %{_kf6_plugindir}/kwin/effects +%dir %{_kf6_plugindir}/kwin/effects/configs +%{_kf6_plugindir}/kwin/effects/configs/kcm_kwin4_genericscripted.so +%{_kf6_plugindir}/kwin/effects/configs/kwin_blur_config.so +%{_kf6_plugindir}/kwin/effects/configs/kwin_colorblindnesscorrection_config.so +%{_kf6_plugindir}/kwin/effects/configs/kwin_diminactive_config.so +%{_kf6_plugindir}/kwin/effects/configs/kwin_glide_config.so +%{_kf6_plugindir}/kwin/effects/configs/kwin_hidecursor_config.so +%{_kf6_plugindir}/kwin/effects/configs/kwin_invert_config.so +%{_kf6_plugindir}/kwin/effects/configs/kwin_magiclamp_config.so +%{_kf6_plugindir}/kwin/effects/configs/kwin_magnifier_config.so +%{_kf6_plugindir}/kwin/effects/configs/kwin_mouseclick_config.so +%{_kf6_plugindir}/kwin/effects/configs/kwin_mousemark_config.so +%{_kf6_plugindir}/kwin/effects/configs/kwin_overview_config.so +%{_kf6_plugindir}/kwin/effects/configs/kwin_showpaint_config.so +%{_kf6_plugindir}/kwin/effects/configs/kwin_slide_config.so +%{_kf6_plugindir}/kwin/effects/configs/kwin_thumbnailaside_config.so +%{_kf6_plugindir}/kwin/effects/configs/kwin_tileseditor_config.so +%{_kf6_plugindir}/kwin/effects/configs/kwin_trackmouse_config.so +%{_kf6_plugindir}/kwin/effects/configs/kwin_windowview_config.so +%{_kf6_plugindir}/kwin/effects/configs/kwin_wobblywindows_config.so +%{_kf6_plugindir}/kwin/effects/configs/kwin_zoom_config.so +%dir %{_kf6_plugindir}/kwin/plugins +%{_kf6_plugindir}/kwin/plugins/StickyKeysPlugin.so +%{_kf6_plugindir}/kwin/plugins/BounceKeysPlugin.so +%{_kf6_plugindir}/kwin/plugins/buttonsrebind.so +%{_kf6_plugindir}/kwin/plugins/eis.so +%{_kf6_plugindir}/kwin/plugins/krunnerintegration.so +%{_kf6_plugindir}/kwin/plugins/nightlight.so +%{_kf6_plugindir}/kwin/plugins/screencast.so +%dir %{_kf6_plugindir}/org.kde.kdecoration2.kcm +%{_kf6_plugindir}/org.kde.kdecoration2.kcm/kcm_auroraedecoration.so +%dir %{_kf6_plugindir}/org.kde.kdecoration2 +%{_kf6_plugindir}/org.kde.kdecoration2/org.kde.kwin.aurorae.so +%dir %{_kf6_plugindir}/kf6/packagestructure +%{_kf6_plugindir}/kf6/packagestructure/kwin_aurorae.so +%{_kf6_plugindir}/kf6/packagestructure/kwin_decoration.so +%{_kf6_plugindir}/kf6/packagestructure/kwin_effect.so +%{_kf6_plugindir}/kf6/packagestructure/kwin_scripts.so +%{_kf6_plugindir}/kf6/packagestructure/kwin_windowswitcher.so +%{_kf6_plugindir}/plasma/kcms/systemsettings/kcm*.so +%{_kf6_plugindir}/plasma/kcms/systemsettings_qwidgets/kcm_kwin*.so +%{_kf6_plugindir}/plasma/kcms/systemsettings_qwidgets/kwincompositing.so +%dir %{_kf6_qmldir}/org/kde/kwin/ +%{_kf6_qmldir}/org/kde/kwin/decoration/ +%{_kf6_qmldir}/org/kde/kwin/decorations/ +%{_kf6_qmldir}/org/kde/kwin/private/ +%{_kf6_sharedir}/kconf_update/kwin.upd +%{_kf6_sharedir}/krunner/dbusplugins/kwin-runner-windows.desktop +%{_kf6_sharedir}/kwin/ +%{_libexecdir}/kwin-applywindowdecoration +%{_libexecdir}/kwin_killer_helper +%{_userunitdir}/plasma-kwin_wayland.service + +%files x11 +%{_kf6_bindir}/kwin_x11 +%{_userunitdir}/plasma-kwin_x11.service + +%files -n libkwin6 +%{_kf6_libdir}/libkwin.so.6 +%{_kf6_libdir}/libkwin.so.* + +%files devel +%{_includedir}/kwin/ +%{_kf6_cmakedir}/KWin/ +%{_kf6_cmakedir}/KWinDBusInterface/ +%{_kf6_dbusinterfacesdir}/org.kde.kwin.* +%{_kf6_dbusinterfacesdir}/org.kde.KWin.* +%{_kf6_libdir}/libkwin.so + +%files lang -f %{name}.lang +%exclude %{_kf6_htmldir}/en + +%changelog diff --git a/plasma.keyring b/plasma.keyring new file mode 100644 index 0000000..df40fb7 Binary files /dev/null and b/plasma.keyring differ