ports/114037: [PATCH] Update ruby-rmagick to 1.15.7 & fix dependencies
Roderick van Domburg
r.s.a.vandomburg at nedforce.nl
Tue Jun 26 12:10:04 UTC 2007
>Number: 114037
>Category: ports
>Synopsis: [PATCH] Update ruby-rmagick to 1.15.7 & fix dependencies
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Jun 26 12:10:03 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Roderick van Domburg
>Release: FreeBSD/i386 6.2
>Organization:
Nedforce
>Environment:
>Description:
The following patch does the following things:
1. Update RMagick to 1.15.7
2. Add dependency on webfonts, necessary for passing the test suite
3. Suggest a fix for broken GraphicsMagick dependencies (see ports/114036)
>How-To-Repeat:
- Try to compile RMagick with recent webfonts
- Try to compile RMagick with recent default GraphicsMagick
>Fix:
--- ruby-rmagick-1.15.7.patch begins here ---
diff -ru /usr/ports/graphics/ruby-rmagick/Makefile ruby-rmagick/Makefile
--- /usr/ports/graphics/ruby-rmagick/Makefile Mon Jun 25 22:46:04 2007
+++ ruby-rmagick/Makefile Tue Jun 26 13:31:38 2007
@@ -6,8 +6,7 @@
#
PORTNAME= rmagick
-PORTVERSION= 1.15.5
-PORTREVISION= 1
+PORTVERSION= 1.15.7
CATEGORIES= graphics ruby
MASTER_SITES= ${MASTER_SITE_RUBYFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -18,6 +17,8 @@
MAINTAINER= stas at FreeBSD.org
COMMENT= A Ruby binding for ImageMagick
+BUILD_DEPENDS= ${X11BASE}/lib/X11/fonts/webfonts/verdana.ttf:${PORTSDIR}/x11-fonts/webfonts
+
USE_BZIP2= yes
USE_RUBY= yes
USE_RUBY_SETUP= yes
@@ -47,6 +48,14 @@
.endif
pre-configure:
+.if defined(WITH_GRAPHICSMAGICK)
+ @${ECHO_MSG} "============================================================================"
+ @${ECHO_MSG} "If configure complains that it cannot find InitializeMagick, then recompile"
+ @${ECHO_MSG} "GraphicsMagick with the WITHOUT_SYMBOL_PREFIX knob. Note that this may break"
+ @${ECHO_MSG} "other ports that depend on GraphicsMagick, in which case you will have to"
+ @${ECHO_MSG} "resort to using RMagick with ImageMagick."
+ @${ECHO_MSG} "============================================================================"
+.endif
cd ${CONFIGURE_WRKSRC}; \
${SETENV} ${CONFIGURE_ENV} ./configure --prefix="${PREFIX}"
diff -ru /usr/ports/graphics/ruby-rmagick/distinfo ruby-rmagick/distinfo
--- /usr/ports/graphics/ruby-rmagick/distinfo Mon Jun 25 22:46:04 2007
+++ ruby-rmagick/distinfo Tue Jun 26 12:10:52 2007
@@ -1,3 +1,3 @@
-MD5 (ruby/RMagick-1.15.5.tar.bz2) = 61ccb85907b52220f3a927bf9c5c5a4e
-SHA256 (ruby/RMagick-1.15.5.tar.bz2) = c49b0d9b924445d77dcb834a03932706e99fd452a02dccef17946c663e0d66bf
-SIZE (ruby/RMagick-1.15.5.tar.bz2) = 958075
+MD5 (ruby/RMagick-1.15.7.tar.bz2) = f9ffa4f7cbc0c1ff52bd723674f4c995
+SHA256 (ruby/RMagick-1.15.7.tar.bz2) = 81865e49060a6080acd224f89893b26e09e24ed8e5df2dc161a000a1fc39559a
+SIZE (ruby/RMagick-1.15.7.tar.bz2) = 958153
--- ruby-rmagick-1.15.7.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list