2.2.1
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/kddockwidgets?expand=0&rev=10
This commit is contained in:
commit
8c0fe6bbf0
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
_multibuild
Normal file
3
_multibuild
Normal file
@ -0,0 +1,3 @@
|
||||
<multibuild>
|
||||
<flavor>qt6</flavor>
|
||||
</multibuild>
|
3
kddockwidgets-2.1.0.tar.gz
Normal file
3
kddockwidgets-2.1.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:cf3242b8fde8988b2661366b6a9597bcb67164074c4f31d03ec2999b475a25d7
|
||||
size 5289227
|
17
kddockwidgets-2.1.0.tar.gz.asc
Normal file
17
kddockwidgets-2.1.0.tar.gz.asc
Normal 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-----
|
3
kddockwidgets-2.2.1.tar.gz
Normal file
3
kddockwidgets-2.2.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8693e06abee0c88517d8480b22647702a51a0708f3c876ed5385d9a4e356e1a5
|
||||
size 5651660
|
17
kddockwidgets-2.2.1.tar.gz.asc
Normal file
17
kddockwidgets-2.2.1.tar.gz.asc
Normal file
@ -0,0 +1,17 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQJCBAABCAAsFiEE6GwAA3CxueKpGRrVPb+2iCyTWPsFAmdsFB0OHGluZm9Aa2Rh
|
||||
Yi5jb20ACgkQPb+2iCyTWPtW+A/7BFRCof6HMiWguDM5wi5Njl1jqthmWupF/gJ2
|
||||
d3V+KPl+D7DHWTH/Oh5RuJaqQNGiVs/xrRjSKxU1Ow7dz6EPxyfCKgf8ImNy+MTd
|
||||
BhZZ3UZoXYqEodz3LYt2KCWZVGECmPS/wfVxhHWKTUaOfV4OctwniH1WO896E3d4
|
||||
hWo79KxUjq2Aj+io7KKruFDP2Ta2lJNxOszR73/PlzyrTuLG092PtUQ/n0lRYBBH
|
||||
51tKwpPEGZ8kkhabjm/RgSBtvvhF5k1Cn+2FVtfWGjcMBubgSigGXXyJG7oW+v83
|
||||
HGglg3ENcmDmWy65pGu9h0l8LWX2M+xFJ6Q0abu1BhxGgWXU6bQVumv+arGFzCO5
|
||||
XTV3950tlANz1gsEt3UJDGoDi073IKp9mVWs6FWy31ProY/Fzdyi3IAH0G8HHjqM
|
||||
NpeSKzmNzZMeFdKLylTfvHtIMcU4ioR02sK9iIdDAJDKWN+sFTYPR8soL2zE6mKR
|
||||
ZcOkvtPcVRf0W+dFAxptORno/IsdtVCfScx+krZt0uvCzOo3ciDT2jghFoMsIVIf
|
||||
/MQ6n9CoL7cuKSLjoq4wNG1qD/F7kI2m6YRYCKnujnqZiIzoTorucdKzLYcMHcuO
|
||||
sAqy4U91Nbm+bxeve9Zauvq6WgTe/kKpSJN3FMDaY37L0b7hBliwnFxyZiKv+DO4
|
||||
mkitAnQ=
|
||||
=fQwu
|
||||
-----END PGP SIGNATURE-----
|
91
kddockwidgets.changes
Normal file
91
kddockwidgets.changes
Normal file
@ -0,0 +1,91 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Jan 12 12:14:08 UTC 2025 - Christophe Marin <christophe@krop.fr>
|
||||
|
||||
- Update to 2.2.1
|
||||
* qtquick: Add support for MainWindowOption_HasCentralWidget
|
||||
* qtquick: Add QtQuick::FloatingWindow::setQuickWindowCreationCallback
|
||||
* Add Config::setDockWidgetTabIndexOverrideFunc()
|
||||
* Allow to redock back to a floating window
|
||||
* Add KDDockWidgets::controllersToViews
|
||||
* Add Config::setTabsAtBottom()
|
||||
* Fix case where persistent central widget would detach when dragged
|
||||
* Fix windows having transparency when drop indicators inhibited
|
||||
* Fix case where persistent central widget would detach when dragged
|
||||
* Allow to build against external KDBindings
|
||||
* Fix restore layout of nested main windows
|
||||
* Fix restore maximized window corner case
|
||||
* Fix linking against static KDDW
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 24 11:02:36 UTC 2024 - Christophe Marin <christophe@krop.fr>
|
||||
|
||||
- Build kddockwidgets without spdlog until fmt 11 gets supported
|
||||
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
- Update to 1.7.0
|
||||
* Introduce DockWidget::setFloatingWindowFlags(flags).
|
||||
Allows for different FloatingWindows to have different window
|
||||
flags. For example, some having Qt::Tool while others having
|
||||
Qt::Window
|
||||
* Fixed fixed-sized windows being able to be resized on Windows
|
||||
* Allow restoring layouts without touching floating dock widgets
|
||||
* Fix setDropIndicatorsInhibited(false) not showing
|
||||
drop indicators
|
||||
* Fix relayouting when dock widget is deleted directly
|
||||
* Minor performance improvement: Cache TitleBar icons
|
||||
* Save side bar overlay geometry when frame is resized
|
||||
* Fixed case of corrupt layout when using
|
||||
setDockWidgetFactoryFunc()
|
||||
* Fix layout scaling factor when main window is native
|
||||
* Fix moving floating windows to negative positions
|
||||
* Fixed using normal geometry of platform window if
|
||||
fractional scaling is enabled
|
||||
* Allow to specify Qt::Tool or Qt::Window per floating window
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 1 08:53:06 UTC 2023 - Christophe Marin <christophe@krop.fr>
|
||||
|
||||
- Init kddockwidgets, needed by newer hotspot versions
|
BIN
kddockwidgets.keyring
Normal file
BIN
kddockwidgets.keyring
Normal file
Binary file not shown.
160
kddockwidgets.spec
Normal file
160
kddockwidgets.spec
Normal file
@ -0,0 +1,160 @@
|
||||
#
|
||||
# spec file for package kddockwidgets
|
||||
#
|
||||
# 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
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%global flavor @BUILD_FLAVOR@%{nil}
|
||||
%if "%{flavor}" == ""
|
||||
%define qt5 1
|
||||
%endif
|
||||
%if "%{flavor}" == "qt6"
|
||||
%define qt6 1
|
||||
%define pkg_suffix -qt6
|
||||
%endif
|
||||
%define soversion 2_2
|
||||
%define rname kddockwidgets
|
||||
Name: kddockwidgets%{?pkg_suffix}
|
||||
Version: 2.2.1
|
||||
Release: 0
|
||||
Summary: Qt dock widget library, suitable for replacing QDockWidget
|
||||
License: GPL-2.0-only OR GPL-3.0-only
|
||||
URL: https://www.kdab.com/development-resources/qt-tools/kddockwidgets
|
||||
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
|
||||
# fmt is too old in 15.5/15.6, spdlog can't be used
|
||||
# FIXME: 2024/07/24: disabled until https://github.com/KDAB/KDDockWidgets/issues/520 is fixed
|
||||
# BuildRequires: cmake(spdlog) >= 1.8.0
|
||||
%else
|
||||
# Full c++-17 support needed
|
||||
BuildRequires: gcc13-PIE
|
||||
BuildRequires: gcc13-c++
|
||||
%endif
|
||||
|
||||
%description
|
||||
KDDockWidgets is a Qt dock widget library written by KDAB, suitable for
|
||||
replacing QDockWidget and implementing advanced functionalities missing in Qt.
|
||||
|
||||
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}
|
||||
Summary: Qt dock widget library, suitable for replacing QDockWidget
|
||||
|
||||
%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.
|
||||
|
||||
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 devel
|
||||
Summary: Development files for libkddockwidgets
|
||||
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 KDDockWidgets-%{version}
|
||||
|
||||
%if 0%{?suse_version} < 1550
|
||||
# examples require cmake >= 3.21
|
||||
%define extra_opts -DKDDockWidgets_EXAMPLES:BOOL=OFF
|
||||
%endif
|
||||
|
||||
%build
|
||||
%if 0%{?suse_version} < 1550
|
||||
export CXX=g++-13
|
||||
%endif
|
||||
|
||||
%if 0%{?qt5}
|
||||
%cmake %{?extra_opts}
|
||||
%cmake_build
|
||||
%endif
|
||||
|
||||
%if 0%{?qt6}
|
||||
%cmake_qt6 -DKDDockWidgets_QT6:BOOL=ON %{?extra_opts}
|
||||
%{qt6_build}
|
||||
%endif
|
||||
|
||||
%install
|
||||
%if 0%{?qt5}
|
||||
%cmake_install
|
||||
%endif
|
||||
|
||||
%if 0%{?qt6}
|
||||
%{qt6_install}
|
||||
%endif
|
||||
|
||||
# Installed using %%doc and %%license instead
|
||||
rm -r %{buildroot}%{_datadir}/doc
|
||||
|
||||
%ldconfig_scriptlets -n libkddockwidgets%{?pkg_suffix}%{?qt6:-}%{soversion}
|
||||
|
||||
%files -n libkddockwidgets%{?pkg_suffix}%{?qt6:-}%{soversion}
|
||||
%license LICENSES/*
|
||||
%doc README.md
|
||||
%{_libdir}/libkddockwidgets%{?pkg_suffix}.so.*
|
||||
|
||||
%files devel
|
||||
%{_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
|
||||
%if 0%{?qt6}
|
||||
%{_qt6_mkspecsdir}/modules/qt_KDDockWidgets.pri
|
||||
%endif
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user