Hello community, here is the log from the commit of package kproperty for openSUSE:Factory checked in at 2018-03-24 16:14:23 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kproperty (Old) and /work/SRC/openSUSE:Factory/.kproperty.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kproperty" Sat Mar 24 16:14:23 2018 rev:4 rq:589862 version:3.1.0 Changes: -------- --- /work/SRC/openSUSE:Factory/kproperty/kproperty.changes 2017-08-13 15:00:23.782632182 +0200 +++ /work/SRC/openSUSE:Factory/.kproperty.new/kproperty.changes 2018-03-24 16:14:24.933583735 +0100 @@ -1,0 +2,53 @@ +Tue Mar 20 10:53:52 UTC 2018 - wba...@tmo.at + +- Update to 3.1.0: + * General + + Bump soname for the libraries to separate from incompatible + 3.0.x versions + + Remove FileURL, PictureFileURL, DirectoryURL types + * New features + + Added support for property groups, add API to show/hide groups + + Replace "unit" property option with "suffix"; add "prefix", + support in double/integer/composed types + + Add toolTipsVisible feature to KPropertyEditorView, if enabled + tooltips are visible for property editor items + * API changes + + See https://community.kde.org/Kexi/Releases/3.1.0_Changes for + details + * Bug fixes + + Do nothing in KProperty::resetValue() if there are no changes + + Editor view: emit delegete's commitData() once (extra safety) + + Fix painting grid over scroll areas + + Fix background of multiline editor + + Fix background color for multiline editor when alternate color + is needed or is in readonly mode + + Try to locate icon rcc files in PATH subdirs too, useful for + running apps from the build dir, without installing + + Color editor: display hex color code also when the editor is + active + + Combo box icon provider: fix possible memory issue with + assigning KPropertyComboBoxEditorOptions values + + Add translations missing in 3.0.x + + Properly update properties with subproperties in the view when + value or the "modify" flag changes + + Do not display unclear "None" text when point/size/rect values + are null + + Fix displaying minimum values for types having minimum value + defined but no minValueText value + + Translations: split kproperty_qt into kpropertycore_qt & + kpropertywidgets_qt + + Int/double spin boxes: do not allow to set values out of range, + fix invalid ranges + + List .pot files explicitly, this allows releaseme l10n + detection to work, used in KDE neon + + Fix handling values in the URL editor + + Improve commit changes for the URL editor only; fixup paths + * Docs and examples + + Enable creation of API docs QCH file during the build + + Resize first column of the property view to contents in + KPropertyExample +- Drop kproperty-translations.tar.xz, the translations are included +- Split out translations into a separate lang subpackage +- Add fix-build-with-gcc48.patch to make it compile on Leap 42 + +------------------------------------------------------------------- Old: ---- kproperty-3.0.2.tar.xz kproperty-translations.tar.xz New: ---- fix-build-with-gcc48.patch kproperty-3.1.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kproperty.spec ++++++ --- /var/tmp/diff_new_pack.0GQ1sw/_old 2018-03-24 16:14:25.577560521 +0100 +++ /var/tmp/diff_new_pack.0GQ1sw/_new 2018-03-24 16:14:25.577560521 +0100 @@ -1,7 +1,7 @@ # # spec file for package kproperty # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,15 +16,18 @@ # +%define sover 4 + Name: kproperty -Version: 3.0.2 +Version: 3.1.0 Release: 0 Summary: Property editing framework with editor widget License: LGPL-2.0 Group: Productivity/Office/Other Url: http://community.kde.org/KProperty -Source0: %{name}-%{version}.tar.xz -Source1: %{name}-translations.tar.xz +Source0: https://download.kde.org/stable/%{name}/src/%{name}-%{version}.tar.xz +# PATCH-FIX-OPENSUSE +Patch: fix-build-with-gcc48.patch BuildRequires: extra-cmake-modules BuildRequires: kconfig-devel BuildRequires: kcoreaddons-devel @@ -36,37 +39,41 @@ BuildRequires: pkgconfig(Qt5Core) BuildRequires: pkgconfig(Qt5Widgets) BuildRoot: %{_tmppath}/%{name}-%{version}-build +Recommends: %{name}-lang %description A property editing framework with editor widget similar to what is known from Qt Designer -%package -n libKPropertyCore3-3 +%package -n libKPropertyCore3-%{sover} Summary: Core library for the Property editing framework Group: System/Libraries Requires: %{name} >= %{version} -%description -n libKPropertyCore3-3 +%description -n libKPropertyCore3-%{sover} The Core library for the property editing framework with editor widget similar to what is known from Qt Designer -%package -n libKPropertyWidgets3-3 +%package -n libKPropertyWidgets3-%{sover} Summary: Editor Widget library for the property editing framework Group: System/Libraries Requires: %{name} >= %{version} -%description -n libKPropertyWidgets3-3 +%description -n libKPropertyWidgets3-%{sover} The editor widget library for the property editing framework similar to what is known from Qt Designer %package devel Summary: Development package for kproperty Group: Development/Libraries/KDE -Requires: libKPropertyCore3-3 = %{version} -Requires: libKPropertyWidgets3-3 = %{version} +Requires: libKPropertyCore3-%{sover} = %{version} +Requires: libKPropertyWidgets3-%{sover} = %{version} %description devel Development package for the property editing Framework +%lang_package + %prep -%setup -q -a1 +%setup -q +%patch -p1 %build %cmake_kf5 -d build @@ -74,19 +81,19 @@ %install %kf5_makeinstall -C build - %find_lang %{name} %{name}.lang --with-qt + %find_lang %{name} %{name}.lang --all-name --with-qt -%post -n libKPropertyCore3-3 -p /sbin/ldconfig -%postun -n libKPropertyCore3-3 -p /sbin/ldconfig +%post -n libKPropertyCore3-%{sover} -p /sbin/ldconfig +%postun -n libKPropertyCore3-%{sover} -p /sbin/ldconfig -%files -n libKPropertyCore3-3 +%files -n libKPropertyCore3-%{sover} %defattr(-,root,root,-) %{_libdir}/libKPropertyCore3.so.* -%post -n libKPropertyWidgets3-3 -p /sbin/ldconfig -%postun -n libKPropertyWidgets3-3 -p /sbin/ldconfig +%post -n libKPropertyWidgets3-%{sover} -p /sbin/ldconfig +%postun -n libKPropertyWidgets3-%{sover} -p /sbin/ldconfig -%files -n libKPropertyWidgets3-3 +%files -n libKPropertyWidgets3-%{sover} %defattr(-,root,root,-) %doc COPYING.* %{_libdir}/libKPropertyWidgets3.so.* @@ -102,8 +109,11 @@ %{_libdir}/cmake/KPropertyWidgets3/ %{_libdir}/pkgconfig/KProperty*.pc -%files -f %{name}.lang +%files %defattr(-,root,root,-) %{_datadir}/kpropertywidgets3/ +%files lang -f %{name}.lang +%defattr(-,root,root,-) + %changelog ++++++ fix-build-with-gcc48.patch ++++++ >From 711131531b9f52240b7624002051bff1fc07a3a9 Mon Sep 17 00:00:00 2001 From: Wolfgang Bauer <wba...@tmo.at> Date: Tue, 20 Mar 2018 19:05:52 +0100 Subject: [PATCH] Fix build with gcc 4.8 See also https://bugreports.qt.io/browse/QTBUG-48988 --- src/KPropertyEditorView.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/KPropertyEditorView.cpp b/src/KPropertyEditorView.cpp index 174986a..67ae63a 100644 --- a/src/KPropertyEditorView.cpp +++ b/src/KPropertyEditorView.cpp @@ -418,13 +418,13 @@ void KPropertyEditorView::changeSetInternal(KPropertySet *set, SetOptions option } if (d->set && setChanged) { //receive property changes - connect(d->set, SIGNAL(propertyChangedInternal(KPropertySet&,KProperty&)), + connect(d->set.data(), SIGNAL(propertyChangedInternal(KPropertySet&,KProperty&)), this, SLOT(slotPropertyChanged(KPropertySet&,KProperty&))); - connect(d->set, SIGNAL(propertyReset(KPropertySet&,KProperty&)), + connect(d->set.data(), SIGNAL(propertyReset(KPropertySet&,KProperty&)), this, SLOT(slotPropertyReset(KPropertySet&,KProperty&))); - connect(d->set, SIGNAL(aboutToBeCleared()), this, SLOT(slotSetWillBeCleared())); - connect(d->set, SIGNAL(aboutToBeDeleted()), this, SLOT(slotSetWillBeDeleted())); - connect(d->set, &KPropertySet::readOnlyFlagChanged, + connect(d->set.data(), SIGNAL(aboutToBeCleared()), this, SLOT(slotSetWillBeCleared())); + connect(d->set.data(), SIGNAL(aboutToBeDeleted()), this, SLOT(slotSetWillBeDeleted())); + connect(d->set.data(), &KPropertySet::readOnlyFlagChanged, this, &KPropertyEditorView::slotReadOnlyFlagChanged); } -- 2.13.6 ++++++ kproperty-3.0.2.tar.xz -> kproperty-3.1.0.tar.xz ++++++ ++++ 25981 lines of diff (skipped)