all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
blob a9e1ed1c628a9d1d6e4ea6e2699bf6d9c9887232 1953 bytes (raw)
name: gnu/packages/patches/yabridge-5.0.4-fix-dependency-search.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
 
Meson fails to detect bitsery, function2 and gulrak-filesystem.
https://github.com/robbert-vdh/yabridge/issues/18

From c3cb50cff354c585afc3c94e676ac50a420e871b Mon Sep 17 00:00:00 2001
From: Sughosha <sughosha@proton.me>
Date: Sun, 23 Apr 2023 08:44:50 +0200
Subject: [PATCH] Fix dependency search

---
 meson.build | 15 +++------------
 1 file changed, 3 insertions(+), 12 deletions(-)

diff --git a/meson.build b/meson.build
index f76f5acf..ca85af68 100644
--- a/meson.build
+++ b/meson.build
@@ -248,22 +248,13 @@ else
   asio_dep = dependency('asio', version : '>=1.22.0')
 endif
 
-if meson.version().version_compare('>=0.60')
-  # Bitsery's CMake build definition is capitalized for some reason
-  bitsery_dep = dependency('bitsery', 'Bitsery', version : '>=5.2.0')
-else
-  # Mmeson <=0.6.0 didn't support multiple names for a dependency, and since at
-  # the moment this is only relevant for packing on Arch btw, it's probably
-  # better to remove this conditional later than it is to bump the minimum Meson
-  # version now.
-  bitsery_dep = dependency('bitsery', version : '>=5.2.0')
-endif
+bitsery_dep = declare_dependency()
 
 # The D-Bus headers are also only accessed through the include path. We don't
 # link to libdbus-1 to make soname changes don't completely break yabridge.
 dbus_dep = dependency('dbus-1').partial_dependency(compile_args : true, includes : true)
-function2_dep = dependency('function2', version : '>=4.0.0')
-ghc_filesystem_dep = dependency('ghc_filesystem', modules : 'ghcFilesystem::ghc_filesystem', version : '>=1.5.0')
+function2_dep = declare_dependency()
+ghc_filesystem_dep = declare_dependency()
 threads_dep = dependency('threads')
 # Tomlplusplus recently added a shraed library version. We don't want to link to that.
 tomlplusplus_dep = dependency('tomlplusplus', version : '>=3.3.0', default_options : ['compile_library=false']).partial_dependency(compile_args : true, includes : true)
-- 
2.39.2


debug log:

solving a9e1ed1c62 ...
found a9e1ed1c62 in https://yhetil.org/guix/GbYndPgckH86xp7Vvhx6o_nppxczXkXkVg8umTV378DV0erNJieHXDBp7IYbHJEnvhEi15XSa8UnnN4JJ_wH0Yybyq-iOzBxHfjTB0cZykY=@proton.me/

applying [1/1] https://yhetil.org/guix/GbYndPgckH86xp7Vvhx6o_nppxczXkXkVg8umTV378DV0erNJieHXDBp7IYbHJEnvhEi15XSa8UnnN4JJ_wH0Yybyq-iOzBxHfjTB0cZykY=@proton.me/
diff --git a/gnu/packages/patches/yabridge-5.0.4-fix-dependency-search.patch b/gnu/packages/patches/yabridge-5.0.4-fix-dependency-search.patch
new file mode 100644
index 0000000000..a9e1ed1c62

1:26: trailing whitespace.
 
1:38: trailing whitespace.
 
1:49: trailing whitespace.
-- 
Checking patch gnu/packages/patches/yabridge-5.0.4-fix-dependency-search.patch...
1:51: new blank line at EOF.
+
Applied patch gnu/packages/patches/yabridge-5.0.4-fix-dependency-search.patch cleanly.
warning: 4 lines add whitespace errors.

index at:
100644 a9e1ed1c628a9d1d6e4ea6e2699bf6d9c9887232	gnu/packages/patches/yabridge-5.0.4-fix-dependency-search.patch

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.