Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v2] package/lzlib: switch to another fork
@ 2025-12-20 14:55 Francois Perrad via buildroot
  2026-02-02 10:32 ` Thomas Petazzoni via buildroot
  0 siblings, 1 reply; 2+ messages in thread
From: Francois Perrad via buildroot @ 2025-12-20 14:55 UTC (permalink / raw)
  To: buildroot

LuaDist and their subprojects are died

LuaDist was based on CMake, so back to luarocks infrastructure

different tag scheme, but same source (ie. lzlib.c)

this obviously fixes CMake 4 compatibility.

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
---
 package/lzlib/Config.in  |  3 +--
 package/lzlib/lzlib.hash |  6 ++++--
 package/lzlib/lzlib.mk   | 12 +++++-------
 3 files changed, 10 insertions(+), 11 deletions(-)

diff --git a/package/lzlib/Config.in b/package/lzlib/Config.in
index 59a2e6d5c..16dd2c314 100644
--- a/package/lzlib/Config.in
+++ b/package/lzlib/Config.in
@@ -1,10 +1,9 @@
 config BR2_PACKAGE_LZLIB
 	bool "lzlib"
-	depends on BR2_PACKAGE_LUA
 	select BR2_PACKAGE_ZLIB
 	help
 	  This package provides a library to access zlib library
 	  functions and also to read/write gzip files using an
 	  interface similar to the base io package.
 
-	  https://github.com/LuaDist/lzlib
+	  https://github.com/hishamhm/lzlib
diff --git a/package/lzlib/lzlib.hash b/package/lzlib/lzlib.hash
index 4bb4c52c8..61b094f10 100644
--- a/package/lzlib/lzlib.hash
+++ b/package/lzlib/lzlib.hash
@@ -1,3 +1,5 @@
+# computed by luarocks/buildroot
+sha256  860c893fc53d0a7830a54fa64f22a2b89260ca39c9a7dcb0890f6d3029f00ca5  lzlib-0.4.1.53-4.src.rock
+
 # Locally calculated
-sha256  cbb0cac5825e940b4ea2f31a336d2aaf6db39847d456920afd8e443804420dbb  lzlib-0.4.3.tar.gz
-sha256  f817d4a37077e94e9adf379f46ba5cc0b68775d7add2bbd5b2ca68ba140ad5bb  lzlib.c
+sha256  f817d4a37077e94e9adf379f46ba5cc0b68775d7add2bbd5b2ca68ba140ad5bb  lzlib/lzlib.c
diff --git a/package/lzlib/lzlib.mk b/package/lzlib/lzlib.mk
index 74624d501..4b869872b 100644
--- a/package/lzlib/lzlib.mk
+++ b/package/lzlib/lzlib.mk
@@ -4,12 +4,10 @@
 #
 ################################################################################
 
-LZLIB_VERSION = 0.4.3
-LZLIB_SITE = $(call github,LuaDist,lzlib,$(LZLIB_VERSION))
-LZLIB_DEPENDENCIES = lua zlib
+LZLIB_VERSION = 0.4.1.53-4
+LZLIB_SUBDIR = lzlib
 LZLIB_LICENSE = MIT
-LZLIB_LICENSE_FILES = lzlib.c
-LZLIB_CONF_OPTS = -DINSTALL_CMOD="/usr/lib/lua/$(LUAINTERPRETER_ABIVER)" \
-	-DINSTALL_LMOD="/usr/share/lua/$(LUAINTERPRETER_ABIVER)"
+LZLIB_LICENSE_FILES = $(LZLIB_SUBDIR)/lzlib.c
+LZLIB_DEPENDENCIES = zlib
 
-$(eval $(cmake-package))
+$(eval $(luarocks-package))
-- 
2.43.0

_______________________________________________
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] package/lzlib: switch to another fork
  2025-12-20 14:55 [Buildroot] [PATCH v2] package/lzlib: switch to another fork Francois Perrad via buildroot
@ 2026-02-02 10:32 ` Thomas Petazzoni via buildroot
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni via buildroot @ 2026-02-02 10:32 UTC (permalink / raw)
  To: Francois Perrad; +Cc: buildroot

Hello,

On Sat, Dec 20, 2025 at 03:55:42PM +0100, Francois Perrad via buildroot wrote:
> LuaDist and their subprojects are died

                                    ^^^^ dead

> 
> LuaDist was based on CMake, so back to luarocks infrastructure
> 
> different tag scheme, but same source (ie. lzlib.c)
> 
> this obviously fixes CMake 4 compatibility.

I've added a reference to an autobuilder failure fixed by this change,
and applied.

Thanks a lot!

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-02-02 10:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-20 14:55 [Buildroot] [PATCH v2] package/lzlib: switch to another fork Francois Perrad via buildroot
2026-02-02 10:32 ` Thomas Petazzoni via buildroot

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