mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-09 07:51:59 -09:00
package/bootstrap: 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
ca4d9af913
commit
7b6d47d788
@@ -146,6 +146,12 @@ endif
|
||||
|
||||
comment "Legacy options removed in 2026.02"
|
||||
|
||||
config BR2_PACKAGE_BOOTSTRAP
|
||||
bool "bootstrap has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
JS libraries are no longer part of Buildroot packages.
|
||||
|
||||
config BR2_PACKAGE_SOFTETHER
|
||||
bool "softether has been removed"
|
||||
select BR2_LEGACY
|
||||
|
||||
@@ -3482,7 +3482,6 @@ F: package/acl/
|
||||
F: package/attr/
|
||||
F: package/avrdude/
|
||||
F: package/boost/
|
||||
F: package/bootstrap/
|
||||
F: package/cannelloni/
|
||||
F: package/can-utils/
|
||||
F: package/circus/
|
||||
|
||||
@@ -1867,7 +1867,6 @@ menu "Hardware handling"
|
||||
endmenu
|
||||
|
||||
menu "Javascript"
|
||||
source "package/bootstrap/Config.in"
|
||||
source "package/chartjs/Config.in"
|
||||
source "package/datatables/Config.in"
|
||||
source "package/datatables-buttons/Config.in"
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
config BR2_PACKAGE_BOOTSTRAP
|
||||
bool "bootstrap"
|
||||
help
|
||||
Bootstrap is the most popular HTML, CSS, and JS framework
|
||||
for developing responsive, mobile first projects on the web.
|
||||
|
||||
http://getbootstrap.com
|
||||
@@ -1,3 +0,0 @@
|
||||
# Locally computed:
|
||||
sha256 888ffd30b7e192381e2f6a948ca04669fdcc2ccc2ba016de00d38c8e30793323 bootstrap-4.3.1-dist.zip
|
||||
sha256 35fbb6dc3891aacaf1ffa07abec2344fdbc454aab533a2a03bcf93577eb7837b css/bootstrap.css
|
||||
@@ -1,28 +0,0 @@
|
||||
################################################################################
|
||||
#
|
||||
# bootstrap
|
||||
#
|
||||
################################################################################
|
||||
|
||||
BOOTSTRAP_VERSION = 4.3.1
|
||||
BOOTSTRAP_SITE = https://github.com/twbs/bootstrap/releases/download/v$(BOOTSTRAP_VERSION)
|
||||
BOOTSTRAP_SOURCE = bootstrap-$(BOOTSTRAP_VERSION)-dist.zip
|
||||
BOOTSTRAP_LICENSE = MIT
|
||||
BOOTSTRAP_LICENSE_FILES = css/bootstrap.css
|
||||
BOOTSTRAP_CPE_ID_VENDOR = getbootstrap
|
||||
|
||||
define BOOTSTRAP_EXTRACT_CMDS
|
||||
$(UNZIP) $(BOOTSTRAP_DL_DIR)/$(BOOTSTRAP_SOURCE) -d $(@D)
|
||||
mv $(@D)/bootstrap-$(BOOTSTRAP_VERSION)-dist/* $(@D)
|
||||
endef
|
||||
|
||||
define BOOTSTRAP_INSTALL_TARGET_CMDS
|
||||
$(INSTALL) -m 0644 -D $(@D)/css/bootstrap.min.css \
|
||||
$(TARGET_DIR)/var/www/bootstrap/css/bootstrap.min.css
|
||||
$(INSTALL) -m 0644 -D $(@D)/css/bootstrap.min.css.map \
|
||||
$(TARGET_DIR)/var/www/bootstrap/css/bootstrap.min.css.map
|
||||
$(INSTALL) -m 0644 -D $(@D)/js/bootstrap.min.js \
|
||||
$(TARGET_DIR)/var/www/bootstrap/js/bootstrap.min.js
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user