aboutsummaryrefslogtreecommitdiff
path: root/graphics/GraphicsMagick/files
diff options
context:
space:
mode:
authorMikhail Teterin <mi@FreeBSD.org>2005-07-27 02:09:05 +0000
committerMikhail Teterin <mi@FreeBSD.org>2005-07-27 02:09:05 +0000
commitb3c0bec1c71db1adee030f241441075598894498 (patch)
tree141f31668e8b6d897019c066374d4dd9e97ecfd7 /graphics/GraphicsMagick/files
parent4efba361e649a33052f3704a63a93b5d12dfbc0a (diff)
downloadports-b3c0bec1c71db1adee030f241441075598894498.tar.gz
ports-b3c0bec1c71db1adee030f241441075598894498.zip
A fork of a better-known ImageMagick emphasizing user convenience
and API stability. The port does not build nor install the Perl and Tcl APIs -- these will be added by separate ports. PR: ports/83932 Submitted by: Ron van Daal (maintainer to be)
Notes
Notes: svn path=/head/; revision=140203
Diffstat (limited to 'graphics/GraphicsMagick/files')
-rw-r--r--graphics/GraphicsMagick/files/patch-Makefile.in117
-rw-r--r--graphics/GraphicsMagick/files/patch-freebsd70
-rw-r--r--graphics/GraphicsMagick/files/patch-utility21
-rw-r--r--graphics/GraphicsMagick/files/patch-warnings25
4 files changed, 233 insertions, 0 deletions
diff --git a/graphics/GraphicsMagick/files/patch-Makefile.in b/graphics/GraphicsMagick/files/patch-Makefile.in
new file mode 100644
index 000000000000..356c937c6998
--- /dev/null
+++ b/graphics/GraphicsMagick/files/patch-Makefile.in
@@ -0,0 +1,117 @@
+--- Makefile.in Fri Mar 18 19:36:21 2005
++++ Makefile.in Sun Jul 24 18:21:35 2005
+@@ -100,5 +100,5 @@
+
+ # Architecture independent data files installed in the package's data directory
+-pkgdatadir = @MagickSharePath@
++pkgdatadir = ${DATA_DIR}/GraphicsMagick
+ ACLOCAL = @ACLOCAL@
+ AMDEP_FALSE = @AMDEP_FALSE@
+@@ -301,6 +301,6 @@
+ MagickLibConfigPath = @MagickLibConfigPath@
+ MagickLibPath = @MagickLibPath@
+-MagickShareConfigPath = @MagickShareConfigPath@
+-MagickSharePath = @MagickSharePath@
++MagickShareConfigPath = ${DATADIR}/share/GraphicsMagick/config
++MagickSharePath = ${DATADIR}/share/GraphicsMagick
+ MogrifyDelegate = @MogrifyDelegate@
+ NM = @NM@
+@@ -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; \
+--- config/Makefile.in Fri Mar 18 19:36:16 2005
++++ config/Makefile.in Sun Jul 24 19:25:34 2005
+@@ -274,7 +274,7 @@
+ MagickCoderModulesPath = @MagickCoderModulesPath@
+ MagickFilterModulesPath = @MagickFilterModulesPath@
+-MagickLibConfigPath = @MagickLibConfigPath@
++MagickLibConfigPath = ${DATA_DIR}/GraphicsMagick/config
+ MagickLibPath = @MagickLibPath@
+-MagickShareConfigPath = @MagickShareConfigPath@
++MagickShareConfigPath = ${MagickLibConfigPath}
+ MagickSharePath = @MagickSharePath@
+ MogrifyDelegate = @MogrifyDelegate@
+--- 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
diff --git a/graphics/GraphicsMagick/files/patch-freebsd b/graphics/GraphicsMagick/files/patch-freebsd
new file mode 100644
index 000000000000..4f5c664fbbd5
--- /dev/null
+++ b/graphics/GraphicsMagick/files/patch-freebsd
@@ -0,0 +1,70 @@
+Index: magick/command.c
+===================================================================
+RCS file: /GraphicsMagick/GraphicsMagick/magick/command.c,v
+retrieving revision 1.147.2.8
+retrieving revision 1.147.2.9
+diff -u -r1.147.2.8 -r1.147.2.9
+--- magick/command.c 28 Apr 2005 22:57:28 -0000 1.147.2.8
++++ magick/command.c 16 Jul 2005 01:42:22 -0000 1.147.2.9
+@@ -6525,7 +6525,7 @@
+ }
+ if (resource_database != (XrmDatabase) NULL)
+ {
+- XrmDestroyDatabase(resource_database);
++ /* XrmDestroyDatabase(resource_database); */
+ resource_database=(XrmDatabase) NULL;
+ }
+
+Index: magick/image.c
+===================================================================
+RCS file: /GraphicsMagick/GraphicsMagick/magick/image.c,v
+retrieving revision 1.1207.2.5
+retrieving revision 1.1207.2.6
+diff -u -r1.1207.2.5 -r1.1207.2.6
+--- magick/image.c 1 May 2005 18:43:29 -0000 1.1207.2.5
++++ magick/image.c 16 Jul 2005 01:42:23 -0000 1.1207.2.6
+@@ -2527,7 +2527,7 @@
+ }
+ if (resource_database != (XrmDatabase) NULL)
+ {
+- XrmDestroyDatabase(resource_database);
++ /* XrmDestroyDatabase(resource_database); */
+ resource_database=(XrmDatabase) NULL;
+ }
+ XDestroyResourceInfo(&resource_info);
+Index: magick/nt_base.c
+===================================================================
+RCS file: /GraphicsMagick/GraphicsMagick/magick/nt_base.c,v
+retrieving revision 1.35.2.6
+retrieving revision 1.35.2.7
+diff -u -r1.35.2.6 -r1.35.2.7
+--- magick/nt_base.c 20 Mar 2005 01:39:13 -0000 1.35.2.6
++++ magick/nt_base.c 19 Jun 2005 00:13:29 -0000 1.35.2.7
+@@ -2027,8 +2027,8 @@
+ }
+ entry->firsttime=FALSE;
+ (void) strncpy(entry->file_info.d_name,entry->Win32FindData.cFileName,
+- MaxTextExtent-1);
+- entry->file_info.d_name[MaxTextExtent-1]='\0';
++ sizeof(entry->file_info.d_name)-1);
++ entry->file_info.d_name[sizeof(entry->file_info.d_name)-1]='\0';
+ entry->file_info.d_namlen=strlen(entry->file_info.d_name);
+ return(&entry->file_info);
+ }
+Index: magick/version.h
+===================================================================
+RCS file: /GraphicsMagick/GraphicsMagick/magick/version.h,v
+retrieving revision 1.142.2.43
+retrieving revision 1.142.2.46
+diff -u -r1.142.2.43 -r1.142.2.46
+--- magick/version.h 1 May 2005 20:09:53 -0000 1.142.2.43
++++ magick/version.h 16 Jul 2005 01:42:24 -0000 1.142.2.46
+@@ -38,7 +38,7 @@
+ #define MagickLibVersion 0x010006
+ #define MagickLibVersionText "1.1.6"
+ #define MagickLibVersionNumber 1,0,6
+-#define MagickChangeDate "20050501"
++#define MagickChangeDate "20050715"
+ #define MagickReleaseDate "2005-05-01"
+
+
diff --git a/graphics/GraphicsMagick/files/patch-utility b/graphics/GraphicsMagick/files/patch-utility
new file mode 100644
index 000000000000..6dd5fb61c3d3
--- /dev/null
+++ b/graphics/GraphicsMagick/files/patch-utility
@@ -0,0 +1,21 @@
+--- magick/utility.c Sat Apr 2 17:35:06 2005
++++ magick/utility.c Sun Jul 24 18:22:40 2005
+@@ -47,4 +47,8 @@
+ #include "magick/utility.h"
+
++#if defined(POSIX)
++# include <sys/types.h>
++# include <sys/wait.h>
++#endif
+
+ /*
+@@ -3874,4 +3878,9 @@
+ #if defined(POSIX)
+ status=system(command);
++ if (status == -1)
++ perror(command);
++ else if (WIFSIGNALED(status)) {
++ fprintf(stderr, "Command ``\n%s\n'' terminated due to signal %d\n", command, WTERMSIG(status));
++ }
+ #elif defined(vms)
+ status=!system(command);
diff --git a/graphics/GraphicsMagick/files/patch-warnings b/graphics/GraphicsMagick/files/patch-warnings
new file mode 100644
index 000000000000..f317adbf1116
--- /dev/null
+++ b/graphics/GraphicsMagick/files/patch-warnings
@@ -0,0 +1,25 @@
+--- magick/blob.c Wed Apr 14 18:45:16 2004
++++ magick/blob.c Sun Jul 24 12:30:20 2005
+@@ -2364,5 +2364,5 @@
+ (void) rewind(image->blob->file);
+ (void) LogMagickEvent(BlobEvent,GetMagickModule(),
+- " read %d magic header bytes", count);
++ " read %td magic header bytes", count);
+ #if defined(HasZLIB)
+ if ((magick[0] == 0x1F) && (magick[1] == 0x8B) &&
+--- coders/ept.c Wed Apr 14 18:45:28 2004
++++ coders/ept.c Sun Jul 24 13:33:39 2005
+@@ -584,5 +584,5 @@
+ if (logging)
+ (void) LogMagickEvent(CoderEvent,GetMagickModule(),
+- "Writing EPS section at offset %lld",TellBlob(image));
++ "Writing EPS section at offset %lld", (long long)TellBlob(image));
+ for (c=fgetc(ps_file); c != EOF; c=fgetc(ps_file))
+ (void) WriteBlobByte(image,c);
+@@ -590,5 +590,5 @@
+ if (logging)
+ (void) LogMagickEvent(CoderEvent,GetMagickModule(),
+- "Writing TIFF section at offset %lld",TellBlob(image));
++ "Writing TIFF section at offset %lld", (long long)TellBlob(image));
+ for (c=fgetc(tiff_file); c != EOF; c=fgetc(tiff_file))
+ (void) WriteBlobByte(image,c);