Hello community, here is the log from the commit of package kunitconversion for openSUSE:Factory checked in at 2018-07-21 10:15:44 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kunitconversion (Old) and /work/SRC/openSUSE:Factory/.kunitconversion.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kunitconversion" Sat Jul 21 10:15:44 2018 rev:56 rq:623311 version:5.48.0 Changes: -------- --- /work/SRC/openSUSE:Factory/kunitconversion/kunitconversion.changes 2018-06-22 13:24:14.447360289 +0200 +++ /work/SRC/openSUSE:Factory/.kunitconversion.new/kunitconversion.changes 2018-07-21 10:15:45.963093012 +0200 @@ -1,0 +2,10 @@ +Mon Jul 16 04:37:44 UTC 2018 - [email protected] + +- Update to 5.48.0 + * New feature release + * For more details please see: + * https://www.kde.org/announcements/kde-frameworks-5.48.0.php +- Changes since 5.47.0: + * Use override + +------------------------------------------------------------------- Old: ---- kunitconversion-5.47.0.tar.xz New: ---- kunitconversion-5.48.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kunitconversion.spec ++++++ --- /var/tmp/diff_new_pack.B6cfUT/_old 2018-07-21 10:15:46.567092870 +0200 +++ /var/tmp/diff_new_pack.B6cfUT/_new 2018-07-21 10:15:46.571092869 +0200 @@ -18,13 +18,13 @@ %bcond_without lang %define lname libKF5UnitConversion5 -%define _tar_path 5.47 +%define _tar_path 5.48 # 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: %global _kf5_bugfix_version %(echo %{_kf5_version} | awk -F. '{print $1"."$2}')} +%{!?_kf5_bugfix_version: %define _kf5_bugfix_version %(echo %{_kf5_version} | awk -F. '{print $1"."$2}')} Name: kunitconversion -Version: 5.47.0 +Version: 5.48.0 Release: 0 BuildRequires: cmake >= 3.0 BuildRequires: extra-cmake-modules >= %{_kf5_bugfix_version} ++++++ kunitconversion-5.47.0.tar.xz -> kunitconversion-5.48.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kunitconversion-5.47.0/CMakeLists.txt new/kunitconversion-5.48.0/CMakeLists.txt --- old/kunitconversion-5.47.0/CMakeLists.txt 2018-06-02 20:07:21.000000000 +0200 +++ new/kunitconversion-5.48.0/CMakeLists.txt 2018-07-08 00:33:01.000000000 +0200 @@ -1,11 +1,11 @@ cmake_minimum_required(VERSION 3.0) -set(KF5_VERSION "5.47.0") # handled by release scripts -set(KF5_DEP_VERSION "5.47.0") # handled by release scripts +set(KF5_VERSION "5.48.0") # handled by release scripts +set(KF5_DEP_VERSION "5.48.0") # handled by release scripts project(KUnitConversion VERSION ${KF5_VERSION}) include(FeatureSummary) -find_package(ECM 5.47.0 NO_MODULE) +find_package(ECM 5.48.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/kunitconversion-5.47.0/autotests/convertertest.cpp new/kunitconversion-5.48.0/autotests/convertertest.cpp --- old/kunitconversion-5.47.0/autotests/convertertest.cpp 2018-06-02 20:07:21.000000000 +0200 +++ new/kunitconversion-5.48.0/autotests/convertertest.cpp 2018-07-08 00:33:01.000000000 +0200 @@ -73,7 +73,7 @@ { public: CurrencyTestThread(Converter &c) : m_c(c) {} - void run() Q_DECL_OVERRIDE + void run() override { Value input = Value(1000, Eur); Value v = m_c.convert(input, QStringLiteral("$")); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kunitconversion-5.47.0/po/pt_BR/kunitconversion5.po new/kunitconversion-5.48.0/po/pt_BR/kunitconversion5.po --- old/kunitconversion-5.47.0/po/pt_BR/kunitconversion5.po 2018-06-02 20:07:21.000000000 +0200 +++ new/kunitconversion-5.48.0/po/pt_BR/kunitconversion5.po 2018-07-08 00:33:01.000000000 +0200 @@ -10755,8 +10755,6 @@ #: thermal_flux.cpp:32 #, kde-format -#| msgctxt "%1 value, %2 unit symbol (acceleration)" -#| msgid "%1 %2" msgctxt "%1 value, %2 unit symbol (thermal flux density)" msgid "%1 %2" msgstr "%1 %2" @@ -10769,35 +10767,24 @@ #: thermal_flux.cpp:36 #, kde-format -#| msgctxt "amount in units (integer)" -#| msgid "%1 square meter" -#| msgid_plural "%1 square meters" msgctxt "unit description in lists" msgid "watt per square meter" msgstr "watt por metro quadrado" #: thermal_flux.cpp:38 #, kde-format -#| msgctxt "unit synonyms for matching user input" -#| msgid "square meter;square meters;m²;m/-2;m^2;m2" msgctxt "unit synonyms for matching user input" msgid "watt per square meter;W/m2;W/m^2" msgstr "watt por metro quadrado;W/m2;W/m^2" #: thermal_flux.cpp:40 #, kde-format -#| msgctxt "amount in units (integer)" -#| msgid "%1 square meter" -#| msgid_plural "%1 square meters" msgctxt "amount in units (real)" msgid "%1 watts per square meter" msgstr "%1 watts por metro quadrado" #: thermal_flux.cpp:41 #, kde-format -#| msgctxt "amount in units (integer)" -#| msgid "%1 square meter" -#| msgid_plural "%1 square meters" msgctxt "amount in units (integer)" msgid "%1 watt per square meter" msgid_plural "%1 watts per square meter" @@ -10845,14 +10832,11 @@ #: thermal_generation.cpp:29 #, kde-format -#| msgid "Acceleration" msgid "Thermal Generation" msgstr "Geração termal" #: thermal_generation.cpp:31 #, kde-format -#| msgctxt "%1 value, %2 unit symbol (acceleration)" -#| msgid "%1 %2" msgctxt "%1 value, %2 unit symbol (thermal generation)" msgid "%1 %2" msgstr "%1 %2" @@ -10865,33 +10849,24 @@ #: thermal_generation.cpp:35 #, kde-format -#| msgctxt "unit description in lists" -#| msgid "kilograms per cubic meter" msgctxt "unit description in lists" msgid "watt per cubic meter" msgstr "watt por metro cúbico" #: thermal_generation.cpp:37 #, kde-format -#| msgctxt "unit description in lists" -#| msgid "kilograms per cubic meter" msgctxt "unit synonyms for matching user input" msgid "watt per cubic meter;W/m3;W/m^3" msgstr "watt por metro cúbico;W/m3;W/m^3" #: thermal_generation.cpp:39 #, kde-format -#| msgctxt "amount in units (real)" -#| msgid "%1 kilograms per cubic meter" msgctxt "amount in units (real)" msgid "%1 watts per cubic meter" msgstr "%1 watts por metro cúbico" #: thermal_generation.cpp:40 #, kde-format -#| msgctxt "amount in units (integer)" -#| msgid "%1 kilogram per cubic meter" -#| msgid_plural "%1 kilograms per cubic meter" msgctxt "amount in units (integer)" msgid "%1 watt per cubic meter" msgid_plural "%1 watts per cubic meter" @@ -12153,8 +12128,6 @@ #: voltage.cpp:32 #, kde-format -#| msgctxt "%1 value, %2 unit symbol (acceleration)" -#| msgid "%1 %2" msgctxt "%1 value, %2 unit symbol (voltage" msgid "%1 %2" msgstr "%1 %2" @@ -12487,8 +12460,6 @@ #: voltage.cpp:99 #, kde-format -#| msgctxt "time unit symbol" -#| msgid "h" msgctxt "voltage unit symbol" msgid "hV" msgstr "hV" @@ -12530,8 +12501,6 @@ #: voltage.cpp:107 #, kde-format -#| msgctxt "energy unit symbol" -#| msgid "daJ" msgctxt "voltage unit symbol" msgid "daV" msgstr "daV" @@ -12573,8 +12542,6 @@ #: voltage.cpp:115 #, kde-format -#| msgctxt "energy unit symbol" -#| msgid "eV" msgctxt "voltage unit symbol" msgid "V" msgstr "V" @@ -12593,17 +12560,12 @@ #: voltage.cpp:119 #, kde-format -#| msgctxt "amount in units (real)" -#| msgid "%1 electronvolts" msgctxt "amount in units (real)" msgid "%1 volts" msgstr "%1 volts" #: voltage.cpp:120 #, kde-format -#| msgctxt "amount in units (integer)" -#| msgid "%1 electronvolt" -#| msgid_plural "%1 electronvolts" msgctxt "amount in units (integer)" msgid "%1 volt" msgid_plural "%1 volts" @@ -12612,8 +12574,6 @@ #: voltage.cpp:123 #, kde-format -#| msgctxt "time unit symbol" -#| msgid "d" msgctxt "voltage unit symbol" msgid "dV" msgstr "dV" @@ -12655,8 +12615,6 @@ #: voltage.cpp:131 #, kde-format -#| msgctxt "velocity unit symbol" -#| msgid "c" msgctxt "voltage unit symbol" msgid "cV" msgstr "cV" @@ -12698,41 +12656,30 @@ #: voltage.cpp:139 #, kde-format -#| msgctxt "length unit symbol" -#| msgid "m" msgctxt "voltage unit symbol" msgid "mV" msgstr "mV" #: voltage.cpp:140 #, kde-format -#| msgctxt "unit description in lists" -#| msgid "millijoules" msgctxt "unit description in lists" msgid "millivolts" msgstr "millivolts" #: voltage.cpp:141 #, kde-format -#| msgctxt "unit synonyms for matching user input" -#| msgid "millijoule;millijoules;mJ" msgctxt "unit synonyms for matching user input" msgid "millivolt;millivolts;mV" msgstr "millivolt;millivolts;mV" #: voltage.cpp:143 #, kde-format -#| msgctxt "amount in units (real)" -#| msgid "%1 millijoules" msgctxt "amount in units (real)" msgid "%1 millivolts" msgstr "%1 millivolts" #: voltage.cpp:144 #, kde-format -#| msgctxt "amount in units (integer)" -#| msgid "%1 millijoule" -#| msgid_plural "%1 millijoules" msgctxt "amount in units (integer)" msgid "%1 millivolt" msgid_plural "%1 millivolts" @@ -12741,41 +12688,30 @@ #: voltage.cpp:147 #, kde-format -#| msgctxt "energy unit symbol" -#| msgid "µJ" msgctxt "voltage unit symbol" msgid "µV" msgstr "µV" #: voltage.cpp:148 #, kde-format -#| msgctxt "unit description in lists" -#| msgid "microjoules" msgctxt "unit description in lists" msgid "microvolts" msgstr "microvolts" #: voltage.cpp:149 #, kde-format -#| msgctxt "unit synonyms for matching user input" -#| msgid "microjoule;microjoules;µJ;uJ" msgctxt "unit synonyms for matching user input" msgid "microvolt;microvolts;µV;uV" msgstr "microvolt;microvolts;µV;uV" #: voltage.cpp:151 #, kde-format -#| msgctxt "amount in units (real)" -#| msgid "%1 microjoules" msgctxt "amount in units (real)" msgid "%1 microvolts" msgstr "%1 microvolts" #: voltage.cpp:152 #, kde-format -#| msgctxt "amount in units (integer)" -#| msgid "%1 microjoule" -#| msgid_plural "%1 microjoules" msgctxt "amount in units (integer)" msgid "%1 microvolt" msgid_plural "%1 microvolts" @@ -12790,33 +12726,24 @@ #: voltage.cpp:156 #, kde-format -#| msgctxt "unit description in lists" -#| msgid "nanojoules" msgctxt "unit description in lists" msgid "nanovolts" msgstr "nanovolts" #: voltage.cpp:157 #, kde-format -#| msgctxt "unit synonyms for matching user input" -#| msgid "nanojoule;nanojoules;nJ" msgctxt "unit synonyms for matching user input" msgid "nanovolt;nanovolts;nV" msgstr "nanovolt;nanovolts;nV" #: voltage.cpp:159 #, kde-format -#| msgctxt "amount in units (real)" -#| msgid "%1 nanojoules" msgctxt "amount in units (real)" msgid "%1 nanovolts" msgstr "%1 nanovolts" #: voltage.cpp:160 #, kde-format -#| msgctxt "amount in units (integer)" -#| msgid "%1 nanojoule" -#| msgid_plural "%1 nanojoules" msgctxt "amount in units (integer)" msgid "%1 nanovolt" msgid_plural "%1 nanovolts" @@ -12831,33 +12758,24 @@ #: voltage.cpp:164 #, kde-format -#| msgctxt "unit description in lists" -#| msgid "picojoules" msgctxt "unit description in lists" msgid "picovolts" msgstr "picovolts" #: voltage.cpp:165 #, kde-format -#| msgctxt "unit synonyms for matching user input" -#| msgid "picojoule;picojoules;pJ" msgctxt "unit synonyms for matching user input" msgid "picovolt;picovolts;pV" msgstr "picovolt;picovolts;pV" #: voltage.cpp:167 #, kde-format -#| msgctxt "amount in units (real)" -#| msgid "%1 picojoules" msgctxt "amount in units (real)" msgid "%1 picovolts" msgstr "%1 picovolts" #: voltage.cpp:168 #, kde-format -#| msgctxt "amount in units (integer)" -#| msgid "%1 picojoule" -#| msgid_plural "%1 picojoules" msgctxt "amount in units (integer)" msgid "%1 picovolt" msgid_plural "%1 picovolts" @@ -12872,33 +12790,24 @@ #: voltage.cpp:172 #, kde-format -#| msgctxt "unit description in lists" -#| msgid "femtojoules" msgctxt "unit description in lists" msgid "femtovolts" msgstr "femtovolts" #: voltage.cpp:173 #, kde-format -#| msgctxt "unit synonyms for matching user input" -#| msgid "femtojoule;femtojoules;fJ" msgctxt "unit synonyms for matching user input" msgid "femtovolt;femtovolts;fV" msgstr "femtovolt;femtovolts;fV" #: voltage.cpp:175 #, kde-format -#| msgctxt "amount in units (real)" -#| msgid "%1 femtojoules" msgctxt "amount in units (real)" msgid "%1 femtovolts" msgstr "%1 femtovolts" #: voltage.cpp:176 #, kde-format -#| msgctxt "amount in units (integer)" -#| msgid "%1 femtojoule" -#| msgid_plural "%1 femtojoules" msgctxt "amount in units (integer)" msgid "%1 femtovolt" msgid_plural "%1 femtovolts" @@ -12907,8 +12816,6 @@ #: voltage.cpp:179 #, kde-format -#| msgctxt "time unit symbol" -#| msgid "a" msgctxt "voltage unit symbol" msgid "aV" msgstr "aV" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kunitconversion-5.47.0/po/zh_CN/kunitconversion5.po new/kunitconversion-5.48.0/po/zh_CN/kunitconversion5.po --- old/kunitconversion-5.47.0/po/zh_CN/kunitconversion5.po 2018-06-02 20:07:21.000000000 +0200 +++ new/kunitconversion-5.48.0/po/zh_CN/kunitconversion5.po 2018-07-08 00:33:01.000000000 +0200 @@ -20,7 +20,7 @@ "Project-Id-Version: kdeorg\n" "Report-Msgid-Bugs-To: http://bugs.kde.org\n" "POT-Creation-Date: 2016-11-19 20:12+0100\n" -"PO-Revision-Date: 2018-05-18 06:23-0400\n" +"PO-Revision-Date: 2018-07-03 17:35\n" "Last-Translator: guoyunhebrave <[email protected]>\n" "Language-Team: Chinese Simplified\n" "Language: zh_CN\n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kunitconversion-5.47.0/src/angle.cpp new/kunitconversion-5.48.0/src/angle.cpp --- old/kunitconversion-5.47.0/src/angle.cpp 2018-06-02 20:07:21.000000000 +0200 +++ new/kunitconversion-5.48.0/src/angle.cpp 2018-07-08 00:33:01.000000000 +0200 @@ -41,11 +41,11 @@ realString, integerString) {} - qreal toDefault(qreal value) const Q_DECL_OVERRIDE + qreal toDefault(qreal value) const override { return (value / (2 * M_PI)) * 360.0; } - qreal fromDefault(qreal value) const Q_DECL_OVERRIDE + qreal fromDefault(qreal value) const override { return (value / 360.0) * (2 * M_PI); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kunitconversion-5.47.0/src/currency.cpp new/kunitconversion-5.48.0/src/currency.cpp --- old/kunitconversion-5.47.0/src/currency.cpp 2018-06-02 20:07:21.000000000 +0200 +++ new/kunitconversion-5.48.0/src/currency.cpp 2018-07-08 00:33:01.000000000 +0200 @@ -53,7 +53,7 @@ + QStringLiteral("/libkunitconversion/currency.xml"); } - Value convert(const Value &value, const Unit &toUnit) Q_DECL_OVERRIDE; + Value convert(const Value &value, const Unit &toUnit) override; QString m_cache; bool m_update; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kunitconversion-5.47.0/src/energy.cpp new/kunitconversion-5.48.0/src/energy.cpp --- old/kunitconversion-5.47.0/src/energy.cpp 2018-06-02 20:07:21.000000000 +0200 +++ new/kunitconversion-5.48.0/src/energy.cpp 2018-07-08 00:33:01.000000000 +0200 @@ -39,12 +39,12 @@ realString, integerString) {} - qreal toDefault(qreal value) const Q_DECL_OVERRIDE + qreal toDefault(qreal value) const override { return (2.99792458e+08 * 6.62606896e-34) / (value * 1e-09); } - qreal fromDefault(qreal value) const Q_DECL_OVERRIDE + qreal fromDefault(qreal value) const override { return ((2.99792458e+08 * 6.62606896e-34) / value) / 1e-09; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kunitconversion-5.47.0/src/fuel_efficiency.cpp new/kunitconversion-5.48.0/src/fuel_efficiency.cpp --- old/kunitconversion-5.47.0/src/fuel_efficiency.cpp 2018-06-02 20:07:21.000000000 +0200 +++ new/kunitconversion-5.48.0/src/fuel_efficiency.cpp 2018-07-08 00:33:01.000000000 +0200 @@ -39,12 +39,12 @@ realString, integerString) {} - qreal toDefault(qreal value) const Q_DECL_OVERRIDE + qreal toDefault(qreal value) const override { return unitMultiplier() / value; } - qreal fromDefault(qreal value) const Q_DECL_OVERRIDE + qreal fromDefault(qreal value) const override { return unitMultiplier() / value; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kunitconversion-5.47.0/src/temperature.cpp new/kunitconversion-5.48.0/src/temperature.cpp --- old/kunitconversion-5.47.0/src/temperature.cpp 2018-06-02 20:07:21.000000000 +0200 +++ new/kunitconversion-5.48.0/src/temperature.cpp 2018-07-08 00:33:01.000000000 +0200 @@ -39,12 +39,12 @@ realString, integerString) {} - qreal toDefault(qreal value) const Q_DECL_OVERRIDE + qreal toDefault(qreal value) const override { return value + 273.15; } - qreal fromDefault(qreal value) const Q_DECL_OVERRIDE + qreal fromDefault(qreal value) const override { return value - 273.15; } @@ -63,12 +63,12 @@ realString, integerString) {} - qreal toDefault(qreal value) const Q_DECL_OVERRIDE + qreal toDefault(qreal value) const override { return (value + 459.67) * 5.0 / 9.0; } - qreal fromDefault(qreal value) const Q_DECL_OVERRIDE + qreal fromDefault(qreal value) const override { return (value * 9.0 / 5.0) - 459.67; } @@ -87,12 +87,12 @@ realString, integerString) {} - qreal toDefault(qreal value) const Q_DECL_OVERRIDE + qreal toDefault(qreal value) const override { return 373.15 - (value * 2.0 / 3.0); } - qreal fromDefault(qreal value) const Q_DECL_OVERRIDE + qreal fromDefault(qreal value) const override { return (373.15 - value) * 3.0 / 2.0; } @@ -111,12 +111,12 @@ realString, integerString) {} - qreal toDefault(qreal value) const Q_DECL_OVERRIDE + qreal toDefault(qreal value) const override { return (value * 100.0 / 33.0) + 273.15; } - qreal fromDefault(qreal value) const Q_DECL_OVERRIDE + qreal fromDefault(qreal value) const override { return (value - 273.15) * 33.0 / 100.0; } @@ -135,12 +135,12 @@ realString, integerString) {} - qreal toDefault(qreal value) const Q_DECL_OVERRIDE + qreal toDefault(qreal value) const override { return (value * 5.0 / 4.0) + 273.15; } - qreal fromDefault(qreal value) const Q_DECL_OVERRIDE + qreal fromDefault(qreal value) const override { return (value - 273.15) * 4.0 / 5.0; } @@ -159,12 +159,12 @@ realString, integerString) {} - qreal toDefault(qreal value) const Q_DECL_OVERRIDE + qreal toDefault(qreal value) const override { return (value - 7.5) * 40.0 / 21.0 + 273.15; } - qreal fromDefault(qreal value) const Q_DECL_OVERRIDE + qreal fromDefault(qreal value) const override { return (value - 273.15) * 21.0 / 40.0 + 7.5; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kunitconversion-5.47.0/src/velocity.cpp new/kunitconversion-5.48.0/src/velocity.cpp --- old/kunitconversion-5.47.0/src/velocity.cpp 2018-06-02 20:07:21.000000000 +0200 +++ new/kunitconversion-5.48.0/src/velocity.cpp 2018-07-08 00:33:01.000000000 +0200 @@ -42,12 +42,12 @@ realString, integerString) {} - qreal toDefault(qreal value) const Q_DECL_OVERRIDE + qreal toDefault(qreal value) const override { return 0.836 * pow(value, 3.0 / 2.0); } - qreal fromDefault(qreal value) const Q_DECL_OVERRIDE + qreal fromDefault(qreal value) const override { return pow(value / 0.836, 2.0 / 3.0); }
