Hello community, here is the log from the commit of package knotifications for openSUSE:Factory checked in at 2019-03-21 09:47:29 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/knotifications (Old) and /work/SRC/openSUSE:Factory/.knotifications.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "knotifications" Thu Mar 21 09:47:29 2019 rev:65 rq:686757 version:5.56.0 Changes: -------- --- /work/SRC/openSUSE:Factory/knotifications/knotifications.changes 2019-02-28 21:31:25.401772171 +0100 +++ /work/SRC/openSUSE:Factory/.knotifications.new.28833/knotifications.changes 2019-03-21 09:47:32.866880295 +0100 @@ -1,0 +2,13 @@ +Sun Mar 10 20:15:37 UTC 2019 - [email protected] + +- Update to 5.56.0 + * New feature release + * For more details please see: + * https://www.kde.org/announcements/kde-frameworks-5.56.0.php +- Changes since 5.55.0: + * Port deprecated methods + * fix some compile error + * port to findcanberra from ECM + * List Android as officially supported + +------------------------------------------------------------------- Old: ---- knotifications-5.55.0.tar.xz New: ---- knotifications-5.56.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ knotifications.spec ++++++ --- /var/tmp/diff_new_pack.GqDWee/_old 2019-03-21 09:47:34.510879916 +0100 +++ /var/tmp/diff_new_pack.GqDWee/_new 2019-03-21 09:47:34.546879908 +0100 @@ -17,14 +17,14 @@ %define lname libKF5Notifications5 -%define _tar_path 5.55 +%define _tar_path 5.56 # Full KF5 version (e.g. 5.33.0) %{!?_kf5_version: %global _kf5_version %{version}} # Last major and minor KF5 version (e.g. 5.33) %{!?_kf5_bugfix_version: %define _kf5_bugfix_version %(echo %{_kf5_version} | awk -F. '{print $1"."$2}')} %bcond_without lang Name: knotifications -Version: 5.55.0 +Version: 5.56.0 Release: 0 Summary: KDE Desktop notifications License: LGPL-2.1-or-later ++++++ knotifications-5.55.0.tar.xz -> knotifications-5.56.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/knotifications-5.55.0/CMakeLists.txt new/knotifications-5.56.0/CMakeLists.txt --- old/knotifications-5.55.0/CMakeLists.txt 2019-02-03 01:00:12.000000000 +0100 +++ new/knotifications-5.56.0/CMakeLists.txt 2019-03-02 14:45:23.000000000 +0100 @@ -1,12 +1,12 @@ cmake_minimum_required(VERSION 3.5) -set(KF5_VERSION "5.55.0") # handled by release scripts -set(KF5_DEP_VERSION "5.55.0") # handled by release scripts +set(KF5_VERSION "5.56.0") # handled by release scripts +set(KF5_DEP_VERSION "5.56.0") # handled by release scripts project(KNotifications VERSION ${KF5_VERSION}) # ECM setup include(FeatureSummary) -find_package(ECM 5.55.0 NO_MODULE) +find_package(ECM 5.56.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) @@ -77,7 +77,7 @@ PURPOSE "Needed to build audio notification support" URL "http://0pointer.de/lennart/projects/libcanberra" TYPE OPTIONAL) -if (CANBERRA_FOUND) +if (Canberra_FOUND) add_definitions(-DHAVE_CANBERRA) else() find_package(Phonon4Qt5 4.6.60 NO_MODULE) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/knotifications-5.55.0/autotests/fake_notifications_server.cpp new/knotifications-5.56.0/autotests/fake_notifications_server.cpp --- old/knotifications-5.55.0/autotests/fake_notifications_server.cpp 2019-02-03 01:00:12.000000000 +0100 +++ new/knotifications-5.56.0/autotests/fake_notifications_server.cpp 2019-03-02 14:45:23.000000000 +0100 @@ -72,8 +72,8 @@ QString NotificationsServer::GetServerInformation(QString &vendor, QString &version, QString &specVersion) { - vendor = QLatin1String("KDE"); - version = QLatin1String("2.0"); // FIXME - specVersion = QLatin1String("1.1"); + vendor = QStringLiteral("KDE"); + version = QStringLiteral("2.0"); // FIXME + specVersion = QStringLiteral("1.1"); return QStringLiteral("TestServer"); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/knotifications-5.55.0/cmake/modules/FindCanberra.cmake new/knotifications-5.56.0/cmake/modules/FindCanberra.cmake --- old/knotifications-5.55.0/cmake/modules/FindCanberra.cmake 2019-02-03 01:00:12.000000000 +0100 +++ new/knotifications-5.56.0/cmake/modules/FindCanberra.cmake 1970-01-01 01:00:00.000000000 +0100 @@ -1,50 +0,0 @@ -# - Find libcanberra's libraries and headers. -# This module defines the following variables: -# -# CANBERRA_FOUND - true if libcanberra was found -# CANBERRA_LIBRARIES - libcanberra libraries to link against -# CANBERRA_INCLUDE_DIRS - include path for libcanberra -# -# Copyright (c) 2012 Raphael Kubo da Costa <[email protected]> -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions -# are met: -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# 3. Neither the name of the University nor the names of its contributors -# may be used to endorse or promote products derived from this software -# without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND -# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -# ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE -# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS -# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) -# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT -# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY -# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF -# SUCH DAMAGE. - -find_package(PkgConfig) -pkg_check_modules(PC_CANBERRA libcanberra) - -find_library(CANBERRA_LIBRARIES - NAMES canberra - HINTS ${PC_CANBERRA_LIBRARY_DIRS} ${PC_CANBERRA_LIBDIR} -) - -find_path(CANBERRA_INCLUDE_DIRS - NAMES canberra.h - HINTS ${PC_CANBERRA_INCLUDE_DIRS} ${PC_CANBERRA_INCLUDEDIR} -) - -include(FindPackageHandleStandardArgs) -find_package_handle_standard_args(Canberra REQUIRED_VARS CANBERRA_LIBRARIES CANBERRA_INCLUDE_DIRS) - -mark_as_advanced(CANBERRA_LIBRARIES CANBERRA_INCLUDE_DIRS) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/knotifications-5.55.0/metainfo.yaml new/knotifications-5.56.0/metainfo.yaml --- old/knotifications-5.55.0/metainfo.yaml 2019-02-03 01:00:12.000000000 +0100 +++ new/knotifications-5.56.0/metainfo.yaml 2019-03-02 14:45:23.000000000 +0100 @@ -7,6 +7,8 @@ - name: FreeBSD - name: Windows - name: MacOSX + - name: Android + note: KStatusNotifierItem and KNotificationRestrictions are not supported. portingAid: false deprecated: false release: true diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/knotifications-5.55.0/po/da/knotifications5_qt.po new/knotifications-5.56.0/po/da/knotifications5_qt.po --- old/knotifications-5.55.0/po/da/knotifications5_qt.po 2019-02-03 01:00:12.000000000 +0100 +++ new/knotifications-5.56.0/po/da/knotifications5_qt.po 2019-03-02 14:45:23.000000000 +0100 @@ -2,8 +2,6 @@ # Copyright (C) YEAR This_file_is_part_of_KDE # This file is distributed under the same license as the PACKAGE package. # -# Martin Schlander, 2008. -# Martin Schlander <[email protected]>, 2008. # Martin Schlander <[email protected]>, 2008, 2009, 2010, 2011, 2012, 2013, 2014. # Keld Simonsen <[email protected]>, 2010. msgid "" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/knotifications-5.55.0/po/id/knotifications5_qt.po new/knotifications-5.56.0/po/id/knotifications5_qt.po --- old/knotifications-5.55.0/po/id/knotifications5_qt.po 2019-02-03 01:00:12.000000000 +0100 +++ new/knotifications-5.56.0/po/id/knotifications5_qt.po 2019-03-02 14:45:23.000000000 +0100 @@ -16,7 +16,7 @@ "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=1; plural=0;\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Generator: Lokalize 2.0\n" "X-Qt-Contexts: true\n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/knotifications-5.55.0/po/zh_CN/knotifications5_qt.po new/knotifications-5.56.0/po/zh_CN/knotifications5_qt.po --- old/knotifications-5.55.0/po/zh_CN/knotifications5_qt.po 2019-02-03 01:00:12.000000000 +0100 +++ new/knotifications-5.56.0/po/zh_CN/knotifications5_qt.po 2019-03-02 14:45:23.000000000 +0100 @@ -13,7 +13,7 @@ msgid "" msgstr "" "Project-Id-Version: kdeorg\n" -"PO-Revision-Date: 2019-01-27 22:57\n" +"PO-Revision-Date: 2019-02-20 23:15\n" "Last-Translator: guoyunhe <[email protected]>\n" "Language-Team: Chinese Simplified\n" "Language: zh_CN\n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/knotifications-5.55.0/src/CMakeLists.txt new/knotifications-5.56.0/src/CMakeLists.txt --- old/knotifications-5.55.0/src/CMakeLists.txt 2019-02-03 01:00:12.000000000 +0100 +++ new/knotifications-5.56.0/src/CMakeLists.txt 2019-03-02 14:45:23.000000000 +0100 @@ -41,7 +41,7 @@ ecm_qt_declare_logging_category(knotifications_SRCS HEADER debug_p.h IDENTIFIER LOG_KNOTIFICATIONS CATEGORY_NAME org.kde.knotifications) -if (CANBERRA_FOUND) +if (Canberra_FOUND) set(knotifications_SRCS ${knotifications_SRCS} notifybyaudio_canberra.cpp) elseif (Phonon4Qt5_FOUND) @@ -103,9 +103,9 @@ ${PHONON_LIBRARIES}) endif() -if (CANBERRA_FOUND) +if (Canberra_FOUND) target_link_libraries(KF5Notifications PRIVATE - ${CANBERRA_LIBRARIES}) + Canberra::Canberra) endif() if (Qt5TextToSpeech_FOUND) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/knotifications-5.55.0/src/kpassivepopup.cpp new/knotifications-5.56.0/src/kpassivepopup.cpp --- old/knotifications-5.55.0/src/kpassivepopup.cpp 2019-02-03 01:00:12.000000000 +0100 +++ new/knotifications-5.56.0/src/kpassivepopup.cpp 2019-03-02 14:45:23.000000000 +0100 @@ -308,13 +308,13 @@ { QWidget *top = new QWidget(parent ? parent : this); QVBoxLayout *vb = new QVBoxLayout(top); - vb->setMargin(0); + vb->setContentsMargins(0, 0, 0, 0); top->setLayout(vb); QHBoxLayout *hb = nullptr; if (!icon.isNull()) { hb = new QHBoxLayout; - hb->setMargin(0); + hb->setContentsMargins(0, 0, 0, 0); vb->addLayout(hb); d->ttlIcon = new QLabel(top); d->ttlIcon->setPixmap(icon); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/knotifications-5.55.0/tests/knotificationdbustest.cpp new/knotifications-5.56.0/tests/knotificationdbustest.cpp --- old/knotifications-5.55.0/tests/knotificationdbustest.cpp 2019-02-03 01:00:12.000000000 +0100 +++ new/knotifications-5.56.0/tests/knotificationdbustest.cpp 2019-03-02 14:45:23.000000000 +0100 @@ -75,7 +75,7 @@ // wait a little before sending another notification QEventLoop a; - QTimer::singleShot(500, &a, SLOT(quit())); + QTimer::singleShot(500, &a, &QEventLoop::quit); a.exec(); notificationDBusCall(QStringLiteral("kwalletmanager"), @@ -83,7 +83,7 @@ QStringLiteral("Praesent odio ipsum, posuere a magna ac, egestas vehicula lectus"), QStringList() << QStringLiteral("action1") << QStringLiteral("action2")); - QTimer::singleShot(1000, &a, SLOT(quit())); + QTimer::singleShot(1000, &a, &QEventLoop::quit); a.exec(); notificationDBusCall(QStringLiteral("preferences-desktop-accessibility"), diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/knotifications-5.55.0/tests/kpassivepopuptest.cpp new/knotifications-5.56.0/tests/kpassivepopuptest.cpp --- old/knotifications-5.55.0/tests/kpassivepopuptest.cpp 2019-02-03 01:00:12.000000000 +0100 +++ new/knotifications-5.56.0/tests/kpassivepopuptest.cpp 2019-03-02 14:45:23.000000000 +0100 @@ -71,44 +71,44 @@ pb = new QPushButton(); pb->setText(QStringLiteral("By taskbar entry (no caption, default style)")); - pb->connect(pb, SIGNAL(clicked()), t, SLOT(showIt())); + pb->connect(pb, &QAbstractButton::clicked, t, &Test::showIt); pb->show(); pb2 = new QPushButton(); pb2->setText(QStringLiteral("By taskbar entry (with caption, default style)")); - pb2->connect(pb2, SIGNAL(clicked()), t, SLOT(showIt2())); + pb2->connect(pb2, &QAbstractButton::clicked, t, &Test::showIt2); pb2->show(); pb3 = new QPushButton(); pb3->setText(QStringLiteral("Without WinID")); - pb3->connect(pb3, SIGNAL(clicked()), t, SLOT(showIt3())); + pb3->connect(pb3, &QAbstractButton::clicked, t, &Test::showIt3); pb3->show(); pb4 = new QPushButton(); pb4->setText(QStringLiteral("By taskbar entry (with caption, boxed)")); - pb4->connect(pb4, SIGNAL(clicked()), t, SLOT(showIt4())); + pb4->connect(pb4, &QAbstractButton::clicked, t, &Test::showIt4); pb4->show(); pb5 = new QPushButton(); pb5->setText(QStringLiteral("By taskbar entry (with caption, balloon)")); - pb5->connect(pb5, SIGNAL(clicked()), t, SLOT(showIt5())); + pb5->connect(pb5, &QAbstractButton::clicked, t, &Test::showIt5); pb5->show(); // this test depends on X11 pb6 = new QPushButton(); pb6->setText(QStringLiteral("By window (with caption, balloon)")); - pb6->connect(pb6, SIGNAL(clicked()), t, SLOT(showIt6())); + pb6->connect(pb6, &QAbstractButton::clicked, t, &Test::showIt6); pb6->show(); KWindowSystem::setState(pb6->effectiveWinId(), NET::SkipTaskbar); pb7 = new QPushButton(); pb7->setText(QStringLiteral("By taskbar entry (with caption and icon, default style)")); - pb7->connect(pb7, SIGNAL(clicked()), t, SLOT(showIt7())); + pb7->connect(pb7, &QAbstractButton::clicked, t, &Test::showIt7); pb7->show(); icon = new QSystemTrayIcon(); // TODO icon->setIcon(icon->loadIcon("xorg")); - icon->connect(icon, SIGNAL(activated(QSystemTrayIcon::ActivationReason)), t, SLOT(showItIcon(QSystemTrayIcon::ActivationReason))); + icon->connect(icon, &QSystemTrayIcon::activated, t, &Test::showItIcon); icon->show(); return app.exec(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/knotifications-5.55.0/tests/kstatusnotifieritemtest.cpp new/knotifications-5.56.0/tests/kstatusnotifieritemtest.cpp --- old/knotifications-5.55.0/tests/kstatusnotifieritemtest.cpp 2019-02-03 01:00:12.000000000 +0100 +++ new/knotifications-5.56.0/tests/kstatusnotifieritemtest.cpp 2019-03-02 14:45:23.000000000 +0100 @@ -45,9 +45,9 @@ menu->addAction(active); menu->addAction(passive); - connect(needsAttention, SIGNAL(triggered()), this, SLOT(setNeedsAttention())); - connect(active, SIGNAL(triggered()), this, SLOT(setActive())); - connect(passive, SIGNAL(triggered()), this, SLOT(setPassive())); + connect(needsAttention, &QAction::triggered, this, &KStatusNotifierItemTest::setNeedsAttention); + connect(active, &QAction::triggered, this, &KStatusNotifierItemTest::setActive); + connect(passive, &QAction::triggered, this, &KStatusNotifierItemTest::setPassive); } void KStatusNotifierItemTest::setNeedsAttention()
