From b29a53b9dd58d8db66b9abb3b212a9b28012138bdae9f03bceac9809a17a976e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Mon, 22 Jul 2024 17:38:55 +0200 Subject: [PATCH] Sync from SUSE:SLFO:Main libpanel revision c4ee1e9b87da13155150871ad1d01c20 --- .gitattributes | 23 +++++++++ libpanel-1.4.0.tar.xz | 3 ++ libpanel.changes | 110 +++++++++++++++++++++++++++++++++++++++++ libpanel.spec | 111 ++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 247 insertions(+) create mode 100644 .gitattributes create mode 100644 libpanel-1.4.0.tar.xz create mode 100644 libpanel.changes create mode 100644 libpanel.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/libpanel-1.4.0.tar.xz b/libpanel-1.4.0.tar.xz new file mode 100644 index 0000000..4e2e161 --- /dev/null +++ b/libpanel-1.4.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:80f143d900e8ced8ff84fa86fe34eb6b48323cb610bcfb6858ea65d8b98f152c +size 159964 diff --git a/libpanel.changes b/libpanel.changes new file mode 100644 index 0000000..e537702 --- /dev/null +++ b/libpanel.changes @@ -0,0 +1,110 @@ +------------------------------------------------------------------- +Mon Feb 5 08:44:07 UTC 2024 - Yifan Jiang + +- 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 + +- Update to version 1.4.0: + + Stylesheet fixes for GNOME 45. + + Updated translations. + +------------------------------------------------------------------- +Sun Sep 3 00:45:52 UTC 2023 - Luciano Santos + +- 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 + +- 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 + +- 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 + +- 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 + +- 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 + +- 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 + +- 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 + +- 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 + +- Initial packaging for openSUSE. diff --git a/libpanel.spec b/libpanel.spec new file mode 100644 index 0000000..bb9c07d --- /dev/null +++ b/libpanel.spec @@ -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