Compare commits
2 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| def8166165 | |||
| 05cad6e080 |
2
_service
2
_service
@@ -1,7 +1,7 @@
|
||||
<services>
|
||||
<service name="tar_scm" mode="manual">
|
||||
<param name="filename">ocaml-luv</param>
|
||||
<param name="revision">776a7676da1c71d0b1afb2728d1a47c0f024f089</param>
|
||||
<param name="revision">54f0eaa1432282b3eeba15d8b452800cc1e9f73f</param>
|
||||
<param name="scm">git</param>
|
||||
<param name="submodules">disable</param>
|
||||
<param name="url">https://github.com/aantron/luv.git</param>
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ddd40ab116ee92de6a8a48e95dfaac07789f75b2a7d7cbd9d3a2fd98cd26d4f5
|
||||
size 6365764
|
||||
3
ocaml-luv-0.5.13.tar.xz
Normal file
3
ocaml-luv-0.5.13.tar.xz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:65d0982e70628f8eb5daf15be002701913773dde8cae344fe6446182c1d64efa
|
||||
size 335864
|
||||
@@ -1,3 +1,36 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun May 11 14:25:05 UTC 2025 - Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@fastmail.net>
|
||||
|
||||
- Update to version 0.5.13
|
||||
* Breaking
|
||||
+ Luv.Resource.free_memory and Luv.Resource.total_memory now return
|
||||
options, in accordance with a clarification in libuv (#153).
|
||||
+ Filename in callback of Luv.FS_event.start can be None, in accordance
|
||||
with a clarification in libuv (#155).
|
||||
+ Rename fields of Luv.Time.timeval (dbd4e43).
|
||||
* Additions
|
||||
+ Upgrade libuv to 1.48.0, including 1.47.0, 1.46.0, 1.45.0 and io_uring
|
||||
support (#153, #154, #155, #158).
|
||||
+ Expose uv_cpumask_size as Luv.System_info.cpumask_size,
|
||||
uv_thread_setaffinity as Luv.Thread.setaffinity, uv_thread_getaffinity as
|
||||
Luv.Thread.getaffinity (#153).
|
||||
+ Expose UV_ENODATA as `ENODATA (#153).
|
||||
+ Expose uv_metrics_info as Luv.Metrics.info (#153).
|
||||
+ Expose uv_thread_getcpu as Luv.Thread.getcpu (#153).
|
||||
+ Expose uv_get_available_memory as Luv.Resource.available_memory (#153).
|
||||
+ Expose uv_os_get_passwd2 as ?uid parameter of Luv.Passwd.get_passwd (#153).
|
||||
+ Expose uv_os_get_group as Luv.Passwd.get_group (#153).
|
||||
+ Expose uv_clock_gettime as Luv.Time.clock_gettime (#153).
|
||||
+ Expose uv_pipe_bind2 and uv_pipe_connect2 as ?no_truncate parameters of
|
||||
Luv.Pipe.bind and Luv.Pipe.connect (#154).
|
||||
+ Expose EUNATCH as `EUNATCH (#154).
|
||||
+ Expose UTF-16/WTF-8 conversion functions in new module Luv.String (#155).
|
||||
+ Expose uv_thread_setpriority as Luv.Thread.setpriority and
|
||||
uv_thread_getpriority as Luv.Thread.getpriority (#158).
|
||||
+ Expose UV_PROCESS_WINDOWS_FILE_PATH_EXACT_NAME as
|
||||
?windows_file_path_exact_name parameter of Luv.Process.spawn (#158).
|
||||
- Refresh ocaml-luv.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 3 03:03:03 UTC 2025 - ohering@suse.de
|
||||
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
--- a/src/c/dune
|
||||
+++ b/src/c/dune
|
||||
@@ -117,6 +117,7 @@ let () = Jbuild_plugin.V1.send @@ {|
|
||||
Index: ocaml-luv-0.5.13/src/c/dune
|
||||
===================================================================
|
||||
--- ocaml-luv-0.5.13.orig/src/c/dune
|
||||
+++ ocaml-luv-0.5.13/src/c/dune
|
||||
@@ -139,6 +139,7 @@ let () = Jbuild_plugin.V1.send @@ {|
|
||||
|}^ i_option ^{| /Fe\"%{targets}\"; \
|
||||
else \
|
||||
%{cc} %{c} \
|
||||
@@ -8,8 +10,10 @@
|
||||
-I '%{lib:ctypes:.}' \
|
||||
-I %{ocaml_where} \
|
||||
|}^ i_option ^{| -o %{targets}; \
|
||||
--- a/src/c/helpers.c
|
||||
+++ b/src/c/helpers.c
|
||||
Index: ocaml-luv-0.5.13/src/c/helpers.c
|
||||
===================================================================
|
||||
--- ocaml-luv-0.5.13.orig/src/c/helpers.c
|
||||
+++ ocaml-luv-0.5.13/src/c/helpers.c
|
||||
@@ -181,7 +181,8 @@ static void luv_getaddrinfo_trampoline(
|
||||
}
|
||||
|
||||
@@ -20,11 +24,11 @@
|
||||
{
|
||||
caml_acquire_runtime_system();
|
||||
value callback;
|
||||
@@ -413,7 +414,7 @@ uv_getaddrinfo_cb luv_get_getaddrinfo_trampoline(void)
|
||||
@@ -413,7 +414,7 @@ uv_getaddrinfo_cb luv_get_getaddrinfo_tr
|
||||
return luv_getaddrinfo_trampoline;
|
||||
}
|
||||
|
||||
-luv_getnameinfo_cb luv_get_getnameinfo_trampoline()
|
||||
-luv_getnameinfo_cb luv_get_getnameinfo_trampoline(void)
|
||||
+uv_getnameinfo_cb luv_get_getnameinfo_trampoline(void)
|
||||
{
|
||||
return luv_getnameinfo_trampoline;
|
||||
@@ -45,8 +49,10 @@
|
||||
int luv_read_start(
|
||||
uv_stream_t *stream, uv_alloc_cb alloc_cb, luv_read_cb read_cb)
|
||||
{
|
||||
--- a/src/c/helpers.h
|
||||
+++ b/src/c/helpers.h
|
||||
Index: ocaml-luv-0.5.13/src/c/helpers.h
|
||||
===================================================================
|
||||
--- ocaml-luv-0.5.13.orig/src/c/helpers.h
|
||||
+++ ocaml-luv-0.5.13/src/c/helpers.h
|
||||
@@ -55,9 +55,6 @@ typedef void (*luv_fs_event_cb)(
|
||||
typedef void (*luv_fs_poll_cb)(
|
||||
uv_fs_poll_t *handle, int status, uv_stat_t *prev, uv_stat_t *curr);
|
||||
@@ -57,15 +63,15 @@
|
||||
typedef void (*luv_read_cb)(uv_stream_t *stream, ssize_t nread, uv_buf_t *buf);
|
||||
|
||||
typedef void (*luv_udp_recv_cb)(
|
||||
@@ -78,7 +75,7 @@ uv_fs_cb luv_null_fs_callback_pointer(void);
|
||||
luv_fs_event_cb luv_get_fs_event_trampoline();
|
||||
luv_fs_poll_cb luv_get_fs_poll_trampoline();
|
||||
uv_getaddrinfo_cb luv_get_getaddrinfo_trampoline();
|
||||
-luv_getnameinfo_cb luv_get_getnameinfo_trampoline();
|
||||
@@ -78,7 +75,7 @@ uv_fs_cb luv_null_fs_callback_pointer(vo
|
||||
luv_fs_event_cb luv_get_fs_event_trampoline(void);
|
||||
luv_fs_poll_cb luv_get_fs_poll_trampoline(void);
|
||||
uv_getaddrinfo_cb luv_get_getaddrinfo_trampoline(void);
|
||||
-luv_getnameinfo_cb luv_get_getnameinfo_trampoline(void);
|
||||
+uv_getnameinfo_cb luv_get_getnameinfo_trampoline(void);
|
||||
uv_idle_cb luv_get_idle_trampoline();
|
||||
luv_once_cb luv_get_once_trampoline();
|
||||
uv_poll_cb luv_get_poll_trampoline();
|
||||
uv_idle_cb luv_get_idle_trampoline(void);
|
||||
luv_once_cb luv_get_once_trampoline(void);
|
||||
uv_poll_cb luv_get_poll_trampoline(void);
|
||||
@@ -173,10 +170,6 @@ int luv_fs_poll_start(
|
||||
uv_fs_poll_t *handle, luv_fs_poll_cb poll_cb, const char *path,
|
||||
unsigned int interval);
|
||||
@@ -77,8 +83,10 @@
|
||||
int luv_read_start(
|
||||
uv_stream_t *stream, uv_alloc_cb alloc_cb, luv_read_cb read_cb);
|
||||
|
||||
--- a/src/c/luv_c_function_descriptions.ml
|
||||
+++ b/src/c/luv_c_function_descriptions.ml
|
||||
Index: ocaml-luv-0.5.13/src/c/luv_c_function_descriptions.ml
|
||||
===================================================================
|
||||
--- ocaml-luv-0.5.13.orig/src/c/luv_c_function_descriptions.ml
|
||||
+++ ocaml-luv-0.5.13/src/c/luv_c_function_descriptions.ml
|
||||
@@ -1353,7 +1353,7 @@ struct
|
||||
(void @-> returning trampoline)
|
||||
|
||||
|
||||
@@ -29,7 +29,7 @@ ExclusiveArch: do-not-build
|
||||
|
||||
%define pkg ocaml-luv
|
||||
Name: %pkg%nsuffix
|
||||
Version: 0.5.12
|
||||
Version: 0.5.13
|
||||
Release: 0
|
||||
%{?ocaml_preserve_bytecode}
|
||||
Summary: Binding to libuv cross-platform asynchronous I/O
|
||||
@@ -45,8 +45,8 @@ BuildRequires: ocamlfind(ctypes)
|
||||
BuildRequires: pkgconfig(libuv)
|
||||
|
||||
%if "%build_flavor" == "testsuite"
|
||||
BuildRequires: ocamlfind(luv)
|
||||
BuildRequires: ocamlfind(alcotest)
|
||||
BuildRequires: ocamlfind(luv)
|
||||
%endif
|
||||
|
||||
%description
|
||||
|
||||
Reference in New Issue
Block a user