Hello community, here is the log from the commit of package kde-print-manager for openSUSE:Factory checked in at 2015-11-15 12:32:44 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kde-print-manager (Old) and /work/SRC/openSUSE:Factory/.kde-print-manager.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kde-print-manager" Changes: -------- --- /work/SRC/openSUSE:Factory/kde-print-manager/kde-print-manager.changes 2015-10-19 22:38:35.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.kde-print-manager.new/kde-print-manager.changes 2015-11-15 12:32:44.000000000 +0100 @@ -1,0 +2,9 @@ +Tue Nov 10 19:58:28 UTC 2015 - tittiatc...@gmail.com + +- Update to KDE Applications 15.08.3 + * KDE Applications 15.08.3 + * https://www.kde.org/announcements/announce-applications-15.08.3.php + * boo#954531 + + +------------------------------------------------------------------- Old: ---- print-manager-15.08.2.tar.xz New: ---- print-manager-15.08.3.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kde-print-manager.spec ++++++ --- /var/tmp/diff_new_pack.GfxhoK/_old 2015-11-15 12:32:45.000000000 +0100 +++ /var/tmp/diff_new_pack.GfxhoK/_new 2015-11-15 12:32:45.000000000 +0100 @@ -21,7 +21,7 @@ Summary: A new print manager for KDE License: GPL-2.0+ Group: System/GUI/KDE -Version: 15.08.2 +Version: 15.08.3 Release: 0 Source: print-manager-%{version}.tar.xz BuildRequires: cups ++++++ print-manager-15.08.2.tar.xz -> print-manager-15.08.3.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/print-manager-15.08.2/add-printer/org.kde.AddPrinter.desktop new/print-manager-15.08.3/add-printer/org.kde.AddPrinter.desktop --- old/print-manager-15.08.2/add-printer/org.kde.AddPrinter.desktop 2015-09-30 13:08:34.000000000 +0200 +++ new/print-manager-15.08.3/add-printer/org.kde.AddPrinter.desktop 2015-11-04 21:02:50.000000000 +0100 @@ -2,6 +2,7 @@ Name=Add Printer Name[ast]=Amestar imprentadora Name[ca]=Afegeix impressora +Name[ca@valencia]=Afig impressora Name[cs]=Přidat tiskárnu Name[da]=Tilføj printer Name[de]=Drucker hinzufügen @@ -33,6 +34,7 @@ Comment=Tool for adding new printers Comment[ast]=Ferramienta p'amestar imprentadores nueves Comment[ca]=Eina per afegir impressores noves +Comment[ca@valencia]=Eina per afegir impressores noves Comment[cs]=Nástroj pro přidávání nových tiskáren Comment[da]=Værktøj til at tilføje nye printere Comment[de]=Hilfsprogramm für das Hinzufügen von neuen Druckern diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/print-manager-15.08.2/configure-printer/org.kde.ConfigurePrinter.desktop new/print-manager-15.08.3/configure-printer/org.kde.ConfigurePrinter.desktop --- old/print-manager-15.08.2/configure-printer/org.kde.ConfigurePrinter.desktop 2015-09-30 13:08:34.000000000 +0200 +++ new/print-manager-15.08.3/configure-printer/org.kde.ConfigurePrinter.desktop 2015-11-04 21:02:50.000000000 +0100 @@ -2,6 +2,7 @@ Name=Configure Printer Name[ast]=Configurar imprentadora Name[ca]=Configuració d'impressora +Name[ca@valencia]=Configuració d'impressora Name[cs]=Nastavit tiskárnu Name[da]=Konfigurér printer Name[de]=Drucker einrichten @@ -33,6 +34,7 @@ Comment=Configure your printer Comment[ast]=Configura la to imprentadora Comment[ca]=Configura la impressora +Comment[ca@valencia]=Configura la impressora Comment[cs]=Nastavte vaši tiskárnu Comment[da]=Konfigurér din printer Comment[de]=Drucker einrichten diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/print-manager-15.08.2/libkcups/KCupsConnection.cpp new/print-manager-15.08.3/libkcups/KCupsConnection.cpp --- old/print-manager-15.08.2/libkcups/KCupsConnection.cpp 2015-09-30 13:08:34.000000000 +0200 +++ new/print-manager-15.08.3/libkcups/KCupsConnection.cpp 2015-11-04 21:02:50.000000000 +0100 @@ -31,6 +31,7 @@ #include <QStringBuilder> #include <QDBusConnection> #include <QByteArray> +#include <QMutexLocker> #include <KLocalizedString> @@ -431,40 +432,28 @@ void KCupsConnection::connectNotify(const QMetaMethod & signal) { + QMutexLocker locker(&m_mutex); QString event = eventForSignal(signal); if (!event.isNull()) { - QMetaObject::invokeMethod(this, - "connectNotifyQueued", - Qt::QueuedConnection), - Q_ARG(QString, event); + m_connectedEvents << event; + QMetaObject::invokeMethod(m_subscriptionTimer, + "start", + Qt::QueuedConnection); } } -void KCupsConnection::connectNotifyQueued(const QString& event) -{ - m_connectedEvents << event; - m_subscriptionTimer->start(); -} - - void KCupsConnection::disconnectNotify(const QMetaMethod & signal) { + QMutexLocker locker(&m_mutex); QString event = eventForSignal(signal); if (!event.isNull()) { - QMetaObject::invokeMethod(this, - "disconnectNotifyQueued", - Qt::QueuedConnection), - Q_ARG(QString, event); + m_connectedEvents.removeOne(event); + QMetaObject::invokeMethod(m_subscriptionTimer, + "start", + Qt::QueuedConnection); } } -void KCupsConnection::disconnectNotifyQueued(const QString& event) -{ - m_connectedEvents.removeOne(event); - m_subscriptionTimer->start(); -} - - QString KCupsConnection::eventForSignal(const QMetaMethod & signal) const { // Server signals @@ -536,6 +525,7 @@ void KCupsConnection::updateSubscription() { + QMutexLocker locker(&m_mutex); // Build the current list QStringList currentEvents = m_connectedEvents; currentEvents.sort(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/print-manager-15.08.2/libkcups/KCupsConnection.h new/print-manager-15.08.3/libkcups/KCupsConnection.h --- old/print-manager-15.08.2/libkcups/KCupsConnection.h 2015-09-30 13:08:34.000000000 +0200 +++ new/print-manager-15.08.3/libkcups/KCupsConnection.h 2015-11-04 21:02:50.000000000 +0100 @@ -27,6 +27,7 @@ #include <QStringList> #include <QWidget> #include <QMetaMethod> +#include <QMutex> #include <QUrl> @@ -371,10 +372,6 @@ void renewDBusSubscription(); void cancelDBusSubscription(); - void connectNotifyQueued(const QString& event); - void disconnectNotifyQueued(const QString &event); - - protected: virtual void connectNotify(const QMetaMethod & signal) Q_DECL_OVERRIDE; virtual void disconnectNotify(const QMetaMethod & signal) Q_DECL_OVERRIDE; @@ -399,9 +396,10 @@ QTimer *m_subscriptionTimer; QTimer *m_renewTimer; - QStringList m_connectedEvents; + QStringList m_connectedEvents; //note this updated in another thread. Always guard with m_mutex QStringList m_requestedDBusEvents; int m_subscriptionId; + QMutex m_mutex; }; #endif // KCUPSCONNECTION_H diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/print-manager-15.08.2/printqueue/org.kde.PrintQueue.desktop new/print-manager-15.08.3/printqueue/org.kde.PrintQueue.desktop --- old/print-manager-15.08.2/printqueue/org.kde.PrintQueue.desktop 2015-09-30 13:08:34.000000000 +0200 +++ new/print-manager-15.08.3/printqueue/org.kde.PrintQueue.desktop 2015-11-04 21:02:50.000000000 +0100 @@ -2,6 +2,7 @@ Name=Print Queue Name[ast]=Cola d'imprentación Name[ca]=Cua d'impressió +Name[ca@valencia]=Cua d'impressió Name[cs]=Fronta tisku Name[da]=Printkø Name[de]=Druckerwarteschlange @@ -33,6 +34,7 @@ Comment=View the print jobs Comment[ast]=Ve los trabayos d'imprentación Comment[ca]=Visualitza els treballs d'impressió +Comment[ca@valencia]=Visualitza els treballs d'impressió Comment[cs]=Zobrazit tiskové úkoly Comment[da]=Vis udskriftsjobs Comment[de]=Druckaufträge anzeigen