Misc patches (branch yem/pw2)
cover Misc patches (branch yem/pw2)
Hello All!
Two patches initially by David, with some cleanups.
Regards,
Yann E. MORIN.
The following changes since commit c1f4413de6ec4f1484a5111b5c7aa98dd400d56e:
docs: fixup the website symlink (2015-01-25 15:30:08 +0100)
are available in the git repository at:
git://git.busybox.net/~ymorin/git/buildroot yem/pw2
for you to fetch changes up to 107e8470c800b7f83b91795000895086302f385b:
cgic: new package (2015-01-25 18:56:50 +0100)
----------------------------------------------------------------
David Bender (2):
benejson: new package
cgic: new package
package/Config.in | 2 + package/benejson/Config.in | 11 +++++ package/benejson/benejson.hash | 2 + package/benejson/benejson.mk | 52 ++++++++++++++++++++ package/cgic/0001-prepare_makefile.patch | 44 +++++++++++++++++ package/cgic/0002-file_enhancements.patch | 56 ++++++++++++++++++++++ .../0003-restore-cgiFormFileGetTempfileName.patch | 43 +++++++++++++++++ package/cgic/Config.in | 6 +++ package/cgic/cgic.hash | 2 + package/cgic/cgic.mk | 25 ++++++++++ 10 files changed, 243 insertions(+) create mode 100644 package/benejson/Config.in create mode 100644 package/benejson/benejson.hash create mode 100644 package/benejson/benejson.mk create mode 100644 package/cgic/0001-prepare_makefile.patch create mode 100644 package/cgic/0002-file_enhancements.patch create mode 100644 package/cgic/0003-restore-cgiFormFileGetTempfileName.patch create mode 100644 package/cgic/Config.in create mode 100644 package/cgic/cgic.hash create mode 100644 package/cgic/cgic.mk
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'
PATCH 1/2 benejson: new package
From: David Bender <[email protected]>
Added C/C++ JSON parsing package benejson.
[yann.morin.1998 at free.fr: fix static/shared install; enhance help entry;
fix extra space; add hash]
--- package/Config.in | 1 + package/benejson/Config.in | 11 +++++++++ package/benejson/benejson.hash | 2 ++ package/benejson/benejson.mk | 52 ++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 66 insertions(+) create mode 100644 package/benejson/Config.in create mode 100644 package/benejson/benejson.hash create mode 100644 package/benejson/benejson.mk
package/Config.in +1 -0
@@ -763,6 +763,7 @@ menu "Javascript" endmenu menu "JSON/XML" + source "package/benejson/Config.in" source "package/cjson/Config.in" source "package/expat/Config.in" source "package/ezxml/Config.in"
package/benejson/Config.in new file +11 -0
@@ -0,0 +1,11 @@ +config BR2_PACKAGE_BENEJSON + bool "benejson" + help + benejson is a buffering SAX-style JSON parser library. + The library package contains 3 major components: + + - benejson.js: SAX-style parser written in Javascript + - PullParser: A C++ class for JSON pull parsing + - Core: The parsing core with minimal dependencies + + https://codehero.github.io/benejson/
package/benejson/benejson.hash new file +2 -0
@@ -0,0 +1,2 @@ +# Localy computed +sha256 2ce5f3c2323500bdf651e7fcaecbd1011997141e6067567b8d2caa4cf7182f4a benejson-0.9.7.tar.gz
package/benejson/benejson.mk new file +52 -0
52 lines not on this page · raw message
Signature · 1 line
1.9.1
Thomas Petazzoni
AppliedPATCH 1/2 benejson: new package
Dear Yann E. MORIN,
Quoted 9 lines · Yann E. MORIN
From: David Bender <[email protected]>
Added C/C++ JSON parsing package benejson.
Signed-off-by Dave Bender <[email protected]>Signed-off-by David Bender <[email protected]>[yann.morin.1998 at free.fr: fix static/shared install; enhance help entry;
fix extra space; add hash]Signed-off-by Yann E. MORIN <[email protected]>
Thanks, applied after doing minor changes (see below).
package/benejson/benejson.mk line 15
Quoted 9 lines
package/benejson/benejson.mk new file +9
-0+BENEJSON_VERSION = 0.9.7 +BENEJSON_SITE = $(call github,codehero,benejson,$(BENEJSON_VERSION)) +BENEJSON_LICENSE = MIT +BENEJSON_LICENSE_FILES = LICENSE +BENEJSON_INSTALL_STAGING = YES + +BENEJSON_DEPENDENCIES = host-scons + +BENEJSON_SCONS_ENV = $(TARGET_CONFIGURE_OPTS) CROSS=$(TARGET_CROSS)
This variable is only used once, so I just removed its definition, and used its value where it was used.
package/benejson/benejson.mk line 21
Quoted 6 lines
package/benejson/benejson.mk new file +6
-0+ +define BENEJSON_BUILD_CMDS + (cd $(@D); \ + $(BENEJSON_SCONS_ENV) \ + $(SCONS) \ + $(BENEJSON_SCONS_OPTS) \
Indentation of one tab + one space is a bit weird, so I changed that to two tabs. I also removed the reference to BENEJSON_SCONS_OPTS since this variable was never defined.
Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
PATCH 2/2 cgic: new package
In reply to Yann E. MORINFrom: David Bender <[email protected]>
Added cgic library.
[yann.morin.1998 at free.fr: simplify rules to use -C $(@D); do not install
in target/ ; add description to patches; split patches into independent changes; add hash]
--- package/Config.in | 1 + package/cgic/0001-prepare_makefile.patch | 44 +++++++++++++++++ package/cgic/0002-file_enhancements.patch | 56 ++++++++++++++++++++++ .../0003-restore-cgiFormFileGetTempfileName.patch | 43 +++++++++++++++++ package/cgic/Config.in | 6 +++ package/cgic/cgic.hash | 2 + package/cgic/cgic.mk | 25 ++++++++++ 7 files changed, 177 insertions(+) create mode 100644 package/cgic/0001-prepare_makefile.patch create mode 100644 package/cgic/0002-file_enhancements.patch create mode 100644 package/cgic/0003-restore-cgiFormFileGetTempfileName.patch create mode 100644 package/cgic/Config.in create mode 100644 package/cgic/cgic.hash create mode 100644 package/cgic/cgic.mk
package/Config.in +1 -0
@@ -819,6 +819,7 @@ menu "Networking" source "package/agentpp/Config.in" source "package/c-ares/Config.in" source "package/canfestival/Config.in" + source "package/cgic/Config.in" source "package/cppzmq/Config.in" source "package/czmq/Config.in" source "package/filemq/Config.in"
package/cgic/0001-prepare_makefile.patch new file +44 -0
44 lines not on this page · raw message
package/cgic/0002-file_enhancements.patch new file +56 -0
56 lines not on this page · raw message
package/cgic/0003-restore-cgiFormFileGetTempfileName.patch new file +43 -0
43 lines not on this page · raw message
package/cgic/Config.in new file +6 -0
@@ -0,0 +1,6 @@ +config BR2_PACKAGE_CGIC + bool "cgic" + help + C CGI library + + http://www.boutell.com/cgic/
package/cgic/cgic.hash new file +2 -0
@@ -0,0 +1,2 @@ +# Localy computed +sha256 9562e0b6af59ebc2090107eab5946ce0788a1de36146ad181970cf53e9be7a33 cgic206.tar.gz
package/cgic/cgic.mk new file +25 -0
@@ -0,0 +1,25 @@ +################################################################################ +# +# cgic +# +################################################################################ + +CGIC_VERSION = 2.06 +CGIC_SOURCE = cgic206.tar.gz +CGIC_SITE = http://boutell.com/cgic +CGIC_LICENSE = Custom +CGIC_LICENSE_FILES = license.txt + +# Installs only a static library and a header file +CGIC_INSTALL_STAGING = YES +CGIC_INSTALL_TARGET = NO + +define CGIC_BUILD_CMDS + $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) libcgic.a +endef + +define CGIC_INSTALL_STAGING_CMDS + $(TARGET_CONFIGURE_OPTS) $(MAKE) PREFIX=$(STAGING_DIR) -C $(@D) install +endef + +$(eval $(generic-package))
Signature · 1 line
1.9.1
PATCH 2/2 cgic: new package
Dear Yann E. MORIN,
package/cgic/0002-file_enhancements.patch line 6
Quoted 4 lines · Yann E. MORIN
package/cgic/0002-file_enhancements.patch new file +4
-0+Probably-Signed-off-by: Dave Bender <[email protected]> +[yann.morin.1998 at free.fr: patch was made by Dave, but he + forgot his SoB line, so I added it; split the ptch in two + indpeendent fixes]
Some typos there fixed.
Other than that, applied, thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com