mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-01 21:23:51 -09:00
package/vis-network: 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
c0524d3855
commit
d786571823
@@ -146,6 +146,12 @@ endif
|
||||
|
||||
comment "Legacy options removed in 2026.02"
|
||||
|
||||
config BR2_PACKAGE_VIS_NETWORK
|
||||
bool "vis-network has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
JS libraries are no longer part of Buildroot packages.
|
||||
|
||||
config BR2_PACKAGE_OPENLAYERS
|
||||
bool "openlayers has been removed"
|
||||
select BR2_LEGACY
|
||||
|
||||
@@ -1713,7 +1713,6 @@ F: package/erlang-p1-zlib/
|
||||
F: package/erlang-stun/
|
||||
F: package/erlang-xmpp/
|
||||
F: package/nginx-dav-ext/
|
||||
F: package/vis-network/
|
||||
F: package/vuejs/
|
||||
|
||||
N: John Stile <johns@msli.com>
|
||||
|
||||
@@ -1869,7 +1869,6 @@ endmenu
|
||||
menu "Javascript"
|
||||
source "package/duktape/Config.in"
|
||||
source "package/jsmin/Config.in"
|
||||
source "package/vis-network/Config.in"
|
||||
source "package/vuejs/Config.in"
|
||||
if BR2_PACKAGE_VUEJS
|
||||
comment "External Vue.js plugins"
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
config BR2_PACKAGE_VIS_NETWORK
|
||||
bool "vis-network"
|
||||
help
|
||||
Display dynamic, automatically organised, customizable network
|
||||
views. Network uses HTML canvas for rendering.
|
||||
|
||||
http://visjs.github.io/vis-network/
|
||||
@@ -1,4 +0,0 @@
|
||||
# Locally computed
|
||||
sha256 a9f7325cbe28147318476c63f09c1d5c894d2239bfa4b4dd2dfb3dbebb0705d3 vis-network-9.1.0.tgz
|
||||
sha256 1509904280a272780fd69c04b858f512cf216f8e3464a0dd98d8f34416feced9 LICENSE-APACHE-2.0
|
||||
sha256 1f65085e54c036645082257618db2c7b787e68c3b02485e214ecd09e0834ee8f LICENSE-MIT
|
||||
@@ -1,21 +0,0 @@
|
||||
################################################################################
|
||||
#
|
||||
# vis-network
|
||||
#
|
||||
################################################################################
|
||||
|
||||
VIS_NETWORK_VERSION = 9.1.0
|
||||
VIS_NETWORK_SOURCE = vis-network-$(VIS_NETWORK_VERSION).tgz
|
||||
VIS_NETWORK_SITE = https://registry.npmjs.org/vis-network/-
|
||||
VIS_NETWORK_LICENSE = Apache-2.0 or MIT
|
||||
VIS_NETWORK_LICENSE_FILES = LICENSE-APACHE-2.0 LICENSE-MIT
|
||||
|
||||
# Install .min.js and .min.css as .js and .css, respectively.
|
||||
define VIS_NETWORK_INSTALL_TARGET_CMDS
|
||||
$(INSTALL) -m 644 -D $(@D)/dist/vis-network.min.js \
|
||||
$(TARGET_DIR)/var/www/vis-network.js
|
||||
$(INSTALL) -m 644 -D $(@D)/dist/dist/vis-network.min.css \
|
||||
$(TARGET_DIR)/var/www/vis-network.css
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user