Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/3] package/tiff: add zstd optional dependency
@ 2022-12-29  9:30 Fabrice Fontaine
  2022-12-29  9:30 ` [Buildroot] [PATCH 2/3] package/tiff: add webp " Fabrice Fontaine
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Fabrice Fontaine @ 2022-12-29  9:30 UTC (permalink / raw)
  To: buildroot; +Cc: Fabrice Fontaine

zstd is an optional dependency which is enabled by default since version
4.0.10 and
https://gitlab.com/libtiff/libtiff/-/commit/62b9df5d2af68262fa6fcfb66086bf128f7d67c3

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/tiff/Config.in | 4 ++++
 package/tiff/tiff.mk   | 7 +++++++
 2 files changed, 11 insertions(+)

diff --git a/package/tiff/Config.in b/package/tiff/Config.in
index cc9aa5cfd0..d1004d6668 100644
--- a/package/tiff/Config.in
+++ b/package/tiff/Config.in
@@ -72,4 +72,8 @@ config BR2_PACKAGE_TIFF_UTILITIES
 	help
 	  Install all tiff utilities.
 
+config BR2_PACKAGE_TIFF_ZSTD
+	bool "ZSTD compression"
+	select BR2_PACKAGE_ZSTD
+
 endif
diff --git a/package/tiff/tiff.mk b/package/tiff/tiff.mk
index a753065fde..90b28ff37a 100644
--- a/package/tiff/tiff.mk
+++ b/package/tiff/tiff.mk
@@ -100,5 +100,12 @@ else
 TIFF_CONF_OPTS += --disable-tools
 endif
 
+ifeq ($(BR2_PACKAGE_TIFF_ZSTD),y)
+TIFF_CONF_OPTS += --enable-zstd
+TIFF_DEPENDENCIES += zstd
+else
+TIFF_CONF_OPTS += --disable-zstd
+endif
+
 $(eval $(autotools-package))
 $(eval $(host-autotools-package))
-- 
2.35.1

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

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

* [Buildroot] [PATCH 2/3] package/tiff: add webp optional dependency
  2022-12-29  9:30 [Buildroot] [PATCH 1/3] package/tiff: add zstd optional dependency Fabrice Fontaine
@ 2022-12-29  9:30 ` Fabrice Fontaine
  2022-12-29  9:30 ` [Buildroot] [PATCH 3/3] package/tiff: add C++ support Fabrice Fontaine
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Fabrice Fontaine @ 2022-12-29  9:30 UTC (permalink / raw)
  To: buildroot; +Cc: Fabrice Fontaine

webp is an optional dependency which is enabled by default since version
4.0.10 and
https://gitlab.com/libtiff/libtiff/-/commit/9eacd59fecc4ef593ac17689bc530ab451c8ec14

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/tiff/Config.in | 4 ++++
 package/tiff/tiff.mk   | 7 +++++++
 2 files changed, 11 insertions(+)

diff --git a/package/tiff/Config.in b/package/tiff/Config.in
index d1004d6668..b9e3656e6f 100644
--- a/package/tiff/Config.in
+++ b/package/tiff/Config.in
@@ -72,6 +72,10 @@ config BR2_PACKAGE_TIFF_UTILITIES
 	help
 	  Install all tiff utilities.
 
+config BR2_PACKAGE_TIFF_WEBP
+	bool "WEBP compression"
+	select BR2_PACKAGE_WEBP
+
 config BR2_PACKAGE_TIFF_ZSTD
 	bool "ZSTD compression"
 	select BR2_PACKAGE_ZSTD
diff --git a/package/tiff/tiff.mk b/package/tiff/tiff.mk
index 90b28ff37a..6d761ad678 100644
--- a/package/tiff/tiff.mk
+++ b/package/tiff/tiff.mk
@@ -100,6 +100,13 @@ else
 TIFF_CONF_OPTS += --disable-tools
 endif
 
+ifeq ($(BR2_PACKAGE_TIFF_WEBP),y)
+TIFF_CONF_OPTS += --enable-webp
+TIFF_DEPENDENCIES += webp
+else
+TIFF_CONF_OPTS += --disable-webp
+endif
+
 ifeq ($(BR2_PACKAGE_TIFF_ZSTD),y)
 TIFF_CONF_OPTS += --enable-zstd
 TIFF_DEPENDENCIES += zstd
-- 
2.35.1

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

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

* [Buildroot] [PATCH 3/3] package/tiff: add C++ support
  2022-12-29  9:30 [Buildroot] [PATCH 1/3] package/tiff: add zstd optional dependency Fabrice Fontaine
  2022-12-29  9:30 ` [Buildroot] [PATCH 2/3] package/tiff: add webp " Fabrice Fontaine
@ 2022-12-29  9:30 ` Fabrice Fontaine
  2022-12-29  9:35 ` [Buildroot] [PATCH 1/3] package/tiff: add zstd optional dependency Thomas Petazzoni via buildroot
  2023-01-03 21:09 ` Peter Korsgaard
  3 siblings, 0 replies; 5+ messages in thread
From: Fabrice Fontaine @ 2022-12-29  9:30 UTC (permalink / raw)
  To: buildroot; +Cc: Fabrice Fontaine

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/tiff/tiff.mk | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/package/tiff/tiff.mk b/package/tiff/tiff.mk
index 6d761ad678..c2a4108f35 100644
--- a/package/tiff/tiff.mk
+++ b/package/tiff/tiff.mk
@@ -14,7 +14,6 @@ TIFF_INSTALL_STAGING = YES
 
 TIFF_CONF_OPTS = \
 	--disable-contrib \
-	--disable-cxx \
 	--disable-tests \
 	--without-x
 
@@ -29,6 +28,12 @@ HOST_TIFF_CONF_OPTS = \
 	--disable-tests
 HOST_TIFF_DEPENDENCIES = host-pkgconf
 
+ifeq ($(BR2_INSTALL_LIBSTDCPP),y)
+TIFF_CONF_OPTS += --enable-cxx
+else
+TIFF_CONF_OPTS += --disable-cxx
+endif
+
 ifneq ($(BR2_PACKAGE_TIFF_CCITT),y)
 TIFF_CONF_OPTS += --disable-ccitt
 endif
-- 
2.35.1

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

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

* Re: [Buildroot] [PATCH 1/3] package/tiff: add zstd optional dependency
  2022-12-29  9:30 [Buildroot] [PATCH 1/3] package/tiff: add zstd optional dependency Fabrice Fontaine
  2022-12-29  9:30 ` [Buildroot] [PATCH 2/3] package/tiff: add webp " Fabrice Fontaine
  2022-12-29  9:30 ` [Buildroot] [PATCH 3/3] package/tiff: add C++ support Fabrice Fontaine
@ 2022-12-29  9:35 ` Thomas Petazzoni via buildroot
  2023-01-03 21:09 ` Peter Korsgaard
  3 siblings, 0 replies; 5+ messages in thread
From: Thomas Petazzoni via buildroot @ 2022-12-29  9:35 UTC (permalink / raw)
  To: Fabrice Fontaine; +Cc: buildroot

On Thu, 29 Dec 2022 10:30:27 +0100
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:

> zstd is an optional dependency which is enabled by default since version
> 4.0.10 and
> https://gitlab.com/libtiff/libtiff/-/commit/62b9df5d2af68262fa6fcfb66086bf128f7d67c3
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
>  package/tiff/Config.in | 4 ++++
>  package/tiff/tiff.mk   | 7 +++++++
>  2 files changed, 11 insertions(+)

Series applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH 1/3] package/tiff: add zstd optional dependency
  2022-12-29  9:30 [Buildroot] [PATCH 1/3] package/tiff: add zstd optional dependency Fabrice Fontaine
                   ` (2 preceding siblings ...)
  2022-12-29  9:35 ` [Buildroot] [PATCH 1/3] package/tiff: add zstd optional dependency Thomas Petazzoni via buildroot
@ 2023-01-03 21:09 ` Peter Korsgaard
  3 siblings, 0 replies; 5+ messages in thread
From: Peter Korsgaard @ 2023-01-03 21:09 UTC (permalink / raw)
  To: Fabrice Fontaine; +Cc: buildroot

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

 > zstd is an optional dependency which is enabled by default since version
 > 4.0.10 and
 > https://gitlab.com/libtiff/libtiff/-/commit/62b9df5d2af68262fa6fcfb66086bf128f7d67c3

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

Committed to 2022.11.x and 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] 5+ messages in thread

end of thread, other threads:[~2023-01-03 21:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-29  9:30 [Buildroot] [PATCH 1/3] package/tiff: add zstd optional dependency Fabrice Fontaine
2022-12-29  9:30 ` [Buildroot] [PATCH 2/3] package/tiff: add webp " Fabrice Fontaine
2022-12-29  9:30 ` [Buildroot] [PATCH 3/3] package/tiff: add C++ support Fabrice Fontaine
2022-12-29  9:35 ` [Buildroot] [PATCH 1/3] package/tiff: add zstd optional dependency Thomas Petazzoni via buildroot
2023-01-03 21:09 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox