mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-01 21:23:51 -09:00
package/chartjs: 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:
committed by
Thomas Petazzoni
parent
7b6d47d788
commit
5dd516ac69
@@ -146,6 +146,12 @@ endif
|
||||
|
||||
comment "Legacy options removed in 2026.02"
|
||||
|
||||
config BR2_PACKAGE_CHARTJS
|
||||
bool "chartjs has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
JS libraries are no longer part of Buildroot packages.
|
||||
|
||||
config BR2_PACKAGE_BOOTSTRAP
|
||||
bool "bootstrap has been removed"
|
||||
select BR2_LEGACY
|
||||
|
||||
@@ -1867,7 +1867,6 @@ menu "Hardware handling"
|
||||
endmenu
|
||||
|
||||
menu "Javascript"
|
||||
source "package/chartjs/Config.in"
|
||||
source "package/datatables/Config.in"
|
||||
source "package/datatables-buttons/Config.in"
|
||||
source "package/datatables-fixedcolumns/Config.in"
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
config BR2_PACKAGE_CHARTJS
|
||||
bool "chartjs"
|
||||
help
|
||||
Chart.js, a simple yet flexible JavaScript charting library
|
||||
for designers & developers
|
||||
|
||||
https://www.chartjs.org/
|
||||
@@ -1,3 +0,0 @@
|
||||
# Locally computed:
|
||||
sha256 111e0751796f087a51e94dfed910ccfb1278fd30e584a6e48514dba9ae7e72c6 chart.js-3.9.1.tgz
|
||||
sha256 5a0877ad6d818529be4f33009d0942cdf7e2ed7656156f4aba7308459a546030 LICENSE.md
|
||||
@@ -1,20 +0,0 @@
|
||||
################################################################################
|
||||
#
|
||||
# chartjs
|
||||
#
|
||||
################################################################################
|
||||
|
||||
CHARTJS_VERSION = 3.9.1
|
||||
CHARTJS_SITE = https://registry.npmjs.org/chart.js/-
|
||||
CHARTJS_SOURCE = chart.js-$(CHARTJS_VERSION).tgz
|
||||
CHARTJS_LICENSE = MIT
|
||||
CHARTJS_LICENSE_FILES = LICENSE.md
|
||||
CHARTJS_CPE_ID_VENDOR = chartjs
|
||||
CHARTJS_CPE_ID_PRODUCT = chart.js
|
||||
|
||||
define CHARTJS_INSTALL_TARGET_CMDS
|
||||
$(INSTALL) -m 0644 -D $(@D)/dist/chart.min.js \
|
||||
$(TARGET_DIR)/var/www/chartjs/js/Chart.js
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user