[gnome-builder] flatpak: reverse check for host fonts cache
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] flatpak: reverse check for host fonts cache
- Date: Thu, 9 Sep 2021 04:14:17 +0000 (UTC)
commit 6c0cfe287fd2b0375e75eab813d100a2bfb92ebc
Author: Christian Hergert <chergert redhat com>
Date: Wed Sep 8 21:14:07 2021 -0700
flatpak: reverse check for host fonts cache
This is causing issues right now, so just flip this to keep it working.
We need a better approach longer term.
src/plugins/flatpak/gbp-flatpak-aux.c | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/src/plugins/flatpak/gbp-flatpak-aux.c b/src/plugins/flatpak/gbp-flatpak-aux.c
index b6a250729..98fafc16e 100644
--- a/src/plugins/flatpak/gbp-flatpak-aux.c
+++ b/src/plugins/flatpak/gbp-flatpak-aux.c
@@ -23,7 +23,12 @@
#include "gbp-flatpak-aux.h"
#define SYSTEM_FONTS_DIR "/usr/share/fonts"
-#define SYSTEM_FONT_CACHE_DIRS "/var/cache/fontconfig:/usr/lib/fontconfig/cache"
+
+/* dirs are reversed from flatpak because we will always have
+ * /var/cache/fontconfig inside of flatpak. We really need another
+ * way of checking this, but this is good enough for now.
+ */
+#define SYSTEM_FONT_CACHE_DIRS "/usr/lib/fontconfig/cache:/var/cache/fontconfig"
/* The goal of this file is to help us setup things that might be
* needed for applications to look/work right even though they are
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]