Skip to contentSkip to conversation

package/nodejs: remove support for express

PATCH New Martin Bark 2 participants 4 messages May 6, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 package/nodejs: remove support for express

BR2_PACKAGE_NODEJS_MODULES_EXPRESS has been deprecated. To continue using add express to BR2_PACKAGE_NODEJS_MODULES_ADDITIONAL

Fixes:
http://autobuild.buildroot.org/results/fcfa38e98c22c8809452f7d0ee86dfe2e9d2482f
http://autobuild.buildroot.org/results/946996fa78c7814d1e0ea0ef1239c6eb0c7aa8dd
http://autobuild.buildroot.org/results/df920e7b17617f1e4867d94eda52cab38f7b0622

---
 Config.in.legacy         |  8 ++++++++
 package/nodejs/Config.in | 10 ----------
 package/nodejs/nodejs.mk |  1 -
 3 files changed, 8 insertions(+), 11 deletions(-)
Config.in.legacy +8 -0
index bc14bf2..b0e9254 100644
@@ -145,6 +145,14 @@ endif
 ###############################################################################
 comment "Legacy options removed in 2017.05"
 
+config BR2_PACKAGE_NODEJS_MODULES_EXPRESS
+	bool "Express web application framework has been removed"
+	select BR2_LEGACY
+	help
+	  Support for the Express web application framework has been
+	  removed.  To continue using add express to
+	  BR2_PACKAGE_NODEJS_MODULES_ADDITIONAL.
+
 config BR2_PACKAGE_BLUEZ5_UTILS_GATTTOOL
 	bool "bluez5_utils gatttool install option removed"
 	select BR2_PACKAGE_BLUEZ5_UTILS_DEPRECATED
package/nodejs/Config.in +0 -10
index 4810d59..d5034cc 100644
@@ -44,16 +44,6 @@ config BR2_PACKAGE_NODEJS_NPM
 
 	  Note that NPM is always built for the buildroot host.
 
-config BR2_PACKAGE_NODEJS_MODULES_EXPRESS
-	bool "Express web application framework"
-	help
-	  Express is a minimal and flexible node.js web application
-	  framework, providing a robust set of features for building
-	  single and multi-page, and hybrid web applications.
-
-	  http://www.expressjs.com
-	  https://github.com/visionmedia/express
-
 config BR2_PACKAGE_NODEJS_MODULES_COFFEESCRIPT
 	bool "CoffeeScript"
 	help
package/nodejs/nodejs.mk +0 -1
index 1a19502..ba6ee4e 100644
@@ -143,7 +143,6 @@ endef
 # popular modules, as well as the "additional modules" list.
 #
 NODEJS_MODULES_LIST= $(call qstrip,\
-	$(if $(BR2_PACKAGE_NODEJS_MODULES_EXPRESS),express) \
 	$(if $(BR2_PACKAGE_NODEJS_MODULES_COFFEESCRIPT),coffee-script) \
 	$(BR2_PACKAGE_NODEJS_MODULES_ADDITIONAL))
 
Signature · 1 line
2.7.4
#1 lore raw

PATCH 2/3 package/nodejs: remove support for coffeescript

BR2_PACKAGE_NODEJS_MODULES_COFFEESCRIPT has been deprecated. To continue using add coffee-script to BR2_PACKAGE_NODEJS_MODULES_ADDITIONAL.

Fixes:
http://autobuild.buildroot.org/results/0e4fb1a615ab9654ad2b4b1274a34583e02aa44e
http://autobuild.buildroot.org/results/fabf2f5f25c62be615fd09e59e6ad9234385645f
http://autobuild.buildroot.org/results/8653d78a190df1e691f52a911d8153104c46226b
http://autobuild.buildroot.org/results/2fc7e5e64ad6ced02a47e5062176d316eed0f43b

---
 Config.in.legacy         | 7 +++++++
 package/nodejs/Config.in | 7 -------
 package/nodejs/nodejs.mk | 4 +---
 3 files changed, 8 insertions(+), 10 deletions(-)
Config.in.legacy +7 -0
index b0e9254..95c532f 100644
@@ -145,6 +145,13 @@ endif
 ###############################################################################
 comment "Legacy options removed in 2017.05"
 
+config BR2_PACKAGE_NODEJS_MODULES_COFFEESCRIPT
+	bool "CoffeeScript has been removed"
+	select BR2_LEGACY
+	help
+	  Support for CoffeeScript has been removed.  To continue using
+	  add coffee-script to BR2_PACKAGE_NODEJS_MODULES_ADDITIONAL.
+
 config BR2_PACKAGE_NODEJS_MODULES_EXPRESS
 	bool "Express web application framework has been removed"
 	select BR2_LEGACY
package/nodejs/Config.in +0 -7
index d5034cc..3022f9c 100644
@@ -44,13 +44,6 @@ config BR2_PACKAGE_NODEJS_NPM
 
 	  Note that NPM is always built for the buildroot host.
 
-config BR2_PACKAGE_NODEJS_MODULES_COFFEESCRIPT
-	bool "CoffeeScript"
-	help
-	  CoffeeScript is a little language that compiles into JavaScript.
-
-	  http://www.coffeescript.org
-
 config BR2_PACKAGE_NODEJS_MODULES_ADDITIONAL
 	string "Additional modules"
 	help
package/nodejs/nodejs.mk +1 -3
index ba6ee4e..84f0e2e 100644
@@ -139,11 +139,9 @@ define NODEJS_BUILD_CMDS
 endef
 
 #
-# Build the list of modules to install based on the booleans for
-# popular modules, as well as the "additional modules" list.
+# Build the list of modules to install.
 #
 NODEJS_MODULES_LIST= $(call qstrip,\
-	$(if $(BR2_PACKAGE_NODEJS_MODULES_COFFEESCRIPT),coffee-script) \
 	$(BR2_PACKAGE_NODEJS_MODULES_ADDITIONAL))
 
 # Define NPM for other packages to use
Signature · 1 line
2.7.4
#2 lore raw

PATCH 3/3 package/nodejs: bump version to 7.10.0

In reply to Martin Bark

See https://nodejs.org/en/blog/release/v7.10.0/

---
 package/nodejs/nodejs.hash | 4 ++--
 package/nodejs/nodejs.mk   | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
package/nodejs/nodejs.hash +2 -2
index e54b5e3..73869e9 100644
@@ -1,2 +1,2 @@
-# From upstream URL: http://nodejs.org/dist/v7.9.0/SHASUMS256.txt
-sha256  a569764b884929f31a0772600a5cf36048ad42aa8c54ba4cabea6c067ef96a29  node-v7.9.0.tar.xz
+# From upstream URL: http://nodejs.org/dist/v7.10.0/SHASUMS256.txt
+sha256  dc34dd15524ba821ffcae7b245eabe8631e2614d5e3cb8ff08fbfdadf5919f21  node-v7.10.0.tar.xz
package/nodejs/nodejs.mk +1 -1
index 84f0e2e..05c42ab 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-NODEJS_VERSION = 7.9.0
+NODEJS_VERSION = 7.10.0
 NODEJS_SOURCE = node-v$(NODEJS_VERSION).tar.xz
 NODEJS_SITE = http://nodejs.org/dist/v$(NODEJS_VERSION)
 NODEJS_DEPENDENCIES = host-python host-nodejs zlib \
Signature · 1 line
2.7.4
#3 lore raw

PATCH 1/3 package/nodejs: remove support for express

In reply to Martin Bark

Hello,

Quoted 8 lines · Martin Bark

BR2_PACKAGE_NODEJS_MODULES_EXPRESS has been deprecated. To continue using add express to BR2_PACKAGE_NODEJS_MODULES_ADDITIONAL

Fixes:
http://autobuild.buildroot.org/results/fcfa38e98c22c8809452f7d0ee86dfe2e9d2482f
http://autobuild.buildroot.org/results/946996fa78c7814d1e0ea0ef1239c6eb0c7aa8dd
http://autobuild.buildroot.org/results/df920e7b17617f1e4867d94eda52cab38f7b0622

Quoted 6 lines
---
 Config.in.legacy         |  8 ++++++++
 package/nodejs/Config.in | 10 ----------
 package/nodejs/nodejs.mk |  1 -
 3 files changed, 8 insertions(+), 11 deletions(-)

Thanks, series applied!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com