unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
blob 27c578f3fa7a6ce0fd01396b1c0b91b62db6b0fd 1090 bytes (raw)
name: packages/patches/shared-mime-info-xdgmime-path.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
 
Adapted from <https://gitlab.freedesktop.org/xdg/shared-mime-info/-/merge_requests/182>.

diff --git a/meson.build b/meson.build
index 3c75424..7058562 100644
--- a/meson.build
+++ b/meson.build
@@ -26,11 +26,11 @@ xmlto   = find_program('xmlto', required: false)
 ###############################################################################
 # Find xdgmime
 
-xdgmime = get_option('xdgmime-path') / 'src'
+xdgmime = get_option('xdgmime-path')
 
-xdgmime_print_mime_data = find_program(xdgmime/'print-mime-data', required: false)
-xdgmime_test_mime_data  = find_program(xdgmime/'test-mime-data', required: false)
-xdgmime_test_mime       = find_program(xdgmime/'test-mime', required: false)
+xdgmime_print_mime_data = find_program('print-mime-data', xdgmime/'print-mime-data', required: false)
+xdgmime_test_mime_data  = find_program('test-mime-data', xdgmime/'test-mime-data', required: false)
+xdgmime_test_mime       = find_program('test-mime', xdgmime/'test-mime', required: false)
 xdgmime_found = (
     xdgmime_print_mime_data.found() and
     xdgmime_test_mime_data.found()  and

debug log:

solving 27c578f3fa7a6ce0fd01396b1c0b91b62db6b0fd ...
found 27c578f3fa7a6ce0fd01396b1c0b91b62db6b0fd in https://git.savannah.gnu.org/cgit/guix.git

(*) 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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).