aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorbeech <beech@FreeBSD.org>2008-06-28 09:03:04 +0800
committerbeech <beech@FreeBSD.org>2008-06-28 09:03:04 +0800
commite14813ba1c9f0489306e4effa38b71f6a50db6eb (patch)
treecb58309d2d323f319bf087dddbc815cb4affa4c3 /graphics
parent8cce27e7c1a019c28ccefad7d3b54fdf273113d1 (diff)
downloadfreebsd-ports-gnome-e14813ba1c9f0489306e4effa38b71f6a50db6eb.tar.gz
freebsd-ports-gnome-e14813ba1c9f0489306e4effa38b71f6a50db6eb.tar.zst
freebsd-ports-gnome-e14813ba1c9f0489306e4effa38b71f6a50db6eb.zip
- Downgrade to 1.1.12, new api not compatible with koffice
- Bump PORTEPOCH
Diffstat (limited to 'graphics')
-rw-r--r--graphics/GraphicsMagick/Makefile23
-rw-r--r--graphics/GraphicsMagick/distinfo6
-rw-r--r--graphics/GraphicsMagick/files/patch-Makefile.in97
-rw-r--r--graphics/GraphicsMagick/files/patch-configure23
-rw-r--r--graphics/GraphicsMagick/files/patch-configure.in20
-rw-r--r--graphics/GraphicsMagick/files/patch-magick_symbols.h19
-rw-r--r--graphics/GraphicsMagick/files/patch-newfpx20
-rw-r--r--graphics/GraphicsMagick/pkg-plist82
-rw-r--r--graphics/GraphicsMagick12/Makefile23
-rw-r--r--graphics/GraphicsMagick12/distinfo6
-rw-r--r--graphics/GraphicsMagick12/files/patch-Makefile.in97
-rw-r--r--graphics/GraphicsMagick12/files/patch-configure23
-rw-r--r--graphics/GraphicsMagick12/files/patch-configure.in20
-rw-r--r--graphics/GraphicsMagick12/files/patch-magick_symbols.h19
-rw-r--r--graphics/GraphicsMagick12/files/patch-newfpx20
-rw-r--r--graphics/GraphicsMagick12/pkg-plist82
-rw-r--r--graphics/GraphicsMagick13/Makefile23
-rw-r--r--graphics/GraphicsMagick13/distinfo6
-rw-r--r--graphics/GraphicsMagick13/files/patch-Makefile.in97
-rw-r--r--graphics/GraphicsMagick13/files/patch-configure23
-rw-r--r--graphics/GraphicsMagick13/files/patch-configure.in20
-rw-r--r--graphics/GraphicsMagick13/files/patch-magick_symbols.h19
-rw-r--r--graphics/GraphicsMagick13/files/patch-newfpx20
-rw-r--r--graphics/GraphicsMagick13/pkg-plist82
24 files changed, 597 insertions, 273 deletions
diff --git a/graphics/GraphicsMagick/Makefile b/graphics/GraphicsMagick/Makefile
index b47981dce267..d0e7597b51b4 100644
--- a/graphics/GraphicsMagick/Makefile
+++ b/graphics/GraphicsMagick/Makefile
@@ -6,7 +6,8 @@
#
PORTNAME= GraphicsMagick
-PORTVERSION= 1.2.3
+PORTVERSION= 1.1.12
+PORTEPOCH= 1
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
ftp://ftp.graphicsmagick.org/pub/GraphicsMagick/
@@ -19,12 +20,12 @@ LIB_DEPENDS= freetype:${PORTSDIR}/print/freetype2 \
fpx.[2-9]:${PORTSDIR}/graphics/libfpx \
jbig:${PORTSDIR}/graphics/jbigkit \
wmflite:${PORTSDIR}/graphics/libwmf \
- xml2:${PORTSDIR}/textproc/libxml2 \
- ltdl:${PORTSDIR}/devel/libltdl15
+ xml2:${PORTSDIR}/textproc/libxml2
OTHERGRAPHICS= jasper jpeg lcms png tiff
LIB_DEPENDS+= ${OTHERGRAPHICS:C|(.+)|\1:${PORTSDIR}/graphics/\1|}
-OPTIONS= Q8BIT "Use 8-bit pixels (speed) instead of 16 (quality)" off \
- TESTS "Run bundled self-tests after build" on
+OPTIONS= Q8BIT "Use 8-bit pixels (speed) instead of 16 (quality)" off
+
+OPTIONS+= TESTS "Run bundled self-tests after build" on
USE_ICONV= yes
USE_AUTOTOOLS= libtool:15
@@ -46,10 +47,13 @@ WINDOWS_FONT_DIR=${LOCALBASE}/lib/X11/fonts/webfonts
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --without-perl --enable-shared --enable-static \
- --without-threads --with-ltdl-include=${LOCALBASE}/include \
- --with-ltdl-lib=${LOCALBASE}/lib
+ --without-threads
USE_LDCONFIG= yes
+.if defined(WITH_WINDOWS_FONT_DIR)
+CONFIGURE_ARGS+= --with-windows-font-dir="${WINDOWS_FONT_DIR}"
+.endif
+
ALL_TARGET= -j`${SYSCTL} -n hw.ncpu`
.if !defined(NOPORTDOCS)
@@ -63,9 +67,8 @@ test check:
.include <bsd.port.pre.mk>
-.if defined(WITH_WINDOWS_FONT_DIR)
-CONFIGURE_ARGS+= --with-windows-font-dir="${WINDOWS_FONT_DIR}"
-.endif
+# Perl and Tcl APIs will be installed by separate ports
+PLIST_SUB+= WITH_PERL="@comment "
.if defined(WITHOUT_X11)
PKGNAMESUFFIX+= -nox11
diff --git a/graphics/GraphicsMagick/distinfo b/graphics/GraphicsMagick/distinfo
index f80d759605e3..d1b64c6d7779 100644
--- a/graphics/GraphicsMagick/distinfo
+++ b/graphics/GraphicsMagick/distinfo
@@ -1,3 +1,3 @@
-MD5 (GraphicsMagick-1.2.3.tar.bz2) = 6326520b005f76f6c7eae26409c9dea0
-SHA256 (GraphicsMagick-1.2.3.tar.bz2) = 0fffff1e0aded2f2f3d8c4f13bad8f5c10d54745e5a4ec584bb30f2d003787e4
-SIZE (GraphicsMagick-1.2.3.tar.bz2) = 5507918
+MD5 (GraphicsMagick-1.1.12.tar.bz2) = 07653ae3d22a79786e637202a0532a95
+SHA256 (GraphicsMagick-1.1.12.tar.bz2) = 50e2a96cccad84e7eb5dfa277d3b68055e154f32a8d00d81acd072ba91a1a92e
+SIZE (GraphicsMagick-1.1.12.tar.bz2) = 5034822
diff --git a/graphics/GraphicsMagick/files/patch-Makefile.in b/graphics/GraphicsMagick/files/patch-Makefile.in
index 7c5d272c8bd3..072c2e820395 100644
--- a/graphics/GraphicsMagick/files/patch-Makefile.in
+++ b/graphics/GraphicsMagick/files/patch-Makefile.in
@@ -1,20 +1,89 @@
---- Makefile.in.orig 2008-05-18 17:22:51.000000000 -0400
-+++ Makefile.in 2008-06-06 18:41:23.620488084 -0400
-@@ -1775,7 +1775,7 @@
- MagickLibConfigPath = @MagickLibConfigPath@
- MagickLibPath = @MagickLibPath@
- MagickShareConfigPath = @MagickShareConfigPath@
--MagickSharePath = @MagickSharePath@
-+MagickSharePath = ${DATADIR}
- MogrifyDelegate = @MogrifyDelegate@
- NM = @NM@
- NMEDIT = @NMEDIT@
-@@ -4382,7 +4382,7 @@
- @WITH_PERL_DYNAMIC_FALSE@@WITH_PERL_STATIC_TRUE@@WITH_PERL_TRUE@PERLSTATICNAME = PerlMagick
+--- Makefile.in Fri Mar 18 19:36:21 2005
++++ Makefile.in Sun Jul 24 18:21:35 2005
+@@ -466,5 +466,5 @@
+
+ # Install HTML files
+-pkgdocdir = @MagickSharePath@
++pkgdocdir = ${DATA_DIR}/doc/GraphicsMagick
+ DOCDIRS = images www www/api www/Magick++
+ @WITH_PERL_TRUE@PERLMAGICK = PerlMagick
+@@ -1079,5 +1079,5 @@
+
+ # Install arch-independent package data
+-install-data-local: install-data-html
++install-data-local:
+
+ # Uninstall arch-independent package data
+--- coders/Makefile.in Fri Mar 18 19:36:16 2005
++++ coders/Makefile.in Sun Jul 24 19:22:21 2005
+@@ -1479,5 +1479,5 @@
+ install-pkgLTLIBRARIES: $(pkg_LTLIBRARIES)
+ @$(NORMAL_INSTALL)
+- test -z "$(pkgdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgdir)"
++ test -z "$(pkgdir)" -o -z "$(pkg_LTLIBRARIES)" || $(MKDIR_P) "$(DESTDIR)$(pkgdir)"
+ @list='$(pkg_LTLIBRARIES)'; for p in $$list; do \
+ if test -f $$p; then \
+@@ -1825,5 +1825,5 @@
+ install-pkgDATA: $(pkg_DATA)
+ @$(NORMAL_INSTALL)
+- test -z "$(pkgdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgdir)"
++ test -z "$(pkgdir)" -o -z '$(pkg_DATA)' || $(MKDIR_P) "$(DESTDIR)$(pkgdir)"
+ @list='$(pkg_DATA)'; for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+@@ -1842,5 +1842,5 @@
+ install-pkgdataDATA: $(pkgdata_DATA)
+ @$(NORMAL_INSTALL)
+- test -z "$(pkgdatadir)" || $(MKDIR_P) "$(DESTDIR)$(pkgdatadir)"
++ test -z "$(pkgdatadir)" -o -z '$(pkgdata_DATA)' || $(MKDIR_P) "$(DESTDIR)$(pkgdatadir)"
+ @list='$(pkgdata_DATA)'; for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+--- filters/Makefile.in Fri Mar 18 19:36:17 2005
++++ filters/Makefile.in Sun Jul 24 19:23:33 2005
+@@ -522,5 +522,5 @@
+ install-pkgLTLIBRARIES: $(pkg_LTLIBRARIES)
+ @$(NORMAL_INSTALL)
+- test -z "$(pkgdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgdir)"
++ test -z "$(pkgdir)" -o -z '$(pkg_LTLIBRARIES)' || $(MKDIR_P) "$(DESTDIR)$(pkgdir)"
+ @list='$(pkg_LTLIBRARIES)'; for p in $$list; do \
+ if test -f $$p; then \
+@@ -592,5 +592,5 @@
+ install-pkgDATA: $(pkg_DATA)
+ @$(NORMAL_INSTALL)
+- test -z "$(pkgdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgdir)"
++ test -z "$(pkgdir)" -o -z '$(pkg_DATA)' || $(MKDIR_P) "$(DESTDIR)$(pkgdir)"
+ @list='$(pkg_DATA)'; for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+--- magick/Makefile.in Fri Mar 18 19:36:18 2005
++++ magick/Makefile.in Tue Jul 26 21:05:48 2005
+@@ -664,5 +664,5 @@
+
+ # Pkgconfig directory
+-pkgconfigdir = $(libdir)/pkgconfig
++pkgconfigdir = $(prefix)/libdata/pkgconfig
+
+ # Files to install in Pkgconfig directory
+@@ -930,5 +930,5 @@
+ install-pkgDATA: $(pkg_DATA)
+ @$(NORMAL_INSTALL)
+- test -z "$(pkgdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgdir)"
++ test -z "$(pkgdir)" -o -z '$(pkg_DATA)' || $(MKDIR_P) "$(DESTDIR)$(pkgdir)"
+ @list='$(pkg_DATA)'; for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+--- Magick++/lib/Makefile.in Fri Mar 18 19:36:13 2005
++++ Magick++/lib/Makefile.in Tue Jul 26 21:37:39 2005
+@@ -453,5 +453,5 @@
+
+ # Pkgconfig directory
+-pkgconfigdir = $(libdir)/pkgconfig
++pkgconfigdir = $(prefix)/libdata/pkgconfig
+
+ # Files to install in Pkgconfig directory
+--- wand/Makefile.in Fri Mar 18 19:36:20 2005
++++ wand/Makefile.in Tue Jul 26 21:38:43 2005
+@@ -478,5 +478,5 @@
# Pkgconfig directory
-pkgconfigdir = $(libdir)/pkgconfig
+pkgconfigdir = $(prefix)/libdata/pkgconfig
# Files to install in Pkgconfig directory
- pkgconfig_DATA = \
diff --git a/graphics/GraphicsMagick/files/patch-configure b/graphics/GraphicsMagick/files/patch-configure
new file mode 100644
index 000000000000..af50a04fedad
--- /dev/null
+++ b/graphics/GraphicsMagick/files/patch-configure
@@ -0,0 +1,23 @@
+--- configure Fri Mar 18 19:35:06 2005
++++ configure Tue Jul 26 22:53:50 2005
+@@ -2092,5 +2092,5 @@
+ MagickLibConfigSubDir="${MagickLibSubdir}/config"
+ AC_DEFINE_UNQUOTED(MagickLibConfigSubDir,"$MagickLibConfigSubDir",Subdirectory of lib where architecture-dependent configuration files live.)
+-MagickLibConfigPath="${LIB_DIR}/${MagickLibConfigSubDir}"
++MagickLibConfigPath="${DATA_DIR}/GraphicsMagick/config"
+ MagickLibConfigPathDefine="${MagickLibConfigPath}/"
+ if test "$native_win32_build" = 'yes'
+@@ -2130,5 +2130,5 @@
+ # Path to GraphicsMagick share files
+ MagickShareSubdir="${PACKAGE_NAME}-${PACKAGE_VERSION}"
+-MagickSharePath="${DATA_DIR}/${MagickShareSubdir}"
++MagickSharePath="${DATA_DIR}/GraphicsMagick/"
+ MagickSharePathDefine="${MagickSharePath}/"
+ if test "$native_win32_build" = 'yes'
+@@ -2142,5 +2142,5 @@
+ MagickShareConfigSubDir="${MagickLibSubdir}/config"
+ AC_DEFINE_UNQUOTED(MagickShareConfigSubDir,"$MagickShareConfigSubDir",Subdirectory of lib where architecture-independent configuration files live.)
+-MagickShareConfigPath="${DATA_DIR}/${MagickShareConfigSubDir}"
++MagickShareConfigPath="${MagickLibConfigPath}"
+ MagickShareConfigPathDefine="${MagickShareConfigPath}/"
+ if test "$native_win32_build" = 'yes'
diff --git a/graphics/GraphicsMagick/files/patch-configure.in b/graphics/GraphicsMagick/files/patch-configure.in
deleted file mode 100644
index ed7a7535689b..000000000000
--- a/graphics/GraphicsMagick/files/patch-configure.in
+++ /dev/null
@@ -1,20 +0,0 @@
---- configure.orig 2008-05-18 17:22:52.000000000 -0400
-+++ configure 2008-06-06 18:37:48.269146182 -0400
-@@ -37604,7 +37604,7 @@
- #
-
- # Subdirectory under lib to place GraphicsMagick lib files
--MagickLibSubdir="${PACKAGE_NAME}-${PACKAGE_VERSION}"
-+MagickLibSubdir="${PACKAGE_NAME}"
-
- cat >>confdefs.h <<_ACEOF
- #define MagickLibSubdir "$MagickLibSubdir"
-@@ -37708,7 +37708,7 @@
-
- #
- # Path to GraphicsMagick share files
--MagickShareSubdir="${PACKAGE_NAME}-${PACKAGE_VERSION}"
-+MagickShareSubdir="${PACKAGE_NAME}"
- MagickSharePath="${DATA_DIR}/${MagickShareSubdir}"
- MagickSharePathDefine="${MagickSharePath}/"
- case "${build_os}" in
diff --git a/graphics/GraphicsMagick/files/patch-magick_symbols.h b/graphics/GraphicsMagick/files/patch-magick_symbols.h
new file mode 100644
index 000000000000..8edb9976ad45
--- /dev/null
+++ b/graphics/GraphicsMagick/files/patch-magick_symbols.h
@@ -0,0 +1,19 @@
+--- magick/symbols.h.orig Mon Jul 16 21:55:06 2007
++++ magick/symbols.h Mon Jul 16 21:56:04 2007
+@@ -17,6 +17,8 @@
+ #if !defined(_MAGICK_SYMBOLS_H)
+ #define _MAGICK_SYMBOLS_H
+
++#define GetToken GmGetToken
++
+ #if defined(PREFIX_MAGICK_SYMBOLS)
+ #define AccessDefinition GmAccessDefinition
+ #define AcquireCacheNexus GmAcquireCacheNexus
+@@ -386,7 +388,6 @@
+ #define GetQuantizeInfo GmGetQuantizeInfo
+ #define GetSignatureInfo GmGetSignatureInfo
+ #define GetTimerInfo GmGetTimerInfo
+-#define GetToken GmGetToken
+ #define GetTypeInfo GmGetTypeInfo
+ #define GetTypeInfoByFamily GmGetTypeInfoByFamily
+ #define GetTypeList GmGetTypeList
diff --git a/graphics/GraphicsMagick/files/patch-newfpx b/graphics/GraphicsMagick/files/patch-newfpx
new file mode 100644
index 000000000000..6aa24bf3dacc
--- /dev/null
+++ b/graphics/GraphicsMagick/files/patch-newfpx
@@ -0,0 +1,20 @@
+--- coders/fpx.c 2004-04-14 18:45:28.000000000 -0400
++++ coders/fpx.c 2007-11-01 23:30:18.000000000 -0500
+@@ -182,13 +182,13 @@
+ unsigned int
+ status,
+- subimage;
+-
+- unsigned long
++ subimage,
+ height,
+- memory_limit,
+ tile_width,
+ tile_height,
+ width;
+
++ size_t
++ memory_limit;
++
+ /*
+ Open image.
diff --git a/graphics/GraphicsMagick/pkg-plist b/graphics/GraphicsMagick/pkg-plist
index 0d8558c81e73..bbc3db2b1487 100644
--- a/graphics/GraphicsMagick/pkg-plist
+++ b/graphics/GraphicsMagick/pkg-plist
@@ -19,9 +19,9 @@ include/GraphicsMagick/magick/PreRvIcccm.h
include/GraphicsMagick/magick/api.h
include/GraphicsMagick/magick/attribute.h
include/GraphicsMagick/magick/blob.h
-include/GraphicsMagick/magick/channel.h
+include/GraphicsMagick/magick/cache.h
+include/GraphicsMagick/magick/cache_view.h
include/GraphicsMagick/magick/color.h
-include/GraphicsMagick/magick/colorspace.h
include/GraphicsMagick/magick/command.h
include/GraphicsMagick/magick/composite.h
include/GraphicsMagick/magick/compress.h
@@ -33,7 +33,6 @@ include/GraphicsMagick/magick/draw.h
include/GraphicsMagick/magick/effect.h
include/GraphicsMagick/magick/enhance.h
include/GraphicsMagick/magick/error.h
-include/GraphicsMagick/magick/forward.h
include/GraphicsMagick/magick/fx.h
include/GraphicsMagick/magick/gem.h
include/GraphicsMagick/magick/image.h
@@ -43,13 +42,10 @@ include/GraphicsMagick/magick/magic.h
include/GraphicsMagick/magick/magick.h
include/GraphicsMagick/magick/magick_config.h
include/GraphicsMagick/magick/magick_types.h
-include/GraphicsMagick/magick/memory.h
include/GraphicsMagick/magick/module.h
include/GraphicsMagick/magick/monitor.h
include/GraphicsMagick/magick/montage.h
-include/GraphicsMagick/magick/operator.h
include/GraphicsMagick/magick/paint.h
-include/GraphicsMagick/magick/pixel_cache.h
include/GraphicsMagick/magick/profile.h
include/GraphicsMagick/magick/quantize.h
include/GraphicsMagick/magick/registry.h
@@ -58,6 +54,7 @@ include/GraphicsMagick/magick/resize.h
include/GraphicsMagick/magick/resource.h
include/GraphicsMagick/magick/shear.h
include/GraphicsMagick/magick/signature.h
+include/GraphicsMagick/magick/stream.h
include/GraphicsMagick/magick/symbols.h
include/GraphicsMagick/magick/timer.h
include/GraphicsMagick/magick/transform.h
@@ -69,55 +66,56 @@ include/GraphicsMagick/wand/drawing_wand.h
include/GraphicsMagick/wand/magick_wand.h
include/GraphicsMagick/wand/pixel_wand.h
include/GraphicsMagick/wand/wand_api.h
-lib/GraphicsMagick/config/delegates.mgk
-lib/GraphicsMagick/config/type-ghostscript.mgk
-lib/GraphicsMagick/config/type-solaris.mgk
-lib/GraphicsMagick/config/type-windows.mgk
-lib/GraphicsMagick/config/type.mgk
+%%DATADIR%%/Copyright.txt
+%%DATADIR%%/config/colors.mgk
+%%DATADIR%%/config/delegates.mgk
+%%DATADIR%%/config/log.mgk
+%%DATADIR%%/config/magic.mgk
+%%DATADIR%%/config/modules.mgk
+%%DATADIR%%/config/type-ghostscript.mgk
+%%DATADIR%%/config/type-solaris.mgk
+%%DATADIR%%/config/type-windows.mgk
+%%DATADIR%%/config/type.mgk
lib/libGraphicsMagick++.a
lib/libGraphicsMagick++.la
lib/libGraphicsMagick++.so
-lib/libGraphicsMagick++.so.2
+lib/libGraphicsMagick++.so.1
lib/libGraphicsMagick.a
lib/libGraphicsMagick.la
lib/libGraphicsMagick.so
-lib/libGraphicsMagick.so.2
+lib/libGraphicsMagick.so.1
lib/libGraphicsMagickWand.a
lib/libGraphicsMagickWand.la
lib/libGraphicsMagickWand.so
-lib/libGraphicsMagickWand.so.1
+lib/libGraphicsMagickWand.so.0
libdata/pkgconfig/GraphicsMagick++.pc
libdata/pkgconfig/GraphicsMagick.pc
libdata/pkgconfig/GraphicsMagickWand.pc
-%%DATADIR%%/config/colors.mgk
-%%DATADIR%%/config/log.mgk
-%%DATADIR%%/config/magic.mgk
-%%DATADIR%%/config/modules.mgk
-%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
-%%PORTDOCS%%%%DOCSDIR%%/ChangeLog.2001
-%%PORTDOCS%%%%DOCSDIR%%/ChangeLog.2002
-%%PORTDOCS%%%%DOCSDIR%%/ChangeLog.2003
-%%PORTDOCS%%%%DOCSDIR%%/ChangeLog.2004
-%%PORTDOCS%%%%DOCSDIR%%/ChangeLog.2005
-%%PORTDOCS%%%%DOCSDIR%%/ChangeLog.2006
-%%PORTDOCS%%%%DOCSDIR%%/ChangeLog.2007
-%%PORTDOCS%%%%DOCSDIR%%/Copyright.txt
-%%PORTDOCS%%%%DOCSDIR%%/NEWS.txt
+%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/Graphics/Magick.pm
+%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/Graphics/Magick/.packlist
+%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/Graphics/Magick/Magick.so
+%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/Graphics/Magick/Magick.bs
+%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/Graphics/Magick/autosplit.ix
+@comment lib/GraphicsMagick-%%PORTVERSION%%/modules-%%Q%%/coders
+@comment lib/GraphicsMagick-%%PORTVERSION%%/modules-%%Q%%/filters
%%PORTDOCS%%%%DOCSDIR%%/images/ball.png
+%%PORTDOCS%%%%DOCSDIR%%/images/corbis.png
%%PORTDOCS%%%%DOCSDIR%%/images/examples.jpg
%%PORTDOCS%%%%DOCSDIR%%/images/gm-125x80t.png
%%PORTDOCS%%%%DOCSDIR%%/images/gm-188x120t.png
%%PORTDOCS%%%%DOCSDIR%%/images/gm-282x180t.png
+%%PORTDOCS%%%%DOCSDIR%%/images/home.png
+%%PORTDOCS%%%%DOCSDIR%%/images/mail.png
+%%PORTDOCS%%%%DOCSDIR%%/images/pdfsages.png
+%%PORTDOCS%%%%DOCSDIR%%/images/pngnow.png
%%PORTDOCS%%%%DOCSDIR%%/images/right_triangle.png
%%PORTDOCS%%%%DOCSDIR%%/images/right_triangle_option.png
%%PORTDOCS%%%%DOCSDIR%%/index.html
%%PORTDOCS%%%%DOCSDIR%%/www/AUTHORS.html
-%%PORTDOCS%%%%DOCSDIR%%/www/BENCHMARKS.html
-%%PORTDOCS%%%%DOCSDIR%%/www/BUGS.html
%%PORTDOCS%%%%DOCSDIR%%/www/Changelog.html
%%PORTDOCS%%%%DOCSDIR%%/www/Copyright.html
%%PORTDOCS%%%%DOCSDIR%%/www/FAQ.html
-%%PORTDOCS%%%%DOCSDIR%%/%%WWWDIR%%.html
+%%PORTDOCS%%%%DOCSDIR%%/www/GraphicsMagick.html
%%PORTDOCS%%%%DOCSDIR%%/www/INSTALL-unix.html
%%PORTDOCS%%%%DOCSDIR%%/www/INSTALL-windows.html
%%PORTDOCS%%%%DOCSDIR%%/www/ImageMagickObject.html
@@ -161,7 +159,6 @@ libdata/pkgconfig/GraphicsMagickWand.pc
%%PORTDOCS%%%%DOCSDIR%%/www/Magick++/thumbnail-sample-framed.jpg
%%PORTDOCS%%%%DOCSDIR%%/www/Magick++/thumbnail-sample-plain.jpg
%%PORTDOCS%%%%DOCSDIR%%/www/NEWS.html
-%%PORTDOCS%%%%DOCSDIR%%/www/PLATFORMS.html
%%PORTDOCS%%%%DOCSDIR%%/www/README.html
%%PORTDOCS%%%%DOCSDIR%%/www/animate.html
%%PORTDOCS%%%%DOCSDIR%%/www/api.html
@@ -169,7 +166,8 @@ libdata/pkgconfig/GraphicsMagickWand.pc
%%PORTDOCS%%%%DOCSDIR%%/www/api/annotate.html
%%PORTDOCS%%%%DOCSDIR%%/www/api/attribute.html
%%PORTDOCS%%%%DOCSDIR%%/www/api/blob.html
-%%PORTDOCS%%%%DOCSDIR%%/www/api/channel.html
+%%PORTDOCS%%%%DOCSDIR%%/www/api/cache.html
+%%PORTDOCS%%%%DOCSDIR%%/www/api/cache_view.html
%%PORTDOCS%%%%DOCSDIR%%/www/api/color.html
%%PORTDOCS%%%%DOCSDIR%%/www/api/composite.html
%%PORTDOCS%%%%DOCSDIR%%/www/api/constitute.html
@@ -187,9 +185,7 @@ libdata/pkgconfig/GraphicsMagickWand.pc
%%PORTDOCS%%%%DOCSDIR%%/www/api/memory.html
%%PORTDOCS%%%%DOCSDIR%%/www/api/monitor.html
%%PORTDOCS%%%%DOCSDIR%%/www/api/montage.html
-%%PORTDOCS%%%%DOCSDIR%%/www/api/operator.html
%%PORTDOCS%%%%DOCSDIR%%/www/api/paint.html
-%%PORTDOCS%%%%DOCSDIR%%/www/api/pixel_cache.html
%%PORTDOCS%%%%DOCSDIR%%/www/api/profile.html
%%PORTDOCS%%%%DOCSDIR%%/www/api/quantize.html
%%PORTDOCS%%%%DOCSDIR%%/www/api/registry.html
@@ -199,10 +195,12 @@ libdata/pkgconfig/GraphicsMagickWand.pc
%%PORTDOCS%%%%DOCSDIR%%/www/api/segment.html
%%PORTDOCS%%%%DOCSDIR%%/www/api/shear.html
%%PORTDOCS%%%%DOCSDIR%%/www/api/signature.html
+%%PORTDOCS%%%%DOCSDIR%%/www/api/stream.html
%%PORTDOCS%%%%DOCSDIR%%/www/api/transform.html
%%PORTDOCS%%%%DOCSDIR%%/www/api/types.html
%%PORTDOCS%%%%DOCSDIR%%/www/api/widget.html
%%PORTDOCS%%%%DOCSDIR%%/www/body.html
+%%PORTDOCS%%%%DOCSDIR%%/www/books.html
%%PORTDOCS%%%%DOCSDIR%%/www/color.html
%%PORTDOCS%%%%DOCSDIR%%/www/composite.html
%%PORTDOCS%%%%DOCSDIR%%/www/conjure.html
@@ -218,35 +216,31 @@ libdata/pkgconfig/GraphicsMagickWand.pc
%%PORTDOCS%%%%DOCSDIR%%/www/identify.html
%%PORTDOCS%%%%DOCSDIR%%/www/import.html
%%PORTDOCS%%%%DOCSDIR%%/www/index.html
+%%PORTDOCS%%%%DOCSDIR%%/www/install.html
%%PORTDOCS%%%%DOCSDIR%%/www/links.html
%%PORTDOCS%%%%DOCSDIR%%/www/magick.css
%%PORTDOCS%%%%DOCSDIR%%/www/miff.html
%%PORTDOCS%%%%DOCSDIR%%/www/mission.html
%%PORTDOCS%%%%DOCSDIR%%/www/mogrify.html
%%PORTDOCS%%%%DOCSDIR%%/www/montage.html
-%%PORTDOCS%%%%DOCSDIR%%/www/motion-picture.html
%%PORTDOCS%%%%DOCSDIR%%/www/perl.html
%%PORTDOCS%%%%DOCSDIR%%/www/programming.html
%%PORTDOCS%%%%DOCSDIR%%/www/quantize.html
%%PORTDOCS%%%%DOCSDIR%%/www/smile.c
%%PORTDOCS%%%%DOCSDIR%%/www/tools.html
%%PORTDOCS%%%%DOCSDIR%%/www/utilities.html
+%%PORTDOCS%%%%DOCSDIR%%/www/windows.html
%%PORTDOCS%%@dirrm %%DOCSDIR%%/www/api
%%PORTDOCS%%@dirrm %%DOCSDIR%%/www/Magick++
%%PORTDOCS%%@dirrm %%DOCSDIR%%/www
%%PORTDOCS%%@dirrm %%DOCSDIR%%/images
%%PORTDOCS%%@dirrm %%DOCSDIR%%
+%%WITH_PERL%%@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Graphics/Magick
+%%WITH_PERL%%@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Graphics
+%%WITH_PERL%%@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/Graphics
@dirrm %%DATADIR%%/config
@dirrm %%DATADIR%%
-@dirrmtry libdata/pkgconfig
-@dirrm lib/GraphicsMagick/modules-Q16/filters
-@dirrm lib/GraphicsMagick/modules-Q16/coders
-@dirrm lib/GraphicsMagick/modules-Q16
-@dirrm lib/GraphicsMagick/config
-@dirrm lib/GraphicsMagick
@dirrm include/GraphicsMagick/wand
@dirrm include/GraphicsMagick/magick
@dirrm include/GraphicsMagick/Magick++
@dirrm include/GraphicsMagick
-@exec mkdir -p %D/lib/GraphicsMagick/modules-Q16/filters
-@exec mkdir -p %D/lib/GraphicsMagick/modules-Q16/coders
diff --git a/graphics/GraphicsMagick12/Makefile b/graphics/GraphicsMagick12/Makefile
index b47981dce267..d0e7597b51b4 100644
--- a/graphics/GraphicsMagick12/Makefile
+++ b/graphics/GraphicsMagick12/Makefile
@@ -6,7 +6,8 @@
#
PORTNAME= GraphicsMagick
-PORTVERSION= 1.2.3
+PORTVERSION= 1.1.12
+PORTEPOCH= 1
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
ftp://ftp.graphicsmagick.org/pub/GraphicsMagick/
@@ -19,12 +20,12 @@ LIB_DEPENDS= freetype:${PORTSDIR}/print/freetype2 \
fpx.[2-9]:${PORTSDIR}/graphics/libfpx \
jbig:${PORTSDIR}/graphics/jbigkit \
wmflite:${PORTSDIR}/graphics/libwmf \
- xml2:${PORTSDIR}/textproc/libxml2 \
- ltdl:${PORTSDIR}/devel/libltdl15
+ xml2:${PORTSDIR}/textproc/libxml2
OTHERGRAPHICS= jasper jpeg lcms png tiff
LIB_DEPENDS+= ${OTHERGRAPHICS:C|(.+)|\1:${PORTSDIR}/graphics/\1|}
-OPTIONS= Q8BIT "Use 8-bit pixels (speed) instead of 16 (quality)" off \
- TESTS "Run bundled self-tests after build" on
+OPTIONS= Q8BIT "Use 8-bit pixels (speed) instead of 16 (quality)" off
+
+OPTIONS+= TESTS "Run bundled self-tests after build" on
USE_ICONV= yes
USE_AUTOTOOLS= libtool:15
@@ -46,10 +47,13 @@ WINDOWS_FONT_DIR=${LOCALBASE}/lib/X11/fonts/webfonts
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --without-perl --enable-shared --enable-static \
- --without-threads --with-ltdl-include=${LOCALBASE}/include \
- --with-ltdl-lib=${LOCALBASE}/lib
+ --without-threads
USE_LDCONFIG= yes
+.if defined(WITH_WINDOWS_FONT_DIR)
+CONFIGURE_ARGS+= --with-windows-font-dir="${WINDOWS_FONT_DIR}"
+.endif
+
ALL_TARGET= -j`${SYSCTL} -n hw.ncpu`
.if !defined(NOPORTDOCS)
@@ -63,9 +67,8 @@ test check:
.include <bsd.port.pre.mk>
-.if defined(WITH_WINDOWS_FONT_DIR)
-CONFIGURE_ARGS+= --with-windows-font-dir="${WINDOWS_FONT_DIR}"
-.endif
+# Perl and Tcl APIs will be installed by separate ports
+PLIST_SUB+= WITH_PERL="@comment "
.if defined(WITHOUT_X11)
PKGNAMESUFFIX+= -nox11
diff --git a/graphics/GraphicsMagick12/distinfo b/graphics/GraphicsMagick12/distinfo
index f80d759605e3..d1b64c6d7779 100644
--- a/graphics/GraphicsMagick12/distinfo
+++ b/graphics/GraphicsMagick12/distinfo
@@ -1,3 +1,3 @@
-MD5 (GraphicsMagick-1.2.3.tar.bz2) = 6326520b005f76f6c7eae26409c9dea0
-SHA256 (GraphicsMagick-1.2.3.tar.bz2) = 0fffff1e0aded2f2f3d8c4f13bad8f5c10d54745e5a4ec584bb30f2d003787e4
-SIZE (GraphicsMagick-1.2.3.tar.bz2) = 5507918
+MD5 (GraphicsMagick-1.1.12.tar.bz2) = 07653ae3d22a79786e637202a0532a95
+SHA256 (GraphicsMagick-1.1.12.tar.bz2) = 50e2a96cccad84e7eb5dfa277d3b68055e154f32a8d00d81acd072ba91a1a92e
+SIZE (GraphicsMagick-1.1.12.tar.bz2) = 5034822
diff --git a/graphics/GraphicsMagick12/files/patch-Makefile.in b/graphics/GraphicsMagick12/files/patch-Makefile.in
index 7c5d272c8bd3..072c2e820395 100644
--- a/graphics/GraphicsMagick12/files/patch-Makefile.in
+++ b/graphics/GraphicsMagick12/files/patch-Makefile.in
@@ -1,20 +1,89 @@
---- Makefile.in.orig 2008-05-18 17:22:51.000000000 -0400
-+++ Makefile.in 2008-06-06 18:41:23.620488084 -0400
-@@ -1775,7 +1775,7 @@
- MagickLibConfigPath = @MagickLibConfigPath@
- MagickLibPath = @MagickLibPath@
- MagickShareConfigPath = @MagickShareConfigPath@
--MagickSharePath = @MagickSharePath@
-+MagickSharePath = ${DATADIR}
- MogrifyDelegate = @MogrifyDelegate@
- NM = @NM@
- NMEDIT = @NMEDIT@
-@@ -4382,7 +4382,7 @@
- @WITH_PERL_DYNAMIC_FALSE@@WITH_PERL_STATIC_TRUE@@WITH_PERL_TRUE@PERLSTATICNAME = PerlMagick
+--- Makefile.in Fri Mar 18 19:36:21 2005
++++ Makefile.in Sun Jul 24 18:21:35 2005
+@@ -466,5 +466,5 @@
+
+ # Install HTML files
+-pkgdocdir = @MagickSharePath@
++pkgdocdir = ${DATA_DIR}/doc/GraphicsMagick
+ DOCDIRS = images www www/api www/Magick++
+ @WITH_PERL_TRUE@PERLMAGICK = PerlMagick
+@@ -1079,5 +1079,5 @@
+
+ # Install arch-independent package data
+-install-data-local: install-data-html
++install-data-local:
+
+ # Uninstall arch-independent package data
+--- coders/Makefile.in Fri Mar 18 19:36:16 2005
++++ coders/Makefile.in Sun Jul 24 19:22:21 2005
+@@ -1479,5 +1479,5 @@
+ install-pkgLTLIBRARIES: $(pkg_LTLIBRARIES)
+ @$(NORMAL_INSTALL)
+- test -z "$(pkgdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgdir)"
++ test -z "$(pkgdir)" -o -z "$(pkg_LTLIBRARIES)" || $(MKDIR_P) "$(DESTDIR)$(pkgdir)"
+ @list='$(pkg_LTLIBRARIES)'; for p in $$list; do \
+ if test -f $$p; then \
+@@ -1825,5 +1825,5 @@
+ install-pkgDATA: $(pkg_DATA)
+ @$(NORMAL_INSTALL)
+- test -z "$(pkgdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgdir)"
++ test -z "$(pkgdir)" -o -z '$(pkg_DATA)' || $(MKDIR_P) "$(DESTDIR)$(pkgdir)"
+ @list='$(pkg_DATA)'; for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+@@ -1842,5 +1842,5 @@
+ install-pkgdataDATA: $(pkgdata_DATA)
+ @$(NORMAL_INSTALL)
+- test -z "$(pkgdatadir)" || $(MKDIR_P) "$(DESTDIR)$(pkgdatadir)"
++ test -z "$(pkgdatadir)" -o -z '$(pkgdata_DATA)' || $(MKDIR_P) "$(DESTDIR)$(pkgdatadir)"
+ @list='$(pkgdata_DATA)'; for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+--- filters/Makefile.in Fri Mar 18 19:36:17 2005
++++ filters/Makefile.in Sun Jul 24 19:23:33 2005
+@@ -522,5 +522,5 @@
+ install-pkgLTLIBRARIES: $(pkg_LTLIBRARIES)
+ @$(NORMAL_INSTALL)
+- test -z "$(pkgdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgdir)"
++ test -z "$(pkgdir)" -o -z '$(pkg_LTLIBRARIES)' || $(MKDIR_P) "$(DESTDIR)$(pkgdir)"
+ @list='$(pkg_LTLIBRARIES)'; for p in $$list; do \
+ if test -f $$p; then \
+@@ -592,5 +592,5 @@
+ install-pkgDATA: $(pkg_DATA)
+ @$(NORMAL_INSTALL)
+- test -z "$(pkgdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgdir)"
++ test -z "$(pkgdir)" -o -z '$(pkg_DATA)' || $(MKDIR_P) "$(DESTDIR)$(pkgdir)"
+ @list='$(pkg_DATA)'; for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+--- magick/Makefile.in Fri Mar 18 19:36:18 2005
++++ magick/Makefile.in Tue Jul 26 21:05:48 2005
+@@ -664,5 +664,5 @@
+
+ # Pkgconfig directory
+-pkgconfigdir = $(libdir)/pkgconfig
++pkgconfigdir = $(prefix)/libdata/pkgconfig
+
+ # Files to install in Pkgconfig directory
+@@ -930,5 +930,5 @@
+ install-pkgDATA: $(pkg_DATA)
+ @$(NORMAL_INSTALL)
+- test -z "$(pkgdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgdir)"
++ test -z "$(pkgdir)" -o -z '$(pkg_DATA)' || $(MKDIR_P) "$(DESTDIR)$(pkgdir)"
+ @list='$(pkg_DATA)'; for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+--- Magick++/lib/Makefile.in Fri Mar 18 19:36:13 2005
++++ Magick++/lib/Makefile.in Tue Jul 26 21:37:39 2005
+@@ -453,5 +453,5 @@
+
+ # Pkgconfig directory
+-pkgconfigdir = $(libdir)/pkgconfig
++pkgconfigdir = $(prefix)/libdata/pkgconfig
+
+ # Files to install in Pkgconfig directory
+--- wand/Makefile.in Fri Mar 18 19:36:20 2005
++++ wand/Makefile.in Tue Jul 26 21:38:43 2005
+@@ -478,5 +478,5 @@
# Pkgconfig directory
-pkgconfigdir = $(libdir)/pkgconfig
+pkgconfigdir = $(prefix)/libdata/pkgconfig
# Files to install in Pkgconfig directory
- pkgconfig_DATA = \
diff --git a/graphics/GraphicsMagick12/files/patch-configure b/graphics/GraphicsMagick12/files/patch-configure
new file mode 100644
index 000000000000..af50a04fedad
--- /dev/null
+++ b/graphics/GraphicsMagick12/files/patch-configure
@@ -0,0 +1,23 @@
+--- configure Fri Mar 18 19:35:06 2005
++++ configure Tue Jul 26 22:53:50 2005
+@@ -2092,5 +2092,5 @@
+ MagickLibConfigSubDir="${MagickLibSubdir}/config"
+ AC_DEFINE_UNQUOTED(MagickLibConfigSubDir,"$MagickLibConfigSubDir",Subdirectory of lib where architecture-dependent configuration files live.)
+-MagickLibConfigPath="${LIB_DIR}/${MagickLibConfigSubDir}"
++MagickLibConfigPath="${DATA_DIR}/GraphicsMagick/config"
+ MagickLibConfigPathDefine="${MagickLibConfigPath}/"
+ if test "$native_win32_build" = 'yes'
+@@ -2130,5 +2130,5 @@
+ # Path to GraphicsMagick share files
+ MagickShareSubdir="${PACKAGE_NAME}-${PACKAGE_VERSION}"
+-MagickSharePath="${DATA_DIR}/${MagickShareSubdir}"
++MagickSharePath="${DATA_DIR}/GraphicsMagick/"
+ MagickSharePathDefine="${MagickSharePath}/"
+ if test "$native_win32_build" = 'yes'
+@@ -2142,5 +2142,5 @@
+ MagickShareConfigSubDir="${MagickLibSubdir}/config"
+ AC_DEFINE_UNQUOTED(MagickShareConfigSubDir,"$MagickShareConfigSubDir",Subdirectory of lib where architecture-independent configuration files live.)
+-MagickShareConfigPath="${DATA_DIR}/${MagickShareConfigSubDir}"
++MagickShareConfigPath="${MagickLibConfigPath}"
+ MagickShareConfigPathDefine="${MagickShareConfigPath}/"
+ if test "$native_win32_build" = 'yes'
diff --git a/graphics/GraphicsMagick12/files/patch-configure.in b/graphics/GraphicsMagick12/files/patch-configure.in
deleted file mode 100644
index ed7a7535689b..000000000000
--- a/graphics/GraphicsMagick12/files/patch-configure.in
+++ /dev/null
@@ -1,20 +0,0 @@
---- configure.orig 2008-05-18 17:22:52.000000000 -0400
-+++ configure 2008-06-06 18:37:48.269146182 -0400
-@@ -37604,7 +37604,7 @@
- #
-
- # Subdirectory under lib to place GraphicsMagick lib files
--MagickLibSubdir="${PACKAGE_NAME}-${PACKAGE_VERSION}"
-+MagickLibSubdir="${PACKAGE_NAME}"
-
- cat >>confdefs.h <<_ACEOF
- #define MagickLibSubdir "$MagickLibSubdir"
-@@ -37708,7 +37708,7 @@
-
- #
- # Path to GraphicsMagick share files
--MagickShareSubdir="${PACKAGE_NAME}-${PACKAGE_VERSION}"
-+MagickShareSubdir="${PACKAGE_NAME}"
- MagickSharePath="${DATA_DIR}/${MagickShareSubdir}"
- MagickSharePathDefine="${MagickSharePath}/"
- case "${build_os}" in
diff --git a/graphics/GraphicsMagick12/files/patch-magick_symbols.h b/graphics/GraphicsMagick12/files/patch-magick_symbols.h
new file mode 100644
index 000000000000..8edb9976ad45
--- /dev/null
+++ b/graphics/GraphicsMagick12/files/patch-magick_symbols.h
@@ -0,0 +1,19 @@
+--- magick/symbols.h.orig Mon Jul 16 21:55:06 2007
++++ magick/symbols.h Mon Jul 16 21:56:04 2007
+@@ -17,6 +17,8 @@
+ #if !defined(_MAGICK_SYMBOLS_H)
+ #define _MAGICK_SYMBOLS_H
+
++#define GetToken GmGetToken
++
+ #if defined(PREFIX_MAGICK_SYMBOLS)
+ #define AccessDefinition GmAccessDefinition
+ #define AcquireCacheNexus GmAcquireCacheNexus
+@@ -386,7 +388,6 @@
+ #define GetQuantizeInfo GmGetQuantizeInfo
+ #define GetSignatureInfo GmGetSignatureInfo
+ #define GetTimerInfo GmGetTimerInfo
+-#define GetToken GmGetToken
+ #define GetTypeInfo GmGetTypeInfo
+ #define GetTypeInfoByFamily GmGetTypeInfoByFamily
+ #define GetTypeList GmGetTypeList
diff --git a/graphics/GraphicsMagick12/files/patch-newfpx b/graphics/GraphicsMagick12/files/patch-newfpx
new file mode 100644
index 000000000000..6aa24bf3dacc
--- /dev/null
+++ b/graphics/GraphicsMagick12/files/patch-newfpx
@@ -0,0 +1,20 @@
+--- coders/fpx.c 2004-04-14 18:45:28.000000000 -0400
++++ coders/fpx.c 2007-11-01 23:30:18.000000000 -0500
+@@ -182,13 +182,13 @@
+ unsigned int
+ status,
+- subimage;
+-
+- unsigned long
++ subimage,
+ height,
+- memory_limit,
+ tile_width,
+ tile_height,
+ width;
+
++ size_t
++ memory_limit;
++
+ /*
+ Open image.
diff --git a/graphics/GraphicsMagick12/pkg-plist b/graphics/GraphicsMagick12/pkg-plist
index 0d8558c81e73..bbc3db2b1487 100644
--- a/graphics/GraphicsMagick12/pkg-plist
+++ b/graphics/GraphicsMagick12/pkg-plist
@@ -19,9 +19,9 @@ include/GraphicsMagick/magick/PreRvIcccm.h
include/GraphicsMagick/magick/api.h
include/GraphicsMagick/magick/attribute.h
include/GraphicsMagick/magick/blob.h
-include/GraphicsMagick/magick/channel.h
+include/GraphicsMagick/magick/cache.h
+include/GraphicsMagick/magick/cache_view.h
include/GraphicsMagick/magick/color.h
-include/GraphicsMagick/magick/colorspace.h
include/GraphicsMagick/magick/command.h
include/GraphicsMagick/magick/composite.h
include/GraphicsMagick/magick/compress.h
@@ -33,7 +33,6 @@ include/GraphicsMagick/magick/draw.h
include/GraphicsMagick/magick/effect.h
include/GraphicsMagick/magick/enhance.h
include/GraphicsMagick/magick/error.h
-include/GraphicsMagick/magick/forward.h
include/GraphicsMagick/magick/fx.h
include/GraphicsMagick/magick/gem.h
include/GraphicsMagick/magick/image.h
@@ -43,13 +42,10 @@ include/GraphicsMagick/magick/magic.h
include/GraphicsMagick/magick/magick.h
include/GraphicsMagick/magick/magick_config.h
include/GraphicsMagick/magick/magick_types.h
-include/GraphicsMagick/magick/memory.h
include/GraphicsMagick/magick/module.h
include/GraphicsMagick/magick/monitor.h
include/GraphicsMagick/magick/montage.h
-include/GraphicsMagick/magick/operator.h
include/GraphicsMagick/magick/paint.h
-include/GraphicsMagick/magick/pixel_cache.h
include/GraphicsMagick/magick/profile.h
include/GraphicsMagick/magick/quantize.h
include/GraphicsMagick/magick/registry.h
@@ -58,6 +54,7 @@ include/GraphicsMagick/magick/resize.h
include/GraphicsMagick/magick/resource.h
include/GraphicsMagick/magick/shear.h
include/GraphicsMagick/magick/signature.h
+include/GraphicsMagick/magick/stream.h
include/GraphicsMagick/magick/symbols.h
include/GraphicsMagick/magick/timer.h
include/GraphicsMagick/magick/transform.h
@@ -69,55 +66,56 @@ include/GraphicsMagick/wand/drawing_wand.h
include/GraphicsMagick/wand/magick_wand.h
include/GraphicsMagick/wand/pixel_wand.h
include/GraphicsMagick/wand/wand_api.h
-lib/GraphicsMagick/config/delegates.mgk
-lib/GraphicsMagick/config/type-ghostscript.mgk
-lib/GraphicsMagick/config/type-solaris.mgk
-lib/GraphicsMagick/config/type-windows.mgk
-lib/GraphicsMagick/config/type.mgk
+%%DATADIR%%/Copyright.txt
+%%DATADIR%%/config/colors.mgk
+%%DATADIR%%/config/delegates.mgk
+%%DATADIR%%/config/log.mgk
+%%DATADIR%%/config/magic.mgk
+%%DATADIR%%/config/modules.mgk
+%%DATADIR%%/config/type-ghostscript.mgk
+%%DATADIR%%/config/type-solaris.mgk
+%%DATADIR%%/config/type-windows.mgk
+%%DATADIR%%/config/type.mgk
lib/libGraphicsMagick++.a
lib/libGraphicsMagick++.la
lib/libGraphicsMagick++.so
-lib/libGraphicsMagick++.so.2
+lib/libGraphicsMagick++.so.1
lib/libGraphicsMagick.a
lib/libGraphicsMagick.la
lib/libGraphicsMagick.so
-lib/libGraphicsMagick.so.2
+lib/libGraphicsMagick.so.1
lib/libGraphicsMagickWand.a
lib/libGraphicsMagickWand.la
lib/libGraphicsMagickWand.so
-lib/libGraphicsMagickWand.so.1
+lib/libGraphicsMagickWand.so.0
libdata/pkgconfig/GraphicsMagick++.pc
libdata/pkgconfig/GraphicsMagick.pc
libdata/pkgconfig/GraphicsMagickWand.pc
-%%DATADIR%%/config/colors.mgk
-%%DATADIR%%/config/log.mgk
-%%DATADIR%%/config/magic.mgk
-%%DATADIR%%/config/modules.mgk
-%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
-%%PORTDOCS%%%%DOCSDIR%%/ChangeLog.2001
-%%PORTDOCS%%%%DOCSDIR%%/ChangeLog.2002
-%%PORTDOCS%%%%DOCSDIR%%/ChangeLog.2003
-%%PORTDOCS%%%%DOCSDIR%%/ChangeLog.2004
-%%PORTDOCS%%%%DOCSDIR%%/ChangeLog.2005
-%%PORTDOCS%%%%DOCSDIR%%/ChangeLog.2006
-%%PORTDOCS%%%%DOCSDIR%%/ChangeLog.2007
-%%PORTDOCS%%%%DOCSDIR%%/Copyright.txt
-%%PORTDOCS%%%%DOCSDIR%%/NEWS.txt
+%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/Graphics/Magick.pm
+%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/Graphics/Magick/.packlist
+%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/Graphics/Magick/Magick.so
+%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/Graphics/Magick/Magick.bs
+%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/Graphics/Magick/autosplit.ix
+@comment lib/GraphicsMagick-%%PORTVERSION%%/modules-%%Q%%/coders
+@comment lib/GraphicsMagick-%%PORTVERSION%%/modules-%%Q%%/filters
%%PORTDOCS%%%%DOCSDIR%%/images/ball.png
+%%PORTDOCS%%%%DOCSDIR%%/images/corbis.png
%%PORTDOCS%%%%DOCSDIR%%/images/examples.jpg
%%PORTDOCS%%%%DOCSDIR%%/images/gm-125x80t.png
%%PORTDOCS%%%%DOCSDIR%%/images/gm-188x120t.png
%%PORTDOCS%%%%DOCSDIR%%/images/gm-282x180t.png
+%%PORTDOCS%%%%DOCSDIR%%/images/home.png
+%%PORTDOCS%%%%DOCSDIR%%/images/mail.png
+%%PORTDOCS%%%%DOCSDIR%%/images/pdfsages.png
+%%PORTDOCS%%%%DOCSDIR%%/images/pngnow.png
%%PORTDOCS%%%%DOCSDIR%%/images/right_triangle.png
%%PORTDOCS%%%%DOCSDIR%%/images/right_triangle_option.png
%%PORTDOCS%%%%DOCSDIR%%/index.html
%%PORTDOCS%%%%DOCSDIR%%/www/AUTHORS.html
-%%PORTDOCS%%%%DOCSDIR%%/www/BENCHMARKS.html
-%%PORTDOCS%%%%DOCSDIR%%/www/BUGS.html
%%PORTDOCS%%%%DOCSDIR%%/www/Changelog.html
%%PORTDOCS%%%%DOCSDIR%%/www/Copyright.html
%%PORTDOCS%%%%DOCSDIR%%/www/FAQ.html
-%%PORTDOCS%%%%DOCSDIR%%/%%WWWDIR%%.html
+%%PORTDOCS%%%%DOCSDIR%%/www/GraphicsMagick.html
%%PORTDOCS%%%%DOCSDIR%%/www/INSTALL-unix.html
%%PORTDOCS%%%%DOCSDIR%%/www/INSTALL-windows.html
%%PORTDOCS%%%%DOCSDIR%%/www/ImageMagickObject.html
@@ -161,7 +159,6 @@ libdata/pkgconfig/GraphicsMagickWand.pc
%%PORTDOCS%%%%DOCSDIR%%/www/Magick++/thumbnail-sample-framed.jpg
%%PORTDOCS%%%%DOCSDIR%%/www/Magick++/thumbnail-sample-plain.jpg
%%PORTDOCS%%%%DOCSDIR%%/www/NEWS.html
-%%PORTDOCS%%%%DOCSDIR%%/www/PLATFORMS.html
%%PORTDOCS%%%%DOCSDIR%%/www/README.html
%%PORTDOCS%%%%DOCSDIR%%/www/animate.html
%%PORTDOCS%%%%DOCSDIR%%/www/api.html
@@ -169,7 +166,8 @@ libdata/pkgconfig/GraphicsMagickWand.pc
%%PORTDOCS%%%%DOCSDIR%%/www/api/annotate.html
%%PORTDOCS%%%%DOCSDIR%%/www/api/attribute.html
%%PORTDOCS%%%%DOCSDIR%%/www/api/blob.html
-%%PORTDOCS%%%%DOCSDIR%%/www/api/channel.html
+%%PORTDOCS%%%%DOCSDIR%%/www/api/cache.html
+%%PORTDOCS%%%%DOCSDIR%%/www/api/cache_view.html
%%PORTDOCS%%%%DOCSDIR%%/www/api/color.html
%%PORTDOCS%%%%DOCSDIR%%/www/api/composite.html
%%PORTDOCS%%%%DOCSDIR%%/www/api/constitute.html
@@ -187,9 +185,7 @@ libdata/pkgconfig/GraphicsMagickWand.pc
%%PORTDOCS%%%%DOCSDIR%%/www/api/memory.html
%%PORTDOCS%%%%DOCSDIR%%/www/api/monitor.html
%%PORTDOCS%%%%DOCSDIR%%/www/api/montage.html
-%%PORTDOCS%%%%DOCSDIR%%/www/api/operator.html
%%PORTDOCS%%%%DOCSDIR%%/www/api/paint.html
-%%PORTDOCS%%%%DOCSDIR%%/www/api/pixel_cache.html
%%PORTDOCS%%%%DOCSDIR%%/www/api/profile.html
%%PORTDOCS%%%%DOCSDIR%%/www/api/quantize.html
%%PORTDOCS%%%%DOCSDIR%%/www/api/registry.html
@@ -199,10 +195,12 @@ libdata/pkgconfig/GraphicsMagickWand.pc
%%PORTDOCS%%%%DOCSDIR%%/www/api/segment.html
%%PORTDOCS%%%%DOCSDIR%%/www/api/shear.html
%%PORTDOCS%%%%DOCSDIR%%/www/api/signature.html
+%%PORTDOCS%%%%DOCSDIR%%/www/api/stream.html
%%PORTDOCS%%%%DOCSDIR%%/www/api/transform.html
%%PORTDOCS%%%%DOCSDIR%%/www/api/types.html
%%PORTDOCS%%%%DOCSDIR%%/www/api/widget.html
%%PORTDOCS%%%%DOCSDIR%%/www/body.html
+%%PORTDOCS%%%%DOCSDIR%%/www/books.html
%%PORTDOCS%%%%DOCSDIR%%/www/color.html
%%PORTDOCS%%%%DOCSDIR%%/www/composite.html
%%PORTDOCS%%%%DOCSDIR%%/www/conjure.html
@@ -218,35 +216,31 @@ libdata/pkgconfig/GraphicsMagickWand.pc
%%PORTDOCS%%%%DOCSDIR%%/www/identify.html
%%PORTDOCS%%%%DOCSDIR%%/www/import.html
%%PORTDOCS%%%%DOCSDIR%%/www/index.html
+%%PORTDOCS%%%%DOCSDIR%%/www/install.html
%%PORTDOCS%%%%DOCSDIR%%/www/links.html
%%PORTDOCS%%%%DOCSDIR%%/www/magick.css
%%PORTDOCS%%%%DOCSDIR%%/www/miff.html
%%PORTDOCS%%%%DOCSDIR%%/www/mission.html
%%PORTDOCS%%%%DOCSDIR%%/www/mogrify.html
%%PORTDOCS%%%%DOCSDIR%%/www/montage.html
-%%PORTDOCS%%%%DOCSDIR%%/www/motion-picture.html
%%PORTDOCS%%%%DOCSDIR%%/www/perl.html
%%PORTDOCS%%%%DOCSDIR%%/www/programming.html
%%PORTDOCS%%%%DOCSDIR%%/www/quantize.html
%%PORTDOCS%%%%DOCSDIR%%/www/smile.c
%%PORTDOCS%%%%DOCSDIR%%/www/tools.html
%%PORTDOCS%%%%DOCSDIR%%/www/utilities.html
+%%PORTDOCS%%%%DOCSDIR%%/www/windows.html
%%PORTDOCS%%@dirrm %%DOCSDIR%%/www/api
%%PORTDOCS%%@dirrm %%DOCSDIR%%/www/Magick++
%%PORTDOCS%%@dirrm %%DOCSDIR%%/www
%%PORTDOCS%%@dirrm %%DOCSDIR%%/images
%%PORTDOCS%%@dirrm %%DOCSDIR%%
+%%WITH_PERL%%@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Graphics/Magick
+%%WITH_PERL%%@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Graphics
+%%WITH_PERL%%@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/Graphics
@dirrm %%DATADIR%%/config
@dirrm %%DATADIR%%
-@dirrmtry libdata/pkgconfig
-@dirrm lib/GraphicsMagick/modules-Q16/filters
-@dirrm lib/GraphicsMagick/modules-Q16/coders
-@dirrm lib/GraphicsMagick/modules-Q16
-@dirrm lib/GraphicsMagick/config
-@dirrm lib/GraphicsMagick
@dirrm include/GraphicsMagick/wand
@dirrm include/GraphicsMagick/magick
@dirrm include/GraphicsMagick/Magick++
@dirrm include/GraphicsMagick
-@exec mkdir -p %D/lib/GraphicsMagick/modules-Q16/filters
-@exec mkdir -p %D/lib/GraphicsMagick/modules-Q16/coders
diff --git a/graphics/GraphicsMagick13/Makefile b/graphics/GraphicsMagick13/Makefile
index b47981dce267..d0e7597b51b4 100644
--- a/graphics/GraphicsMagick13/Makefile
+++ b/graphics/GraphicsMagick13/Makefile
@@ -6,7 +6,8 @@
#
PORTNAME= GraphicsMagick
-PORTVERSION= 1.2.3
+PORTVERSION= 1.1.12
+PORTEPOCH= 1
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
ftp://ftp.graphicsmagick.org/pub/GraphicsMagick/
@@ -19,12 +20,12 @@ LIB_DEPENDS= freetype:${PORTSDIR}/print/freetype2 \
fpx.[2-9]:${PORTSDIR}/graphics/libfpx \
jbig:${PORTSDIR}/graphics/jbigkit \
wmflite:${PORTSDIR}/graphics/libwmf \
- xml2:${PORTSDIR}/textproc/libxml2 \
- ltdl:${PORTSDIR}/devel/libltdl15
+ xml2:${PORTSDIR}/textproc/libxml2
OTHERGRAPHICS= jasper jpeg lcms png tiff
LIB_DEPENDS+= ${OTHERGRAPHICS:C|(.+)|\1:${PORTSDIR}/graphics/\1|}
-OPTIONS= Q8BIT "Use 8-bit pixels (speed) instead of 16 (quality)" off \
- TESTS "Run bundled self-tests after build" on
+OPTIONS= Q8BIT "Use 8-bit pixels (speed) instead of 16 (quality)" off
+
+OPTIONS+= TESTS "Run bundled self-tests after build" on
USE_ICONV= yes
USE_AUTOTOOLS= libtool:15
@@ -46,10 +47,13 @@ WINDOWS_FONT_DIR=${LOCALBASE}/lib/X11/fonts/webfonts
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --without-perl --enable-shared --enable-static \
- --without-threads --with-ltdl-include=${LOCALBASE}/include \
- --with-ltdl-lib=${LOCALBASE}/lib
+ --without-threads
USE_LDCONFIG= yes
+.if defined(WITH_WINDOWS_FONT_DIR)
+CONFIGURE_ARGS+= --with-windows-font-dir="${WINDOWS_FONT_DIR}"
+.endif
+
ALL_TARGET= -j`${SYSCTL} -n hw.ncpu`
.if !defined(NOPORTDOCS)
@@ -63,9 +67,8 @@ test check:
.include <bsd.port.pre.mk>
-.if defined(WITH_WINDOWS_FONT_DIR)
-CONFIGURE_ARGS+= --with-windows-font-dir="${WINDOWS_FONT_DIR}"
-.endif
+# Perl and Tcl APIs will be installed by separate ports
+PLIST_SUB+= WITH_PERL="@comment "
.if defined(WITHOUT_X11)
PKGNAMESUFFIX+= -nox11
diff --git a/graphics/GraphicsMagick13/distinfo b/graphics/GraphicsMagick13/distinfo
index f80d759605e3..d1b64c6d7779 100644
--- a/graphics/GraphicsMagick13/distinfo
+++ b/graphics/GraphicsMagick13/distinfo
@@ -1,3 +1,3 @@
-MD5 (GraphicsMagick-1.2.3.tar.bz2) = 6326520b005f76f6c7eae26409c9dea0
-SHA256 (GraphicsMagick-1.2.3.tar.bz2) = 0fffff1e0aded2f2f3d8c4f13bad8f5c10d54745e5a4ec584bb30f2d003787e4
-SIZE (GraphicsMagick-1.2.3.tar.bz2) = 5507918
+MD5 (GraphicsMagick-1.1.12.tar.bz2) = 07653ae3d22a79786e637202a0532a95
+SHA256 (GraphicsMagick-1.1.12.tar.bz2) = 50e2a96cccad84e7eb5dfa277d3b68055e154f32a8d00d81acd072ba91a1a92e
+SIZE (GraphicsMagick-1.1.12.tar.bz2) = 5034822
diff --git a/graphics/GraphicsMagick13/files/patch-Makefile.in b/graphics/GraphicsMagick13/files/patch-Makefile.in
index 7c5d272c8bd3..072c2e820395 100644
--- a/graphics/GraphicsMagick13/files/patch-Makefile.in
+++ b/graphics/GraphicsMagick13/files/patch-Makefile.in
@@ -1,20 +1,89 @@
---- Makefile.in.orig 2008-05-18 17:22:51.000000000 -0400
-+++ Makefile.in 2008-06-06 18:41:23.620488084 -0400
-@@ -1775,7 +1775,7 @@
- MagickLibConfigPath = @MagickLibConfigPath@
- MagickLibPath = @MagickLibPath@
- MagickShareConfigPath = @MagickShareConfigPath@
--MagickSharePath = @MagickSharePath@
-+MagickSharePath = ${DATADIR}
- MogrifyDelegate = @MogrifyDelegate@
- NM = @NM@
- NMEDIT = @NMEDIT@
-@@ -4382,7 +4382,7 @@
- @WITH_PERL_DYNAMIC_FALSE@@WITH_PERL_STATIC_TRUE@@WITH_PERL_TRUE@PERLSTATICNAME = PerlMagick
+--- Makefile.in Fri Mar 18 19:36:21 2005
++++ Makefile.in Sun Jul 24 18:21:35 2005
+@@ -466,5 +466,5 @@
+
+ # Install HTML files
+-pkgdocdir = @MagickSharePath@
++pkgdocdir = ${DATA_DIR}/doc/GraphicsMagick
+ DOCDIRS = images www www/api www/Magick++
+ @WITH_PERL_TRUE@PERLMAGICK = PerlMagick
+@@ -1079,5 +1079,5 @@
+
+ # Install arch-independent package data
+-install-data-local: install-data-html
++install-data-local:
+
+ # Uninstall arch-independent package data
+--- coders/Makefile.in Fri Mar 18 19:36:16 2005
++++ coders/Makefile.in Sun Jul 24 19:22:21 2005
+@@ -1479,5 +1479,5 @@
+ install-pkgLTLIBRARIES: $(pkg_LTLIBRARIES)
+ @$(NORMAL_INSTALL)
+- test -z "$(pkgdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgdir)"
++ test -z "$(pkgdir)" -o -z "$(pkg_LTLIBRARIES)" || $(MKDIR_P) "$(DESTDIR)$(pkgdir)"
+ @list='$(pkg_LTLIBRARIES)'; for p in $$list; do \
+ if test -f $$p; then \
+@@ -1825,5 +1825,5 @@
+ install-pkgDATA: $(pkg_DATA)
+ @$(NORMAL_INSTALL)
+- test -z "$(pkgdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgdir)"
++ test -z "$(pkgdir)" -o -z '$(pkg_DATA)' || $(MKDIR_P) "$(DESTDIR)$(pkgdir)"
+ @list='$(pkg_DATA)'; for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+@@ -1842,5 +1842,5 @@
+ install-pkgdataDATA: $(pkgdata_DATA)
+ @$(NORMAL_INSTALL)
+- test -z "$(pkgdatadir)" || $(MKDIR_P) "$(DESTDIR)$(pkgdatadir)"
++ test -z "$(pkgdatadir)" -o -z '$(pkgdata_DATA)' || $(MKDIR_P) "$(DESTDIR)$(pkgdatadir)"
+ @list='$(pkgdata_DATA)'; for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+--- filters/Makefile.in Fri Mar 18 19:36:17 2005
++++ filters/Makefile.in Sun Jul 24 19:23:33 2005
+@@ -522,5 +522,5 @@
+ install-pkgLTLIBRARIES: $(pkg_LTLIBRARIES)
+ @$(NORMAL_INSTALL)
+- test -z "$(pkgdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgdir)"
++ test -z "$(pkgdir)" -o -z '$(pkg_LTLIBRARIES)' || $(MKDIR_P) "$(DESTDIR)$(pkgdir)"
+ @list='$(pkg_LTLIBRARIES)'; for p in $$list; do \
+ if test -f $$p; then \
+@@ -592,5 +592,5 @@
+ install-pkgDATA: $(pkg_DATA)
+ @$(NORMAL_INSTALL)
+- test -z "$(pkgdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgdir)"
++ test -z "$(pkgdir)" -o -z '$(pkg_DATA)' || $(MKDIR_P) "$(DESTDIR)$(pkgdir)"
+ @list='$(pkg_DATA)'; for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+--- magick/Makefile.in Fri Mar 18 19:36:18 2005
++++ magick/Makefile.in Tue Jul 26 21:05:48 2005
+@@ -664,5 +664,5 @@
+
+ # Pkgconfig directory
+-pkgconfigdir = $(libdir)/pkgconfig
++pkgconfigdir = $(prefix)/libdata/pkgconfig
+
+ # Files to install in Pkgconfig directory
+@@ -930,5 +930,5 @@
+ install-pkgDATA: $(pkg_DATA)
+ @$(NORMAL_INSTALL)
+- test -z "$(pkgdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgdir)"
++ test -z "$(pkgdir)" -o -z '$(pkg_DATA)' || $(MKDIR_P) "$(DESTDIR)$(pkgdir)"
+ @list='$(pkg_DATA)'; for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+--- Magick++/lib/Makefile.in Fri Mar 18 19:36:13 2005
++++ Magick++/lib/Makefile.in Tue Jul 26 21:37:39 2005
+@@ -453,5 +453,5 @@
+
+ # Pkgconfig directory
+-pkgconfigdir = $(libdir)/pkgconfig
++pkgconfigdir = $(prefix)/libdata/pkgconfig
+
+ # Files to install in Pkgconfig directory
+--- wand/Makefile.in Fri Mar 18 19:36:20 2005
++++ wand/Makefile.in Tue Jul 26 21:38:43 2005
+@@ -478,5 +478,5 @@
# Pkgconfig directory
-pkgconfigdir = $(libdir)/pkgconfig
+pkgconfigdir = $(prefix)/libdata/pkgconfig
# Files to install in Pkgconfig directory
- pkgconfig_DATA = \
diff --git a/graphics/GraphicsMagick13/files/patch-configure b/graphics/GraphicsMagick13/files/patch-configure
new file mode 100644
index 000000000000..af50a04fedad
--- /dev/null
+++ b/graphics/GraphicsMagick13/files/patch-configure
@@ -0,0 +1,23 @@
+--- configure Fri Mar 18 19:35:06 2005
++++ configure Tue Jul 26 22:53:50 2005
+@@ -2092,5 +2092,5 @@
+ MagickLibConfigSubDir="${MagickLibSubdir}/config"
+ AC_DEFINE_UNQUOTED(MagickLibConfigSubDir,"$MagickLibConfigSubDir",Subdirectory of lib where architecture-dependent configuration files live.)
+-MagickLibConfigPath="${LIB_DIR}/${MagickLibConfigSubDir}"
++MagickLibConfigPath="${DATA_DIR}/GraphicsMagick/config"
+ MagickLibConfigPathDefine="${MagickLibConfigPath}/"
+ if test "$native_win32_build" = 'yes'
+@@ -2130,5 +2130,5 @@
+ # Path to GraphicsMagick share files
+ MagickShareSubdir="${PACKAGE_NAME}-${PACKAGE_VERSION}"
+-MagickSharePath="${DATA_DIR}/${MagickShareSubdir}"
++MagickSharePath="${DATA_DIR}/GraphicsMagick/"
+ MagickSharePathDefine="${MagickSharePath}/"
+ if test "$native_win32_build" = 'yes'
+@@ -2142,5 +2142,5 @@
+ MagickShareConfigSubDir="${MagickLibSubdir}/config"
+ AC_DEFINE_UNQUOTED(MagickShareConfigSubDir,"$MagickShareConfigSubDir",Subdirectory of lib where architecture-independent configuration files live.)
+-MagickShareConfigPath="${DATA_DIR}/${MagickShareConfigSubDir}"
++MagickShareConfigPath="${MagickLibConfigPath}"
+ MagickShareConfigPathDefine="${MagickShareConfigPath}/"
+ if test "$native_win32_build" = 'yes'
diff --git a/graphics/GraphicsMagick13/files/patch-configure.in b/graphics/GraphicsMagick13/files/patch-configure.in
deleted file mode 100644
index ed7a7535689b..000000000000
--- a/graphics/GraphicsMagick13/files/patch-configure.in
+++ /dev/null
@@ -1,20 +0,0 @@
---- configure.orig 2008-05-18 17:22:52.000000000 -0400
-+++ configure 2008-06-06 18:37:48.269146182 -0400
-@@ -37604,7 +37604,7 @@
- #
-
- # Subdirectory under lib to place GraphicsMagick lib files
--MagickLibSubdir="${PACKAGE_NAME}-${PACKAGE_VERSION}"
-+MagickLibSubdir="${PACKAGE_NAME}"
-
- cat >>confdefs.h <<_ACEOF
- #define MagickLibSubdir "$MagickLibSubdir"
-@@ -37708,7 +37708,7 @@
-
- #
- # Path to GraphicsMagick share files
--MagickShareSubdir="${PACKAGE_NAME}-${PACKAGE_VERSION}"
-+MagickShareSubdir="${PACKAGE_NAME}"
- MagickSharePath="${DATA_DIR}/${MagickShareSubdir}"
- MagickSharePathDefine="${MagickSharePath}/"
- case "${build_os}" in
diff --git a/graphics/GraphicsMagick13/files/patch-magick_symbols.h b/graphics/GraphicsMagick13/files/patch-magick_symbols.h
new file mode 100644
index 000000000000..8edb9976ad45
--- /dev/null
+++ b/graphics/GraphicsMagick13/files/patch-magick_symbols.h
@@ -0,0 +1,19 @@
+--- magick/symbols.h.orig Mon Jul 16 21:55:06 2007
++++ magick/symbols.h Mon Jul 16 21:56:04 2007
+@@ -17,6 +17,8 @@
+ #if !defined(_MAGICK_SYMBOLS_H)
+ #define _MAGICK_SYMBOLS_H
+
++#define GetToken GmGetToken
++
+ #if defined(PREFIX_MAGICK_SYMBOLS)
+ #define AccessDefinition GmAccessDefinition
+ #define AcquireCacheNexus GmAcquireCacheNexus
+@@ -386,7 +388,6 @@
+ #define GetQuantizeInfo GmGetQuantizeInfo
+ #define GetSignatureInfo GmGetSignatureInfo
+ #define GetTimerInfo GmGetTimerInfo
+-#define GetToken GmGetToken
+ #define GetTypeInfo GmGetTypeInfo
+ #define GetTypeInfoByFamily GmGetTypeInfoByFamily
+ #define GetTypeList GmGetTypeList
diff --git a/graphics/GraphicsMagick13/files/patch-newfpx b/graphics/GraphicsMagick13/files/patch-newfpx
new file mode 100644
index 000000000000..6aa24bf3dacc
--- /dev/null
+++ b/graphics/GraphicsMagick13/files/patch-newfpx
@@ -0,0 +1,20 @@
+--- coders/fpx.c 2004-04-14 18:45:28.000000000 -0400
++++ coders/fpx.c 2007-11-01 23:30:18.000000000 -0500
+@@ -182,13 +182,13 @@
+ unsigned int
+ status,
+- subimage;
+-
+- unsigned long
++ subimage,
+ height,
+- memory_limit,
+ tile_width,
+ tile_height,
+ width;
+
++ size_t
++ memory_limit;
++
+ /*
+ Open image.
diff --git a/graphics/GraphicsMagick13/pkg-plist b/graphics/GraphicsMagick13/pkg-plist
index 0d8558c81e73..bbc3db2b1487 100644
--- a/graphics/GraphicsMagick13/pkg-plist
+++ b/graphics/GraphicsMagick13/pkg-plist
@@ -19,9 +19,9 @@ include/GraphicsMagick/magick/PreRvIcccm.h
include/GraphicsMagick/magick/api.h
include/GraphicsMagick/magick/attribute.h
include/GraphicsMagick/magick/blob.h
-include/GraphicsMagick/magick/channel.h
+include/GraphicsMagick/magick/cache.h
+include/GraphicsMagick/magick/cache_view.h
include/GraphicsMagick/magick/color.h
-include/GraphicsMagick/magick/colorspace.h
include/GraphicsMagick/magick/command.h
include/GraphicsMagick/magick/composite.h
include/GraphicsMagick/magick/compress.h
@@ -33,7 +33,6 @@ include/GraphicsMagick/magick/draw.h
include/GraphicsMagick/magick/effect.h
include/GraphicsMagick/magick/enhance.h
include/GraphicsMagick/magick/error.h
-include/GraphicsMagick/magick/forward.h
include/GraphicsMagick/magick/fx.h
include/GraphicsMagick/magick/gem.h
include/GraphicsMagick/magick/image.h
@@ -43,13 +42,10 @@ include/GraphicsMagick/magick/magic.h
include/GraphicsMagick/magick/magick.h
include/GraphicsMagick/magick/magick_config.h
include/GraphicsMagick/magick/magick_types.h
-include/GraphicsMagick/magick/memory.h
include/GraphicsMagick/magick/module.h
include/GraphicsMagick/magick/monitor.h
include/GraphicsMagick/magick/montage.h
-include/GraphicsMagick/magick/operator.h
include/GraphicsMagick/magick/paint.h
-include/GraphicsMagick/magick/pixel_cache.h
include/GraphicsMagick/magick/profile.h
include/GraphicsMagick/magick/quantize.h
include/GraphicsMagick/magick/registry.h
@@ -58,6 +54,7 @@ include/GraphicsMagick/magick/resize.h
include/GraphicsMagick/magick/resource.h
include/GraphicsMagick/magick/shear.h
include/GraphicsMagick/magick/signature.h
+include/GraphicsMagick/magick/stream.h
include/GraphicsMagick/magick/symbols.h
include/GraphicsMagick/magick/timer.h
include/GraphicsMagick/magick/transform.h
@@ -69,55 +66,56 @@ include/GraphicsMagick/wand/drawing_wand.h
include/GraphicsMagick/wand/magick_wand.h
include/GraphicsMagick/wand/pixel_wand.h
include/GraphicsMagick/wand/wand_api.h
-lib/GraphicsMagick/config/delegates.mgk
-lib/GraphicsMagick/config/type-ghostscript.mgk
-lib/GraphicsMagick/config/type-solaris.mgk
-lib/GraphicsMagick/config/type-windows.mgk
-lib/GraphicsMagick/config/type.mgk
+%%DATADIR%%/Copyright.txt
+%%DATADIR%%/config/colors.mgk
+%%DATADIR%%/config/delegates.mgk
+%%DATADIR%%/config/log.mgk
+%%DATADIR%%/config/magic.mgk
+%%DATADIR%%/config/modules.mgk
+%%DATADIR%%/config/type-ghostscript.mgk
+%%DATADIR%%/config/type-solaris.mgk
+%%DATADIR%%/config/type-windows.mgk
+%%DATADIR%%/config/type.mgk
lib/libGraphicsMagick++.a
lib/libGraphicsMagick++.la
lib/libGraphicsMagick++.so
-lib/libGraphicsMagick++.so.2
+lib/libGraphicsMagick++.so.1
lib/libGraphicsMagick.a
lib/libGraphicsMagick.la
lib/libGraphicsMagick.so
-lib/libGraphicsMagick.so.2
+lib/libGraphicsMagick.so.1
lib/libGraphicsMagickWand.a
lib/libGraphicsMagickWand.la
lib/libGraphicsMagickWand.so
-lib/libGraphicsMagickWand.so.1
+lib/libGraphicsMagickWand.so.0
libdata/pkgconfig/GraphicsMagick++.pc
libdata/pkgconfig/GraphicsMagick.pc
libdata/pkgconfig/GraphicsMagickWand.pc
-%%DATADIR%%/config/colors.mgk
-%%DATADIR%%/config/log.mgk
-%%DATADIR%%/config/magic.mgk
-%%DATADIR%%/config/modules.mgk
-%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
-%%PORTDOCS%%%%DOCSDIR%%/ChangeLog.2001
-%%PORTDOCS%%%%DOCSDIR%%/ChangeLog.2002
-%%PORTDOCS%%%%DOCSDIR%%/ChangeLog.2003
-%%PORTDOCS%%%%DOCSDIR%%/ChangeLog.2004
-%%PORTDOCS%%%%DOCSDIR%%/ChangeLog.2005
-%%PORTDOCS%%%%DOCSDIR%%/ChangeLog.2006
-%%PORTDOCS%%%%DOCSDIR%%/ChangeLog.2007
-%%PORTDOCS%%%%DOCSDIR%%/Copyright.txt
-%%PORTDOCS%%%%DOCSDIR%%/NEWS.txt
+%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/Graphics/Magick.pm
+%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/Graphics/Magick/.packlist
+%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/Graphics/Magick/Magick.so
+%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/Graphics/Magick/Magick.bs
+%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/Graphics/Magick/autosplit.ix
+@comment lib/GraphicsMagick-%%PORTVERSION%%/modules-%%Q%%/coders
+@comment lib/GraphicsMagick-%%PORTVERSION%%/modules-%%Q%%/filters
%%PORTDOCS%%%%DOCSDIR%%/images/ball.png
+%%PORTDOCS%%%%DOCSDIR%%/images/corbis.png
%%PORTDOCS%%%%DOCSDIR%%/images/examples.jpg
%%PORTDOCS%%%%DOCSDIR%%/images/gm-125x80t.png
%%PORTDOCS%%%%DOCSDIR%%/images/gm-188x120t.png
%%PORTDOCS%%%%DOCSDIR%%/images/gm-282x180t.png
+%%PORTDOCS%%%%DOCSDIR%%/images/home.png
+%%PORTDOCS%%%%DOCSDIR%%/images/mail.png
+%%PORTDOCS%%%%DOCSDIR%%/images/pdfsages.png
+%%PORTDOCS%%%%DOCSDIR%%/images/pngnow.png
%%PORTDOCS%%%%DOCSDIR%%/images/right_triangle.png
%%PORTDOCS%%%%DOCSDIR%%/images/right_triangle_option.png
%%PORTDOCS%%%%DOCSDIR%%/index.html
%%PORTDOCS%%%%DOCSDIR%%/www/AUTHORS.html
-%%PORTDOCS%%%%DOCSDIR%%/www/BENCHMARKS.html
-%%PORTDOCS%%%%DOCSDIR%%/www/BUGS.html
%%PORTDOCS%%%%DOCSDIR%%/www/Changelog.html
%%PORTDOCS%%%%DOCSDIR%%/www/Copyright.html
%%PORTDOCS%%%%DOCSDIR%%/www/FAQ.html
-%%PORTDOCS%%%%DOCSDIR%%/%%WWWDIR%%.html
+%%PORTDOCS%%%%DOCSDIR%%/www/GraphicsMagick.html
%%PORTDOCS%%%%DOCSDIR%%/www/INSTALL-unix.html
%%PORTDOCS%%%%DOCSDIR%%/www/INSTALL-windows.html
%%PORTDOCS%%%%DOCSDIR%%/www/ImageMagickObject.html
@@ -161,7 +159,6 @@ libdata/pkgconfig/GraphicsMagickWand.pc
%%PORTDOCS%%%%DOCSDIR%%/www/Magick++/thumbnail-sample-framed.jpg
%%PORTDOCS%%%%DOCSDIR%%/www/Magick++/thumbnail-sample-plain.jpg
%%PORTDOCS%%%%DOCSDIR%%/www/NEWS.html
-%%PORTDOCS%%%%DOCSDIR%%/www/PLATFORMS.html
%%PORTDOCS%%%%DOCSDIR%%/www/README.html
%%PORTDOCS%%%%DOCSDIR%%/www/animate.html
%%PORTDOCS%%%%DOCSDIR%%/www/api.html
@@ -169,7 +166,8 @@ libdata/pkgconfig/GraphicsMagickWand.pc
%%PORTDOCS%%%%DOCSDIR%%/www/api/annotate.html
%%PORTDOCS%%%%DOCSDIR%%/www/api/attribute.html
%%PORTDOCS%%%%DOCSDIR%%/www/api/blob.html
-%%PORTDOCS%%%%DOCSDIR%%/www/api/channel.html
+%%PORTDOCS%%%%DOCSDIR%%/www/api/cache.html
+%%PORTDOCS%%%%DOCSDIR%%/www/api/cache_view.html
%%PORTDOCS%%%%DOCSDIR%%/www/api/color.html
%%PORTDOCS%%%%DOCSDIR%%/www/api/composite.html
%%PORTDOCS%%%%DOCSDIR%%/www/api/constitute.html
@@ -187,9 +185,7 @@ libdata/pkgconfig/GraphicsMagickWand.pc
%%PORTDOCS%%%%DOCSDIR%%/www/api/memory.html
%%PORTDOCS%%%%DOCSDIR%%/www/api/monitor.html
%%PORTDOCS%%%%DOCSDIR%%/www/api/montage.html
-%%PORTDOCS%%%%DOCSDIR%%/www/api/operator.html
%%PORTDOCS%%%%DOCSDIR%%/www/api/paint.html
-%%PORTDOCS%%%%DOCSDIR%%/www/api/pixel_cache.html
%%PORTDOCS%%%%DOCSDIR%%/www/api/profile.html
%%PORTDOCS%%%%DOCSDIR%%/www/api/quantize.html
%%PORTDOCS%%%%DOCSDIR%%/www/api/registry.html
@@ -199,10 +195,12 @@ libdata/pkgconfig/GraphicsMagickWand.pc
%%PORTDOCS%%%%DOCSDIR%%/www/api/segment.html
%%PORTDOCS%%%%DOCSDIR%%/www/api/shear.html
%%PORTDOCS%%%%DOCSDIR%%/www/api/signature.html
+%%PORTDOCS%%%%DOCSDIR%%/www/api/stream.html
%%PORTDOCS%%%%DOCSDIR%%/www/api/transform.html
%%PORTDOCS%%%%DOCSDIR%%/www/api/types.html
%%PORTDOCS%%%%DOCSDIR%%/www/api/widget.html
%%PORTDOCS%%%%DOCSDIR%%/www/body.html
+%%PORTDOCS%%%%DOCSDIR%%/www/books.html
%%PORTDOCS%%%%DOCSDIR%%/www/color.html
%%PORTDOCS%%%%DOCSDIR%%/www/composite.html
%%PORTDOCS%%%%DOCSDIR%%/www/conjure.html
@@ -218,35 +216,31 @@ libdata/pkgconfig/GraphicsMagickWand.pc
%%PORTDOCS%%%%DOCSDIR%%/www/identify.html
%%PORTDOCS%%%%DOCSDIR%%/www/import.html
%%PORTDOCS%%%%DOCSDIR%%/www/index.html
+%%PORTDOCS%%%%DOCSDIR%%/www/install.html
%%PORTDOCS%%%%DOCSDIR%%/www/links.html
%%PORTDOCS%%%%DOCSDIR%%/www/magick.css
%%PORTDOCS%%%%DOCSDIR%%/www/miff.html
%%PORTDOCS%%%%DOCSDIR%%/www/mission.html
%%PORTDOCS%%%%DOCSDIR%%/www/mogrify.html
%%PORTDOCS%%%%DOCSDIR%%/www/montage.html
-%%PORTDOCS%%%%DOCSDIR%%/www/motion-picture.html
%%PORTDOCS%%%%DOCSDIR%%/www/perl.html
%%PORTDOCS%%%%DOCSDIR%%/www/programming.html
%%PORTDOCS%%%%DOCSDIR%%/www/quantize.html
%%PORTDOCS%%%%DOCSDIR%%/www/smile.c
%%PORTDOCS%%%%DOCSDIR%%/www/tools.html
%%PORTDOCS%%%%DOCSDIR%%/www/utilities.html
+%%PORTDOCS%%%%DOCSDIR%%/www/windows.html
%%PORTDOCS%%@dirrm %%DOCSDIR%%/www/api
%%PORTDOCS%%@dirrm %%DOCSDIR%%/www/Magick++
%%PORTDOCS%%@dirrm %%DOCSDIR%%/www
%%PORTDOCS%%@dirrm %%DOCSDIR%%/images
%%PORTDOCS%%@dirrm %%DOCSDIR%%
+%%WITH_PERL%%@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Graphics/Magick
+%%WITH_PERL%%@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Graphics
+%%WITH_PERL%%@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/Graphics
@dirrm %%DATADIR%%/config
@dirrm %%DATADIR%%
-@dirrmtry libdata/pkgconfig
-@dirrm lib/GraphicsMagick/modules-Q16/filters
-@dirrm lib/GraphicsMagick/modules-Q16/coders
-@dirrm lib/GraphicsMagick/modules-Q16
-@dirrm lib/GraphicsMagick/config
-@dirrm lib/GraphicsMagick
@dirrm include/GraphicsMagick/wand
@dirrm include/GraphicsMagick/magick
@dirrm include/GraphicsMagick/Magick++
@dirrm include/GraphicsMagick
-@exec mkdir -p %D/lib/GraphicsMagick/modules-Q16/filters
-@exec mkdir -p %D/lib/GraphicsMagick/modules-Q16/coders