Opened 20 years ago

Closed 20 years ago

Last modified 19 years ago

#1738 closed defect (fixed)

NEW: rb-RMagick-1.4.0

Reported by: shu@… Owned by: rshaw@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port:

Description

rb-RMagick-1.4.0

The portfile can be found here: http://navi.rufuran.org/~shu/ports/ruby/rb-RMagick/Portfile

Description: The Ruby interface to ImageMagick and GraphicsMagick. Required some minor changes to do vendor-specific.

Change History (9)

comment:1 Changed 20 years ago by rshaw@…

Owner: changed from darwinports-bugs@… to rshaw@…

comment:2 Changed 20 years ago by rshaw@…

Status: newassigned

comment:3 Changed 20 years ago by rshaw@…

FYI, port name "rb-RMagick" should be lowercase. Like this: "rb-rmagick". That is the convention we are using for all Ruby, Perl, Python, and Zope modules. I will go ahead and change this when I commit, I just wanted to make sure I let you know.

Thanks, -rshaw

comment:4 Changed 20 years ago by rshaw@…

This module does not compile with the latest 6.0 version of ImageMagick that DP has. I get the following compile error:

gcc -fno-common -std=c99 -Wall -g -O2 -Wall -I. -I/opt/local/lib/ruby/1.8/powerpc-darwin -I/opt/ local/lib/ruby/1.8/powerpc-darwin -I/opt/darwinports/dports/ruby/rb-rmagick/work/RMagick-1.4.0/ ext/RMagick -DRUBY_VERSION=0x181 -I/opt/local/include -c rmmain.c rmmain.c: In function `Magick_colors': rmmain.c:72: error: structure has no member named `next' rmmain.c: In function `Magick_fonts': rmmain.c:116: error: structure has no member named `next' rmmain.c:128: error: structure has no member named `next' rmmain.c: In function `Magick_init_formats': rmmain.c:171: error: structure has no member named `next' make[1]: * [rmmain.o] Error 1

Can you please look at this and make sure it compiles for you using the latest ImageMagick port version?

Thanks! -Robert

comment:5 Changed 20 years ago by rshaw@…

Repost: Darn Bugzilla doesn't always email ...

This module does not compile with the latest 6.0 version of ImageMagick that DP has. I get the following compile error:

gcc -fno-common -std=c99 -Wall -g -O2 -Wall -I. -I/opt/local/lib/ruby/1.8/powerpc-darwin -I/opt/ local/lib/ruby/1.8/powerpc-darwin -I/opt/darwinports/dports/ruby/rb-rmagick/work/RMagick-1.4.0/ ext/RMagick -DRUBY_VERSION=0x181 -I/opt/local/include -c rmmain.c rmmain.c: In function `Magick_colors': rmmain.c:72: error: structure has no member named `next' rmmain.c: In function `Magick_fonts': rmmain.c:116: error: structure has no member named `next' rmmain.c:128: error: structure has no member named `next' rmmain.c: In function `Magick_init_formats': rmmain.c:171: error: structure has no member named `next' make[1]: * [rmmain.o] Error 1

Can you please look at this and make sure it compiles for you using the latest ImageMagick port version?

Thanks! -Robert

comment:6 Changed 20 years ago by shu@…

Sorry for the late response.

I have patched RMagick 1.4.0 to accomdate the change of structure in several linked list structures as described here: http://www.imagemagick.org/www/News.html (search for 'next/previous members')

The patchfile is here: http://navi.rufuran.org/~shu/ports/ruby/rb-rmagick/files/patch-rmmain.c

And the updated portfile is here: http://navi.rufuran.org/~shu/ports/ruby/rb-rmagick/Portfile

NOTE that the patch is something I came up with after 30 minutes of searching on the ImageMagick site. It *seems* to compile and work. I will submit it the author of RMagick, and once he decides what the correct way to update it, I'll update the Portfile.

comment:7 Changed 20 years ago by rshaw@…

Thanks for the patch. Looks like version 1.5.0 was just released and is compatible with ImageMagick 6.0.0. I will update your Portfile to 1.5.0 and commit it.

Thanks. -rshaw

comment:8 Changed 20 years ago by rshaw@…

Thanks for the patch. Looks like version 1.5.0 was just released and is compatible with ImageMagick 6.0.0. I will update your Portfile to 1.5.0 and commit it.

Thanks. -rshaw

comment:9 Changed 20 years ago by rshaw@…

Resolution: fixed
Status: assignedclosed

Committed. Thanks! -rshaw

Note: See TracTickets for help on using tickets.