mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-25 06:14:18 +08:00
Add glib-networking
This commit is contained in:
parent
3c018183d0
commit
363d48a55c
18
recipes/wip/libs/net/glib-networking/recipe.toml
Normal file
18
recipes/wip/libs/net/glib-networking/recipe.toml
Normal file
@ -0,0 +1,18 @@
|
||||
[source]
|
||||
tar = "https://download.gnome.org/sources/glib-networking/2.80/glib-networking-2.80.1.tar.xz"
|
||||
blake3 = "114a3ea41ea33d8cd01a61381b49fbf60278212ddd88c65f70c26137217be3fd"
|
||||
patches = ["redox.patch"]
|
||||
|
||||
[build]
|
||||
template = "custom"
|
||||
dependencies = [
|
||||
"glib",
|
||||
"gnutls3",
|
||||
]
|
||||
script = """
|
||||
DYNAMIC_INIT
|
||||
cookbook_meson \
|
||||
-Ddefault_library=shared \
|
||||
-Dgnome_proxy=disabled \
|
||||
-Dlibproxy=disabled
|
||||
"""
|
||||
12
recipes/wip/libs/net/glib-networking/redox.patch
Normal file
12
recipes/wip/libs/net/glib-networking/redox.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -ruwN source-old/tls/tests/meson.build source/tls/tests/meson.build
|
||||
--- source-old/tls/tests/meson.build 2025-01-08 14:51:06.000000000 -0700
|
||||
+++ source/tls/tests/meson.build 2025-11-10 20:33:28.041098208 -0700
|
||||
@@ -40,7 +40,7 @@
|
||||
test_programs = [
|
||||
['certificate', [], deps, [], [mock_pkcs11_module]],
|
||||
['file-database', [], deps, [], []],
|
||||
- ['connection', ['mock-interaction.c'], deps, [], [mock_pkcs11_module]],
|
||||
+ #TODO: RTLD_NEXT on Redox: ['connection', ['mock-interaction.c'], deps, [], [mock_pkcs11_module]],
|
||||
# DTLS tests are disabled until we fix https://gitlab.gnome.org/GNOME/glib-networking/issues/49
|
||||
# ['dtls-connection', ['mock-interaction.c', 'lossy-socket.c'], deps, [], [mock_pkcs11_module]],
|
||||
]
|
||||
Loading…
Reference in New Issue
Block a user