public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Akira TAGOH <akira@tagoh.org>
To: git-commits@fedoraproject.org
Subject: [rpms/flatpak-runtime-config] f45: Add 05-flatpak-fontpath.conf
Date: Thu, 10 Sep 2026 21:21:51 GMT [thread overview]
Message-ID: <178907531180.1.1094007158430868795.rpms-flatpak-runtime-config-8686361974aa@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/flatpak-runtime-config
Branch : f45
Commit : 8686361974aad6346c172f1dd158b4165334c498
Author : Akira TAGOH <akira@tagoh.org>
Date : 2023-03-18T15:53:05+09:00
Stats : +14/-0 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/flatpak-runtime-config/c/8686361974aad6346c172f1dd158b4165334c498?branch=f45
Log:
Add 05-flatpak-fontpath.conf
We need a different MD5 for fontconfig cache to avoid
conflict between caches on host and flatpak.
See https://github.com/fedora-silverblue/issue-tracker/issues/305
---
diff --git a/05-flatpak-fontpath.conf b/05-flatpak-fontpath.conf
new file mode 100644
index 0000000..8e55a40
--- /dev/null
+++ b/05-flatpak-fontpath.conf
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<fontconfig>
+ <!-- Redefine font directories to generate caches with different id -->
+ <reset-dirs />
+ <dir salt="flatpak">/usr/share/fonts</dir>
+ <dir salt="flatpak">/usr/share/X11/fonts/Type1</dir>
+ <dir salt="flatpak">/usr/share/X11/fonts/TTF</dir>
+ <dir salt="flatpak">/usr/local/share/fonts</dir>
+ <dir prefix="xdg">fonts</dir>
+ <dir>~/.fonts</dir>
+</fontconfig>
diff --git a/flatpak-runtime-config.spec b/flatpak-runtime-config.spec
index b14e2bb..f4e94bb 100644
--- a/flatpak-runtime-config.spec
+++ b/flatpak-runtime-config.spec
@@ -15,6 +15,7 @@ Source6: org.fedoraproject.KDE5Platform.appdata.xml
Source7: org.fedoraproject.KDE5Sdk.appdata.xml
Source8: org.fedoraproject.KDE6Platform.appdata.xml
Source9: org.fedoraproject.KDE6Sdk.appdata.xml
+Source10: 05-flatpak-fontpath.conf
License: MIT
@@ -45,6 +46,7 @@ rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_prefix}/cache/fontconfig
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/fonts/conf.d
install -t $RPM_BUILD_ROOT%{_sysconfdir}/fonts/conf.d -p -m 0644 %{SOURCE1}
+install -t $RPM_BUILD_ROOT%{_sysconfdir}/fonts/conf.d -p -m 0644 %{SOURCE10}
# usercustomize.py to set up Python paths
for d in %{python3_sitelib} ; do
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=178907531180.1.1094007158430868795.rpms-flatpak-runtime-config-8686361974aa@fedoraproject.org \
--to=akira@tagoh.org \
--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