Пакет не пересобираетсяя с libraw-0.21. [i586] /usr/src/RPM/BUILD/deepin-image-viewer-5.9.9/qimage-plugins/libraw/rawiohandler.cpp:66:25: error: 'struct libraw_output_params_t' has no member named 'use_rawspeed' [i586] 66 | raw->imgdata.params.use_rawspeed = 1; 2023-Aug-31 17:35:36 :: [i586] deepin-image-viewer.git 5.9.9-alt1: remote: build failed 2023-Aug-31 17:35:36 :: [i586] #1600 deepin-image-viewer.git 5.9.9-alt1: build FAILED Прошу исправить и добавить в задание #314571.
https://gitlab.archlinux.org/archlinux/packaging/packages/deepin-image-viewer/-/blob/main/libraw-0.21.patch?ref_type=heads diff --git a/qimage-plugins/libraw/rawiohandler.cpp b/qimage-plugins/libraw/rawiohandler.cpp index 979b1d58..5236376f 100644 --- a/qimage-plugins/libraw/rawiohandler.cpp +++ b/qimage-plugins/libraw/rawiohandler.cpp @@ -63,7 +63,11 @@ bool RawIOHandlerPrivate::load(QIODevice *device) stream = new Datastream(device); raw = new LibRaw; +#if LIBRAW_COMPILE_CHECK_VERSION_NOTLESS(0, 21) + raw->imgdata.rawparams.use_rawspeed = 1; +#else raw->imgdata.params.use_rawspeed = 1; +#endif if (raw->open_datastream(stream) != LIBRAW_SUCCESS) { delete raw; raw = nullptr;
Добавил.
deepin-image-viewer-5.9.9-alt2 -> sisyphus: Wed Sep 06 2023 Leontiy Volodin <lvol@altlinux> 5.9.9-alt2 - Fixed build with libraw 0.21 (ALT #47425).