Christophe Marin 2024-05-21 13:39:27 +00:00 committed by Git OBS Bridge
parent 518cac0ee0
commit f279101836
6 changed files with 105 additions and 41 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6ee03e5b788bbcc20abaf7fcc468e27284f543e80fe6b1d4fb8ce0de7c7b4c49
size 3908482

View File

@ -1,17 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQJCBAABCAAsFiEE6GwAA3CxueKpGRrVPb+2iCyTWPsFAmRSuGsOHGluZm9Aa2Rh
Yi5jb20ACgkQPb+2iCyTWPvtig/+PavFeC0q5Ans/BYszd2lUR88D4+iLDFqUgo1
3UIYM+XMZVtKSuiWBTA5ZyA+QW8Q8/XCGEnorG5MYrumeurEb+YuRfXOU7diHXJ/
Ji+rQjYuU28TwIaprCCJ8WcrHCwjtxwFlE8NI+NhMOIoST73+wG8loj3SZWRHcSI
K4j/HMMkf5ooDJhjvElNbVd02BkaxjsFxwvhrCR7oQN7xF1jPLvE3gNc20UUM+ib
B0TxhqwSWhmEXPLIlhESGAv38FE9cXLOm6ZIUjACi9Ilpo/QcpHdoYAsBa85qQoa
hCi17bwGApiWg0ZypyIxOK0N2h25m92P9zjK1A2iu9uhwcWOQ4UvwbFtoyJzOt8t
TM3IdHmxvMWMK+46rEIWM0uxygp1gE9B2kEK59nitlArqMkERMRsk9M03PGnYgU1
pRoJvUiuXodtO2fRsIqqgvBhSouS55a1vZldqdc/8EL948gi3pI1uwbByHBuxQih
q+Q4P5gGbrGwIlZpU9+v1KAarm/Cx5v7LLPDJJzLT5Q8ZdzgsuUWGN3Cslv01DaC
4q/hF+ot4dio88+norKlSkklxlYByLhV3Soa/KarE07fC1LAW1NAKz/J5K5ro81e
Tpuhcv0z+2W6hKdTWTV6BWkqsVqbVIj6JIwgAIYbJunyBnipmdkOAJzPuzcn4LTq
ozmd+tQ=
=qaQT
-----END PGP SIGNATURE-----

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cf3242b8fde8988b2661366b6a9597bcb67164074c4f31d03ec2999b475a25d7
size 5289227

View File

@ -0,0 +1,17 @@
-----BEGIN PGP SIGNATURE-----
iQJCBAABCAAsFiEE6GwAA3CxueKpGRrVPb+2iCyTWPsFAmY7qBIOHGluZm9Aa2Rh
Yi5jb20ACgkQPb+2iCyTWPvjVw//U9tEU3v6b7MI9GH0o9p9bMWl0seAd0+m4mNL
DiuJQQfUvkqXgFY9wMRNHyjvU78g0tHUpof1VXdysoMvbqN9coV7SVGkQIRrKHVB
qfQaatwlW5AVUeKD70np2pYhAdv7l9k0/I3wS5shQ1bjwOkWJSL+wcLQLMxkALvr
byVeNJvoIMTVP6MNxrlG7crWWgvCPXc4GAUs0xuqCVJ0yuiP3FaGjyBP1X2xdXYT
LfqY3EUdRoq5i5wcX3O9+qGhiuYXwSzRK0PMj1zq9cIe581/8yXK6HCqpc7+sQfM
4t+xSe6e/2yyUM0LjT6Xb+K3tr4dEJam2vF3wOFkPvphTys+Kpxc3ZjqczLv4cC6
6bJaEsd+5n1lLToETPgWhBSBad+Yv7mC8vtjQh8I2gNI5y4cGcpzn7oDxl06O+m2
V2AM1sTUoybGNR7OP/Sb10yhShJ3i7j6Wu/4HJS8gAUpD0yiY37hl5vlIcToT54o
pPQcrUk1eRAVRgsZfeaWt+KuI8fAvMXuRYmHgy1lKkd1Ng6UCKMWcVhTui2DW+b+
GFajzCIyRTY+vIol+QPFIYXRkdQb+cER2v4GaWS6waiq5X6w+CUetUb7YAjznq2O
ZdeLocP3waQt1per5buy8GOqkj64v2KHIsnohiooSywVvjFHDGMLLvRsVI4hOm8d
4C57YDs=
=oMcK
-----END PGP SIGNATURE-----

View File

@ -1,3 +1,44 @@
-------------------------------------------------------------------
Tue May 21 13:30:23 UTC 2024 - Christophe Marin <christophe@krop.fr>
- Update to 2.1.0
https://github.com/KDAB/KDDockWidgets/releases/tag/v2.1.0
Bug fixes:
* Fixed dock widget float button when using main window nesting
* Fixed double-click on titlebar not floating it if auto-hide
flag was enabled
* Fixed auto-hide overlay not updating its position when main
window was resized
* Fixed crash when doing sequential open() and close() calls
* Fixed double-click the guest widget would make window float
* LayoutSaverOption::Skip now honours docked dock widgets
* Fixed DockWidget::addDockWidgetToContainingWindow() when
using nested main windows
* Multiple fixes for save/restore when windows are maximized
* Several fixes regarding nested main windows
-------------------------------------------------------------------
Thu Feb 1 09:31:29 UTC 2024 - Christophe Marin <christophe@krop.fr>
- Update to 2.0.0
* Architecture rewrite to support more frontends besides
QtWidgets and QtQuick. 2.0 isn't very interesting for users,
but will allow developers to make KDDW support other GUI
frameworks more easily. Also QtQuick is now better integrated,
without being shoehorned with ifdefs into the QtWidgets
implementation.
+ Split into a view/controller architecture
+ Non-gui logic moved to controllers
+ Each controller has a gui counter part, implemented for each
supported frontend
* Uses nlohmann JSON library (MIT) instead of QJsonDocument, for
saving/restoring layouts
* Added Config::setStartDragDistance()
* Removed Config::setTabbingAllowedFunc() which was already
deprecated in favor of Config::setDropIndicatorAllowedFunc()
* Slint and Flutter WIP. Waiting for these frameworks to
support multi-window before finishing.
-------------------------------------------------------------------
Tue May 9 06:42:49 UTC 2023 - Christophe Marin <christophe@krop.fr>

View File

@ -1,7 +1,7 @@
#
# spec file for package kddockwidgets
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -19,16 +19,15 @@
%global flavor @BUILD_FLAVOR@%{nil}
%if "%{flavor}" == ""
%define qt5 1
%define pkg_suffix %{nil}
%endif
%if "%{flavor}" == "qt6"
%define qt6 1
%define pkg_suffix -qt6
%endif
%define soversion 1_7
%define soversion 2_1
%define rname kddockwidgets
Name: kddockwidgets%{pkg_suffix}
Version: 1.7.0
Name: kddockwidgets%{?pkg_suffix}
Version: 2.1.0
Release: 0
Summary: Qt dock widget library, suitable for replacing QDockWidget
License: GPL-2.0-only OR GPL-3.0-only
@ -36,23 +35,35 @@ URL: https://www.kdab.com/development-resources/qt-tools/kddockwidget
Source: https://github.com/KDAB/KDDockWidgets/releases/download/v%{version}/%{rname}-%{version}.tar.gz
Source1: https://github.com/KDAB/KDDockWidgets/releases/download/v%{version}/%{rname}-%{version}.tar.gz.asc
Source2: kddockwidgets.keyring
BuildRequires: cmake(nlohmann_json)
%if 0%{?qt5}
BuildRequires: libQt5Gui-private-headers-devel
BuildRequires: libQt5Widgets-private-headers-devel
BuildRequires: libqt5-qtdeclarative-private-headers-devel
BuildRequires: cmake(Qt5Core) >= 5.15
BuildRequires: cmake(Qt5Quick)
BuildRequires: cmake(Qt5QuickControls2)
BuildRequires: cmake(Qt5Test)
BuildRequires: cmake(Qt5Widgets)
BuildRequires: cmake(Qt5X11Extras)
%endif
%if 0%{?qt6}
BuildRequires: qt6-gui-private-devel
BuildRequires: qt6-quick-private-devel
BuildRequires: qt6-widgets-private-devel
BuildRequires: cmake(Qt6Core) >= 6.2
BuildRequires: cmake(Qt6Quick)
BuildRequires: cmake(Qt6QuickControls2)
BuildRequires: cmake(Qt6Test)
BuildRequires: cmake(Qt6Widgets)
%endif
%if 0%{?suse_version} == 1500
%if 0%{?suse_version} > 1500
# fmt is too old in 15.5/15.6, spdlog can't be used
BuildRequires: cmake(spdlog) >= 1.8.0
%else
# Full c++-17 support needed
BuildRequires: gcc10-PIE
BuildRequires: gcc10-c++
BuildRequires: gcc13-PIE
BuildRequires: gcc13-c++
%endif
%description
@ -63,10 +74,10 @@ Although KDDockWidgets is ready to be used out of the box, it can also be seen
as a framework to allow building very tailored custom docking systems. It tries
to expose every internal widget and every knob for the app developer to tune.
%package -n libkddockwidgets%{pkg_suffix}%{?qt6:-}%{soversion}
%package -n libkddockwidgets%{?pkg_suffix}%{?qt6:-}%{soversion}
Summary: Qt dock widget library, suitable for replacing QDockWidget
%description -n libkddockwidgets%{pkg_suffix}%{?qt6:-}%{soversion}
%description -n libkddockwidgets%{?pkg_suffix}%{?qt6:-}%{soversion}
KDDockWidgets is a Qt dock widget library written by KDAB, suitable for
replacing QDockWidget and implementing advanced functionalities missing in Qt.
@ -76,29 +87,41 @@ to expose every internal widget and every knob for the app developer to tune.
%package devel
Summary: Development files for libkddockwidgets
Requires: libkddockwidgets%{pkg_suffix}%{?qt6:-}%{soversion} = %{version}
Requires: libkddockwidgets%{?pkg_suffix}%{?qt6:-}%{soversion} = %{version}
%if 0%{?qt5}
Requires: cmake(Qt5Quick)
Requires: cmake(Qt5QuickControls2)
Requires: cmake(Qt5Widgets)
Requires: cmake(Qt5X11Extras)
%endif
%if 0%{?qt6}
Requires: cmake(Qt6Quick)
Requires: cmake(Qt6QuickControls2)
Requires: cmake(Qt6Widgets)
%endif
%description devel
Development files for libkddockwidgets
%prep
%autosetup -p1 -n %{rname}-%{version}
%if 0%{?suse_version} < 1550
# examples require cmake >= 3.21
%define extra_opts -DKDDockWidgets_EXAMPLES:BOOL=OFF
%endif
%build
%if 0%{?suse_version} == 1500
export CXX=g++-10
%if 0%{?suse_version} < 1550
export CXX=g++-13
%endif
%if 0%{?qt5}
%cmake
%cmake %{?extra_opts}
%cmake_build
%endif
%if 0%{?qt6}
%cmake_qt6 -DKDDockWidgets_QT6:BOOL=ON
%cmake_qt6 -DKDDockWidgets_QT6:BOOL=ON %{?extra_opts}
%{qt6_build}
%endif
@ -114,17 +137,17 @@ export CXX=g++-10
# Installed using %%doc and %%license instead
rm -r %{buildroot}%{_datadir}/doc
%ldconfig_scriptlets -n libkddockwidgets%{pkg_suffix}%{?qt6:-}%{soversion}
%ldconfig_scriptlets -n libkddockwidgets%{?pkg_suffix}%{?qt6:-}%{soversion}
%files -n libkddockwidgets%{pkg_suffix}%{?qt6:-}%{soversion}
%files -n libkddockwidgets%{?pkg_suffix}%{?qt6:-}%{soversion}
%license LICENSES/*
%doc README.md
%{_libdir}/libkddockwidgets%{pkg_suffix}.so.*
%{_libdir}/libkddockwidgets%{?pkg_suffix}.so.*
%files devel
%{_includedir}/kddockwidgets%{pkg_suffix}
%{_libdir}/cmake/KDDockWidgets%{pkg_suffix}/
%{_libdir}/libkddockwidgets%{pkg_suffix}.so
%{_includedir}/kddockwidgets%{?pkg_suffix}
%{_libdir}/cmake/KDDockWidgets%{?pkg_suffix}/
%{_libdir}/libkddockwidgets%{?pkg_suffix}.so
%if 0%{?qt5}
%{_libqt5_archdatadir}/mkspecs/modules/qt_KDDockWidgets.pri
%endif