All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v2 1/1] package/libdeflate: bump version to 1.26
@ 2026-09-20  6:01 Bernd Kuhls
  2026-09-20 11:41 ` Thomas Petazzoni via buildroot
  0 siblings, 1 reply; 2+ messages in thread
From: Bernd Kuhls @ 2026-09-20  6:01 UTC (permalink / raw)
  To: buildroot

https://github.com/ebiggers/libdeflate/blob/v1.26/NEWS.md

Switched to sha256 tarball hash provided by upstream.

Depends on gcc >= 4.8 because "libdeflate now requires a C11 compiler":
https://github.com/ebiggers/libdeflate/commit/a7cbb2258188cd459e436b0c0a1e4b892e2b1ac7

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
v2: Added dependency to gcc >= 4.8 (Thomas)

Gitlab pipelines passed:
https://gitlab.com/bkuhls/buildroot/-/commits/c4b6c7b32132ae1237554fa6c0b3cda3a3cebc54

 package/libdeflate/Config.in       | 4 ++++
 package/libdeflate/libdeflate.hash | 3 ++-
 package/libdeflate/libdeflate.mk   | 2 +-
 package/tiff/Config.in             | 4 ++++
 4 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/package/libdeflate/Config.in b/package/libdeflate/Config.in
index d2fb0d6c55..b8f452e601 100644
--- a/package/libdeflate/Config.in
+++ b/package/libdeflate/Config.in
@@ -1,7 +1,11 @@
 config BR2_PACKAGE_LIBDEFLATE
 	bool "libdeflate"
+	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11
 	help
 	  Libdeflate is a heavily optimized library for DEFLATE/zlib/
 	  gzip compression and decompression
 
 	  https://github.com/ebiggers/libdeflate
+
+comment "libdeflate needs a toolchain w/ gcc >= 4.8"
+	depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
diff --git a/package/libdeflate/libdeflate.hash b/package/libdeflate/libdeflate.hash
index 24aad4a799..851926182f 100644
--- a/package/libdeflate/libdeflate.hash
+++ b/package/libdeflate/libdeflate.hash
@@ -1,3 +1,4 @@
+# From https://github.com/ebiggers/libdeflate/releases/tag/v1.26
+sha256  125856d4656e0feab660f94842f835923410c9281fedbcee64598c918da42b5a  libdeflate-1.26.tar.gz
 # Locally computed
-sha256  fed5cd22f00f30cc4c2e5329f94e2b8a901df9fa45ee255cb70e2b0b42344477  libdeflate-1.25.tar.gz
 sha256  4ad69099cb4374836fd27583d9991e2838cd86b6e4666ab26b2d32582c91e73a  COPYING
diff --git a/package/libdeflate/libdeflate.mk b/package/libdeflate/libdeflate.mk
index 889e04c97b..a0b99cbf23 100644
--- a/package/libdeflate/libdeflate.mk
+++ b/package/libdeflate/libdeflate.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-LIBDEFLATE_VERSION = 1.25
+LIBDEFLATE_VERSION = 1.26
 LIBDEFLATE_SITE = https://github.com/ebiggers/libdeflate/releases/download/v$(LIBDEFLATE_VERSION)
 LIBDEFLATE_LICENSE = MIT
 LIBDEFLATE_LICENSE_FILES = COPYING
diff --git a/package/tiff/Config.in b/package/tiff/Config.in
index d357d08406..ff5bbd2355 100644
--- a/package/tiff/Config.in
+++ b/package/tiff/Config.in
@@ -13,9 +13,13 @@ config BR2_PACKAGE_TIFF_CCITT
 
 config BR2_PACKAGE_TIFF_LIBDEFLATE
 	bool "Libdeflate usage (still requires Zlib)"
+	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # libdeflate
 	select BR2_PACKAGE_LIBDEFLATE
 	select BR2_PACKAGE_TIFF_ZLIB
 
+comment "libdeflate usage needs a toolchain w/ gcc >= 4.8"
+	depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
+
 config BR2_PACKAGE_TIFF_PACKBITS
 	bool "Macintosh PackBits algorithm"
 	default y
-- 
2.47.3

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

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

* Re: [Buildroot] [PATCH v2 1/1] package/libdeflate: bump version to 1.26
  2026-09-20  6:01 [Buildroot] [PATCH v2 1/1] package/libdeflate: bump version to 1.26 Bernd Kuhls
@ 2026-09-20 11:41 ` Thomas Petazzoni via buildroot
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni via buildroot @ 2026-09-20 11:41 UTC (permalink / raw)
  To: Bernd Kuhls; +Cc: buildroot

On Sun, Sep 20, 2026 at 08:01:33AM +0200, Bernd Kuhls wrote:
> https://github.com/ebiggers/libdeflate/blob/v1.26/NEWS.md
> 
> Switched to sha256 tarball hash provided by upstream.
> 
> Depends on gcc >= 4.8 because "libdeflate now requires a C11 compiler":
> https://github.com/ebiggers/libdeflate/commit/a7cbb2258188cd459e436b0c0a1e4b892e2b1ac7

C11...

> diff --git a/package/libdeflate/Config.in b/package/libdeflate/Config.in
> index d2fb0d6c55..b8f452e601 100644
> --- a/package/libdeflate/Config.in
> +++ b/package/libdeflate/Config.in
> @@ -1,7 +1,11 @@
>  config BR2_PACKAGE_LIBDEFLATE
>  	bool "libdeflate"
> +	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11

or C++11 ?

According to https://gcc.gnu.org/wiki/C11Status, C11 support was added
in gcc 4.7. Not sure that it matters that much though, these are
really ancient compilers, so I'd be fine with the 4.8 dependency.

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] 2+ messages in thread

end of thread, other threads:[~2026-09-20 11:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-20  6:01 [Buildroot] [PATCH v2 1/1] package/libdeflate: bump version to 1.26 Bernd Kuhls
2026-09-20 11:41 ` Thomas Petazzoni via buildroot

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.