Plasma/Plasma 6.0 Release notes: Difference between revisions

From KDE Community Wiki
No edit summary
 
(34 intermediate revisions by 5 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]].
== 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 ==
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 ==


* kglobalacceld
* ocean-sound-theme
* ocean-sound-theme
* plasma5support


== Tars Moved From Frameworks ==
== Tars Moved From Frameworks ==


These need to be re-versioned to the higher 6.0
These will now follow the Plasma releases and version numbers
 
Note: the <tt>v5.90.0</tt> tag is incorrect on the moved repos as that version was previously used in Frameworks


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


== Tars Moved From KDE Gear ==
== Tars Moved From KDE Gear ==


These need to be re-versioned to the lower 6.0
This needs to be re-versioned to the lower 6.0


* print-manager
* print-manager
* wacomtable
 
== Tars Moved From Independent Releases ==
 
* wacomtablet


== Dropped Tars ==
== Dropped Tars ==


* khotkeys
* khotkeys
* ksysguard
* plasma-bigscreen
* plasma-bigscreen
* plank-player
* plank-player
* aura-browser
* aura-browser
* plasma-remotecontrollers
* 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 ==
== Qt 5 only ==
Line 33: Line 68:
== Dependencies which need new versions ==
== Dependencies which need new versions ==
=== KDE bits ===
=== KDE bits ===
* Phonon and Phonon-vlc - needs new versions which builds for Qt 5 and Qt 6 - TODO release
* 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
* polkit-qt-1 - needs new version built twice for Qt 5 and 6 - TODO release
* libqaccessibilityclient - needs 0.6.0 for Qt 6 (Qt 5 builds can be dropped)
* plasma-wayland-protocols - needs new version - TODO release
* kuserfeedback - Qt 6 version is part of Frameworks
* libqaccessibilityclient - needs new version built for Qt 6 - TODO release
* kirigami-addons - needs 0.11.75 built for Qt 6
* kuserfeedback - needs new version built for Qt 6 (and Qt 5 if you want it for Ruqola)
* polkit-qt-1 - needs new version built twice for Qt 5 and 6 - Use 0.200.0 release
* kirigami-addons - needs built for Qt 6 - TODO release
* plasma-wayland-protocols - use latest release 1.12.0


=== External Bits ===
=== External Bits ===
* Appstream - needs the unreleased 1.0, get it from Git
==== AppStream ====
* libaccounts-qt, signon-ui (also called signon-qt-ui) and signond - new release needed for Qt 6 - TODO release
AppStream 1.0 is required for Qt support. It has been [https://github.com/ximion/appstream/releases/tag/v1.0.0 officially released] since November 11, 2023.
 
In addition, note that this release will no longer honor legacy metadata locations, including <code>/usr/share/app-info/(xml|xmls)</code> and <code>/var/lib/app-info/(xml|xmls)</code>. If your distro is currently storing metadata in one of these locations, it needs to be moved to <code>/usr/share/swcatalog/xml</code> or <code>/var/lib/swcatalog/xml</code>. 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 ====
* 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
* 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
* 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 recommended packages to pre-install ==
* xwaylandvideobridge - while not a strict dependency, this allows for Screensharing XWayland apps in a Wayland session


== New Depedencies ==
== New required PAM configuration ==
* xwaylandvideobridge - while not a strict dependency this allows for Screensharing Wayland apps
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.


== New Configuration ==
== Coinstallbility ==
PAM config needed for  lock screen
Please review the [[Frameworks/6.0_Release_notes]] for coinstallability with KDE Frameworks 5.
https://community.kde.org/Plasma/Plasma_6#PAM_configuration
Distros can ship both KF5 and KF6 versions of Plasma Framework, the KF5 version should be built to not have clashing files.
https://invent.kde.org/plasma/kscreenlocker/-/merge_requests/163
* plasma-framework: -DBUILD_DESKTOPTHEMES=OFF

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