Opened 2 years ago
Closed 2 years ago
#65272 closed defect (fixed)
octave @7.1.0+graphicsmagick: GraphicsMagick support is missing
Reported by: | detlevd (Detlev Droege) | Owned by: | MarcusCalhoun-Lopez (Marcus Calhoun-Lopez) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.7.1 |
Keywords: | haspatch | Cc: | |
Port: | octave |
Description
Since the new Octave version 7.1.0 GraphicsMagick is not detected in the configure process and thus not active, leading to error messages on statements like
img = imread("image.jpg");
telling
imfinfo: support for Image IO was unavailable or disabled when Octave was built
The +graphicsmagick variant however is active by default and wasn't turned off.
It turns out, that the configuration option paramters did change in 7.1.0.
Simply correct the configure.args in the Portfile an it will be found again.
--with-magick=GraphicsMagick
must now have two plus signs at the end:
--with-magick=GraphicsMagick++
Attachments (1)
Change History (5)
Changed 2 years ago by detlevd (Detlev Droege)
Attachment: | octave710-portfile.diff added |
---|
comment:1 Changed 2 years ago by jmroot (Joshua Root)
Owner: | changed from mcalhoun@… to MarcusCalhoun-Lopez |
---|
comment:2 Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)
Summary: | octave @7.1.0 [default variants]: GraphicsMagick not compiled in despite +graphicsmagick → octave @7.1.0+graphicsmagick: GraphicsMagick support is missing |
---|
Thanks for reporting this bug and suggesting the fix. I agree that the fix looks correct. Of course the revision
will also need to be increased since the fix changes what gets installed.
I was going to commit this change, but first I tried to build the port and it failed at the destroot phase. Since I don't think it's related I'll file a separate bug about that and leave this bug to the port's maintainer to fix. Or if you tested the fix and got a successful port installation, feel free to submit the fix (including the revision
increase) as a pull request.
comment:3 Changed 2 years ago by detlevd (Detlev Droege)
I tested the patch and img = imread("image.jpg");
then works just fine. Submitted a pull request, including revision increase. Thanks for your feedback!
comment:4 Changed 2 years ago by Detlev Droege <droege@…>
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
patch for the octave @7.1.0_0 Portfile