public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/libheif] epel10: disable OpenJPH encoder support to work-around crashes
@ 2026-07-30 20:23 Dominik Mierzejewski
  0 siblings, 0 replies; only message in thread
From: Dominik Mierzejewski @ 2026-07-30 20:23 UTC (permalink / raw)
  To: git-commits

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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-30 20:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-30 20:23 [rpms/libheif] epel10: disable OpenJPH encoder support to work-around crashes Dominik Mierzejewski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox