Hello community, here is the log from the commit of package kconfig for openSUSE:Factory checked in at 2016-07-15 12:32:13 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kconfig (Old) and /work/SRC/openSUSE:Factory/.kconfig.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kconfig" Changes: -------- --- /work/SRC/openSUSE:Factory/kconfig/kconfig.changes 2016-07-03 12:20:29.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.kconfig.new/kconfig.changes 2016-07-15 12:32:20.000000000 +0200 @@ -1,0 +2,9 @@ +Wed Jul 6 15:02:23 UTC 2016 - hrvoje.sen...@gmail.com + +- Update to 5.24.0 + * Deprecate authorizeKAction() in favor of authorizeAction() + * Fix reproducibility in builds by ensuring utf-8 encoding + * For more details please see: + https://www.kde.org/announcements/kde-frameworks-5.24.0.php + +------------------------------------------------------------------- Old: ---- kconfig-5.23.0.tar.xz New: ---- kconfig-5.24.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kconfig.spec ++++++ --- /var/tmp/diff_new_pack.VLeDaV/_old 2016-07-15 12:32:22.000000000 +0200 +++ /var/tmp/diff_new_pack.VLeDaV/_new 2016-07-15 12:32:22.000000000 +0200 @@ -18,9 +18,9 @@ %bcond_without lang %define sonum 5 -%define _tar_path 5.23 +%define _tar_path 5.24 Name: kconfig -Version: 5.23.0 +Version: 5.24.0 Release: 0 BuildRequires: cmake >= 2.8.12 BuildRequires: extra-cmake-modules >= %{_tar_path} ++++++ kconfig-5.23.0.tar.xz -> kconfig-5.24.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kconfig-5.23.0/CMakeLists.txt new/kconfig-5.24.0/CMakeLists.txt --- old/kconfig-5.23.0/CMakeLists.txt 2016-06-06 13:28:29.000000000 +0200 +++ new/kconfig-5.24.0/CMakeLists.txt 2016-07-03 02:01:59.000000000 +0200 @@ -3,7 +3,7 @@ project(KConfig) include(FeatureSummary) -find_package(ECM 5.23.0 NO_MODULE) +find_package(ECM 5.24.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) @@ -23,7 +23,7 @@ include(ECMMarkNonGuiExecutable) include(ECMPoQmTools) -set(KF5_VERSION "5.23.0") # handled by release scripts +set(KF5_VERSION "5.24.0") # handled by release scripts ecm_setup_version(${KF5_VERSION} VARIABLE_PREFIX KCONFIG VERSION_HEADER "${CMAKE_CURRENT_BINARY_DIR}/kconfig_version.h" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kconfig-5.23.0/metainfo.yaml new/kconfig-5.24.0/metainfo.yaml --- old/kconfig-5.23.0/metainfo.yaml 2016-06-06 13:28:29.000000000 +0200 +++ new/kconfig-5.24.0/metainfo.yaml 2016-07-03 02:01:59.000000000 +0200 @@ -3,7 +3,10 @@ tier: 1 type: functional platforms: - - name: All + - name: Linux + - name: Windows + - name: MacOSX + - name: Android portingAid: false deprecated: false release: true diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kconfig-5.23.0/po/it/kconfig5_qt.po new/kconfig-5.24.0/po/it/kconfig5_qt.po --- old/kconfig-5.23.0/po/it/kconfig5_qt.po 2016-06-06 13:28:29.000000000 +0200 +++ new/kconfig-5.24.0/po/it/kconfig5_qt.po 2016-07-03 02:01:59.000000000 +0200 @@ -17,7 +17,7 @@ "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=n != 1;\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/kconfig-5.23.0/po/sr/kconfig5_qt.po new/kconfig-5.24.0/po/sr/kconfig5_qt.po --- old/kconfig-5.23.0/po/sr/kconfig5_qt.po 2016-06-06 13:28:29.000000000 +0200 +++ new/kconfig-5.24.0/po/sr/kconfig5_qt.po 2016-07-03 02:01:59.000000000 +0200 @@ -3,6 +3,7 @@ msgid "" msgstr "" "Project-Id-Version: kconfig5_qt\n" +"Report-Msgid-Bugs-To: http://bugs.kde.org\n" "POT-Creation-Date: 2014-04-11 02:17+0000\n" "PO-Revision-Date: 2015-08-09 11:30+0200\n" "Last-Translator: Chusslove Illich <caslav.i...@gmx.net>\n" @@ -17,7 +18,6 @@ "X-Text-Markup: qtrich\n" "X-Environment: kde\n" "X-Qt-Contexts: true\n" -"Report-Msgid-Bugs-To: http://bugs.kde.org\n" #: core/kconfig.cpp:911 msgctxt "KConfig|" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kconfig-5.23.0/po/sr@ijekavian/kconfig5_qt.po new/kconfig-5.24.0/po/sr@ijekavian/kconfig5_qt.po --- old/kconfig-5.23.0/po/sr@ijekavian/kconfig5_qt.po 2016-06-06 13:28:29.000000000 +0200 +++ new/kconfig-5.24.0/po/sr@ijekavian/kconfig5_qt.po 2016-07-03 02:01:59.000000000 +0200 @@ -3,6 +3,7 @@ msgid "" msgstr "" "Project-Id-Version: kconfig5_qt\n" +"Report-Msgid-Bugs-To: http://bugs.kde.org\n" "POT-Creation-Date: 2014-04-11 02:17+0000\n" "PO-Revision-Date: 2015-08-09 11:30+0200\n" "Last-Translator: Chusslove Illich <caslav.i...@gmx.net>\n" @@ -17,7 +18,6 @@ "X-Text-Markup: qtrich\n" "X-Environment: kde\n" "X-Qt-Contexts: true\n" -"Report-Msgid-Bugs-To: http://bugs.kde.org\n" #: core/kconfig.cpp:911 msgctxt "KConfig|" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kconfig-5.23.0/po/sr@ijekavianlatin/kconfig5_qt.po new/kconfig-5.24.0/po/sr@ijekavianlatin/kconfig5_qt.po --- old/kconfig-5.23.0/po/sr@ijekavianlatin/kconfig5_qt.po 2016-06-06 13:28:29.000000000 +0200 +++ new/kconfig-5.24.0/po/sr@ijekavianlatin/kconfig5_qt.po 2016-07-03 02:01:59.000000000 +0200 @@ -3,6 +3,7 @@ msgid "" msgstr "" "Project-Id-Version: kconfig5_qt\n" +"Report-Msgid-Bugs-To: http://bugs.kde.org\n" "POT-Creation-Date: 2014-04-11 02:17+0000\n" "PO-Revision-Date: 2015-08-09 11:30+0200\n" "Last-Translator: Chusslove Illich <caslav.i...@gmx.net>\n" @@ -17,7 +18,6 @@ "X-Text-Markup: qtrich\n" "X-Environment: kde\n" "X-Qt-Contexts: true\n" -"Report-Msgid-Bugs-To: http://bugs.kde.org\n" #: core/kconfig.cpp:911 msgctxt "KConfig|" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kconfig-5.23.0/po/sr@latin/kconfig5_qt.po new/kconfig-5.24.0/po/sr@latin/kconfig5_qt.po --- old/kconfig-5.23.0/po/sr@latin/kconfig5_qt.po 2016-06-06 13:28:29.000000000 +0200 +++ new/kconfig-5.24.0/po/sr@latin/kconfig5_qt.po 2016-07-03 02:01:59.000000000 +0200 @@ -3,6 +3,7 @@ msgid "" msgstr "" "Project-Id-Version: kconfig5_qt\n" +"Report-Msgid-Bugs-To: http://bugs.kde.org\n" "POT-Creation-Date: 2014-04-11 02:17+0000\n" "PO-Revision-Date: 2015-08-09 11:30+0200\n" "Last-Translator: Chusslove Illich <caslav.i...@gmx.net>\n" @@ -17,7 +18,6 @@ "X-Text-Markup: qtrich\n" "X-Environment: kde\n" "X-Qt-Contexts: true\n" -"Report-Msgid-Bugs-To: http://bugs.kde.org\n" #: core/kconfig.cpp:911 msgctxt "KConfig|" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kconfig-5.23.0/src/core/kauthorized.cpp new/kconfig-5.24.0/src/core/kauthorized.cpp --- old/kconfig-5.23.0/src/core/kauthorized.cpp 2016-06-06 13:28:29.000000000 +0200 +++ new/kconfig-5.24.0/src/core/kauthorized.cpp 2016-07-03 02:01:59.000000000 +0200 @@ -216,7 +216,7 @@ return cg.readEntry(genericAction, true); } -bool KAuthorized::authorizeKAction(const QString &action) +bool KAuthorized::authorizeAction(const QString &action) { MY_D if (d->blockEverything) { @@ -229,6 +229,13 @@ return authorize(QLatin1String("action/") + action); } +#ifndef KDE_NO_DEPRECATED +bool KAuthorized::authorizeKAction(const QString &action) +{ + return authorizeAction(action); +} +#endif + bool KAuthorized::authorizeControlModule(const QString &menuId) { if (menuId.isEmpty() || kde_kiosk_exception) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kconfig-5.23.0/src/core/kauthorized.h new/kconfig-5.24.0/src/core/kauthorized.h --- old/kconfig-5.23.0/src/core/kauthorized.h 2016-06-06 13:28:29.000000000 +0200 +++ new/kconfig-5.24.0/src/core/kauthorized.h 2016-07-03 02:01:59.000000000 +0200 @@ -80,6 +80,33 @@ @endverbatim * then * @code + * KAuthorized::authorizeAction("file_new"); + * @endcode + * will return @c false. + * + * KXMLGui-based applications should not normally need to call this + * function, as KActionCollection will do it automatically. + * + * @param action The name of a QAction action. + * @return @c true if the QAction is authorized, @c false + * otherwise. + * @since 5.24 + * + * @see authorize() + */ +KCONFIGCORE_EXPORT bool authorizeAction(const QString &action); + +/** + * Returns whether the user is permitted to perform a certain action. + * + * This behaves like authorize(), except that "action/" is prepended to + * @p action. So if kdeglobals contains + * @verbatim + [KDE Action Restrictions][$i] + action/file_new=false + @endverbatim + * then + * @code * KAuthorized::authorizeKAction("file_new"); * @endcode * will return @c false. @@ -92,8 +119,11 @@ * otherwise. * * @see authorize() + * @deprecated Use authorizeAction() instead. */ -KCONFIGCORE_EXPORT bool authorizeKAction(const QString &action); +#ifndef KDE_NO_DEPRECATED +KCONFIGCORE_DEPRECATED_EXPORT bool authorizeKAction(const QString &action); +#endif /** * Returns whether the user is permitted to use a certain control diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kconfig-5.23.0/src/kconfig_compiler/kconfig_compiler.cpp new/kconfig-5.24.0/src/kconfig_compiler/kconfig_compiler.cpp --- old/kconfig-5.23.0/src/kconfig_compiler/kconfig_compiler.cpp 2016-06-06 13:28:29.000000000 +0200 +++ new/kconfig-5.24.0/src/kconfig_compiler/kconfig_compiler.cpp 2016-07-03 02:01:59.000000000 +0200 @@ -1755,6 +1755,8 @@ QTextStream h(&header); + h.setCodec("utf-8"); + h << "// This file is generated by kconfig_compiler_kf5 from " << QFileInfo(inputFilename).fileName() << "." << endl; h << "// All changes you do to this file will be lost." << endl; @@ -2216,6 +2218,8 @@ QTextStream cpp(&implementation); + cpp.setCodec("utf-8"); + cpp << "// This file is generated by kconfig_compiler_kf5 from " << QFileInfo(inputFilename).fileName() << "." << endl; cpp << "// All changes you do to this file will be lost." << endl << endl;