Hello community, here is the log from the commit of package kdbusaddons for openSUSE:Factory checked in at 2015-07-14 17:22:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kdbusaddons (Old) and /work/SRC/openSUSE:Factory/.kdbusaddons.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kdbusaddons" Changes: -------- --- /work/SRC/openSUSE:Factory/kdbusaddons/kdbusaddons.changes 2015-06-23 12:07:09.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.kdbusaddons.new/kdbusaddons.changes 2015-07-14 17:22:54.000000000 +0200 @@ -1,0 +2,8 @@ +Sun Jul 5 18:44:53 UTC 2015 - [email protected] + +- Update to 5.12.0 + * Clarify exit value for Unique instances + * For more details please see: + https://www.kde.org/announcements/kde-frameworks-5.12.0.php + +------------------------------------------------------------------- Old: ---- kdbusaddons-5.11.0.tar.xz New: ---- kdbusaddons-5.12.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kdbusaddons.spec ++++++ --- /var/tmp/diff_new_pack.TQq6b0/_old 2015-07-14 17:22:55.000000000 +0200 +++ /var/tmp/diff_new_pack.TQq6b0/_new 2015-07-14 17:22:55.000000000 +0200 @@ -18,9 +18,9 @@ %bcond_without lang %define lname libKF5DBusAddons5 -%define _tar_path 5.11 +%define _tar_path 5.12 Name: kdbusaddons -Version: 5.11.0 +Version: 5.12.0 Release: 0 BuildRequires: cmake >= 2.8.12 BuildRequires: extra-cmake-modules >= %{_tar_path} ++++++ kdbusaddons-5.11.0.tar.xz -> kdbusaddons-5.12.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdbusaddons-5.11.0/CMakeLists.txt new/kdbusaddons-5.12.0/CMakeLists.txt --- old/kdbusaddons-5.11.0/CMakeLists.txt 2015-06-06 23:11:47.000000000 +0200 +++ new/kdbusaddons-5.12.0/CMakeLists.txt 2015-07-05 10:55:59.000000000 +0200 @@ -3,7 +3,7 @@ project(KDBusAddons) include(FeatureSummary) -find_package(ECM 5.11.0 NO_MODULE) +find_package(ECM 5.12.0 NO_MODULE) set_package_properties(ECM PROPERTIES TYPE REQUIRED DESCRIPTION "Extra CMake Modules." URL "https://projects.kde.org/projects/kdesupport/extra-cmake-modules") feature_summary(WHAT REQUIRED_PACKAGES_NOT_FOUND FATAL_ON_MISSING_REQUIRED_PACKAGES) @@ -27,7 +27,7 @@ include(ECMPoQmTools) -set(KF5_VERSION "5.11.0") # handled by release scripts +set(KF5_VERSION "5.12.0") # handled by release scripts ecm_setup_version(${KF5_VERSION} VARIABLE_PREFIX KDBUSADDONS VERSION_HEADER "${CMAKE_CURRENT_BINARY_DIR}/kdbusaddons_version.h" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdbusaddons-5.11.0/po/ca/kdbusaddons5_qt.po new/kdbusaddons-5.12.0/po/ca/kdbusaddons5_qt.po --- old/kdbusaddons-5.11.0/po/ca/kdbusaddons5_qt.po 2015-06-06 23:11:47.000000000 +0200 +++ new/kdbusaddons-5.12.0/po/ca/kdbusaddons5_qt.po 2015-07-05 10:55:59.000000000 +0200 @@ -18,8 +18,8 @@ "Content-Transfer-Encoding: 8bit\n" "X-Qt-Contexts: true\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Lokalize 1.4\n" "X-Accelerator-Marker: &\n" +"X-Generator: Lokalize 1.4\n" #: tools/kquitapp/kquitapp.cpp:31 msgctxt "main|" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdbusaddons-5.11.0/src/kdbusservice.h new/kdbusaddons-5.12.0/src/kdbusservice.h --- old/kdbusaddons-5.11.0/src/kdbusservice.h 2015-06-06 23:11:47.000000000 +0200 +++ new/kdbusaddons-5.12.0/src/kdbusservice.h 2015-07-05 10:55:59.000000000 +0200 @@ -50,7 +50,8 @@ * The first instance of the application registers with D-Bus without the PID, * and any attempt to run the application again will cause the * activateRequested() signal to be emitted in the already-running instance; the - * duplicate instance will then quit. + * duplicate instance will then quit. The exit value can be set by the already + * running instance with setExitValue(), the default value is @c 0. * * Unique-mode applications should usually delay parsing command-line arguments * until after creating a KDBusService object; that way they know they are the @@ -71,15 +72,17 @@ * * Example usage: * - * <code> + * @code QApplication app(argc, argv); app.setApplicationName("kuiserver"); app.setOrganizationDomain("kde.org"); // Create your dbus objects here // ... KDBusService service(KDBusService::Unique); + // If this point is reached, this is the only running instance + // i.e. org.kde.kuiserver has been registered return app.exec(); - * </code> + * @endcode * * @since 5.0 */ @@ -106,8 +109,11 @@ /** Indicates that the application should not exit if it failed to * register with D-Bus. * - * By default, KDBusService will quit the application if it failed to - * register the service with D-Bus (with error code @c 1). + * If not set, KDBusService will quit the application if it failed to + * register the service with D-Bus or a @c Unique instance can not be + * activated. A @c Multiple instance will exit with error code @c 1. + * The exit value of a @c Unique instance can be set from the running + * instance with setExitValue(), the default value is @c 0. */ NoExitOnFailure = 4 }; @@ -115,7 +121,7 @@ Q_DECLARE_FLAGS(StartupOptions, StartupOption) /** - * Registers the current process to D-Bus at an address based on the + * Tries to register the current process to D-Bus at an address based on the * application name and organization domain. * * The DBus service name is the reversed organization domain, followed by
