public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/libheif] epel10: Remove obsolete pixbuf loader
@ 2026-07-30 20:23 Michael Catanzaro
  0 siblings, 0 replies; only message in thread
From: Michael Catanzaro @ 2026-07-30 20:23 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/libheif
            Branch : epel10
            Commit : d6b92efe1f1495dcc7019c83b4f97e6830434427
            Author : Michael Catanzaro <mcatanzaro@redhat.com>
            Date   : 2025-09-16T11:42:40-05:00
            Stats  : +3/-16 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/libheif/c/d6b92efe1f1495dcc7019c83b4f97e6830434427?branch=epel10

            Log:
            Remove obsolete pixbuf loader

Due to changes in gdk-pixbuf, the libheif pixbuf loader now has lower
precedence than glycin and will no longer ever be used.

Unlike other third-party pixbuf providers, the libheif thumbnailer is
not based on gdk-pixbuf-thumbnailer and therefore does not need to be
disabled.

For more information, see:

  https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/7FTIVJJM5CJSJ6GIX4FV6JDUCT2NW5FY/
  https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/merge_requests/229

---
diff --git a/libheif.spec b/libheif.spec
index a616733..b325ec5 100644
--- a/libheif.spec
+++ b/libheif.spec
@@ -54,6 +54,8 @@ BuildRequires:  pkgconfig(rav1e)
 BuildRequires:  pkgconfig(SvtAv1Enc)
 %endif
 
+Obsoletes:      heif-pixbuf-loader < %{version}-%{release}
+
 %description
 libheif is an ISO/IEC 23008-12:2017 HEIF and AVIF (AV1 Image File Format)
 file format decoder and encoder.
@@ -66,22 +68,6 @@ file format decoder and encoder.
 
 # ----------------------------------------------------------------------
 
-%if !%{with bootstrap}
-%package -n     heif-pixbuf-loader
-Summary:        HEIF image loader for GTK+ applications
-BuildRequires:  pkgconfig(gdk-pixbuf-2.0)
-Requires:       %{name}%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
-Requires:       gdk-pixbuf2%{?_isa}
-
-%description -n heif-pixbuf-loader
-This package provides a plugin to load HEIF files in GTK+ applications.
-
-%files -n heif-pixbuf-loader
-%{_libdir}/gdk-pixbuf-2.0/*/loaders/libpixbufloader-heif.so
-%endif
-
-# ----------------------------------------------------------------------
-
 %package        tools
 Summary:        Tools for manipulating HEIF files
 License:        MIT
@@ -152,6 +138,7 @@ rm -rf third-party/
  -DWITH_EXAMPLE_HEIF_VIEW=OFF \
 %endif
  -DWITH_UNCOMPRESSED_CODEC=ON \
+ -DWITH_GDK_PIXBUF=OFF \
  -Wno-dev
 
 %cmake_build

^ 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: Remove obsolete pixbuf loader Michael Catanzaro

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