Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v2, 1/2] Revert "package/tiff: add webp optional dependency"
@ 2022-12-29 16:30 Fabrice Fontaine
  2022-12-29 16:30 ` [Buildroot] [PATCH v2,2/2] package/tiff: explicitly disable webp Fabrice Fontaine
  2023-01-03 21:11 ` [Buildroot] [PATCH v2, 1/2] Revert "package/tiff: add webp optional dependency" Peter Korsgaard
  0 siblings, 2 replies; 5+ messages in thread
From: Fabrice Fontaine @ 2022-12-29 16:30 UTC (permalink / raw)
  To: buildroot; +Cc: Fabrice Fontaine

This reverts commit 3fd6ada8dbca3370b9bb67feb2971e637cb4b11f to fix the
following build failure raised because tiff is already an optional
dependency of webp:

package/tiff/tiff.mk:122: *** Recursive variable 'TIFF_FINAL_RECURSIVE_DEPENDENCIES' references itself (eventually).  Stop.

Fixes:
 - http://autobuild.buildroot.org/results/d8486cd1d5e56fb3719dc88b8aebc76c3e23cdc9

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

diff --git a/package/tiff/Config.in b/package/tiff/Config.in
index b9e3656e6f..d1004d6668 100644
--- a/package/tiff/Config.in
+++ b/package/tiff/Config.in
@@ -72,10 +72,6 @@ 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 c2a4108f35..f0b56150b1 100644
--- a/package/tiff/tiff.mk
+++ b/package/tiff/tiff.mk
@@ -105,13 +105,6 @@ 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 v2,2/2] package/tiff: explicitly disable webp
  2022-12-29 16:30 [Buildroot] [PATCH v2, 1/2] Revert "package/tiff: add webp optional dependency" Fabrice Fontaine
@ 2022-12-29 16:30 ` Fabrice Fontaine
  2023-01-03 21:11   ` [Buildroot] [PATCH v2, 2/2] " Peter Korsgaard
  2023-01-04 13:20   ` Peter Korsgaard
  2023-01-03 21:11 ` [Buildroot] [PATCH v2, 1/2] Revert "package/tiff: add webp optional dependency" Peter Korsgaard
  1 sibling, 2 replies; 5+ messages in thread
From: Fabrice Fontaine @ 2022-12-29 16:30 UTC (permalink / raw)
  To: buildroot; +Cc: Fabrice Fontaine

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
Changes v1 -> v2 (after review of Yann E. Morin):
 - Explicitly disable webp

 package/tiff/tiff.mk | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/package/tiff/tiff.mk b/package/tiff/tiff.mk
index f0b56150b1..d3ab50b79e 100644
--- a/package/tiff/tiff.mk
+++ b/package/tiff/tiff.mk
@@ -12,9 +12,12 @@ TIFF_CPE_ID_VENDOR = libtiff
 TIFF_CPE_ID_PRODUCT = libtiff
 TIFF_INSTALL_STAGING = YES
 
+# webp has a (optional) dependency on tiff, so we can't have webp
+# support in tiff, or that would create a circular dependency.
 TIFF_CONF_OPTS = \
 	--disable-contrib \
 	--disable-tests \
+	--disable-webp \
 	--without-x
 
 TIFF_DEPENDENCIES = host-pkgconf
-- 
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 v2, 1/2] Revert "package/tiff: add webp optional dependency"
  2022-12-29 16:30 [Buildroot] [PATCH v2, 1/2] Revert "package/tiff: add webp optional dependency" Fabrice Fontaine
  2022-12-29 16:30 ` [Buildroot] [PATCH v2,2/2] package/tiff: explicitly disable webp Fabrice Fontaine
@ 2023-01-03 21:11 ` Peter Korsgaard
  1 sibling, 0 replies; 5+ messages in thread
From: Peter Korsgaard @ 2023-01-03 21:11 UTC (permalink / raw)
  To: Fabrice Fontaine; +Cc: buildroot

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

 > This reverts commit 3fd6ada8dbca3370b9bb67feb2971e637cb4b11f to fix the
 > following build failure raised because tiff is already an optional
 > dependency of webp:

 > package/tiff/tiff.mk:122: *** Recursive variable 'TIFF_FINAL_RECURSIVE_DEPENDENCIES' references itself (eventually).  Stop.

 > Fixes:
 >  - http://autobuild.buildroot.org/results/d8486cd1d5e56fb3719dc88b8aebc76c3e23cdc9

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

Committed, 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

* Re: [Buildroot] [PATCH v2, 2/2] package/tiff: explicitly disable webp
  2022-12-29 16:30 ` [Buildroot] [PATCH v2,2/2] package/tiff: explicitly disable webp Fabrice Fontaine
@ 2023-01-03 21:11   ` Peter Korsgaard
  2023-01-04 13:20   ` Peter Korsgaard
  1 sibling, 0 replies; 5+ messages in thread
From: Peter Korsgaard @ 2023-01-03 21:11 UTC (permalink / raw)
  To: Fabrice Fontaine; +Cc: buildroot

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

 > Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
 > ---
 > Changes v1 -> v2 (after review of Yann E. Morin):
 >  - Explicitly disable webp

Committed, 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

* Re: [Buildroot] [PATCH v2, 2/2] package/tiff: explicitly disable webp
  2022-12-29 16:30 ` [Buildroot] [PATCH v2,2/2] package/tiff: explicitly disable webp Fabrice Fontaine
  2023-01-03 21:11   ` [Buildroot] [PATCH v2, 2/2] " Peter Korsgaard
@ 2023-01-04 13:20   ` Peter Korsgaard
  1 sibling, 0 replies; 5+ messages in thread
From: Peter Korsgaard @ 2023-01-04 13:20 UTC (permalink / raw)
  To: Fabrice Fontaine; +Cc: buildroot

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

 > Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
 > ---
 > Changes v1 -> v2 (after review of Yann E. Morin):
 >  - Explicitly disable webp

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-04 13:21 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-29 16:30 [Buildroot] [PATCH v2, 1/2] Revert "package/tiff: add webp optional dependency" Fabrice Fontaine
2022-12-29 16:30 ` [Buildroot] [PATCH v2,2/2] package/tiff: explicitly disable webp Fabrice Fontaine
2023-01-03 21:11   ` [Buildroot] [PATCH v2, 2/2] " Peter Korsgaard
2023-01-04 13:20   ` Peter Korsgaard
2023-01-03 21:11 ` [Buildroot] [PATCH v2, 1/2] Revert "package/tiff: add webp optional dependency" Peter Korsgaard

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