Plasma/Plasma 6.0 Release notes: Difference between revisions

From KDE Community Wiki
(Appstream 1.0 has been released)
 
(13 intermediate revisions by 3 users not shown)
Line 1: Line 1:
This page will be primarily of interest to packagers who want to package Plasma 6 for their distro. For user- and developer-facing information, see [[Plasma/Plasma_6|Plasma 6 info]].
This page will be primarily of interest to packagers who want to package Plasma 6 for their distro. For user- and developer-facing information, see [[Plasma/Plasma_6|Plasma 6 info]].
== Plasma 6 Beta 1 Notes ==
* Note the 3 renamed former Frameworks below
* libkscreen needs this commit in plasma-wayland-protocols https://invent.kde.org/libraries/plasma-wayland-protocols/-/commit/a95fc86fba3895308ce803876e0bc4f72e42e658
* libplasma misses some localisation scripts
* plasma-activities installs a conflicting 'kde.renamecategories' (conflicts with kdebugsettings)


== Required Qt Version ==
== Required Qt Version ==


Plasma 6 requires Qt 6.6. The Plasma 6 alpha release does not yet enforce this.
Plasma 6 requires Qt 6.6.
 
If you are planning to ship Plasma 6 with Qt 6.6.1, make sure to backport https://codereview.qt-project.org/c/qt/qtbase/+/523541, which fixes https://bugreports.qt.io/browse/QTBUG-116905.


== New Tars ==
== New Tars ==
Line 15: Line 24:
These will now follow the Plasma releases and version numbers
These will now follow the Plasma releases and version numbers


* kactivities
Note: the <tt>v5.90.0</tt> tag is incorrect on the moved repos as that version was previously used in Frameworks
* kactivities-stats
 
* plasma-framework
* plasma-activities (renamed from kactivities)
* plasma-activities-stats (renamed from kactivities-stats)
* libplasma (renamed from plasma-framework)
* kwayland
* kwayland


Line 33: Line 44:


* khotkeys
* khotkeys
* ksysguard
* plasma-bigscreen
* plasma-bigscreen
* plank-player
* plank-player
Line 43: Line 55:


kgamma5 is now kgamma
kgamma5 is now kgamma
== Tars that need Qt5 and Qt6 build ==
* kwayland
* plasma-integration
* breeze
* oxygen


== Qt 5 only ==
== Qt 5 only ==
Line 51: Line 69:
=== KDE bits ===
=== KDE bits ===
* Phonon and Phonon-vlc - needs Phonon 4.12 and Phonon-vlc 0.1 which build for both Qt 5 and 6 at the same time
* Phonon and Phonon-vlc - needs Phonon 4.12 and Phonon-vlc 0.1 which build for both Qt 5 and 6 at the same time
* libqaccessibilityclient - needs 0.5.0 for Qt 6 (Qt 5 builds can be dropped)
* libqaccessibilityclient - needs 0.6.0 for Qt 6 (Qt 5 builds can be dropped)
* kuserfeedback - needs 1.3.0 built for Qt 6 (and Qt 5 if you want it for Ruqola)
* kuserfeedback - Qt 6 version is part of Frameworks
* kirigami-addons - needs 0.11.75 built for Qt 6
* kirigami-addons - needs 0.11.75 built for Qt 6
* polkit-qt-1 - needs new version built twice for Qt 5 and 6 - TODO release
* polkit-qt-1 - needs new version built twice for Qt 5 and 6 - Use 0.200.0 release
* plasma-wayland-protocols - use latest release 1.11
* plasma-wayland-protocols - use latest release 1.12.0


=== External Bits ===
=== External Bits ===
Line 66: Line 84:


==== Everything else ====
==== Everything else ====
* kdsoap Qt5/Qt6 is [https://github.com/KDAB/KDSoap/issues/262 not fully coinstallable]
* libaccounts-qt, signond, signon-plugin-oauth2, and signon-ui are need changes for Qt6 support. MRs are pending. Meanwhile a fork of [https://gitlab.com/nicolasfella/libaccounts-qt/-/tree/qt6 libaccounts-qt], [https://gitlab.com/nicolasfella/signond/-/tree/qt6 signond], [https://gitlab.com/nicolasfella/signon-plugin-oauth2/-/tree/qt6 signon-plugin-oauth2] and [https://gitlab.com/accounts-sso/signon-ui signon-ui master] can be used
* libaccounts-qt, signond, signon-plugin-oauth2, and signon-ui are need changes for Qt6 support. MRs are pending. Meanwhile a fork of [https://gitlab.com/nicolasfella/libaccounts-qt/-/tree/qt6 libaccounts-qt], [https://gitlab.com/nicolasfella/signond/-/tree/qt6 signond], [https://gitlab.com/nicolasfella/signon-plugin-oauth2/-/tree/qt6 signon-plugin-oauth2], [https://gitlab.com/nicolasfella/signon-ui/-/tree/qt6 signon-ui] can be used
* Enabling libproxy in Qt: https://codereview.qt-project.org/c/qt/qtbase/+/494754. This can/should already be enabled in the build options downstream. Without it KIO/KDE apps doesn't handle proxy config
* Enabling libproxy in Qt: https://codereview.qt-project.org/c/qt/qtbase/+/494754. This can/should already be enabled in the build options downstream. Without it KIO/KDE apps doesn't handle proxy config
* PackagekitQt - use an up to date release built for Qt 6
* PackagekitQt - use an up to date release built for Qt 6
* SDDM - distros may want to consider packaging SDDM from Git for use with Plasma 6 alpha which has a Qt 6 port, this is not required but allows to use the latest theming
* SDDM - distros may want to consider packaging SDDM from Git for use with Plasma 6 alpha which has a Qt 6 port, this is not required but allows to use the latest theming
* xdg-utils needed [https://gitlab.freedesktop.org/xdg/xdg-utils/-/merge_requests/67 a change] to support KDE_SESSION_VERSION=6. A [https://gitlab.freedesktop.org/xdg/xdg-utils/-/issues/223 new release] is needed
* xdg-utils - use version 1.2.0, which includes [https://gitlab.freedesktop.org/xdg/xdg-utils/-/merge_requests/67 a change] to support KDE_SESSION_VERSION=6 and fix https://bugs.kde.org/show_bug.cgi?id=472300.


== New Dependencies ==
== New recommended packages to pre-install ==
* xwaylandvideobridge - while not a strict dependency this allows for Screensharing XWayland apps in a Wayland session
* xwaylandvideobridge - while not a strict dependency, this allows for Screensharing XWayland apps in a Wayland session


== PAM configuration ==
== New required PAM configuration ==
To enable simultaneous password+fingerprint authentication on the lock screen, PAM configuration files need to be adjusted. The TL;DR version is to just copy the GNOME/GDM ones, which will now work for KDE's lock screen too. See https://invent.kde.org/plasma/kscreenlocker/-/merge_requests/163 for details.
To enable simultaneous password+fingerprint authentication on the lock screen, PAM configuration files need to be adjusted. The TL;DR version is to just copy the GNOME/GDM ones, which will now work for KDE's lock screen too. See https://invent.kde.org/plasma/kscreenlocker/-/merge_requests/163 for details.


Line 83: Line 100:
Distros can ship both KF5 and KF6 versions of Plasma Framework, the KF5 version should be built to not have clashing files.
Distros can ship both KF5 and KF6 versions of Plasma Framework, the KF5 version should be built to not have clashing files.
* plasma-framework: -DBUILD_DESKTOPTHEMES=OFF
* plasma-framework: -DBUILD_DESKTOPTHEMES=OFF
== KSysGuard ==
KSysGuard has not seen a release for the last couple of years and has not been ported to Qt 6.  Distros should remove its packages.

Latest revision as of 08:54, 23 February 2024

This page will be primarily of interest to packagers who want to package Plasma 6 for their distro. For user- and developer-facing information, see Plasma 6 info.

Plasma 6 Beta 1 Notes

Required Qt Version

Plasma 6 requires Qt 6.6.

If you are planning to ship Plasma 6 with Qt 6.6.1, make sure to backport https://codereview.qt-project.org/c/qt/qtbase/+/523541, which fixes https://bugreports.qt.io/browse/QTBUG-116905.

New Tars

  • kglobalacceld
  • ocean-sound-theme
  • plasma5support

Tars Moved From Frameworks

These will now follow the Plasma releases and version numbers

Note: the v5.90.0 tag is incorrect on the moved repos as that version was previously used in Frameworks

  • plasma-activities (renamed from kactivities)
  • plasma-activities-stats (renamed from kactivities-stats)
  • libplasma (renamed from plasma-framework)
  • kwayland

Tars Moved From KDE Gear

This needs to be re-versioned to the lower 6.0

  • print-manager

Tars Moved From Independent Releases

  • wacomtablet

Dropped Tars

  • khotkeys
  • ksysguard
  • plasma-bigscreen
  • plank-player
  • aura-browser
  • plasma-remotecontrollers

We would welcome maintenance of Plasma Bigscreen to port it to Qt 6

Renamed Tars

kgamma5 is now kgamma

Tars that need Qt5 and Qt6 build

  • kwayland
  • plasma-integration
  • breeze
  • oxygen

Qt 5 only

  • kwayland-integration remains Qt 5 only as its features have been moved into kwindowsystem, this is still released and should still be packaged for compatibility with Qt 5 apps.

Dependencies which need new versions

KDE bits

  • Phonon and Phonon-vlc - needs Phonon 4.12 and Phonon-vlc 0.1 which build for both Qt 5 and 6 at the same time
  • libqaccessibilityclient - needs 0.6.0 for Qt 6 (Qt 5 builds can be dropped)
  • kuserfeedback - Qt 6 version is part of Frameworks
  • kirigami-addons - needs 0.11.75 built for Qt 6
  • polkit-qt-1 - needs new version built twice for Qt 5 and 6 - Use 0.200.0 release
  • plasma-wayland-protocols - use latest release 1.12.0

External Bits

AppStream

AppStream 1.0 is required for Qt support. It has been officially released since November 11, 2023.

In addition, note that this release will no longer honor legacy metadata locations, including /usr/share/app-info/(xml|xmls) and /var/lib/app-info/(xml|xmls). If your distro is currently storing metadata in one of these locations, it needs to be moved to /usr/share/swcatalog/xml or /var/lib/swcatalog/xml. Icons also need to move. See https://www.freedesktop.org/software/appstream/docs/chap-CatalogData.html#spec-asxml-filenaming for more information.

If this migration is not performed, Discover in Plasma 6 will not be able to see any of your distro's apps.

Everything else

New recommended packages to pre-install

  • xwaylandvideobridge - while not a strict dependency, this allows for Screensharing XWayland apps in a Wayland session

New required PAM configuration

To enable simultaneous password+fingerprint authentication on the lock screen, PAM configuration files need to be adjusted. The TL;DR version is to just copy the GNOME/GDM ones, which will now work for KDE's lock screen too. See https://invent.kde.org/plasma/kscreenlocker/-/merge_requests/163 for details.

Coinstallbility

Please review the Frameworks/6.0_Release_notes for coinstallability with KDE Frameworks 5. Distros can ship both KF5 and KF6 versions of Plasma Framework, the KF5 version should be built to not have clashing files.

  • plasma-framework: -DBUILD_DESKTOPTHEMES=OFF