[Fontconfig] fontconfig: Branch 'master'
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Thu Jan 28 11:12:59 UTC 2021
Makefile.am | 1 -
fc-cache/meson.build | 2 +-
install-cache.py | 11 -----------
3 files changed, 1 insertion(+), 13 deletions(-)
New commits:
commit b58f2798e2bb0c7866455d469dc30f80c2cbd674
Author: Xavier Claessens <xavier.claessens at collabora.com>
Date: Tue Jan 26 14:02:17 2021 -0500
Meson: Do not wrap fccache insallation script
When passing fccache executable directly Meson does special tricks such
as modifying $PATH on Windows.
See: https://github.com/mesonbuild/meson/pull/8259
Fixes: #260
diff --git a/Makefile.am b/Makefile.am
index 83db510..e10b710 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -39,7 +39,6 @@ MESON_FILES = \
doc/run-quiet.py \
fc-case/fc-case.py \
fc-lang/fc-lang.py \
- install-cache.py \
meson.build \
meson_options.txt \
src/cutout.py \
diff --git a/fc-cache/meson.build b/fc-cache/meson.build
index 2222735..ed68d1e 100644
--- a/fc-cache/meson.build
+++ b/fc-cache/meson.build
@@ -9,5 +9,5 @@ tools_man_pages += ['fc-cache']
# Do not try to execute target's fc-cache on host when cross compiling
if not meson.is_cross_build()
- meson.add_install_script('../install-cache.py', fccache.full_path())
+ meson.add_install_script(fccache, '-s', '-f', '-v')
endif
diff --git a/install-cache.py b/install-cache.py
deleted file mode 100644
index 8fa020c..0000000
--- a/install-cache.py
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/usr/bin/env python3
-
-import sys
-import argparse
-import subprocess
-
-if __name__=='__main__':
- parser = argparse.ArgumentParser()
- parser.add_argument('fccache')
- args = parser.parse_args()
- sys.exit(subprocess.run([args.fccache, '-s', '-f', '-v']).returncode)
More information about the Fontconfig
mailing list