Created attachment 186484 [details] Patch update graphics/maim to 5.4.68 This port builds on FreeBSD 11.1 amd64.
stage-qa reports a lack of USE stuff: Error: /usr/local/bin/maim is linked to /usr/local/lib/libSM.so.6 from x11/libSM but it is not declared as a dependency Warning: you need USE_XORG+=sm Error: /usr/local/bin/maim is linked to /usr/local/lib/libICE.so.6 from x11/libICE but it is not declared as a dependency Warning: you need USE_XORG+=ice Error: /usr/local/bin/maim is linked to /usr/local/lib/libXext.so.6 from x11/libXext but it is not declared as a dependency Warning: you need USE_XORG+=xext Error: /usr/local/bin/maim is linked to /usr/local/lib/libpng16.so.16 from graphics/png but it is not declared as a dependency Warning: you need LIB_DEPENDS+=libpng16.so:graphics/png Error: /usr/local/bin/maim is linked to /usr/local/lib/libjpeg.so.8 from graphics/jpeg-turbo but it is not declared as a dependency Warning: you need USES+=jpeg Error: /usr/local/bin/maim is linked to /usr/local/lib/libXrender.so.1 from x11/libXrender but it is not declared as a dependency Warning: you need USE_XORG+=xrender Error: /usr/local/bin/maim is linked to /usr/local/lib/libGL.so.1 from graphics/mesa-libs but it is not declared as a dependency Warning: you need USE_GL+=gl
Created attachment 186911 [details] Patch update graphics/maim to 5.4.68 (Revision 1) I have made a revised patch. Everything is working in this.
(In reply to Neel Chauhan from comment #2) I tried this patch, but it failed to build with: src/x.hpp:37:10: fatal error: 'glm/glm.hpp' file not found Adding a dep on glm helped the build: BUILD_DEPENDS= glm>=0:math/glm But then when I run it, I get: Maim encountered an error: Invalid number of channels provided to image. Any ideas?
(In reply to Steve Wills from comment #3) Yeah I'm getting the channels error too, wrote about it here: https://github.com/naelstrof/maim/issues/78#issuecomment-334270689 Looks like some weird memory corruption
There is a new version, and maim 5.5.1 works (I tested it). *** This bug has been marked as a duplicate of bug 228490 ***