Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 01/15] docs/migrating.adoc: document static JS library
@ 2025-08-29 10:33 Thomas Perale via buildroot
  2025-08-29 10:33 ` [Buildroot] [PATCH 02/15] package/bootstrap: remove package Thomas Perale via buildroot
                   ` (14 more replies)
  0 siblings, 15 replies; 17+ messages in thread
From: Thomas Perale via buildroot @ 2025-08-29 10:33 UTC (permalink / raw)
  To: buildroot; +Cc: Thomas Claveirole, Simon Dawson, Johan Oudinet

This patch adds information on how to provides static JS libraries in
Buildroot with the release of the 2025.08.x version.

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>
---
 docs/manual/migrating.adoc | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/docs/manual/migrating.adoc b/docs/manual/migrating.adoc
index 4e6225a987..862fee28df 100644
--- a/docs/manual/migrating.adoc
+++ b/docs/manual/migrating.adoc
@@ -222,3 +222,14 @@ from +-cargo2+ to +-cargo4+.
 In 2025.08, starting with systemd version 257, systemd-networkd requires kernel
 5.4 or later. If you are still using a kernel older than 5.4, please update
 your kernel or use an alternative network manager.
+
+Starting 2025.08, JavaScript libraries that were just copied to `/var/www` on
+the target filesystem are not part of the Buildroot packages.
+If you want to provide such libraries either:
+
+- Use a CDN to target the library version of your choice.
+- Serve it by adding the package to your external and installing the content to
+  the destination of your choice
+- Serve it by adding the library to your overlay.
+- Install the libraries from your project with NPM and bundle with a JavaScript
+  bundler.
-- 
2.50.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2026-01-01 21:55 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-29 10:33 [Buildroot] [PATCH 01/15] docs/migrating.adoc: document static JS library Thomas Perale via buildroot
2025-08-29 10:33 ` [Buildroot] [PATCH 02/15] package/bootstrap: remove package Thomas Perale via buildroot
2025-08-29 10:33 ` [Buildroot] [PATCH 03/15] package/chartjs: " Thomas Perale via buildroot
2025-08-29 10:33 ` [Buildroot] [PATCH 04/15] package/datatables{, -buttons, -fixedcolumns, -responsive}: " Thomas Perale via buildroot
2025-08-29 10:33 ` [Buildroot] [PATCH 05/15] package/explorercanvas: " Thomas Perale via buildroot
2025-08-29 10:33 ` [Buildroot] [PATCH 06/15] package/flot: " Thomas Perale via buildroot
2025-08-29 10:33 ` [Buildroot] [PATCH 07/15] package/forge: " Thomas Perale via buildroot
2025-08-29 10:33 ` [Buildroot] [PATCH 08/15] package/jquery: " Thomas Perale via buildroot
2025-08-29 10:33 ` [Buildroot] [PATCH 09/15] package/json-javascript: " Thomas Perale via buildroot
2025-08-29 10:33 ` [Buildroot] [PATCH 10/15] package/jszip: " Thomas Perale via buildroot
2025-08-29 10:33 ` [Buildroot] [PATCH 11/15] package/openlayers: " Thomas Perale via buildroot
2025-08-29 10:33 ` [Buildroot] [PATCH 12/15] package/vis-network: " Thomas Perale via buildroot
2025-08-29 10:33 ` [Buildroot] [PATCH 13/15] package/vuejs: " Thomas Perale via buildroot
2025-08-29 10:33 ` [Buildroot] [PATCH 14/15] package/jsmin: " Thomas Perale via buildroot
2025-08-29 10:33 ` [Buildroot] [PATCH 15/15] package/duktape: move submenu Thomas Perale via buildroot
2025-08-29 12:08   ` Edgar Bonet via buildroot
2026-01-01 21:55 ` [Buildroot] [PATCH 01/15] docs/migrating.adoc: document static JS library Thomas Petazzoni via buildroot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox