public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/flatpak-runtime-config] f45: Update fontconfig config
@ 2026-09-10 21:22 Yaakov Selkowitz
  0 siblings, 0 replies; only message in thread
From: Yaakov Selkowitz @ 2026-09-10 21:22 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/flatpak-runtime-config
            Branch : f45
            Commit : 05a75ff1612f9c54dbbc2ee5a2cd22d2fa1daa7f
            Author : Yaakov Selkowitz <yselkowi@redhat.com>
            Date   : 2025-05-13T18:08:31-04:00
            Stats  : +4/-2 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/flatpak-runtime-config/c/05a75ff1612f9c54dbbc2ee5a2cd22d2fa1daa7f?branch=f45

            Log:
            Update fontconfig config

This should stop the noise seen with flatpak-module-tools, as
/run/host/font-dirs.xml exists only when running flatpaks or building with
flatpak-builder, but not when building in mock (which does not involve
running flatpak).

Fontconfig error: Cannot load config file "/run/host/font-dirs.xml": No such file: /run/host/font-dirs.xml

---
diff --git a/50-flatpak.conf b/50-flatpak.conf
index 336183c..27036d4 100644
--- a/50-flatpak.conf
+++ b/50-flatpak.conf
@@ -1,7 +1,7 @@
 <?xml version="1.0"?>
 <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
 <!-- This should be kept in sync with changes to
-     https://gitlab.com/freedesktop-sdk/freedesktop-sdk/blob/master/files/fontconfig-flatpak.conf
+     https://gitlab.com/freedesktop-sdk/freedesktop-sdk/blob/master/files/fontconfig/50-flatpak.conf
      from the Freedesktop runtimes. -->
 <fontconfig>
         <cachedir>/usr/cache/fontconfig</cachedir>
@@ -14,6 +14,7 @@
         <include ignore_missing="yes">/app/etc/fonts/local.conf</include>
 
         <dir>/run/host/fonts</dir>
+        <dir>/run/host/local-fonts</dir>
         <dir>/run/host/user-fonts</dir>
 
         <!-- This is duplicated from the general config because we want to write there
@@ -24,5 +25,6 @@
         <cachedir>/run/host/fonts-cache</cachedir>
         <cachedir>/run/host/user-fonts-cache</cachedir>
 
-        <include>/run/host/font-dirs.xml</include>
+        <!-- This only exists when running flatpaks, not when building them in mock -->
+        <include ignore_missing="yes">/run/host/font-dirs.xml</include>
 </fontconfig>

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-10 21:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-10 21:22 [rpms/flatpak-runtime-config] f45: Update fontconfig config Yaakov Selkowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox