public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [flatpaks/flatpak-sdk] f45: container.yaml: Run appstream-compose
@ 2026-10-07 17:15 Kalev Lember
0 siblings, 0 replies; only message in thread
From: Kalev Lember @ 2026-10-07 17:15 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : flatpaks/flatpak-sdk
Branch : f45
Commit : f2476d8af185b64d8fe4384ad1f5510da33a3cbf
Author : Kalev Lember <klember@redhat.com>
Date : 2020-09-09T13:34:50+02:00
Stats : +10/-0 in 1 file(s)
URL : https://src.fedoraproject.org/flatpaks/flatpak-sdk/c/f2476d8af185b64d8fe4384ad1f5510da33a3cbf?branch=f45
Log:
container.yaml: Run appstream-compose
Just adding the appdata to the flatpak-runtime-config wasn't sufficient -
we also have to run appstream-compose to get it in the right place for
flatpak build-bundle to find.
---
diff --git a/container.yaml b/container.yaml
index 1660d90..ce18b75 100644
--- a/container.yaml
+++ b/container.yaml
@@ -14,7 +14,17 @@ flatpak:
--env=GST_PLUGIN_SYSTEM_PATH=/app/lib64/gstreamer-1.0:/usr/lib64/gstreamer-1.0
--env=LD_LIBRARY_PATH=/app/lib64
--env=XDG_DATA_DIRS=/app/share:/usr/share:/usr/share/runtime/share:/run/host/share
+ # For applications, appstream-compose is run automatically along with other processing
+ # of the tree. For runtimes, we have to run it manually. flatpak-module-tools local
+ # builds have issues if the cleanup script outputs to stdout, hence the 1>&2
+ # redirection.
cleanup-commands: |
+ appstream-compose --verbose \
+ --prefix=/usr \
+ --basename=org.fedoraproject.Sdk \
+ --origin=flatpak \
+ org.fedoraproject.Sdk 1>&2
+
touch -d @0 /usr/share/fonts /usr/share/fonts/*
fc-cache -rs
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-07 17:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-07 17:15 [flatpaks/flatpak-sdk] f45: container.yaml: Run appstream-compose Kalev Lember
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox