Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 906467 - kde-apps/gwenview-23.04.1: lib/jpegcontent.cpp:304:28: error: ‘class Exiv2::Exifdatum’ has no member named ‘toLong’
Summary: kde-apps/gwenview-23.04.1: lib/jpegcontent.cpp:304:28: error: ‘class Exiv2::E...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: exiv2-0.28
  Show dependency tree
 
Reported: 2023-05-15 19:29 UTC by Andreas Sturmlechner
Modified: 2023-06-27 21:11 UTC (History)
0 users

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


Attachments
kde-apps:gwenview-23.04.1:20230515-192332.log (kde-apps:gwenview-23.04.1:20230515-192332.log,397.51 KB, text/plain)
2023-05-15 19:35 UTC, Andreas Sturmlechner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Sturmlechner gentoo-dev 2023-05-15 19:29:43 UTC
> lib/jpegcontent.cpp: In member function ‘Gwenview::Orientation Gwenview::JpegContent::orientation() const’:
> lib/jpegcontent.cpp:304:28: error: ‘class Exiv2::Exifdatum’ has no member named ‘toLong’
>   304 |     return Orientation(it->toLong());
>       |                            ^~~~~~
> lib/jpegcontent.cpp: In member function ‘int Gwenview::JpegContent::dotsPerMeter(const QString&) const’:
> lib/jpegcontent.cpp:324:19: error: ‘class Exiv2::Exifdatum’ has no member named ‘toLong’
>   324 |     int res = it->toLong();
>       |                   ^~~~~~
> lib/jpegcontent.cpp:340:24: error: ‘class Exiv2::Exifdatum’ has no member named ‘toLong’
>   340 |         return int(it->toLong() * 100);
>       |                        ^~~~~~
> lib/jpegcontent.cpp:342:24: error: ‘class Exiv2::Exifdatum’ has no member named ‘toLong’
>   342 |         return int(it->toLong() * INCHESPERMETER);
>       |                        ^~~~~~
> lib/jpegcontent.cpp: In member function ‘QImage Gwenview::JpegContent::thumbnail() const’:
> lib/jpegcontent.cpp:571:40: error: ‘class Exiv2::Exifdatum’ has no member named ‘toLong’
>   571 |             QRect validArea(QPoint(it->toLong(0), it->toLong(2)), QPoint(it->toLong(1), it->toLong(3)));
>       |                                        ^~~~~~
> lib/jpegcontent.cpp:571:55: error: ‘class Exiv2::Exifdatum’ has no member named ‘toLong’
>   571 |             QRect validArea(QPoint(it->toLong(0), it->toLong(2)), QPoint(it->toLong(1), it->toLong(3)));
>       |                                                       ^~~~~~
> lib/jpegcontent.cpp:571:78: error: ‘class Exiv2::Exifdatum’ has no member named ‘toLong’
>   571 |             QRect validArea(QPoint(it->toLong(0), it->toLong(2)), QPoint(it->toLong(1), it->toLong(3)));
>       |                                                                              ^~~~~~
> lib/jpegcontent.cpp:571:93: error: ‘class Exiv2::Exifdatum’ has no member named ‘toLong’
>   571 |             QRect validArea(QPoint(it->toLong(0), it->toLong(2)), QPoint(it->toLong(1), it->toLong(3)));
>       |                                                                                             ^~~~~~
> lib/jpegcontent.cpp:578:45: error: ‘class Exiv2::Exifdatum’ has no member named ‘toLong’
>   578 |                 const long prevHeight = it->toLong(0);
>       |                                             ^~~~~~
> lib/jpegcontent.cpp:579:44: error: ‘class Exiv2::Exifdatum’ has no member named ‘toLong’
>   579 |                 const long prevWidth = it->toLong(1);
>       |
Comment 1 Andreas Sturmlechner gentoo-dev 2023-05-15 19:35:06 UTC
Created attachment 861748 [details]
kde-apps:gwenview-23.04.1:20230515-192332.log
Comment 2 Larry the Git Cow gentoo-dev 2023-05-22 17:33:37 UTC
The bug has been closed via the following commit(s):

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

commit bc7d8c325d342435ed3d3f52627f3ea46d472835
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2023-05-22 17:32:11 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2023-05-22 17:32:11 +0000

    kde-apps/gwenview: Fix build with >=exiv2-0.28
    
    Closes: https://bugs.gentoo.org/906467
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 .../files/gwenview-23.04.1-exiv2-0.28.patch        | 83 ++++++++++++++++++++++
 kde-apps/gwenview/gwenview-23.04.1.ebuild          |  2 +
 2 files changed, 85 insertions(+)