Hello community, here is the log from the commit of package kparts for openSUSE:Factory checked in at 2019-11-12 11:49:12 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kparts (Old) and /work/SRC/openSUSE:Factory/.kparts.new.2990 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kparts" Tue Nov 12 11:49:12 2019 rev:71 rq:747131 version:5.64.0 Changes: -------- --- /work/SRC/openSUSE:Factory/kparts/kparts.changes 2019-10-14 13:38:06.157929057 +0200 +++ /work/SRC/openSUSE:Factory/.kparts.new.2990/kparts.changes 2019-11-12 11:49:14.066960866 +0100 @@ -1,0 +2,10 @@ +Sun Nov 3 15:47:11 UTC 2019 - Christophe Giboudeaux <[email protected]> + +- Update to 5.64.0 + * New feature release + * For more details please see: + * https://www.kde.org/announcements/kde-frameworks-5.64.0.php +- Changes since 5.63.0: + * Use ECMGenerateExportHeader to manage deprecated API better + +------------------------------------------------------------------- Old: ---- kparts-5.63.0.tar.xz kparts-5.63.0.tar.xz.sig New: ---- kparts-5.64.0.tar.xz kparts-5.64.0.tar.xz.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kparts.spec ++++++ --- /var/tmp/diff_new_pack.BWmAbo/_old 2019-11-12 11:49:14.930961750 +0100 +++ /var/tmp/diff_new_pack.BWmAbo/_new 2019-11-12 11:49:14.934961755 +0100 @@ -17,14 +17,14 @@ %define lname libKF5Parts5 -%define _tar_path 5.63 +%define _tar_path 5.64 # 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: kparts -Version: 5.63.0 +Version: 5.64.0 Release: 0 Summary: Plugin framework for user interface components License: LGPL-2.1-or-later ++++++ kparts-5.63.0.tar.xz -> kparts-5.64.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kparts-5.63.0/CMakeLists.txt new/kparts-5.64.0/CMakeLists.txt --- old/kparts-5.63.0/CMakeLists.txt 2019-10-06 11:48:47.000000000 +0200 +++ new/kparts-5.64.0/CMakeLists.txt 2019-11-02 13:59:26.000000000 +0100 @@ -1,11 +1,11 @@ cmake_minimum_required(VERSION 3.5) -set(KF5_VERSION "5.63.0") # handled by release scripts -set(KF5_DEP_VERSION "5.63.0") # handled by release scripts +set(KF5_VERSION "5.64.0") # handled by release scripts +set(KF5_DEP_VERSION "5.64.0") # handled by release scripts project(KParts VERSION ${KF5_VERSION}) include(FeatureSummary) -find_package(ECM 5.63.0 NO_MODULE) +find_package(ECM 5.64.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) @@ -18,10 +18,12 @@ include(KDEPackageAppTemplates) include(ECMAddQch) -include(GenerateExportHeader) +include(ECMGenerateExportHeader) include(ECMSetupVersion) +set(EXCLUDE_DEPRECATED_BEFORE_AND_AT 0 CACHE STRING "Control how much of deprecated API is build [default=0].") + option(BUILD_QCH "Build API documentation in QCH format (for e.g. Qt Assistant, Qt Creator & KDevelop)" OFF) add_feature_info(QCH ${BUILD_QCH} "API documentation in QCH format (for e.g. Qt Assistant, Qt Creator & KDevelop)") @@ -54,6 +56,7 @@ ki18n_install(po) endif() add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x050d00) +add_definitions(-DQT_DEPRECATED_WARNINGS_SINCE=0x060000) add_definitions(-DQT_NO_FOREACH) add_subdirectory( src ) add_subdirectory(templates) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kparts-5.63.0/docs/Doxyfile.local new/kparts-5.64.0/docs/Doxyfile.local --- old/kparts-5.63.0/docs/Doxyfile.local 1970-01-01 01:00:00.000000000 +0100 +++ new/kparts-5.64.0/docs/Doxyfile.local 2019-11-02 13:59:26.000000000 +0100 @@ -0,0 +1,7 @@ +### KApiDox Project-specific Overrides File + +# define so that deprecated API is not skipped +PREDEFINED += \ + "KPARTS_ENABLE_DEPRECATED_SINCE(x, y)=1" \ + "KPARTS_BUILD_DEPRECATED_SINCE(x, y)=1" \ + "KPARTS_DEPRECATED_VERSION(x, y, t)=" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kparts-5.63.0/po/id/kparts5.po new/kparts-5.64.0/po/id/kparts5.po --- old/kparts-5.63.0/po/id/kparts5.po 2019-10-06 11:48:47.000000000 +0200 +++ new/kparts-5.64.0/po/id/kparts5.po 2019-11-02 13:59:26.000000000 +0100 @@ -17,7 +17,6 @@ "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Generator: Lokalize 19.04.3\n" #, kde-format msgctxt "NAME OF TRANSLATORS" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kparts-5.63.0/po/zh_CN/kparts5.po new/kparts-5.64.0/po/zh_CN/kparts5.po --- old/kparts-5.63.0/po/zh_CN/kparts5.po 2019-10-06 11:48:47.000000000 +0200 +++ new/kparts-5.64.0/po/zh_CN/kparts5.po 2019-11-02 13:59:26.000000000 +0100 @@ -15,7 +15,7 @@ "Project-Id-Version: kdeorg\n" "Report-Msgid-Bugs-To: https://bugs.kde.org\n" "POT-Creation-Date: 2019-08-10 02:45+0200\n" -"PO-Revision-Date: 2019-09-05 09:24\n" +"PO-Revision-Date: 2019-10-09 09:45\n" "Last-Translator: Guo Yunhe (guoyunhe)\n" "Language-Team: Chinese Simplified\n" "Language: zh_CN\n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kparts-5.63.0/src/CMakeLists.txt new/kparts-5.64.0/src/CMakeLists.txt --- old/kparts-5.63.0/src/CMakeLists.txt 2019-10-06 11:48:47.000000000 +0200 +++ new/kparts-5.64.0/src/CMakeLists.txt 2019-11-02 13:59:26.000000000 +0100 @@ -74,8 +74,16 @@ COMPONENT Devel) add_library(KF5Parts ${KParts_LIB_SRCS}) -generate_export_header(KF5Parts EXPORT_FILE_NAME ${KParts_BINARY_DIR}/kparts/kparts_export.h BASE_NAME KParts) add_library(KF5::Parts ALIAS KF5Parts) +ecm_generate_export_header(KF5Parts + EXPORT_FILE_NAME ${KParts_BINARY_DIR}/kparts/kparts_export.h + BASE_NAME KParts + GROUP_BASE_NAME KF + VERSION ${KF5_VERSION} + DEPRECATED_BASE_VERSION 0 + DEPRECATION_VERSIONS 3.0 5.0 + EXCLUDE_DEPRECATED_BEFORE_AND_AT ${EXCLUDE_DEPRECATED_BEFORE_AND_AT} +) set(KParts_BUILD_INCLUDE_DIRS ${KParts_BINARY_DIR} ${CMAKE_CURRENT_BINARY_DIR}) target_include_directories(KF5Parts PUBLIC "$<BUILD_INTERFACE:${KParts_BUILD_INCLUDE_DIRS}>") @@ -132,6 +140,7 @@ KPARTS_EXPORT KPARTS_DEPRECATED KPARTS_DEPRECATED_EXPORT + "KPARTS_DEPRECATED_VERSION(x, y, t)" TAGFILE_INSTALL_DESTINATION ${KDE_INSTALL_QTQCHDIR} QCH_INSTALL_DESTINATION ${KDE_INSTALL_QTQCHDIR} COMPONENT Devel diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kparts-5.63.0/src/browserextension.h new/kparts-5.64.0/src/browserextension.h --- old/kparts-5.63.0/src/browserextension.h 2019-10-06 11:48:47.000000000 +0200 +++ new/kparts-5.64.0/src/browserextension.h 2019-11-02 13:59:26.000000000 +0100 @@ -111,9 +111,11 @@ */ enum PopupFlag { DefaultPopupItems = 0x0000, /**< default value, no additional menu item */ +#if KPARTS_ENABLE_DEPRECATED_SINCE(5, 27) ShowNavigationItems = 0x0001, /**< @deprecated since 5.27, no effect anymore */ ShowUp = 0x0002, /**< @deprecated since 5.27, no effect anymore */ ShowReload = 0x0004, /**< @deprecated since 5.27, no effect anymore */ +#endif ShowBookmark = 0x0008, /**< show "add to bookmarks" (usually not done on the local filesystem) */ ShowCreateDirectory = 0x0010, /**< show "create directory" (usually only done on the background of the view, or * in hierarchical views like directory trees, where the new dir would be visible) */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kparts-5.63.0/src/browserrun.cpp new/kparts-5.64.0/src/browserrun.cpp --- old/kparts-5.63.0/src/browserrun.cpp 2019-10-06 11:48:47.000000000 +0200 +++ new/kparts-5.64.0/src/browserrun.cpp 2019-11-02 13:59:26.000000000 +0100 @@ -348,7 +348,7 @@ } //static, deprecated -#ifndef KPARTS_NO_DEPRECATED +#if KPARTS_BUILD_DEPRECATED_SINCE(5, 0) BrowserRun::AskSaveResult BrowserRun::askSave(const QUrl &url, KService::Ptr offer, const QString &mimeType, const QString &suggestedFileName) { Q_UNUSED(offer); @@ -362,7 +362,7 @@ #endif //static, deprecated -#ifndef KPARTS_NO_DEPRECATED +#if KPARTS_BUILD_DEPRECATED_SINCE(5, 0) BrowserRun::AskSaveResult BrowserRun::askEmbedOrSave(const QUrl &url, const QString &mimeType, const QString &suggestedFileName, int flags) { BrowserOpenOrSaveQuestion question(nullptr, url, mimeType); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kparts-5.63.0/src/browserrun.h new/kparts-5.64.0/src/browserrun.h --- old/kparts-5.63.0/src/browserrun.h 2019-10-06 11:48:47.000000000 +0200 +++ new/kparts-5.64.0/src/browserrun.h 2019-11-02 13:59:26.000000000 +0100 @@ -79,6 +79,7 @@ */ bool serverSuggestsSave() const; +#if KPARTS_ENABLE_DEPRECATED_SINCE(5, 0) enum AskSaveResult { Save, Open, Cancel }; /** * Ask the user whether to save or open a url in another application. @@ -87,17 +88,19 @@ * @param mimeType the mimetype of the URL * @param suggestedFileName optional file name suggested by the server * @return Save, Open or Cancel. - * @deprecated use BrowserOpenOrSaveQuestion + * @deprecated Since 5.0, use BrowserOpenOrSaveQuestion * @code * BrowserOpenOrSaveQuestion dlg(parent, url, mimeType, suggestedFileName); * const BrowserOpenOrSaveQuestion::Result res = dlg.askOpenOrSave(); * @endcode */ -#ifndef KPARTS_NO_DEPRECATED - static KPARTS_DEPRECATED AskSaveResult askSave(const QUrl &url, KService::Ptr offer, const QString &mimeType, const QString &suggestedFileName = QString()); + KPARTS_DEPRECATED_VERSION(5, 0, "Use KParts::BrowserOpenOrSaveQuestion") + static AskSaveResult askSave(const QUrl &url, KService::Ptr offer, const QString &mimeType, const QString &suggestedFileName = QString()); #endif enum AskEmbedOrSaveFlags { InlineDisposition = 0, AttachmentDisposition = 1 }; + +#if KPARTS_ENABLE_DEPRECATED_SINCE(5, 0) /** * Similar to askSave but for the case where the current application is * able to embed the url itself (instead of passing it to another app). @@ -106,15 +109,15 @@ * @param suggestedFileName optional filename suggested by the server * @param flags set to AttachmentDisposition if suggested by the server * @return Save, Open or Cancel. - * @deprecated use BrowserOpenOrSaveQuestion + * @deprecated Since 5.0, use BrowserOpenOrSaveQuestion * @code * BrowserOpenOrSaveQuestion dlg(parent, url, mimeType, suggestedFileName); * const BrowserOpenOrSaveQuestion::Result res = dlg.askEmbedOrSave(flags); * // Important: returns Embed now, not Open! * @endcode */ -#ifndef KPARTS_NO_DEPRECATED - static KPARTS_DEPRECATED AskSaveResult askEmbedOrSave(const QUrl &url, const QString &mimeType, const QString &suggestedFileName = QString(), int flags = 0); + KPARTS_DEPRECATED_VERSION(5, 0, "Use KParts::BrowserOpenOrSaveQuestion") + static AskSaveResult askEmbedOrSave(const QUrl &url, const QString &mimeType, const QString &suggestedFileName = QString(), int flags = 0); #endif // virtual so that KHTML can implement differently (HTML cache) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kparts-5.63.0/src/readonlypart.cpp new/kparts-5.64.0/src/readonlypart.cpp --- old/kparts-5.63.0/src/readonlypart.cpp 2019-10-06 11:48:47.000000000 +0200 +++ new/kparts-5.64.0/src/readonlypart.cpp 2019-11-02 13:59:26.000000000 +0100 @@ -84,7 +84,7 @@ d->m_file = localFilePath; } -#ifndef KPARTS_NO_DEPRECATED +#if KPARTS_BUILD_DEPRECATED_SINCE(5, 0) bool ReadOnlyPart::isLocalFileTemporary() const { Q_D(const ReadOnlyPart); @@ -93,7 +93,7 @@ } #endif -#ifndef KPARTS_NO_DEPRECATED +#if KPARTS_BUILD_DEPRECATED_SINCE(5, 0) void ReadOnlyPart::setLocalFileTemporary(bool temp) { Q_D(ReadOnlyPart); @@ -116,7 +116,7 @@ return d->m_showProgressInfo; } -#ifndef KDE_NO_COMPAT +#if KPARTS_BUILD_DEPRECATED_SINCE(3, 0) void ReadOnlyPart::showProgressInfo(bool show) { Q_D(ReadOnlyPart); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kparts-5.63.0/src/readonlypart.h new/kparts-5.64.0/src/readonlypart.h --- old/kparts-5.63.0/src/readonlypart.h 2019-10-06 11:48:47.000000000 +0200 +++ new/kparts-5.64.0/src/readonlypart.h 2019-11-02 13:59:26.000000000 +0100 @@ -94,7 +94,11 @@ */ bool isProgressInfoEnabled() const; -#ifndef KDE_NO_COMPAT +#if KPARTS_ENABLE_DEPRECATED_SINCE(3, 0) + /** + * @deprecated Since 3.0, use setProgressInfoEnabled(bool) + */ + KPARTS_DEPRECATED_VERSION(3, 0, "Use ReadOnlyPart::setProgressInfoEnabled(bool)") void showProgressInfo(bool show); #endif @@ -282,18 +286,18 @@ */ void guiActivateEvent(GUIActivateEvent *event) override; +#if KPARTS_ENABLE_DEPRECATED_SINCE(5, 0) /** * @internal */ -#ifndef KPARTS_NO_DEPRECATED - KPARTS_DEPRECATED bool isLocalFileTemporary() const; -#endif + KPARTS_DEPRECATED_VERSION(5, 0, "Do not use feature") + bool isLocalFileTemporary() const; /** * @internal */ -#ifndef KPARTS_NO_DEPRECATED - KPARTS_DEPRECATED void setLocalFileTemporary(bool temp); + KPARTS_DEPRECATED_VERSION(5, 0, "Do not use feature") + void setLocalFileTemporary(bool temp); #endif /** diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kparts-5.63.0/templates/kpartsapp/kpartsapp.kdevtemplate new/kparts-5.64.0/templates/kpartsapp/kpartsapp.kdevtemplate --- old/kparts-5.63.0/templates/kpartsapp/kpartsapp.kdevtemplate 2019-10-06 11:48:47.000000000 +0200 +++ new/kparts-5.64.0/templates/kpartsapp/kpartsapp.kdevtemplate 2019-11-02 13:59:26.000000000 +0100 @@ -9,10 +9,11 @@ Name[de]=KParts-Programm Name[en_GB]=KParts Application Name[es]=Aplicación de KParts +Name[et]=KPartsi rakendus Name[eu]=KParts aplikazioa Name[fi]=KParts-sovellus Name[fr]=Application KParts -Name[gl]=Aplicativo de KParts +Name[gl]=Aplicación de KParts Name[hu]=KParts alkalmazás Name[ia]=Application de KParts Name[id]=Aplikasi KParts @@ -48,10 +49,11 @@ Comment[de]=Generiert ein Programm auf der Basis von KParts-Framework und verwendet CMake. Comment[en_GB]=Generate an application built on the KParts framework, using CMake. Comment[es]=Generar una construcción de aplicación sobre la infraestructura KParts, usando CMake. +Comment[et]=KPartsi raamistikule tugineva rakenduse loomine CMake'i abil. Comment[eu]=Sortu aplikazio bat KParts-framework azpiegituran eraikia, CMake erabiliz. Comment[fi]=Luo KParts-sovelluskehykseen pohjautuva sovellus käyttäen CMakea. Comment[fr]=Générer une application construite sur l'environnement KParts, utilisant CMake. -Comment[gl]=Xerar un aplicativo construído coa infraestrutura KParts, usando CMake. +Comment[gl]=Xerar unha aplicación construída coa infraestrutura KParts, usando CMake. Comment[hu]=Generál egy, a KParts keretrendszerre épülő, CMake-et használó alkalmazást. Comment[ia]=Generar un application construite sur le skeleto KParts, usante CMake. Comment[id]=Menghasilkan sebuah pembikinan aplikasi pada kerangka kerja KParts, menggunakan CMake.
