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 gdk-pixbuf loaders.cache in /usr and /app
Date: Thu, 10 Sep 2026 21:22:00 GMT [thread overview]
Message-ID: <178907532087.1.2872369658372342692.rpms-flatpak-runtime-config-633155b2bc82@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/flatpak-runtime-config
Branch : f45
Commit : 633155b2bc82b4b58d9d27b29d52443373a0093e
Author : Yaakov Selkowitz <yselkowi@redhat.com>
Date : 2025-05-04T23:29:59-04:00
Stats : +7/-4 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/flatpak-runtime-config/c/633155b2bc82b4b58d9d27b29d52443373a0093e?branch=f45
Log:
Update gdk-pixbuf loaders.cache in /usr and /app
The XPM loader from gdk-pixbuf2-modules-extra is sometimes needed
at build time as well (e.g. openslide tests). In that case, the
loaders.cache in /usr also needs to be updated for build time usage
in addition to that in /app for running the flatpak.
---
diff --git a/flatpak-runtime-config.spec b/flatpak-runtime-config.spec
index d18b31f..5a4e9ee 100644
--- a/flatpak-runtime-config.spec
+++ b/flatpak-runtime-config.spec
@@ -94,10 +94,13 @@ _EOF
%transfiletriggerin -P 1999999 -- /app/lib /app/lib64 /app/etc/ld.so.conf.d
/sbin/ldconfig
-%transfiletriggerin -- /app/%{_lib}/gdk-pixbuf-2.0/2.10.0/loaders
-GDK_PIXBUF_MODULEDIR=/app/%{_lib}/gdk-pixbuf-2.0/2.10.0/loaders/ \
- gdk-pixbuf-query-loaders-64 > /app/%{_lib}/gdk-pixbuf-2.0/2.10.0/loaders.cache
-gdk-pixbuf-query-loaders-64 >> /app/%{_lib}/gdk-pixbuf-2.0/2.10.0/loaders.cache
+%transfiletriggerin -P 99999 -- /app/%{_lib}/gdk-pixbuf-2.0/2.10.0/loaders /usr/%{_lib}/gdk-pixbuf-2.0/2.10.0/loaders
+gdk-pixbuf-query-loaders-%{__isa_bits} > /usr/%{_lib}/gdk-pixbuf-2.0/2.10.0/loaders.cache
+if [ -d /app/%{_lib}/gdk-pixbuf-2.0/2.10.0/loaders ]; then
+ GDK_PIXBUF_MODULEDIR=/app/%{_lib}/gdk-pixbuf-2.0/2.10.0/loaders/ \
+ gdk-pixbuf-query-loaders-%{__isa_bits} >> /usr/%{_lib}/gdk-pixbuf-2.0/2.10.0/loaders.cache
+ cp /usr/%{_lib}/gdk-pixbuf-2.0/2.10.0/loaders.cache /app/%{_lib}/gdk-pixbuf-2.0/2.10.0/loaders.cache
+fi
%transfiletriggerin -- /app/share/glib-2.0/schemas
glib-compile-schemas /app/share/glib-2.0/schemas &> /dev/null || :
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=178907532087.1.2872369658372342692.rpms-flatpak-runtime-config-633155b2bc82@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