evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / by-name / en / entangle / 0001-build-Add-missing-gio-unix-2.0-dependency.patch
blob91f09a4a8c8b5ca7c235ed147aad3380485ecf14
1 From 7f51ec77e1a35bbfb8ced3b7340818a72d859c0e Mon Sep 17 00:00:00 2001
2 From: Jan Tojnar <jtojnar@gmail.com>
3 Date: Mon, 14 Oct 2024 00:57:57 +0200
4 Subject: [PATCH] build: Add missing gio-unix-2.0 dependency
5 MIME-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
9 On Nix, we try to isolate dependencies more than usual and have an alternative interpretation of pkg-config’s `Requires.private` field.
10 In this environment, Entangle fails to build because it has implicit dependency on gio-unix:
12 ../src/frontend/entangle-camera-manager.c:28:10: fatal error: gio/gunixoutputstream.h: No such file or directory
13 28 | #include <gio/gunixoutputstream.h>
14 | ^~~~~~~~~~~~~~~~~~~~~~~~~
16 Let’s add it explicitly.
17 ---
18 meson.build | 1 +
19 src/frontend/meson.build | 1 +
20 2 files changed, 2 insertions(+)
22 diff --git a/meson.build b/meson.build
23 index 1510962..90873ef 100644
24 --- a/meson.build
25 +++ b/meson.build
26 @@ -33,6 +33,7 @@ add_global_arguments('-DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_38', language :
28 glib_dep = dependency('glib-2.0', version: glib_min_version)
29 gio_dep = dependency('gio-2.0', version: glib_min_version)
30 +gio_unix_dep = dependency('gio-unix-2.0', version: glib_min_version)
31 gthread_dep = dependency('gthread-2.0', version: glib_min_version)
32 gmodule_dep = dependency('gmodule-2.0', version: glib_min_version)
33 gdk_pixbuf_dep = dependency('gdk-pixbuf-2.0', version: gdk_pixbuf_min_version)
34 diff --git a/src/frontend/meson.build b/src/frontend/meson.build
35 index 1ed9d75..81310c8 100644
36 --- a/src/frontend/meson.build
37 +++ b/src/frontend/meson.build
38 @@ -90,6 +90,7 @@ entangle_frontend_sources += entangle_frontend_enum_sources
39 entangle_frontend_deps = [
40 gthread_dep,
41 gmodule_dep,
42 + gio_unix_dep,
43 gtk_dep,
44 gst_dep,
45 pango_dep,
46 --
47 2.46.0