Package Details: photoqt 4.4-1

Git Clone URL: https://aur.archlinux.org/photoqt.git (read-only, click to copy)
Package Base: photoqt
Description: Fast and highly configurable image viewer with a simple and nice interface.
Upstream URL: http://photoqt.org/
Licenses: GPL2
Submitter: archtux
Maintainer: luspi
Last Packager: luspi
Votes: 105
Popularity: 1.00
First Submitted: 2013-08-11 21:50 (UTC)
Last Updated: 2024-04-04 21:51 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 .. 13 Next › Last »

system7 commented on 2022-12-22 09:52 (UTC)

It works, thank you for your work! Happy holidays!

luspi commented on 2022-12-22 09:19 (UTC)

@system7 and @Billli11

I updated the package with a patch fixing the build with the latest libraw. The same fix has been applied upstream for the next release.

system7 commented on 2022-12-21 15:46 (UTC)

Thank u!

Billli11 commented on 2022-12-20 23:06 (UTC) (edited on 2022-12-20 23:08 (UTC) by Billli11)

@system7

Seem like libraw 0.21.0-2 cause this.

You have to remove raw image support or downgrade libraw to 0.20.2-3 (0.21.0-1 not tested) to fix this until either libraw or photoqt fixed.

Add -DRAW=OFF to line 26 cmake command to disable raw support.

Here the patch

--- a/PKGBUILD
+++ b/PKGBUILD
@@ -23,7 +23,7 @@ prepare() {
   # To build PhotoQt with less features, add -Dxxxx=OFF to
   # the next line (where xxxx is the respective CMake option).
   # to use GraphicsMagick instead of ImageMagick add: -DIMAGEMAGICK=OFF -DGRAPHICSMAGICK=ON
-  cmake . -DCMAKE_INSTALL_PREFIX=/usr -DFREEIMAGE=OFF -DDEVIL=OFF -DPOPPLER=OFF -DIMAGEMAGICK=ON -DGRAPHICSMAGICK=OFF -DLIBVIPS=OFF -DVIDEO_MPV=OFF
+  cmake . -DCMAKE_INSTALL_PREFIX=/usr -DFREEIMAGE=OFF -DDEVIL=OFF -DPOPPLER=OFF -DIMAGEMAGICK=ON -DGRAPHICSMAGICK=OFF -DLIBVIPS=OFF -DVIDEO_MPV=OFF -DRAW=OFF

 }

system7 commented on 2022-12-20 20:43 (UTC)

Hello,

I have an error. I do not know how to solve it.

[ 58%] Building CXX object CMakeFiles/photoqt.dir/cplusplus/imageprovider/loader/loadimage_poppler.cpp.o
[ 59%] Building CXX object CMakeFiles/photoqt.dir/cplusplus/imageprovider/loader/loadimage_raw.cpp.o
/home/system7/.cache/yay/photoqt/src/photoqt-2.9.1/cplusplus/imageprovider/loader/loadimage_raw.cpp: In member function ‘QImage PQLoadImageRAW::load(QString, QSize, QSize&, bool)’:
/home/system7/.cache/yay/photoqt/src/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;
      |                        ^~~~~~~~~~~~
make[2]: *** [CMakeFiles/photoqt.dir/build.make:1113: CMakeFiles/photoqt.dir/cplusplus/imageprovider/loader/loadimage_raw.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:113: CMakeFiles/photoqt.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: photoqt

Agafron commented on 2022-09-08 18:26 (UTC) (edited on 2022-09-08 18:41 (UTC) by Agafron)

@luspi
and switch the ON and OFF in the cmake call
its help! thanks!

luspi commented on 2022-09-08 16:14 (UTC)

@Agafron

  • How do you build PhotoQt, by invoking makepkg, or by using an AUR helper?
  • What ImageMagick version do you have installed (magick --version)?

A temporary workaround would be to switch from ImageMagick to GraphicsMagick: Replace imagemagick by graphicsmagick in the depends array, and switch the ON and OFF in the cmake call (line 26).

Agafron commented on 2022-09-07 09:33 (UTC) (edited on 2022-09-07 09:40 (UTC) by Agafron)

[ 89%] Linking CXX executable photoqt
/usr/sbin/ld: CMakeFiles/photoqt.dir/cplusplus/imageprovider/loader/loadimage_magick.cpp.o: in function PQLoadImageMagick::load(QString, QSize, QSize&, bool)':</code><br> <code> loadimage_magick.cpp:(.text+0x1b47): undefined reference toMagick::Image::rows() const'
/usr/sbin/ld: loadimage_magick.cpp:(.text+0x1b55): undefined reference to Magick::Image::columns() const'</code><br> <code> /usr/sbin/ld: loadimage_magick.cpp:(.text+0x1c08): undefined reference toMagick::Geometry::Geometry(unsigned long, unsigned long, long, long)'
/usr/sbin/ld: loadimage_magick.cpp:(.text+0x315f): undefined reference to Magick::Geometry::Geometry(unsigned long, unsigned long, long, long)'</code><br> <code> /usr/sbin/ld: CMakeFiles/photoqt.dir/cplusplus/imageprovider/loader/loadimage_magick.cpp.o: in functionPQLoadImageMagick::loadSize(QString)':
loadimage_magick.cpp:(.text+0x37df): undefined reference to Magick::Geometry::height() const'</code><br> <code> /usr/sbin/ld: loadimage_magick.cpp:(.text+0x37f5): undefined reference toMagick::Geometry::width() const'
collect2: error: ld returned 1 exit status
make[2]: [CMakeFiles/photoqt.dir/build.make:1581: photoqt] Error 1
make[1]:
[CMakeFiles/Makefile2:113: CMakeFiles/photoqt.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...

luspi commented on 2022-04-04 14:27 (UTC)

@guglovich v2.5 (this package) was released in early January. That commit will be part of v2.6 which will come within the next few days.