Hello community, here is the log from the commit of package polkit-qt-1 for openSUSE:12.1:Update:Test checked in at 2011-12-21 18:32:55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:12.1:Update:Test/polkit-qt-1 (Old) and /work/SRC/openSUSE:12.1:Update:Test/.polkit-qt-1.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "polkit-qt-1", Maintainer is "" Changes: -------- New Changes file: --- /dev/null 2010-08-26 16:28:41.000000000 +0200 +++ /work/SRC/openSUSE:12.1:Update:Test/.polkit-qt-1.new/polkit-qt-1.changes 2011-12-21 18:33:01.000000000 +0100 @@ -0,0 +1,107 @@ +------------------------------------------------------------------- +Thu Aug 11 09:30:19 UTC 2011 - [email protected] + +- Removed self-obsoletes (fix for RPMLINT warning) +- Cleaned up spec file formatting + +------------------------------------------------------------------- +Tue Jun 28 13:33:33 UTC 2011 - [email protected] + +- devel package must depend on polkit-devel nowadays + +------------------------------------------------------------------- +Fri Jun 10 10:27:08 CEST 2011 - [email protected] + +- fix crash when ConsoleKit is unavailable + +------------------------------------------------------------------- +Tue Apr 19 00:01:34 CEST 2011 - [email protected] + +- fix baselibs.conf + +------------------------------------------------------------------- +Sat Dec 18 22:29:56 UTC 2010 - [email protected] + +- Change the specfile to build according openSUSE standards + +------------------------------------------------------------------- +Fri Dec 17 09:12:00 UTC 2010 - [email protected] + +- Enable build for 11.2 and 11.3 in compatibility mode. 0.99.1 has + became a requirement for KDE 4.6 + +------------------------------------------------------------------- +Thu Dec 9 09:18:00 UTC 2010 - [email protected] + +- update to 0.99.1 + - Introduction of a compatibility mode for older PolicyKit version + +------------------------------------------------------------------- +Tue Oct 26 16:54:19 UTC 2010 - [email protected] + +- update to 0.98.1 + +------------------------------------------------------------------- +Sat Jul 17 11:02:53 CEST 2010 - [email protected] + +- fix pedantic warnings + +------------------------------------------------------------------- +Wed Jul 14 19:17:07 CEST 2010 - [email protected] + +- update to polkit-qt-1 0.96.1: + * various code cleaning changes (foreach->Q_FOREACH) + * merged upstreamed patch + +------------------------------------------------------------------- +Thu Jul 8 09:51:50 CEST 2010 - [email protected] + +- update buildrequires + +------------------------------------------------------------------- +Wed Feb 24 15:10:15 UTC 2010 - [email protected] + +- fix build error due to missing return statement + +------------------------------------------------------------------- +Sat Jan 9 10:24:57 CET 2010 - [email protected] + +- fix baselibs.conf + +------------------------------------------------------------------- +Sat Jan 2 14:18:57 CET 2010 - [email protected] + +- add missing provides/obsoletes due to the package rename + +------------------------------------------------------------------- +Wed Dec 23 09:19:02 UTC 2009 - [email protected] + +- package rename polkit-qt to polkit-qt-1 +- update to 0.95.1: + * Initial port to PolicyKit-1 + +------------------------------------------------------------------- +Mon Sep 21 13:43:23 CEST 2009 - [email protected] + +- add baselibs.conf + +------------------------------------------------------------------- +Tue May 19 21:22:27 CEST 2009 - [email protected] + +- fix debug package requires + +------------------------------------------------------------------- +Sat May 16 19:13:18 CEST 2009 - [email protected] + +- fix requires of devel package + +------------------------------------------------------------------- +Thu May 14 19:15:36 CEST 2009 - [email protected] + +- spec file cleanups + +------------------------------------------------------------------- +Thu Apr 30 12:12:50 CEST 2009 - Matt Williams <[email protected]> + +- Initial build of polkit-qt + New: ---- _link baselibs.conf ck-avoid-crash.diff polkit-qt-1-0.99.1.tar.bz2 polkit-qt-1.changes polkit-qt-1.spec ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ polkit-qt-1.spec ++++++ # # spec file for package polkit-qt-1 # # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # 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 http://bugs.opensuse.org/ # %define debug_package_requires libpolkit-qt-1-0 = %{version}-%{release} Name: polkit-qt-1 Version: 0.99.1 Release: 14 License: LGPLv2.1+ Summary: PolicyKit Library Qt Bindings Url: http://api.kde.org/kdesupport-api/kdesupport-apidocs/polkit-qt/html/ Group: Development/Libraries/KDE # ftp://ftp.kde.org/pub/kde/stable/apps/KDE4.x/admin/ Source0: %{name}-%{version}.tar.bz2 Source99: baselibs.conf Patch0: ck-avoid-crash.diff BuildRequires: automoc4 BuildRequires: cmake BuildRequires: kde4-filesystem BuildRequires: libqt4-devel BuildRequires: polkit-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build %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-qt-1-1 License: LGPLv2.1+ Summary: PolicyKit Library Qt Bindings Group: Development/Libraries/KDE Provides: libpolkit-qt0 = 0.9.3 Obsoletes: libpolkit-qt0 < 0.9.3 %description -n libpolkit-qt-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-qt-1-devel License: LGPLv2.1+ Summary: PolicyKit Library Qt Bindings Group: Development/Libraries/KDE Requires: libpolkit-qt-1-1 = %{version} Requires: polkit-devel Provides: libpolkit-qt-devel = 0.9.3 Obsoletes: libpolkit-qt-devel < 0.9.3 %description -n libpolkit-qt-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 %setup -q %patch0 %build %cmake_kde4 -d build %make_jobs %install cd build %make_install %post -n libpolkit-qt-1-1 -p /sbin/ldconfig %postun -n libpolkit-qt-1-1 -p /sbin/ldconfig %clean rm -rf %{buildroot} %files -n libpolkit-qt-1-devel %defattr(-,root,root) %doc AUTHORS README %{_kde4_includedir}/polkit-qt-1/ %{_kde4_libdir}/pkgconfig/polkit-qt* %{_kde4_libdir}/libpolkit-qt-gui-1.so %{_kde4_libdir}/libpolkit-qt-core-1.so %{_kde4_libdir}/libpolkit-qt-agent-1.so %{_kde4_libdir}/cmake/PolkitQt-1/ %files -n libpolkit-qt-1-1 %defattr(-,root,root) %{_kde4_libdir}/libpolkit-qt-gui-1.so.* %{_kde4_libdir}/libpolkit-qt-core-1.so.* %{_kde4_libdir}/libpolkit-qt-agent-1.so.* %changelog ++++++ _link ++++++ <link project="openSUSE:12.1" package="polkit-qt-1" baserev="29c626917e4ac56dad4abc64d348f616"> <patches> <branch/> </patches> </link> ++++++ baselibs.conf ++++++ libpolkit-qt-1-1 ++++++ ck-avoid-crash.diff ++++++ --- core/polkitqt1-authority.cpp +++ core/polkitqt1-authority.cpp @@ -219,12 +219,14 @@ // then we need to extract all seats from ConsoleKit QDBusMessage msg = QDBusMessage::createMethodCall(consoleKitService, consoleKitManagerPath, consoleKitManagerInterface, "GetSeats"); msg = QDBusConnection::systemBus().call(msg); - // this method returns a list with present seats - QList<QString> seats; - qVariantValue<QDBusArgument> (msg.arguments()[0]) >> seats; - // it can be multiple seats present so connect all their signals - Q_FOREACH(const QString &seat, seats) { - seatSignalsConnect(seat); + if (!msg.arguments().isEmpty()) { + // this method returns a list with present seats + QList<QString> seats; + qVariantValue<QDBusArgument> (msg.arguments()[0]) >> seats; + // it can be multiple seats present so connect all their signals + Q_FOREACH(const QString &seat, seats) { + seatSignalsConnect(seat); + } } } -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
