Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package kplotting for openSUSE:Factory checked in at 2021-09-16 23:14:43 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kplotting (Old) and /work/SRC/openSUSE:Factory/.kplotting.new.1899 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kplotting" Thu Sep 16 23:14:43 2021 rev:94 rq:919211 version:5.86.0 Changes: -------- --- /work/SRC/openSUSE:Factory/kplotting/kplotting.changes 2021-08-16 10:17:56.002628182 +0200 +++ /work/SRC/openSUSE:Factory/.kplotting.new.1899/kplotting.changes 2021-09-16 23:17:14.463957900 +0200 @@ -1,0 +2,15 @@ +Wed Sep 15 08:24:15 UTC 2021 - Christophe Giboudeaux <christo...@krop.fr> + +- Drop the unneeded baselibs.conf. + +------------------------------------------------------------------- +Mon Sep 6 06:22:16 UTC 2021 - Christophe Giboudeaux <christo...@krop.fr> + +- Update to 5.86.0 + * New feature release + * For more details please see: + * https://kde.org/announcements/frameworks/5/5.86.0 +- Changes since 5.85.0: + * We depend against c++-17 so we can use qOverload directly + +------------------------------------------------------------------- Old: ---- baselibs.conf kplotting-5.85.0.tar.xz kplotting-5.85.0.tar.xz.sig New: ---- kplotting-5.86.0.tar.xz kplotting-5.86.0.tar.xz.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kplotting.spec ++++++ --- /var/tmp/diff_new_pack.gXmEnV/_old 2021-09-16 23:17:15.015958471 +0200 +++ /var/tmp/diff_new_pack.gXmEnV/_new 2021-09-16 23:17:15.019958476 +0200 @@ -17,7 +17,7 @@ %define lname libKF5Plotting5 -%define _tar_path 5.85 +%define _tar_path 5.86 # Full KF5 version (e.g. 5.33.0) %{!?_kf5_version: %global _kf5_version %{version}} # Last major and minor KF5 version (e.g. 5.33) @@ -25,7 +25,7 @@ # Only needed for the package signature condition %bcond_without lang Name: kplotting -Version: 5.85.0 +Version: 5.86.0 Release: 0 Summary: KDE Data plotting library License: LGPL-2.1-or-later @@ -36,7 +36,6 @@ Source1: https://download.kde.org/stable/frameworks/%{_tar_path}/%{name}-%{version}.tar.xz.sig Source2: frameworks.keyring %endif -Source99: baselibs.conf BuildRequires: extra-cmake-modules >= %{_tar_path} BuildRequires: fdupes BuildRequires: kf5-filesystem ++++++ kplotting-5.85.0.tar.xz -> kplotting-5.86.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kplotting-5.85.0/CMakeLists.txt new/kplotting-5.86.0/CMakeLists.txt --- old/kplotting-5.85.0/CMakeLists.txt 2021-07-15 00:35:10.000000000 +0200 +++ new/kplotting-5.86.0/CMakeLists.txt 2021-09-04 17:47:55.000000000 +0200 @@ -1,10 +1,10 @@ cmake_minimum_required(VERSION 3.16) -set(KF_VERSION "5.85.0") # handled by release scripts +set(KF_VERSION "5.86.0") # handled by release scripts project(KPlotting VERSION ${KF_VERSION}) include(FeatureSummary) -find_package(ECM 5.85.0 NO_MODULE) +find_package(ECM 5.86.0 NO_MODULE) set_package_properties(ECM PROPERTIES TYPE REQUIRED DESCRIPTION "Extra CMake Modules." URL "https://commits.kde.org/extra-cmake-modules") feature_summary(WHAT REQUIRED_PACKAGES_NOT_FOUND FATAL_ON_MISSING_REQUIRED_PACKAGES) @@ -16,7 +16,7 @@ include(KDECMakeSettings) include(KDEGitCommitHooks) -set(REQUIRED_QT_VERSION 5.15.0) +set(REQUIRED_QT_VERSION 5.15.2) find_package(Qt5Widgets ${REQUIRED_QT_VERSION} REQUIRED NO_MODULE) @@ -36,7 +36,7 @@ VERSION_HEADER "${CMAKE_CURRENT_BINARY_DIR}/kplotting_version.h" PACKAGE_VERSION_FILE "${CMAKE_CURRENT_BINARY_DIR}/KF5PlottingConfigVersion.cmake" SOVERSION 5) -add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x050f00) +add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x050f02) add_subdirectory(src) add_subdirectory(examples) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kplotting-5.85.0/examples/testplot_widget.cpp new/kplotting-5.86.0/examples/testplot_widget.cpp --- old/kplotting-5.85.0/examples/testplot_widget.cpp 2021-07-15 00:35:10.000000000 +0200 +++ new/kplotting-5.86.0/examples/testplot_widget.cpp 2021-09-04 17:47:55.000000000 +0200 @@ -39,7 +39,7 @@ setCentralWidget(w); - connect(PlotSelector, QOverload<int>::of(&QComboBox::activated), this, &TestPlot::slotSelectPlot); + connect(PlotSelector, qOverload<int>(&QComboBox::activated), this, &TestPlot::slotSelectPlot); slotSelectPlot(PlotSelector->currentIndex()); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kplotting-5.85.0/metainfo.yaml new/kplotting-5.86.0/metainfo.yaml --- old/kplotting-5.85.0/metainfo.yaml 2021-07-15 00:35:10.000000000 +0200 +++ new/kplotting-5.86.0/metainfo.yaml 2021-09-04 17:47:55.000000000 +0200 @@ -6,7 +6,7 @@ - name: Linux - name: FreeBSD - name: Windows - - name: MacOSX + - name: macOS - name: Android portingAid: false deprecated: false diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kplotting-5.85.0/src/kplotobject.cpp new/kplotting-5.86.0/src/kplotobject.cpp --- old/kplotting-5.85.0/src/kplotobject.cpp 2021-07-15 00:35:10.000000000 +0200 +++ new/kplotting-5.86.0/src/kplotobject.cpp 2021-09-04 17:47:55.000000000 +0200 @@ -248,7 +248,7 @@ QPointF Previous = QPointF(); // Initialize to null - for (const KPlotPoint *pp : qAsConst(d->pList)) { + for (const KPlotPoint *pp : std::as_const(d->pList)) { // q is the position of the point in screen pixel coordinates QPointF q = pw->mapToWidget(pp->position()); @@ -263,7 +263,7 @@ // Draw points: if (d->type & Points) { - for (const KPlotPoint *pp : qAsConst(d->pList)) { + for (const KPlotPoint *pp : std::as_const(d->pList)) { // q is the position of the point in screen pixel coordinates QPointF q = pw->mapToWidget(pp->position()); if (pw->pixRect().contains(q.toPoint(), false)) { @@ -361,7 +361,7 @@ // Draw labels painter->setPen(labelPen()); - for (KPlotPoint *pp : qAsConst(d->pList)) { + for (KPlotPoint *pp : std::as_const(d->pList)) { QPoint q = pw->mapToWidget(pp->position()).toPoint(); if (pw->pixRect().contains(q, false) && !pp->label().isEmpty()) { pw->placeLabel(painter, pp); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kplotting-5.85.0/src/kplotwidget.cpp new/kplotting-5.86.0/src/kplotwidget.cpp --- old/kplotting-5.85.0/src/kplotwidget.cpp 2021-07-15 00:35:10.000000000 +0200 +++ new/kplotting-5.86.0/src/kplotwidget.cpp 2021-09-04 17:47:55.000000000 +0200 @@ -130,7 +130,10 @@ void KPlotWidget::Private::calcDataRectLimits(double x1, double x2, double y1, double y2) { - double XA1, XA2, YA1, YA2; + double XA1; + double XA2; + double YA1; + double YA2; if (x2 < x1) { XA1 = x2; XA2 = x1; @@ -167,7 +170,10 @@ void KPlotWidget::setSecondaryLimits(double x1, double x2, double y1, double y2) { - double XA1, XA2, YA1, YA2; + double XA1; + double XA2; + double YA1; + double YA2; if (x2 < x1) { XA1 = x2; XA2 = x1; @@ -395,7 +401,7 @@ QList<KPlotPoint *> KPlotWidget::pointsUnderPoint(const QPoint &p) const { QList<KPlotPoint *> pts; - for (const KPlotObject *po : qAsConst(d->objectList)) { + for (const KPlotObject *po : std::as_const(d->objectList)) { const auto pointsList = po->points(); for (KPlotPoint *pp : pointsList) { if ((p - mapToWidget(pp->position()).toPoint()).manhattanLength() <= 4) { @@ -725,7 +731,7 @@ resetPlotMask(); - for (KPlotObject *po : qAsConst(d->objectList)) { + for (KPlotObject *po : std::as_const(d->objectList)) { po->draw(&p, this); }