public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Owen W. Taylor <otaylor@fishsoup.net>
To: git-commits@fedoraproject.org
Subject: [rpms/flatpak-runtime-config] f45: Initial import
Date: Thu, 10 Sep 2026 21:21:34 GMT	[thread overview]
Message-ID: <178907529486.1.2142204984365587135.rpms-flatpak-runtime-config-7649fdfbcdf1@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/flatpak-runtime-config
Branch : f45
Commit : 7649fdfbcdf1cdd5688867b55d81954304911b10
Author : Owen W. Taylor <otaylor@fishsoup.net>
Date   : 2017-06-14T17:29:10-04:00
Stats  : +68/-0 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/flatpak-runtime-config/c/7649fdfbcdf1cdd5688867b55d81954304911b10?branch=f45

Log:
Initial import

---
diff --git a/50-xdg-app.conf b/50-xdg-app.conf
new file mode 100644
index 0000000..03c629d
--- /dev/null
+++ b/50-xdg-app.conf
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<fontconfig>
+        <cachedir>/usr/cache/fontconfig</cachedir>
+
+        <dir>/app/share/fonts</dir>
+        <cachedir>/app/cache/fontconfig</cachedir>
+
+        <include ignore_missing="yes">/app/etc/fonts/local.conf</include>
+
+        <dir>/run/host/fonts</dir>
+</fontconfig>

diff --git a/flatpak-runtime-config.spec b/flatpak-runtime-config.spec
new file mode 100644
index 0000000..0811178
--- /dev/null
+++ b/flatpak-runtime-config.spec
@@ -0,0 +1,56 @@
+Name:           flatpak-runtime-config
+Version:        27
+Release:        2%{?dist}
+Summary:        Configuration files that live inside the flatpak runtime
+Source1:        50-xdg-app.conf
+BuildArch:      noarch
+
+License:        MIT
+
+Requires:       fontpackages-filesystem
+
+%description
+This package includes configuration files that are installed into the flatpak
+runtime filesystem during the runtime creation process; it is also installed
+into the build root when building RPMs. It contains all configuration
+files that need to be different when executing a flatpak.
+
+%prep
+
+%build
+
+%install
+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 644 %{SOURCE1}
+
+mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf.d/
+echo "/app/%{_lib}" > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf.d/app.conf
+
+%post -p /sbin/ldconfig
+
+%files
+%dir %{_prefix}/cache
+%dir %{_prefix}/cache/fontconfig
+%{_sysconfdir}/fonts/conf.d/*
+# Note that this is necessary at build time but has no effect during flatpak
+# execution, since /etc/ld.so.cache will only contain the libraries from
+# the runtime and not any libraries that are separately mounted in /app/lib[64].
+# During flatpak execution LD_LIBRARY_PATH is used to find the libraries from
+# /app/lib[64].
+%{_sysconfdir}/ld.so.conf.d/app.conf
+
+%changelog
+* Tue Jun 13 2017 Owen Taylor <otaylor@redhat.com> - 27-2
+See https://bugzilla.redhat.com/show_bug.cgi?id=1460081
+- Switch license to MIT
+- Preserve timestamps on file installation
+- Own /usr/cache since it's not a standard directory
+- Require fontpackages-filesystem for /etc/fonts/conf.d
+
+* Wed Jun  7 2017 Owen Taylor <otaylor@redhat.com> - 27-1
+- Strip down to just config files
+
+* Wed Jun  3 2015 Alexander Larsson <alexl@redhat.com>
+- Initial version

                 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=178907529486.1.2142204984365587135.rpms-flatpak-runtime-config-7649fdfbcdf1@fedoraproject.org \
    --to=otaylor@fishsoup.net \
    --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