From e64ced9c0f9893edebce5f704b25f4e9a7793acd0244b199076651c0d2265757 Mon Sep 17 00:00:00 2001 From: Christophe Marin Date: Sat, 14 Sep 2024 08:27:26 +0000 Subject: [PATCH] =?UTF-8?q?KDE=C2=A0Frameworks=206.6.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks/kf6-kconfig?expand=0&rev=18 --- .gitattributes | 23 +++++ .gitignore | 1 + frameworks.keyring | Bin 0 -> 3041 bytes kconfig-6.3.0.tar.xz | 3 + kconfig-6.3.0.tar.xz.sig | 7 ++ kconfig-6.4.0.tar.xz | 3 + kconfig-6.4.0.tar.xz.sig | 7 ++ kconfig-6.5.0.tar.xz | 3 + kconfig-6.5.0.tar.xz.sig | 7 ++ kconfig-6.6.0.tar.xz | 3 + kconfig-6.6.0.tar.xz.sig | 7 ++ kf6-kconfig-rpmlintrc | 2 + kf6-kconfig.changes | 144 ++++++++++++++++++++++++++++ kf6-kconfig.spec | 198 +++++++++++++++++++++++++++++++++++++++ 14 files changed, 408 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 frameworks.keyring create mode 100644 kconfig-6.3.0.tar.xz create mode 100644 kconfig-6.3.0.tar.xz.sig create mode 100644 kconfig-6.4.0.tar.xz create mode 100644 kconfig-6.4.0.tar.xz.sig create mode 100644 kconfig-6.5.0.tar.xz create mode 100644 kconfig-6.5.0.tar.xz.sig create mode 100644 kconfig-6.6.0.tar.xz create mode 100644 kconfig-6.6.0.tar.xz.sig create mode 100644 kf6-kconfig-rpmlintrc create mode 100644 kf6-kconfig.changes create mode 100644 kf6-kconfig.spec 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/frameworks.keyring b/frameworks.keyring new file mode 100644 index 0000000000000000000000000000000000000000000000000000000000000000..08059698edac99054cb0cce4fa2238bc7481c736ca2fcb7d4c4a5f0133d8347e GIT binary patch literal 3041 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 Nx|=$cYd#gv_c!bNd4d1{ literal 0 HcmV?d00001 diff --git a/kconfig-6.3.0.tar.xz b/kconfig-6.3.0.tar.xz new file mode 100644 index 0000000..d06ce1f --- /dev/null +++ b/kconfig-6.3.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8d809aaf7b5151ecd797c601c7f2701bc426b66d431b52069c7ff3b4002d7979 +size 334244 diff --git a/kconfig-6.3.0.tar.xz.sig b/kconfig-6.3.0.tar.xz.sig new file mode 100644 index 0000000..afdf5ac --- /dev/null +++ b/kconfig-6.3.0.tar.xz.sig @@ -0,0 +1,7 @@ +-----BEGIN PGP SIGNATURE----- + +iHUEABYKAB0WIQSQqWisqEU3zCe5nq8sjfWHptSqwQUCZlnPjwAKCRAsjfWHptSq +wTvEAQDL8rA9QZzPXzrfS9k4oU2Ic40l97GCRNaOQX9AV0HvmgD/SBlv/4j9Yqad +ClmqwYFcp2y2CjDUKzRfyBhYbdEqBgM= +=vSZZ +-----END PGP SIGNATURE----- diff --git a/kconfig-6.4.0.tar.xz b/kconfig-6.4.0.tar.xz new file mode 100644 index 0000000..397b853 --- /dev/null +++ b/kconfig-6.4.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fbb3d06fde4ea19955cfdbcbcec03de78a46f8c228f41d4e7aa6ceb88dc116dd +size 340688 diff --git a/kconfig-6.4.0.tar.xz.sig b/kconfig-6.4.0.tar.xz.sig new file mode 100644 index 0000000..65927a9 --- /dev/null +++ b/kconfig-6.4.0.tar.xz.sig @@ -0,0 +1,7 @@ +-----BEGIN PGP SIGNATURE----- + +iHUEABYKAB0WIQSQqWisqEU3zCe5nq8sjfWHptSqwQUCZohSKgAKCRAsjfWHptSq +wfU1AP96M3wlDRayyEcYhTFjMYjuBXQU/lcSODW50ZmEs91mKwD+Kot3Wz5C6o7G +f4KD0Exsbi7MnVAo35r/IVD38eJo2AY= +=lSvS +-----END PGP SIGNATURE----- diff --git a/kconfig-6.5.0.tar.xz b/kconfig-6.5.0.tar.xz new file mode 100644 index 0000000..eb0ec5c --- /dev/null +++ b/kconfig-6.5.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e48e5315d3491ddfb878abf124a6e14886a6317857fa63f411ecd720da8a5d13 +size 343216 diff --git a/kconfig-6.5.0.tar.xz.sig b/kconfig-6.5.0.tar.xz.sig new file mode 100644 index 0000000..70d232f --- /dev/null +++ b/kconfig-6.5.0.tar.xz.sig @@ -0,0 +1,7 @@ +-----BEGIN PGP SIGNATURE----- + +iHUEABYKAB0WIQSQqWisqEU3zCe5nq8sjfWHptSqwQUCZqy/FwAKCRAsjfWHptSq +wYZAAP9SYMLs35MGzY2y4rIin8ebZ4Tt81tZeAfOEPr7DjYBUAEAlT4UndlHfoan +91Z44tGr9eTFia+ho2COyfqSGBVQgwQ= +=XrMI +-----END PGP SIGNATURE----- diff --git a/kconfig-6.6.0.tar.xz b/kconfig-6.6.0.tar.xz new file mode 100644 index 0000000..fb03f5c --- /dev/null +++ b/kconfig-6.6.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:070bd019b07e15201e4c7072b71337c75f6917407406a1a7107fca1bff2855fe +size 344636 diff --git a/kconfig-6.6.0.tar.xz.sig b/kconfig-6.6.0.tar.xz.sig new file mode 100644 index 0000000..5e79dde --- /dev/null +++ b/kconfig-6.6.0.tar.xz.sig @@ -0,0 +1,7 @@ +-----BEGIN PGP SIGNATURE----- + +iHUEABYKAB0WIQSQqWisqEU3zCe5nq8sjfWHptSqwQUCZtrpQgAKCRAsjfWHptSq +wSK3AQC/N5m7WFBJzqJHudBQLoP2w+/NyRsO844OaKPSgQe/KQEA65gz+pkM1Ug8 +d5XhtH08Rp9cQp6nrR3ghlFQguPjfgA= +=jnmp +-----END PGP SIGNATURE----- diff --git a/kf6-kconfig-rpmlintrc b/kf6-kconfig-rpmlintrc new file mode 100644 index 0000000..1d58b29 --- /dev/null +++ b/kf6-kconfig-rpmlintrc @@ -0,0 +1,2 @@ +# rpmlint score is too high on leap +addFilter("shlib-fixed-dependency .*") diff --git a/kf6-kconfig.changes b/kf6-kconfig.changes new file mode 100644 index 0000000..96aa5b0 --- /dev/null +++ b/kf6-kconfig.changes @@ -0,0 +1,144 @@ +------------------------------------------------------------------- +Sat Sep 7 09:03:10 UTC 2024 - Christophe Marin + +- Update to 6.6.0 + * New feature release + * For more details please see: + * https://kde.org/announcements/frameworks/6/6.6.0 +- Changes since 6.5.0: + * KStandardAction: Use windowIcon for AboutApp icon again + * Fix macro documentation + * ci: add Alpine/musl job + * Fix warning from staterc migration when there's no "old" file to migrate + * Update KF6 TODO comments to KF7 given that they weren't addressed in KF6 + * Update version to 6.6.0 + +------------------------------------------------------------------- +Mon Aug 5 10:47:34 UTC 2024 - Christophe Marin + +- Update to 6.5.0 + * New feature release + * For more details please see: + * https://kde.org/announcements/frameworks/6/6.5.0 +- Changes since 6.4.0: + * Update dependency version to 6.5.0 + * ksharedconfig: move statercs to state dir + * Explain what "desktop entry spec separator semantics" means + * Reapply "don't create root-only readable files in /etc/xdg" + * Make Qt6Quick dependency for QML plugin private + * Update version to 6.5.0 + * Expose KWindowStateSaver in the QML interface + * Sync config group on KWindowStateSaver::timerEvent + * don't do tests in ~/.kde-unit-test + +------------------------------------------------------------------- +Tue Jul 9 09:41:38 UTC 2024 - Christophe Marin + +- Update to 6.4.0 + * New feature release + * For more details please see: + * https://kde.org/announcements/frameworks/6/6.4.0 +- Changes since 6.3.0: + * Fix two cmakelint types of issue + * Fix KCONFIG_USE_QML=OFF by moving ECMQmlModule behind the conditional + * kconfig_compiler: Don't generate .moc include + * kconfig_compiler: Allow generating QML type registration macros + * kconfig_compiler: Use automoc for GENERATE_MOC + * Avoid unused variable definition + * Allow desktop files to be a symbolic link + * Fix compile + * KStandardActions: Use C++11 for loop + * fix compile dependencies for windows + * Register KCoreConfigSkeleton to QML + * provide a generic named USE_DBUS option to allow to choose if to use it + * don't warn if no dbus enabled + +------------------------------------------------------------------- +Wed Jun 5 10:11:26 UTC 2024 - Christophe Marin + +- Update to 6.3.0 + * New feature release + * For more details please see: + * https://kde.org/announcements/frameworks/6/6.3.0/ +- Changes since 6.2.0: + * ensure test works with Qt 6.7 on Windows + * Use QT_TRANSLATE_NOOP instead of QT_TR_NOOP for KStandardActions + * Add helper method to fully move a group to another + * Deprecate ctor that takes a backend + * Move parts of KStandardAction to KConfigGui + * Remove KConfigBackend abstraction + * Add a mutex to protect globalData + * kconfigxt: Remove docs for SourceExtension parameter which was removed in KF6 + * Remove explicit maintainer from metainfo + * Use ellipsis character instead of three dots in UI strings + +------------------------------------------------------------------- +Mon May 6 12:22:24 UTC 2024 - Christophe Marin + +- Update to 6.2.0 + * New feature release + * For more details please see: + * https://kde.org/announcements/gear/6.2.0/ +- Changes since 6.1.0: + * avoid allocations while parsing int/float lists + * Adapt kdesktopfiletest to QTemporaryFile behavior change + * Guard header with an ifndef and include moc generates sources in the cpp file + * autotests: Don't use a timeout in testLocalDeletion + * Adjust kconfig_compiler autotests to include a version without kcfgc + * Add a CMake function to add a kcfg file without kcfgc + * gitignore: add VS Code dir + +------------------------------------------------------------------- +Fri Apr 5 12:52:28 UTC 2024 - Christophe Marin + +- Update to 6.1.0 + * New feature release +- Changes since 6.0.0: + * update version for new release + * Don't search for QtDBus on Windows/macOS/Android + * Register KConfigPropertyMap to QML + * kconf_update: Also run .upd files if times match but done is empty (kde#483795) + * Add unittest that URL[$e] works, for bug 482889 +- Drop patch, merged upstream: + * 0001-kconf_update-Also-run-.upd-files-if-times-match-but-.patch + +------------------------------------------------------------------- +Sat Mar 16 22:38:58 UTC 2024 - Fabian Vogt + +- Add patch to fix missing config migration (kde#483795): + * 0001-kconf_update-Also-run-.upd-files-if-times-match-but-.patch + +------------------------------------------------------------------- +Wed Feb 21 19:27:50 UTC 2024 - Fabian Vogt + +- Update to 6.0.0 + * New bugfix release + * Release announcement not available yet +- Changes since 5.249.0: + * update version for new release + * KConfigLoader: reduce string allocations when parsing config items + * KConfigLoader: use QString::trimmed rvalue overload + * kdesktopfile: don't return const value + * kdesktopfileaction: rule of five - add move operations + * kdesktopfileaction: use =default for trivial default operations + * kdesktopfileaction: don't needlessly copy strings + * update version for new release + +------------------------------------------------------------------- +Wed Jan 31 17:49:59 UTC 2024 - Fabian Vogt + +- Update to 5.249.0 (6.0 RC 2): + * New bugfix release + * For more details see https://kde.org/announcements/megarelease/6/rc2/ + +------------------------------------------------------------------- +Mon Jan 15 20:00:42 UTC 2024 - Fabian Vogt + +- Update to 5.248.0 (6.0 RC 1) + * For more details please see: + https://kde.org/announcements/megarelease/6/rc1/ + +------------------------------------------------------------------- +Sat May 27 11:18:15 UTC 2023 - Christophe Marin + +- Init kf6-kconfig diff --git a/kf6-kconfig.spec b/kf6-kconfig.spec new file mode 100644 index 0000000..743eee4 --- /dev/null +++ b/kf6-kconfig.spec @@ -0,0 +1,198 @@ +# +# spec file for package kf6-kconfig +# +# 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/ +# + + +%define qt6_version 6.6.0 + +%define rname kconfig +# Full KF6 version (e.g. 6.6.0) +%{!?_kf6_version: %global _kf6_version %{version}} +# Last major and minor KF6 version (e.g. 6.0) +%{!?_kf6_bugfix_version: %define _kf6_bugfix_version %(echo %{_kf6_version} | awk -F. '{print $1"."$2}')} +%bcond_without released +Name: kf6-kconfig +Version: 6.6.0 +Release: 0 +Summary: Advanced configuration system +License: LGPL-2.1-or-later AND GPL-2.0-or-later +URL: https://www.kde.org +Source: %{rname}-%{version}.tar.xz +%if %{with released} +Source1: %{rname}-%{version}.tar.xz.sig +Source2: frameworks.keyring +%endif +Source99: kf6-kconfig-rpmlintrc +BuildRequires: doxygen +BuildRequires: fdupes +BuildRequires: kf6-extra-cmake-modules >= %{_kf6_bugfix_version} +BuildRequires: cmake(Qt6Core) >= %{qt6_version} +BuildRequires: cmake(Qt6DBus) >= %{qt6_version} +BuildRequires: cmake(Qt6Gui) >= %{qt6_version} +BuildRequires: cmake(Qt6LinguistTools) >= %{qt6_version} +BuildRequires: cmake(Qt6Qml) >= %{qt6_version} +BuildRequires: cmake(Qt6Quick) >= %{qt6_version} +BuildRequires: cmake(Qt6ToolsTools) >= %{qt6_version} +BuildRequires: cmake(Qt6Xml) >= %{qt6_version} + +%description +KConfig provides an advanced configuration system. It is made of three parts: +KConfigCore, KConfigGui and KConfigQml. + +KConfigCore provides access to the configuration files themselves. It features: + +- centralized definition: define your configuration in an XML file and use +`kconfig_compiler` to generate classes to read and write configuration entries. + +- lock-down (kiosk) support. + +KConfigGui provides a way to hook widgets to the configuration so that they are +automatically initialized from the configuration and automatically propagate +their changes to their respective configuration files. + +KConfigQml provides QtQuick bindings to KConfig, allowing it to be used with QML. + +%package imports +Summary: QML imports for kconfig +%requires_eq libQt6Quick6 +Supplements: (libKF6ConfigCore6 and libQt6Quick6) + +%description imports +QML imports for kconfig. + +%package -n libKF6ConfigCore6 +Summary: System for configuration files +Requires: kf6-kconfig >= %{version} +Recommends: kconf_update6 = %{version} + +%description -n libKF6ConfigCore6 +KConfig provides an advanced configuration system. It is made of two parts: +KConfigCore and KConfigGui. + +KConfigCore provides access to the configuration files themselves. + +%package -n libKF6ConfigGui6 +Summary: Widgets hooks for configuration entities +Requires: libKF6ConfigCore6 = %{version} + +%description -n libKF6ConfigGui6 +KConfigGui provides a way to hook widgets to the configuration so that they are +automatically initialized from the configuration and automatically propagate +their changes to their respective configuration files. + +%package -n libKF6ConfigQml6 +Summary: QtQuick bindings for configuration entities +Requires: libKF6ConfigCore6 = %{version} +Requires: libKF6ConfigGui6 = %{version} + +%description -n libKF6ConfigQml6 +KConfigQml provides QtQuick bindings to KConfig, which allows using the library with +QML. + +%package -n kconf_update6 +Summary: Configuration file access +Requires: libKF6ConfigCore6 = %{version} + +%description -n kconf_update6 +KConfig provides an advanced configuration system. It is made of two parts: +KConfigCore and KConfigGui. + +This package contains the kconf_update tool. + +%package devel +Summary: KConfig Development files +Requires: kconf_update6 = %{version} +Requires: libKF6ConfigCore6 = %{version} +Requires: libKF6ConfigGui6 = %{version} +Requires: libKF6ConfigQml6 = %{version} +Requires: cmake(Qt6DBus) >= %{qt6_version} +Requires: cmake(Qt6Qml) >= %{qt6_version} +Requires: cmake(Qt6Xml) >= %{qt6_version} + +%description devel +KConfig provides an advanced configuration system. It is made of two parts: +KConfigCore and KConfigGui. + +KConfigCore provides access to the configuration files themselves. It features: + +- centralized definition: define your configuration in an XML file and use +`kconfig_compiler` to generate classes to read and write configuration entries. + +- lock-down (kiosk) support. + +KConfigGui provides a way to hook widgets to the configuration so that they are +automatically initialized from the configuration and automatically propagate +their changes to their respective configuration files. Development files. + +%lang_package -n libKF6ConfigCore6 + +%prep +%autosetup -p1 -n %{rname}-%{version} + +%build +%cmake_kf6 -DBUILD_QCH:BOOL=TRUE + +%kf6_build + +%install +%kf6_install + +%fdupes %{buildroot} + +%find_lang kconfig6 --with-qt --without-mo + +%ldconfig_scriptlets -n libKF6ConfigCore6 +%ldconfig_scriptlets -n libKF6ConfigGui6 +%ldconfig_scriptlets -n libKF6ConfigQml6 + +%files +%{_kf6_bindir}/kreadconfig6 +%{_kf6_bindir}/kwriteconfig6 +%{_kf6_debugdir}/kconfig.categories +%{_kf6_debugdir}/kconfig.renamecategories + +%files imports +%{_kf6_qmldir}/org/kde/config/ + +%files -n libKF6ConfigCore6 +%license LICENSES/* +%doc README.md +%{_kf6_libdir}/libKF6ConfigCore.so.* + +%files -n libKF6ConfigGui6 +%{_kf6_libdir}/libKF6ConfigGui.so.* + +%files -n libKF6ConfigQml6 +%{_kf6_libdir}/libKF6ConfigQml.so.* + +%files -n kconf_update6 +%{_kf6_libexecdir}/kconf_update + +%files devel +%doc %{_kf6_qchdir}/KF6Config.* +%{_kf6_includedir}/KConfig/ +%{_kf6_includedir}/KConfigCore/ +%{_kf6_includedir}/KConfigGui/ +%{_kf6_includedir}/KConfigQml/ +%{_kf6_cmakedir}/KF6Config/ +%{_kf6_libdir}/libKF6ConfigCore.so +%{_kf6_libdir}/libKF6ConfigGui.so +%{_kf6_libdir}/libKF6ConfigQml.so +%{_kf6_libexecdir}/kconfig_compiler_kf6 + +%files -n libKF6ConfigCore6-lang -f kconfig6.lang + +%changelog