All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/imagemagick: SVG support needs host gcc >= 4.9
@ 2022-04-22 22:04 Fabrice Fontaine
  2022-04-25 19:35 ` Arnout Vandecappelle
  2022-05-27  8:05 ` Peter Korsgaard
  0 siblings, 2 replies; 3+ messages in thread
From: Fabrice Fontaine @ 2022-04-22 22:04 UTC (permalink / raw)
  To: buildroot; +Cc: Fabrice Fontaine

SVG support needs host gcc >= 4.9 since bump of harfbuzz to version
3.1.2 in commit 6861933d22006fbe8c961a41506beac826881f33:

In file included from ../src/hb.hh:473:0,
                 from ../src/hb-buffer-serialize.cc:27:
../src/hb-vector.hh:206:20: error: 'is_trivially_copy_assignable' is not a member of 'std'
      hb_enable_if (std::is_trivially_copy_assignable<T>::value)>
                    ^

Fixes:
 - http://autobuild.buildroot.org/results/7b2430c5ae4eed51685ec12bf778c07a0a8b1701

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/imagemagick/Config.in.host | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/package/imagemagick/Config.in.host b/package/imagemagick/Config.in.host
index 671b0995dc..5055101e23 100644
--- a/package/imagemagick/Config.in.host
+++ b/package/imagemagick/Config.in.host
@@ -17,6 +17,7 @@ if BR2_PACKAGE_HOST_IMAGEMAGICK
 config BR2_PACKAGE_HOST_IMAGEMAGICK_SVG
 	bool "SVG support"
 	depends on BR2_PACKAGE_HOST_RUSTC_ARCH_SUPPORTS # host-librsvg
+	depends on BR2_HOST_GCC_AT_LEAST_4_9 # host-pango -> host-harfbuzz
 	help
 	  Say 'y' here is you need ImageMagick tools (like convert)
 	  to support SVG.
@@ -24,4 +25,8 @@ config BR2_PACKAGE_HOST_IMAGEMAGICK_SVG
 	  This is not enabled by default, as it brings quite a few
 	  extra dependencies, and thus extra build time.
 
+comment "SVG support needs host gcc >= 4.9"
+	depends on BR2_PACKAGE_HOST_RUSTC_ARCH_SUPPORTS
+	depends on !BR2_HOST_GCC_AT_LEAST_4_9
+
 endif
-- 
2.35.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [Buildroot] [PATCH 1/1] package/imagemagick: SVG support needs host gcc >= 4.9
  2022-04-22 22:04 [Buildroot] [PATCH 1/1] package/imagemagick: SVG support needs host gcc >= 4.9 Fabrice Fontaine
@ 2022-04-25 19:35 ` Arnout Vandecappelle
  2022-05-27  8:05 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Arnout Vandecappelle @ 2022-04-25 19:35 UTC (permalink / raw)
  To: Fabrice Fontaine, buildroot



On 23/04/2022 00:04, Fabrice Fontaine wrote:
> SVG support needs host gcc >= 4.9 since bump of harfbuzz to version
> 3.1.2 in commit 6861933d22006fbe8c961a41506beac826881f33:
> 
> In file included from ../src/hb.hh:473:0,
>                   from ../src/hb-buffer-serialize.cc:27:
> ../src/hb-vector.hh:206:20: error: 'is_trivially_copy_assignable' is not a member of 'std'
>        hb_enable_if (std::is_trivially_copy_assignable<T>::value)>
>                      ^
> 
> Fixes:
>   - http://autobuild.buildroot.org/results/7b2430c5ae4eed51685ec12bf778c07a0a8b1701
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

  Applied to master, thanks.

  Regards,
  Arnout

> ---
>   package/imagemagick/Config.in.host | 5 +++++
>   1 file changed, 5 insertions(+)
> 
> diff --git a/package/imagemagick/Config.in.host b/package/imagemagick/Config.in.host
> index 671b0995dc..5055101e23 100644
> --- a/package/imagemagick/Config.in.host
> +++ b/package/imagemagick/Config.in.host
> @@ -17,6 +17,7 @@ if BR2_PACKAGE_HOST_IMAGEMAGICK
>   config BR2_PACKAGE_HOST_IMAGEMAGICK_SVG
>   	bool "SVG support"
>   	depends on BR2_PACKAGE_HOST_RUSTC_ARCH_SUPPORTS # host-librsvg
> +	depends on BR2_HOST_GCC_AT_LEAST_4_9 # host-pango -> host-harfbuzz
>   	help
>   	  Say 'y' here is you need ImageMagick tools (like convert)
>   	  to support SVG.
> @@ -24,4 +25,8 @@ config BR2_PACKAGE_HOST_IMAGEMAGICK_SVG
>   	  This is not enabled by default, as it brings quite a few
>   	  extra dependencies, and thus extra build time.
>   
> +comment "SVG support needs host gcc >= 4.9"
> +	depends on BR2_PACKAGE_HOST_RUSTC_ARCH_SUPPORTS
> +	depends on !BR2_HOST_GCC_AT_LEAST_4_9
> +
>   endif
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Buildroot] [PATCH 1/1] package/imagemagick: SVG support needs host gcc >= 4.9
  2022-04-22 22:04 [Buildroot] [PATCH 1/1] package/imagemagick: SVG support needs host gcc >= 4.9 Fabrice Fontaine
  2022-04-25 19:35 ` Arnout Vandecappelle
@ 2022-05-27  8:05 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2022-05-27  8:05 UTC (permalink / raw)
  To: Fabrice Fontaine; +Cc: buildroot

>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:

 > SVG support needs host gcc >= 4.9 since bump of harfbuzz to version
 > 3.1.2 in commit 6861933d22006fbe8c961a41506beac826881f33:

 > In file included from ../src/hb.hh:473:0,
 >                  from ../src/hb-buffer-serialize.cc:27:
 > ../src/hb-vector.hh:206:20: error: 'is_trivially_copy_assignable' is not a member of 'std'
 >       hb_enable_if (std::is_trivially_copy_assignable<T>::value)>
 >                     ^

 > Fixes:
 >  - http://autobuild.buildroot.org/results/7b2430c5ae4eed51685ec12bf778c07a0a8b1701

 > Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Committed to 2022.02.x, thanks.

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-05-27  8:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-22 22:04 [Buildroot] [PATCH 1/1] package/imagemagick: SVG support needs host gcc >= 4.9 Fabrice Fontaine
2022-04-25 19:35 ` Arnout Vandecappelle
2022-05-27  8:05 ` Peter Korsgaard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.