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/freeimage] epel10.3: Fix flatpak build
Date: Wed, 18 Nov 2026 02:42:28 GMT [thread overview]
Message-ID: <179496974836.1.2475332374252100068.rpms-freeimage-699fe104372d@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/freeimage
Branch : epel10.3
Commit : 699fe104372d80e0ce4adac4d5982d76d2175567
Author : Yaakov Selkowitz <yselkowi@redhat.com>
Date : 2025-05-02T12:21:24-04:00
Stats : +5/-0 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/freeimage/c/699fe104372d80e0ce4adac4d5982d76d2175567?branch=epel10.3
Log:
Fix flatpak build
jxrlib headers are in a subdirectory but no means is provided to
automatically locate them (e.g. pkgconfig). When building freeimage for
flatpaks with the /app prefix, jxrlib is not part of the runtime and is
therefore also built in /app rather than /usr.
---
diff --git a/freeimage.spec b/freeimage.spec
index f82f122..e502766 100644
--- a/freeimage.spec
+++ b/freeimage.spec
@@ -110,6 +110,11 @@ done
%autopatch -p1
+# Fix unbundling patch for flatpak builds, where jxrlib is not in the runtime
+if [ %{_prefix} != /usr -a -d %{_includedir}/jxrlib ] ; then
+ sed -i -e 's|/usr/include/jxrlib|%{_includedir}/jxrlib|' Makefile.gnu
+fi
+
# remove all included libs to make sure these don't get used during compile
rm -r Source/Lib* Source/ZLib Source/OpenEXR
reply other threads:[~2026-11-18 2:42 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=179496974836.1.2475332374252100068.rpms-freeimage-699fe104372d@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