* [Buildroot] [PATCH] package/imagemagick: utilities now need C++ support
@ 2022-11-11 22:40 Thomas Petazzoni via buildroot
2022-11-13 14:12 ` Yann E. MORIN
2022-11-15 13:01 ` Peter Korsgaard
0 siblings, 2 replies; 4+ messages in thread
From: Thomas Petazzoni via buildroot @ 2022-11-11 22:40 UTC (permalink / raw)
To: Buildroot List, Bernd Kuhls; +Cc: Thomas Petazzoni
Since upstream commit
https://github.com/ImageMagick/ImageMagick/commit/07f3b487f9860fd4eb9422f1a906d0fe83b6fd1c
(which first appeared in version 7.1.0-47), ImageMagick forces the
need of a C++ compiler to build its utilities. Despite the request of
Bernd Kuhls to revert this change, upstream declined.
Since this change is causing build failures in our autobuilders, our
only choice is to follow the choice of upstream, and disable building
the utilities when C++ support is not available.
Fixes:
http://autobuild.buildroot.net/results/4283235d697408cf2e70be5e3769dbe6ebb9ddae/
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
---
package/imagemagick/imagemagick.mk | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/package/imagemagick/imagemagick.mk b/package/imagemagick/imagemagick.mk
index 6bdf24c1e8..8a2ec460d5 100644
--- a/package/imagemagick/imagemagick.mk
+++ b/package/imagemagick/imagemagick.mk
@@ -178,6 +178,12 @@ else
IMAGEMAGICK_CONF_OPTS += --without-bzlib
endif
+ifeq ($(BR2_INSTALL_LIBSTDCPP),y)
+IMAGEMAGICK_CONF_OPTS += --with-utilities
+else
+IMAGEMAGICK_CONF_OPTS += --without-utilities
+endif
+
HOST_IMAGEMAGICK_CONF_OPTS = \
--disable-opencl \
--disable-openmp \
--
2.38.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [Buildroot] [PATCH] package/imagemagick: utilities now need C++ support
2022-11-11 22:40 [Buildroot] [PATCH] package/imagemagick: utilities now need C++ support Thomas Petazzoni via buildroot
@ 2022-11-13 14:12 ` Yann E. MORIN
2022-11-15 13:01 ` Peter Korsgaard
1 sibling, 0 replies; 4+ messages in thread
From: Yann E. MORIN @ 2022-11-13 14:12 UTC (permalink / raw)
To: Thomas Petazzoni; +Cc: Bernd Kuhls, Buildroot List
Thomas, All,
On 2022-11-11 23:40 +0100, Thomas Petazzoni via buildroot spake thusly:
> Since upstream commit
> https://github.com/ImageMagick/ImageMagick/commit/07f3b487f9860fd4eb9422f1a906d0fe83b6fd1c
> (which first appeared in version 7.1.0-47), ImageMagick forces the
> need of a C++ compiler to build its utilities. Despite the request of
> Bernd Kuhls to revert this change, upstream declined.
>
> Since this change is causing build failures in our autobuilders, our
> only choice is to follow the choice of upstream, and disable building
> the utilities when C++ support is not available.
>
> Fixes:
>
> http://autobuild.buildroot.net/results/4283235d697408cf2e70be5e3769dbe6ebb9ddae/
>
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Applied to master, thanks.
Regards,
Yann E. MORIN.
> ---
> package/imagemagick/imagemagick.mk | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/package/imagemagick/imagemagick.mk b/package/imagemagick/imagemagick.mk
> index 6bdf24c1e8..8a2ec460d5 100644
> --- a/package/imagemagick/imagemagick.mk
> +++ b/package/imagemagick/imagemagick.mk
> @@ -178,6 +178,12 @@ else
> IMAGEMAGICK_CONF_OPTS += --without-bzlib
> endif
>
> +ifeq ($(BR2_INSTALL_LIBSTDCPP),y)
> +IMAGEMAGICK_CONF_OPTS += --with-utilities
> +else
> +IMAGEMAGICK_CONF_OPTS += --without-utilities
> +endif
> +
> HOST_IMAGEMAGICK_CONF_OPTS = \
> --disable-opencl \
> --disable-openmp \
> --
> 2.38.1
>
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Buildroot] [PATCH] package/imagemagick: utilities now need C++ support
2022-11-11 22:40 [Buildroot] [PATCH] package/imagemagick: utilities now need C++ support Thomas Petazzoni via buildroot
2022-11-13 14:12 ` Yann E. MORIN
@ 2022-11-15 13:01 ` Peter Korsgaard
2022-11-15 13:43 ` Thomas Petazzoni via buildroot
1 sibling, 1 reply; 4+ messages in thread
From: Peter Korsgaard @ 2022-11-15 13:01 UTC (permalink / raw)
To: Thomas Petazzoni via buildroot; +Cc: Bernd Kuhls, Thomas Petazzoni
>>>>> "Thomas" == Thomas Petazzoni via buildroot <buildroot@buildroot.org> writes:
> Since upstream commit
> https://github.com/ImageMagick/ImageMagick/commit/07f3b487f9860fd4eb9422f1a906d0fe83b6fd1c
> (which first appeared in version 7.1.0-47), ImageMagick forces the
> need of a C++ compiler to build its utilities. Despite the request of
> Bernd Kuhls to revert this change, upstream declined.
> Since this change is causing build failures in our autobuilders, our
> only choice is to follow the choice of upstream, and disable building
> the utilities when C++ support is not available.
> Fixes:
> http://autobuild.buildroot.net/results/4283235d697408cf2e70be5e3769dbe6ebb9ddae/
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Committed to 2022.08.x and 2022.02.x, thanks.
Is imagemagick without the utilities useful?
--
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Buildroot] [PATCH] package/imagemagick: utilities now need C++ support
2022-11-15 13:01 ` Peter Korsgaard
@ 2022-11-15 13:43 ` Thomas Petazzoni via buildroot
0 siblings, 0 replies; 4+ messages in thread
From: Thomas Petazzoni via buildroot @ 2022-11-15 13:43 UTC (permalink / raw)
To: Peter Korsgaard; +Cc: Bernd Kuhls, Thomas Petazzoni via buildroot
On Tue, 15 Nov 2022 14:01:03 +0100
Peter Korsgaard <peter@korsgaard.com> wrote:
> Is imagemagick without the utilities useful?
It has a library. Not sure how widely used it is, though. dvdauthor,
libvips, php-imagick have it as a build time dependency, so I suppose
(but didn't check) that they link with the library.
Best regards,
Thomas
--
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-11-15 13:43 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-11 22:40 [Buildroot] [PATCH] package/imagemagick: utilities now need C++ support Thomas Petazzoni via buildroot
2022-11-13 14:12 ` Yann E. MORIN
2022-11-15 13:01 ` Peter Korsgaard
2022-11-15 13:43 ` Thomas Petazzoni via buildroot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox