Просмотр исходного кода

package/explorercanvas: 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>
Thomas Perale 4 месяцев назад
Родитель
Сommit
bca9164bd4

+ 6 - 0
Config.in.legacy

@@ -146,6 +146,12 @@ endif
 
 comment "Legacy options removed in 2026.02"
 
+config BR2_PACKAGE_EXPLORERCANVAS
+	bool "explorercanvas has been removed"
+	select BR2_LEGACY
+	help
+	  JS libraries are no longer part of Buildroot packages.
+
 config BR2_PACKAGE_DATATABLES_RESPONSIVE
 	bool "datatables-responsive has been removed"
 	select BR2_LEGACY

+ 0 - 1
package/Config.in

@@ -1868,7 +1868,6 @@ endmenu
 
 menu "Javascript"
 	source "package/duktape/Config.in"
-	source "package/explorercanvas/Config.in"
 	source "package/flot/Config.in"
 	source "package/forge/Config.in"
 	source "package/jquery/Config.in"

+ 0 - 10
package/explorercanvas/Config.in

@@ -1,10 +0,0 @@
-config BR2_PACKAGE_EXPLORERCANVAS
-	bool "explorercanvas"
-	help
-	  Modern browsers like Firefox, Safari, Chrome and Opera
-	  support the HTML5 canvas tag to allow 2D command-based
-	  drawing. ExplorerCanvas brings the same functionality to
-	  Internet Explorer (<v9). To use, web developers only need to
-	  include a single script tag in their existing web pages.
-
-	  http://excanvas.sf.net/

+ 0 - 3
package/explorercanvas/explorercanvas.hash

@@ -1,3 +0,0 @@
-# Locally calculated
-sha256  7b8f597b5d3a2f71e87aac413e12e03d852df3dd3ac39f70e1615c9c850217ec  explorercanvas-aa989ea9d9bac748638f7c66b0fc88e619715da6.tar.gz
-sha256  cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30  COPYING

+ 0 - 16
package/explorercanvas/explorercanvas.mk

@@ -1,16 +0,0 @@
-################################################################################
-#
-# explorercanvas
-#
-################################################################################
-
-EXPLORERCANVAS_VERSION = aa989ea9d9bac748638f7c66b0fc88e619715da6
-EXPLORERCANVAS_SITE = $(call github,arv,ExplorerCanvas,$(EXPLORERCANVAS_VERSION))
-EXPLORERCANVAS_LICENSE = Apache-2.0
-EXPLORERCANVAS_LICENSE_FILES = COPYING
-
-define EXPLORERCANVAS_INSTALL_TARGET_CMDS
-	$(INSTALL) -D $(@D)/excanvas.js $(TARGET_DIR)/var/www/excanvas.js
-endef
-
-$(eval $(generic-package))