mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-01 21:23:51 -09:00
package/openlayers: 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
b0c6af9e76
commit
c0524d3855
@@ -146,6 +146,12 @@ endif
|
||||
|
||||
comment "Legacy options removed in 2026.02"
|
||||
|
||||
config BR2_PACKAGE_OPENLAYERS
|
||||
bool "openlayers has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
JS libraries are no longer part of Buildroot packages.
|
||||
|
||||
config BR2_PACKAGE_JSZIP
|
||||
bool "jszip has been removed"
|
||||
select BR2_LEGACY
|
||||
|
||||
@@ -3178,7 +3178,6 @@ F: configs/pine64_star64_defconfig
|
||||
|
||||
N: Thomas Claveirole <thomas.claveirole@green-communications.fr>
|
||||
F: package/fcgiwrap/
|
||||
F: package/openlayers/
|
||||
F: package/vuejs/
|
||||
F: package/vuejs-router/
|
||||
|
||||
|
||||
@@ -1869,7 +1869,6 @@ endmenu
|
||||
menu "Javascript"
|
||||
source "package/duktape/Config.in"
|
||||
source "package/jsmin/Config.in"
|
||||
source "package/openlayers/Config.in"
|
||||
source "package/vis-network/Config.in"
|
||||
source "package/vuejs/Config.in"
|
||||
if BR2_PACKAGE_VUEJS
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
config BR2_PACKAGE_OPENLAYERS
|
||||
bool "openlayers"
|
||||
help
|
||||
OpenLayers makes it easy to put a dynamic map in any web
|
||||
page. It can display map tiles, vector data and markers
|
||||
loaded from any source. OpenLayers has been developed to
|
||||
further the use of geographic information of all kinds. It
|
||||
is completely free, Open Source JavaScript, released under
|
||||
the 2-clause BSD License (also known as the FreeBSD).
|
||||
|
||||
https://openlayers.org
|
||||
@@ -1,3 +0,0 @@
|
||||
# Locally computed:
|
||||
sha256 ff847580458b10c85dcb38699733368d67037f855fcb6a5fce46e6412737cf67 v10.5.0-package.zip
|
||||
sha256 6c4347b83a8c9feef18d57b18e3b6c44cf901b3c344a4a1fbd837e421555ab8e LICENSE.md
|
||||
@@ -1,22 +0,0 @@
|
||||
################################################################################
|
||||
#
|
||||
# openlayers
|
||||
#
|
||||
################################################################################
|
||||
|
||||
OPENLAYERS_VERSION = 10.5.0
|
||||
OPENLAYERS_SOURCE = v$(OPENLAYERS_VERSION)-package.zip
|
||||
OPENLAYERS_SITE = https://github.com/openlayers/openlayers/releases/download/v$(OPENLAYERS_VERSION)
|
||||
OPENLAYERS_LICENSE = BSD-2-Clause
|
||||
OPENLAYERS_LICENSE_FILES = LICENSE.md
|
||||
|
||||
define OPENLAYERS_EXTRACT_CMDS
|
||||
unzip $(OPENLAYERS_DL_DIR)/$(OPENLAYERS_SOURCE) -d $(@D)
|
||||
endef
|
||||
|
||||
define OPENLAYERS_INSTALL_TARGET_CMDS
|
||||
$(INSTALL) -D -m 0644 $(@D)/ol.css $(TARGET_DIR)/var/www/ol.css
|
||||
$(INSTALL) -D -m 0644 $(@D)/dist/ol.js $(TARGET_DIR)/var/www/ol.js
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user