summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/imagemagick/imagemagick_7.1.1-43.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-support/imagemagick/imagemagick_7.1.1-43.bb')
-rw-r--r--meta-oe/recipes-support/imagemagick/imagemagick_7.1.1-43.bb183
1 files changed, 183 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/imagemagick/imagemagick_7.1.1-43.bb b/meta-oe/recipes-support/imagemagick/imagemagick_7.1.1-43.bb
new file mode 100644
index 0000000000..10d2150998
--- /dev/null
+++ b/meta-oe/recipes-support/imagemagick/imagemagick_7.1.1-43.bb
@@ -0,0 +1,183 @@
1SUMMARY = "ImageMagick is an image conversion toolkit"
2SECTION = "console/utils"
3HOMEPAGE = "https://www.imagemagick.org/"
4DESCRIPTION = "ImageMagick is a collection of tools for displaying, converting, and \
5editing raster and vector image files. It can read and write over 200 image file formats."
6LICENSE = "ImageMagick"
7LIC_FILES_CHKSUM = "file://LICENSE;md5=2f9de66264141265b203cde9902819ea \
8 file://NOTICE;md5=bcbf1f1897b40ec8df39700cb560e9ed"
9# FIXME: There are many more checked libraries. All should be added or explicitly disabled to get consistent results.
10DEPENDS = "lcms bzip2 jpeg libpng tiff zlib fftw freetype libtool"
11
12BASE_PV = "${@d.getVar('PV').split('-')[0]}"
13UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>([0-9][\.|_|-]?)+)"
14
15SRC_URI = "git://github.com/ImageMagick/ImageMagick.git;branch=main;protocol=https"
16SRCREV = "a2d96f40e707ba54b57e7d98c3277d3ea6611ace"
17
18
19inherit autotools pkgconfig update-alternatives
20export ac_cv_sys_file_offset_bits = "64"
21
22EXTRA_OECONF = "--program-prefix= --program-suffix=.im7 --without-perl --enable-largefile"
23
24PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)} cxx webp xml"
25PACKAGECONFIG[cxx] = "--with-magick-plus-plus,--without-magick-plus-plus"
26PACKAGECONFIG[graphviz] = "--with-gvc,--without-gvc,graphviz"
27PACKAGECONFIG[jp2] = "--with-jp2,,jasper"
28PACKAGECONFIG[lzma] = "--with-lzma,--without-lzma,xz"
29PACKAGECONFIG[openjpeg] = "--with-openjp2,--without-openjp2,openjpeg"
30PACKAGECONFIG[pango] = "--with-pango,--without-pango,pango cairo"
31PACKAGECONFIG[rsvg] = "--with-rsvg,--without-rsvg,librsvg"
32PACKAGECONFIG[tcmalloc] = "--with-tcmalloc=yes,--with-tcmalloc=no,gperftools"
33PACKAGECONFIG[webp] = "--with-webp,--without-webp,libwebp"
34PACKAGECONFIG[wmf] = "--with-wmf,--without-wmf,libwmf"
35PACKAGECONFIG[x11] = "--with-x,--without-x,virtual/libx11 libxext libxt"
36PACKAGECONFIG[xml] = "--with-xml,--without-xml,libxml2"
37
38do_install:append:class-target() {
39 for file in MagickCore-config.im7 MagickWand-config.im7; do
40 sed -i 's,${STAGING_DIR_TARGET},,g' "${D}${bindir}/$file"
41 done
42
43 if ${@bb.utils.contains('PACKAGECONFIG', 'cxx', 'true', 'false', d)}; then
44 sed -i 's,${STAGING_DIR_TARGET},,g' "${D}${bindir}/Magick++-config.im7"
45 fi
46
47 if ${@bb.utils.contains('PACKAGECONFIG', 'xml', 'true', 'false', d)}; then
48 xml_config="${D}${libdir}/ImageMagick-${BASE_PV}/config-Q16HDRI/configure.xml"
49 sed -i 's,${S},,g' "$xml_config"
50 sed -i 's,${B},,g' "$xml_config"
51 sed -i 's,${RECIPE_SYSROOT},,g' "$xml_config"
52 fi
53
54 if ${@bb.utils.contains_any('PACKAGECONFIG', 'webp openjpeg', 'true', 'false', d)}; then
55 sed -i 's,${HOSTTOOLS_DIR},${bindir},g' "${D}${sysconfdir}/ImageMagick-7/delegates.xml"
56 fi
57}
58
59FILES:${PN} += "${libdir}/ImageMagick-${BASE_PV}/config-Q16* \
60 ${datadir}/ImageMagick-7"
61
62FILES:${PN}-dev += "${libdir}/ImageMagick-${BASE_PV}/modules-Q16/*/*.a"
63
64FILES:${PN}-dbg += "${libdir}/ImageMagick-${BASE_PV}/modules-Q16/*/.debug/*"
65
66BBCLASSEXTEND = "native nativesdk"
67
68ALTERNATIVE_PRIORITY = "100"
69
70ALTERNATIVE:${PN} = "animate compare composite conjure convert display \
71 identify import magick-script mogrify montage stream"
72
73ALTERNATIVE_TARGET[animate] = "${bindir}/animate.im7"
74ALTERNATIVE_TARGET[compare] = "${bindir}/compare.im7"
75ALTERNATIVE_TARGET[composite] = "${bindir}/composite.im7"
76ALTERNATIVE_TARGET[conjure] = "${bindir}/conjure.im7"
77ALTERNATIVE_TARGET[convert] = "${bindir}/convert.im7"
78ALTERNATIVE_TARGET[display] = "${bindir}/display.im7"
79ALTERNATIVE_TARGET[identify] = "${bindir}/identify.im7"
80ALTERNATIVE_TARGET[import] = "${bindir}/import.im7"
81ALTERNATIVE_TARGET[magick-script] = "${bindir}/magick-script.im7"
82ALTERNATIVE_TARGET[mogrify] = "${bindir}/mogrify.im7"
83ALTERNATIVE_TARGET[montage] = "${bindir}/montage.im7"
84ALTERNATIVE_TARGET[stream] = "${bindir}/stream.im7"
85
86ALTERNATIVE:${PN}-doc = "animate.1 compare.1 composite.1 conjure.1 \
87 convert.1 display.1 identify.1 import.1 magick-script.1 mogrify.1 montage.1 stream.1"
88
89ALTERNATIVE_LINK_NAME[animate.1] = "${mandir}/man1/animate.1"
90ALTERNATIVE_TARGET[animate.1] = "${mandir}/man1/animate.im7.1"
91ALTERNATIVE_LINK_NAME[compare.1] = "${mandir}/man1/compare.1"
92ALTERNATIVE_TARGET[compare.1] = "${mandir}/man1/compare.im7.1"
93ALTERNATIVE_LINK_NAME[composite.1] = "${mandir}/man1/composite.1"
94ALTERNATIVE_TARGET[composite.1] = "${mandir}/man1/composite.im7.1"
95ALTERNATIVE_LINK_NAME[conjure.1] = "${mandir}/man1/conjure.1"
96ALTERNATIVE_TARGET[conjure.1] = "${mandir}/man1/conjure.im7.1"
97ALTERNATIVE_LINK_NAME[convert.1] = "${mandir}/man1/convert.1"
98ALTERNATIVE_TARGET[convert.1] = "${mandir}/man1/convert.im7.1"
99ALTERNATIVE_LINK_NAME[display.1] = "${mandir}/man1/display.1"
100ALTERNATIVE_TARGET[display.1] = "${mandir}/man1/display.im7.1"
101ALTERNATIVE_LINK_NAME[identify.1] = "${mandir}/man1/identify.1"
102ALTERNATIVE_TARGET[identify.1] = "${mandir}/man1/identify.im7.1"
103ALTERNATIVE_LINK_NAME[import.1] = "${mandir}/man1/import.1"
104ALTERNATIVE_TARGET[import.1] = "${mandir}/man1/import.im7.1"
105ALTERNATIVE_LINK_NAME[magick-script.1] = "${mandir}/man1/magick-script.1"
106ALTERNATIVE_TARGET[magick-script.1] = "${mandir}/man1/magick-script.im7.1"
107ALTERNATIVE_LINK_NAME[mogrify.1] = "${mandir}/man1/mogrify.1"
108ALTERNATIVE_TARGET[mogrify.1] = "${mandir}/man1/mogrify.im7.1"
109ALTERNATIVE_LINK_NAME[montage.1] = "${mandir}/man1/montage.1"
110ALTERNATIVE_TARGET[montage.1] = "${mandir}/man1/montage.im7.1"
111ALTERNATIVE_LINK_NAME[stream.1] = "${mandir}/man1/stream.1"
112ALTERNATIVE_TARGET[stream.1] = "${mandir}/man1/stream.im7.1"
113
114CVE_STATUS[CVE-2007-1667] = "cpe-incorrect: CVE should not include a CPE for imagemagick"
115CVE_STATUS[CVE-2014-9804] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
116CVE_STATUS[CVE-2014-9805] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
117CVE_STATUS[CVE-2014-9806] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
118CVE_STATUS[CVE-2014-9807] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
119CVE_STATUS[CVE-2014-9808] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
120CVE_STATUS[CVE-2014-9809] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
121CVE_STATUS[CVE-2014-9810] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
122CVE_STATUS[CVE-2014-9811] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
123CVE_STATUS[CVE-2014-9812] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
124CVE_STATUS[CVE-2014-9813] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
125CVE_STATUS[CVE-2014-9814] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
126CVE_STATUS[CVE-2014-9815] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
127CVE_STATUS[CVE-2014-9816] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
128CVE_STATUS[CVE-2014-9817] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
129CVE_STATUS[CVE-2014-9818] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
130CVE_STATUS[CVE-2014-9819] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
131CVE_STATUS[CVE-2014-9820] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
132CVE_STATUS[CVE-2014-9821] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
133CVE_STATUS[CVE-2014-9822] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
134CVE_STATUS[CVE-2014-9823] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
135CVE_STATUS[CVE-2014-9824] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
136CVE_STATUS[CVE-2014-9825] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
137CVE_STATUS[CVE-2014-9826] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
138CVE_STATUS[CVE-2014-9827] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
139CVE_STATUS[CVE-2014-9828] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
140CVE_STATUS[CVE-2014-9829] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
141CVE_STATUS[CVE-2014-9830] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
142CVE_STATUS[CVE-2014-9831] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
143CVE_STATUS[CVE-2014-9848] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
144CVE_STATUS[CVE-2014-9852] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
145CVE_STATUS[CVE-2014-9853] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
146CVE_STATUS[CVE-2014-9854] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
147CVE_STATUS[CVE-2014-9907] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
148CVE_STATUS[CVE-2016-10062] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 7.0.1-10"
149CVE_STATUS[CVE-2016-10144] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.7-1"
150CVE_STATUS[CVE-2016-10145] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.7-1"
151CVE_STATUS[CVE-2016-10146] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.6-8"
152CVE_STATUS[CVE-2016-5118] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 7.0.1-7"
153CVE_STATUS[CVE-2016-7513] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
154CVE_STATUS[CVE-2016-7514] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 7.0.1-0"
155CVE_STATUS[CVE-2016-7515] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
156CVE_STATUS[CVE-2016-7516] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
157CVE_STATUS[CVE-2016-7517] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
158CVE_STATUS[CVE-2016-7518] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
159CVE_STATUS[CVE-2016-7519] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
160CVE_STATUS[CVE-2016-7520] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
161CVE_STATUS[CVE-2016-7521] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
162CVE_STATUS[CVE-2016-7522] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
163CVE_STATUS[CVE-2016-7523] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
164CVE_STATUS[CVE-2016-7524] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
165CVE_STATUS[CVE-2016-7525] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
166CVE_STATUS[CVE-2016-7526] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
167CVE_STATUS[CVE-2016-7527] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
168CVE_STATUS[CVE-2016-7528] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
169CVE_STATUS[CVE-2016-7529] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
170CVE_STATUS[CVE-2016-7530] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
171CVE_STATUS[CVE-2016-7531] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 7.0.1-0"
172CVE_STATUS[CVE-2016-7532] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
173CVE_STATUS[CVE-2016-7533] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
174CVE_STATUS[CVE-2016-7534] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
175CVE_STATUS[CVE-2016-7535] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
176CVE_STATUS[CVE-2016-7536] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
177CVE_STATUS[CVE-2016-7537] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
178CVE_STATUS[CVE-2016-7538] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
179CVE_STATUS[CVE-2017-5506] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 7.0.4-4"
180CVE_STATUS[CVE-2017-5509] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 7.0.4-4"
181CVE_STATUS[CVE-2017-5510] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 7.0.4-4"
182CVE_STATUS[CVE-2017-5511] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 7.0.4-3"
183CVE_STATUS[CVE-2023-5341] = "fixed-version: this is fixed in 7.1.1-19"