summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-oe/recipes-support/imagemagick/imagemagick/do-not-install-magick-baseconfig.h-repeatedly.patch49
-rw-r--r--meta-oe/recipes-support/imagemagick/imagemagick/remove.dist-lzip.patch17
-rw-r--r--meta-oe/recipes-support/imagemagick/imagemagick_6.8.9.bb (renamed from meta-oe/recipes-support/imagemagick/imagemagick_6.8.8.bb)19
3 files changed, 6 insertions, 79 deletions
diff --git a/meta-oe/recipes-support/imagemagick/imagemagick/do-not-install-magick-baseconfig.h-repeatedly.patch b/meta-oe/recipes-support/imagemagick/imagemagick/do-not-install-magick-baseconfig.h-repeatedly.patch
deleted file mode 100644
index 114fb5ed40..0000000000
--- a/meta-oe/recipes-support/imagemagick/imagemagick/do-not-install-magick-baseconfig.h-repeatedly.patch
+++ /dev/null
@@ -1,49 +0,0 @@
1From bbdd42384d0b5f3ccb11465f63d90097579a1897 Mon Sep 17 00:00:00 2001
2From: Konrad Scherer <konrad.scherer@windriver.com>
3Date: Tue, 10 Jun 2014 15:43:16 +0800
4Subject: [PATCH] imagemagick: do not install magick-baseconfig.h repeatedly
5
6Both targets install-data-local & install-includeHEADERS will install
7header file magick-baseconfig.h to the same location, and they might
8be run in the same time while enabling parallel build:
9
10* target dependencies:
11 + install-data-am: ... install-data-local ... install-includeHEADERS
12
13* make install error:
14 /usr/bin/install: cannot create regular file \
15 `.../usr/include/ImageMagick-6/magick/magick-baseconfig.h': \
16 File exists \
17 make[3]: *** [install-magickincarchHEADERS] Error 1
18
19* reproduce the error:
20 $ /usr/bin/install test /tmp & /usr/bin/install test /tmp
21 [1] 4052
22 /usr/bin/install: cannot create regular file `/tmp/test': File exists
23 [1]+ Exit 1 /usr/bin/install test /tmp
24
25Just disable the one from install-data-local to remove this race issue.
26
27Upstream-Status: pending
28
29Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
30---
31 magick/Makefile.am | 2 +-
32 1 file changed, 1 insertion(+), 1 deletion(-)
33
34diff --git a/magick/Makefile.am b/magick/Makefile.am
35index 2f72461..e45466c 100644
36--- a/magick/Makefile.am
37+++ b/magick/Makefile.am
38@@ -468,7 +468,7 @@ MAGICK_EXTRA_DIST = \
39 magick/xwdfile.h_vms
40
41 # Install magick-baseconfig.h
42-MAGICK_INSTALL_DATA_LOCAL_TARGETS = magick-install-data-local
43+MAGICK_INSTALL_DATA_LOCAL_TARGETS =
44 magick-install-data-local:
45 $(mkinstalldirs) $(DESTDIR)$(magickincarchdir)
46 $(INSTALL_HEADER) magick/magick-baseconfig.h $(DESTDIR)$(magickincarchdir)/magick-baseconfig.h
47--
481.8.2.1
49
diff --git a/meta-oe/recipes-support/imagemagick/imagemagick/remove.dist-lzip.patch b/meta-oe/recipes-support/imagemagick/imagemagick/remove.dist-lzip.patch
deleted file mode 100644
index 559aa247d0..0000000000
--- a/meta-oe/recipes-support/imagemagick/imagemagick/remove.dist-lzip.patch
+++ /dev/null
@@ -1,17 +0,0 @@
1Our automake-1.11.2 doesn't support it yet, see:
2http://lists.gnu.org/archive/html/automake/2011-12/msg00081.html
3
4Upstream-Status: Inappropriate [fix or upgrade oe-core automake]
5
6diff -uNr ImageMagick-6.7.5-6.orig/configure.ac ImageMagick-6.7.5-6/configure.ac
7--- ImageMagick-6.7.5-6.orig/configure.ac 2012-02-12 18:07:28.000000000 +0100
8+++ ImageMagick-6.7.5-6/configure.ac 2012-02-15 12:55:47.668813474 +0100
9@@ -128,7 +128,7 @@
10 # Ensure that make can run correctly
11 AM_SANITY_CHECK
12
13-AM_INIT_AUTOMAKE([1.11 color-tests foreign parallel-tests silent-rules subdir-objects dist-bzip2 dist-lzip dist-xz dist-zip])
14+AM_INIT_AUTOMAKE([1.11 color-tests foreign parallel-tests silent-rules subdir-objects dist-bzip2 dist-xz dist-zip])
15
16 # Enable support for silent build rules
17 m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
diff --git a/meta-oe/recipes-support/imagemagick/imagemagick_6.8.8.bb b/meta-oe/recipes-support/imagemagick/imagemagick_6.8.9.bb
index 847ab34932..9b15f62f21 100644
--- a/meta-oe/recipes-support/imagemagick/imagemagick_6.8.8.bb
+++ b/meta-oe/recipes-support/imagemagick/imagemagick_6.8.9.bb
@@ -5,22 +5,21 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=5d84c6ddd4028aa53d028b4c50f9361e"
5# FIXME: There are many more checked libraries. All should be added or explicitly disabled to get consistent results. 5# FIXME: There are many more checked libraries. All should be added or explicitly disabled to get consistent results.
6DEPENDS = "lcms bzip2 jpeg libpng librsvg tiff zlib fftw freetype" 6DEPENDS = "lcms bzip2 jpeg libpng librsvg tiff zlib fftw freetype"
7 7
8PATCHSET = "10" 8PATCHSET = "8"
9SRC_URI = "http://www.imagemagick.org/download/legacy/ImageMagick-${PV}-${PATCHSET}.tar.bz2 \ 9SRC_URI = "http://www.imagemagick.org/download/ImageMagick-${PV}-${PATCHSET}.tar.bz2 \
10 file://remove.dist-lzip.patch \
11 file://do-not-install-magick-baseconfig.h-repeatedly.patch \
12" 10"
13SRC_URI[md5sum] = "a3a0fa301965d6fde68fccd066f62b0b" 11SRC_URI[md5sum] = "7e96f55156d72ce59c76ec93362ec72a"
14SRC_URI[sha256sum] = "8c0982b2bc0c1cea8ac9627b4e1e5d37f8171ef8282ee09aef32529cf68e1820" 12SRC_URI[sha256sum] = "51e0eb0b56e2f16be11c29086a97d474ffd07fe4eb5a9858d8a9c8e9c054c99a"
15 13
16S = "${WORKDIR}/ImageMagick-${PV}-${PATCHSET}" 14S = "${WORKDIR}/ImageMagick-${PV}-${PATCHSET}"
17 15
18inherit autotools binconfig pkgconfig 16inherit autotools pkgconfig
19 17
20# xml disabled because it's using xml2-config --prefix to determine prefix which returns just /usr with our libxml2 18# xml disabled because it's using xml2-config --prefix to determine prefix which returns just /usr with our libxml2
21# if someone needs xml support then fix it first 19# if someone needs xml support then fix it first
22EXTRA_OECONF = "--program-prefix= --program-suffix=.im6 --without-x --without-perl --disable-openmp --without-xml --disable-opencl" 20EXTRA_OECONF = "--program-prefix= --program-suffix=.im6 --without-x --without-perl --disable-openmp --without-xml --disable-opencl"
23 21
22CACHED_CONFIGUREVARS = "ac_cv_sys_file_offset_bits=yes"
24PACKAGECONFIG ??= "" 23PACKAGECONFIG ??= ""
25PACKAGECONFIG[jp2] = "--with-jp2,,jasper" 24PACKAGECONFIG[jp2] = "--with-jp2,,jasper"
26PACKAGECONFIG[lzma] = "--with-lzma,--without-lzma,xz" 25PACKAGECONFIG[lzma] = "--with-lzma,--without-lzma,xz"
@@ -40,9 +39,3 @@ FILES_${PN}-dev += "${libdir}/ImageMagick-${PV}/modules-Q16/*/*.a"
40FILES_${PN}-dbg += "${libdir}/ImageMagick-${PV}/modules-Q16/*/.debug/*" 39FILES_${PN}-dbg += "${libdir}/ImageMagick-${PV}/modules-Q16/*/.debug/*"
41 40
42BBCLASSEXTEND = "native" 41BBCLASSEXTEND = "native"
43
44LEAD_SONAME = "libMagickCore.so.*"
45
46do_configure_prepend() {
47 export ac_cv_sys_file_offset_bits=yes
48}