Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 906492 - media-gfx/phototonic-2.1: ImageViewer.cpp:948:19: error: ‘AutoPtr’ is not a member of ‘Exiv2::Image’ > 948 | Exiv2::Image::AutoPtr image;
Summary: media-gfx/phototonic-2.1: ImageViewer.cpp:948:19: error: ‘AutoPtr’ is not a m...
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: UPSTREAM
Depends on:
Blocks: exiv2-0.28
  Show dependency tree
 
Reported: 2023-05-15 20:08 UTC by Andreas Sturmlechner
Modified: 2023-05-28 18:28 UTC (History)
0 users

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


Attachments
media-gfx:phototonic-2.1:20230515-200310.log (media-gfx:phototonic-2.1:20230515-200310.log,42.57 KB, text/plain)
2023-05-15 20:08 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 20:08:07 UTC
Created attachment 861760 [details]
media-gfx:phototonic-2.1:20230515-200310.log

> ImageViewer.cpp:948:19: error: ‘AutoPtr’ is not a member of ‘Exiv2::Image’
>   948 |     Exiv2::Image::AutoPtr image;
>       |                   ^~~~~~~
> /usr/lib64/qt5/bin/moc -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB --include /var/tmp/portage/media-gfx/phototonic-2.1/work/phototonic-2.1/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/var/tmp/portage/media-gfx/phototonic-2.1/work/phototonic-2.1 -I/var/tmp/portage/media-gfx/phototonic-2.1/work/phototonic-2.1 -I/usr/local/include -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I/usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13 -I/usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/x86_64-pc-linux-gnu -I/usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/backward -I/usr/lib/gcc/x86_64-pc-linux-gnu/13/include -I/usr/lib/gcc/x86_64-pc-linux-gnu/13/include-fixed -I/usr/include Phototonic.h -o moc_Phototonic.cpp
> ImageViewer.cpp:959:9: error: ‘image’ was not declared in this scope; did you mean ‘QImage’?
>   959 |         image = Exiv2::ImageFactory::open(viewerImageFullPath.toStdString());
>       |         ^~~~~
>       |         QImage
> ImageViewer.cpp:975:13: error: ‘image’ was not declared in this scope; did you mean ‘QImage’?
>   975 |             image->writeMetadata();
>       |             ^~~~~
>       |             QImage
> ImageViewer.cpp: In member function ‘void ImageViewer::saveImageAs()’:
> ImageViewer.cpp:988:19: error: ‘AutoPtr’ is not a member of ‘Exiv2::Image’
>   988 |     Exiv2::Image::AutoPtr exifImage;
>       |                   ^~~~~~~
> ImageViewer.cpp:989:19: error: ‘AutoPtr’ is not a member of ‘Exiv2::Image’
>   989 |     Exiv2::Image::AutoPtr newExifImage;
>       |                   ^~~~~~~
> ImageViewer.cpp:1002:13: error: ‘exifImage’ was not declared in this scope; did you mean ‘origImage’?
>  1002 |             exifImage = Exiv2::ImageFactory::open(viewerImageFullPath.toStdString());
>       |             ^~~~~~~~~
>       |             origImage

...and so on.
Comment 1 Larry the Git Cow gentoo-dev 2023-05-28 18:28:58 UTC
The bug has been closed via the following commit(s):

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

commit 2b50bb6afe18817aca1fcf49b3c5321c9f3cca24
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2023-05-28 17:12:09 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2023-05-28 18:28:47 +0000

    media-gfx/phototonic: update EAPI 7 -> 8, fix build with >=exiv2-0.28
    
    Closes: https://bugs.gentoo.org/906492
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 .../files/phototonic-2.1-exiv2-0.28.patch          | 135 +++++++++++++++++++++
 media-gfx/phototonic/phototonic-2.1.ebuild         |  19 +--
 2 files changed, 141 insertions(+), 13 deletions(-)