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: Add graphviz install trigger
Date: Thu, 10 Sep 2026 21:21:55 GMT	[thread overview]
Message-ID: <178907531562.1.111596869865714439.rpms-flatpak-runtime-config-8454d0d108b9@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/flatpak-runtime-config
            Branch : f45
            Commit : 8454d0d108b92037ffcf093636f332be57da74cf
            Author : Yaakov Selkowitz <yselkowi@redhat.com>
            Date   : 2024-01-02T19:23:23-05:00
            Stats  : +8/-1 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/flatpak-runtime-config/c/8454d0d108b92037ffcf093636f332be57da74cf?branch=f45

            Log:
            Add graphviz install trigger

graphviz utilitizes a plugin cache which needs to be created once
installed.  While graphviz does have its own %post to do so, when built
in /app it does not work because it first requires ldconfig to be run
(so that the plugins can resolve graphviz's own libraries).

graphviz's %post has been converted to a trigger in rawhide (F40), but
in the meantime for F39, this avoids the issue.

---
diff --git a/flatpak-runtime-config.spec b/flatpak-runtime-config.spec
index e4fd0d9..b2b0301 100644
--- a/flatpak-runtime-config.spec
+++ b/flatpak-runtime-config.spec
@@ -4,7 +4,7 @@
 
 Name:           flatpak-runtime-config
 Version:        39
-Release:        4%{?dist}
+Release:        5%{?dist}
 Summary:        Configuration files that live inside the flatpak runtime
 Source1:        50-flatpak.conf
 Source2:        sitecustomize.py
@@ -90,6 +90,10 @@ glib-compile-schemas /app/share/glib-2.0/schemas &> /dev/null || :
 %transfiletriggerin -- /app/share/fonts
 HOME=/root /usr/bin/fc-cache -s
 
+# drop for F40
+%transfiletriggerin -- /app/lib/graphviz /app/lib64/graphviz
+/app/bin/dot -c 2>/dev/null || :
+
 %files
 %dir %{_prefix}/cache
 %dir %{_prefix}/cache/fontconfig
@@ -100,6 +104,9 @@ HOME=/root /usr/bin/fc-cache -s
 %{_sysconfdir}/ld.so.conf.d/app.conf
 
 %changelog
+* Fri Dec 15 2023 Yaakov Selkowitz <yselkowi@redhat.com> - 39-5
+- Add graphviz install trigger
+
 * Thu Oct 05 2023 Kalev Lember <klember@redhat.com> - 39-4
 - appdata: Add F39 versions
 

                 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=178907531562.1.111596869865714439.rpms-flatpak-runtime-config-8454d0d108b9@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