summaryrefslogtreecommitdiff
path: root/data/imagemagick
diff options
context:
space:
mode:
Diffstat (limited to 'data/imagemagick')
-rw-r--r--data/imagemagick/ImageMagick-7.0.8-11.tar.xz (renamed from data/imagemagick/ImageMagick-6.4.3-6.tar.bz2)bin8860808 -> 8638236 bytes
l---------data/imagemagick/_metadata/libfftw3.dep1
-rw-r--r--data/imagemagick/_metadata/version2
l---------data/imagemagick/_metadata/xz.dep1
-rw-r--r--data/imagemagick/make.sh5
-rw-r--r--data/imagemagick/variable.diff108
6 files changed, 114 insertions, 3 deletions
diff --git a/data/imagemagick/ImageMagick-6.4.3-6.tar.bz2 b/data/imagemagick/ImageMagick-7.0.8-11.tar.xz
index 8e3098161..87d69b0bf 100644
--- a/data/imagemagick/ImageMagick-6.4.3-6.tar.bz2
+++ b/data/imagemagick/ImageMagick-7.0.8-11.tar.xz
Binary files differ
diff --git a/data/imagemagick/_metadata/libfftw3.dep b/data/imagemagick/_metadata/libfftw3.dep
new file mode 120000
index 000000000..8fddea995
--- /dev/null
+++ b/data/imagemagick/_metadata/libfftw3.dep
@@ -0,0 +1 @@
+../../libfftw3 \ No newline at end of file
diff --git a/data/imagemagick/_metadata/version b/data/imagemagick/_metadata/version
index 427b0a52d..51b2798d4 100644
--- a/data/imagemagick/_metadata/version
+++ b/data/imagemagick/_metadata/version
@@ -1 +1 @@
-6.4.3-6
+7.0.8-11
diff --git a/data/imagemagick/_metadata/xz.dep b/data/imagemagick/_metadata/xz.dep
new file mode 120000
index 000000000..d5eb7ae54
--- /dev/null
+++ b/data/imagemagick/_metadata/xz.dep
@@ -0,0 +1 @@
+../../xz \ No newline at end of file
diff --git a/data/imagemagick/make.sh b/data/imagemagick/make.sh
index 0430004cb..bc99d98b0 100644
--- a/data/imagemagick/make.sh
+++ b/data/imagemagick/make.sh
@@ -1,4 +1,5 @@
pkg:setup
-pkg:configure --disable-largefile --with-perl=no --with-fontconfig=no --with-x=no
-make
+autoreconf -f -i
+pkg:configure --disable-largefile --with-perl=no --with-fontconfig=no --with-x=no --with-pango=no --without-freetype --with-gs-font-dir=none --with-lcms=no --without-webp
+make -j8
pkg:install
diff --git a/data/imagemagick/variable.diff b/data/imagemagick/variable.diff
new file mode 100644
index 000000000..c115f4035
--- /dev/null
+++ b/data/imagemagick/variable.diff
@@ -0,0 +1,108 @@
+diff -ur ImageMagick-7.0.8-11/MagickCore/magick-baseconfig.h ImageMagick-7.0.8-11+iPhone/MagickCore/magick-baseconfig.h
+--- ImageMagick-7.0.8-11/MagickCore/magick-baseconfig.h 2018-08-28 14:01:38.000000000 -1000
++++ ImageMagick-7.0.8-11+iPhone/MagickCore/magick-baseconfig.h 2018-09-04 13:25:48.000000000 -1000
+@@ -1142,8 +1142,8 @@
+ #endif
+
+ /* Directory where architecture-dependent files live. */
+-#ifndef MAGICKCORE_LIBRARY_PATH
+-#define MAGICKCORE_LIBRARY_PATH "/usr/lib64/ImageMagick-7.0.8/"
++#ifndef MAGICKCORE_MK_LIBRARY_PATH
++#define MAGICKCORE_MK_LIBRARY_PATH "/usr/lib64/ImageMagick-7.0.8/"
+ #endif
+
+ /* Subdirectory of lib where ImageMagick architecture dependent files are
+diff -ur ImageMagick-7.0.8-11/MagickCore/magick-config.h ImageMagick-7.0.8-11+iPhone/MagickCore/magick-config.h
+--- ImageMagick-7.0.8-11/MagickCore/magick-config.h 2018-08-28 14:00:00.000000000 -1000
++++ ImageMagick-7.0.8-11+iPhone/MagickCore/magick-config.h 2018-09-04 13:25:48.000000000 -1000
+@@ -150,7 +150,7 @@
+ #endif
+
+ #ifndef MAGICKCORE_MODULES_PATH
+-# define MAGICKCORE_MODULES_PATH MAGICKCORE_LIBRARY_PATH MAGICKCORE_DIR_SEPARATOR MAGICKCORE_MODULES_DIRNAME
++# define MAGICKCORE_MODULES_PATH MAGICKCORE_MK_LIBRARY_PATH MAGICKCORE_DIR_SEPARATOR MAGICKCORE_MODULES_DIRNAME
+ #endif
+
+ #ifndef MAGICKCORE_MODULES_RELATIVE_PATH
+@@ -189,7 +189,7 @@
+ #endif
+
+ #ifndef MAGICKCORE_SHAREARCH_PATH
+-# define MAGICKCORE_SHAREARCH_PATH MAGICKCORE_LIBRARY_PATH MAGICKCORE_DIR_SEPARATOR MAGICKCORE_SHAREARCH_DIRNAME MAGICKCORE_DIR_SEPARATOR
++# define MAGICKCORE_SHAREARCH_PATH MAGICKCORE_MK_LIBRARY_PATH MAGICKCORE_DIR_SEPARATOR MAGICKCORE_SHAREARCH_DIRNAME MAGICKCORE_DIR_SEPARATOR
+ #endif
+
+ #ifndef MAGICKCORE_SHAREARCH_RELATIVE_PATH
+diff -ur ImageMagick-7.0.8-11/MagickCore/studio.h ImageMagick-7.0.8-11+iPhone/MagickCore/studio.h
+--- ImageMagick-7.0.8-11/MagickCore/studio.h 2018-08-28 14:00:00.000000000 -1000
++++ ImageMagick-7.0.8-11+iPhone/MagickCore/studio.h 2018-09-04 13:25:48.000000000 -1000
+@@ -274,7 +274,7 @@
+ # define Exit exit
+ # define IsBasenameSeparator(c) \
+ (((c) == ']') || ((c) == ':') || ((c) == '/') ? MagickTrue : MagickFalse)
+-# define MAGICKCORE_LIBRARY_PATH "sys$login:"
++# define MAGICKCORE_MK_LIBRARY_PATH "sys$login:"
+ # define MAGICKCORE_SHARE_PATH "sys$login:"
+ # define X11_PREFERENCES_PATH "decw$user_defaults:"
+ # define ProcessPendingEvents(text)
+diff -ur ImageMagick-7.0.8-11/config/config.h.in ImageMagick-7.0.8-11+iPhone/config/config.h.in
+--- ImageMagick-7.0.8-11/config/config.h.in 2018-08-28 14:00:17.000000000 -1000
++++ ImageMagick-7.0.8-11+iPhone/config/config.h.in 2018-09-04 13:27:34.000000000 -1000
+@@ -749,7 +749,7 @@
+ #undef LIBOPENJP2_DELEGATE
+
+ /* Directory where architecture-dependent files live. */
+-#undef LIBRARY_PATH
++#undef MK_LIBRARY_PATH
+
+ /* Subdirectory of lib where ImageMagick architecture dependent files are
+ installed. */
+diff -ur ImageMagick-7.0.8-11/configure.ac ImageMagick-7.0.8-11+iPhone/configure.ac
+--- ImageMagick-7.0.8-11/configure.ac 2018-08-28 14:00:00.000000000 -1000
++++ ImageMagick-7.0.8-11+iPhone/configure.ac 2018-09-04 13:25:48.000000000 -1000
+@@ -2974,15 +2974,15 @@
+ AC_SUBST(EXECUTABLE_PATH)
+
+ # Path to ImageMagick lib
+-LIBRARY_PATH="${LIB_DIR}/${LIBRARY_RELATIVE_PATH}"
++MK_LIBRARY_PATH="${LIB_DIR}/${LIBRARY_RELATIVE_PATH}"
+ DEFINE_LIBRARY_PATH="${LIB_DIR}/${LIBRARY_RELATIVE_PATH}/"
+ case "${build_os}" in
+ mingw* )
+ DEFINE_LIBRARY_PATH=`$WinPathScript "$DEFINE_LIBRARY_PATH" 1`
+ ;;
+ esac
+-AC_DEFINE_UNQUOTED(LIBRARY_PATH,"$DEFINE_LIBRARY_PATH",[Directory where architecture-dependent files live.])
+-AC_SUBST(LIBRARY_PATH)
++AC_DEFINE_UNQUOTED(MK_LIBRARY_PATH,"$DEFINE_LIBRARY_PATH",[Directory where architecture-dependent files live.])
++AC_SUBST(MK_LIBRARY_PATH)
+
+ #
+ # path to local binaries
+@@ -2999,7 +2999,7 @@
+
+ LIB_BIN_DIR_RELATIVE_PATH=$LIB_BIN_DIR
+ AC_SUBST(LIB_BIN_DIR_RELATIVE_PATH)
+-LIB_BIN_DIR_PATH="${LIBRARY_PATH}/${LIB_BIN_DIR_RELATIVE_PATH}"
++LIB_BIN_DIR_PATH="${MK_LIBRARY_PATH}/${LIB_BIN_DIR_RELATIVE_PATH}"
+ AC_SUBST(LIB_BIN_DIR_PATH)
+
+ #
+@@ -3019,7 +3019,7 @@
+
+ MODULES_RELATIVE_PATH="${MODULES_DIRNAME}"
+ AC_SUBST(MODULES_RELATIVE_PATH)
+-MODULES_PATH="${LIBRARY_PATH}/${MODULES_RELATIVE_PATH}"
++MODULES_PATH="${MK_LIBRARY_PATH}/${MODULES_RELATIVE_PATH}"
+ AC_SUBST(MODULES_PATH)
+
+ #
+@@ -3112,7 +3112,7 @@
+
+ SHAREARCH_RELATIVE_PATH="${SHAREARCH_DIRNAME}"
+ AC_SUBST(SHAREARCH_RELATIVE_PATH)
+-SHAREARCH_PATH="${LIBRARY_PATH}/${SHAREARCH_RELATIVE_PATH}"
++SHAREARCH_PATH="${MK_LIBRARY_PATH}/${SHAREARCH_RELATIVE_PATH}"
+ AC_SUBST(SHAREARCH_PATH)
+
+ #