Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/5] package/jszip: new package
@ 2020-12-08 18:05 Thomas De Schampheleire
  2020-12-08 18:05 ` [Buildroot] [PATCH 2/5] package/datatables: " Thomas De Schampheleire
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Thomas De Schampheleire @ 2020-12-08 18:05 UTC (permalink / raw)
  To: buildroot

From: Joeri Barbarien <joeri.barbarien@nokia.com>

Signed-off-by: Joeri Barbarien <joeri.barbarien@nokia.com>
Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
---
 DEVELOPERS               |  1 +
 package/Config.in        |  1 +
 package/jszip/Config.in  |  7 +++++++
 package/jszip/jszip.hash |  3 +++
 package/jszip/jszip.mk   | 17 +++++++++++++++++
 5 files changed, 29 insertions(+)
 create mode 100644 package/jszip/Config.in
 create mode 100644 package/jszip/jszip.hash
 create mode 100644 package/jszip/jszip.mk

diff --git a/DEVELOPERS b/DEVELOPERS
index 9ab1e125f4..5cb272e7ae 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -2503,6 +2503,7 @@ N:	Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
 F:	docs/manual/
 F:	package/cereal/
 F:	package/chartjs/
+F:	package/jszip/
 F:	package/libtelnet/
 F:	package/opkg-utils/
 F:	package/perl-convert-asn1/
diff --git a/package/Config.in b/package/Config.in
index 016a99ed1a..5fb6eaeccf 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1586,6 +1586,7 @@ endmenu
 endif
 	source "package/jsmin/Config.in"
 	source "package/json-javascript/Config.in"
+	source "package/jszip/Config.in"
 	source "package/openlayers/Config.in"
 	source "package/spidermonkey/Config.in"
 	source "package/vuejs/Config.in"
diff --git a/package/jszip/Config.in b/package/jszip/Config.in
new file mode 100644
index 0000000000..455891ab12
--- /dev/null
+++ b/package/jszip/Config.in
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_JSZIP
+	bool "jszip"
+	help
+	  JSZip is a javascript library for creating, reading and
+	  editing .zip files, with a lovely and simple API.
+
+	  https://stuk.github.io/jszip
diff --git a/package/jszip/jszip.hash b/package/jszip/jszip.hash
new file mode 100644
index 0000000000..13a7765ed9
--- /dev/null
+++ b/package/jszip/jszip.hash
@@ -0,0 +1,3 @@
+# Locally computed:
+sha256	e5343decfb781b15c54c0df9ddedd6c8518c800a4667a0a95741c694a4f38d34  jszip-v3.2.2.tar.gz
+sha256	14450c78405ad2a2173e25740b56406556779149df9c4c83523a8c63d0686210  LICENSE.markdown
diff --git a/package/jszip/jszip.mk b/package/jszip/jszip.mk
new file mode 100644
index 0000000000..0e20f4c40e
--- /dev/null
+++ b/package/jszip/jszip.mk
@@ -0,0 +1,17 @@
+################################################################################
+#
+# jszip
+#
+################################################################################
+
+JSZIP_VERSION = v3.2.2
+JSZIP_SITE = $(call github,Stuk,jszip,$(JSZIP_VERSION))
+JSZIP_LICENSE = MIT
+JSZIP_LICENSE_FILES = LICENSE.markdown
+
+define JSZIP_INSTALL_TARGET_CMDS
+	$(INSTALL) -m 0644 -D $(@D)/dist/jszip.min.js \
+		$(TARGET_DIR)/var/www/jszip/js/jszip.min.js
+endef
+
+$(eval $(generic-package))
-- 
2.26.2

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

* [Buildroot] [PATCH 2/5] package/datatables: new package
  2020-12-08 18:05 [Buildroot] [PATCH 1/5] package/jszip: new package Thomas De Schampheleire
@ 2020-12-08 18:05 ` Thomas De Schampheleire
  2021-01-02 10:55   ` Thomas Petazzoni
  2020-12-08 18:05 ` [Buildroot] [PATCH 3/5] package/datatables-buttons: " Thomas De Schampheleire
                   ` (3 subsequent siblings)
  4 siblings, 1 reply; 10+ messages in thread
From: Thomas De Schampheleire @ 2020-12-08 18:05 UTC (permalink / raw)
  To: buildroot

From: Joeri Barbarien <joeri.barbarien@nokia.com>

Signed-off-by: Joeri Barbarien <joeri.barbarien@nokia.com>
Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
---
 DEVELOPERS                         |  1 +
 package/Config.in                  |  1 +
 package/datatables/Config.in       |  7 +++++++
 package/datatables/datatables.hash |  3 +++
 package/datatables/datatables.mk   | 23 +++++++++++++++++++++++
 5 files changed, 35 insertions(+)
 create mode 100644 package/datatables/Config.in
 create mode 100644 package/datatables/datatables.hash
 create mode 100644 package/datatables/datatables.mk

diff --git a/DEVELOPERS b/DEVELOPERS
index 5cb272e7ae..59e2711bc8 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -2503,6 +2503,7 @@ N:	Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
 F:	docs/manual/
 F:	package/cereal/
 F:	package/chartjs/
+F:	package/datatables/
 F:	package/jszip/
 F:	package/libtelnet/
 F:	package/opkg-utils/
diff --git a/package/Config.in b/package/Config.in
index 5fb6eaeccf..a460fc8453 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1568,6 +1568,7 @@ endmenu
 endif
 	source "package/bootstrap/Config.in"
 	source "package/chartjs/Config.in"
+	source "package/datatables/Config.in"
 	source "package/duktape/Config.in"
 	source "package/explorercanvas/Config.in"
 	source "package/flot/Config.in"
diff --git a/package/datatables/Config.in b/package/datatables/Config.in
new file mode 100644
index 0000000000..8537b9f9a6
--- /dev/null
+++ b/package/datatables/Config.in
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_DATATABLES
+	bool "datatables"
+	help
+	  Javascript library providing advanced interaction controls for
+	  your HTML tables.
+
+	  https://datatables.net
diff --git a/package/datatables/datatables.hash b/package/datatables/datatables.hash
new file mode 100644
index 0000000000..23e1f045ae
--- /dev/null
+++ b/package/datatables/datatables.hash
@@ -0,0 +1,3 @@
+# Locally computed:
+sha256	e2c79dd9d02caa04130ce888061bc922e18561e72e842ba0cb657d1812d9f1bf  DataTables-1.10.20.zip
+sha256	c6a873f21550ed804f76013c36e14225704c1aa551fdb870e0c626eb91c19247  DataTables-1.10.20/license.txt
diff --git a/package/datatables/datatables.mk b/package/datatables/datatables.mk
new file mode 100644
index 0000000000..f8b0c7cfc7
--- /dev/null
+++ b/package/datatables/datatables.mk
@@ -0,0 +1,23 @@
+################################################################################
+#
+# datatables
+#
+################################################################################
+
+DATATABLES_VERSION = 1.10.20
+DATATABLES_SITE = https://datatables.net/releases
+DATATABLES_SOURCE =  DataTables-$(DATATABLES_VERSION).zip
+DATATABLES_LICENSE = MIT
+DATATABLES_LICENSE_FILES = DataTables-$(DATATABLES_VERSION)/license.txt
+
+define DATATABLES_EXTRACT_CMDS
+	$(UNZIP) $(DATATABLES_DL_DIR)/$(DATATABLES_SOURCE) -d $(@D)
+endef
+
+define DATATABLES_INSTALL_TARGET_CMDS
+	$(INSTALL) -m 0755 -d $(TARGET_DIR)/var/www/datatables/css $(TARGET_DIR)/var/www/datatables/js
+	$(INSTALL) -m 0644 -t $(TARGET_DIR)/var/www/datatables/css $(@D)/DataTables-$(DATATABLES_VERSION)/media/css/*.min.css
+	$(INSTALL) -m 0644 -t $(TARGET_DIR)/var/www/datatables/js $(@D)/DataTables-$(DATATABLES_VERSION)/media/js/*.min.js
+endef
+
+$(eval $(generic-package))
-- 
2.26.2

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

* [Buildroot] [PATCH 3/5] package/datatables-buttons: new package
  2020-12-08 18:05 [Buildroot] [PATCH 1/5] package/jszip: new package Thomas De Schampheleire
  2020-12-08 18:05 ` [Buildroot] [PATCH 2/5] package/datatables: " Thomas De Schampheleire
@ 2020-12-08 18:05 ` Thomas De Schampheleire
  2021-01-02 11:06   ` Thomas Petazzoni
  2020-12-08 18:05 ` [Buildroot] [PATCH 4/5] package/datatables-fixedcolumns: " Thomas De Schampheleire
                   ` (2 subsequent siblings)
  4 siblings, 1 reply; 10+ messages in thread
From: Thomas De Schampheleire @ 2020-12-08 18:05 UTC (permalink / raw)
  To: buildroot

From: Joeri Barbarien <joeri.barbarien@nokia.com>

Signed-off-by: Joeri Barbarien <joeri.barbarien@nokia.com>
Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
---
 DEVELOPERS                                    |  1 +
 package/Config.in                             |  1 +
 package/datatables-buttons/Config.in          | 12 ++++++++++
 .../datatables-buttons.hash                   |  3 +++
 .../datatables-buttons/datatables-buttons.mk  | 22 +++++++++++++++++++
 5 files changed, 39 insertions(+)
 create mode 100644 package/datatables-buttons/Config.in
 create mode 100644 package/datatables-buttons/datatables-buttons.hash
 create mode 100644 package/datatables-buttons/datatables-buttons.mk

diff --git a/DEVELOPERS b/DEVELOPERS
index 59e2711bc8..747c94c750 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -2504,6 +2504,7 @@ F:	docs/manual/
 F:	package/cereal/
 F:	package/chartjs/
 F:	package/datatables/
+F:	package/datatables-buttons/
 F:	package/jszip/
 F:	package/libtelnet/
 F:	package/opkg-utils/
diff --git a/package/Config.in b/package/Config.in
index a460fc8453..66725e4243 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1569,6 +1569,7 @@ endif
 	source "package/bootstrap/Config.in"
 	source "package/chartjs/Config.in"
 	source "package/datatables/Config.in"
+	source "package/datatables-buttons/Config.in"
 	source "package/duktape/Config.in"
 	source "package/explorercanvas/Config.in"
 	source "package/flot/Config.in"
diff --git a/package/datatables-buttons/Config.in b/package/datatables-buttons/Config.in
new file mode 100644
index 0000000000..515038ebe5
--- /dev/null
+++ b/package/datatables-buttons/Config.in
@@ -0,0 +1,12 @@
+config BR2_PACKAGE_DATATABLES_BUTTONS
+	bool "datatables-buttons"
+	depends on BR2_PACKAGE_DATATABLES
+	select BR2_PACKAGE_JSZIP
+	help
+	  The Buttons library for DataTables provides a framework with
+	  common options and API that can be used with DataTables, but
+	  is also very extensible, recognising that you will likely want
+	  to use buttons which perform an action unique to your
+	  applications.
+
+	  https://datatables.net/extensions/buttons
diff --git a/package/datatables-buttons/datatables-buttons.hash b/package/datatables-buttons/datatables-buttons.hash
new file mode 100644
index 0000000000..336e4afd24
--- /dev/null
+++ b/package/datatables-buttons/datatables-buttons.hash
@@ -0,0 +1,3 @@
+# Locally computed:
+sha256	427632c0245f488328edab83b53294545744c8de621a5eaa9dd3d257d7ed7775  Buttons-1.6.1.zip
+sha256	21fa7cbc3c00bcad1e0f3417d465e702bd470d7dc446a6deff80c8fc5eda9148  Buttons-1.6.1/License.txt
diff --git a/package/datatables-buttons/datatables-buttons.mk b/package/datatables-buttons/datatables-buttons.mk
new file mode 100644
index 0000000000..fe66deac8e
--- /dev/null
+++ b/package/datatables-buttons/datatables-buttons.mk
@@ -0,0 +1,22 @@
+################################################################################
+#
+# datatables-buttons
+#
+################################################################################
+
+DATATABLES_BUTTONS_VERSION = 1.6.1
+DATATABLES_BUTTONS_SITE = https://datatables.net/releases
+DATATABLES_BUTTONS_SOURCE = Buttons-$(DATATABLES_BUTTONS_VERSION).zip
+DATATABLES_BUTTONS_LICENSE = MIT
+DATATABLES_BUTTONS_LICENSE_FILES = Buttons-$(DATATABLES_BUTTONS_VERSION)/License.txt
+define DATATABLES_BUTTONS_EXTRACT_CMDS
+	$(UNZIP) $(DATATABLES_BUTTONS_DL_DIR)/$(DATATABLES_BUTTONS_SOURCE) -d $(@D)
+endef
+
+define DATATABLES_BUTTONS_INSTALL_TARGET_CMDS
+	$(INSTALL) -m 0755 -d $(TARGET_DIR)/var/www/datatables-buttons/css $(TARGET_DIR)/var/www/datatables-buttons/js
+	$(INSTALL) -m 0644 -t $(TARGET_DIR)/var/www/datatables-buttons/css $(@D)/Buttons-$(DATATABLES_BUTTONS_VERSION)/css/*.min.css
+	$(INSTALL) -m 0644 -t $(TARGET_DIR)/var/www/datatables-buttons/js $(@D)/Buttons-$(DATATABLES_BUTTONS_VERSION)/js/*.min.js
+endef
+
+$(eval $(generic-package))
-- 
2.26.2

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

* [Buildroot] [PATCH 4/5] package/datatables-fixedcolumns: new package
  2020-12-08 18:05 [Buildroot] [PATCH 1/5] package/jszip: new package Thomas De Schampheleire
  2020-12-08 18:05 ` [Buildroot] [PATCH 2/5] package/datatables: " Thomas De Schampheleire
  2020-12-08 18:05 ` [Buildroot] [PATCH 3/5] package/datatables-buttons: " Thomas De Schampheleire
@ 2020-12-08 18:05 ` Thomas De Schampheleire
  2021-01-02 11:22   ` Thomas Petazzoni
  2020-12-08 18:05 ` [Buildroot] [PATCH 5/5] package/datatables-responsive: " Thomas De Schampheleire
  2021-01-02 10:33 ` [Buildroot] [PATCH 1/5] package/jszip: " Thomas Petazzoni
  4 siblings, 1 reply; 10+ messages in thread
From: Thomas De Schampheleire @ 2020-12-08 18:05 UTC (permalink / raw)
  To: buildroot

From: Joeri Barbarien <joeri.barbarien@nokia.com>

Signed-off-by: Joeri Barbarien <joeri.barbarien@nokia.com>
Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
---
 DEVELOPERS                                    |  1 +
 package/Config.in                             |  1 +
 package/datatables-fixedcolumns/Config.in     | 10 ++++++++
 .../datatables-fixedcolumns.hash              |  3 +++
 .../datatables-fixedcolumns.mk                | 23 +++++++++++++++++++
 5 files changed, 38 insertions(+)
 create mode 100644 package/datatables-fixedcolumns/Config.in
 create mode 100644 package/datatables-fixedcolumns/datatables-fixedcolumns.hash
 create mode 100644 package/datatables-fixedcolumns/datatables-fixedcolumns.mk

diff --git a/DEVELOPERS b/DEVELOPERS
index 747c94c750..60bbb30271 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -2505,6 +2505,7 @@ F:	package/cereal/
 F:	package/chartjs/
 F:	package/datatables/
 F:	package/datatables-buttons/
+F:	package/datatables-fixedcolumns/
 F:	package/jszip/
 F:	package/libtelnet/
 F:	package/opkg-utils/
diff --git a/package/Config.in b/package/Config.in
index 66725e4243..f1792aa46a 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1570,6 +1570,7 @@ endif
 	source "package/chartjs/Config.in"
 	source "package/datatables/Config.in"
 	source "package/datatables-buttons/Config.in"
+	source "package/datatables-fixedcolumns/Config.in"
 	source "package/duktape/Config.in"
 	source "package/explorercanvas/Config.in"
 	source "package/flot/Config.in"
diff --git a/package/datatables-fixedcolumns/Config.in b/package/datatables-fixedcolumns/Config.in
new file mode 100644
index 0000000000..4d2e5ea06f
--- /dev/null
+++ b/package/datatables-fixedcolumns/Config.in
@@ -0,0 +1,10 @@
+config BR2_PACKAGE_DATATABLES_FIXEDCOLUMNS
+	bool "datatables-fixedcolumns"
+	depends on BR2_PACKAGE_DATATABLES
+	help
+	  When making use of DataTables' x-axis scrolling feature
+	  (scrollX), you may wish to fix the left or right most columns
+	  in place. This extension for DataTables provides exactly this
+	  option.
+
+	  https://datatables.net/extensions/fixedcolumns
diff --git a/package/datatables-fixedcolumns/datatables-fixedcolumns.hash b/package/datatables-fixedcolumns/datatables-fixedcolumns.hash
new file mode 100644
index 0000000000..2d848c911b
--- /dev/null
+++ b/package/datatables-fixedcolumns/datatables-fixedcolumns.hash
@@ -0,0 +1,3 @@
+# Locally computed:
+sha256	53a7b20ea9dbb6498137cb7260bde8605989ec578e4b71787f5ebc4ef9910bd9  FixedColumns-3.3.0.zip
+sha256	e8e92f97216f9ea00cb2735b933a91ec8e3869bed37b6d63a90f76f41508f2de  FixedColumns-3.3.0/License.txt
diff --git a/package/datatables-fixedcolumns/datatables-fixedcolumns.mk b/package/datatables-fixedcolumns/datatables-fixedcolumns.mk
new file mode 100644
index 0000000000..82afa00f1a
--- /dev/null
+++ b/package/datatables-fixedcolumns/datatables-fixedcolumns.mk
@@ -0,0 +1,23 @@
+################################################################################
+#
+# datatables-fixedcolumns
+#
+################################################################################
+
+DATATABLES_FIXEDCOLUMNS_VERSION = 3.3.0
+DATATABLES_FIXEDCOLUMNS_SITE = https://datatables.net/releases
+DATATABLES_FIXEDCOLUMNS_SOURCE =  FixedColumns-$(DATATABLES_FIXEDCOLUMNS_VERSION).zip
+DATATABLES_FIXEDCOLUMNS_LICENSE = MIT
+DATATABLES_FIXEDCOLUMNS_LICENSE_FILES = FixedColumns-$(DATATABLES_FIXEDCOLUMNS_VERSION)/License.txt
+
+define DATATABLES_FIXEDCOLUMNS_EXTRACT_CMDS
+	$(UNZIP) $(DATATABLES_FIXEDCOLUMNS_DL_DIR)/$(DATATABLES_FIXEDCOLUMNS_SOURCE) -d $(@D)
+endef
+
+define DATATABLES_FIXEDCOLUMNS_INSTALL_TARGET_CMDS
+	$(INSTALL) -m 0755 -d $(TARGET_DIR)/var/www/datatables-fixedcolumns/css $(TARGET_DIR)/var/www/datatables-fixedcolumns/js
+	$(INSTALL) -m 0644 -t $(TARGET_DIR)/var/www/datatables-fixedcolumns/css $(@D)/FixedColumns-$(DATATABLES_FIXEDCOLUMNS_VERSION)/css/*.min.css
+	$(INSTALL) -m 0644 -t $(TARGET_DIR)/var/www/datatables-fixedcolumns/js $(@D)/FixedColumns-$(DATATABLES_FIXEDCOLUMNS_VERSION)/js/*.min.js
+endef
+
+$(eval $(generic-package))
-- 
2.26.2

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

* [Buildroot] [PATCH 5/5] package/datatables-responsive: new package
  2020-12-08 18:05 [Buildroot] [PATCH 1/5] package/jszip: new package Thomas De Schampheleire
                   ` (2 preceding siblings ...)
  2020-12-08 18:05 ` [Buildroot] [PATCH 4/5] package/datatables-fixedcolumns: " Thomas De Schampheleire
@ 2020-12-08 18:05 ` Thomas De Schampheleire
  2021-01-02 11:25   ` Thomas Petazzoni
  2021-01-02 10:33 ` [Buildroot] [PATCH 1/5] package/jszip: " Thomas Petazzoni
  4 siblings, 1 reply; 10+ messages in thread
From: Thomas De Schampheleire @ 2020-12-08 18:05 UTC (permalink / raw)
  To: buildroot

From: Joeri Barbarien <joeri.barbarien@nokia.com>

Signed-off-by: Joeri Barbarien <joeri.barbarien@nokia.com>
Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
---
 DEVELOPERS                                    |  1 +
 package/Config.in                             |  1 +
 package/datatables-responsive/Config.in       | 12 ++++++++++
 .../datatables-responsive.hash                |  3 +++
 .../datatables-responsive.mk                  | 23 +++++++++++++++++++
 5 files changed, 40 insertions(+)
 create mode 100644 package/datatables-responsive/Config.in
 create mode 100644 package/datatables-responsive/datatables-responsive.hash
 create mode 100644 package/datatables-responsive/datatables-responsive.mk

diff --git a/DEVELOPERS b/DEVELOPERS
index 60bbb30271..38a568dee1 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -2506,6 +2506,7 @@ F:	package/chartjs/
 F:	package/datatables/
 F:	package/datatables-buttons/
 F:	package/datatables-fixedcolumns/
+F:	package/datatables-responsive/
 F:	package/jszip/
 F:	package/libtelnet/
 F:	package/opkg-utils/
diff --git a/package/Config.in b/package/Config.in
index f1792aa46a..c9e28fa25d 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1571,6 +1571,7 @@ endif
 	source "package/datatables/Config.in"
 	source "package/datatables-buttons/Config.in"
 	source "package/datatables-fixedcolumns/Config.in"
+	source "package/datatables-responsive/Config.in"
 	source "package/duktape/Config.in"
 	source "package/explorercanvas/Config.in"
 	source "package/flot/Config.in"
diff --git a/package/datatables-responsive/Config.in b/package/datatables-responsive/Config.in
new file mode 100644
index 0000000000..085824af40
--- /dev/null
+++ b/package/datatables-responsive/Config.in
@@ -0,0 +1,12 @@
+config BR2_PACKAGE_DATATABLES_RESPONSIVE
+	bool "datatables-responsive"
+	depends on BR2_PACKAGE_DATATABLES
+	help
+	  In the modern world of responsive web design tables can often
+	  cause a particular problem for designers due to their row
+	  based layout.  Responsive is an extension for DataTables that
+	  resolves that problem by optimising the table's layout for
+	  different screen sizes through the dynamic insertion and
+	  removal of columns from the table.
+
+	  https://datatables.net/extensions/responsive
diff --git a/package/datatables-responsive/datatables-responsive.hash b/package/datatables-responsive/datatables-responsive.hash
new file mode 100644
index 0000000000..b2e55b4ae2
--- /dev/null
+++ b/package/datatables-responsive/datatables-responsive.hash
@@ -0,0 +1,3 @@
+# Locally computed:
+sha256	47caf3b753dd2c537b8834816eaf38c4df214cb4e6a97144e0de4cf82ad24d02  Responsive-2.2.3.zip
+sha256	da4e1020ae97c095a14d7830c1a8a793e080c062e22d749ecd3fc3c075673dbf  Responsive-2.2.3/License.txt
diff --git a/package/datatables-responsive/datatables-responsive.mk b/package/datatables-responsive/datatables-responsive.mk
new file mode 100644
index 0000000000..705dde3421
--- /dev/null
+++ b/package/datatables-responsive/datatables-responsive.mk
@@ -0,0 +1,23 @@
+################################################################################
+#
+# datatables-responsive
+#
+################################################################################
+
+DATATABLES_RESPONSIVE_VERSION = 2.2.3
+DATATABLES_RESPONSIVE_SITE = https://datatables.net/releases
+DATATABLES_RESPONSIVE_SOURCE =  Responsive-$(DATATABLES_RESPONSIVE_VERSION).zip
+DATATABLES_RESPONSIVE_LICENSE = MIT
+DATATABLES_RESPONSIVE_LICENSE_FILES = Responsive-$(DATATABLES_RESPONSIVE_VERSION)/License.txt
+
+define DATATABLES_RESPONSIVE_EXTRACT_CMDS
+	$(UNZIP) $(DATATABLES_RESPONSIVE_DL_DIR)/$(DATATABLES_RESPONSIVE_SOURCE) -d $(@D)
+endef
+
+define DATATABLES_RESPONSIVE_INSTALL_TARGET_CMDS
+	$(INSTALL) -m 0755 -d $(TARGET_DIR)/var/www/datatables-responsive/css $(TARGET_DIR)/var/www/datatables-responsive/js
+	$(INSTALL) -m 0644 -t $(TARGET_DIR)/var/www/datatables-responsive/css $(@D)/Responsive-$(DATATABLES_RESPONSIVE_VERSION)/css/*.min.css
+	$(INSTALL) -m 0644 -t $(TARGET_DIR)/var/www/datatables-responsive/js $(@D)/Responsive-$(DATATABLES_RESPONSIVE_VERSION)/js/*.min.js
+endef
+
+$(eval $(generic-package))
-- 
2.26.2

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

* [Buildroot] [PATCH 1/5] package/jszip: new package
  2020-12-08 18:05 [Buildroot] [PATCH 1/5] package/jszip: new package Thomas De Schampheleire
                   ` (3 preceding siblings ...)
  2020-12-08 18:05 ` [Buildroot] [PATCH 5/5] package/datatables-responsive: " Thomas De Schampheleire
@ 2021-01-02 10:33 ` Thomas Petazzoni
  4 siblings, 0 replies; 10+ messages in thread
From: Thomas Petazzoni @ 2021-01-02 10:33 UTC (permalink / raw)
  To: buildroot

Hello,

On Tue,  8 Dec 2020 19:05:24 +0100
Thomas De Schampheleire <patrickdepinguin@gmail.com> wrote:

> From: Joeri Barbarien <joeri.barbarien@nokia.com>
> 
> Signed-off-by: Joeri Barbarien <joeri.barbarien@nokia.com>
> Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>

Thanks, I've applied, with two changes.

> +JSZIP_VERSION = v3.2.2
> +JSZIP_SITE = $(call github,Stuk,jszip,$(JSZIP_VERSION))

Changed to:

+JSZIP_VERSION = 3.2.2
+JSZIP_SITE = $(call github,Stuk,jszip,v$(JSZIP_VERSION))

Indeed, we don't want the "v" in the version field, in order for
versions to match properly with what's on release-monitoring.org.

> +JSZIP_LICENSE = MIT

License is MIT or GPL-3.0

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

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

* [Buildroot] [PATCH 2/5] package/datatables: new package
  2020-12-08 18:05 ` [Buildroot] [PATCH 2/5] package/datatables: " Thomas De Schampheleire
@ 2021-01-02 10:55   ` Thomas Petazzoni
  0 siblings, 0 replies; 10+ messages in thread
From: Thomas Petazzoni @ 2021-01-02 10:55 UTC (permalink / raw)
  To: buildroot

Hello,

On Tue,  8 Dec 2020 19:05:25 +0100
Thomas De Schampheleire <patrickdepinguin@gmail.com> wrote:

> From: Joeri Barbarien <joeri.barbarien@nokia.com>
> 
> Signed-off-by: Joeri Barbarien <joeri.barbarien@nokia.com>
> Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>

Thanks, applied, with one change. See below.

> +DATATABLES_VERSION = 1.10.20
> +DATATABLES_SITE = https://datatables.net/releases
> +DATATABLES_SOURCE =  DataTables-$(DATATABLES_VERSION).zip
> +DATATABLES_LICENSE = MIT
> +DATATABLES_LICENSE_FILES = DataTables-$(DATATABLES_VERSION)/license.txt
> +
> +define DATATABLES_EXTRACT_CMDS
> +	$(UNZIP) $(DATATABLES_DL_DIR)/$(DATATABLES_SOURCE) -d $(@D)
> +endef
> +
> +define DATATABLES_INSTALL_TARGET_CMDS
> +	$(INSTALL) -m 0755 -d $(TARGET_DIR)/var/www/datatables/css $(TARGET_DIR)/var/www/datatables/js
> +	$(INSTALL) -m 0644 -t $(TARGET_DIR)/var/www/datatables/css $(@D)/DataTables-$(DATATABLES_VERSION)/media/css/*.min.css
> +	$(INSTALL) -m 0644 -t $(TARGET_DIR)/var/www/datatables/js $(@D)/DataTables-$(DATATABLES_VERSION)/media/js/*.min.js
> +endef

I've changed EXTRACT_CMDS to move files directly into $(@D):

+define DATATABLES_EXTRACT_CMDS
+       $(UNZIP) $(DATATABLES_DL_DIR)/$(DATATABLES_SOURCE) -d $(@D)
+       mv $(@D)/DataTables-$(DATATABLES_VERSION)/* $(@D)
+       rmdir $(@D)/DataTables-$(DATATABLES_VERSION)
+endef

We typically do that in other packages that use .zip files as sources.
It avoids the need for using $(@D)/DataTables-$(DATATABLES_VERSION)
everywhere.

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

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

* [Buildroot] [PATCH 3/5] package/datatables-buttons: new package
  2020-12-08 18:05 ` [Buildroot] [PATCH 3/5] package/datatables-buttons: " Thomas De Schampheleire
@ 2021-01-02 11:06   ` Thomas Petazzoni
  0 siblings, 0 replies; 10+ messages in thread
From: Thomas Petazzoni @ 2021-01-02 11:06 UTC (permalink / raw)
  To: buildroot

On Tue,  8 Dec 2020 19:05:26 +0100
Thomas De Schampheleire <patrickdepinguin@gmail.com> wrote:

> From: Joeri Barbarien <joeri.barbarien@nokia.com>
> 
> Signed-off-by: Joeri Barbarien <joeri.barbarien@nokia.com>
> Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
> ---
>  DEVELOPERS                                    |  1 +
>  package/Config.in                             |  1 +
>  package/datatables-buttons/Config.in          | 12 ++++++++++
>  .../datatables-buttons.hash                   |  3 +++
>  .../datatables-buttons/datatables-buttons.mk  | 22 +++++++++++++++++++
>  5 files changed, 39 insertions(+)
>  create mode 100644 package/datatables-buttons/Config.in
>  create mode 100644 package/datatables-buttons/datatables-buttons.hash
>  create mode 100644 package/datatables-buttons/datatables-buttons.mk

Applied to master with the same "move files to $(@D)" change than for
datatables. Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

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

* [Buildroot] [PATCH 4/5] package/datatables-fixedcolumns: new package
  2020-12-08 18:05 ` [Buildroot] [PATCH 4/5] package/datatables-fixedcolumns: " Thomas De Schampheleire
@ 2021-01-02 11:22   ` Thomas Petazzoni
  0 siblings, 0 replies; 10+ messages in thread
From: Thomas Petazzoni @ 2021-01-02 11:22 UTC (permalink / raw)
  To: buildroot

On Tue,  8 Dec 2020 19:05:27 +0100
Thomas De Schampheleire <patrickdepinguin@gmail.com> wrote:

> From: Joeri Barbarien <joeri.barbarien@nokia.com>
> 
> Signed-off-by: Joeri Barbarien <joeri.barbarien@nokia.com>
> Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
> ---
>  DEVELOPERS                                    |  1 +
>  package/Config.in                             |  1 +
>  package/datatables-fixedcolumns/Config.in     | 10 ++++++++
>  .../datatables-fixedcolumns.hash              |  3 +++
>  .../datatables-fixedcolumns.mk                | 23 +++++++++++++++++++
>  5 files changed, 38 insertions(+)
>  create mode 100644 package/datatables-fixedcolumns/Config.in
>  create mode 100644 package/datatables-fixedcolumns/datatables-fixedcolumns.hash
>  create mode 100644 package/datatables-fixedcolumns/datatables-fixedcolumns.mk

Applied to master with the same "move files to $(@D)" change. Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

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

* [Buildroot] [PATCH 5/5] package/datatables-responsive: new package
  2020-12-08 18:05 ` [Buildroot] [PATCH 5/5] package/datatables-responsive: " Thomas De Schampheleire
@ 2021-01-02 11:25   ` Thomas Petazzoni
  0 siblings, 0 replies; 10+ messages in thread
From: Thomas Petazzoni @ 2021-01-02 11:25 UTC (permalink / raw)
  To: buildroot

On Tue,  8 Dec 2020 19:05:28 +0100
Thomas De Schampheleire <patrickdepinguin@gmail.com> wrote:

> From: Joeri Barbarien <joeri.barbarien@nokia.com>
> 
> Signed-off-by: Joeri Barbarien <joeri.barbarien@nokia.com>
> Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
> ---
>  DEVELOPERS                                    |  1 +
>  package/Config.in                             |  1 +
>  package/datatables-responsive/Config.in       | 12 ++++++++++
>  .../datatables-responsive.hash                |  3 +++
>  .../datatables-responsive.mk                  | 23 +++++++++++++++++++
>  5 files changed, 40 insertions(+)
>  create mode 100644 package/datatables-responsive/Config.in
>  create mode 100644 package/datatables-responsive/datatables-responsive.hash
>  create mode 100644 package/datatables-responsive/datatables-responsive.mk

Applied to master with the same "move files to $(@D" change. Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

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

end of thread, other threads:[~2021-01-02 11:25 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-08 18:05 [Buildroot] [PATCH 1/5] package/jszip: new package Thomas De Schampheleire
2020-12-08 18:05 ` [Buildroot] [PATCH 2/5] package/datatables: " Thomas De Schampheleire
2021-01-02 10:55   ` Thomas Petazzoni
2020-12-08 18:05 ` [Buildroot] [PATCH 3/5] package/datatables-buttons: " Thomas De Schampheleire
2021-01-02 11:06   ` Thomas Petazzoni
2020-12-08 18:05 ` [Buildroot] [PATCH 4/5] package/datatables-fixedcolumns: " Thomas De Schampheleire
2021-01-02 11:22   ` Thomas Petazzoni
2020-12-08 18:05 ` [Buildroot] [PATCH 5/5] package/datatables-responsive: " Thomas De Schampheleire
2021-01-02 11:25   ` Thomas Petazzoni
2021-01-02 10:33 ` [Buildroot] [PATCH 1/5] package/jszip: " Thomas Petazzoni

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