Sync from SUSE:SLFO:Main libdecor revision 3d96fbe254b2f4658bae6d66e63159db

This commit is contained in:
Adrian Schröter 2024-05-03 14:51:09 +02:00
commit cf7e7ebb6f
5 changed files with 136 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

3
baselibs.conf Normal file
View File

@ -0,0 +1,3 @@
libdecor
libdecor-0-0
libdecor-devel

BIN
libdecor-0.1.1.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.

22
libdecor.changes Normal file
View File

@ -0,0 +1,22 @@
-------------------------------------------------------------------
Sat Dec 3 10:31:33 UTC 2022 - Dirk Müller <dmueller@suse.com>
- 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 <david@davidgow.net>
- Build -32bit packages of libdecor
-------------------------------------------------------------------
Wed Jan 26 20:08:00 UTC 2022 - Matthias Mailänder <mailaender@opensuse.org>
- initial packaging of version 0.1.0

85
libdecor.spec Normal file
View File

@ -0,0 +1,85 @@
#
# spec file for package libdecor
#
# Copyright (c) 2022 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 commit ee5ef0f2c3a4743e8501a855d61cb397
Name: libdecor
Version: 0.1.1
Release: 0
Summary: Wayland client side decoration library
License: MIT
Group: System/GUI/Other
URL: https://gitlab.gnome.org/jadahl/libdecor
Source: https://gitlab.gnome.org/jadahl/libdecor/uploads/%{commit}/%{name}-%{version}.tar.xz
Source1: baselibs.conf
BuildRequires: gcc
BuildRequires: meson
BuildRequires: pkgconfig
BuildRequires: pkgconfig(cairo)
BuildRequires: pkgconfig(dbus-1)
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
%post -n libdecor-0-0 -p /sbin/ldconfig
%postun -n libdecor-0-0 -p /sbin/ldconfig
%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