Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 891325 - media-gfx/photoqt-2.9.1-r1 /cplusplus/imageprovider/loader/loadimage_raw.cpp:60:24: error: ‘struct libraw_output_params_t’ has no member named ‘use_rawspeed’
Summary: media-gfx/photoqt-2.9.1-r1 /cplusplus/imageprovider/loader/loadimage_raw.cpp:...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords: PATCH
Depends on: 891355
Blocks: libraw-0.21
  Show dependency tree
 
Reported: 2023-01-18 18:21 UTC by Frank Krömmelbein
Modified: 2023-01-18 22:58 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Krömmelbein 2023-01-18 18:21:33 UTC
After the Qt 5.15.8 and friends stabilisation from https://bugs.gentoo.org/888946 media-gfx/photoqt-2.9.1-r1 failed to rebuild:

/var/tmp/portage/media-gfx/photoqt-2.9.1-r1/work/photoqt-2.9.1/cplusplus/imageprovider/loader/loadimage_raw.cpp: In member function ‘QImage PQLoadImageRAW::load(QString, QSize, QSize&, bool)’:
/var/tmp/portage/media-gfx/photoqt-2.9.1-r1/work/photoqt-2.9.1/cplusplus/imageprovider/loader/loadimage_raw.cpp:60:24: error: ‘struct libraw_output_params_t’ has no member named ‘use_rawspeed’
   60 |     raw.imgdata.params.use_rawspeed = 1;
      | 

The following upstream Patch worked for me:
[PQLoadImageRAW] make raw loader work when libraw is compiled without rawspeed...
https://gitlab.com/lspies/photoqt/-/commit/a8908dbfac01886204a5d911106208bd0f15b467?view=inline


Reproducible: Always
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-01-18 18:51:52 UTC
Thanks Frank!
Comment 2 Larry the Git Cow gentoo-dev 2023-01-18 22:58:53 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c728871c7314838f496f516e46a2d7a528572927

commit c728871c7314838f496f516e46a2d7a528572927
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-01-18 22:58:06 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-01-18 22:58:06 +0000

    media-gfx/photoqt: fix build w/ libraw 0.21
    
    Closes: https://bugs.gentoo.org/891325
    Signed-off-by: Sam James <sam@gentoo.org>

 .../photoqt/files/photoqt-2.9.1-libraw-0.21.patch  | 22 +++++++
 media-gfx/photoqt/photoqt-2.9.1-r2.ebuild          | 77 ++++++++++++++++++++++
 2 files changed, 99 insertions(+)