Commit Graph

86 Commits

Author SHA256 Message Date
Klaus Kämpf
beac2eb536 - Revert last change, drop 0005-disable_li_std_wstring.patch
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/swig?expand=0&rev=121
2020-05-23 11:43:44 +00:00
Klaus Kämpf
b6398419fa Accepting request 808351 from home:Andreas_Schwab:Factory
- Revert last change
- ruby-std-wstring-byte-order.patch: fix wstring encoding

OBS-URL: https://build.opensuse.org/request/show/808351
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/swig?expand=0&rev=120
2020-05-23 11:42:21 +00:00
Klaus Kämpf
9cfa3c7a7d Accepting request 807076 from home:michel_mno:branches:devel:tools:building
- Add 0005-disable_li_std_wstring.patch for BE arches
  (ppc64 s390 s390x) as bypass boo#1171368

OBS-URL: https://build.opensuse.org/request/show/807076
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/swig?expand=0&rev=118
2020-05-19 07:21:59 +00:00
Martin Pluskal
15e360eabd Accepting request 794144 from home:kwk:branches:devel:tools:building
- Ruby 2.7 support (cherry-picked from upstream)
  0001-Fix-code-generated-for-Ruby-global-variables.patch
  0002-Add-support-for-Ruby-2.7.patch
  0003-Move-new-macros-for-Ruby-to-their-dedicated-namespac.patch
  0004-Improve-description-of-cast-macros-for-Ruby.patch

OBS-URL: https://build.opensuse.org/request/show/794144
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/swig?expand=0&rev=116
2020-04-15 12:46:08 +00:00
Martin Pluskal
4a97955ae4 Accepting request 729459 from home:kwk:branches:devel:tools:building
Update to 4.0.1

OBS-URL: https://build.opensuse.org/request/show/729459
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/swig?expand=0&rev=114
2019-09-09 14:35:28 +00:00
Klaus Kämpf
635c445ef0 Accepting request 701625 from home:kwk:branches:devel:tools:building
- Update to 4.0.0
  - Support for Doxygen documentation comments which are parsed and
    converted into JavaDoc or PyDoc comments.
  - STL wrappers improved for C#, Java and Ruby.
  - C++11 STL containers added for Java, Python and Ruby.
  - Improved support for parsing C++11 and C++14 code.
  - Various fixes for shared_ptr.
  - Various C preprocessor corner case fixes.
  - Corner case fixes for member function pointers.
  - Python module overhaul by simplifying the generated code and turning
    most optimizations on by default.
  - %template improvements wrt scoping to align with C++ explicit
    template instantiations.
  - Added support for a command-line options file (sometimes
    called a response file).
  - Numerous enhancements and fixes for all supported target languages.
  - SWIG now classifies the status of target languages into either
    'Experimental' or 'Supported' to indicate the expected maturity
    level.
  - Support for CFFI, Allegrocl, Chicken, CLISP, S-EXP, UFFI, Pike,
    Modula3 has been removed.
  - Octave 4.4-5.1 support added.
  - PHP5 support removed, PHP7 is now the supported PHP version.
  - Minimum Python version required is now 2.7, 3.2-3.7 are the only
    other versions supported.
  - Added support for Javascript NodeJS versions 2-10.
  - OCaml support is much improved and updated, minimum OCaml version
    required is now 3.12.0.
  See https://raw.githubusercontent.com/swig/swig/master/CHANGES
- Drop patches (all included)
  swig-3.0.12-Coverity-fix-issue-reported-for-SWIG_Python_FixMetho.patch
  swig-3.0.12-Fix-generated-code-for-constant-expressions-containi.patch
  swig-perl526.patch
  swig-3.0.12-fix-collections.patch
  swig-3.0.12-Fix-Coverity-issue-reported-for-setslice-pycontainer.patch
  swig-3.0.12-Coverity-fix-issue-reported-for-wrapper-argument-che.patch
  swig-3.0.12-support-octave-4.4.patch
  swig-ocaml-int64.patch
  swig-3.0.12-Coverity-fix-issue-reported-for-SWIG_Python_ConvertF.patch

OBS-URL: https://build.opensuse.org/request/show/701625
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/swig?expand=0&rev=112
2019-05-13 06:21:09 +00:00
Klaus Kämpf
7e9d914a61 Accepting request 653065 from home:badshah400:branches:devel:tools:building
- Add swig-3.0.12-support-octave-4.4.patch to add support for
  octave 4.4; patch taken from upstream git (gh#swig/swig#1256).

OBS-URL: https://build.opensuse.org/request/show/653065
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/swig?expand=0&rev=110
2018-11-30 13:18:33 +00:00
Ismail Dönmez
9c69d6a8bc Accepting request 636170 from home:scarabeus_iv:branches:devel:tools:building
- Add patches to build with python 3.7 properly:
  * swig-3.0.12-Coverity-fix-issue-reported-for-SWIG_Python_ConvertF.patch
  * swig-3.0.12-Coverity-fix-issue-reported-for-SWIG_Python_FixMetho.patch
  * swig-3.0.12-Coverity-fix-issue-reported-for-wrapper-argument-che.patch
  * swig-3.0.12-Fix-Coverity-issue-reported-for-setslice-pycontainer.patch
  * swig-3.0.12-Fix-generated-code-for-constant-expressions-containi.patch
  * swig-3.0.12-fix-collections.patch
- Use version req to check for 1500 instead for non-existing release
- Move to generic requires those that are true under both conditions
- Use autopatch to apply all the patches at once

OBS-URL: https://build.opensuse.org/request/show/636170
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/swig?expand=0&rev=108
2018-09-18 08:10:32 +00:00
Klaus Kämpf
fc54490665 Accepting request 561433 from openSUSE:Factory:Staging:O
- Reduce some conditionals for old distros lets consider sle11/rhel6
  as minimal supported configuration
- Make sure we can be built and distributed with python3 only
  present in the system

OBS-URL: https://build.opensuse.org/request/show/561433
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/swig?expand=0&rev=106
2018-01-04 08:41:17 +00:00
Klaus Kämpf
2f1df77534 Accepting request 539781 from home:pluskalm:branches:devel:tools:building
- Run python2 and python3 tests for Factory

OBS-URL: https://build.opensuse.org/request/show/539781
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/swig?expand=0&rev=104
2017-11-08 08:40:08 +00:00
Klaus Kämpf
92633b4a17 Accepting request 528514 from home:coolo:branches:openSUSE:Factory
- add swig-perl526.patch from upstream to work with perl 5.26

OBS-URL: https://build.opensuse.org/request/show/528514
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/swig?expand=0&rev=102
2017-09-24 14:07:05 +00:00
Klaus Kämpf
bd9517a7ad Accepting request 454199 from home:adamm:branches:devel:libraries:c_c++
- use individual libboost-*-devel packages instead of boost-devel

OBS-URL: https://build.opensuse.org/request/show/454199
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/swig?expand=0&rev=100
2017-02-02 16:23:48 +00:00
Klaus Kämpf
bcf322cbc7 - Update to 3.0.12
- Add support for Octave-4.2.
  - Enhance %extend to support template functions.
  - Language specific enhancements and fixes for C#, D, Guile,
    Java, PHP7.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/swig?expand=0&rev=99
2017-02-01 11:23:29 +00:00
Klaus Kämpf
918ff4e793 - Update to 3.0.11
- PHP 7 support added.
  - C++11 alias templates and type aliasing support added.
  - Minor fixes and enhancements for C# Go Guile Java Javascript
    Octave PHP Python R Ruby Scilab XML.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/swig?expand=0&rev=97
2016-12-30 08:22:00 +00:00
Klaus Kämpf
a19da59ce3 - Update to 3.0.10
- Regression fixes for smart pointers and importing Python modules.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/swig?expand=0&rev=95
2016-06-13 06:38:43 +00:00
Klaus Kämpf
00e8283a3b - drop swig308-Fix-li_boost_array-test.patch, upstream
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/swig?expand=0&rev=94
2016-06-08 09:16:26 +00:00
Klaus Kämpf
ee1924f7f6 - Update to 3.0.9
- Add support for Python's implicit namespace packages.
  - Fixes to support Go 1.6.
  - C++11 std::array support added for Java.
  - Improved C++ multiple inheritance support for Java/C# wrappers.
  - Various other minor fixes and improvements for C#, D, Go, Java,
    Javascript, Lua, Python, R, Ruby, Scilab.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/swig?expand=0&rev=93
2016-05-30 09:52:48 +00:00
d3fa97065a Accepting request 397560 from home:olh:branches:devel:tools:building
- Add disabled build conditional for ocaml support (fate#320836)
- Add swig-ocaml-int64.patch (ocaml PR#6517, fate#320836)

- set CCSHARED to "-fPIC" on s390/s390x

OBS-URL: https://build.opensuse.org/request/show/397560
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/swig?expand=0&rev=91
2016-05-24 04:54:17 +00:00
Martin Pluskal
c8df5d8798 Accepting request 357373 from openSUSE:Factory:Staging:Gcc6
- Add swig308-isfinite.diff to fix isfinite issue with new glibc.

OBS-URL: https://build.opensuse.org/request/show/357373
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/swig?expand=0&rev=89
2016-02-02 16:00:56 +00:00
Ismail Dönmez
74c07b6309 - Add swig308-Fix-li_boost_array-test.patch to fix boost::array
test on PPC.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/swig?expand=0&rev=87
2016-01-07 21:11:18 +00:00
Klaus Kämpf
7ada186389 - Update to 3.0.8
- pdf documentation enhancements.
  - Various Python 3.5 issues fixed.
  - std::array support added for Ruby and Python.
  - shared_ptr support added for Ruby.
  - Minor improvements for CFFI, Go, Java, Perl, Python, Ruby.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/swig?expand=0&rev=86
2016-01-07 08:14:24 +00:00
Klaus Kämpf
e8aaf62775 - Update to 3.0.7
- Add support for Octave-4.0.0.
  - Remove potential Android security exploit in generated Java classes.
  - Minor new features and bug fixes.
- drop swig-octave4.patch and swig-3.0.6.patch, upstream now

OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/swig?expand=0&rev=84
2015-08-04 08:05:43 +00:00
Ismail Dönmez
88cf571a4f Accepting request 316053 from home:badshah400:branches:devel:tools:building
Fix octave>=4.0 bindings

OBS-URL: https://build.opensuse.org/request/show/316053
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/swig?expand=0&rev=82
2015-07-12 06:42:47 +00:00
Klaus Kämpf
821800cf35 - Fix ocaml check (swig-3.0.6.patch)
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/swig?expand=0&rev=81
2015-07-06 08:43:16 +00:00
Klaus Kämpf
8389bba7dd - explicitly disable ocaml (bug in configure script)
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/swig?expand=0&rev=80
2015-07-06 08:13:54 +00:00
Klaus Kämpf
e26735349b OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/swig?expand=0&rev=79 2015-07-06 07:27:18 +00:00
Klaus Kämpf
f233207b66 - Update to 3.0.6
- Stability and regression fixes.
  - Fixed parsing of C++ corner cases.
  - Language improvements and bug fixes for C#, Go, Java, Lua,
    Python, R.
- Update to version 3.0.5 
  * Added support for Scilab.
  * Important Python regression fix when wrapping C++ default arguments.
  * Minor improvements for C#, Go, Octave, PHP and Python.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/swig?expand=0&rev=78
2015-07-06 06:23:22 +00:00
Klaus Kämpf
9d4869e9fc Accepting request 283697 from home:Dmitry_R:branches:devel:tools:building
OBS-URL: https://build.opensuse.org/request/show/283697
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/swig?expand=0&rev=76
2015-02-02 07:15:44 +00:00
Klaus Kämpf
7e3987f76b - Update to 3.0.4
- Python regression fix when wrapping C++ default arguments.
  - Improved error messages.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/swig?expand=0&rev=74
2015-01-15 07:23:42 +00:00
Klaus Kämpf
ee7802506b - Update to 3.0.3
- Add support for C++11 strongly typed enumerations.
  - Numerous bug fixes and minor enhancements for C#, D, Go, Java,
    Javascript, PHP, Perl and Python wrappers.
- drop nested_classes.diff, patch is upstream

OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/swig?expand=0&rev=73
2015-01-07 14:09:01 +00:00
Klaus Kämpf
86210b9fab Accepting request 249171 from home:AndreasSchwab:f
- Fix syntax error in find command

OBS-URL: https://build.opensuse.org/request/show/249171
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/swig?expand=0&rev=71
2014-09-15 06:37:41 +00:00
Ismail Dönmez
78251af60c Accepting request 246524 from home:mlschroe:branches:devel:tools:building
->

OBS-URL: https://build.opensuse.org/request/show/246524
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/swig?expand=0&rev=69
2014-08-27 19:35:46 +00:00
Klaus Kämpf
9883310767 disable javascript
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/swig?expand=0&rev=67
2014-06-05 09:47:31 +00:00
Klaus Kämpf
65fc8d68ad - Update to 3.0.2
- Bug fix during install and a couple of other minor changes.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/swig?expand=0&rev=66
2014-06-05 07:22:33 +00:00
Klaus Kämpf
7f3f078c57 - Update to 3.0.1
- Javascript module added. This supports JavascriptCore (Safari/Webkit),
    v8 (Chromium) and node.js currently.
  - A few notable regressions introduced in 3.0.0 have been fixed - in
    Lua, nested classes and parsing of operator <<.
  - The usual round of bug fixes and minor improvements for:
    C#, GCJ, Go, Java, Lua, PHP and Python.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/swig?expand=0&rev=65
2014-05-28 06:51:22 +00:00
Klaus Kämpf
6f604dfc1b Accepting request 226429 from home:kwk:branches:devel:tools:building
- Update to 3.0.0
  - This is a major new release focusing primarily on C++
    improvements.
  - C++11 support added. Please see documentation for details of
    supported features:
    http://www.swig.org/Doc3.0/CPlusPlus11.html
  - Nested class support added. This has been taken full advantage
    of in Java and C#. Other languages can use the nested classes,
    but require further work for a more natural integration into
    the target language.
  - We urge folk knowledgeable in the other target languages to
    step forward and help with this effort.
  - Lua: improved metatables and support for %nspace.
  - Go 1.3 support added.
  - Python import improvements including relative imports.
  - Python 3.3 support completed.
  - Perl director support added.
  - C# .NET 2 support is now the minimum. Generated using statements
    are replaced by fully qualified names.
  - Bug fixes and improvements to the following languages:
    C#, Go, Guile, Java, Lua, Perl, PHP, Python, Octave, R, Ruby, Tcl
  - Various other bug fixes and improvements affecting all
    languages.
  - Note that this release contains some backwards incompatible
    changes in some languages.
  - Full detailed release notes are in the changes file.
- drop 0001-Fix-Ruby-tracking-code-to-use-C-hash.patch,
  ruby-1.8.6-newobject.patch, and swig-fix_ocaml_type.patch.
  All upstreamed.

OBS-URL: https://build.opensuse.org/request/show/226429
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/swig?expand=0&rev=63
2014-03-17 13:58:49 +00:00
Klaus Kämpf
66dae63279 drop obsolete tarball
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/swig?expand=0&rev=62
2014-02-13 08:59:34 +00:00
Klaus Kämpf
f05657c6d2 - Update to 2.0.12
- This is a maintenance release backporting some fixes from the
    pending 3.0.0 release.
  - Octave 3.8 support added.
  - C++11 support for new versions of erase/insert in the STL
    containers.
  - Compilation fixes on some systems for the generated Lua, PHP,
    Python and R wrappers.
 
  - Drop upstreamed patches:
    swig-lua-fix-void-return-for-int-functions.patch
    swig-support-octave-3.8.0.patch
    ruby-2.0-encoding-utf8.patch

OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/swig?expand=0&rev=60
2014-02-10 09:34:03 +00:00
Klaus Kämpf
536cb6b5d2 Accepting request 215615 from home:badshah400:branches:devel:tools:building
Add patch to make swig support octave >= 3.8.0

OBS-URL: https://build.opensuse.org/request/show/215615
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/swig?expand=0&rev=58
2014-01-30 11:49:32 +00:00
Klaus Kämpf
9108068fca Accepting request 201652 from home:badshah400:branches:devel:tools:building
Add patch to fix a swig regression in version 2.0.11 causing void returns in non-void functions; patch submitted upstream.

OBS-URL: https://build.opensuse.org/request/show/201652
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/swig?expand=0&rev=56
2013-10-02 06:33:50 +00:00
Klaus Kämpf
e574a90f5c Accepting request 200683 from home:kwk:branches:devel:tools:building
- Update to SWIG 2.0.11
  - Minor bug fixes and enhancements mostly in Python, but also
    C#, Lua, Ocaml, Octave, Perl, PHP, Python, R, Ruby, Tcl.

OBS-URL: https://build.opensuse.org/request/show/200683
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/swig?expand=0&rev=54
2013-09-26 09:12:59 +00:00
Ismail Dönmez
c5765806ac Accepting request 176931 from home:kwk:branches:devel:tools:building
- Ruby 1.8.6 (SLE10) tracks objects differently
  Add ruby-1.8.6-newobject.patch
- Remove skip-python-li_std_containers_int.patch, fixed upstream
- Remove python-2.4.patch, fixed upstream
- Fix Fedora/RHEL builds (BuildRequires:  perl-Test-Simple)

- Change Ruby 1.9+ object tracking to use C hashes, fixes all
  failed Ruby tests.
  Patch added:   0001-Fix-Ruby-tracking-code-to-use-C-hash.patch
  Patch removed: 0008-Ruby-Disable-broken-tests.patch

OBS-URL: https://build.opensuse.org/request/show/176931
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/swig?expand=0&rev=52
2013-05-29 11:54:28 +00:00
Klaus Kämpf
5c89de63fc - Ruby 2.0 strictly enforces encoding
Add ruby-2.0-encoding-utf8.patch

OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/swig?expand=0&rev=51
2013-05-28 13:04:53 +00:00
Klaus Kämpf
004052a460 - Update to SWIG 2.0.10
- Ruby 1.9 support is now complete.
  - Add support for Guile 2.0 and Guile 1.6 support (GH interface) has
    been dropped.
  - Various small language neutral improvements and fixes.
  - Various bug fixes and minor improvements specific to C#, CFFI, D,
    Java, Octave, PHP, Python,
  - Minor bug fix in ccache-swig.
  - Development has moved to Github with Travis continuous integration
    testing - patches using https://github.com/swig/swig are welcome.     
- drop 0012-Python-Disable-broken-test-in-threads_exception.patch

OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/swig?expand=0&rev=50
2013-05-28 07:47:58 +00:00
Philipp Thomas
c5762fc53a - Add swig-fix_ocaml_type.patch to change the declaration of
caml_array_length to match that in ocaml's header.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/swig?expand=0&rev=48
2013-03-28 11:01:12 +00:00
Klaus Kämpf
9535c6a376 - Fix RHEL4 and 6 build
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/swig?expand=0&rev=45
2012-12-20 09:47:28 +00:00
Klaus Kämpf
1661fc9130 - Fix RHEL6 build
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/swig?expand=0&rev=44
2012-12-20 09:40:24 +00:00
Ismail Dönmez
10fd96e572 Accepting request 145936 from systemsmanagement:wbem
- Update to SWIG 2.0.9
  SWIG-2.0.9 summary:
  - Improved typemap matching.
  - Ruby 1.9 support is much improved.
  - Various bug fixes and minor improvements in C#, CFFI, Go, Java,
    Modula3, Octave, Perl, Python, R, Ruby, Tcl and in ccache-swig.
- Removed patches (included in 2.0.9 release)
  - 0001-Ruby-replace-obsolete-STR2CSTR-macro-with-StringValu.patch
  - 0002-Ruby-use-RbConfig-instead-of-deprecated-Config-modul.patch
  - 0003-Ruby-Fix-include-pathes-for-Ruby-1.9.patch
  - 0004-Ruby-Add-local-dir-to-loadpath-for-Ruby-1.9.patch
  - 0007-Ruby-1.9-methods-returns-array-of-Symbols-now.patch
- Removed broken patch
  - swig-2.0.4-guile2.patch
- Disable tests failing on (deprecated) Python 2.4
  - new patch: python-2.4.patch

- fix build on SLE10: disable autogen.sh
  Add patch: PyInt_FromSize_t unavailable under Python 2.4

OBS-URL: https://build.opensuse.org/request/show/145936
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/swig?expand=0&rev=43
2012-12-19 22:17:47 +00:00
Klaus Kämpf
e2dfc111bd - Update to 2.0.8
* Fix a couple of regressions introduced in 2.0.5 and 2.0.7.
  * Improved using declarations and using directives support.
  * Minor fixes/enhancements for C#, Java, Octave, Perl and Python.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/swig?expand=0&rev=41
2012-11-04 21:54:18 +00:00
Klaus Kämpf
a6c8e61024 add patch documentation
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/swig?expand=0&rev=39
2012-05-29 08:00:54 +00:00