Package Details: nomacs 1:3.19.1-3

Git Clone URL: https://aur.archlinux.org/nomacs.git (read-only, click to copy)
Package Base: nomacs
Description: A Qt image viewer
Upstream URL: https://github.com/nomacs/nomacs
Licenses: GPL-3.0-only
Submitter: arojas
Maintainer: FabioLolix
Last Packager: FabioLolix
Votes: 33
Popularity: 0.94
First Submitted: 2023-04-01 09:57 (UTC)
Last Updated: 2024-09-23 16:16 (UTC)

Dependencies (16)

Required by (0)

Sources (1)

Pinned Comments

C0rn3j commented on 2024-01-08 18:30 (UTC)

@ferda Read the pinned comment and implement checkrebuild from rebuild-detector into your workflow.

FabioLolix commented on 2023-07-07 05:37 (UTC)

every time you have error while loading shared libraries: libXXX.so.XXX: cannot open shared object file: No such file or directory for build from source programs you have to rebuild it

Another package goes to the ignore list - opencv. Upgrading it to the latest v4.8.0 causes nomacs to not open when I click an image anymore. Downgrading it to 4.7.0 fixes that.

@rado84 you need rebuild the package not to hold back other packages, it is the same every time a dinamically linked soname changes

$ nomacs
nomacs: error while loading shared libraries: libopencv_imgproc.so.407: cannot open shared object file: No such file or directory

FabioLolix commented on 2023-06-17 15:20 (UTC)

Now using git tags as source=() as requested

Pre-build packages here (also for -git version) : https://sourceforge.net/projects/fabiololix-os-archive/files/Packages/

Latest Comments

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

ferda commented on 2024-03-03 00:59 (UTC)

As a short term fix add -DQT_VERSION_MAJOR=5 to the cmake command in build() (PKGBUILD l.34) or use a clean chroot without QT6 installed. The next step would be the transition to building against QT6.

Rhinoceros commented on 2024-03-03 00:49 (UTC)

When attempting to build, I'm getting the same error as mentioned in a previous comment

-- Could NOT find Qt6LinguistTools (missing: Qt6LinguistTools_DIR)
CMake Error at cmake/Utils.cmake:26 (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 "LinguistTools".

  Expected Config file at
  "/usr/lib/cmake/Qt6LinguistTools/Qt6LinguistToolsConfig.cmake" does NOT
  exist



  Configuring with --debug-find-pkg=Qt6LinguistTools 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.

Call Stack (most recent call first):
  CMakeLists.txt:98 (NMC_FINDQT)


-- Configuring incomplete, errors occurred!

after installing qt6-tools building progresses further but still still fails, this time with

CMake Error: The INTERFACE_QT_MAJOR_VERSION property of "Qt5::Core" does
not agree with the value of QT_MAJOR_VERSION already determined
for "fakeMiniaturesPlugin".

CMake Error: The INTERFACE_QT_MAJOR_VERSION property of "Qt5::Core" does
not agree with the value of QT_MAJOR_VERSION already determined
for "affineTransformPlugin".

CMake Error: The INTERFACE_QT_MAJOR_VERSION property of "Qt5::Core" does
not agree with the value of QT_MAJOR_VERSION already determined
for "paintPlugin".

CMake Error: The INTERFACE_QT_MAJOR_VERSION property of "Qt5::Core" does
not agree with the value of QT_MAJOR_VERSION already determined
for "pageExtractionPlugin".

CMake Error: The INTERFACE_QT_MAJOR_VERSION property of "Qt5::Core" does
not agree with the value of QT_MAJOR_VERSION already determined
for "CompositePlugin".

-- Generating done (0.0s)
CMake Generate step failed.  Build files cannot be regenerated correctly.

C0rn3j commented on 2024-03-02 23:34 (UTC)

Is there any reason to hardcode old Qt version instead of using the now-default Qt6?

https://github.com/nomacs/nomacs/pull/1022

FabioLolix commented on 2024-03-02 17:13 (UTC)

Can't replicate

-- QUAZIP: QuaZip-1 for Qt5 found
revision is 94e9adaa, 2024-02-29
-- /home/fabio/Dev/Github/PKGBUILD-AUR_fix/n/nomacs/src/nomacs/ImageLounge/src/themes/Dark-Theme.css added...
-- /home/fabio/Dev/Github/PKGBUILD-AUR_fix/n/nomacs/src/nomacs/ImageLounge/src/themes/Light-Theme.css added...
-- /home/fabio/Dev/Github/PKGBUILD-AUR_fix/n/nomacs/src/nomacs/ImageLounge/src/themes/System.css added...
-- using plugin directory: /home/fabio/Dev/Github/PKGBUILD-AUR_fix/n/nomacs/src/nomacs/ImageLounge/plugins
-- Info: The Nikon Plugin cannot be built with x64 compiler configuration
-- QMake found: /usr/bin/qmake
-- 
-- ----------------------------------------------------------------------------------
--  nomacs - Image Lounge 3.17  <https://nomacs.org>
--  Qt version: 5.15.12
--  nomacs will be compiled with OPENCV support .................. YES

but will add it I guess

jestarray commented on 2024-03-02 17:09 (UTC)

-- Could NOT find Qt6LinguistTools (missing: Qt6LinguistTools_DIR) CMake Error at cmake/Utils.cmake:26 (find_package): Found package configuration file:

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

Got this error when trying to compile.

ferda commented on 2024-03-02 15:07 (UTC)

Version 2295 will try to use QT6 if it finds it. Running cmake with -DQT_VERSION_MAJOR=5 makes sure QT5 gets used.

q234rty commented on 2024-01-09 05:34 (UTC)

This needs an optdep on kimageformats5 not kimageformats.

FabioLolix commented on 2024-01-08 18:48 (UTC)

It is a pity opencv doesn't provide libopencv_imgproc.so, need to fill a bug for that


Why is so hard to read the pinned comments before commenting? A bit of respect for pkgbuilds maintainers please

C0rn3j commented on 2024-01-08 18:30 (UTC)

@ferda Read the pinned comment and implement checkrebuild from rebuild-detector into your workflow.

ferda commented on 2024-01-08 18:20 (UTC)

opencv 4.9 needs a rebuild, could you bump pkgrel?