Узнал сегодня о релизе gdk-pixbuf 2.43.2. В зависимости(пока опционально) добавлен новый пакет — glycin, а с ним bubblewrap и gtk4.
Релиз-нот:
2.43.2 (development)
===
- Make the thumbnailer optional
- Add a glycin loader. Glycin is a sandboxed image loading framework that
is written in rust, and supports more image formats than gdk-pixbuf ever
did. On Linux, we recommend that you build gdk-pixbuf with *only* the
glycin loaders, and rely on glycin for thumbnailers too. Like this:
meson configure -Dpng=disabled \
-Dtiff=disabled \
-Djpeg=disabled \
-Dgif=disabled \
-Dothers=disabled \
-Dglycin=enabled \
-Dbuiltin_loaders='glycin' \
-Dthumbnailer=disabled
Note that this change has some potential for fallout: use of gdk-pixbuf
(e.g. for pixdata conversions) will fail if bubblewrap sandboxing is not
available (as is the case in many build systems). The recommendation is
to simply stop using pixdata as a format for resources, and just use png.
- Deprecate "gtk_doc" configuration option; to conform with the rest of the
GNOME core libraries, use "documentation" instead
- Remove the long-since deprecated "docs" configuration option
- Require Meson 1.0 to build gdk-pixbuf
- Deprecate the XPM-related API; the XPM loader is disabled by default,
and we have better API for loading those kinds of assets, though nobody
should be shipping XPM files in 2025
Хочу услышать от вас аргументы, почему эти изменения хороши, необходимы, вынужденны наконец? Для кого? Обратные мнения тоже приветствуются.
Очевидно:
- Зачем в зависимостях программы альтернативная реализация ее собственного функционала?
- Кодеки heif, jxl тяжёлые, требовательные к вычислительным ресурсам, имеют собственную реализацию pixbuf-loaders. Сомнительно, что вариант от гном сильно лучше.