Package Details: photoqt 4.6-2

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
Conflicts: photoqt-bin
Submitter: archtux
Maintainer: luspi
Last Packager: luspi
Votes: 106
Popularity: 0.27
First Submitted: 2013-08-11 21:50 (UTC)
Last Updated: 2024-09-02 23:54 (UTC)

Latest Comments

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

luspi commented on 2024-02-06 21:36 (UTC) (edited on 2024-02-06 21:41 (UTC) by luspi)

@Agafron, some people have linker issues with ImageMagick, however, it works just fine for most people and afaict there's nothing that should cause an issue there. When switching to GraphicsMagick, make sure to also update the dependency from imagemagick to graphicsmagick to make sure it is installed.

Edit: From your second text snippet it seems like you're using yaourt. Please note that yaourt is no longer maintained and not recommended for use anymore. This might possibly be the cause of these issues...

Agafron commented on 2024-02-06 17:33 (UTC) (edited on 2024-02-06 20:46 (UTC) by Agafron)

-DIMAGEMAGICK=ON -DGRAPHICSMAGICK=OFF

[100%] Linking CXX executable photoqt
/usr/bin/ld: CMakeFiles/photoqt.dir/cplusplus/singletons/scripts/pqc_scriptsfilemanagement.cpp.o: в функции «PQCScriptsFileManagement::scaleImage(QString, QString, int, QSize, int)::{lambda()#1}::operator()() const»:
pqc_scriptsfilemanagement.cpp:(.text+0x4107): undefined reference to `Magick::Geometry::Geometry(unsigned long, unsigned long, long, long)'
/usr/bin/ld: CMakeFiles/photoqt.dir/cplusplus/images/plugins/pqc_loadimage_magick.cpp.o: в функции «PQCLoadImageMagick::loadSize(QString)»:
pqc_loadimage_magick.cpp:(.text+0xb79): undefined reference to `Magick::Image::rows() const'
/usr/bin/ld: pqc_loadimage_magick.cpp:(.text+0xb84): undefined reference to `Magick::Image::columns() const'
/usr/bin/ld: CMakeFiles/photoqt.dir/cplusplus/images/plugins/pqc_loadimage_magick.cpp.o: в функции «PQCLoadImageMagick::load(QString, QSize, QSize&, QImage&)»:
pqc_loadimage_magick.cpp:(.text+0x220f): undefined reference to `Magick::Image::rows() const'
/usr/bin/ld: pqc_loadimage_magick.cpp:(.text+0x221d): undefined reference to `Magick::Image::columns() const'
/usr/bin/ld: pqc_loadimage_magick.cpp:(.text+0x228b): undefined reference to `Magick::Geometry::Geometry(unsigned long, unsigned long, long, long)'
/usr/bin/ld: pqc_loadimage_magick.cpp:(.text+0x2cbc): undefined reference to `Magick::Geometry::Geometry(unsigned long, unsigned long, long, long)'
collect2: ошибка: выполнение ld завершилось с кодом возврата 1
make[2]: *** [CMakeFiles/photoqt.dir/build.make:5963: photoqt] Ошибка 1
make[1]: *** [CMakeFiles/Makefile2:107: CMakeFiles/photoqt.dir/all] Ошибка 2
make: *** [Makefile:136: all] Ошибка 2
==> ОШИБКА: Произошел сбой в build().

-DIMAGEMAGICK=OFF -DGRAPHICSMAGICK=ON

[ 60%] Building CXX object CMakeFiles/photoqt.dir/cplusplus/other/pqc_commandlineparser.cpp.o
In file included from /tmp/yaourt-tmp-ypp/aur-photoqt/src/photoqt-4.2/cplusplus/main.cpp:78:
/usr/include/GraphicsMagick/Magick++.h:9:10: фатальная ошибка: Magick++/Include.h: Нет такого файла или каталога
    9 | #include <Magick++/Include.h>
      |          ^~~~~~~~~~~~~~~~~~~~
компиляция прервана.
make[2]: *** [CMakeFiles/photoqt.dir/build.make:2384: CMakeFiles/photoqt.dir/cplusplus/main.cpp.o] Ошибка 1
make[2]: *** Ожидание завершения заданий…
make[1]: *** [CMakeFiles/Makefile2:107: CMakeFiles/photoqt.dir/all] Ошибка 2
make: *** [Makefile:136: all] Ошибка 2
==> ОШИБКА: Произошел сбой в build().
    Прерывание...
==> ОШИБКА: Makepkg не смог собрать photoqt.

-DIMAGEMAGICK=OFF -DGRAPHICSMAGICK=OFF work

luspi commented on 2024-01-19 14:51 (UTC)

@Jericho Thanks, the package qt6-webengine was a missing dependency, I added it now.

Jericho commented on 2024-01-19 14:48 (UTC) (edited on 2024-01-19 14:49 (UTC) by Jericho)

When trying to update photoqt 4.1-1 -> 4.2-1, it gives this error:

-- Could NOT find Qt6Pdf (missing: Qt6Pdf_DIR)
CMake Error at CMakeLists.txt:138 (find_package):
  Found package configuration file:

    /usr/lib/cmake/Qt6/Qt6Config.cmake

  but it set Qt6_FOUND to FALSE so package "Qt6" is considered to be NOT
  FOUND.  Reason given by package:

  Failed to find required Qt component "Pdf".

  Expected Config file at "/usr/lib/cmake/Qt6Pdf/Qt6PdfConfig.cmake" does NOT
  exist



  Configuring with --debug-find-pkg=Qt6Pdf might reveal details why the
  package was not found.

  Configuring with -DQT_DEBUG_FIND_PACKAGE=ON will print the values of some
  of the path variables that find_package uses to try and find the package.



-- Configuring incomplete, errors occurred!
==> ERROR: A failure occurred in prepare().
    Aborting...
 -> error making: photoqt-exit status 4
checking dependencies...

luspi commented on 2024-01-18 23:41 (UTC)

@csutcliff Thanks, added this dependency now.

csutcliff commented on 2024-01-18 20:36 (UTC)

the update today changed -DCHROMECAST=OFF to -DCHROMECAST=ON but doesn't have python-pychromecast added as a dependency so fails to build by default.

luspi commented on 2023-12-16 15:32 (UTC)

@Jericho qt6-tools is listed as make dependency already as it is only required for building and not running.

Jericho commented on 2023-12-16 10:32 (UTC)

I would like to request that https://archlinux.org/packages/extra/x86_64/qt6-tools/ be added to the list of dependencies for this package. This will give users a smoother experience when installing.

Thank you for your time and consideration.

luspi commented on 2023-12-15 17:42 (UTC)

@weru345 Thanks, I forgot to update the qt5-tools in the makedepends array to the qt6 version. Fixed now.

weru345 commented on 2023-12-15 09:47 (UTC) (edited on 2023-12-15 09:48 (UTC) by weru345)

Building failed for me at first: -- Could NOT find Qt6LinguistTools (missing: Qt6LinguistTools_DIR) more verbose log

Installing qt6-tools fixed it for me.