public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Yaakov Selkowitz <yselkowi@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/flatpak-runtime-config] f45: Update fontconfig config
Date: Thu, 10 Sep 2026 21:22:01 GMT	[thread overview]
Message-ID: <178907532132.1.16796899813559173503.rpms-flatpak-runtime-config-05a75ff1612f@fedoraproject.org> (raw)

            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>

                 reply	other threads:[~2026-09-10 21:22 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178907532132.1.16796899813559173503.rpms-flatpak-runtime-config-05a75ff1612f@fedoraproject.org \
    --to=yselkowi@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox