unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
blob 47ce74739e13d7f612d32af83c214989ff8435f9 1405 bytes (raw)
name: gnu/packages/patches/pacman-fix-meson-build.diff 	 # 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
46
47
48
 
diff --git a/doc/meson.build b/doc/meson.build
index 5a8eb3a4..74ccf53e 100644
--- a/doc/meson.build
+++ b/doc/meson.build
@@ -100,7 +100,7 @@ foreach page: manpages + sitepages
 endforeach
 
 run_target('html',
-           command : ['/bin/true'],
+           command : ['true'],
            depends : html_targets)
 
 custom_target(
diff --git a/meson.build b/meson.build
index 37523b01..6c568020 100644
--- a/meson.build
+++ b/meson.build
@@ -396,13 +396,13 @@ configure_file(
   input : 'etc/makepkg.conf.in',
   output : 'makepkg.conf',
   configuration : substs,
-  install_dir : SYSCONFDIR)
+  install_dir : join_paths(PREFIX, 'etc'))
 
 configure_file(
   input : 'etc/pacman.conf.in',
   output : 'pacman.conf',
   configuration : substs,
-  install_dir : SYSCONFDIR)
+  install_dir : join_paths(PREFIX, 'etc'))
 
 install_data(
   'proto/PKGBUILD-split.proto',
@@ -411,14 +411,6 @@ install_data(
   'proto/proto.install',
   install_dir : join_paths(DATAROOTDIR, 'pacman'))
 
-foreach path : [
-	join_paths(LOCALSTATEDIR, 'lib/pacman/'),
-	join_paths(LOCALSTATEDIR, 'cache/pacman/pkg/'),
-	join_paths(DATAROOTDIR, 'makepkg-template/'),
-	join_paths(DATAROOTDIR, 'libalpm/hooks/'),
-	]
-	meson.add_install_script('sh', '-c', 'mkdir -p "$DESTDIR/@0@"'.format(path))
-endforeach
 
 TEST_ENV = environment()
 TEST_ENV.set('PMTEST_SCRIPTLIB_DIR', join_paths(meson.source_root(), 'scripts/library/'))

debug log:

solving 47ce74739e ...
found 47ce74739e in https://yhetil.org/guix-patches/87o7eg73ag.fsf@cock.li/

applying [1/1] https://yhetil.org/guix-patches/87o7eg73ag.fsf@cock.li/
diff --git a/gnu/packages/patches/pacman-fix-meson-build.diff b/gnu/packages/patches/pacman-fix-meson-build.diff
new file mode 100644
index 0000000000..47ce74739e

1:13: trailing whitespace.
 
1:18: trailing whitespace.
 
1:30: trailing whitespace.
 
1:37: trailing whitespace.
 
1:43: trailing whitespace.
 
Checking patch gnu/packages/patches/pacman-fix-meson-build.diff...
Applied patch gnu/packages/patches/pacman-fix-meson-build.diff cleanly.
warning: squelched 1 whitespace error
warning: 6 lines add whitespace errors.

index at:
100644 47ce74739e13d7f612d32af83c214989ff8435f9	gnu/packages/patches/pacman-fix-meson-build.diff

(*) 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).