Add glib-networking

This commit is contained in:
Jeremy Soller 2025-11-10 20:44:48 -07:00
parent 3c018183d0
commit 363d48a55c
No known key found for this signature in database
GPG Key ID: 670FDFB5428E05CA
2 changed files with 30 additions and 0 deletions

View 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
"""

View 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]],
]