Skip to contentSkip to conversation

imagemagick: add some PACKAGECONFIG, fix unrecognized --without-jp2 option

PATCH In review Tim Orling 2 participants 3 messages Jul 20, 2014

lore
Share & tools
lore

Tim Orling

author
#0 lore raw

PATCH v2 1/1 imagemagick: add some PACKAGECONFIG, fix unrecognized --without-jp2 option

* Add PACKAGECONFIG for lzma, pango, webp, wmf

Change in v2:
* libwmf is currently blacklisted, so #comment it out

---
 meta-oe/recipes-support/imagemagick/imagemagick_6.8.8.bb | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)
meta-oe/recipes-support/imagemagick/imagemagick_6.8.8.bb +7 -2
index e261eb8..4b52568 100644
@@ -2,7 +2,7 @@ SUMMARY = "ImageMagick is an image convertion tools"
 SECTION = "console/utils"
 LICENSE = "ImageMagick"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=5d84c6ddd4028aa53d028b4c50f9361e"
-# FIXME: There is much more checked libraries. All should be added or explicitly disabled to get consistent results.
+# FIXME: There are many more checked libraries. All should be added or explicitly disabled to get consistent results.
 DEPENDS = "lcms bzip2 jpeg libpng librsvg tiff zlib fftw freetype"
 
 PATCHSET = "10"
@@ -21,7 +21,12 @@ inherit autotools binconfig pkgconfig
 EXTRA_OECONF = "--program-prefix= --program-suffix=.im6 --without-x --without-perl --disable-openmp --without-xml --disable-opencl"
 
 PACKAGECONFIG ??= ""
-PACKAGECONFIG[jp2] = "--with-jp2,--without-jp2,jasper"
+PACKAGECONFIG[jp2] = "--with-jp2,,jasper"
+PACKAGECONFIG[lzma] = "--with-lzma,--without-lzma,xz"
+PACKAGECONFIG[pango] = "--with-pango,--without-pango,pango cairo"
+PACKAGECONFIG[webp] = "--with-webp,--without-webp,libwebp"
+# libwmf is currently blacklisted
+#PACKAGECONFIG[wmf] = "--with-wmf,--without-wmf,libwmf"
 
 FILES_${PN} += "${libdir}/ImageMagick-${PV}/modules-Q16/*/*.so \
                 ${libdir}/ImageMagick-${PV}/modules-Q16/*/*.la \
Signature · 1 line
1.9.3
#1 lore raw
Quoted 4 lines · Tim Orling

* Add PACKAGECONFIG for lzma, pango, webp, wmf

Change in v2:
* libwmf is currently blacklisted, so #comment it out

I like v1 more, because explicitly disable libwmf is better than floating.

Quoted 40 lines
---
 meta-oe/recipes-support/imagemagick/imagemagick_6.8.8.bb | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)
meta-oe/recipes-support/imagemagick/imagemagick_6.8.8.bb +7 -2
index e261eb8..4b52568 100644
@@ -2,7 +2,7 @@ SUMMARY = "ImageMagick is an image convertion tools"
 SECTION = "console/utils"
 LICENSE = "ImageMagick"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=5d84c6ddd4028aa53d028b4c50f9361e"
-# FIXME: There is much more checked libraries. All should be added or explicitly disabled to get consistent results.
+# FIXME: There are many more checked libraries. All should be added or explicitly disabled to get consistent results.
 DEPENDS = "lcms bzip2 jpeg libpng librsvg tiff zlib fftw freetype"
 
 PATCHSET = "10"
@@ -21,7 +21,12 @@ inherit autotools binconfig pkgconfig
 EXTRA_OECONF = "--program-prefix= --program-suffix=.im6 --without-x --without-perl --disable-openmp --without-xml --disable-opencl"
 
 PACKAGECONFIG ??= ""
-PACKAGECONFIG[jp2] = "--with-jp2,--without-jp2,jasper"
+PACKAGECONFIG[jp2] = "--with-jp2,,jasper"
+PACKAGECONFIG[lzma] = "--with-lzma,--without-lzma,xz"
+PACKAGECONFIG[pango] = "--with-pango,--without-pango,pango cairo"
+PACKAGECONFIG[webp] = "--with-webp,--without-webp,libwebp"
+# libwmf is currently blacklisted
+#PACKAGECONFIG[wmf] = "--with-wmf,--without-wmf,libwmf"
 
 FILES_${PN} += "${libdir}/ImageMagick-${PV}/modules-Q16/*/*.so \
                 ${libdir}/ImageMagick-${PV}/modules-Q16/*/*.la \
Signature · 7 lines
1.9.3

-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
author
#2 lore raw
Quoted 10 lines · Martin Jansa
Quoted 4 lines · Tim Orling

* Add PACKAGECONFIG for lzma, pango, webp, wmf

Change in v2:
* libwmf is currently blacklisted, so #comment it out

I like v1 more, because explicitly disable libwmf is better than floating.

Fine with me. I commented out the line during testing because it failed

due to blacklist.
v1 it is :)

Quoted 55 lines

Review

Quoted 6 lines
---
 meta-oe/recipes-support/imagemagick/imagemagick_6.8.8.bb | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)
(quoted diff) +0 -0

b/meta-oe/recipes-support/imagemagick/imagemagick_6.8.8.bb

meta-oe/recipes-support/imagemagick/imagemagick_6.8.8.bb SUMMARY = "ImageMagick is an image convertion tools" · line 5

Quoted 8 lines

index e261eb8..4b52568 100644

meta-oe/recipes-support/imagemagick/imagemagick_6.8.8.bb +0 -1
@@ -2,7 +2,7 @@ SUMMARY = "ImageMagick is an image convertion tools"
 SECTION = "console/utils"
 LICENSE = "ImageMagick"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=5d84c6ddd4028aa53d028b4c50f9361e"
-# FIXME: There is much more checked libraries. All should be added or

explicitly disabled to get consistent results.

meta-oe/recipes-support/imagemagick/imagemagick_6.8.8.bb SUMMARY = "ImageMagick is an image convertion tools" · line 5

Quoted 1 line
meta-oe/recipes-support/imagemagick/imagemagick_6.8.8.bb +1 -0
+# FIXME: There are many more checked libraries. All should be added or

explicitly disabled to get consistent results.

meta-oe/recipes-support/imagemagick/imagemagick_6.8.8.bb inherit autotools binconfig pkgconfig · line 21

Quoted 5 lines
meta-oe/recipes-support/imagemagick/imagemagick_6.8.8.bb +0 -0
 DEPENDS = "lcms bzip2 jpeg libpng librsvg tiff zlib fftw freetype"
 
 PATCHSET = "10"
@@ -21,7 +21,12 @@ inherit autotools binconfig pkgconfig
 EXTRA_OECONF = "--program-prefix= --program-suffix=.im6 --without-x

--without-perl --disable-openmp --without-xml --disable-opencl"

Quoted 15 lines
meta-oe/recipes-support/imagemagick/imagemagick_6.8.8.bb +6 -2
 PACKAGECONFIG ??= ""
-PACKAGECONFIG[jp2] = "--with-jp2,--without-jp2,jasper"
+PACKAGECONFIG[jp2] = "--with-jp2,,jasper"
+PACKAGECONFIG[lzma] = "--with-lzma,--without-lzma,xz"
+PACKAGECONFIG[pango] = "--with-pango,--without-pango,pango cairo"
+PACKAGECONFIG[webp] = "--with-webp,--without-webp,libwebp"
+# libwmf is currently blacklisted
+#PACKAGECONFIG[wmf] = "--with-wmf,--without-wmf,libwmf"
 
 FILES_${PN} += "${libdir}/ImageMagick-${PV}/modules-Q16/*/*.so \
                 ${libdir}/ImageMagick-${PV}/modules-Q16/*/*.la \
--

1.9.3

Quoted 5 lines

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

--
Martin 'JaMa' Jansa jabber: [email protected]

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel