Compare commits

1 Commits
main ... 1.1

7 changed files with 7 additions and 134 deletions

View File

@@ -1,19 +0,0 @@
<?xml version="1.0"?>
<services>
<service name="obs_scm" mode="manual">
<param name="scm">git</param>
<param name="url">https://gitlab.gnome.org/GNOME/libdex.git</param>
<param name="revision">0.10.0</param>
<param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param>
<param name="versionrewrite-pattern">v?(.*)\+0</param>
<param name="versionrewrite-replacement">\1</param>
<!-- <param name="changesgenerate">enable</param> -->
</service>
<service name="tar" mode="buildtime"/>
<service name="recompress" mode="buildtime">
<param name="file">*.tar</param>
<param name="compression">zst</param>
</service>
<service name="set_version" mode="manual" />
</services>

View File

@@ -1,12 +0,0 @@
Index: libdex-0.10.0/testsuite/meson.build
===================================================================
--- libdex-0.10.0.orig/testsuite/meson.build
+++ libdex-0.10.0/testsuite/meson.build
@@ -23,7 +23,6 @@ testsuite = {
'test-fiber': {},
'test-future': {},
'test-scheduler': {},
- 'test-semaphore': {},
'test-stream': {},
}

Binary file not shown.

BIN
libdex-0.4.1.tar.xz LFS Normal file

Binary file not shown.

View File

@@ -1,89 +1,3 @@
-------------------------------------------------------------------
Tue May 27 08:10:42 UTC 2025 - Yifan Jiang <yfjiang@suse.com>
- Add disable-test-semaphore.patch to temporarily disable the unit
test. It could be hardware related since the same package in the
branch built successfully on local hardware (bsc#1242053).
-------------------------------------------------------------------
Sun Mar 16 08:43:27 UTC 2025 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 0.10.0:
+ Discard dependent futures if fiber was cancelled during await.
+ Discard dependent futures when finalizing DexBlock.
-------------------------------------------------------------------
Tue Feb 25 10:13:14 UTC 2025 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 0.9.1 (Unstable):
+ Improve build checks for libatommic
+ Add dex_promise_resolve_boxed()
+ Improve cancellation of fibers
+ Use libucontext when necessary
-------------------------------------------------------------------
Sat Jan 25 07:52:23 UTC 2025 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 0.9.0 (Unstable):
+ Support for OpenBSD
+ Raise default mmap stack size to 128kb for fibers
+ Add await/resolve API for file-descriptors
+ New dex_return_error_if_fail() precondition macro similar to
g_return_val_if_fail().
+ Additional GIO wrapper functions including dex_file_delete()
and dex_file_replace_contents_bytes()
+ Build system improvements
-------------------------------------------------------------------
Sat Oct 19 10:17:15 UTC 2024 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 0.8.1:
+ Fix disabling of assertions in production builds
-------------------------------------------------------------------
Tue Sep 17 06:35:24 UTC 2024 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 0.8.0:
+ Various build system improvements to help catch correctness
issues.
+ Increased assertions in fibers to help Coverity discover usage
patterns.
+ Avoid releasing discarded future until chained future is
released.
+ Fix overflow in extremely large timeout calculation.
+ Various introspection fixes.
+ Fix inclusion from C++.
-------------------------------------------------------------------
Mon Jun 3 09:53:11 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Update to version 0.6.1:
+ Adds Fiber support for macOS on Apple Silicon.
-------------------------------------------------------------------
Fri Mar 15 21:08:26 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Update to version 0.6.0:
+ No changes since 0.5.1.
-------------------------------------------------------------------
Mon Mar 4 08:49:06 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Update to version 0.5.1:
+ Add convenience API for checking exact future status without
enum.
+ Lots of documentation additions.
-------------------------------------------------------------------
Tue Feb 13 07:49:46 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Update to version 0.5.0:
+ Various API now warns about unused results to help avoid
unintended leaks of futures.
+ dex_file_query_exists() is a new wrapper for
g_file_query_exists().
+ Documentation fixes.
-------------------------------------------------------------------
Mon Oct 23 17:54:41 UTC 2023 - Bjørn Lie <bjorn.lie@gmail.com>

View File

@@ -1,4 +0,0 @@
name: libdex
version: 0.10.0
mtime: 1742065289
commit: 094958a3780b5ab4652c0547774a1b24862ac25d

View File

@@ -1,7 +1,7 @@
#
# spec file for package libdex
#
# Copyright (c) 2025 SUSE LLC
# 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
@@ -20,14 +20,12 @@
%bcond_with profiling
Name: libdex
Version: 0.10.0
Version: 0.4.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: %{name}-%{version}.tar.zst
# PATCH-FIX-SLE disable-test-semaphore.patch bsc#1242053 -- temporarily disable the unit test on IBS
Patch1000: disable-test-semaphore.patch
Source0: https://download.gnome.org/sources/%{name}/0.4/%{name}-%{version}.tar.xz
BuildRequires: c_compiler
BuildRequires: meson
@@ -91,11 +89,7 @@ This package contains developer documentation for writing
applications with libdex.
%prep
%autosetup -N
%autopatch -p1 -M 999
%if !0%{?is_opensuse} || 0%{?suse_version} <= 1600
%autopatch -p1 -m 1000
%endif
%autosetup -p1
%build
%meson \