From f1205e84efd65b9f6b6897e542fce7a00aadb845f50221ae3e07130ffa30709e Mon Sep 17 00:00:00 2001 From: Luca Beltrame Date: Tue, 6 Feb 2024 20:31:34 +0000 Subject: [PATCH] Frameworks 6 RC 2 + polkit-qt + phonon. Still untested. OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks/polkit-qt-1?expand=0&rev=1 --- .gitattributes | 23 ++++++ _multibuild | 4 + polkit-qt-1-0.175.0.tar.xz | 3 + polkit-qt-1-0.175.0.tar.xz.sig | 16 ++++ polkit-qt-1.changes | 109 ++++++++++++++++++++++++ polkit-qt-1.keyring | Bin 0 -> 2815 bytes polkit-qt-1.spec | 146 +++++++++++++++++++++++++++++++++ 7 files changed, 301 insertions(+) create mode 100644 .gitattributes create mode 100644 _multibuild create mode 100644 polkit-qt-1-0.175.0.tar.xz create mode 100644 polkit-qt-1-0.175.0.tar.xz.sig create mode 100644 polkit-qt-1.changes create mode 100644 polkit-qt-1.keyring create mode 100644 polkit-qt-1.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/_multibuild b/_multibuild new file mode 100644 index 0000000..fb660f6 --- /dev/null +++ b/_multibuild @@ -0,0 +1,4 @@ + + qt5 + qt6 + diff --git a/polkit-qt-1-0.175.0.tar.xz b/polkit-qt-1-0.175.0.tar.xz new file mode 100644 index 0000000..7a5c2cf --- /dev/null +++ b/polkit-qt-1-0.175.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:73a32d1a1819684145e0ef8a1f2ea804f9ec10ad78d62aa03bad4dbdb39c4c99 +size 58208 diff --git a/polkit-qt-1-0.175.0.tar.xz.sig b/polkit-qt-1-0.175.0.tar.xz.sig new file mode 100644 index 0000000..412be9d --- /dev/null +++ b/polkit-qt-1-0.175.0.tar.xz.sig @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNATURE----- + +iQIzBAABCAAdFiEE2BwMs463Je9mkcOFu0YzUNbvMe8FAmVKnsAACgkQu0YzUNbv +Me9zpA/+PQ06V+t6Y0DNMu+iotXQ2KC6fE/+9ZSrP+tWs17Wf7RydFrZvzMbmeX7 +4EZAQNc10yHu8tZ4IGWDcz3xyOGNqIAH4VgPtqunkdgtYVnLgIfnCvU3ovCGVEO4 +Y3Ulqs1t7mr+txzT8rAbmwXbEj8aiZXfDK/7HAhICviPKecAariuNqkon3SjidXk +uiBBLfavFPkU1q/Kkk+gtTtMHy5ADcua3Vk1nRPQLBE+Uz+hoKKyzHu7BGI6Zbji +Jk7jEDmM984oC4IOwPyHr7rG0H58exaEELgElVV2J7K51lCLznHsA9SQwo50Z3ls +Gk4gFjS40+fUWKE9r8xbKUegTv5LHFtJLB8GvHsED7a3l9v+aMkhEAywkUIrNgSd +BfHQ1P/VJ2FL30YFoigf0ZAs4n71k7BYJA20uKrFPCZQSEcHp2J6mkCFdpKCt6Bc +Bdr9OxcZUBzuMQLYPRVc+pTWeTfLU66rycvnrjnwK9c1Q96Q/7hkWCSSJr260szt ++lyp22w9Dn7rVqKipIZVXzOrDxm4wBz1pPiAxnsXdJAdLEWZG8DgCRp7+5+tY++G +Jm27t6L4b6Ua34yMcRm2ZzqgdTEdhb4RZ1SOP2tnfNI2f6x4GaCXZJWGT3rWZFYi +/qE5GHDrACyUNX5iUJG5pfVOYirVKymJNQn1EGLXsj3/vCeIUiY= +=aJrk +-----END PGP SIGNATURE----- diff --git a/polkit-qt-1.changes b/polkit-qt-1.changes new file mode 100644 index 0000000..6d0100f --- /dev/null +++ b/polkit-qt-1.changes @@ -0,0 +1,109 @@ +------------------------------------------------------------------- +Mon Jan 15 20:23:40 UTC 2024 - Fabian Vogt + +- Update to 0.175.0 (0.200.0-alpha): + * Increase version to 0.175.0 + * Remove unused CPack parts + * Remove unused variable + * fix: memory leak + * Change CMake code to enable building against Qt 5 or 6 + * Unexport nested private classes + * Require glib 2.36 and remove "do nothing" g_type_init + * Change installed .cmake and .pc files to contain realtive paths + * Add polkit error + +------------------------------------------------------------------- +Wed Sep 15 08:24:26 UTC 2021 - Christophe Giboudeaux + +- Drop the unneeded baselibs.conf. + +------------------------------------------------------------------- +Wed Jun 23 06:36:01 UTC 2021 - Wolfgang Bauer + +- New upstream release 0.114.0 +- Changes since 0.113.0: + * Use feature_summary() + * Drop PolkitQt1::version*() API declaration, never implemented + * Use target_sources to directly set sources instead of helper vars + * Include headers in example & test like external consumer would + * Set include dirs for linking libraries during build by target interface + * Generate version & config file in core build dir + * Use individual export headers/macros per each library + * Remove outdated template FindPolkitQt.cmake + * Remove module prefix from Qt includes in public headers + * Link polkit-qt-test to agent lib target, an include is used + * Remove module prefix from Qt includes of non-public headers + * Remove unused include + * Remove unneeded/unused include_directories + * Use more override + * Use more nullptr + * Port away from legacy LINK_PUBLIC & LINK_PRIVATE + * Fully qualify slot argument + * Use QStringLiteral + * Convert license statements to SPDX expressions + * Remove unused cmake macro files + * Enable CMAKE_AUTOUIC and CMAKE_AUTORCC + * Let cmake set the C++ standard + * Port from Q_ENUMS to Q_ENUM + * Make use of PkgConfig to find dependencies + * Use Q_DECLARE_OPERATORS_FOR_FLAGS in same namespace as flags definition + * Use more nullptr + * API dox: reference KDE Frameworks, no longer KDE Development Platform + * Support API documentation generation with kapidox + * Make it compile without deprecated method +- Use %cmake_build instead of %make_jobs for compiling + +------------------------------------------------------------------- +Tue Aug 27 18:28:02 UTC 2019 - Luca Beltrame + +- New upstream release 0.113.0 +- Changes since 0.112.0: + * Bump version for release + * Don't set version numbers as INT cache entries + * Move cmake_minimum_required to the top of CMakeLists.txt + * Remove support for Qt4 + * Remove unneded documentation + * authority: add support for passing details to polkit + * Fix typo in comments + * Add .arcconfig + * Remove unused file + * polkitqtlistener.cpp - pedantic + * Fix build with -DBUILD_TEST=TRUE + * Allow compilation with older polkit versions + * Fix compilation with Qt5.6 + * Drop use of deprecated Qt functions REVIEW: 126747 + * Add wrapper for polkit_system_bus_name_get_user_sync + * Add .reviewboardrc + * Fix QDBusArgument assertion + * fix build with Qt4, which doesn't have QStringLiteral. so use QString instead. + * do not use global static systembus instance +- Dropped patch, now upstream: + * do-not-use-global-static-systembus-instance.patch +- Run spec-cleaner + +------------------------------------------------------------------- +Wed Aug 13 20:32:57 UTC 2014 - hrvoje.senjan@gmail.com + +- Added do-not-use-global-static-systembus-instance.patch from + upstream, fixes crash on DBus disconnect + +------------------------------------------------------------------- +Thu Jul 10 18:09:39 UTC 2014 - hrvoje.senjan@gmail.com + +- Update to 0.112.0 + * Qt5 support + * Update deprecated methods to latest Polkit API +- Drop patches merged upstream: fixed-reference-counting-of-GObjects.patch, + fixed-GCancellable-handling-in-PolkitQtListener.patch and + qt5-support.patch + +------------------------------------------------------------------- +Wed Jun 18 10:35:47 UTC 2014 - hrvoje.senjan@gmail.com + +- Add license to %doc + +------------------------------------------------------------------- +Mon Apr 14 17:23:15 UTC 2014 - hrvoje.senjan@gmail.com + +- Activate polkit-qt5-1 package + diff --git a/polkit-qt-1.keyring b/polkit-qt-1.keyring new file mode 100644 index 0000000000000000000000000000000000000000000000000000000000000000..670421b71a954a81d8156286797530b982193e2f218171776656feb476de9458 GIT binary patch literal 2815 zcma*oXEYm%0>JSIQ9`U%tRkqrcd3Tj)M{&#)N1X~q@pp35L+lp5u>U`a@A;S*B+s@ ziYrQm*1qj+?J6R?d*3C8}&wZ7yZd`iGvHk0msnX}s6D*X z87V-=)?Z>pL|@?i(w%}?=>TPG#F&bWlA%7MkBOQMQ5DZ6Uj2qjPFNVT>4AiOu)O#w zN{QN#Jhd2(Aeo;Kql1s6!1PDp{Hz=`s8J{HTKYC6S`W`W4PmpFXd%nclns9nd+EV} z3849ntP&~Oyz%F}qu)8AEUk<4A>a(Z?q7Ex_xTb;1cyu({z!OuN1SVF*^KzHIjI5j za^ARRvp=$I{TYsKZRhg_KE)`~ihhFkBG)qlxETNpjUwjW{((rCq4&K&?+}=t-`{0` z_6vFV&_~J38=eZ(VLHzM1W15@f3pD!Nt|P2WjV(PWMJlH0kVSGn4myL2A~K7kS`Vh zX60%(RkxejQr(KyZ4++SEc{%&XMlRVf3vuxUT}lnGrM9yy=&1LNhuDG zb5o&+;b)41^~}!}5Jd`jr@r13b?|Esv z7)$YL%M5cK7@g~#$Xp~1=;3=k#r?%)Jh_*VNWM=#oWdh^pKaEOy=1CyVpC@H=c>C5 zJABHrP(I(IRPlV7zK)g#8V1mFgA;d{yn8p7jk`BjhU^cv5hznrY!-=(-h532Yr>tc zmxZg3kod1f$?Kx^`@_#>c*4HC_HQv)+`8t8J`41I zoR}mbcmkV}o}_;&6O?y@zG&*?aq6`O8dKf@mPslL9{zg$Eq**b?J7;7&eAnbo{TK& zXTxWks3Y)o{W3EIFU{#;yJLunN`fLcK>WB7COeY0P~M|)sQtvzxkn%m3JBnsoMIi& zU7#>>Rq$(+Tz5{#x%pO|t7#9V<$M)`nJ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(Qt5DBus) >= %{qt5_version} +BuildRequires: cmake(Qt5Widgets) >= %{qt5_version} +%endif +%if 0%{?qt6} +BuildRequires: kf6-extra-cmake-modules +BuildRequires: cmake(Qt6Core) >= %{qt6_version} +BuildRequires: cmake(Qt6DBus) >= %{qt6_version} +BuildRequires: cmake(Qt6Widgets) >= %{qt6_version} +%endif + +%description +Polkit-qt-1 aims to make it easy for Qt developers to take advantage of +PolicyKit API. It is a convenience wrapper around QAction and +QAbstractButton that lets you integrate those two components easily +with PolicyKit. + +%package -n libpolkit%{pkg_suffix}-1-1 +Summary: PolicyKit Library Qt Bindings + +%description -n libpolkit%{pkg_suffix}-1-1 +Polkit-qt aims to make it easy for Qt developers to take advantage of +PolicyKit API. It is a convenience wrapper around QAction and +QAbstractButton that lets you integrate those two components easily +with PolicyKit. + +%package -n libpolkit%{pkg_suffix}-1-devel +Summary: PolicyKit Library Qt Bindings +Requires: libpolkit%{pkg_suffix}-1-1 = %{version} +Requires: polkit-devel + +%description -n libpolkit%{pkg_suffix}-1-devel +Polkit-qt aims to make it easy for Qt developers to take advantage of +PolicyKit API. It is a convenience wrapper around QAction and +QAbstractButton that lets you integrate those two components easily +with PolicyKit. + +%prep +%autosetup -n %{rname}-%{version} + +%build +%if 0%{?qt5} +%cmake_kf5 -d build +%cmake_build +%endif + +%if 0%{?qt6} +%cmake_kf6 -DQT_MAJOR_VERSION:STRING=6 +%kf6_build +%endif + +%install +%if 0%{?qt5} +%kf5_makeinstall -C build +%endif + +%if 0%{?qt6} +%kf6_install +%endif + +%ldconfig_scriptlets -n libpolkit%{pkg_suffix}-1-1 + +%files -n libpolkit%{pkg_suffix}-1-1 +%license LICENSES/* +%doc README +%if 0%{?qt5} +%{_kf5_libdir}/libpolkit-qt5-gui-1.so.* +%{_kf5_libdir}/libpolkit-qt5-core-1.so.* +%{_kf5_libdir}/libpolkit-qt5-agent-1.so.* +%endif +%if 0%{?qt6} +%{_kf6_libdir}/libpolkit-qt6-gui-1.so.* +%{_kf6_libdir}/libpolkit-qt6-core-1.so.* +%{_kf6_libdir}/libpolkit-qt6-agent-1.so.* +%endif + +%files -n libpolkit%{pkg_suffix}-1-devel +%{_includedir}/polkit%{pkg_suffix}-1/ +%if 0%{?qt5} +%{_kf5_libdir}/pkgconfig/polkit-qt5-*.pc +%{_kf5_libdir}/libpolkit-qt5-gui-1.so +%{_kf5_libdir}/libpolkit-qt5-core-1.so +%{_kf5_libdir}/libpolkit-qt5-agent-1.so +%{_kf5_libdir}/cmake/PolkitQt5-1/ +%endif +%if 0%{?qt6} +%{_kf6_pkgconfigdir}/polkit-qt6-*.pc +%{_kf6_libdir}/libpolkit-qt6-gui-1.so +%{_kf6_libdir}/libpolkit-qt6-core-1.so +%{_kf6_libdir}/libpolkit-qt6-agent-1.so +%{_kf6_libdir}/cmake/PolkitQt6-1/ +%endif + +%changelog