From a6dbd057f97e7ef6b3da8d61db4ac6d96008ff18a7bf24a000dbd91965ac0650 Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Mon, 22 Jul 2024 10:15:59 +0000 Subject: [PATCH] Accepting request 1188436 from home:DrinkyBird:branches:X11:Wayland - Update to version 0.2.2: * gtk: fix memory leak when destroying the gtk plugin * gtk: fix memory leak when freeing seats * gtk: Make resize corner region larger * cairo: Make resize corner region larger * cursor-settings: Get theme/size from env if D-Bus call fails * gtk: Use g_clear_pointer() in a couple of places * gtk: Don't early out of frame free function Includes changes from 0.2.1: * gtk: Don't report errors during construction * Handle NULL wl_output as argument * gtk: Optionally use wl_output_release * cairo: Optionally use wl_output_release * libdecor: fix leak of DBusError in get_setting_sync * gtk: use error notification with string formatting * gtk: disable setlocale() * build: Use `gnu_symbol_visibility` everywhere OBS-URL: https://build.opensuse.org/request/show/1188436 OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/libdecor?expand=0&rev=13 --- .gitattributes | 23 ++++++++++++ .gitignore | 1 + baselibs.conf | 2 ++ libdecor-0.2.0.tar.xz | 3 ++ libdecor-0.2.2.tar.xz | 3 ++ libdecor.changes | 58 ++++++++++++++++++++++++++++++ libdecor.spec | 84 +++++++++++++++++++++++++++++++++++++++++++ 7 files changed, 174 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 baselibs.conf create mode 100644 libdecor-0.2.0.tar.xz create mode 100644 libdecor-0.2.2.tar.xz create mode 100644 libdecor.changes create mode 100644 libdecor.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/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/baselibs.conf b/baselibs.conf new file mode 100644 index 0000000..66f9dd3 --- /dev/null +++ b/baselibs.conf @@ -0,0 +1,2 @@ +libdecor +libdecor-0-0 diff --git a/libdecor-0.2.0.tar.xz b/libdecor-0.2.0.tar.xz new file mode 100644 index 0000000..aebe0ce --- /dev/null +++ b/libdecor-0.2.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d39a37e973c42d192e03f561c9b1f5260df28e3a93c8275355f97c589078eebe +size 44880 diff --git a/libdecor-0.2.2.tar.xz b/libdecor-0.2.2.tar.xz new file mode 100644 index 0000000..e718768 --- /dev/null +++ b/libdecor-0.2.2.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:16a288e24354d461b20dda9cf38e68543569134f04e4b7fa2914aa647907dfac +size 44988 diff --git a/libdecor.changes b/libdecor.changes new file mode 100644 index 0000000..7664180 --- /dev/null +++ b/libdecor.changes @@ -0,0 +1,58 @@ +------------------------------------------------------------------- +Thu Jul 18 14:16:13 UTC 2024 - Sean Baggaley + +- Update to version 0.2.2: + * gtk: fix memory leak when destroying the gtk plugin + * gtk: fix memory leak when freeing seats + * gtk: Make resize corner region larger + * cairo: Make resize corner region larger + * cursor-settings: Get theme/size from env if D-Bus call fails + * gtk: Use g_clear_pointer() in a couple of places + * gtk: Don't early out of frame free function + + Includes changes from 0.2.1: + * gtk: Don't report errors during construction + * Handle NULL wl_output as argument + * gtk: Optionally use wl_output_release + * cairo: Optionally use wl_output_release + * libdecor: fix leak of DBusError in get_setting_sync + * gtk: use error notification with string formatting + * gtk: disable setlocale() + * build: Use `gnu_symbol_visibility` everywhere + +------------------------------------------------------------------- +Thu Feb 15 06:32:48 UTC 2024 - Antonio Larrosa + +- Remove the -devel package from baselibs.conf + +------------------------------------------------------------------- +Wed Sep 27 19:42:00 UTC 2023 - Bjørn Lie + +- Update to version 0.2.0: + * Various bug and leak fixes. + * New gtk plugin. +- Update URL and source to new home. +- Add pkgconfig(gtk-3.0) BuildRequires, new dependency. +- Use ldconfig_scriptlets macro for post(un) handling. + +------------------------------------------------------------------- +Sat Dec 3 10:31:33 UTC 2022 - Dirk Müller + +- update to 0.1.1: + * cairo: Keep a ref to the frame while invoking libdecor_frame_close(). + * os-compatibility: handle EINTR gracefully + * bdecor: drop 'p' prefix for pointer to width and height + * libdecor: reorder set_min/set_max functions + * Avoid infinite loop in init_plugins() + * implement 'frame_get_border_size' for fallback plugin + * Fix leak of plugin private data + +------------------------------------------------------------------- +Thu Apr 14 16:01:22 UTC 2022 - David Gow + +- Build -32bit packages of libdecor + +------------------------------------------------------------------- +Wed Jan 26 20:08:00 UTC 2022 - Matthias Mailänder + +- initial packaging of version 0.1.0 diff --git a/libdecor.spec b/libdecor.spec new file mode 100644 index 0000000..068ff7d --- /dev/null +++ b/libdecor.spec @@ -0,0 +1,84 @@ +# +# spec file for package libdecor +# +# 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/ +# + + +Name: libdecor +Version: 0.2.2 +Release: 0 +Summary: Wayland client side decoration library +License: MIT +Group: System/GUI/Other +URL: https://gitlab.freedesktop.org/libdecor/libdecor +Source: %{url}/-/releases/%{version}/downloads/%{name}-%{version}.tar.xz +Source1: baselibs.conf +BuildRequires: gcc +BuildRequires: meson +BuildRequires: pkgconfig +BuildRequires: pkgconfig(cairo) +BuildRequires: pkgconfig(dbus-1) +BuildRequires: pkgconfig(gtk+-3.0) +BuildRequires: pkgconfig(pangocairo) +BuildRequires: pkgconfig(wayland-client) +BuildRequires: pkgconfig(wayland-cursor) +BuildRequires: pkgconfig(wayland-protocols) +BuildRequires: pkgconfig(xkbcommon) + +%description +A library that can help Wayland clients draw window decorations for them. +It aims to provide multiple backends that implements the decoration drawing. + +%package -n libdecor-0-0 +Summary: Library for client-side Wayland decorations +Requires: %{name} + +%description -n libdecor-0-0 +A client-side decorations library for Wayland client. + +%package devel +Summary: Development files for libdecor +Group: Development/Libraries/C and C++ +Requires: libdecor-0-0 = %{version} + +%description devel +Libraries and header files for developing applications that target libdecor. + +%prep +%autosetup + +%build +%meson -Ddemo=false +%meson_build + +%install +%meson_install + +%ldconfig_scriptlets -n libdecor-0-0 + +%files +%license LICENSE +%doc README.md +%{_libdir}/libdecor/ + +%files -n libdecor-0-0 +%{_libdir}/libdecor-0.so.0* + +%files devel +%{_includedir}/libdecor-0/ +%{_libdir}/libdecor-0.so +%{_libdir}/pkgconfig/libdecor-0.pc + +%changelog