Hello community, here is the log from the commit of package lxqt-policykit for openSUSE:Factory checked in at 2018-06-29 22:30:33 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/lxqt-policykit (Old) and /work/SRC/openSUSE:Factory/.lxqt-policykit.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "lxqt-policykit" Fri Jun 29 22:30:33 2018 rev:9 rq:618044 version:0.13.0 Changes: -------- --- /work/SRC/openSUSE:Factory/lxqt-policykit/lxqt-policykit.changes 2017-10-24 22:23:10.144999593 +0200 +++ /work/SRC/openSUSE:Factory/.lxqt-policykit.new/lxqt-policykit.changes 2018-06-29 22:31:24.474255314 +0200 @@ -1,0 +2,9 @@ +Tue May 22 15:08:42 UTC 2018 - [email protected] + +- Update to 0.13.0: + * CMake: Prevent in-source builds + * fix razor-qt -> lxqt and http -> https + * Fixed some LXDE mentions + * Drop Qt foreach + +------------------------------------------------------------------- Old: ---- lxqt-policykit-0.12.0.tar.xz lxqt-policykit-0.12.0.tar.xz.asc New: ---- lxqt-policykit-0.13.0.tar.xz lxqt-policykit-0.13.0.tar.xz.asc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lxqt-policykit.spec ++++++ --- /var/tmp/diff_new_pack.JKPhg0/_old 2018-06-29 22:31:25.258254715 +0200 +++ /var/tmp/diff_new_pack.JKPhg0/_new 2018-06-29 22:31:25.270254706 +0200 @@ -1,7 +1,7 @@ # # spec file for package lxqt-policykit # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,18 +17,19 @@ Name: lxqt-policykit -Version: 0.12.0 +Version: 0.13.0 Release: 0 Summary: PolicyKit authentication agent -License: LGPL-2.1+ +License: LGPL-2.1-or-later Group: System/GUI/LXQt -Url: http://www.lxqt.org +URL: http://www.lxqt.org Source: https://github.com/lxde/%{name}/releases/download/%{version}/%{name}-%{version}.tar.xz Source1: https://github.com/lxde/%{name}/releases/download/%{version}/%{name}-%{version}.tar.xz.asc Source2: %{name}.keyring BuildRequires: cmake >= 3.0.2 BuildRequires: gcc-c++ -BuildRequires: lxqt-build-tools-devel +BuildRequires: lxqt-build-tools-devel >= 0.5.0 +BuildRequires: pkgconfig BuildRequires: cmake(KF5WindowSystem) BuildRequires: pkgconfig(Qt5UiTools) BuildRequires: pkgconfig(Qt5Xdg) @@ -37,7 +38,6 @@ BuildRequires: pkgconfig(polkit-agent-1) BuildRequires: pkgconfig(polkit-qt5-core-1) Recommends: %{name}-lang -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description PolicyKit authentication agent for LXQt @@ -55,8 +55,8 @@ install -Dm 0644 man/%{name}-agent.1 %{buildroot}%{_mandir}/man1/%{name}-agent.1 %files -%defattr(-,root,root) -%doc AUTHORS LICENSE +%license LICENSE +%doc AUTHORS %{_bindir}/lxqt-policykit-agent %{_mandir}/man?/%{name}-agent.?%{ext_man} %{_sysconfdir}/xdg/autostart/lxqt-policykit-agent.desktop ++++++ lxqt-policykit-0.12.0.tar.xz -> lxqt-policykit-0.13.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lxqt-policykit-0.12.0/AUTHORS new/lxqt-policykit-0.13.0/AUTHORS --- old/lxqt-policykit-0.12.0/AUTHORS 2017-10-21 21:23:55.000000000 +0200 +++ new/lxqt-policykit-0.13.0/AUTHORS 2018-05-21 20:36:08.000000000 +0200 @@ -1,5 +1,5 @@ Upstream Authors: - LXQt team: http://lxqt.org + LXQt team: https://lxqt.org Razor team: http://razor-qt.org Copyright: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lxqt-policykit-0.12.0/CHANGELOG new/lxqt-policykit-0.13.0/CHANGELOG --- old/lxqt-policykit-0.12.0/CHANGELOG 2017-10-21 21:23:55.000000000 +0200 +++ new/lxqt-policykit-0.13.0/CHANGELOG 2018-05-21 20:36:08.000000000 +0200 @@ -1,7 +1,16 @@ -lxqt-policykit-0.12.0 / 2017-10-21 +lxqt-policykit-0.13.0 / 2018-05-21 ================================== + * CMake: Prevent in-source builds + * fix razor-qt -> lxqt and http -> https + * Fixed some LXDE mentions + * Drop Qt foreach + +0.12.0 / 2017-10-21 +=================== + + * Release 0.12.0: Update changelog * Set patch version * Don't export github templates * Updated Lithuanian translation diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lxqt-policykit-0.12.0/CMakeLists.txt new/lxqt-policykit-0.13.0/CMakeLists.txt --- old/lxqt-policykit-0.12.0/CMakeLists.txt 2017-10-21 21:23:55.000000000 +0200 +++ new/lxqt-policykit-0.13.0/CMakeLists.txt 2018-05-21 20:36:08.000000000 +0200 @@ -32,8 +32,12 @@ set(LXQT_POLKITAGENT_PATCH_VERSION 0) set(LXQT_POLKITAGENT_VERSION ${LXQT_MAJOR_VERSION}.${LXQT_MINOR_VERSION}.${LXQT_POLKITAGENT_PATCH_VERSION}) -add_definitions("-DLXQT_POLKITAGENT_VERSION=\"${LXQT_POLKITAGENT_VERSION}\"") +add_definitions( + "-DLXQT_POLKITAGENT_VERSION=\"${LXQT_POLKITAGENT_VERSION}\"" + "-DQT_NO_FOREACH" +) +include(LXQtPreventInSourceBuilds) include(LXQtCompilerSettings NO_POLICY_SCOPE) # Deal with a bug in polkit-qt5 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lxqt-policykit-0.12.0/README.md new/lxqt-policykit-0.13.0/README.md --- old/lxqt-policykit-0.12.0/README.md 2017-10-21 21:23:55.000000000 +0200 +++ new/lxqt-policykit-0.13.0/README.md 2018-05-21 20:36:08.000000000 +0200 @@ -4,40 +4,60 @@ lxqt-policykit is the polkit authentification agent of LXQt. -[polkit](https://www.freedesktop.org/wiki/Software/polkit/) is a software framework to handle privileges of processes. -In LXQt it is e. g. used to extend the privileges of the GUI tools of [lxqt-admin](https://github.com/lxde/lxqt-admin/). These are launched by a regular user. But in order to apply the settings they deal with root privileges are needed and acquired via polkit. -Among the various components of polkit the authentication agent is the one to query the user for credentials by dialogue windows like this one of lxqt-policykit. - -While there's only a single implementation of all other polkit components various different authentication agents are provided by the various desktop environments. Basically these can be used interchangeably, that is lxqt-policykit can be used in an LXDE session or lxpolkit, the authentication agent of LXDE, can be used in an Xfce session. Most of the time it's better to use the implementation provided by a distinct desktop environment as it integrates better, though. - -Technically, lxqt-policykit is just a single binary `lxqt-policykit-agent` which is running as [LXQt Module](https://github.com/lxde/lxqt-session#lxqt-modules) and launching the GUI on demand. - -Note that the naming lxqt-policykit is strictly speaking an anachronism. It refers to Policykit which was the predecessor -of polkit. The name wasn't changed when Policykit was replaced by polkit as both provide roughly the same features albeit +[polkit](https://www.freedesktop.org/wiki/Software/polkit/) is a software framework +to handle privileges of processes. +In LXQt it is e. g. used to extend the privileges of the GUI tools of +[lxqt-admin](https://github.com/lxqt/lxqt-admin/). These are launched by a regular +user. But in order to apply the settings they deal with root privileges are needed +and acquired via polkit. +Among the various components of polkit the authentication agent is the one to +query the user for credentials by dialogue windows like this one of lxqt-policykit. + +While there's only a single implementation of all other polkit components various +different authentication agents are provided by the various desktop environments. +Basically these can be used interchangeably, that is lxqt-policykit can be used +in an LXDE session or lxpolkit, the authentication agent of LXDE, can be used in +an Xfce session. Most of the time it's better to use the implementation provided +by a distinct desktop environment as it integrates better, though. + +Technically, lxqt-policykit is just a single binary `lxqt-policykit-agent` which +is running as [LXQt Module](https://github.com/lxqt/lxqt-session#lxqt-modules) +and launching the GUI on demand. + +Note that the naming lxqt-policykit is strictly speaking an anachronism. It refers +to Policykit which was the predecessor of polkit. The name wasn't changed when +Policykit was replaced by polkit as both provide roughly the same features albeit they are technically different. ## Installing ### Compiling sources -Runtime dependencies are polkit-qt5 and [liblxqt](https://github.com/lxde/liblxqt). -Additional build dependencies are CMake and optionally Git to pull latest VCS checkouts. The localization files were outsourced to repository [lxqt-l10n](https://github.com/lxde/lxqt-l10n) so the corresponding dependencies are needed, too. Please refer to this repository's `README.md` for further information. +Runtime dependencies are polkit-qt5 and [liblxqt](https://github.com/lxqt/liblxqt). +Additional build dependencies are CMake and optionally Git to pull latest VCS +checkouts. The localization files were outsourced to repository +[lxqt-l10n](https://github.com/lxqt/lxqt-l10n) so the corresponding dependencies +are needed, too. Please refer to this repository's `README.md` for further information. -Code configuration is handled by CMake. CMake variable `CMAKE_INSTALL_PREFIX` has to be set to `/usr` on most operating systems. +Code configuration is handled by CMake. CMake variable `CMAKE_INSTALL_PREFIX` +has to be set to `/usr` on most operating systems. -To build run `make`, to install `make install` which accepts variable `DESTDIR` as usual. +To build run `make`, to install `make install` which accepts variable `DESTDIR` +as usual. ### Binary packages #### Arch Linux -The latest release is provided by package `lxqt-policykit` in repository community, the actual master checkout can be -compiled by packages `lxqt-policykit-git` from the [AUR](https://aur.archlinux.org). +The latest release is provided by package `lxqt-policykit` in repository community, +the actual master checkout can be compiled by packages `lxqt-policykit-git` from +the [AUR](https://aur.archlinux.org). #### Debian -Package `lxqt-policykit` is available in the official repositories as of Debian stretch. For now it is comprising the -translations as well but these will probably be outsourced in package `lxqt-policykit-l10n` one day. +Package `lxqt-policykit` is available in the official repositories as of Debian +stretch. For now it is comprising the translations as well but these will probably +be outsourced in package `lxqt-policykit-l10n` one day. #### Fedora @@ -45,11 +65,15 @@ #### openSUSE -Package `lxqt-policykit` is providing the binary, `lxqt-policykit-lang` the translations. Both are available as of -openSUSE Leap 42.1. +Package `lxqt-policykit` is providing the binary, `lxqt-policykit-lang` the +translations. Both are available as of openSUSE Leap 42.1. ## Configuration, Usage -Like all LXQt Modules `lxqt-policykit-agent` can be adjusted from section "Basic Settings" in configuration dialogue [LXQt Session Settings](https://github.com/lxde/lxqt-session#lxqt-session-settings) of [lxqt-session](https://github.com/lxde/lxqt-session). +Like all LXQt Modules `lxqt-policykit-agent` can be adjusted from section +"Basic Settings" in configuration dialogue +[LXQt Session Settings](https://github.com/lxqt/lxqt-session#lxqt-session-settings) +of [lxqt-session](https://github.com/lxqt/lxqt-session). -From a user's point of view the usage is limited to interacting with the GUI as seen above. +From a user's point of view the usage is limited to interacting with the GUI as +seen above. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lxqt-policykit-0.12.0/man/lxqt-policykit-agent.1 new/lxqt-policykit-0.13.0/man/lxqt-policykit-agent.1 --- old/lxqt-policykit-0.12.0/man/lxqt-policykit-agent.1 2017-10-21 21:23:55.000000000 +0200 +++ new/lxqt-policykit-0.13.0/man/lxqt-policykit-agent.1 2018-05-21 20:36:08.000000000 +0200 @@ -35,7 +35,7 @@ The module is only shown in \fBLXQt\fR desktop, but one can create an autostart action for other desktop environments. .SH "REPORTING BUGS" -Report bugs to https://github.com/lxde/lxqt/issues +Report bugs to https://github.com/lxqt/lxqt/issues .SH "SEE ALSO" \fBLXQt\fR has been tailored for users who value simplicity, speed and an intuitive interface, it's also intended for less powerful machines. See: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lxqt-policykit-0.12.0/src/main.cpp new/lxqt-policykit-0.13.0/src/main.cpp --- old/lxqt-policykit-0.12.0/src/main.cpp 2017-10-21 21:23:55.000000000 +0200 +++ new/lxqt-policykit-0.13.0/src/main.cpp 2018-05-21 20:36:08.000000000 +0200 @@ -1,8 +1,8 @@ /* BEGIN_COMMON_COPYRIGHT_HEADER * (c)LGPL2+ * - * LXDE-Qt - a lightweight, Qt based, desktop toolset - * http://razor-qt.org + * LXQt - a lightweight, Qt based, desktop toolset + * https://lxqt.org * * Copyright: 2011-2012 Razor team * Authors: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lxqt-policykit-0.12.0/src/policykitagent.cpp new/lxqt-policykit-0.13.0/src/policykitagent.cpp --- old/lxqt-policykit-0.12.0/src/policykitagent.cpp 2017-10-21 21:23:55.000000000 +0200 +++ new/lxqt-policykit-0.13.0/src/policykitagent.cpp 2018-05-21 20:36:08.000000000 +0200 @@ -1,8 +1,8 @@ /* BEGIN_COMMON_COPYRIGHT_HEADER * (c)LGPL2+ * - * LXDE-Qt - a lightweight, Qt based, desktop toolset - * http://razor-qt.org + * LXQt - a lightweight, Qt based, desktop toolset + * https://lxqt.org * * Copyright: 2011-2012 Razor team * Authors: @@ -81,7 +81,7 @@ } m_gui = new PolicykitAgentGUI(actionId, message, iconName, details, identities); - foreach (PolkitQt1::Identity i, identities) + for(const PolkitQt1::Identity& i : identities) { PolkitQt1::Agent::Session *session; session = new PolkitQt1::Agent::Session(i, cookie, result); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lxqt-policykit-0.12.0/src/policykitagent.h new/lxqt-policykit-0.13.0/src/policykitagent.h --- old/lxqt-policykit-0.12.0/src/policykitagent.h 2017-10-21 21:23:55.000000000 +0200 +++ new/lxqt-policykit-0.13.0/src/policykitagent.h 2018-05-21 20:36:08.000000000 +0200 @@ -1,8 +1,8 @@ /* BEGIN_COMMON_COPYRIGHT_HEADER * (c)LGPL2+ * - * LXDE-Qt - a lightweight, Qt based, desktop toolset - * http://razor-qt.org + * LXQt - a lightweight, Qt based, desktop toolset + * https://lxqt.org * * Copyright: 2011-2012 Razor team * Authors: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lxqt-policykit-0.12.0/src/policykitagentgui.cpp new/lxqt-policykit-0.13.0/src/policykitagentgui.cpp --- old/lxqt-policykit-0.12.0/src/policykitagentgui.cpp 2017-10-21 21:23:55.000000000 +0200 +++ new/lxqt-policykit-0.13.0/src/policykitagentgui.cpp 2018-05-21 20:36:08.000000000 +0200 @@ -1,8 +1,8 @@ /* BEGIN_COMMON_COPYRIGHT_HEADER * (c)LGPL2+ * - * LXDE-Qt - a lightweight, Qt based, desktop toolset - * http://razor-qt.org + * LXQt - a lightweight, Qt based, desktop toolset + * https://lxqt.org * * Copyright: 2011-2012 Razor team * Authors: @@ -52,11 +52,11 @@ const uid_t current_uid = getuid(); int current_user_index = -1; - foreach (PolkitQt1::Identity identity, identities) + for (const PolkitQt1::Identity& identity : identities) { const int i = identityComboBox->count(); // index of the added item identityComboBox->addItem(identity.toString()); - PolkitQt1::UnixUserIdentity const * const u_id = static_cast<PolkitQt1::UnixUserIdentity *>(&identity); + PolkitQt1::UnixUserIdentity const * const u_id = static_cast<const PolkitQt1::UnixUserIdentity *>(&identity); if (u_id != nullptr && u_id->uid() == current_uid) current_user_index = i; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lxqt-policykit-0.12.0/src/policykitagentgui.h new/lxqt-policykit-0.13.0/src/policykitagentgui.h --- old/lxqt-policykit-0.12.0/src/policykitagentgui.h 2017-10-21 21:23:55.000000000 +0200 +++ new/lxqt-policykit-0.13.0/src/policykitagentgui.h 2018-05-21 20:36:08.000000000 +0200 @@ -1,8 +1,8 @@ /* BEGIN_COMMON_COPYRIGHT_HEADER * (c)LGPL2+ * - * LXDE-Qt - a lightweight, Qt based, desktop toolset - * http://razor-qt.org + * LXQt - a lightweight, Qt based, desktop toolset + * https://lxqt.org * * Copyright: 2011-2012 Razor team * Authors:
