Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package qcustomplot for openSUSE:Factory checked in at 2021-05-02 18:36:15 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/qcustomplot (Old) and /work/SRC/openSUSE:Factory/.qcustomplot.new.1947 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "qcustomplot" Sun May 2 18:36:15 2021 rev:2 rq:889825 version:2.1.0 Changes: -------- --- /work/SRC/openSUSE:Factory/qcustomplot/qcustomplot.changes 2018-12-19 13:50:55.095159848 +0100 +++ /work/SRC/openSUSE:Factory/.qcustomplot.new.1947/qcustomplot.changes 2021-05-02 18:39:25.540101634 +0200 @@ -1,0 +2,21 @@ +Thu Apr 29 22:40:01 UTC 2021 - Ferdinand Thiessen <r...@fthiessen.de> + +- Update to version 2.1.0: + * Compatibility up to Qt 6.0 + * Fixed bug where QCPLayer::replot wouldn't issue full replot even + though invalidated buffers existed + * Fixed QCPCurve bug causing rendering artifacts when using + keys/values smaller than about 1e-12 in some constellations + * Fixed getValueRange when used with explicit keyRange, now doesn't + use key range expanded by one point to each side anymore + * Fixed bug of QCPAxis tick label font size change only propagating + to the layout after second call to replot + * Fixed bug of QCPTextElement not respecting the configured text + alignment flag + * Various documentation typos and improvements + * QCPLegend::clearItems is now faster in case of many legend items + * Work around Qt bug, drawing lines with pen width 1 as slow as + with pen widths > 1 (polyfill instead of line algorithm, + also on Normal-DPI), by using pen width 0 in such cases. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ qcustomplot.spec ++++++ --- /var/tmp/diff_new_pack.AXShrA/_old 2021-05-02 18:39:26.048099470 +0200 +++ /var/tmp/diff_new_pack.AXShrA/_new 2021-05-02 18:39:26.052099453 +0200 @@ -17,18 +17,19 @@ Name: qcustomplot -Version: 2.0.1 +Version: 2.1.0 %define sover 2 Release: 0 Summary: Qt widget for plotting and data visualization License: GPL-3.0-or-later -URL: http://www.qcustomplot.com/ +URL: https://www.qcustomplot.com/ Group: Development/Libraries/C and C++ -Source0: https://www.qcustomplot.com/release/%{version}/QCustomPlot.tar.gz -Source1: https://www.qcustomplot.com/release/%{version}/QCustomPlot-sharedlib.tar.gz +Source0: https://www.qcustomplot.com/release/%{version}fixed/QCustomPlot.tar.gz +Source1: https://www.qcustomplot.com/release/%{version}fixed/QCustomPlot-sharedlib.tar.gz # PATCH-FIX-OPENSUSE relwithdebug.diff -- build with debug symbols Patch1: relwithdebug.patch BuildRequires: fdupes +BuildRequires: gcc-c++ >= 4.6.4 BuildRequires: gdb BuildRequires: pkg-config BuildRequires: pkgconfig(Qt5Core) @@ -64,7 +65,7 @@ Summary: Development files for QCustomPlot Group: Development/Libraries/C and C++ Requires: lib%{name}%{sover} = %{version} -Provides: lib%{name}-devel = %{version} +# Last used 2018 with version 2.0.0 Provides: %{name}-qt5-devel = %{version} Obsoletes: %{name}-qt5-devel < %{version} @@ -116,6 +117,7 @@ install -Dm 0644 -t %{buildroot}%{_docdir}/%{name}/ changelog.txt documentation/qcustomplot.qch cp -r documentation/html/ %{buildroot}%{_docdir}/%{name}/ cp -r examples %{buildroot}%{_docdir}/%{name}/ +find %{buildroot}%{_docdir}/%{name}/ -type f -exec chmod 0644 \{\} + %fdupes %{buildroot}/%{_prefix} %post -n lib%{name}%{sover} -p /sbin/ldconfig ++++++ QCustomPlot-sharedlib.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qcustomplot-sharedlib/readme.txt new/qcustomplot-sharedlib/readme.txt --- old/qcustomplot-sharedlib/readme.txt 2015-07-30 00:31:54.000000000 +0200 +++ new/qcustomplot-sharedlib/readme.txt 2021-03-29 02:30:44.000000000 +0200 @@ -15,4 +15,10 @@ terminal: "export LD_LIBRARY_PATH=." before launching the application from the same terminal session). This is useful for testing if it works. The other option is to install the library files to one of the default locations for shared objects: /usr/local/lib or /usr/lib for example. + - On MS Windows, copy any additional needed Qt shared libraries: + The deployment tool windeployqt.exe (e.g in C:\Qt\6.0.2\mingw81_64\bin\) will help with copying those files, when called + with the "sharedlib-usage.exe" as parameter. + In addition, the libraries Qt6PrintSupport.dll, libgcc_s_seh-1.dll, libstdc++-6.dll, and libwinpthread-1.dll are usually + needed, and can be found in your Qt bin directory, e.g. C:\Qt\6.0.2\mingw81_64\bin\. + More details can be found here: https://doc.qt.io/qt-6/windows-deployment.html - Launch the application. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qcustomplot-sharedlib/sharedlib-compilation/sharedlib-compilation.pro new/qcustomplot-sharedlib/sharedlib-compilation/sharedlib-compilation.pro --- old/qcustomplot-sharedlib/sharedlib-compilation/sharedlib-compilation.pro 2018-06-25 01:04:26.000000000 +0200 +++ new/qcustomplot-sharedlib/sharedlib-compilation/sharedlib-compilation.pro 2021-03-29 02:30:44.000000000 +0200 @@ -5,6 +5,9 @@ QT += core gui greaterThan(QT_MAJOR_VERSION, 4): QT += widgets printsupport +greaterThan(QT_MAJOR_VERSION, 4): CONFIG += c++11 +lessThan(QT_MAJOR_VERSION, 5): QMAKE_CXXFLAGS += -std=c++11 + DEFINES += QCUSTOMPLOT_COMPILE_LIBRARY TEMPLATE = lib CONFIG += debug_and_release build_all @@ -14,7 +17,7 @@ CONFIG += shared } -VERSION = 2.0.1 +VERSION = 2.1.0 TARGET = qcustomplot CONFIG(debug, debug|release) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qcustomplot-sharedlib/sharedlib-usage/main.cpp new/qcustomplot-sharedlib/sharedlib-usage/main.cpp --- old/qcustomplot-sharedlib/sharedlib-usage/main.cpp 2017-08-13 16:09:18.000000000 +0200 +++ new/qcustomplot-sharedlib/sharedlib-usage/main.cpp 2019-08-29 22:04:30.000000000 +0200 @@ -1,31 +1,31 @@ -#include <QApplication> -#include <QMainWindow> -#include "../../qcustomplot.h" - -int main(int argc, char *argv[]) -{ - QApplication a(argc, argv); - QMainWindow window; - - // setup customPlot as central widget of window: - QCustomPlot customPlot; - window.setCentralWidget(&customPlot); - - // create plot (from quadratic plot example): - QVector<double> x(101), y(101); - for (int i=0; i<101; ++i) - { - x[i] = i/50.0 - 1; - y[i] = x[i]*x[i]; - } - customPlot.addGraph(); - customPlot.graph(0)->setData(x, y); - customPlot.xAxis->setLabel("x"); - customPlot.yAxis->setLabel("y"); - customPlot.rescaleAxes(); - - window.setGeometry(100, 100, 500, 400); - window.show(); - return a.exec(); -} - +#include <QApplication> +#include <QMainWindow> +#include "../../qcustomplot.h" + +int main(int argc, char *argv[]) +{ + QApplication a(argc, argv); + QMainWindow window; + + // setup customPlot as central widget of window: + QCustomPlot customPlot; + window.setCentralWidget(&customPlot); + + // create plot (from quadratic plot example): + QVector<double> x(101), y(101); + for (int i=0; i<101; ++i) + { + x[i] = i/50.0 - 1; + y[i] = x[i]*x[i]; + } + customPlot.addGraph(); + customPlot.graph(0)->setData(x, y); + customPlot.xAxis->setLabel("x"); + customPlot.yAxis->setLabel("y"); + customPlot.rescaleAxes(); + + window.setGeometry(100, 100, 500, 400); + window.show(); + return a.exec(); +} + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qcustomplot-sharedlib/sharedlib-usage/sharedlib-usage.pro new/qcustomplot-sharedlib/sharedlib-usage/sharedlib-usage.pro --- old/qcustomplot-sharedlib/sharedlib-usage/sharedlib-usage.pro 2013-08-03 01:25:23.000000000 +0200 +++ new/qcustomplot-sharedlib/sharedlib-usage/sharedlib-usage.pro 2021-03-29 02:30:44.000000000 +0200 @@ -12,6 +12,9 @@ QT += core gui greaterThan(QT_MAJOR_VERSION, 4): QT += widgets printsupport +greaterThan(QT_MAJOR_VERSION, 4): CONFIG += c++11 +lessThan(QT_MAJOR_VERSION, 5): QMAKE_CXXFLAGS += -std=c++11 + TARGET = sharedlib-usage TEMPLATE = app @@ -20,10 +23,10 @@ # Link with debug version of qcustomplot if compiling in debug mode, else with release library: CONFIG(debug, release|debug) { - win32:QCPLIB = qcustomplotd1 + win32:QCPLIB = qcustomplotd2 else: QCPLIB = qcustomplotd } else { - win32:QCPLIB = qcustomplot1 + win32:QCPLIB = qcustomplot2 else: QCPLIB = qcustomplot } LIBS += -L./ -l$$QCPLIB ++++++ QCustomPlot.tar.gz ++++++ ++++ 34257 lines of diff (skipped)