commit kded for openSUSE:Factory
Hello community, here is the log from the commit of package kded for openSUSE:Factory checked in at 2016-03-16 10:28:33 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kded (Old) and /work/SRC/openSUSE:Factory/.kded.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "kded" Changes: -------- --- /work/SRC/openSUSE:Factory/kded/kded.changes 2016-02-24 18:54:13.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.kded.new/kded.changes 2016-03-16 10:28:36.000000000 +0100 @@ -1,0 +2,8 @@ +Sun Mar 6 09:56:05 UTC 2016 - hrvoje.senjan@gmail.com + +- Update to 5.20.0 (boo#970856) + * Make it possible to compile with -DQT_NO_CAST_FROM_ASCII + * For more details please see: + https://www.kde.org/announcements/kde-frameworks-5.20.0.php + +------------------------------------------------------------------- Old: ---- kded-5.19.0.tar.xz New: ---- kded-5.20.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kded.spec ++++++ --- /var/tmp/diff_new_pack.4h4LKZ/_old 2016-03-16 10:28:36.000000000 +0100 +++ /var/tmp/diff_new_pack.4h4LKZ/_new 2016-03-16 10:28:36.000000000 +0100 @@ -17,9 +17,9 @@ %bcond_without lang -%define _tar_path 5.19 +%define _tar_path 5.20 Name: kded -Version: 5.19.0 +Version: 5.20.0 Release: 0 %define kf5_version %{version} BuildRequires: cmake >= 2.8.12 ++++++ kded-5.19.0.tar.xz -> kded-5.20.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kded-5.19.0/CMakeLists.txt new/kded-5.20.0/CMakeLists.txt --- old/kded-5.19.0/CMakeLists.txt 2016-02-06 14:41:15.000000000 +0100 +++ new/kded-5.20.0/CMakeLists.txt 2016-03-05 19:51:52.000000000 +0100 @@ -3,7 +3,7 @@ project(KDED) include(FeatureSummary) -find_package(ECM 5.19.0 NO_MODULE) +find_package(ECM 5.20.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) @@ -16,8 +16,8 @@ include(KDEFrameworkCompilerSettings NO_POLICY_SCOPE) include(KDECMakeSettings) -set(KF5_VERSION "5.19.0") # handled by release scripts -set(KF5_DEP_VERSION "5.19.0") # handled by release scripts +set(KF5_VERSION "5.20.0") # handled by release scripts +set(KF5_DEP_VERSION "5.20.0") # handled by release scripts find_package(KF5Config ${KF5_DEP_VERSION} REQUIRED) find_package(KF5CoreAddons ${KF5_DEP_VERSION} REQUIRED) find_package(KF5Crash ${KF5_DEP_VERSION} REQUIRED) @@ -40,9 +40,6 @@ # We don't install kded_version.h, it's only useful internally # (given that this framework produces no library) - -remove_definitions(-DQT_NO_CAST_FROM_ASCII) - if (KF5DocTools_FOUND) if (IS_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/po") kdoctools_install(po) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kded-5.19.0/po/it/docs/kded5/man-kded5.8.docbook new/kded-5.20.0/po/it/docs/kded5/man-kded5.8.docbook --- old/kded-5.19.0/po/it/docs/kded5/man-kded5.8.docbook 2016-02-06 14:41:15.000000000 +0100 +++ new/kded-5.20.0/po/it/docs/kded5/man-kded5.8.docbook 2016-03-05 19:51:52.000000000 +0100 @@ -4,11 +4,11 @@
<!-- change language only here --> ]>
-<refentry> +<refentry lang="&language;"> <refentryinfo>
5.0</releaseinfo> +>Frameworks 5.0</releaseinfo> + KDE Frameworks</productname>
</refentryinfo> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kded-5.19.0/src/kded.cpp new/kded-5.20.0/src/kded.cpp --- old/kded-5.19.0/src/kded.cpp 2016-02-06 14:41:15.000000000 +0100 +++ new/kded-5.20.0/src/kded.cpp 2016-03-05 19:51:52.000000000 +0100 @@ -146,19 +146,19 @@ static int phaseForModule(const KPluginMetaData &module) { - const QVariant phasev = module.rawData().value("X-KDE-Kded-phase").toVariant(); + const QVariant phasev = module.rawData().value(QStringLiteral("X-KDE-Kded-phase")).toVariant(); return phasev.isValid() ? phasev.toInt() : 2; } QVector<KPluginMetaData> Kded::availableModules() const { - QVector<KPluginMetaData> plugins = KPluginLoader::findPlugins("kf5/kded"); + QVector<KPluginMetaData> plugins = KPluginLoader::findPlugins(QStringLiteral("kf5/kded")); QSet<QString> moduleIds; foreach (const KPluginMetaData &md, plugins) { moduleIds.insert(md.pluginId()); } // also search for old .desktop based kded modules - KPluginInfo::List oldStylePlugins = KPluginInfo::fromServices(KServiceTypeTrader::self()->query("KDEDModule")); + KPluginInfo::List oldStylePlugins = KPluginInfo::fromServices(KServiceTypeTrader::self()->query(QStringLiteral("KDEDModule"))); foreach (const KPluginInfo &info, oldStylePlugins) { if (moduleIds.contains(info.pluginName())) { qCWarning(KDED).nospace() << "kded module " << info.pluginName() << " has already been found using " @@ -192,7 +192,7 @@ void Kded::initModules() { m_dontLoad.clear(); - bool kde_running = !qgetenv("KDE_FULL_SESSION").isEmpty(); + bool kde_running = !qEnvironmentVariableIsEmpty("KDE_FULL_SESSION"); if (kde_running) { #ifndef Q_OS_WIN // not the same user like the one running the session (most likely we're run via sudo or something) @@ -276,7 +276,7 @@ void Kded::noDemandLoad(const QString &obj) { - m_dontLoad.insert(obj.toLatin1(), this); + m_dontLoad.insert(obj, this); } void Kded::setModuleAutoloading(const QString &obj, bool autoload) @@ -287,7 +287,7 @@ if (!module.isValid()) { return; } - KConfigGroup cg(config, QString("Module-").append(module.pluginId())); + KConfigGroup cg(config, QStringLiteral("Module-").append(module.pluginId())); cg.writeEntry("autoload", autoload); cg.sync(); } @@ -304,7 +304,7 @@ } KSharedConfig::Ptr config = KSharedConfig::openConfig(); bool autoload = module.rawData().value(QStringLiteral("X-KDE-Kded-autoload")).toVariant().toBool(); - KConfigGroup cg(config, QString("Module-").append(module.pluginId())); + KConfigGroup cg(config, QStringLiteral("Module-").append(module.pluginId())); autoload = cg.readEntry("autoload", autoload); return autoload; } @@ -332,7 +332,7 @@ KDEDModule *Kded::loadModule(const QString &obj, bool onDemand) { // Make sure this method is only called with valid module names. - if (obj.contains('/')) { + if (obj.contains(QLatin1Char('/'))) { qCWarning(KDED) << "attempting to load invalid kded module name:" << obj; return nullptr; } @@ -373,7 +373,7 @@ kdedModule = factory->create<KDEDModule>(this); } else { // TODO: remove this fallback code, the kded modules should all be fixed instead - KPluginLoader loader2("kded_" + module.fileName()); + KPluginLoader loader2(QStringLiteral("kded_") + module.fileName()); factory = loader2.factory(); if (factory) { qCWarning(KDED).nospace() << "found kded module " << moduleId @@ -612,14 +612,14 @@ QObject::connect(m_pDirWatch, &KDirWatch::dirty, this, &KUpdateD::slotNewUpdateFile); - const QStringList dirs = QStandardPaths::locateAll(QStandardPaths::GenericDataLocation, "kconf_update", QStandardPaths::LocateDirectory); + const QStringList dirs = QStandardPaths::locateAll(QStandardPaths::GenericDataLocation, QStringLiteral("kconf_update"), QStandardPaths::LocateDirectory); for (QStringList::ConstIterator it = dirs.begin(); it != dirs.end(); ++it) { QString path = *it; Q_ASSERT(path != QDir::homePath()); - if (path[path.length() - 1] != '/') { - path += '/'; + if (path[path.length() - 1] != QLatin1Char('/')) { + path += QLatin1Char('/'); } if (!m_pDirWatch->contains(path)) { @@ -668,10 +668,10 @@ static void setupAppInfo(QApplication *app) { - app->setApplicationName("kded5"); - app->setApplicationDisplayName("KDE Daemon"); - app->setOrganizationDomain("kde.org"); - app->setApplicationVersion(KDED_VERSION_STRING); + app->setApplicationName(QStringLiteral("kded5")); + app->setApplicationDisplayName(QStringLiteral("KDE Daemon")); + app->setOrganizationDomain(QStringLiteral("kde.org")); + app->setApplicationVersion(QStringLiteral(KDED_VERSION_STRING)); } extern "C" Q_DECL_EXPORT int kdemain(int argc, char *argv[])
participants (1)
-
root@hilbert.suse.de