commit attica-qt5 for openSUSE:Factory
Hello community, here is the log from the commit of package attica-qt5 for openSUSE:Factory checked in at 2018-10-01 08:02:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/attica-qt5 (Old) and /work/SRC/openSUSE:Factory/.attica-qt5.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "attica-qt5" Mon Oct 1 08:02:52 2018 rev:58 rq:635966 version:5.50.0 Changes: -------- --- /work/SRC/openSUSE:Factory/attica-qt5/attica-qt5.changes 2018-08-24 16:50:32.837109896 +0200 +++ /work/SRC/openSUSE:Factory/.attica-qt5.new/attica-qt5.changes 2018-10-01 08:02:56.902464299 +0200 @@ -1,0 +2,11 @@ +Thu Sep 13 21:58:44 UTC 2018 - lbeltrame@kde.org + +- Update to 5.50.0 + * New feature release + * For more details please see: + * https://www.kde.org/announcements/kde-frameworks-5.50.0.php +- Changes since 5.49.0: + * Add support for proposed tags addition in OCS 1.7 + * Use QTEST_GUILESS_MAIN + +------------------------------------------------------------------- Old: ---- attica-5.49.0.tar.xz New: ---- attica-5.50.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ attica-qt5.spec ++++++ --- /var/tmp/diff_new_pack.U77WrK/_old 2018-10-01 08:02:57.378464044 +0200 +++ /var/tmp/diff_new_pack.U77WrK/_new 2018-10-01 08:02:57.378464044 +0200 @@ -19,13 +19,13 @@ %define sonum 5 %define rname attica %define _libname KF5Attica -%define _tar_path 5.49 +%define _tar_path 5.50 # 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}')} Name: attica-qt5 -Version: 5.49.0 +Version: 5.50.0 Release: 0 Summary: Open Collaboration Service client library License: LGPL-2.1-or-later ++++++ attica-5.49.0.tar.xz -> attica-5.50.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/attica-5.49.0/CMakeLists.txt new/attica-5.50.0/CMakeLists.txt --- old/attica-5.49.0/CMakeLists.txt 2018-08-04 10:41:29.000000000 +0200 +++ new/attica-5.50.0/CMakeLists.txt 2018-09-01 00:18:54.000000000 +0200 @@ -1,11 +1,11 @@ cmake_minimum_required(VERSION 3.0) -set(KF5_VERSION "5.49.0") # handled by release scripts +set(KF5_VERSION "5.50.0") # handled by release scripts project(Attica VERSION ${KF5_VERSION}) # ECM setup include(FeatureSummary) -find_package(ECM 5.49.0 NO_MODULE) +find_package(ECM 5.50.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) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/attica-5.49.0/autotests/configtest.cpp new/attica-5.50.0/autotests/configtest.cpp --- old/attica-5.49.0/autotests/configtest.cpp 2018-08-04 10:41:29.000000000 +0200 +++ new/attica-5.50.0/autotests/configtest.cpp 2018-09-01 00:18:54.000000000 +0200 @@ -53,6 +53,6 @@ QVERIFY(!config.isValid()); } -QTEST_MAIN(ConfigTest) +QTEST_GUILESS_MAIN(ConfigTest) #include "configtest.moc" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/attica-5.49.0/autotests/providertest.cpp new/attica-5.50.0/autotests/providertest.cpp --- old/attica-5.49.0/autotests/providertest.cpp 2018-08-04 10:41:29.000000000 +0200 +++ new/attica-5.50.0/autotests/providertest.cpp 2018-09-01 00:18:54.000000000 +0200 @@ -145,6 +145,6 @@ QVERIFY(m_manager->providers().size() == 0); } -QTEST_MAIN(ProviderTest) +QTEST_GUILESS_MAIN(ProviderTest) #include "providertest.moc" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/attica-5.49.0/src/content.cpp new/attica-5.50.0/src/content.cpp --- old/attica-5.49.0/src/content.cpp 2018-08-04 10:41:29.000000000 +0200 +++ new/attica-5.50.0/src/content.cpp 2018-09-01 00:18:54.000000000 +0200 @@ -39,6 +39,7 @@ QDateTime m_updated; QList<Icon> m_icons; QList<QUrl> m_videos; + QStringList m_tags; QMap<QString, QString> m_extendedAttributes; @@ -234,6 +235,7 @@ desc.setGpgSignature(attribute(QLatin1String("downloadgpgsignature") + num)); desc.setPackageName(attribute(QLatin1String("downloadpackagename") + num)); desc.setRepository(attribute(QLatin1String("downloadrepository") + num)); + desc.setTags(attribute(QLatin1String("downloadtags") + num).split(QLatin1Char(','))); return desc; } @@ -327,3 +329,13 @@ { d->m_videos = videos; } + +QStringList Attica::Content::tags() const +{ + return d->m_tags; +} + +void Attica::Content::setTags(const QStringList &tags) +{ + d->m_tags = tags; +} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/attica-5.49.0/src/content.h new/attica-5.50.0/src/content.h --- old/attica-5.49.0/src/content.h 2018-08-04 10:41:29.000000000 +0200 +++ new/attica-5.50.0/src/content.h 2018-09-01 00:18:54.000000000 +0200 @@ -233,6 +233,18 @@ void setVideos(QList<QUrl> videos); /** + * Get all the tags for this content + * @since 5.50 + */ + QStringList tags() const; + /** + * Set the list of tags + * @param tags list of tags for this content + * @since 5.50 + */ + void setTags(const QStringList &tags); + + /** * Add an attribute that is not included in the basis set of attributes exposed by the Content class. * If the attribute already exists it gets overwritten. * @param key the key of the attribute diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/attica-5.49.0/src/contentparser.cpp new/attica-5.50.0/src/contentparser.cpp --- old/attica-5.49.0/src/contentparser.cpp 2018-08-04 10:41:29.000000000 +0200 +++ new/attica-5.50.0/src/contentparser.cpp 2018-09-01 00:18:54.000000000 +0200 @@ -78,6 +78,8 @@ videos = content.videos(); videos.append(video); content.setVideos(videos); + } else if (xml.name() == QLatin1String("tags")) { + content.setTags(xml.readElementText().split(QLatin1Char(','))); } else { content.addAttribute(xml.name().toString(), xml.readElementText()); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/attica-5.49.0/src/downloaddescription.cpp new/attica-5.50.0/src/downloaddescription.cpp --- old/attica-5.49.0/src/downloaddescription.cpp 2018-08-04 10:41:29.000000000 +0200 +++ new/attica-5.50.0/src/downloaddescription.cpp 2018-09-01 00:18:54.000000000 +0200 @@ -44,6 +44,7 @@ QString packageName; QString repository; uint size = 0; + QStringList tags; }; } @@ -292,3 +293,13 @@ { d->repository = repository; } + +QStringList Attica::DownloadDescription::tags() const +{ + return d->tags; +} + +void Attica::DownloadDescription::setTags(const QStringList &tags) +{ + d->tags = tags; +} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/attica-5.49.0/src/downloaddescription.h new/attica-5.50.0/src/downloaddescription.h --- old/attica-5.49.0/src/downloaddescription.h 2018-08-04 10:41:29.000000000 +0200 +++ new/attica-5.50.0/src/downloaddescription.h 2018-09-01 00:18:54.000000000 +0200 @@ -83,6 +83,11 @@ QString packageName() const; Q_DECL_DEPRECATED QString repository(); QString repository() const; + /** + * Get the list of tags for this download description + * @since 5.50 + */ + QStringList tags() const; void setId(int id); void setType(Attica::DownloadDescription::Type type); @@ -99,6 +104,11 @@ void setGpgSignature(const QString &signature); void setPackageName(const QString &packageName); void setRepository(const QString &repository); + /** + * Set the list of tags for this download description + * @since 5.50 + */ + void setTags(const QStringList &tags); private: class Private; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/attica-5.49.0/src/parser.cpp new/attica-5.50.0/src/parser.cpp --- old/attica-5.49.0/src/parser.cpp 2018-08-04 10:41:29.000000000 +0200 +++ new/attica-5.50.0/src/parser.cpp 2018-09-01 00:18:54.000000000 +0200 @@ -149,7 +149,7 @@ } if (xml.hasError()) { // TODO: error handling in metadata? - qWarning() << "parseList():: XML Error: " << xml.errorString() << "\nIn XML:\n" << xmlString; + qWarning() << "parseList():: XML Error: " << xml.errorString() << "\nIn xml name" << xml.name() << "with text" << xml.text() << "at offset:\n" << xml.characterOffset() << "\nIn XML:\n" << xmlString; } return items;
participants (1)
-
root