public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Mark Otaris <mark@net-c.com>
To: git-commits@fedoraproject.org
Subject: [rpms/flatpak-runtime-config] f45: Update font config to match freedesktop-sdk
Date: Thu, 10 Sep 2026 21:21:41 GMT	[thread overview]
Message-ID: <178907530141.1.2123731420690244386.rpms-flatpak-runtime-config-27155327b89a@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/flatpak-runtime-config
            Branch : f45
            Commit : 27155327b89acdf549c1c8b7d664faef2bcc4e8a
            Author : Mark Otaris <mark@net-c.com>
            Date   : 2019-07-25T23:33:45-04:00
            Stats  : +17/-2 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/flatpak-runtime-config/c/27155327b89acdf549c1c8b7d664faef2bcc4e8a?branch=f45

            Log:
            Update font config to match freedesktop-sdk

This is necessary for custom user fonts to work.

---
diff --git a/50-flatpak.conf b/50-flatpak.conf
index 03c629d..f66c44c 100644
--- a/50-flatpak.conf
+++ b/50-flatpak.conf
@@ -1,3 +1,6 @@
+<!-- This should be kept in sync with changes to
+     https://gitlab.com/freedesktop-sdk/freedesktop-sdk/blob/master/files/fontconfig-flatpak.conf
+     from the Freedesktop runtimes. -->
 <?xml version="1.0"?>
 <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
 <fontconfig>
@@ -9,4 +12,13 @@
         <include ignore_missing="yes">/app/etc/fonts/local.conf</include>
 
         <dir>/run/host/fonts</dir>
+        <dir>/run/host/user-fonts</dir>
+
+        <!-- This is duplicated from the general config because we want to write there
+             before the /run dirs, in case they are ever writable, like e.g with old
+             versions of flatpak. -->
+        <cachedir prefix="xdg">fontconfig</cachedir>
+
+        <cachedir>/run/host/fonts-cache</cachedir>
+        <cachedir>/run/host/user-fonts-cache</cachedir>
 </fontconfig>

diff --git a/flatpak-runtime-config.spec b/flatpak-runtime-config.spec
index 6a3be18..66a564a 100644
--- a/flatpak-runtime-config.spec
+++ b/flatpak-runtime-config.spec
@@ -1,6 +1,6 @@
 Name:           flatpak-runtime-config
-Version:        29
-Release:        6%{?dist}
+Version:        30
+Release:        1%{?dist}
 Summary:        Configuration files that live inside the flatpak runtime
 Source1:        50-flatpak.conf
 Source2:        usercustomize.py
@@ -70,6 +70,9 @@ HOME=/root /usr/bin/fc-cache -s
 %{_sysconfdir}/ld.so.conf.d/app.conf
 
 %changelog
+* Fri Jul 26 2019 Mark Otaris <mark@net-c.com> - 30-1
+- Update font config to match freedesktop-sdk, allowing user-installed fonts to work
+
 * Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 29-6
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
 

                 reply	other threads:[~2026-09-10 21:21 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=178907530141.1.2123731420690244386.rpms-flatpak-runtime-config-27155327b89a@fedoraproject.org \
    --to=mark@net-c.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