Skip to contentSkip to conversation

package/zellij: new package

PATCH Superseded Alexander Shirokov 2 participants 11 messages Jul 28, 2025 – Jan 2

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/zellij: new package

An advanced terminal multiplexer with batteries included. Supports layouts, floating and stacked panes, plugins, and customization. Provides rich functionality out of the box.

Zellij is aimed at developers, operations-oriented users, and anyone who loves the terminal.

https://github.com/zellij-org/zellij

---
 package/Config.in          |  1 +
 package/zellij/Config.in   | 15 +++++++++++++++
 package/zellij/zellij.hash |  3 +++
 package/zellij/zellij.mk   | 12 ++++++++++++
 4 files changed, 31 insertions(+)
 create mode 100644 package/zellij/Config.in
 create mode 100644 package/zellij/zellij.hash
 create mode 100644 package/zellij/zellij.mk
package/Config.in +1 -0
index 137f74ed82..3699f1d1d7 100644
@@ -2832,6 +2832,7 @@ comment "Utilities"
 	source "package/xmlstarlet/Config.in"
 	source "package/xxhash/Config.in"
 	source "package/ytree/Config.in"
+	source "package/zellij/Config.in"
 	source "package/zoxide/Config.in"
 endmenu
 
package/zellij/Config.in new file +15 -0
new file mode 100644
index 0000000000..24383511ce
@@ -0,0 +1,15 @@
+config BR2_PACKAGE_ZELLIJ
+	bool "zellij"
+	depends on BR2_x86_64 || BR2_x86_i686 || BR2_aarch64
+	depends on BR2_PACKAGE_HOST_RUSTC
+	depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS
+	help
+
+	  An advanced terminal multiplexer with batteries included.
+	  Supports layouts, floating and stacked panes, plugins, and
+	  customization. Provides rich functionality out of the box.
+
+	  Zellij is aimed at developers, operations-oriented users,
+	  and anyone who loves the terminal.
+
+	  https://github.com/zellij-org/zellij
package/zellij/zellij.hash new file +3 -0
new file mode 100644
index 0000000000..e2ce86a7cf
@@ -0,0 +1,3 @@
+# Locally generated
+sha256  cd32cd0790fb133dc6d5e5b6f707ff57d63827188e0256ec0438a0ea9b5dd852  zellij-v0.42.2-cargo4.tar.gz
+sha256  9aa6c363b18a48eeecbffe13ff390c76ede2c90eb37ba17dfbbaffc42892d87d  LICENSE.md
package/zellij/zellij.mk new file +12 -0
new file mode 100644
index 0000000000..b015991aab
@@ -0,0 +1,12 @@
+################################################################################
+#
+# zellij
+#
+################################################################################
+
+ZELLIJ_VERSION = v0.42.2
+ZELLIJ_SITE = $(call github,zellij-org,zellij,$(ZELLIJ_VERSION))
+ZELLIJ_LICENSE = MIT
+ZELLIJ_LICENSE_FILES = LICENSE
+
+$(eval $(cargo-package))
Signature · 6 lines
2.50.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

Hello Alexander,

Quoted 10 lines · On Mon, 28 Jul 2025 15:19:26 +0200 Alexander Shirokov…

An advanced terminal multiplexer with batteries included. Supports layouts, floating and stacked panes, plugins, and customization. Provides rich functionality out of the box.

Zellij is aimed at developers, operations-oriented users, and anyone who loves the terminal.

https://github.com/zellij-org/zellij

Thanks for your contribution.

Quoted 6 lines
---
 package/Config.in          |  1 +
 package/zellij/Config.in   | 15 +++++++++++++++
 package/zellij/zellij.hash |  3 +++
 package/zellij/zellij.mk   | 12 ++++++++++++
 4 files changed, 31 insertions(+)

All new packages need an entry in the DEVELOPERS file, could you add one?

package/zellij/Config.in line 3

Quoted 9 lines
package/zellij/Config.in new file +3 -0
new file mode 100644
index 0000000000..24383511ce
@@ -0,0 +1,15 @@
+config BR2_PACKAGE_ZELLIJ
+	bool "zellij"
+	depends on BR2_x86_64 || BR2_x86_i686 || BR2_aarch64

Is there really something architecture-specific in zellij?

package/zellij/Config.in line 7

Quoted 4 lines
package/zellij/Config.in new file +4 -0
+	depends on BR2_PACKAGE_HOST_RUSTC
+	depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS
+	help
+

This blank line should be dropped.

Quoted 6 lines
package/zellij/zellij.mk new file +0 -0
new file mode 100644
index 0000000000..b015991aab

package/zellij/zellij.mk line 8

Quoted 8 lines
package/zellij/zellij.mk new file +8 -0
@@ -0,0 +1,12 @@
+################################################################################
+#
+# zellij
+#
+################################################################################
+
+ZELLIJ_VERSION = v0.42.2
+ZELLIJ_SITE = $(call github,zellij-org,zellij,$(ZELLIJ_VERSION))

This should be:

ZELLIJ_VERSION = 0.42.2
ZELLIJ_SITE = $(call github,zellij-org,zellij,v$(ZELLIJ_VERSION))

i.e, the version field should not contain the "v" prefix, so that the version number can be matched against CVE reports, against release-monitoring.org, etc.

Could you adjust those details and send a v2?

Thanks a lot!

Thomas

Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw

PATCH 1/1 package/zellij: new package

Hello Thomas,

Thanks for the review and helpful comments. I’ll prepare v2 with the fixes.

Quoted 11 lines

package/zellij/Config.in line 3

Quoted 9 lines
package/zellij/Config.in new file +3 -0
new file mode 100644
index 0000000000..24383511ce
@@ -0,0 +1,15 @@
+config BR2_PACKAGE_ZELLIJ
+	bool "zellij"
+	depends on BR2_x86_64 || BR2_x86_i686 || BR2_aarch64

Is there really something architecture-specific in zellij?

Unfortunately, yes. Under the hood, Zellij relies on the cranelift crate [1], which is restrictive in terms of supported platforms. I’ve observed compilation issues during builds for RPI3, QEMU and others. Each time caused by this crate due to unsupported platforms. So, I decided to take a conservative approach here. Possibly, we can expand the list of supported platforms over time.

[1] https://docs.rs/cranelift-codegen/0.122.0/cranelift_codegen/

Thank you

Alexander
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#3 lore raw

Hello Alexander,

Quoted 11 lines · On Tue, 29 Jul 2025 10:33:00 +0200 Alexander Shirokov…
Quoted 3 lines

package/zellij/Config.in line 3

Quoted 1 line
package/zellij/Config.in new file +1 -0
+	depends on BR2_x86_64 || BR2_x86_i686 || BR2_aarch64  

Is there really something architecture-specific in zellij?

Unfortunately, yes. Under the hood, Zellij relies on the cranelift crate [1], which is restrictive in terms of supported platforms. I’ve observed compilation issues during builds for RPI3, QEMU and others. Each time caused by this crate due to unsupported platforms. So, I decided to take a conservative approach here. Possibly, we can expand the list of supported platforms over time.

[1] https://docs.rs/cranelift-codegen/0.122.0/cranelift_codegen/

Sounds good. Then could you please summarize this in a comment above the dependency?

	# zellij uses the cranelift create, which has some architecture
	# dependencies, see
	# https://docs.rs/cranelift-codegen/0.122.0/cranelift_codegen/
	depends on ...

Thanks!

Thomas

Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#4 lore raw

PATCH v2 1/2 package/zellij: new package

In reply to Alexander Shirokov

An advanced terminal multiplexer with batteries included. Supports layouts, floating and stacked panes, plugins, and customization. Provides rich functionality out of the box.

Zellij is aimed at developers, operations-oriented users, and anyone who loves the terminal.

https://github.com/zellij-org/zellij

---
Changes v1->v2:
- Fixed format of Config.in file. Added comments.
- Fixed ZELLIJ_VERSION.'v' symbol is removed from the variable.
- Updated DEVELOPERS list.
---

---
 package/Config.in          |  1 +
 package/zellij/Config.in   | 17 +++++++++++++++++
 package/zellij/zellij.hash |  3 +++
 package/zellij/zellij.mk   | 12 ++++++++++++
 4 files changed, 33 insertions(+)
 create mode 100644 package/zellij/Config.in
 create mode 100644 package/zellij/zellij.hash
 create mode 100644 package/zellij/zellij.mk
package/Config.in +1 -0
index 137f74ed82..3699f1d1d7 100644
@@ -2832,6 +2832,7 @@ comment "Utilities"
 	source "package/xmlstarlet/Config.in"
 	source "package/xxhash/Config.in"
 	source "package/ytree/Config.in"
+	source "package/zellij/Config.in"
 	source "package/zoxide/Config.in"
 endmenu
 
package/zellij/Config.in new file +17 -0
new file mode 100644
index 0000000000..64b158cfe3
@@ -0,0 +1,17 @@
+config BR2_PACKAGE_ZELLIJ
+	bool "zellij"
+	# Zellij uses the cranelift crate which has architecure
+	# dependencies. Specify them explicitly. See details here:
+	# https://docs.rs/cranelift-codegen/0.122.0/cranelift_codegen/
+	depends on BR2_x86_64 || BR2_x86_i686 || BR2_aarch64
+	depends on BR2_PACKAGE_HOST_RUSTC
+	depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS
+	help
+	  An advanced terminal multiplexer with batteries included.
+	  Supports layouts, floating and stacked panes, plugins, and
+	  customization. Provides rich functionality out of the box.
+
+	  Zellij is aimed at developers, operations-oriented users,
+	  and anyone who loves the terminal.
+
+	  https://github.com/zellij-org/zellij
package/zellij/zellij.hash new file +3 -0
new file mode 100644
index 0000000000..6f6d48662d
@@ -0,0 +1,3 @@
+# Locally generated
+sha256  a416da8cb78575f39c64bab5ec767af7cf76ae34ebb8a31c28db55fd990bc34a  zellij-0.42.2-cargo4.tar.gz
+sha256  9aa6c363b18a48eeecbffe13ff390c76ede2c90eb37ba17dfbbaffc42892d87d  LICENSE.md
package/zellij/zellij.mk new file +12 -0
new file mode 100644
index 0000000000..5dbc4c30b4
@@ -0,0 +1,12 @@
+################################################################################
+#
+# zellij
+#
+################################################################################
+
+ZELLIJ_VERSION = 0.42.2
+ZELLIJ_SITE = $(call github,zellij-org,zellij,v$(ZELLIJ_VERSION))
+ZELLIJ_LICENSE = MIT
+ZELLIJ_LICENSE_FILES = LICENSE
+
+$(eval $(cargo-package))
Signature · 6 lines
2.50.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#5 lore raw

PATCH v2 2/2 DEVELOPERS: add Alexander Shirokov for package/zellij

---
 DEVELOPERS | 3 +++
 1 file changed, 3 insertions(+)
DEVELOPERS +3 -0
index 32ed4acdc5..5eb4f33f80 100644
@@ -132,6 +132,9 @@ F:	package/openpgm/
 N:	Aleksandr Makarov <[email protected]>
 F:	package/libest/
 
+N:	Alexander Shirokov <[email protected]>
+F:	package/zellij/
+
 N:	Alexander Sverdlin <[email protected]>
 F:	package/mini-snmpd/
 
Signature · 6 lines
2.50.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#6 lore raw

Re: [Buildroot] [v2, 2/2] DEVELOPERS: add Alexander Shirokov for package/zellij

Hello Alexander,

Quoted 1 line · On Tue, 29 Jul 2025 13:49:51 +0200 Alexander Shirokov…

Thanks for this v2. This change should be squashed into PATCH 1/2, i.e there should be a single patch adding the package and the entry in the DEVELOPERS file.

Thanks a lot,

Thomas

Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#7 lore raw

PATCH v3 1/1 package/zellij: new package

In reply to Alexander Shirokov

An advanced terminal multiplexer with batteries included. Supports layouts, floating and stacked panes, plugins, and customization. Provides rich functionality out of the box.

Zellij is aimed at developers, operations-oriented users, and anyone who loves the terminal.

https://github.com/zellij-org/zellij

---
Changes v3->v2:
- Changes have been squashed.

Changes v1->v2:
- Fixed format of Config.in file. Added comments.
- Fixed ZELLIJ_VERSION.'v' symbol is removed from the variable.
- Updated DEVELOPERS list.
---

---
 DEVELOPERS                 |  3 +++
 package/Config.in          |  1 +
 package/zellij/Config.in   | 17 +++++++++++++++++
 package/zellij/zellij.hash |  3 +++
 package/zellij/zellij.mk   | 12 ++++++++++++
 5 files changed, 36 insertions(+)
 create mode 100644 package/zellij/Config.in
 create mode 100644 package/zellij/zellij.hash
 create mode 100644 package/zellij/zellij.mk
DEVELOPERS +3 -0
index 12a41597af..ab935fa1de 100644
@@ -132,6 +132,9 @@ F:	package/openpgm/
 N:	Aleksandr Makarov <[email protected]>
 F:	package/libest/
 
+N:	Alexander Shirokov <[email protected]>
+F:	package/zellij/
+
 N:	Alexander Sverdlin <[email protected]>
 F:	package/mini-snmpd/
 
package/Config.in +1 -0
index 137f74ed82..3699f1d1d7 100644
@@ -2832,6 +2832,7 @@ comment "Utilities"
 	source "package/xmlstarlet/Config.in"
 	source "package/xxhash/Config.in"
 	source "package/ytree/Config.in"
+	source "package/zellij/Config.in"
 	source "package/zoxide/Config.in"
 endmenu
 
package/zellij/Config.in new file +17 -0
new file mode 100644
index 0000000000..64b158cfe3
@@ -0,0 +1,17 @@
+config BR2_PACKAGE_ZELLIJ
+	bool "zellij"
+	# Zellij uses the cranelift crate which has architecure
+	# dependencies. Specify them explicitly. See details here:
+	# https://docs.rs/cranelift-codegen/0.122.0/cranelift_codegen/
+	depends on BR2_x86_64 || BR2_x86_i686 || BR2_aarch64
+	depends on BR2_PACKAGE_HOST_RUSTC
+	depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS
+	help
+	  An advanced terminal multiplexer with batteries included.
+	  Supports layouts, floating and stacked panes, plugins, and
+	  customization. Provides rich functionality out of the box.
+
+	  Zellij is aimed at developers, operations-oriented users,
+	  and anyone who loves the terminal.
+
+	  https://github.com/zellij-org/zellij
package/zellij/zellij.hash new file +3 -0
new file mode 100644
index 0000000000..6f6d48662d
@@ -0,0 +1,3 @@
+# Locally generated
+sha256  a416da8cb78575f39c64bab5ec767af7cf76ae34ebb8a31c28db55fd990bc34a  zellij-0.42.2-cargo4.tar.gz
+sha256  9aa6c363b18a48eeecbffe13ff390c76ede2c90eb37ba17dfbbaffc42892d87d  LICENSE.md
package/zellij/zellij.mk new file +12 -0
new file mode 100644
index 0000000000..5dbc4c30b4
@@ -0,0 +1,12 @@
+################################################################################
+#
+# zellij
+#
+################################################################################
+
+ZELLIJ_VERSION = 0.42.2
+ZELLIJ_SITE = $(call github,zellij-org,zellij,v$(ZELLIJ_VERSION))
+ZELLIJ_LICENSE = MIT
+ZELLIJ_LICENSE_FILES = LICENSE
+
+$(eval $(cargo-package))
Signature · 6 lines
2.50.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#8 lore raw

PATCH v4 1/1 package/zellij: new package

In reply to Alexander Shirokov

An advanced terminal multiplexer with batteries included. Supports layouts, floating and stacked panes, plugins, and customization. Provides rich functionality out of the box.

Zellij is aimed at developers, operations-oriented users, and anyone who loves the terminal.

https://github.com/zellij-org/zellij

---
Changes v4->v3:
- Bump version to 0.43.1

Changes v3->v2:
- Changes have been squashed.

Changes v1->v2:
- Fixed format of Config.in file. Added comments.
- Fixed ZELLIJ_VERSION.'v' symbol is removed from the variable.
- Updated DEVELOPERS list.
---

---
 DEVELOPERS                 |  1 +
 package/Config.in          |  1 +
 package/zellij/Config.in   | 17 +++++++++++++++++
 package/zellij/zellij.hash |  3 +++
 package/zellij/zellij.mk   | 12 ++++++++++++
 5 files changed, 34 insertions(+)
 create mode 100644 package/zellij/Config.in
 create mode 100644 package/zellij/zellij.hash
 create mode 100644 package/zellij/zellij.mk
DEVELOPERS +1 -0
index 4c6ff40886..e0c5ebe20b 100644
@@ -93,6 +93,7 @@ F:	package/cpp-httplib/
 
 N:	Alexander Shirokov <[email protected]>
 F:	package/nnn/
+F:	package/zellij/
 
 N:	Alessandro Partesotti <[email protected]>
 F:	package/oatpp/
package/Config.in +1 -0
index 85928509f8..37b2fd34c1 100644
@@ -2816,6 +2816,7 @@ comment "Utilities"
 	source "package/xmlstarlet/Config.in"
 	source "package/xxhash/Config.in"
 	source "package/ytree/Config.in"
+	source "package/zellij/Config.in"
 	source "package/zoxide/Config.in"
 endmenu
 
package/zellij/Config.in new file +17 -0
new file mode 100644
index 0000000000..64b158cfe3
@@ -0,0 +1,17 @@
+config BR2_PACKAGE_ZELLIJ
+	bool "zellij"
+	# Zellij uses the cranelift crate which has architecure
+	# dependencies. Specify them explicitly. See details here:
+	# https://docs.rs/cranelift-codegen/0.122.0/cranelift_codegen/
+	depends on BR2_x86_64 || BR2_x86_i686 || BR2_aarch64
+	depends on BR2_PACKAGE_HOST_RUSTC
+	depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS
+	help
+	  An advanced terminal multiplexer with batteries included.
+	  Supports layouts, floating and stacked panes, plugins, and
+	  customization. Provides rich functionality out of the box.
+
+	  Zellij is aimed at developers, operations-oriented users,
+	  and anyone who loves the terminal.
+
+	  https://github.com/zellij-org/zellij
package/zellij/zellij.hash new file +3 -0
new file mode 100644
index 0000000000..6a8c5a5857
@@ -0,0 +1,3 @@
+# Locally generated
+sha256  248cb15f4853079dbc02962f2d41db8e1108c5b7b369bbf6feb484d8b1a5be5d  zellij-0.43.1-cargo4.tar.gz
+sha256  9aa6c363b18a48eeecbffe13ff390c76ede2c90eb37ba17dfbbaffc42892d87d  LICENSE.md
package/zellij/zellij.mk new file +12 -0
new file mode 100644
index 0000000000..d345c34d4c
@@ -0,0 +1,12 @@
+################################################################################
+#
+# zellij
+#
+################################################################################
+
+ZELLIJ_VERSION = 0.43.1
+ZELLIJ_SITE = $(call github,zellij-org,zellij,v$(ZELLIJ_VERSION))
+ZELLIJ_LICENSE = MIT
+ZELLIJ_LICENSE_FILES = LICENSE
+
+$(eval $(cargo-package))
Signature · 6 lines
2.51.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#9 lore raw

Hello Alexander,

Sorry for the delay!

Quoted 10 lines · On Tue, 23 Sep 2025 12:26:42 +0200 Alexander Shirokov…

An advanced terminal multiplexer with batteries included. Supports layouts, floating and stacked panes, plugins, and customization. Provides rich functionality out of the box.

Zellij is aimed at developers, operations-oriented users, and anyone who loves the terminal.

https://github.com/zellij-org/zellij

I've finally applied your patch, with one fix:

package/zellij/zellij.mk line 10

Quoted 4 lines
package/zellij/zellij.mk new file +4 -0
+ZELLIJ_VERSION = 0.43.1
+ZELLIJ_SITE = $(call github,zellij-org,zellij,v$(ZELLIJ_VERSION))
+ZELLIJ_LICENSE = MIT
+ZELLIJ_LICENSE_FILES = LICENSE

This file does not exist: it's LICENSE.md.

Make sure to test "make legal-info" with your package enabled to detect this kind of issue.

Thanks again for your contribution!

Thomas

Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot