commit 57c2e39ab24df05ea8501ec1fba32a23857ad579eafe6f7d6ac21cc183a49228 Author: Christophe Marin Date: Tue Aug 6 19:17:20 2024 +0000 Plasma 6.1.4 OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks/plasma6-desktop?expand=0&rev=33 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/0001-Apply-branding-to-default-favorites.patch b/0001-Apply-branding-to-default-favorites.patch new file mode 100644 index 0000000..019b599 --- /dev/null +++ b/0001-Apply-branding-to-default-favorites.patch @@ -0,0 +1,46 @@ +From bd7cbe6605ff3de4f6a4c5c97f73c88e9b721c47 Mon Sep 17 00:00:00 2001 +From: Fabian Vogt +Date: Tue, 11 Jan 2022 09:12:32 +0100 +Subject: [PATCH] Apply branding to default favorites + +5.23.5 broke reading kickoffrc, which is the only way to specify default +favorites outside of patching Plasma itself. See +https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/793 for details. +As a workaround, copy favorites from plasma-openSUSE into the config, and: +- Update desktop filenames (fix Amarok, LO for both Leap/TW) +- Remove Amarok +- Add Kate + +Use both org.kde.khelpcenter.desktop as well as the previous org.kde.Help name +from khelpcenter <= v21.12. +--- + applets/kicker/package/contents/config/main.xml | 2 +- + applets/kickoff/package/contents/config/main.xml | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +Index: plasma-desktop-5.90.0git.20231202T021253~152814a9/applets/kicker/package/contents/config/main.xml +=================================================================== +--- plasma-desktop-5.90.0git.20231202T021253~152814a9.orig/applets/kicker/package/contents/config/main.xml 2023-12-02 03:12:53.000000000 +0100 ++++ plasma-desktop-5.90.0git.20231202T021253~152814a9/applets/kicker/package/contents/config/main.xml 2023-12-02 08:44:29.995753699 +0100 +@@ -38,7 +38,7 @@ + + + +- preferred://browser,org.kde.kontact.desktop,systemsettings.desktop,org.kde.dolphin.desktop,org.kde.discover ++ preferred://browser,org.kde.kontact.desktop,writer.desktop,libreoffice-writer.desktop,org.kde.digikam.desktop,org.kde.dolphin.desktop,org.kde.kate.desktop,systemsettings.desktop,org.kde.Help.desktop,org.kde.khelpcenter.desktop,org.kde.konsole.desktop + + + +Index: plasma-desktop-5.90.0git.20231202T021253~152814a9/applets/kickoff/package/contents/config/main.xml +=================================================================== +--- plasma-desktop-5.90.0git.20231202T021253~152814a9.orig/applets/kickoff/package/contents/config/main.xml 2023-12-02 03:12:53.000000000 +0100 ++++ plasma-desktop-5.90.0git.20231202T021253~152814a9/applets/kickoff/package/contents/config/main.xml 2023-12-02 08:45:43.155585718 +0100 +@@ -15,7 +15,7 @@ + + + +- preferred://browser,org.kde.kontact.desktop,systemsettings.desktop,org.kde.dolphin.desktop,org.kde.discover.desktop ++ preferred://browser,org.kde.kontact.desktop,writer.desktop,libreoffice-writer.desktop,org.kde.digikam.desktop,org.kde.dolphin.desktop,org.kde.kate.desktop,systemsettings.desktop,org.kde.Help.desktop,org.kde.khelpcenter.desktop,org.kde.konsole.desktop + + + diff --git a/_constraints b/_constraints new file mode 100644 index 0000000..88b6921 --- /dev/null +++ b/_constraints @@ -0,0 +1,34 @@ + + + + 9 + + + 4 + + 4 + + + + s390x + ppc64 + ppc64le + + + + 7 + + + + + + armv6l + armv7l + + + + 768 + + + + diff --git a/plasma-desktop-6.1.3.tar.xz b/plasma-desktop-6.1.3.tar.xz new file mode 100644 index 0000000..00890d6 --- /dev/null +++ b/plasma-desktop-6.1.3.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:362f64fa1af1c295d7fdade146bf5751176256c19fd41dd1850fff3603c21fad +size 16139468 diff --git a/plasma-desktop-6.1.3.tar.xz.sig b/plasma-desktop-6.1.3.tar.xz.sig new file mode 100644 index 0000000..029ad13 --- /dev/null +++ b/plasma-desktop-6.1.3.tar.xz.sig @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNATURE----- + +iQIzBAABCgAdFiEE4KPrIC+OV1KOE+cv11dEg7tXsY0FAmaWVOcACgkQ11dEg7tX +sY2rdQ//YKoQI1Ec9b6+S8nwOG6jQw4b/fJ5Vj/c4C9M118QksOs2ybj1UGcVAgK +dkOaGM98NrHrtECEOesRgKR7TZVKLjjPlqv8FBe1uDf+YcfIH0gHuo8LDG+XcEnq +kAMhtzWX87pk/TKiX6tCd9nek92pQVMXO2JXSkwbe7sef9ujZD36VK+f6VXx1s2S +Ibkrqu/GJG+7YKbboKqWpg0EI+kFJV+T0aW7TzWyOG94M5d0p5ywHK8Xtg1s9mXM +h9lfdvg2zK7TXCeyZjw1LBjIrsMVnSwruIOT4HJXxP3aTgTtbYD6AIF5aWNnz6xb +jdp+J/N1N6YXbNh+rj733A9SYN4Y+FnwhLiSW52PyzSCS2kLABawHj2bxABUDcck +jQvOfpHmiqYg5eoZdWRSuhte/jd7Jpa6AFpZ22mT7DYqAqb5ehPh1J/oi/mZBsxh +tHWtx+vs6M69wYirX+nqbW9Hp4x+UtRbks3LAkj3Ytvl5y90ZcTfs57s+XryaX8v +J+Ri3YStuEnRnyV3UZhEnNLP6sZ6nIJhQJTHe41IdYF+VvBeYJ23xQz6zx2Kw8A/ +l7HBC2V2xyF4q3BtlgjpafyXP/J7Fyu+F7ztczaTrIgLJfoMvLUePhJAnqYY2I81 +xKCPoPL2yd/KdzsgBNp7ZN1Rsc1UQj8PYycwcNidwMWSKK0j7kA= +=8KzB +-----END PGP SIGNATURE----- diff --git a/plasma-desktop-6.1.4.tar.xz b/plasma-desktop-6.1.4.tar.xz new file mode 100644 index 0000000..3dbeb6c --- /dev/null +++ b/plasma-desktop-6.1.4.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:83b897f602fbdcb8d571908c27f2303e1f8ba8dded33c1b03752437c412487d1 +size 16140400 diff --git a/plasma-desktop-6.1.4.tar.xz.sig b/plasma-desktop-6.1.4.tar.xz.sig new file mode 100644 index 0000000..06f22e5 --- /dev/null +++ b/plasma-desktop-6.1.4.tar.xz.sig @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNATURE----- + +iQIzBAABCgAdFiEE4KPrIC+OV1KOE+cv11dEg7tXsY0FAmayGGoACgkQ11dEg7tX +sY0alg/9GuKcwoNC4zi2VuzHw4T0qjwZ6v015UY/RwuH7RExnxOpMKigLg8uCS4F +DplBOiUIQ1gmWQ9nRz1ef6jiZXCMowK3YafIByv3q4DE6P+I8Ix8gKDgKXuRlWB3 +5bCXa5hYvS2948OWMkZCEkx4iWk0evm70erpObJDxn8K5LT6haVgLCozhuuc5Fcm +2EmQFCeSVA0SOUffLrAFWBHcu9UHWpMPByUd/o/JbMXHb+WYLmRqXLHUPRQZ4rqW +lWN62XinP5VfoWG7r1QD78iuaj6sZcUTquxZ7buyo9RwOmDOLHcQDKNnHY4OQjMF +0gsqPKqnx9X7ygGE4elOH2QxrpxT1y0Y622XYTOnNnwJqu83Av5SJVpXI12TcYe0 +XMcDW8NxOAr6GF18hdiy33Er/J9cqoH5OWdta/6iLDSxT+3W8SqrSmPNLw6UfK8p +hSdQavCXMy/1P26qS0nCeeBd8FH6SUwGtrHYxIyQ5/X1JXJCjb9jW6pw3Z51i9hw +CeVwiqqZtj03XeVe/fDp7phVZbpTsWHYihWB3vgbxEGHykHGUpSXjgPbqJuPd0oM +yo/Vyo/tjyaPu4wTaXba4+8zg1ycLPOQEgC6j2irdTgD3X96nux8KDaG0Dadyp9G +nZMk6jmSBZDbsaTpf9IPqyKXYU7oMBuXoKWxAyvn5gcY3KZRADY= +=oxkR +-----END PGP SIGNATURE----- diff --git a/plasma.keyring b/plasma.keyring new file mode 100644 index 0000000..df40fb7 Binary files /dev/null and b/plasma.keyring differ diff --git a/plasma6-desktop.changes b/plasma6-desktop.changes new file mode 100644 index 0000000..24bd44e --- /dev/null +++ b/plasma6-desktop.changes @@ -0,0 +1,270 @@ +------------------------------------------------------------------- +Tue Aug 6 13:27:53 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 + * Make X-KDE-Init-Phase a proper in in JSON and remove obsolete X-KDE-Init-Symbol values + * Folder View: hide existing label while renaming (kde#482802) + * Folder View: re-transfer focus to grid view after rename (kde#491088) + * Use bindings for anchors (kde#489492) + * Restore the folderview title config + * applets/taskmanager: fix size of textual list popup + * applets/taskmanager: Fix applet's layout size with multiple rows (kde#490319) + * [kcms/access] Set range for visual bell duration selector + +------------------------------------------------------------------- +Tue Jul 16 13:24:36 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 + * Fix kcm_clock save on non-systemd distros + * KeyboardButton: Check if longName is undefined + * Use a shared QQmlEngine when possible (kde#488326) + * lockscreen: fix the check for authentication prompts (kde#485520) + * update version for new release + * Edit Mode: Fix for blurry icons (kde#488920) + +------------------------------------------------------------------- +Tue Jul 2 17:34:21 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: + * [kcm/keyboard] Add missing GENERATE_MOC to kconfig_add_kcfg_files + * update version for new release + * kcms/keyboard: fix width and immutability of layout table headers (kde#488957) + * Make panel config tooltips ask for focus after each applet change (kde#487640) + * kcms/access: Bump the minimum cursor magnification factor (kde#489333) + * kcms/access: fix list item highlighting (kde#489206) + * Always center "Add Widgets" button on empty panels (kde#488789) + * update version for new release + +------------------------------------------------------------------- +Tue Jun 25 17:14:09 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 +- Changes since 6.1.0: + * update version for new release + * remove dup appstream versions + * Do not hide panel edit mode dialog when Widget Explorer is closed + * Widget Explorer: ask for focus after drag and drop (kde#488571) + * applets/taskmanager: Properly size Task icons (kde#488733) + * Read "padding" instead of "margin" of dialog (kde#488901) + * [kcms/keyboard] tastenbrett: more correct handling of xkb_keysym_* + * applets/taskmanager: Fix grid layout for forced multiple rows/columns (kde#488702) + * Panel: fix adaptive opacity not reacting to maximized windows (kde#488736) + * Use the proper translation domain + * sddm-theme: Make the thing translatable + * applets/kickoff: support styled text in label again + * update version for new release + * FolderView Positioner: fix dragging files across screens. (kde#481254,kde#466337) + +------------------------------------------------------------------- +Thu Jun 13 10:58:42 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 +- Changes since 6.0.90: + * update version for new release + * appstream versions + * update version for new release + * kcms/tablet: Fix wrong aspect ratio for output item + * kickoff/main.qml: Round backgroundMetrics (kde#487625) + * foldermodel.cpp: add context to menu connection + * applets/kicker: Do not set a minimum size (kde#487562) + * Anchor the desktop containment to the proper element (kde#487717) + * Don't activate plasmoid on layout change (kde#484216) + * Revert "Panel: don't round floating paddings to smoothen animation" (kde#484888) + * Only defloat the panel when the window is directly intersecting it (kde#482468) + * Revert "kcms/baloo: use frameless style for InlineMessages in header" + +------------------------------------------------------------------- +Sat May 25 11:19:03 UTC 2024 - Fabian Vogt + +- Update to 6.0.90: + * 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:43:12 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 +- Changes since 6.0.4: + * remove dup version + * update version for new release + * applets/showActivityManager: Fix and improve layout (kde#482098) + * applets/kicker: cap maximum icon size (kde#482612) + * kickoff: Use Kirigami.Units.iconSizes.huge as maximum icon size (kde#467004) + * Panel: don't double count floatingPadding (kde#482468) + * On multiline launchers are often as wide as tasks + * Fix keyboard navigation (kde#485588,kde#477348) + +------------------------------------------------------------------- +Wed Apr 17 08:13:12 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 +- Changes since 6.0.3: + * update version for new release + * applets/kickoff: fix invalid mimeData from item delegates (kde#485485) + * applets/taskmanager: show text more often for traditional Task Manager (kde#483070) + * foldermodel: Export urls to the Desktop Portal on drag and copy + * Add floating margin to panel highlight indicator (kde#485112) + * FolderView: Do not clear hover when moving mouse over items (kde#483581) + * applets/kickoff: Disable reusing items (kde#445512) + * Desktop: check containment availability first before `usedInAccentColor` + * Revert "applets/taskmanager: simplify right press handling" (kde#482813) + * kcms/mouse: Sync values when layout becomes enabled + * revert premature appstream update + * update version for new release + * gamecontroller: Do SDL_Init later. + * gamecontroller: Do less SDL polling when there aren't devices yet. + * update version for new release + +------------------------------------------------------------------- +Mon Apr 1 18:21:06 UTC 2024 - Sarah Kriesch + +- Add "-DBUILD_KCM_MOUSE_X11=OFF" for s390x +- Move touchpad and mouse configuration to all (also for s390x) + +------------------------------------------------------------------- +Tue Mar 26 18:06:11 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 +- Changes since 6.0.2: + * revert duplicate appstream update + * update version for new release + * applets/taskmanager: remove unnecessary Layout properties + * applets/taskmanager: Drop pipewire window thumbnail opacity animation + * applets/taskmanager: Don't base the amount of space reserved for the thumbnail on the header (kde#481044) + * Revert "Panel: Don't take keyboard focus when one of its widgets is activated" + * Folder View: fix label rendering for popup and widget views (kde#484163) + * Panel: don't round floating paddings to smoothen animation + * applets/kimpanel: Fix save font option + * Kicker: Fix submenus appearing in taskmanager (kde#481955) + * Cancel edit prior reparenting the applet + * solid-device-automounter/kcm: do not create proxy widget in initializer list + * Filter out enter (kde#482123) + +------------------------------------------------------------------- +Wed Mar 13 09:10:08 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: + * appiumtests: match screenshot to test wallpaper DBus API + * update version for new release + * kcm/keys: fix custom shortcut alignment (kde#483169) + * Panel: Don't take keyboard focus when one of its widgets is activated (kde#479084,kde#482653) + * appiumtests: add test to make sure ShellCorona gives ready signal to KSplash + * Folder Model: Handle invalid URL in desktop file (kde#482889) + * kcms/landingpage: load theme preview image asynchronously + * Rework logic to know who is the first visible results view (kde#482736) + * Do not let ConfigOverlay cover the toolbox (kde#482218) + * kcms/mouse: Don't crash when no supported backend is found (kde#482048) + * Don't overwrite files in the model positions on drop (kde#482302) + * update version for new release + +------------------------------------------------------------------- +Wed Mar 6 08:40:30 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 +- Changes since 6.0.0: + * update version for new release + * Keep first selected item if currentIndex is 0 + * Fix kicker close on click away (kde#482324) + * Fix some warnings + * Disable internal Key navigation (kde#482005) + * AppletError: Use compact error message from libplasma as the header + * 🍒Fix default appstream handler (kde#481932) + * appiumtests: move desktop tests to its own folder + * Fix running appstreamtest + * kcms:keys: fix changing command text or path (kde#481825) + * FolderView Positioner: fix rows insert and remove (kde#481254,kde#466337) + * applets/taskmanager: simplify right press handling + * Revert "Fix i18n domain" + +------------------------------------------------------------------- +Mon Mar 4 18:52:18 UTC 2024 - Christophe Marin + +- Add Provides/Obsoletes to replace Plasma 5 + +------------------------------------------------------------------- +Thu Feb 29 12:54:32 UTC 2024 - Christophe Marin + +- Fix build with SDL2 versions older than 2.0.16 + +------------------------------------------------------------------- +Wed Feb 21 18:36:36 UTC 2024 - Fabian Vogt + +- Update to 6.0.0: + * New bugfix release + * Release announcement not available yet +- Changes since 5.93.0: + * update version for new release + * kcms/plasmasearch: don't crash on dragging favorties to the end (kde#481594) + * applets/taskmanager: don't show the virtual desktop number next to the VD name (kde#481576) + * applets/kimpanel: fix loading config dialog + * kicker/dash: fix category list items' vertical margins (kde#480664) + * Remove again the touchpad applet + * appiumtests/bug477220: compare difference instead of matching region + * 🍒applets/taskmanager: reset animating property on mouse enter (kde#465377) + * appiumtests/bug476968: fix test_bug476968 + * Panel: use new API to calculate regionGeometry (kde#481379) + * kickoff: Use Item as searchField property type + * DefaultCompactRepresentation: accept key pressed event (kde#481393) + * PanelConfiguration: use appropriate string for vertical panels + * applets/kicker: fix favourites actions for Kicker in qt 6.7 + * install a kde-mimeapps.list (kde#305136) + * applets/kickoff: fix favourites actions for Kickoff in QT 6.7 (kde#479183) + * Fix i18n domain + * Remove old panel focus workaround + * containments/desktop: make mime filter case insensitive + * containments/desktop: fix mimeTypesView in ConfigFilter + * appiumtests/bug47722: revert expect fail in test_2_bug477220_open_context_menu + * update version for new release + +------------------------------------------------------------------- +Wed Jan 31 17:37:38 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 + +------------------------------------------------------------------- +Wed Jan 17 18:39:39 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/ + +------------------------------------------------------------------- +Sat Dec 2 07:47:08 UTC 2023 - Luca Beltrame + +- Refreshed patches: + * 0001-Apply-branding-to-default-favorites.patch + +------------------------------------------------------------------- +Sun Jul 9 23:07:37 UTC 2023 - Christophe Marin + +- Init plasma6-desktop diff --git a/plasma6-desktop.spec b/plasma6-desktop.spec new file mode 100644 index 0000000..e7282f5 --- /dev/null +++ b/plasma6-desktop.spec @@ -0,0 +1,385 @@ +# +# spec file for package plasma6-desktop +# +# 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/ +# + + +# TODO sort +# Internal QML imports +%global __requires_exclude qt6qmlimport\\((org\\.kde\\.plasma\\.shell\\.panel|org\\.kde\\.plasma\\.private).* +# %%global __requires_exclude qt6qmlimport\\((org\\.kde\\.private\\.kcms|org\\.kde\\.plasma\\.kcm|org\\.kde\\.desktopsession\\.private|org\\.kde\\.plasma\\.tablet|org\\.kde\\.plasma\\.touchscreen\\.kcm).* + +%define kf6_version 6.2.0 +%define qt6_version 6.6.0 + +%define rname plasma-desktop +# 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: plasma6-desktop +Version: 6.1.4 +Release: 0 +Summary: The KDE Plasma Workspace Components +License: GPL-2.0-only +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 +# PATCH-FIX-OPENSUSE +Patch100: 0001-Apply-branding-to-default-favorites.patch +BuildRequires: fdupes +BuildRequires: kf6-extra-cmake-modules >= %{kf6_version} +# Due to KWinDBusInterface not having a cmake version config file, we need to BR kwin6-devel instead +# BuildRequires: cmake(KWinDBusInterface) >= %%{_plasma6_bugfix} +# Also applies to ScreenSaverDBusInterface +# BuildRequires: cmake(ScreenSaverDBusInterface) >= %%{_plasma6_bugfix} +BuildRequires: kscreenlocker6-devel >= %{_plasma6_bugfix} +BuildRequires: kwin6-devel >= %{_plasma6_bugfix} +BuildRequires: qt6-gui-private-devel >= %{qt6_version} +BuildRequires: update-desktop-files +BuildRequires: cmake(KAccounts6) +BuildRequires: cmake(KF6Attica) >= %{kf6_version} +BuildRequires: cmake(KF6Auth) >= %{kf6_version} +BuildRequires: cmake(KF6Baloo) >= %{kf6_version} +BuildRequires: cmake(KF6Codecs) >= %{kf6_version} +BuildRequires: cmake(KF6Config) >= %{kf6_version} +BuildRequires: cmake(KF6CoreAddons) >= %{kf6_version} +BuildRequires: cmake(KF6Crash) >= %{kf6_version} +BuildRequires: cmake(KF6DBusAddons) >= %{kf6_version} +BuildRequires: cmake(KF6DocTools) >= %{kf6_version} +BuildRequires: cmake(KF6GlobalAccel) >= %{kf6_version} +BuildRequires: cmake(KF6GuiAddons) >= %{kf6_version} +BuildRequires: cmake(KF6I18n) >= %{kf6_version} +BuildRequires: cmake(KF6IconThemes) >= %{kf6_version} +BuildRequires: cmake(KF6ItemModels) >= %{kf6_version} +BuildRequires: cmake(KF6KCMUtils) >= %{kf6_version} +BuildRequires: cmake(KF6KDED) >= %{kf6_version} +BuildRequires: cmake(KF6KIO) >= %{kf6_version} +BuildRequires: cmake(KF6KirigamiPlatform) >= %{kf6_version} +BuildRequires: cmake(KF6NewStuff) >= %{kf6_version} +BuildRequires: cmake(KF6Notifications) >= %{kf6_version} +BuildRequires: cmake(KF6NotifyConfig) >= %{kf6_version} +BuildRequires: cmake(KF6Package) >= %{kf6_version} +BuildRequires: cmake(KF6QQC2DesktopStyle) >= %{kf6_version} +BuildRequires: cmake(KF6Runner) >= %{kf6_version} +BuildRequires: cmake(KF6Sonnet) >= %{kf6_version} +BuildRequires: cmake(KF6Svg) >= %{kf6_version} +BuildRequires: cmake(KF6WidgetsAddons) >= %{kf6_version} +BuildRequires: cmake(KF6WindowSystem) >= %{kf6_version} +BuildRequires: cmake(KF6XmlGui) >= %{kf6_version} +BuildRequires: cmake(KRunnerAppDBusInterface) >= %{_plasma6_bugfix} +BuildRequires: cmake(KSMServerDBusInterface) >= %{_plasma6_bugfix} +BuildRequires: cmake(KSysGuard) >= %{_plasma6_bugfix} +BuildRequires: cmake(LibColorCorrect) >= %{_plasma6_bugfix} +BuildRequires: cmake(LibKWorkspace) >= %{_plasma6_bugfix} +BuildRequires: cmake(LibNotificationManager) >= %{_plasma6_bugfix} +BuildRequires: cmake(LibTaskManager) >= %{_plasma6_bugfix} +BuildRequires: cmake(Plasma) >= %{_plasma6_bugfix} +BuildRequires: cmake(Plasma5Support) >= %{_plasma6_bugfix} +BuildRequires: cmake(PlasmaActivities) >= %{_plasma6_bugfix} +BuildRequires: cmake(PlasmaActivitiesStats) >= %{_plasma6_bugfix} +BuildRequires: cmake(PlasmaQuick) >= %{_plasma6_bugfix} +BuildRequires: cmake(PlasmaWaylandProtocols) >= 1.10.0 +BuildRequires: cmake(Qt6Concurrent) >= %{qt6_version} +BuildRequires: cmake(Qt6Core5Compat) >= %{qt6_version} +BuildRequires: cmake(Qt6DBus) >= %{qt6_version} +BuildRequires: cmake(Qt6Qml) >= %{qt6_version} +BuildRequires: cmake(Qt6Quick) >= %{qt6_version} +BuildRequires: cmake(Qt6QuickWidgets) >= %{qt6_version} +BuildRequires: cmake(Qt6Sql) >= %{qt6_version} +BuildRequires: cmake(Qt6Svg) >= %{qt6_version} +BuildRequires: cmake(Qt6Test) >= %{qt6_version} +BuildRequires: cmake(Qt6WaylandClient) >= %{qt6_version} +BuildRequires: cmake(Qt6Widgets) >= %{qt6_version} +BuildRequires: cmake(packagekitqt6) +BuildRequires: cmake(sdl2) +BuildRequires: pkgconfig(glib-2.0) +BuildRequires: pkgconfig(gobject-2.0) +BuildRequires: pkgconfig(ibus-1.0) +BuildRequires: pkgconfig(icu-i18n) +BuildRequires: pkgconfig(icu-uc) +BuildRequires: pkgconfig(libcanberra) +BuildRequires: pkgconfig(libudev) +BuildRequires: pkgconfig(scim) +BuildRequires: pkgconfig(signon-oauth2plugin) +BuildRequires: pkgconfig(wayland-client) +BuildRequires: pkgconfig(wayland-protocols) +BuildRequires: pkgconfig(x11) +BuildRequires: pkgconfig(x11-xcb) +BuildRequires: pkgconfig(xcb) +BuildRequires: pkgconfig(xcb-atom) +BuildRequires: pkgconfig(xcb-image) +BuildRequires: pkgconfig(xcb-keysyms) +BuildRequires: pkgconfig(xcb-record) +BuildRequires: pkgconfig(xcb-shm) +BuildRequires: pkgconfig(xcb-xinput) +BuildRequires: pkgconfig(xcursor) +BuildRequires: pkgconfig(xft) +BuildRequires: pkgconfig(xkbcommon) +BuildRequires: pkgconfig(xkbfile) +BuildRequires: pkgconfig(xkbregistry) +%ifnarch s390x +BuildRequires: pkgconfig(xorg-evdev) +BuildRequires: pkgconfig(xorg-libinput) +BuildRequires: pkgconfig(xorg-server) +%endif +BuildRequires: xkeyboard-config +Requires: plasma6-desktop-branding = %{version} +Requires: plasma6-workspace >= %{_plasma6_bugfix} +# Required by the 'recent files' kcm +Requires: qt6-sql-sqlite >= %{qt6_version} +# Hardcode versions of plasma6-framework-components, as upstream doesn't keep backwards compability there +%requires_ge plasma6-framework-components +# Various KCMs use it +Requires: kinfocenter6 +Requires: kf6-kirigami-imports >= %{kf6_version} +Requires: kirigami-addons6 >= 1.0.0 +Requires: kmenuedit6 +# Needed for sensors +Requires: libksysguard6-imports >= %{_plasma6_bugfix} +# kcm_style does DBus calls to the KDED module. +# However, that depends on xsettingsd and gio, so +# let the Supplements in kde-gtk-config5 handle it. +Requires: kde-gtk-config6 +# Needed for several KCMs +Requires: kf6-knewstuff-imports >= %{kf6_version} +# needed for the ActivityManager +Requires: plasma6-activities-imports >= %{_plasma6_bugfix} +# Only when WebEngine is available +%ifarch aarch64 x86_64 riscv64 +# Needed for the OpenDesktop integration +Requires: signon-plugin-oauth2 +%endif +Conflicts: kactivities5 < 5.20.0 +Recommends: plasma6-addons +Recommends: plasma6-desktop-emojier +Recommends: xdg-user-dirs +Provides: kdebase4-workspace = 5.3.0 +Obsoletes: kdebase4-workspace < 5.3.0 +Provides: kcm-touchpad = %{version} +Obsoletes: kcm-touchpad < %{version} +Provides: kdebase4-workspace-plasma-calendar = %{version} +Obsoletes: kdebase4-workspace-plasma-calendar < %{version} +Provides: kdebase4-workspace-plasma-engine-akonadi = %{version} +Obsoletes: kdebase4-workspace-plasma-engine-akonadi < %{version} +Conflicts: kio-extras5 <= 5.3.2 +Provides: kcm-touchpad5 = %{version} +Obsoletes: kcm-touchpad5 < %{version} +Provides: plasma5-desktop-branding-upstream = %{version} +Provides: plasma6-desktop-branding = %{version} +Obsoletes: plasma5-desktop-branding-upstream < %{version} +Provides: plasma5-desktop = %{version} +Obsoletes: plasma5-desktop < %{version} +Obsoletes: plasma5-desktop-lang < %{version} +Provides: plasma5-addons-kimpanel = %{version} +Obsoletes: plasma5-addons-kimpanel < %{version} +Provides: plasma5-desktop-kimpanel = %{version} +Obsoletes: plasma5-desktop-kimpanel < %{version} +Requires: (plasma6-kimpanel-ibus if ibus) +Requires: (plasma6-kimpanel-scim if scim) + +%if %{pkg_vcmp cmake(sdl2) >= 2.0.16} +%bcond_without gamecontroller_kcm +%endif + +%description +This package contains the basic packages for a Plasma workspace. + +%package emojier +Summary: Selection window for emoji text input +Requires: plasma6-desktop = %{version} +# Other color fonts don't really work that well +Recommends: noto-coloremoji-fonts +Provides: plasma5-desktop-emojier = %{version} +Obsoletes: plasma5-desktop-emojier < %{version} + +%description emojier +Press Meta+. to open an emoji selection window. + +%package -n plasma6-kimpanel-ibus +Summary: Plasma 6 IBus Configuration +Requires: %{name} = %{version} + +%description -n plasma6-kimpanel-ibus +Plasma 6 Input Method Backend for IBus support. + +%package -n plasma6-kimpanel-scim +Summary: Plasma 6 SCIM Configuration +Requires: %{name} = %{version} + +%description -n plasma6-kimpanel-scim +Plasma 6 Input Method Backend for SCIM (Smart Chinese/Common Input Method) support. + +%lang_package + +%prep +%autosetup -p1 -n %{rname}-%{version} + +%build +%cmake_kf6 \ +%ifarch s390x + -DBUILD_KCM_TOUCHPAD_X11:BOOL=FALSE \ + -DBUILD_KCM_MOUSE_X11=OFF +%endif + +%kf6_build + +%install +%kf6_install + +# no devel files needed here +rm -rv %{buildroot}%{_kf6_sharedir}/dbus-1/interfaces/ + +%find_lang %{name} --all-name --with-html + +%fdupes %{buildroot}%{_prefix} + +%ldconfig_scriptlets + +%files +%license COPYING* +%doc %lang(en) %{_kf6_htmldir}/en/*/ +%{_kf6_applicationsdir}/kaccess.desktop +%{_kf6_applicationsdir}/kcm_access.desktop +%{_kf6_applicationsdir}/kcm_activities.desktop +%{_kf6_applicationsdir}/kcm_baloofile.desktop +%{_kf6_applicationsdir}/kcm_clock.desktop +%{_kf6_applicationsdir}/kcm_componentchooser.desktop +%{_kf6_applicationsdir}/kcm_desktoppaths.desktop +%if %{with gamecontroller_kcm} +%{_kf6_applicationsdir}/kcm_gamecontroller.desktop +%endif +%{_kf6_applicationsdir}/kcm_kded.desktop +%{_kf6_applicationsdir}/kcm_keyboard.desktop +%{_kf6_applicationsdir}/kcm_keys.desktop +%{_kf6_applicationsdir}/kcm_krunnersettings.desktop +%{_kf6_applicationsdir}/kcm_landingpage.desktop +%{_kf6_applicationsdir}/kcm_plasmasearch.desktop +%{_kf6_applicationsdir}/kcm_qtquicksettings.desktop +%{_kf6_applicationsdir}/kcm_recentFiles.desktop +%{_kf6_applicationsdir}/kcm_smserver.desktop +%{_kf6_applicationsdir}/kcm_solid_actions.desktop +%{_kf6_applicationsdir}/kcm_splashscreen.desktop +%{_kf6_applicationsdir}/kcm_tablet.desktop +%{_kf6_applicationsdir}/kcm_touchscreen.desktop +%{_kf6_applicationsdir}/kcm_workspace.desktop +%{_kf6_applicationsdir}/kcmspellchecking.desktop +%{_kf6_applicationsdir}/kde-mimeapps.list +%{_kf6_applicationsdir}/org.kde.knetattach.desktop +%{_kf6_applicationsdir}/kcm_mouse.desktop +%{_kf6_applicationsdir}/kcm_touchpad.desktop +%{_kf6_appstreamdir}/*.xml +%{_kf6_bindir}/kaccess +%{_kf6_bindir}/knetattach +%{_kf6_bindir}/krunner-plugininstaller +%{_kf6_bindir}/solid-action-desktop-gen +%{_kf6_bindir}/tastenbrett +%{_kf6_configdir}/autostart/kaccess.desktop +%{_kf6_configkcfgdir}/*.kcfg +%{_kf6_dbuspolicydir}/org.kde.kcontrol.kcmclock.conf +%{_kf6_debugdir}/*.categories +%{_kf6_knsrcfilesdir}/krunner.knsrc +%{_kf6_knsrcfilesdir}/ksplash.knsrc +%{_kf6_notificationsdir}/kaccess.notifyrc +%{_kf6_plasmadir}/layout-templates/ +%{_kf6_plasmadir}/packages/ +%{_kf6_plasmadir}/plasmoids/ +%{_kf6_plasmadir}/shells/ +%{_kf6_plugindir}/attica_kde.so +%{_kf6_plugindir}/kf6/kded/device_automounter.so +%{_kf6_plugindir}/kf6/kded/keyboard.so +%{_kf6_plugindir}/kf6/kded/kded_touchpad.so +%{_kf6_plugindir}/kf6/krunner/ +%dir %{_kf6_plugindir}/plasma/kcms/desktop/ +%{_kf6_plugindir}/plasma/kcms/desktop/kcm_krunnersettings.so +%{_kf6_plugindir}/plasma/kcms/systemsettings/kcm_access.so +%{_kf6_plugindir}/plasma/kcms/systemsettings/kcm_activities.so +%{_kf6_plugindir}/plasma/kcms/systemsettings/kcm_baloofile.so +%{_kf6_plugindir}/plasma/kcms/systemsettings/kcm_componentchooser.so +%{_kf6_plugindir}/plasma/kcms/systemsettings/kcm_desktoppaths.so +%if %{with gamecontroller_kcm} +%{_kf6_plugindir}/plasma/kcms/systemsettings/kcm_gamecontroller.so +%endif +%dir %{_kf6_plugindir}/plasma/kcminit +%{_kf6_plugindir}/plasma/kcminit/kcm_mouse_init.so +%{_kf6_plugindir}/plasma/kcminit/kcm_touchpad_init.so +%{_kf6_plugindir}/plasma/kcms/systemsettings/kcm_mouse.so +%{_kf6_plugindir}/plasma/kcms/systemsettings/kcm_touchpad.so +%{_kf6_plugindir}/plasma/kcms/systemsettings/kcm_kded.so +%{_kf6_plugindir}/plasma/kcms/systemsettings/kcm_keyboard.so +%{_kf6_plugindir}/plasma/kcms/systemsettings/kcm_keys.so +%{_kf6_plugindir}/plasma/kcms/systemsettings/kcm_landingpage.so +%{_kf6_plugindir}/plasma/kcms/systemsettings/kcm_plasmasearch.so +%{_kf6_plugindir}/plasma/kcms/systemsettings/kcm_smserver.so +%{_kf6_plugindir}/plasma/kcms/systemsettings/kcm_splashscreen.so +%{_kf6_plugindir}/plasma/kcms/systemsettings/kcm_tablet.so +%{_kf6_plugindir}/plasma/kcms/systemsettings/kcm_touchscreen.so +%{_kf6_plugindir}/plasma/kcms/systemsettings/kcm_workspace.so +%{_kf6_plugindir}/plasma/kcms/systemsettings_qwidgets/kcm_clock.so +%{_kf6_plugindir}/plasma/kcms/systemsettings_qwidgets/kcm_device_automounter.so +%{_kf6_plugindir}/plasma/kcms/systemsettings_qwidgets/kcm_qtquicksettings.so +%{_kf6_plugindir}/plasma/kcms/systemsettings_qwidgets/kcm_recentFiles.so +%{_kf6_plugindir}/plasma/kcms/systemsettings_qwidgets/kcm_solid_actions.so +%{_kf6_plugindir}/plasma/kcms/systemsettings_qwidgets/kcmspellchecking.so +%{_kf6_qmldir}/org/kde/plasma/ +%{_kf6_qmldir}/org/kde/private/ +%dir %{_kf6_sharedir}/accounts/ +%dir %{_kf6_sharedir}/accounts/providers +%dir %{_kf6_sharedir}/accounts/providers/kde/ +%{_kf6_sharedir}/accounts/providers/kde/opendesktop.provider +%dir %{_kf6_sharedir}/accounts/services +%dir %{_kf6_sharedir}/accounts/services/kde/ +%{_kf6_sharedir}/accounts/services/kde/opendesktop-rating.service +%{_kf6_sharedir}/dbus-1/system-services/org.kde.kcontrol.kcmclock.service +%{_kf6_sharedir}/kcm_recentFiles/ +%{_kf6_sharedir}/kcmkeys/ +%{_kf6_sharedir}/kcmsolidactions/ +%{_kf6_sharedir}/polkit-1/actions/org.kde.kcontrol.kcmclock.policy +%dir %{_kf6_sharedir}/sddm +%dir %{_kf6_sharedir}/sddm/themes +%{_kf6_sharedir}/sddm/themes/breeze/ +%{_kf6_sharedir}/solid/ +%{_kf6_libexecdir}/kauth/kcmdatetimehelper +%{_kf6_iconsdir}/hicolor/*/devices/input-touchpad.* +%{_kf6_sharedir}/kcmmouse/ +%{_kf6_notificationsdir}/kcm_touchpad.notifyrc +%exclude %{_kf6_plasmadir}/emoji/ +%ifnarch s390 s390x +%{_kf6_bindir}/kapplymousetheme +%{_kf6_bindir}/kcm-touchpad-list-devices +%endif + +%files emojier +%{_kf6_applicationsdir}/org.kde.plasma.emojier.desktop +%{_kf6_bindir}/plasma-emojier +%{_kf6_plasmadir}/emoji/ +%{_kf6_sharedir}/kglobalaccel/org.kde.plasma.emojier.desktop + +%files -n plasma6-kimpanel-ibus +%{_libexecdir}/kimpanel-ibus-panel +%{_libexecdir}/kimpanel-ibus-panel-launcher + +%files -n plasma6-kimpanel-scim +%{_libexecdir}/kimpanel-scim-panel + +%files lang -f %{name}.lang +%exclude %{_kf6_htmldir}/en +%{_kf6_sharedir}/locale/sr*/LC_SCRIPTS/ + +%changelog