diff --git a/libdex-0.2.0.tar.xz b/libdex-0.2.0.tar.xz deleted file mode 100644 index f3803e7..0000000 --- a/libdex-0.2.0.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a0f7566260971a1e4aeb53a07d95c806091257b8789d6fad9931dba872c5070d -size 91648 diff --git a/libdex-0.3.1.tar.xz b/libdex-0.3.1.tar.xz new file mode 100644 index 0000000..7f7474c --- /dev/null +++ b/libdex-0.3.1.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4f0fc1b27cbb757d72d61e97b8675960768120d646b5157a4cbbff5efd4224c9 +size 95460 diff --git a/libdex.changes b/libdex.changes index 2a6a603..93f8519 100644 --- a/libdex.changes +++ b/libdex.changes @@ -1,3 +1,56 @@ +------------------------------------------------------------------- +Wed Sep 6 01:13:35 UTC 2023 - Luciano Santos + +- 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 + +- 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 + +- 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 diff --git a/libdex.spec b/libdex.spec index 8cd7b18..a81a45e 100644 --- a/libdex.spec +++ b/libdex.spec @@ -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