commit da144c878e1a0e06bf92472e5edf64be9d7573cbf7f2f96c50801aaa6825866a Author: Luca Beltrame Date: Wed Feb 7 18:01:35 2024 +0000 Plasma 6 RC 2. Still untested... OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks/libkscreen6?expand=0&rev=1 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/libkscreen-5.93.0.tar.xz b/libkscreen-5.93.0.tar.xz new file mode 100644 index 0000000..b9f9178 --- /dev/null +++ b/libkscreen-5.93.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3aad68acc0089b9f5142cea2f08bc18dcb7f78b95f9f66e57efc8f6de4423913 +size 117688 diff --git a/libkscreen-5.93.0.tar.xz.sig b/libkscreen-5.93.0.tar.xz.sig new file mode 100644 index 0000000..339b6a0 --- /dev/null +++ b/libkscreen-5.93.0.tar.xz.sig @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNATURE----- + +iQIzBAABCgAdFiEE4KPrIC+OV1KOE+cv11dEg7tXsY0FAmW6RnkACgkQ11dEg7tX +sY37aQ//XAKoLFSMGsGxqqmlPPFrvZioGtWqU5bOu2NL6sgt1f2LumlWm2wQhvhY +AYvq0I7elGNOVVeJGHEWMu1589AnNSnj6WxsCpt0pKVev5tAW98AcVo/v5ScE/m6 +fqfkiCOvo6ZU7LsGiaIpuA4ROSGZLKN9EUYOoHnnjwTscjvDRgm0wRjo+HBc+tCJ +SlbSff/wR4MYNCzMaSlttrKLIYYK6YHDyRaghHYQdBP/kd8NPvhGsUuDIaw0Cb6Y +c5OayhPebVZwnP/P2w6kcKyp8IkeFJkzVZkA75+53nFD3aagffHXagvpSkp+Tc0n +z7HG3xNm70Hmp/FBYZG369LUsvTxUKG6M35b4eyBxoAK55bYsrvyE5Xh1Y6Qi8tL +DMvTnRu3lE8gopVqV1RbeTPAyJu6BZHn4LOxEw5zrHmYsorgmZGy0/sdpSvTiOh8 +fISFU1m7g+m460rk0nr1QtZw6dNmh7PupniSqN1iqMBskYh+H69qloIZ2A+LLsUG +KZZ7GKvAvZw8cpATecVCj3a759aA8fgLBJQGa6U7MhHnyToBuhtLrHd9QIhqbWWF +/pKVMftwivfiLmJH4BfFYa9hQPkQQlUrrB1s1zR3GQSUiD69LBG8G88Y+WeKdkyi +tKobEX6PVpCN6S0aYknZvqrLKNc23WRU/lNSunUQpmAAH7FOs9o= +=tJgL +-----END PGP SIGNATURE----- diff --git a/libkscreen6.changes b/libkscreen6.changes new file mode 100644 index 0000000..4fc5dd7 --- /dev/null +++ b/libkscreen6.changes @@ -0,0 +1,23 @@ +------------------------------------------------------------------- +Wed Jan 31 17:37:21 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 +- Changes since 5.92.0: + * libdpms: Guarantee validity of isSupported() right after construction + * backends/kwayland: enable output replication (kde#460433) + * libdpms: Emit hasPendingChangesChanged() when it actually changed + * libdpms: Delay supportedChanged signal until after the constructor (kde#338796) + +------------------------------------------------------------------- +Mon Jan 15 21:09:02 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/ + +------------------------------------------------------------------- +Mon Jun 5 14:11:08 UTC 2023 - Christophe Marin + +- Init libkscreen6 diff --git a/libkscreen6.spec b/libkscreen6.spec new file mode 100644 index 0000000..f44bf01 --- /dev/null +++ b/libkscreen6.spec @@ -0,0 +1,157 @@ +# +# spec file for package libkscreen6 +# +# Copyright (c) 2023 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/ +# + + +%define kf6_version 5.240.0 +%define qt6_version 6.5.0 + +%bcond_without released +%define rname libkscreen +%define sover 8 +Name: libkscreen6 +Version: 5.93.0 +Release: 0 +# 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}')} +Summary: Plasma screen management library +License: GPL-2.0-or-later +URL: https://www.kde.org +Source: https://download.kde.org/unstable/plasma/%{version}/%{rname}-%{version}.tar.xz +%if %{with released} +Source1: https://download.kde.org/unstable/plasma/%{version}/%{rname}-%{version}.tar.xz.sig +Source2: plasma.keyring +%endif +BuildRequires: doxygen +BuildRequires: fdupes +BuildRequires: kf6-extra-cmake-modules >= %{kf6_version} +BuildRequires: pkgconfig +BuildRequires: qt6-gui-private-devel >= %{qt6_version} +BuildRequires: cmake(KF6Config) >= %{kf6_version} +BuildRequires: cmake(KWayland) >= %{_plasma6_bugfix} +BuildRequires: cmake(PlasmaWaylandProtocols) >= 1.10.0 +BuildRequires: cmake(Qt6Core) >= %{qt6_version} +BuildRequires: cmake(Qt6DBus) >= %{qt6_version} +BuildRequires: cmake(Qt6Gui) >= %{qt6_version} +BuildRequires: cmake(Qt6LinguistTools) >= %{qt6_version} +BuildRequires: cmake(Qt6Test) >= %{qt6_version} +BuildRequires: cmake(Qt6ToolsTools) >= %{qt6_version} +BuildRequires: cmake(Qt6WaylandClient) >= %{qt6_version} +BuildRequires: pkgconfig(xcb) +BuildRequires: pkgconfig(xcb-randr) + +%description +Dynamic display management library for KDE + +%package -n libKF6ScreenDpms%{sover} +Summary: Plasma screen management library +Requires: libKF6Screen%{sover} = %{version} + +%description -n libKF6ScreenDpms%{sover} +Energy saving display management library for KDE + +%package plugin +Summary: Plasma screen management library +Requires: libKF6Screen%{sover} = %{version} +Requires: libKF6ScreenDpms%{sover} = %{version} +Conflicts: libkscreen2-plugin + +%description plugin +Plugins for dynamic display management in Plasma + +%package devel +Summary: Plasma screen management library (development package) +Requires: libKF6Screen%{sover} = %{version} +Requires: libKF6ScreenDpms%{sover} = %{version} +Requires: cmake(Qt6Core) >= %{qt6_version} + +%description devel +Development files belonging to libkscreen, dynamic display management in Plasma + +%package -n libKF6Screen%{sover} +Summary: Plasma screen management library +Recommends: libkscreen6-plugin +Recommends: libKF6ScreenDpms%{sover} +# TODO Conflicts until the translations catalog name is changed +Conflicts: libKF5Screen8-lang + +%description -n libKF6Screen%{sover} +Shared library for dynamic display management in Plasma + +%lang_package -n libKF6Screen%{sover} + +%prep +%autosetup -p1 -n %{rname}-%{version} + +%build +%cmake_kf6 -DBUILD_QCH:BOOL=TRUE + +%kf6_build + +%install +%kf6_install + +%find_lang libkscreen6 --with-qt --all-name --without-mo + +%fdupes %{buildroot} + +%ldconfig_scriptlets -n libKF6Screen%{sover} +%ldconfig_scriptlets -n libKF6ScreenDpms%{sover} + +%post plugin +%{systemd_user_post plasma-kscreen.service} + +%preun plugin +%{systemd_user_preun plasma-kscreen.service} + +%postun plugin +%{systemd_user_postun plasma-kscreen.service} + +%files plugin +%{_kf6_bindir}/kscreen-doctor +%{_kf6_plugindir}/kf6/kscreen/ +%{_kf6_libexecdir}/kscreen_backend_launcher +%{_kf6_sharedir}/dbus-1/services/org.kde.kscreen.service +%{_kf6_debugdir}/libkscreen.categories +%{_userunitdir}/plasma-kscreen.service +%dir %{_datadir}/zsh +%dir %{_datadir}/zsh/site-functions +%{_datadir}/zsh/site-functions/_kscreen-doctor + +%files -n libKF6Screen%{sover} +%license LICENSES/* +%doc README.md +%{_kf6_libdir}/libKF6Screen.so.%{sover} +%{_kf6_libdir}/libKF6Screen.so.* + +%files -n libKF6ScreenDpms%{sover} +%{_kf6_libdir}/libKF6ScreenDpms.so.%{sover} +%{_kf6_libdir}/libKF6ScreenDpms.so.* + +%files devel +%doc %{_kf6_qchdir}/KF6Screen.* +%{_kf6_includedir}/kscreen_version.h +%{_kf6_includedir}/KScreen/ +%{_kf6_libdir}/cmake/KF6Screen/ +%{_kf6_libdir}/libKF6Screen.so +%{_kf6_libdir}/libKF6ScreenDpms.so +%{_kf6_libdir}/pkgconfig/KF6Screen.pc + +%files -n libKF6Screen%{sover}-lang -f libkscreen6.lang + +%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