Accepting request 1109842 from GNOME:Next

Pushing GNOME 45.rc packages

OBS-URL: https://build.opensuse.org/request/show/1109842
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libdex?expand=0&rev=6
This commit is contained in:
Dominique Leuenberger 2023-09-12 08:21:20 +00:00 committed by Git OBS Bridge
parent 301a9ea1ab
commit 073bf0ee37
4 changed files with 62 additions and 7 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a0f7566260971a1e4aeb53a07d95c806091257b8789d6fad9931dba872c5070d
size 91648

3
libdex-0.3.1.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4f0fc1b27cbb757d72d61e97b8675960768120d646b5157a4cbbff5efd4224c9
size 95460

View File

@ -1,3 +1,56 @@
-------------------------------------------------------------------
Wed Sep 6 01:13:35 UTC 2023 - Luciano Santos <luc14n0@opensuse.org>
- Drop pkgconfig(sysprof-4) BuildRequires. This was only needed
because sysprof-capture-static-devel was lacking header files,
which was mistakenly being packaged with sysprof-devel, and it's
fixed now.
- Add with(out) "profiling" build switch and disable it, by
default, as profiling isn't meant for general use. This nests
pkgconfig(sysprof-capture-4) BuildRequires under an if-with
expression and passes profiler=(true|false) to meson, depending
on the profiling switch. Disabling this should also avoid a build
cycle introduced by Sysprof 45 by requiring libdex.
-------------------------------------------------------------------
Thu Aug 10 09:12:48 UTC 2023 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 0.3.1:
+ A new "Infinite" future type which will never resolve or
reject.
+ The gio wrappers will now set debuggable names for their
futures.
+ A `dex_async_pair_set_cancel_on_discard()` function has been
added which ensures that the `GCancellable` will not be
cancelled when the future is discarded. This can help in
situations where you might repeatedly await on a future and do
not want intermediate cancellation between attempts to await.
+ A `dex_input_stream_skip_async()` function has been added to
wrap the underlying GIO function.
+ A `dex_future_disown()` function has been added which
simplifies the case where you want a future to run but are not
interested in the result.
-------------------------------------------------------------------
Tue Jul 11 12:20:10 UTC 2023 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 0.3.0:
+ Documentation updates
+ pkg-config improvements
+ Build system improvements for GIR
+ Support for GVariant-based futures
+ New Future-based wrappers for GDBusConnection
+ The FD-based AIO API is now public, allowing for use of
io_uring on Linux kernels that support it. If unsupported, a
threadpool approach is used similar to GIO
+ Improvements to introspection for language bindings
+ You can now return NULL for a DexPromise expecting a GObject as
as a resolved value
+ DexFiber will now get static names associated with them when
used from C which points to the line of code. This is only
enabled when debugging is enabled for libdex through the use of
macros
-------------------------------------------------------------------
Fri Mar 17 19:46:13 UTC 2023 - Bjørn Lie <bjorn.lie@gmail.com>

View File

@ -17,14 +17,15 @@
%define soname libdex-1-1
%bcond_with profiling
Name: libdex
Version: 0.2.0
Version: 0.3.1
Release: 0
Summary: Library supporting "Deferred Execution" for GNOME and GTK
License: LGPL-2.1-or-later
URL: https://gitlab.gnome.org/chergert/libdex
Source0: https://download.gnome.org/sources/%{name}/0.2/%{name}-%{version}.tar.xz
Source0: https://download.gnome.org/sources/%{name}/0.3/%{name}-%{version}.tar.xz
BuildRequires: c_compiler
BuildRequires: meson
@ -34,8 +35,9 @@ BuildRequires: pkgconfig(gi-docgen)
BuildRequires: pkgconfig(gio-2.0)
BuildRequires: pkgconfig(gobject-introspection-1.0)
BuildRequires: pkgconfig(liburing)
BuildRequires: pkgconfig(sysprof-4)
%if %{with profiling}
BuildRequires: pkgconfig(sysprof-capture-4)
%endif
BuildRequires: pkgconfig(vapigen)
%description
@ -93,7 +95,7 @@ applications with libdex.
%meson \
-D docs=true \
-D examples=false \
-D sysprof=true \
-D sysprof=%{?with_profiling:true}%{!?with_profiling:false} \
%{nil}
%meson_build