Commit Graph

14 Commits

Author SHA1 Message Date
Hirokazu MORIKAWA cdcc6edc13 swig: bump to 4.2.0
SWIG-4.2.0 summary:

        Various template wrapping improvements: template template parameters,
        variadic templates, partially specialized templates, const template
        parameters and improved error checking instantiating templates.
        Improved decltype() support for expressions.
        C++14 auto without trailing return type and C++11 auto variables.
        Numerous C++ using declarations improvements.
        Numerous fixes for constructors, destructors and assignment operators:
        implicit, default and deleted and related non-assignable variable
        wrappers.
        STL: std::array and std::map improvements, std::string_view support
        added.
        Various C preprocessor improvements.
        Various issues fixed to do with architecture specific long type.
        Various Doxygen improvements.
        D1/Tango support removed. D2/Phobos is now the supported D version
        and SWIG now generates code which works with recent D2 releases.
        New Javascript generator targeting Node.js binary stable ABI Node-API.
        Octave 8.1 support added.
        PHP7 support removed, PHP8 is now the supported PHP version.
        Python STL container wrappers now use the Python Iterator Protocol.
        Python stable ABI support added.
        Python 3.12 support added.
        Ruby 3.2 and 3.3 support.
        Scilab 2023.* support added.
        Various minor enhancements for C#, Go, Guile, Javascript, Lua, Ocaml,
        Perl, PHP, R, Racket, Ruby, Scilab and Tcl.
        A number of deprecated features have been removed.

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2024-01-04 12:00:12 +01:00
Michael Heimpold 15af23b011 swig: enable pcre2 support (refs #20604)
Now since pcre2 provides a host build, let's use it.
This is required for e.g. gensio package to provide
python bindings.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2023-03-15 07:32:29 +01:00
Hirokazu MORIKAWA f141e79455 swig: bump to 4.1.1
update summary
* Add Javascript Node v12-v18 support, remove support prior to v6.
* Octave 6.0 to 6.4 support added.
* Add PHP 8 support.
* PHP wrapping is now done entirely via PHP's C API - no more .php wrapper.
* Perl 5.8.0 is now the oldest version SWIG supports.
* Python 3.3 is now the oldest Python 3 version SWIG supports.
* Python 3.9-3.11 support added.
* Various memory leak fixes in Python generated code.
* Scilab 5.5-6.1 support improved.
* Many improvements for each and every target language.
* Various preprocessor expression handling improvements.
* Improved C99, C++11, C++14, C++17 support. Start adding C++20 standard.
* Make SWIG much more move semantics friendly.
* Add C++ std::unique_ptr support.
* Few minor C++ template handling improvements.
* Various C++ using declaration fixes.
* Few fixes for handling Doxygen comments.
* GitHub Actions is now used instead of Travis CI for continuous integration.
* Add building SWIG using CMake as a secondary build system.
* Update optional SWIG build dependency for regex support from PCRE to PCRE2.
* Couple of stability fixes.
* Stability fix in ccache-swig when calculating hashes of inputs.
* Some template handling improvements.
* R - minor fixes plus deprecation for rtypecheck typemaps being optional.

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2022-12-09 06:30:48 +08:00
Hirokazu MORIKAWA 1aa025c690 swig: support node.js v12
Maintainer: @blogic me
Compile tested: head r14241-ba2ddba, x86_64
Run tested: x86_64 (VirtualBox)

Description:
Addressed the build failure with node.js version 12.

https://github.com/openwrt/packages/pull/12225

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2020-08-25 17:37:07 +09:00
Rosen Penev 8ad11dcd22
swig: update to 4.0.2
Fix license information.

Add URL.

Add HOST_BUILD_PARALLEL for faster compilation.

Add PKG_HOST_ONLY to signify that this is to be used as a host package
only.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-06-25 17:41:49 -07:00
Hirokazu MORIKAWA 3858fac1d4 swig: update to 4.0.1
Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2019-08-26 09:41:29 +09:00
Hirokazu MORIKAWA 2811ca0f25 swig: update to 4.0.0
Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2019-05-17 11:17:49 +09:00
Hirokazu MORIKAWA 9924301f42 swig: support latest versions of node.js
Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2018-04-26 11:52:48 +09:00
Hirokazu MORIKAWA 2f3b30ab13 swig: bump to 3.0.12
Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2018-04-25 17:26:05 +09:00
Etienne Champetier 4006865ae8 treewide: run "make check FIXUP=1"
fix Makefile chmod (644)
replace MD5SUM with HASH
add PKG_MIRROR_HASH when PKG_SOURCE_PROTO:=git

(PKG_SOURCE_PROTO:=svn tarballs are not reproducible for now)

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2017-08-29 21:41:14 -07:00
Michael Heimpold def97187d2 Treewide fix of typo: PKG_LICENSE_FILE --> PKG_LICENSE_FILES
Without the trailing _S_ the variable is not considered at all.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2016-09-03 00:00:54 +02:00
John Crispin 010cb4848d swig: make it compile even if pcre libs are not available
Signed-off-by: John Crispin <blogic@openwrt.org>
2015-10-20 13:26:25 +02:00
John Crispin 36ce356436 swig: add PKG_LICENSE_FILE
Signed-off-by: John Crispin <blogic@openwrt.org>
2015-10-19 16:00:19 +02:00
John Crispin 23bee2145f swig: add host build
this is a binding generator needed to build node plugins

Signed-off-by: John Crispin <blogic@openwrt.org>
2015-10-19 12:20:10 +02:00