Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Bernd Kuhls <bernd@kuhls.net>
To: buildroot@buildroot.org
Subject: [Buildroot] [PATCH v2 1/1] package/libdeflate: bump version to 1.26
Date: Sun, 20 Sep 2026 08:01:33 +0200	[thread overview]
Message-ID: <20260920060133.4184-1-bernd@kuhls.net> (raw)

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

             reply	other threads:[~2026-09-20  6:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-20  6:01 Bernd Kuhls [this message]
2026-09-20 11:41 ` [Buildroot] [PATCH v2 1/1] package/libdeflate: bump version to 1.26 Thomas Petazzoni via buildroot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260920060133.4184-1-bernd@kuhls.net \
    --to=bernd@kuhls.net \
    --cc=buildroot@buildroot.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox