Sync from SUSE:SLFO:Main libpanel revision c4ee1e9b87da13155150871ad1d01c20

This commit is contained in:
Adrian Schröter 2024-07-22 17:38:55 +02:00
commit b29a53b9dd
4 changed files with 247 additions and 0 deletions

23
.gitattributes vendored Normal file
View 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

BIN
libpanel-1.4.0.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.

110
libpanel.changes Normal file
View File

@ -0,0 +1,110 @@
-------------------------------------------------------------------
Mon Feb 5 08:44:07 UTC 2024 - Yifan Jiang <yfjiang@suse.com>
- Choose higher gcc version to build on SLE and Leap 15.
- Update the name of libpanel-1-1 to be compliant with:
https://en.opensuse.org/openSUSE:Shared_library_packaging_policy
-------------------------------------------------------------------
Sun Sep 17 01:24:14 UTC 2023 - Luciano Santos <luc14n0@opensuse.org>
- Update to version 1.4.0:
+ Stylesheet fixes for GNOME 45.
+ Updated translations.
-------------------------------------------------------------------
Sun Sep 3 00:45:52 UTC 2023 - Luciano Santos <luc14n0@opensuse.org>
- Update to version 1.3.1:
+ A11y improvements.
- Replace pkgconfig(glib-2.0) BuildRequires with pkgconfig(gio-2.0)
to follow upstream change.
-------------------------------------------------------------------
Thu Aug 10 09:09:41 UTC 2023 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 1.3.0:
+ A PanelMenuManager has been added
+ An action group helper has been added
+ The action muxer API is now public
+ A layered gsettings helper is available
+ An inhibitor api is provided for session logout inhibiting
+ A new workspace/workbench API is provided that is similar to
what Builder has done
+ Various bug fixes
-------------------------------------------------------------------
Fri Mar 17 19:36:01 UTC 2023 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 1.2.0:
+ CSS fixes for libadwaita 1.4.
+ Fix various gidoc warnings.
+ Remove use of g_autoptr() which creeped in.
+ Updated translations.
-------------------------------------------------------------------
Mon Mar 6 14:32:43 UTC 2023 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 1.1.2:
+ Fix various leaks
+ Improved gir annoations
+ Docs cleanup
+ Fixes for use with AdwTabView
+ Updated translations.
-------------------------------------------------------------------
Thu Feb 23 17:43:23 UTC 2023 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 1.1.1:
+ Tooltip improvements.
+ Improved page closed handling.
+ PanelDock::create-frame(position) signal was added.
+ PanelDock::adpot-widget() signal was added.
+ Correctness fixes in PanelActionMuxer.
+ Improved i18n support.
+ Updated translations.
- Changes from version 1.1.0:
+ DnD fixes.
+ PanelWidget:tooltip property to set tooltips on tabs.
+ Disable ctrl+home/end from adwaita for tabs by default.
+ CSS tweaks.
+ A new frame.close-all action.
+ Updated translations.
-------------------------------------------------------------------
Thu Nov 3 11:09:32 UTC 2022 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 1.0.2:
+ CSS improvements for backdrop.
+ Block tabbar from handling ctrl+home and similar shortcuts.
-------------------------------------------------------------------
Tue Sep 27 07:47:26 UTC 2022 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 1.0.1:
+ Drag-n-Drop fixes.
+ Remove use of g_autofree to fix builds for MSVC.
+ Updated translations.
-------------------------------------------------------------------
Sun Sep 18 10:50:00 UTC 2022 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 1.0.0:
+ Various dock improvements to grabs.
+ Switch to GBindingGroup.
+ PanelSaveChangesDialog implements the new GNOME save workflow.
+ PanelPosition has been added.
+ Improvements to PanelFrame.
+ PanelDockPosition has been renamed to PanelArea.
+ PanelDockSwitcher has been renamed to PanelToggleButton.
+ Various convenience API additions.
+ Documentation updates.
+ Updated translations.
- Pass docs=disabled to meson, do not build api docs for now.
- Package translations, and provide libpanel via the main shared
library, make lang-package installable.
-------------------------------------------------------------------
Sat Aug 20 17:52:25 UTC 2022 - Bjørn Lie <bjorn.lie@gmail.com>
- Initial packaging for openSUSE.

111
libpanel.spec Normal file
View File

@ -0,0 +1,111 @@
#
# spec file for package libpanel
#
# Copyright (c) 2023 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/
#
%define libname %{name}-1-1
Name: libpanel
Version: 1.4.0
Release: 0
Summary: IDE paneling library for GTK
License: LGPL-3.0-or-later
URL: https://gitlab.gnome.org/GNOME/libpanel
Source: https://download.gnome.org/sources/%{name}/1.4/%{name}-%{version}.tar.xz
%if 0%{?sle_version} && 0%{?sle_version} < 160000
BuildRequires: gcc13
BuildRequires: gcc13-c++
%endif
BuildRequires: meson
BuildRequires: pkgconfig
BuildRequires: pkgconfig(gio-2.0)
BuildRequires: pkgconfig(gobject-introspection-1.0)
BuildRequires: pkgconfig(gtk4)
BuildRequires: pkgconfig(libadwaita-1)
BuildRequires: pkgconfig(vapigen)
%description
A collection of GTK widgets for IDE-like applications targeting
GNOME using GTK and libadwaita.
%package -n %{libname}
Summary: Shared library files for %{name}
Provides: %{name} = %{version}
Provides: %{name}1-1
Obsoletes: %{name}1-1
%description -n %{libname}
The %{libname} package contains shared libraries %{name}.
%package -n typelib-1_0-Panel-1
Summary: Typelib files for %{name}
%description -n typelib-1_0-Panel-1
Package contains typelib files for use with %{name}.
%package devel
Summary: Development files for %{name}
Requires: %{libname} = %{version}
Requires: typelib-1_0-Panel-1 = %{version}
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%lang_package
%prep
%autosetup -p1
%build
%if 0%{?sle_version} && 0%{?sle_version} < 160000
export CC=gcc-13
%endif
%meson \
-D docs=disabled \
%{nil}
%meson_build
%install
%meson_install
%find_lang %{name}
%ldconfig_scriptlets -n %{libname}
%files -n %{libname}
%license COPYING
%{_libdir}/%{name}-1.so.*
%files -n typelib-1_0-Panel-1
%{_libdir}/girepository-1.0/Panel-1.typelib
%files devel
%doc AUTHORS NEWS README.md
%{_includedir}/libpanel-1/
%{_libdir}/libpanel-1.so
%{_libdir}/pkgconfig/libpanel-1.pc
%dir %{_datadir}/gir-1.0
%{_datadir}/gir-1.0/Panel-1.gir
%{_datadir}/icons/hicolor/scalable/actions/panel-*-symbolic.svg
%dir %{_datadir}/vala
%dir %{_datadir}/vala/vapi
%{_datadir}/vala/vapi/libpanel-1.deps
%{_datadir}/vala/vapi/libpanel-1.vapi
%files lang -f %{name}.lang
%changelog