public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Dominik Mierzejewski <dominik@greysector.net>
To: git-commits@fedoraproject.org
Subject: [rpms/libheif] epel10: disable OpenJPH encoder support to work-around crashes
Date: Thu, 30 Jul 2026 20:23:18 GMT	[thread overview]
Message-ID: <178544299810.1.4990658285066021034.rpms-libheif-623d5b71e8a0@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/libheif
Branch : epel10
Commit : 623d5b71e8a0958d8f9781b6fa80f04ca6ffe1bd
Author : Dominik Mierzejewski <dominik@greysector.net>
Date   : 2024-11-17T22:59:01+01:00
Stats  : +11/-1 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/libheif/c/623d5b71e8a0958d8f9781b6fa80f04ca6ffe1bd?branch=epel10

Log:
disable OpenJPH encoder support to work-around crashes

---
diff --git a/libheif.spec b/libheif.spec
index 79e31ad..658e703 100644
--- a/libheif.spec
+++ b/libheif.spec
@@ -1,8 +1,11 @@
 %global somajor 1
+# disable openjph encoder support as it's causing crashes in Qt-based apps
+# see https://bugzilla.redhat.com/show_bug.cgi?id=2307795
+%bcond openjph 0
 
 Name:           libheif
 Version:        1.19.3
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        HEIF and AVIF file format decoder and encoder
 
 License:        LGPL-3.0-or-later and MIT
@@ -21,8 +24,10 @@ BuildRequires:  pkgconfig(libopenjp2)
 BuildRequires:  pkgconfig(libpng)
 BuildRequires:  pkgconfig(openh264)
 %ifnarch %{ix86}
+%if %{with openjph}
 BuildRequires:  pkgconfig(openjph) >= 0.18.0
 %endif
+%endif
 %if ! (0%{?rhel} && 0%{?rhel} <= 9)
 BuildRequires:  pkgconfig(libsharpyuv)
 BuildRequires:  pkgconfig(rav1e)
@@ -111,10 +116,12 @@ rm -rf third-party/
  -DWITH_OpenJPEG_ENCODER=ON \
  -DWITH_OpenJPEG_ENCODER_PLUGIN=OFF \
 %ifnarch %{ix86}
+%if %{with openjph}
  -DWITH_OPENJPH_DECODER=ON \
  -DWITH_OPENJPH_ENCODER=ON \
  -DWITH_OPENJPH_ENCODER_PLUGIN=OFF \
 %endif
+%endif
 %if ! (0%{?rhel} && 0%{?rhel} <= 9)
  -DWITH_RAV1E=ON \
  -DWITH_RAV1E_PLUGIN=OFF \
@@ -160,6 +167,9 @@ multilibFileVersions %{buildroot}%{_includedir}/%{name}/heif_version.h
 
 
 %changelog
+* Sun Nov 17 2024 Dominik Mierzejewski <dominik@greysector.net> - 1.19.3-3
+- disable OpenJPH encoder support to work-around crashes
+
 * Sat Nov 16 2024 Sérgio Basto <sergio@serjux.com> - 1.19.3-2
 - Add support to multilib in devel sub-package
 - Resolves: rhbz#2279891

                 reply	other threads:[~2026-07-30 20:23 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=178544299810.1.4990658285066021034.rpms-libheif-623d5b71e8a0@fedoraproject.org \
    --to=dominik@greysector.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