2014-07-11 17:36:21 +00:00
|
|
|
#
|
2014-07-11 17:39:45 +00:00
|
|
|
# spec file for package plasma5-workspace
|
2014-07-11 17:36:21 +00:00
|
|
|
#
|
2019-01-08 18:46:49 +00:00
|
|
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
2014-07-11 17:36:21 +00:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2018-10-16 19:53:24 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2014-07-11 17:36:21 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2017-11-23 15:52:37 +00:00
|
|
|
#Compat macro for new _fillupdir macro introduced in Nov 2017
|
2018-01-17 15:26:26 +00:00
|
|
|
%{!?_fillupdir: %global _fillupdir %{_localstatedir}/adm/fillup-templates}
|
2017-11-23 15:52:37 +00:00
|
|
|
|
2019-02-07 20:23:43 +00:00
|
|
|
%define kf5_version 5.54.0
|
2016-09-17 18:40:56 +00:00
|
|
|
|
2015-04-11 00:50:50 +00:00
|
|
|
%bcond_without lang
|
2014-07-11 17:39:45 +00:00
|
|
|
Name: plasma5-workspace
|
2017-05-16 11:56:24 +00:00
|
|
|
# Full Plasma 5 version (e.g. 5.9.1)
|
2016-11-06 14:06:06 +00:00
|
|
|
%{!?_plasma5_bugfix: %global _plasma5_bugfix %{version}}
|
2018-07-16 20:34:28 +00:00
|
|
|
# Latest ABI-stable Plasma (e.g. 5.8 in KF5, but 5.9.1 in KUF)
|
|
|
|
%{!?_plasma5_version: %define _plasma5_version %(echo %{_plasma5_bugfix} | awk -F. '{print $1"."$2}')}
|
2019-03-13 08:29:58 +00:00
|
|
|
Version: 5.15.3
|
2018-01-17 15:26:26 +00:00
|
|
|
Release: 0
|
2014-07-11 17:36:21 +00:00
|
|
|
Summary: The KDE Plasma Workspace Components
|
2018-06-19 21:42:16 +00:00
|
|
|
License: GPL-2.0-or-later
|
2014-07-11 17:36:21 +00:00
|
|
|
Group: System/GUI/KDE
|
|
|
|
Url: http://www.kde.org/
|
2019-02-19 16:24:34 +00:00
|
|
|
Source: https://download.kde.org/stable/plasma/%{version}/plasma-workspace-%{version}.tar.xz
|
2018-09-19 04:47:34 +00:00
|
|
|
%if %{with lang}
|
2019-02-19 16:24:34 +00:00
|
|
|
Source1: https://download.kde.org/stable/plasma/%{version}/plasma-workspace-%{version}.tar.xz.sig
|
2018-09-19 04:47:34 +00:00
|
|
|
Source2: plasma.keyring
|
|
|
|
%endif
|
|
|
|
Source3: baselibs.conf
|
2018-03-24 21:06:03 +00:00
|
|
|
# PATCHES 000-100 and above are from upstream 5.12 branch
|
|
|
|
# PATCHES 101-500 are from upstream master/5.13 branch
|
|
|
|
# PATCHES 501-??? are PATCH-FIX-OPENSUSE
|
2016-09-23 18:23:55 +00:00
|
|
|
# PATCH-FIX-OPENSUSE 0001-Rename-qdbus-in-startkde.patch cgiboudeaux@gmx.com -- Rename the qdbus executable in startkde
|
2018-03-24 21:06:03 +00:00
|
|
|
Patch501: 0001-Rename-qdbus-in-startkde.patch
|
2016-10-05 19:50:19 +00:00
|
|
|
# PATCH-FIX-OPENSUSE 0001-Ignore-default-sddm-face-icons.patch boo#1001364 fabian@ritter-vogt.de -- Ignore default sddm face icons
|
2018-03-24 21:06:03 +00:00
|
|
|
Patch502: 0001-Ignore-default-sddm-face-icons.patch
|
2019-02-06 18:16:42 +00:00
|
|
|
Patch503: 0001-Set-GTK_BACKEND-x11-in-a-wayland-session.patch
|
2018-03-24 21:06:03 +00:00
|
|
|
# PATCH-FIX-UPSTREAM (once sddm part merged)
|
|
|
|
Patch504: 0001-Add-suffix-to-the-wayland-session-s-name.patch
|
2018-05-21 09:07:22 +00:00
|
|
|
# PATCH-FEATURE-OPENSUSE
|
|
|
|
Patch506: 0001-Revert-No-icons-on-the-desktop-by-default.patch
|
2018-04-25 20:14:51 +00:00
|
|
|
# PATCH-FIX-OPENSUSE
|
2018-05-21 09:07:22 +00:00
|
|
|
Patch507: lazy-sddm-theme.patch
|
2016-06-16 20:54:44 +00:00
|
|
|
BuildRequires: breeze5-icons
|
2016-06-07 17:57:00 +00:00
|
|
|
BuildRequires: fdupes
|
2014-07-11 17:36:21 +00:00
|
|
|
BuildRequires: kf5-filesystem
|
2016-05-15 16:59:47 +00:00
|
|
|
BuildRequires: phonon4qt5-devel >= 4.6.60
|
2018-01-17 15:26:26 +00:00
|
|
|
BuildRequires: pkgconfig
|
2014-07-11 17:36:21 +00:00
|
|
|
BuildRequires: update-desktop-files
|
2017-09-15 03:22:21 +00:00
|
|
|
BuildRequires: cmake(AppStreamQt) >= 0.10.4
|
2019-01-19 09:07:08 +00:00
|
|
|
BuildRequires: cmake(KDED) >= %{kf5_version}
|
2016-09-17 18:40:56 +00:00
|
|
|
BuildRequires: cmake(KF5Activities) >= %{kf5_version}
|
2015-11-28 15:30:07 +00:00
|
|
|
BuildRequires: cmake(KF5Baloo)
|
2016-09-17 18:40:56 +00:00
|
|
|
BuildRequires: cmake(KF5CoreAddons) >= %{kf5_version}
|
|
|
|
BuildRequires: cmake(KF5Crash) >= %{kf5_version}
|
|
|
|
BuildRequires: cmake(KF5DBusAddons) >= %{kf5_version}
|
|
|
|
BuildRequires: cmake(KF5Declarative) >= %{kf5_version}
|
|
|
|
BuildRequires: cmake(KF5DocTools) >= %{kf5_version}
|
|
|
|
BuildRequires: cmake(KF5GlobalAccel) >= %{kf5_version}
|
2016-06-16 20:54:44 +00:00
|
|
|
BuildRequires: cmake(KF5Holidays)
|
2016-09-17 18:40:56 +00:00
|
|
|
BuildRequires: cmake(KF5I18n) >= %{kf5_version}
|
|
|
|
BuildRequires: cmake(KF5IdleTime) >= %{kf5_version}
|
|
|
|
BuildRequires: cmake(KF5JsEmbed) >= %{kf5_version}
|
|
|
|
BuildRequires: cmake(KF5KCMUtils) >= %{kf5_version}
|
|
|
|
BuildRequires: cmake(KF5KDELibs4Support) >= %{kf5_version}
|
|
|
|
BuildRequires: cmake(KF5NetworkManagerQt) >= %{kf5_version}
|
|
|
|
BuildRequires: cmake(KF5NewStuff) >= %{kf5_version}
|
|
|
|
BuildRequires: cmake(KF5NotifyConfig) >= %{kf5_version}
|
|
|
|
BuildRequires: cmake(KF5Package) >= %{kf5_version}
|
|
|
|
BuildRequires: cmake(KF5Plasma) >= %{kf5_version}
|
2015-11-28 15:30:07 +00:00
|
|
|
BuildRequires: cmake(KF5PlasmaQuick)
|
2017-01-28 16:11:00 +00:00
|
|
|
BuildRequires: cmake(KF5Prison) >= %{kf5_version}
|
2016-09-17 18:40:56 +00:00
|
|
|
BuildRequires: cmake(KF5Runner) >= %{kf5_version}
|
2015-11-28 15:30:07 +00:00
|
|
|
BuildRequires: cmake(KF5Screen) >= 5.0.93
|
2016-09-17 18:40:56 +00:00
|
|
|
BuildRequires: cmake(KF5Solid) >= %{kf5_version}
|
|
|
|
BuildRequires: cmake(KF5Su) >= %{kf5_version}
|
|
|
|
BuildRequires: cmake(KF5SysGuard) >= %{_plasma5_version}
|
2015-11-28 15:33:41 +00:00
|
|
|
BuildRequires: cmake(KF5TextEditor)
|
2016-09-17 18:40:56 +00:00
|
|
|
BuildRequires: cmake(KF5TextWidgets) >= %{kf5_version}
|
|
|
|
BuildRequires: cmake(KF5Wallet) >= %{kf5_version}
|
2017-09-15 03:22:21 +00:00
|
|
|
BuildRequires: cmake(KF5Wayland) >= %{kf5_version}
|
2015-11-28 15:30:07 +00:00
|
|
|
BuildRequires: cmake(KF5XmlRpcClient)
|
2016-09-17 18:40:56 +00:00
|
|
|
BuildRequires: cmake(KScreenLocker) >= %{_plasma5_version}
|
2018-01-17 15:26:26 +00:00
|
|
|
#!BuildIgnore: kdialog
|
2016-09-17 18:40:56 +00:00
|
|
|
BuildRequires: cmake(KWinDBusInterface) >= %{_plasma5_version}
|
2015-11-28 15:30:07 +00:00
|
|
|
BuildRequires: cmake(Qt5Concurrent) >= 5.4.0
|
|
|
|
BuildRequires: cmake(Qt5DBus) >= 5.4.0
|
|
|
|
BuildRequires: cmake(Qt5Network) >= 5.4.0
|
|
|
|
BuildRequires: cmake(Qt5Qml) >= 5.4.0
|
|
|
|
BuildRequires: cmake(Qt5Quick) >= 5.4.0
|
|
|
|
BuildRequires: cmake(Qt5QuickWidgets) >= 5.4.0
|
|
|
|
BuildRequires: cmake(Qt5Script) >= 5.4.0
|
|
|
|
BuildRequires: cmake(Qt5Sql) >= 5.4.0
|
|
|
|
BuildRequires: cmake(Qt5Test) >= 5.4.0
|
|
|
|
BuildRequires: cmake(Qt5Widgets) >= 5.4.0
|
|
|
|
BuildRequires: cmake(Qt5X11Extras) >= 5.4.0
|
2016-09-17 18:40:56 +00:00
|
|
|
BuildRequires: cmake(ScreenSaverDBusInterface) >= %{_plasma5_version}
|
2015-11-28 15:30:07 +00:00
|
|
|
BuildRequires: cmake(dbusmenu-qt5)
|
2015-11-28 15:33:41 +00:00
|
|
|
BuildRequires: pkgconfig(libgps)
|
2015-03-19 02:23:14 +00:00
|
|
|
BuildRequires: pkgconfig(libqalculate)
|
2014-07-11 17:36:21 +00:00
|
|
|
BuildRequires: pkgconfig(sm)
|
|
|
|
BuildRequires: pkgconfig(x11)
|
2015-11-28 15:30:07 +00:00
|
|
|
BuildRequires: pkgconfig(xcb)
|
2015-11-28 16:36:04 +00:00
|
|
|
BuildRequires: pkgconfig(xcb-composite)
|
|
|
|
BuildRequires: pkgconfig(xcb-damage)
|
|
|
|
BuildRequires: pkgconfig(xcb-image)
|
|
|
|
BuildRequires: pkgconfig(xcb-randr)
|
|
|
|
BuildRequires: pkgconfig(xcb-shm)
|
2015-11-28 16:38:05 +00:00
|
|
|
BuildRequires: pkgconfig(xcb-util)
|
2015-11-28 16:36:04 +00:00
|
|
|
BuildRequires: pkgconfig(xcb-xfixes)
|
2017-12-02 20:52:07 +00:00
|
|
|
BuildRequires: pkgconfig(xrender)
|
|
|
|
BuildRequires: pkgconfig(xtst)
|
2014-07-11 17:36:21 +00:00
|
|
|
BuildRequires: pkgconfig(zlib)
|
2015-01-15 15:09:29 +00:00
|
|
|
Requires: %{name}-libs = %{version}-%{release}
|
2018-01-17 15:26:26 +00:00
|
|
|
# contains default style, cursors, etc
|
|
|
|
Requires: breeze >= %{_plasma5_version}
|
|
|
|
# battery applet
|
|
|
|
Requires: drkonqi5 >= %{_plasma5_version}
|
|
|
|
# dialog/platformtheme/etc
|
|
|
|
Requires: frameworkintegration-plugin
|
|
|
|
Requires: kactivitymanagerd
|
2014-07-11 17:36:21 +00:00
|
|
|
# used within startup
|
2016-09-17 18:40:56 +00:00
|
|
|
Requires: kde-cli-tools5 >= %{_plasma5_version}
|
2014-07-11 17:36:21 +00:00
|
|
|
Requires: kded
|
|
|
|
Requires: kdelibs4support
|
2018-01-17 15:26:26 +00:00
|
|
|
Requires: kglobalaccel5 >= %{_plasma5_version}
|
2014-07-11 17:36:21 +00:00
|
|
|
Requires: kinit
|
2018-01-17 15:26:26 +00:00
|
|
|
Requires: kscreen5 >= %{_plasma5_version}
|
2016-09-17 18:40:56 +00:00
|
|
|
Requires: kscreenlocker >= %{_plasma5_version}
|
|
|
|
Requires: kwin5 >= %{_plasma5_version}
|
2018-01-17 15:26:26 +00:00
|
|
|
Requires: libkscreen2-plugin >= %{_plasma5_version}
|
2017-08-04 10:36:53 +00:00
|
|
|
Requires: libqt5-qdbus
|
|
|
|
Requires: libqt5-qtpaths
|
2014-07-11 17:36:21 +00:00
|
|
|
# heavily used by plasma
|
|
|
|
Requires: libqt5-qtquickcontrols
|
2018-01-17 15:26:26 +00:00
|
|
|
# needed by krunner
|
|
|
|
Requires: milou5 >= %{_plasma5_version}
|
2015-01-16 16:21:32 +00:00
|
|
|
# boo#912317
|
2018-07-16 20:34:28 +00:00
|
|
|
Requires: gmenudbusmenuproxy >= %{_plasma5_version}
|
2016-09-17 18:40:56 +00:00
|
|
|
Requires: oxygen5-sounds >= %{_plasma5_version}
|
2018-01-17 15:26:26 +00:00
|
|
|
Requires: solid-imports
|
2018-07-16 08:03:01 +00:00
|
|
|
Requires: xembedsniproxy >= %{_plasma5_version}
|
2018-10-03 18:21:22 +00:00
|
|
|
# startkde and startplasma call these
|
2019-01-19 09:07:08 +00:00
|
|
|
Requires: awk
|
2018-01-17 15:26:26 +00:00
|
|
|
Requires: xprop
|
2018-10-03 18:21:22 +00:00
|
|
|
Requires: xrdb
|
|
|
|
Requires: xsetroot
|
2016-10-22 21:33:38 +00:00
|
|
|
# hardcode versions of plasma-framework-components and plasma-framework-private packages, as upstream doesn't keep backwards compability there
|
2018-01-17 15:26:26 +00:00
|
|
|
%requires_ge plasma-framework-components
|
2018-07-16 20:34:28 +00:00
|
|
|
%requires_ge plasma-framework
|
2018-01-17 15:26:26 +00:00
|
|
|
Recommends: %{name}-lang
|
2017-12-04 17:10:53 +00:00
|
|
|
Recommends: kio-extras5
|
2018-01-17 15:26:26 +00:00
|
|
|
# The lockscreen has a button to open a virtual keyboard
|
|
|
|
Recommends: libqt5-qtvirtualkeyboard
|
2014-07-11 17:36:21 +00:00
|
|
|
# notifications...
|
|
|
|
Recommends: phonon4qt5-backend
|
|
|
|
# people should be able to adjust desktop
|
|
|
|
Recommends: systemsettings5
|
2018-01-17 15:26:26 +00:00
|
|
|
Conflicts: kdebase4-workspace < 5.3.0
|
|
|
|
# Some files have been moved from kio-extras5 to plasma5-workspace in 5.4. This should prevent a possible file conflict. (boo#944656)
|
|
|
|
Conflicts: kio-extras5 < 15.08.0
|
2017-03-12 19:02:08 +00:00
|
|
|
# plasmashell implements the dbus interface org.freedesktop.Notifications directly
|
2016-11-06 14:06:06 +00:00
|
|
|
Provides: %{name}-branding = %{_plasma5_bugfix}
|
2016-09-17 18:40:56 +00:00
|
|
|
Provides: %{name}-branding-upstream = %{version}
|
2017-03-23 06:08:17 +00:00
|
|
|
Provides: dbus(org.freedesktop.Notifications)
|
2016-09-17 18:40:56 +00:00
|
|
|
Obsoletes: %{name}-branding-upstream < %{version}
|
2018-01-17 15:26:26 +00:00
|
|
|
# Later versions have a supplements in sni-qt
|
|
|
|
%if 0%{?suse_version} < 1330
|
|
|
|
# so Qt4-only apps have some colors in tray
|
|
|
|
Recommends: sni-qt
|
|
|
|
%endif
|
2014-07-11 17:36:21 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
This package contains the basic packages for a Plasma workspace.
|
|
|
|
|
2014-09-11 15:06:32 +00:00
|
|
|
%package libs
|
|
|
|
Summary: The KDE Plasma Workspace Components
|
|
|
|
Group: Development/Libraries/KDE
|
2018-01-17 15:26:26 +00:00
|
|
|
%requires_ge kio
|
|
|
|
%requires_ge kservice
|
|
|
|
%requires_ge libKF5Activities5
|
|
|
|
%requires_ge libKF5CoreAddons5
|
|
|
|
%requires_ge libKF5I18n5
|
|
|
|
%requires_ge libKF5WindowSystem5
|
|
|
|
%requires_ge libQt5Core5
|
|
|
|
%requires_ge libQt5DBus5
|
|
|
|
%requires_ge libQt5Gui5
|
|
|
|
%requires_ge libQt5Widgets5
|
|
|
|
%requires_ge libQt5X11Extras5
|
|
|
|
%requires_ge libksysguard5
|
|
|
|
%requires_ge plasma-framework
|
2014-09-11 15:06:32 +00:00
|
|
|
|
|
|
|
%description libs
|
|
|
|
This package contains the basic packages for a K Desktop Environment
|
|
|
|
workspace.
|
|
|
|
|
2018-07-16 08:03:01 +00:00
|
|
|
%package -n xembedsniproxy
|
|
|
|
Summary: XEmbed SNI Proxy
|
|
|
|
Group: System/Gui/KDE
|
|
|
|
Provides: xembed-sni-proxy = %{version}
|
|
|
|
Obsoletes: xembed-sni-proxy < %{version}
|
|
|
|
|
|
|
|
%description -n xembedsniproxy
|
2018-07-16 20:34:28 +00:00
|
|
|
This package provides a proxy translating XEmbed for SNI trays.
|
|
|
|
Can also be used by standalone tray apps.
|
|
|
|
|
|
|
|
%package -n gmenudbusmenuproxy
|
|
|
|
Summary: GMenu to DBusMenu Proxy
|
|
|
|
Group: System/Gui/KDE
|
|
|
|
%if 0%{?suse_version} >= 1500
|
|
|
|
Recommends: (unity-gtk2-module if libgtk-2_0-0)
|
|
|
|
Recommends: (unity-gtk3-module if libgtk-3-0)
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%description -n gmenudbusmenuproxy
|
|
|
|
This package provides a proxy translating GMenu (GTK Menu) to DBusMenu (the
|
|
|
|
standard), useful for global menu implementations.
|
2018-07-16 08:03:01 +00:00
|
|
|
|
2014-07-11 17:36:21 +00:00
|
|
|
%package devel
|
|
|
|
Summary: The KDE Plasma Workspace Components
|
|
|
|
Group: Development/Libraries/KDE
|
2015-01-15 15:09:29 +00:00
|
|
|
Requires: %{name}-libs = %{version}-%{release}
|
2016-09-17 18:40:56 +00:00
|
|
|
Requires: cmake(KF5SysGuard) >= %{_plasma5_version}
|
|
|
|
Requires: cmake(KF5Wayland) >= %{kf5_version}
|
2016-06-16 20:54:44 +00:00
|
|
|
Requires: cmake(Qt5Core) >= 5.4.0
|
|
|
|
Requires: cmake(Qt5Gui) >= 5.4.0
|
|
|
|
Requires: cmake(Qt5Quick) >= 5.4.0
|
2018-01-17 15:26:26 +00:00
|
|
|
Conflicts: kapptemplate <= 16.03.80
|
2014-07-11 17:36:21 +00:00
|
|
|
Conflicts: kdebase4-workspace-devel
|
2014-07-11 17:39:45 +00:00
|
|
|
Provides: plasma-workspace5-devel = %{version}
|
2016-09-23 18:23:55 +00:00
|
|
|
Obsoletes: plasma-workspace5-devel < %{version}
|
2014-07-11 17:36:21 +00:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains the basic packages for a K Desktop Environment
|
|
|
|
workspace. Development files.
|
|
|
|
|
2017-09-15 03:22:21 +00:00
|
|
|
%package -n plasma5-session
|
|
|
|
Summary: KDE Plasma 5 X11 Session
|
|
|
|
Group: System/GUI/KDE
|
|
|
|
Requires: breeze >= %{_plasma5_bugfix}
|
|
|
|
Requires: breeze5-decoration >= %{_plasma5_bugfix}
|
|
|
|
Requires: khotkeys5 >= %{_plasma5_bugfix}
|
|
|
|
Requires: kwin5 >= %{_plasma5_bugfix}
|
|
|
|
Requires: libkscreen2-plugin >= %{_plasma5_bugfix}
|
|
|
|
Requires: plasma5-desktop >= %{_plasma5_bugfix}
|
|
|
|
Requires: plasma5-workspace >= %{_plasma5_bugfix}
|
|
|
|
Requires: polkit-kde-agent-5 >= %{_plasma5_bugfix}
|
|
|
|
Requires: powerdevil5 >= %{_plasma5_bugfix}
|
|
|
|
Requires: systemsettings5 >= %{_plasma5_bugfix}
|
2018-01-17 15:26:26 +00:00
|
|
|
Requires(post): update-alternatives
|
|
|
|
Requires(postun): update-alternatives
|
|
|
|
Requires(pre): %{_bindir}/cut
|
|
|
|
Requires(pre): %{_bindir}/grep
|
|
|
|
Requires(pre): %{_bindir}/sed
|
2018-10-19 08:12:32 +00:00
|
|
|
# Pulls in NetworkManager, some don't use it
|
|
|
|
Recommends: plasma-nm5 >= %{_plasma5_bugfix}
|
2017-09-15 03:22:21 +00:00
|
|
|
# needed for displaying the handbooks of KDE applications in a Plasma5 session (boo#980068)
|
|
|
|
Recommends: khelpcenter5
|
|
|
|
Provides: kdebase4-session = %{version}
|
|
|
|
Obsoletes: kdebase4-session < %{version}
|
2018-01-17 15:26:26 +00:00
|
|
|
BuildArch: noarch
|
2017-09-15 03:22:21 +00:00
|
|
|
|
|
|
|
%description -n plasma5-session
|
|
|
|
This package contains the startup scripts necessary to start a KDE
|
|
|
|
Plasma 5 session with X11 from a display manager.
|
|
|
|
|
|
|
|
%package -n plasma5-session-wayland
|
|
|
|
Summary: KDE Plasma 5 Wayland Session
|
|
|
|
Group: System/GUI/KDE
|
|
|
|
Requires: kwayland-integration >= %{_plasma5_bugfix}
|
|
|
|
Requires: libqt5-qtwayland
|
|
|
|
Requires: plasma5-session >= %{version}
|
|
|
|
Requires: xf86-input-libinput
|
|
|
|
Requires: xorg-x11-server-wayland
|
2018-01-17 15:26:26 +00:00
|
|
|
BuildArch: noarch
|
2017-09-15 03:22:21 +00:00
|
|
|
|
|
|
|
%description -n plasma5-session-wayland
|
|
|
|
This package contains the startup scripts necessary to start a KDE
|
|
|
|
Plasma 5 session with Wayland from a display manager.
|
|
|
|
|
2014-09-26 09:23:45 +00:00
|
|
|
%lang_package
|
2016-09-17 18:40:56 +00:00
|
|
|
|
2014-07-11 17:36:21 +00:00
|
|
|
%prep
|
2016-09-23 18:23:55 +00:00
|
|
|
%setup -q -n plasma-workspace-%{version}
|
2018-03-19 09:32:10 +00:00
|
|
|
%autopatch -p1
|
2014-07-11 17:36:21 +00:00
|
|
|
|
|
|
|
%build
|
2016-07-06 16:38:33 +00:00
|
|
|
%cmake_kf5 -d build -- -DKDE4_COMMON_PAM_SERVICE=xdm -DKDE_DEFAULT_HOME=.kde4 -DCMAKE_INSTALL_LOCALEDIR=%{_kf5_localedir}
|
2014-07-11 17:36:21 +00:00
|
|
|
%make_jobs
|
|
|
|
|
|
|
|
%install
|
|
|
|
%kf5_makeinstall -C build
|
2017-09-15 03:22:21 +00:00
|
|
|
|
|
|
|
%if %{with lang}
|
2018-01-17 15:26:26 +00:00
|
|
|
%{kf5_find_lang}
|
|
|
|
%{kf5_find_htmldocs}
|
2017-09-15 03:22:21 +00:00
|
|
|
%endif
|
|
|
|
|
|
|
|
%suse_update_desktop_file -r %{buildroot}%{_kf5_applicationsdir}/org.kde.klipper.desktop System TrayIcon
|
|
|
|
|
2016-06-16 20:54:44 +00:00
|
|
|
mkdir -p %{buildroot}%{_kf5_iconsdir}/hicolor/48x48/apps/
|
|
|
|
cp %{_kf5_iconsdir}/breeze/apps/48/klipper.svg %{buildroot}%{_kf5_iconsdir}/hicolor/48x48/apps/
|
2017-09-15 03:22:21 +00:00
|
|
|
|
2017-04-08 11:43:20 +00:00
|
|
|
# remove empty/invalid appstream xml files. kpackagetool5 generates invalid files sometimes...
|
|
|
|
# remove this once kpackagetool5 is fixed
|
|
|
|
find %{buildroot}%{_kf5_appstreamdir} -type f -size 0 -print -delete
|
2017-09-15 03:22:21 +00:00
|
|
|
|
|
|
|
# No wayland for Leap 42.x as no Xwayland available
|
|
|
|
%if 0%{?suse_version} <= 1320
|
|
|
|
rm -rfv %{buildroot}%{_kf5_sharedir}/wayland-sessions
|
|
|
|
%endif
|
|
|
|
|
|
|
|
# Rename upstream session file to oS location
|
|
|
|
mv %{buildroot}%{_kf5_sharedir}/xsessions/{plasma,plasma5}.desktop
|
|
|
|
|
|
|
|
# Install compatibility symlink
|
|
|
|
ln -s %{_kf5_sharedir}/xsessions/plasma5.desktop %{buildroot}%{_kf5_sharedir}/xsessions/kde-plasma.desktop
|
|
|
|
|
|
|
|
mkdir -p %{buildroot}%{_sysconfdir}/alternatives
|
|
|
|
touch %{buildroot}%{_sysconfdir}/alternatives/default-xsession.desktop
|
|
|
|
ln -s %{_sysconfdir}/alternatives/default-xsession.desktop %{buildroot}%{_datadir}/xsessions/default.desktop
|
|
|
|
|
2016-06-07 17:57:00 +00:00
|
|
|
%fdupes %{buildroot}/%{_prefix}
|
2014-07-11 17:36:21 +00:00
|
|
|
|
2015-11-27 20:31:53 +00:00
|
|
|
%post -p /sbin/ldconfig
|
2014-07-11 17:36:21 +00:00
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
2014-09-11 15:06:32 +00:00
|
|
|
%post libs -p /sbin/ldconfig
|
|
|
|
%postun libs -p /sbin/ldconfig
|
|
|
|
|
2017-09-15 03:22:21 +00:00
|
|
|
%post -n plasma5-session
|
|
|
|
# Reset the DEFAULT_WM value for KDE upgrade compatibility
|
2018-01-17 15:26:26 +00:00
|
|
|
if [ -f %{_sysconfdir}/sysconfig/windowmanager ]; then
|
|
|
|
OLD_DEFAULTWM=`grep "DEFAULT_WM" %{_sysconfdir}/sysconfig/windowmanager | cut -d '=' -f 2 | cut -d '"' -f 2`
|
2017-09-15 03:22:21 +00:00
|
|
|
fi
|
|
|
|
|
2017-11-23 15:52:37 +00:00
|
|
|
if [ -f %{_fillupdir}/sysconfig.windowmanager ]; then
|
|
|
|
TEMPLATE_DEFAULTWM=`grep "DEFAULT_WM" %{_fillupdir}/sysconfig.windowmanager | cut -d '=' -f 2 | cut -d '"' -f 2`
|
2017-09-15 03:22:21 +00:00
|
|
|
fi
|
|
|
|
|
|
|
|
# Check the old DEFAULT_WM and whether current DEFAULT_WM exists
|
|
|
|
if [ "$OLD_DEFAULTWM" = "startkde4" ] || [ "$OLD_DEFAULTWM" = "startkde" ] || [ "$OLD_DEFAULTWM" = "kde4" ]; then
|
|
|
|
if [ -n "$TEMPLATE_DEFAULTWM" ] && [ "$OLD_DEFAULTWM" != "$TEMPLATE_DEFAULTWM" ]; then
|
2018-01-17 15:26:26 +00:00
|
|
|
sed -i -e "s/^DEFAULT_WM=['\"]\?kde.*/DEFAULT_WM=\"${TEMPLATE_DEFAULTWM}\"/g" %{_sysconfdir}/sysconfig/windowmanager
|
2017-09-15 03:22:21 +00:00
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
%{_sbindir}/update-alternatives --install %{_datadir}/xsessions/default.desktop \
|
|
|
|
default-xsession.desktop %{_datadir}/xsessions/plasma5.desktop 25
|
|
|
|
|
|
|
|
%postun -n plasma5-session
|
|
|
|
[ -f %{_datadir}/xsessions/plasma5.desktop ] || %{_sbindir}/update-alternatives \
|
|
|
|
--remove default-xsession.desktop %{_datadir}/xsessions/plasma5.desktop
|
|
|
|
|
2014-09-11 15:06:32 +00:00
|
|
|
%files libs
|
2018-05-21 09:07:22 +00:00
|
|
|
%license COPYING*
|
2014-09-11 15:06:32 +00:00
|
|
|
%{_kf5_libdir}/libkworkspace5.so.*
|
|
|
|
%{_kf5_libdir}/libplasma-geolocation-interface.so.*
|
|
|
|
%{_kf5_libdir}/libtaskmanager.so.*
|
|
|
|
%{_kf5_libdir}/libweather_ion.so.*
|
2018-01-17 15:26:26 +00:00
|
|
|
%{_kf5_libdir}/libcolorcorrect.so.*
|
2014-09-11 15:06:32 +00:00
|
|
|
|
2014-07-11 17:36:21 +00:00
|
|
|
%files
|
2018-05-21 09:07:22 +00:00
|
|
|
%license COPYING*
|
2014-07-11 17:36:21 +00:00
|
|
|
%{_kf5_bindir}/kcheckrunning
|
|
|
|
%{_kf5_bindir}/kcminit
|
|
|
|
%{_kf5_bindir}/kcminit_startup
|
|
|
|
%{_kf5_bindir}/kdostartupconfig5
|
|
|
|
%{_kf5_bindir}/klipper
|
|
|
|
%{_kf5_bindir}/krunner
|
|
|
|
%{_kf5_bindir}/ksmserver
|
|
|
|
%{_kf5_bindir}/ksplashqml
|
|
|
|
%{_kf5_bindir}/kstartupconfig5
|
|
|
|
%{_kf5_bindir}/kuiserver5
|
|
|
|
%{_kf5_bindir}/plasmashell
|
2014-09-11 15:06:32 +00:00
|
|
|
%{_kf5_bindir}/plasmawindowed
|
2014-07-11 17:36:21 +00:00
|
|
|
%{_kf5_bindir}/startkde
|
2015-08-16 10:12:36 +00:00
|
|
|
%{_kf5_bindir}/startplasmacompositor
|
2014-07-11 17:36:21 +00:00
|
|
|
%{_kf5_bindir}/systemmonitor
|
2017-05-16 11:56:24 +00:00
|
|
|
%{_kf5_bindir}/plasma_waitforname
|
2017-09-15 03:22:21 +00:00
|
|
|
%{_kf5_configdir}/autostart/org.kde.plasmashell.desktop
|
2016-09-17 18:40:56 +00:00
|
|
|
%{_kf5_configdir}/autostart/klipper.desktop
|
2014-07-11 17:36:21 +00:00
|
|
|
%{_kf5_configdir}/autostart/krunner.desktop
|
|
|
|
%config %{_kf5_configdir}/plasmoids.knsrc
|
|
|
|
%config %{_kf5_configdir}/wallpaper.knsrc
|
2019-01-19 09:07:08 +00:00
|
|
|
%config %{_kf5_configdir}/wallpaperplugin.knsrc
|
2015-01-08 19:18:32 +00:00
|
|
|
%config %{_kf5_configdir}/taskmanagerrulesrc
|
2017-09-15 03:22:21 +00:00
|
|
|
%config %{_kf5_configdir}/kuiserver.categories
|
2014-07-11 17:36:21 +00:00
|
|
|
%dir %{_kf5_libdir}/libexec
|
|
|
|
%{_kf5_libdir}/libexec/ksyncdbusenv
|
2015-08-16 10:12:36 +00:00
|
|
|
%{_kf5_libdir}/libexec/startplasma
|
2016-09-17 18:40:56 +00:00
|
|
|
%{_kf5_libdir}/libexec/ksmserver-logout-greeter
|
2014-07-11 17:36:21 +00:00
|
|
|
%{_kf5_libdir}/libkdeinit5_kcminit.so
|
|
|
|
%{_kf5_libdir}/libkdeinit5_kcminit_startup.so
|
|
|
|
%{_kf5_libdir}/libkdeinit5_klipper.so
|
|
|
|
%{_kf5_libdir}/libkdeinit5_ksmserver.so
|
|
|
|
%{_kf5_libdir}/libkdeinit5_kuiserver5.so
|
2017-01-13 16:51:22 +00:00
|
|
|
%{_kf5_libdir}/kconf_update_bin/krunnerplugins
|
2017-09-15 03:22:21 +00:00
|
|
|
%{_kf5_libdir}/libexec/baloorunner
|
2014-07-11 17:36:21 +00:00
|
|
|
%{_kf5_plugindir}/
|
|
|
|
%{_kf5_qmldir}/
|
|
|
|
%{_kf5_applicationsdir}/org.kde.klipper.desktop
|
2014-09-11 15:06:32 +00:00
|
|
|
%{_kf5_applicationsdir}/plasma-windowed.desktop
|
2017-09-15 03:22:21 +00:00
|
|
|
%{_kf5_applicationsdir}/org.kde.plasmashell.desktop
|
2018-01-17 15:26:26 +00:00
|
|
|
%{_kf5_applicationsdir}/org.kde.systemmonitor.desktop
|
2014-07-11 17:36:21 +00:00
|
|
|
%{_kf5_configkcfgdir}/freespacenotifier.kcfg
|
|
|
|
%{_kf5_sharedir}/dbus-1/services/kf5_org.kde.kuiserver.service
|
|
|
|
%{_kf5_sharedir}/dbus-1/services/org.kde.krunner.service
|
2017-09-15 03:22:21 +00:00
|
|
|
%{_kf5_sharedir}/dbus-1/services/org.kde.baloorunner.service
|
2017-09-17 17:08:54 +00:00
|
|
|
%{_kf5_sharedir}/dbus-1/services/org.kde.plasma.Notifications.service
|
2019-01-19 09:07:08 +00:00
|
|
|
%{_kf5_sharedir}/dbus-1/services/org.kde.LogoutPrompt.service
|
2014-07-11 17:36:21 +00:00
|
|
|
%{_kf5_sharedir}/desktop-directories/
|
2017-01-13 16:51:22 +00:00
|
|
|
%{_kf5_sharedir}/kconf_update/
|
2014-07-11 17:36:21 +00:00
|
|
|
%dir %{_kf5_htmldir}
|
2016-09-23 18:23:55 +00:00
|
|
|
%dir %lang(en) %{_kf5_htmldir}/en
|
|
|
|
%doc %lang(en) %{_kf5_htmldir}/en/klipper/
|
|
|
|
%doc %lang(en) %{_kf5_htmldir}/en/kcontrol/
|
2017-09-15 03:22:21 +00:00
|
|
|
%doc %lang(en) %{_kf5_htmldir}/en/PolicyKit-kde/
|
2014-07-11 17:36:21 +00:00
|
|
|
%{_kf5_notifydir}/
|
|
|
|
%{_kf5_servicesdir}/
|
|
|
|
%{_kf5_servicetypesdir}/
|
|
|
|
%{_kf5_sharedir}/ksplash/
|
|
|
|
%{_kf5_sharedir}/kstyle/
|
|
|
|
%{_kf5_plasmadir}/
|
|
|
|
%{_kf5_sharedir}/solid/
|
2015-08-16 10:12:36 +00:00
|
|
|
%{_kf5_sharedir}/kio_desktop/
|
2016-06-16 20:54:44 +00:00
|
|
|
%{_kf5_iconsdir}/hicolor/48x48/apps/klipper.svg
|
2016-08-12 18:00:39 +00:00
|
|
|
%{_kf5_appstreamdir}/
|
2016-09-17 18:40:56 +00:00
|
|
|
%dir %{_kf5_sharedir}/sddm
|
|
|
|
%dir %{_kf5_sharedir}/sddm/themes
|
|
|
|
%{_kf5_sharedir}/sddm/themes/breeze/
|
2018-05-21 09:07:22 +00:00
|
|
|
%{_kf5_debugdir}/*.categories
|
2019-01-19 09:07:08 +00:00
|
|
|
%dir %{_kf5_sharedir}/kpackage
|
|
|
|
%dir %{_kf5_sharedir}/kpackage/kcms
|
|
|
|
%{_kf5_sharedir}/kpackage/kcms/kcm_translations
|
2014-07-11 17:36:21 +00:00
|
|
|
|
2018-07-16 08:03:01 +00:00
|
|
|
%files -n xembedsniproxy
|
|
|
|
%license COPYING*
|
|
|
|
%{_kf5_bindir}/xembedsniproxy
|
|
|
|
%{_kf5_configdir}/autostart/xembedsniproxy.desktop
|
|
|
|
|
2018-07-16 20:34:28 +00:00
|
|
|
%files -n gmenudbusmenuproxy
|
|
|
|
%license COPYING*
|
|
|
|
%{_kf5_bindir}/gmenudbusmenuproxy
|
|
|
|
%{_kf5_configdir}/autostart/gmenudbusmenuproxy.desktop
|
|
|
|
|
2014-07-11 17:36:21 +00:00
|
|
|
%files devel
|
2018-05-21 09:07:22 +00:00
|
|
|
%license COPYING*
|
2014-09-11 15:06:32 +00:00
|
|
|
%{_kf5_prefix}/include/kworkspace5/
|
|
|
|
%{_kf5_prefix}/include/plasma/
|
|
|
|
%{_kf5_prefix}/include/taskmanager/
|
2018-01-17 15:26:26 +00:00
|
|
|
%{_kf5_prefix}/include/colorcorrect/
|
2014-07-11 17:36:21 +00:00
|
|
|
%{_kf5_libdir}/cmake/KRunnerAppDBusInterface/
|
|
|
|
%{_kf5_libdir}/cmake/KSMServerDBusInterface/
|
|
|
|
%{_kf5_libdir}/cmake/LibKWorkspace/
|
|
|
|
%{_kf5_libdir}/cmake/LibTaskManager/
|
2018-01-17 15:26:26 +00:00
|
|
|
%{_kf5_libdir}/cmake/LibColorCorrect/
|
2014-09-11 15:06:32 +00:00
|
|
|
%{_kf5_libdir}/libkworkspace5.so
|
2014-07-11 17:36:21 +00:00
|
|
|
%{_kf5_libdir}/libplasma-geolocation-interface.so
|
|
|
|
%{_kf5_libdir}/libtaskmanager.so
|
|
|
|
%{_kf5_libdir}/libweather_ion.so
|
2018-01-17 15:26:26 +00:00
|
|
|
%{_kf5_libdir}/libcolorcorrect.so
|
2016-06-16 20:54:44 +00:00
|
|
|
%{_kf5_sharedir}/kdevappwizard/
|
2014-07-11 17:36:21 +00:00
|
|
|
%{_kf5_sharedir}/dbus-1/interfaces/
|
|
|
|
|
2017-09-15 03:22:21 +00:00
|
|
|
%files -n plasma5-session
|
2018-07-16 08:03:01 +00:00
|
|
|
%license COPYING*
|
2017-09-15 03:22:21 +00:00
|
|
|
%{_kf5_sharedir}/xsessions/plasma5.desktop
|
|
|
|
%{_kf5_sharedir}/xsessions/kde-plasma.desktop
|
|
|
|
%ghost %{_sysconfdir}/alternatives/default-xsession.desktop
|
|
|
|
%{_kf5_sharedir}/xsessions/default.desktop
|
|
|
|
|
|
|
|
# No wayland for 42.x as no Xwayland available
|
|
|
|
%if 0%{?suse_version} > 1320
|
|
|
|
%files -n plasma5-session-wayland
|
2018-07-16 08:03:01 +00:00
|
|
|
%license COPYING*
|
2017-09-15 03:22:21 +00:00
|
|
|
%dir %{_datadir}/wayland-sessions/
|
|
|
|
%{_datadir}/wayland-sessions/plasmawayland.desktop
|
|
|
|
%endif
|
|
|
|
|
2015-04-11 18:58:46 +00:00
|
|
|
%if %{with lang}
|
2016-07-06 16:38:33 +00:00
|
|
|
%files lang -f %{name}.lang
|
2015-04-11 18:58:46 +00:00
|
|
|
%endif
|
2014-09-26 09:23:45 +00:00
|
|
|
|
2014-07-11 17:36:21 +00:00
|
|
|
%changelog
|