Bug 222412 - graphics/maim: Update to 5.4.68
Summary: graphics/maim: Update to 5.4.68
Status: Closed DUPLICATE of bug 228490
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-17 19:58 UTC by Neel Chauhan
Modified: 2018-05-25 18:01 UTC (History)
3 users (show)

See Also:


Attachments
Patch update graphics/maim to 5.4.68 (1.41 KB, patch)
2017-09-17 19:58 UTC, Neel Chauhan
nc: maintainer-approval+
Details | Diff
Patch update graphics/maim to 5.4.68 (Revision 1) (1.52 KB, patch)
2017-10-04 22:24 UTC, Neel Chauhan
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Neel Chauhan freebsd_committer freebsd_triage 2017-09-17 19:58:53 UTC
Created attachment 186484 [details]
Patch update graphics/maim to 5.4.68

This port builds on FreeBSD 11.1 amd64.
Comment 1 Val Packett 2017-10-04 19:55:33 UTC
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
Comment 2 Neel Chauhan freebsd_committer freebsd_triage 2017-10-04 22:24:27 UTC
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.
Comment 3 Steve Wills freebsd_committer freebsd_triage 2017-10-20 14:47:35 UTC
(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?
Comment 4 Val Packett 2017-10-20 17:25:44 UTC
(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
Comment 5 Neel Chauhan freebsd_committer freebsd_triage 2018-05-25 18:01:00 UTC
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 ***