package/jszip: remove package

Because the way JavaScript project development is working the chances that your
project is using the same version of the buildroot package, and you provide
this library from `/var/www` to your users is actually really low ...

If you want to bundle JavaScript libraries in your project you should probably
either use a cdn, handle the package version and location of your choice in
your external or overlay, or just bundle it in your assets from a NPM workflow
to benefit from some minifications from your bundler.

Historically many of those JavaScript libraries were added in the 2010 eras
where it could make sense for them to be part of Buildroot.

Most of them are also way outdated/not maintained.

For more informations see https://elinux.org/Buildroot:DeveloperDaysELCE2025

Signed-off-by: Thomas Perale <thomas.perale@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Thomas Perale
2025-08-29 12:33:35 +02:00
committed by Thomas Petazzoni
parent e5c61cd11e
commit b0c6af9e76
5 changed files with 6 additions and 29 deletions

View File

@@ -146,6 +146,12 @@ endif
comment "Legacy options removed in 2026.02" comment "Legacy options removed in 2026.02"
config BR2_PACKAGE_JSZIP
bool "jszip has been removed"
select BR2_LEGACY
help
JS libraries are no longer part of Buildroot packages.
config BR2_PACKAGE_JSON_JAVASCRIPT config BR2_PACKAGE_JSON_JAVASCRIPT
bool "json-javascript has been removed" bool "json-javascript has been removed"
select BR2_LEGACY select BR2_LEGACY

View File

@@ -1869,7 +1869,6 @@ endmenu
menu "Javascript" menu "Javascript"
source "package/duktape/Config.in" source "package/duktape/Config.in"
source "package/jsmin/Config.in" source "package/jsmin/Config.in"
source "package/jszip/Config.in"
source "package/openlayers/Config.in" source "package/openlayers/Config.in"
source "package/vis-network/Config.in" source "package/vis-network/Config.in"
source "package/vuejs/Config.in" source "package/vuejs/Config.in"

View File

@@ -1,7 +0,0 @@
config BR2_PACKAGE_JSZIP
bool "jszip"
help
JSZip is a javascript library for creating, reading and
editing .zip files, with a lovely and simple API.
https://stuk.github.io/jszip

View File

@@ -1,3 +0,0 @@
# Locally computed:
sha256 e873e5d0d8549c78c0eafcab8fba40f4a1e27c5a9d48f4a6b2eb122470d0d88c jszip-3.10.1.tar.gz
sha256 566c953c6090b1218ca6217dd7359d45dde46581968586dc607d59a78af6a9c4 LICENSE.markdown

View File

@@ -1,18 +0,0 @@
################################################################################
#
# jszip
#
################################################################################
JSZIP_VERSION = 3.10.1
JSZIP_SITE = $(call github,Stuk,jszip,v$(JSZIP_VERSION))
JSZIP_LICENSE = MIT or GPL-3.0
JSZIP_LICENSE_FILES = LICENSE.markdown
JSZIP_CPE_ID_VALID = YES
define JSZIP_INSTALL_TARGET_CMDS
$(INSTALL) -m 0644 -D $(@D)/dist/jszip.min.js \
$(TARGET_DIR)/var/www/jszip/js/jszip.min.js
endef
$(eval $(generic-package))