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 .. 3 4 5 6 7 8 9 Next › Last »

iq2luc commented on 2023-06-11 09:02 (UTC)

Hello again,

the updated version (3.17.2282-1) of the package does not work for me because it tries to run the versionupdate.py script (which expects a git repo) and the build fails.

A small patch is needed to avoid running this script, the following PKGBUILD (and friends) works OK for me: https://drive.google.com/file/d/1o8heEOejT2RE5O3tVaME-fSVKHpqFHHH

Thanks, Luc

iq2luc commented on 2023-06-09 09:55 (UTC)

@ferda: You're welcome. The only questionable thing about it is the use of unique_ptr's swap() instead of reset(), although in this particular case the outcome is the same (exifImgN goes out of scope right away).

I don't use C++ actively for quite some time now, so I guess that was the best I could do to make the program work. :-)

ferda commented on 2023-06-09 09:11 (UTC)

Thanks for the patch, works for me.

iq2luc commented on 2023-06-09 06:44 (UTC) (edited on 2023-06-09 07:14 (UTC) by iq2luc)

Hello,

I just noticed the issue with exiv2-0.28 and here is a quick (5 minutes glancing over the code) fix: https://drive.google.com/file/d/1zuDF6PpFazSneiDrUH7iXIRELyM3aJVb

Thanks, Luc


Edit: updated - removed unused file from the tarball and made the patch smaller by keeping only the minimum changes required for fixing the issue.

rado84 commented on 2023-06-09 02:53 (UTC)

To those using nomacs: add exiv2 & libgexiv2 to the ignore list of pacman, otherwise when these two packages update, nomacs stops working and even reinstall won't fix it. If you have already updated and your nomacs isn't working, use the downgrade package to downgrade these two to:

• exiv2: 0.27.6-2 •libgexiv2: 0.14.1-1

Or you can simply download them manually and then install them using "pacman -U": https://archive.archlinux.org/packages/e/exiv2/exiv2-0.27.6-2-x86_64.pkg.tar.zst https://archive.archlinux.org/packages/l/libgexiv2/libgexiv2-0.14.1-1-x86_64.pkg.tar.zst

SR-G commented on 2023-06-08 22:33 (UTC)

Same problem for me - nomacs was not working anymore, so i removed it and tried to reinstall it, with the same error message / failure than in previous comments ("‘AutoPtr’ in ‘class Exiv2::Image’")

Muncrief commented on 2023-06-08 20:37 (UTC) (edited on 2023-06-08 20:43 (UTC) by Muncrief)

@ferda I am having the same problem. I changed AutoPtr to UniquePtr in DkMetaData.h and DkMetaData.cpp which allowed the build to progress a bit further but it died soon after the AutoPtr fix and I figured someone who knows what they're doing will have to address the issue.

ferda commented on 2023-06-08 20:14 (UTC) (edited on 2023-06-08 20:15 (UTC) by ferda)

Hi, the latest exiv2 update requires a rebuild. Compiling however fails with this message:

In file included from .cache/yay/nomacs/src/nomacs-3.17.2206/ImageLounge/src/DkGui/DkControlWidget.cpp:34: .cache/yay/nomacs/src/nomacs-3.17.2206/ImageLounge/src/DkCore/DkMetaData.h:151:23: error: 'AutoPtr' in 'class Exiv2::Image' does not name a type 151 | Exiv2::Image::AutoPtr loadSidecar(const QString& filePath) const; | ^~~~~~~ .cache/yay/nomacs/src/nomacs-3.17.2206/ImageLounge/src/DkCore/DkMetaData.h:160:23: error: 'AutoPtr' in 'class Exiv2::Image' does not name a type 160 | Exiv2::Image::AutoPtr mExifImg; | ^~~~~~~ make[2]: *** [CMakeFiles/nomacsCore.dir/build.make:238: CMakeFiles/nomacsCore.dir/src/DkGui/DkControlWidget.cpp.o] Error 1

REmorin commented on 2023-05-08 22:29 (UTC)

@FabioLolix, sorry, somehow paru didn't update the PKGBUILD, so it was using the old one from Apr 15.

rm -rf ~/.cache/paru/clone/nomacs/ resolved the issue.

Thanks for suggesting checking the PKGBUILD, I wouldn't have noticed otherwise.