package/vuejs: 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:38 +02:00
committed by Thomas Petazzoni
parent d786571823
commit 2cb1c57228
9 changed files with 12 additions and 64 deletions

View File

@@ -146,6 +146,18 @@ endif
comment "Legacy options removed in 2026.02"
config BR2_PACKAGE_VUEJS_ROUTER
bool "vuejs-router has been removed"
select BR2_LEGACY
help
JS libraries are no longer part of Buildroot packages.
config BR2_PACKAGE_VUEJS
bool "vuejs has been removed"
select BR2_LEGACY
help
JS libraries are no longer part of Buildroot packages.
config BR2_PACKAGE_VIS_NETWORK
bool "vis-network has been removed"
select BR2_LEGACY

View File

@@ -1713,7 +1713,6 @@ F: package/erlang-p1-zlib/
F: package/erlang-stun/
F: package/erlang-xmpp/
F: package/nginx-dav-ext/
F: package/vuejs/
N: John Stile <johns@msli.com>
F: package/dhcpcd/
@@ -3177,8 +3176,6 @@ F: configs/pine64_star64_defconfig
N: Thomas Claveirole <thomas.claveirole@green-communications.fr>
F: package/fcgiwrap/
F: package/vuejs/
F: package/vuejs-router/
N: Thomas Devoogdt <thomas@devoogdt.com>
F: package/fluent-bit/

View File

@@ -1869,11 +1869,6 @@ endmenu
menu "Javascript"
source "package/duktape/Config.in"
source "package/jsmin/Config.in"
source "package/vuejs/Config.in"
if BR2_PACKAGE_VUEJS
comment "External Vue.js plugins"
source "package/vuejs-router/Config.in"
endif
endmenu
menu "JSON/XML"

View File

@@ -1,6 +0,0 @@
config BR2_PACKAGE_VUEJS_ROUTER
bool "vuejs-router"
help
The official router for Vue.js.
http://router.vuejs.org

View File

@@ -1,3 +0,0 @@
# Locally computed
sha256 093fee5133cf82e75d25940d86f58a4e3f194b74262205ff5c1926aed53339c4 vue-router-4.5.1.tgz
sha256 91a2845c4db44e7497b514b98634a674c737986ad0db81599307cf733bf850b2 LICENSE

View File

@@ -1,19 +0,0 @@
################################################################################
#
# vuejs-router
#
################################################################################
VUEJS_ROUTER_VERSION = 4.5.1
VUEJS_ROUTER_SOURCE = vue-router-$(VUEJS_ROUTER_VERSION).tgz
VUEJS_ROUTER_SITE = https://registry.npmjs.org/vue-router/-
VUEJS_ROUTER_LICENSE = MIT
VUEJS_ROUTER_LICENSE_FILES = LICENSE
# Install .prod.js as .js
define VUEJS_ROUTER_INSTALL_TARGET_CMDS
$(INSTALL) -m 644 -D $(@D)/dist/vue-router.global.prod.js \
$(TARGET_DIR)/var/www/vue-router.js
endef
$(eval $(generic-package))

View File

@@ -1,6 +0,0 @@
config BR2_PACKAGE_VUEJS
bool "vuejs"
help
VueJS web application framework.
http://vuejs.org

View File

@@ -1,3 +0,0 @@
# Locally computed
sha256 afddbe7bb09a00bb23e738c2a5354819bf662955fd4a06abc630a3d1acc41a8b vue-3.5.16.tgz
sha256 1bb85cc9b13b81ef41c81c51866172fc345e0503c86726a6755b796590b70175 LICENSE

View File

@@ -1,19 +0,0 @@
################################################################################
#
# vuejs
#
################################################################################
VUEJS_VERSION = 3.5.16
VUEJS_SOURCE = vue-$(VUEJS_VERSION).tgz
VUEJS_SITE = https://registry.npmjs.org/vue/-
VUEJS_LICENSE = MIT
VUEJS_LICENSE_FILES = LICENSE
# Install .prod.js as .js
define VUEJS_INSTALL_TARGET_CMDS
$(INSTALL) -m 644 -D $(@D)/dist/vue.global.prod.js \
$(TARGET_DIR)/var/www/vue.js
endef
$(eval $(generic-package))