diff options
author | wiz <wiz> | 2013-06-14 18:41:30 +0000 |
---|---|---|
committer | wiz <wiz> | 2013-06-14 18:41:30 +0000 |
commit | 3bfe10cca9170873588bfd48e963b0a507d4e3d7 (patch) | |
tree | 71e54a801836cde564f95356938389e20b7849a7 | |
parent | df6b3ad87be73575aae47d1e0cfb265bf468d0b6 (diff) | |
download | pkgsrc-3bfe10cca9170873588bfd48e963b0a507d4e3d7.tar.gz |
Update to 2.0.10, based on the 2.0.9 package in wip provided by
Jason Bacon. Should make gnuradio find swig2.
Version 2.0.10 (27 May 2013)
============================
2013-05-25: wsfulton
[Python] Fix Python 3 inconsistency when negative numbers are passed
where a parameter expects an unsigned C type. An OverFlow error is
now consistently thrown instead of a TypeError.
2013-05-25: Artem Serebriyskiy
SVN Patch ticket #338 - fixes to %attribute macros for template usage
with %arg.
2013-05-19: wsfulton
Fix ccache-swig internal error bug due to premature file cleanup.
Fixes SF bug 1319 which shows up as a failure in the ccache tests on
Debian 64 bit Wheezy, possibly because ENABLE_ZLIB is defined.
This is a corner case which will be hit when the maximum number of files
in the cache is set to be quite low (-F option), resulting in a cache miss.
2013-05-09: kwwette
[Octave] Fix bugs in Octave module loading:
- fix a memory leak in setting of global variables
- install functions only once, to speed up module loads
2013-04-28: gjanssens
[Guile] Updates in guile module:
- Add support for guile 2.0
- Drop support for guile 1.6
- Drop support for generating wrappers using guile's gh interface.
All generated wrappers will use the scm interface from now on.
- Deprecate -gh and -scm options. They are no longer needed.
A warning will be issued when these options are still used.
- Fix all tests and examples to have a successful travis test
2013-04-18: wsfulton
Apply Patch #36 from Jesus Lopez to add support for $descriptor() special variable macro expansion
in fragments. For example:
%fragment("nameDescriptor", "header")
%{
static const char *nameDescriptor = "$descriptor(Name)";
%}
which will generate into the wrapper if the fragment is used:
static const char *nameDescriptor = "SWIGTYPE_Name";
2013-04-18: wsfulton
Fix SF Bug #428 - Syntax error when preprocessor macros are defined inside of enum lists, such as:
typedef enum {
eZero = 0
#define ONE 1
} EFoo;
The macros are silently ignored.
2013-04-17: wsfulton
[C#] Pull patch #34 from BrantKyser to fix smart pointers in conjuction with directors.
2013-04-15: kwwette
[Octave] Fix bugs in output of cleanup code.
- Cleanup code is now written also after the "fail:" label, so it will be called if
a SWIG_exception is raised by the wrapping function, consistent with other modules.
- Octave module now also recognises the "$cleanup" special variable, if needed.
2013-04-08: kwwette
Add -MP option to SWIG for generating phony targets for all dependencies.
- Prevents make from complaining if header files have been deleted before
the dependency file has been updated.
- Modelled on similar option in GCC.
2013-04-09: olly
[PHP] Add missing directorin typemap for char* and char[] which
fixes director_string testcase failure.
2013-04-05: wsfulton
[Ruby] SF Bug #1292 - Runtime fixes for Proc changes in ruby-1.9 when using STL
wrappers that override the default predicate, such as:
%template(Map) std::map<swig::LANGUAGE_OBJ, swig::LANGUAGE_OBJ, swig::BinaryPredicate<> >;
2013-04-05: wsfulton
[Ruby] SF Bug #1159 - Correctly check rb_respond_to call return values to fix some
further 1.9 problems with functors and use of Complex wrappers.
2013-04-02: wsfulton
[Ruby] Runtime fixes for std::complex wrappers for ruby-1.9 - new native Ruby complex numbers are used.
2013-03-30: wsfulton
[Ruby] Fix seg fault when using STL containers of generic Ruby types, GC_VALUE or LANGUAGE_OBJECT,
on exit of the Ruby interpreter. More frequently observed in ruby-1.9.
2013-03-29: wsfulton
[Ruby] Fix delete_if (reject!) for the STL container wrappers which previously would
sometimes seg fault or not work.
2013-03-25: wsfulton
[Python] Fix some undefined behaviour deleting slices in the STL containers.
2013-03-19: wsfulton
[C#, Java, D] Fix seg fault in SWIG using directors when class and virtual method names are
the same except being in different namespaces when the %nspace feature is not being used.
2013-02-19: kwwette
Fix bug in SWIG's handling of qualified (e.g. const) variables of array type. Given the typedef
a(7).q(volatile).double myarray // typedef volatile double[7] myarray;
the type
q(const).myarray // const myarray
becomes
a(7).q(const volatile).double // const volatile double[7]
Previously, SwigType_typedef_resolve() produces the type
q(const).a(7).q(volatile).double // non-sensical type
which would never match %typemap declarations, whose types were parsed correctly.
Add typemap_array_qualifiers.i to the test suite which checks for the correct behaviour.
2013-02-18: wsfulton
Deprecate typedef names used as constructor and destructor names in %extend. The real
class/struct name should be used.
typedef struct tagEStruct {
int ivar;
} EStruct;
%extend tagEStruct {
EStruct() // illegal name, should be tagEStruct()
{
EStruct *s = new EStruct();
s->ivar = ivar0;
return s;
}
~EStruct() // illegal name, should be ~tagEStruct()
{
delete $self;
}
}
For now these trigger a warning:
extend_constructor_destructor.i:107: Warning 522: Use of an illegal constructor name 'EStruct' in
%extend is deprecated, the constructor name should be 'tagEStruct'.
extend_constructor_destructor.i:111: Warning 523: Use of an illegal destructor name 'EStruct' in
%extend is deprecated, the destructor name should be 'tagEStruct'.
These %extend destructor and constructor names were valid up to swig-2.0.4, however swig-2.0.5 ignored
them altogether for C code as reported in SF bug #1306. The old behaviour of using them has been
restored for now, but is officially deprecated. This does not apply to anonymously defined typedef
classes/structs such as:
typedef struct {...} X;
2013-02-17: kwwette
When generating functions provided by %extend, use "(void)" for no-argument functions
instead of "()". This prevents warnings when compiling with "gcc -Wstrict-prototypes".
2013-02-17: kwwette
[Octave] Minor fix to autodoc generation: get the right type for functions returning structs.
2013-02-15: wsfulton
Deprecate typedef names used in %extend that are not the real class/struct name. For example:
typedef struct StructBName {
int myint;
} StructB;
%extend StructB {
void method() {}
}
will now trigger a warning:
swig_extend.i:19: Warning 326: Deprecated %extend name used - the struct name StructBName
should be used instead of the typedef name StructB.
This is only partially working anyway (the %extend only worked if placed after the class
definition).
2013-02-09: wsfulton
[CFFI] Apply patch #22 - Fix missing package before &body
2013-01-29: wsfulton
[Java] Ensure 'javapackage' typemap is used as it stopped working from version 2.0.5.
2013-01-28: wsfulton
[Python] Apply patch SF #334 - Fix default value conversions "TRUE"->True, "FALSE"->False.
2013-01-28: wsfulton
[Java] Apply patch SF #335 - Truly ignore constructors in directors with %ignore.
2013-01-18: Brant Kyser
[Java] Patch #15 - Allow the use of the nspace feature without the -package commandline option.
This works as long and the new jniclasspackage pragma is used to place the JNI intermediate class
into a package and the nspace feature is used to place all exposed types into a package.
2013-01-15: wsfulton
Fix Visual Studio examples to work when SWIG is unzipped into a directory containing spaces.
2013-01-15: wsfulton
[C#] Fix cstype typemap lookup for member variables so that a fully qualified variable name
matches. For example:
%typemap(cstype) bool MVar::mvar "MyBool"
struct MVar {
bool mvar;
};
2013-01-11: Brant Kyser
[Java, C#, D] SF Bug #1299 - Fix generated names for when %nspace is used on
classes with the same name in two different namespaces.
2013-01-11: Vladimir Kalinin
[C#] Add support for csdirectorin 'pre', 'post' and 'terminator' attributes.
2013-01-08: olly
[PHP] Fix to work with a ZTS build of PHP (broken in 2.0.7).
2013-01-07: olly
Fix bashism in configure, introduced in 2.0.9.
2013-01-06: wsfulton
Pull patch #4 from ptomulik to fix SF Bug #1296 - Fix incorrect warning for virtual destructors
in templates, such as:
Warning 521: Illegal destructor name B< A >::~B(). Ignored.
2013-01-05: wsfulton
[Python] Pull patch #3 from ptomulik to fix SF Bug #1295 - standard exceptions as
classes using the SWIG_STD_EXCEPTIONS_AS_CLASSES macro.
2013-01-04: wsfulton
[Java] Pull patch #2 from BrantKyser to fix SF Bug #1283 - fix smart pointers in conjuction
with directors.
2013-01-03: wsfulton
[Java] Pull patch #1 from BrantKyser to fix SF Bug #1278 - fix directors and nspace feature when
multilevel namespaces are used.
Version 2.0.9 (16 December 2012)
================================
2012-12-16: wsfulton
Fix garbage line number / empty file name reporting for some missing
'}' or ')' error messages.
2012-12-15: kkaempf
[Ruby] Apply patch 3530444, Class#methods and Class#constants returns array of
symbols in Ruby 1.9+
2012-12-14: kkaempf
[Ruby] Apply patch 3530439 and finally replace all occurrences of the STR2CSTR() macro
with StringValuePtr(). STR2CSTR was deprecated since years and got removed in Ruby 1.9
2012-12-14: kkaempf
[Ruby] Applied patches #3530442 and 3530443 to adapt compile and runtime include
paths to match Ruby 1.9+
2012-12-14: wsfulton
[CFFI] Fix #3161614 - Some string constants are incorrect
2012-12-13: wsfulton
[CFFI] Fix #3529690 - Fix incorrect constant names.
2012-12-12: drjoe
[R] add fix to finalizer that was missed earlier
2012-12-11: wsfulton
[Python] Apply patch #3590522 - fully qualified package paths for Python 3 even if a module is in the
same package.
2012-12-08: wsfulton
[Python] Bug #3563647 - PyInt_FromSize_t unavailable prior to Python 2.5 for unsigned int types.
2012-12-08: wsfulton
[Perl] Fix bug #3571361 - C++ comment in C wrappers.
2012-12-07: wsfulton
[C#] Apply patch #3571029 which adds missing director support for const unsigned long long &.
2012-11-28: kwwette
[Octave] Simplified module loading: now just the syntax
$ example;
is accepted, which loads functions globally but constants and variables relative to the current scope.
This make module loading behaviour reliably consistent, and reduces problems when loading modules which
depend on other modules which may not have been previously loaded.
2012-11-27: wsfulton
[cffi] Fix junk output when wrapping single character literal constants.
2012-11-17: wsfulton
[Tcl, Modula3] Add missing support for -outdir.
2012-11-17: wsfulton
Fix segfaults when using filename paths greater than 1024 characters in length.
2012-11-14: wsfulton
[ccache-swig] Apply patch #3586392 from Frederik Deweerdt to fix some error cases - incorrectly using
memory after it has been deleted.
2012-11-09: vzeitlin
[Python] Fix overflow when passing values greater than LONG_MAX from Python 3 for parameters with unsigned long C type.
2012-11-09: wsfulton
Fix some feature matching issues for implicit destructors and implicit constructors and implicit
copy constructors added with %copyctor. Previously a feature for these had to be fully qualified
in order to match. Now the following will also match:
%feature("xyz") ~XXX();
struct XXX {};
2012-11-09: wsfulton
Further consistency in named output typemap lookups for implicit constructors and destructors and
implicit copy constructors added with %copyctor. Previously only the fully qualified name was being
used, now the unqualified name will also be used. For example, previously:
example.i:38: Searching for a suitable 'out' typemap for: void Space::More::~More
Looking for: void Space::More::~More
Looking for: void
Now the unqualified name is also used:
example.i:38: Searching for a suitable 'out' typemap for: void Space::More::~More
Looking for: void Space::More::~More
Looking for: void ~More
Looking for: void
2012-11-02: wsfulton
Fix some subtle named output typemap lookup misses, the fully qualified name was not always being
used for variables, for example:
struct Glob {
int MyVar;
};
Previously the search rules (as shown by -debug-tmsearch) for the getter wrapper were:
example.i:44: Searching for a suitable 'out' typemap for: int MyVar
Looking for: int MyVar
Looking for: int
Now the scope is named correctly:
example.i:44: Searching for a suitable 'out' typemap for: int Glob::MyVar
Looking for: int Glob::MyVar
Looking for: int MyVar
Looking for: int
2012-10-26: wsfulton
Fix director typemap searching so that a typemap specified with a name will be correctly matched. Previously
the name was ignored during the typemap search. Applies to the following list of typemaps:
directorout, csdirectorout, cstype, imtype, ctype, ddirectorout, dtype, gotype, jtype, jni, javadirectorout.
2012-10-11: wsfulton
Most of the special variables available for use in %exception are now also available for expansion in
%extend blocks. These are: $name $symname $overname $decl $fulldecl $parentname $parentsymname, see docs
on "Class extension" in SWIGPlus.html. Patch based on submission from Kris Thielemans.
2012-10-10: wsfulton
Additional new special variables in %exception are expanded as follows:
$parentname - The parent class name (if any) for a method.
$parentsymname - The target language parent class name (if any) for a method.
2012-10-08: iant
[Go] Generating Go code now requires using the -intgosize option to
indicate the size of the 'int' type in Go. This is because the
size of the type is changing from Go 1.0 to Go 1.1 for x86_64.
2012-09-14: wsfulton
Add new warning if the empty template instantiation is used as a base class, for example:
template <typename T> class Base {};
%template() Base<int>;
class Derived : public Base<int> {};
gives the following warning instead of silently ignoring the base:
cpp_inherit.i:52: Warning 401: Base class 'Base< int >' has no name as it is an empty template instantiated with '%template()'. Ignored.
cpp_inherit.i:51: Warning 401: The %template directive must be written before 'Base< int >' is used as a base class and be declared with a name.
2012-09-11: wsfulton
[Java] Fix #3535304 - Direct use of a weak global reference in directors
sometimes causing seg faults especially on Android.
2012-09-06: wsfulton
[Java] Fix (char *STRING, size_t LENGTH) typemaps to accept NULL string.
2012-08-26: drjoe
[R] make ExternalReference slot ref to contain reference
2012-08-26: drjoe
[R] fix Examples/Makefile to use C in $(CC) rather than $(CXX)
-rw-r--r-- | devel/swig2/Makefile | 12 | ||||
-rw-r--r-- | devel/swig2/PLIST | 113 | ||||
-rw-r--r-- | devel/swig2/buildlink3.mk | 16 | ||||
-rw-r--r-- | devel/swig2/distinfo | 8 |
4 files changed, 95 insertions, 54 deletions
diff --git a/devel/swig2/Makefile b/devel/swig2/Makefile index 2d066589cfa..2dba471ba2d 100644 --- a/devel/swig2/Makefile +++ b/devel/swig2/Makefile @@ -1,7 +1,6 @@ -# $NetBSD: Makefile,v 1.2 2013/02/15 11:54:02 obache Exp $ +# $NetBSD: Makefile,v 1.3 2013/06/14 18:41:30 wiz Exp $ -DISTNAME= swig-2.0.8 -PKGREVISION= 2 +DISTNAME= swig-2.0.10 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=swig/} @@ -24,10 +23,15 @@ CONFLICTS= swig-build-[0-9]* # 2012-10: gnuradio is said to work with swig2 (private communication # by gdt@ with a GNU Radio developer). However, it doesn't find 'swig2'. +# Solution: Use --program-suffix=2.0, not --program-suffix=2 +# FindSWIG, installed by cmake, looks for executable named swig2.0, then swig +# bin/swig2.0 is the standard used by other OS's +# http://packages.debian.org/sid/i386/swig2.0/filelist +# http://svnweb.freebsd.org/ports/head/devel/swig20/pkg-plist?revision=306553&view=markup # Keep the path from changing due to minor version bumps. CONFIGURE_ARGS+= --with-swiglibdir=${PREFIX}/share/swig/2.0 \ - --program-suffix=2 + --program-suffix=2.0 BUILD_TARGET= swig USE_TOOLS+= gmake pax diff --git a/devel/swig2/PLIST b/devel/swig2/PLIST index 28b82b91bed..dc69f97b448 100644 --- a/devel/swig2/PLIST +++ b/devel/swig2/PLIST @@ -1,7 +1,7 @@ -@comment $NetBSD: PLIST,v 1.1 2012/11/09 14:25:44 gdt Exp $ -bin/ccache-swig2 -bin/swig2 -man/man1/ccache-swig2.1 +@comment $NetBSD: PLIST,v 1.2 2013/06/14 18:41:30 wiz Exp $ +bin/ccache-swig2.0 +bin/swig2.0 +man/man1/ccache-swig2.0.1 share/doc/swig/2.0/SWIGDocumentation.html share/doc/swig/2.0/SWIGDocumentation.pdf share/doc/swig/2.0/android-class.png @@ -25,6 +25,21 @@ share/examples/swig/2.0/android/class/project.properties share/examples/swig/2.0/android/class/res/layout/main.xml share/examples/swig/2.0/android/class/res/values/strings.xml share/examples/swig/2.0/android/class/src/org/swig/classexample/SwigClass.java +share/examples/swig/2.0/android/extend/AndroidManifest.xml +share/examples/swig/2.0/android/extend/Makefile +share/examples/swig/2.0/android/extend/ant.properties +share/examples/swig/2.0/android/extend/build.xml +share/examples/swig/2.0/android/extend/jni/Android.mk +share/examples/swig/2.0/android/extend/jni/Application.mk +share/examples/swig/2.0/android/extend/jni/example.cpp +share/examples/swig/2.0/android/extend/jni/example.h +share/examples/swig/2.0/android/extend/jni/example.i +share/examples/swig/2.0/android/extend/local.properties +share/examples/swig/2.0/android/extend/proguard.cfg +share/examples/swig/2.0/android/extend/project.properties +share/examples/swig/2.0/android/extend/res/layout/main.xml +share/examples/swig/2.0/android/extend/res/values/strings.xml +share/examples/swig/2.0/android/extend/src/org/swig/extendexample/SwigExtend.java share/examples/swig/2.0/android/simple/AndroidManifest.xml share/examples/swig/2.0/android/simple/Makefile share/examples/swig/2.0/android/simple/ant.properties @@ -44,11 +59,11 @@ share/examples/swig/2.0/chicken/class/Makefile share/examples/swig/2.0/chicken/class/example.cxx share/examples/swig/2.0/chicken/class/example.h share/examples/swig/2.0/chicken/class/example.i -share/examples/swig/2.0/chicken/class/test-lowlevel-class.scm -share/examples/swig/2.0/chicken/class/test-tinyclos-class.scm +share/examples/swig/2.0/chicken/class/runme-lowlevel.scm +share/examples/swig/2.0/chicken/class/runme-tinyclos.scm share/examples/swig/2.0/chicken/constants/Makefile share/examples/swig/2.0/chicken/constants/example.i -share/examples/swig/2.0/chicken/constants/test-constants.scm +share/examples/swig/2.0/chicken/constants/runme.scm share/examples/swig/2.0/chicken/egg/Makefile share/examples/swig/2.0/chicken/egg/README share/examples/swig/2.0/chicken/egg/mod1.i @@ -61,18 +76,18 @@ share/examples/swig/2.0/chicken/egg/test.scm share/examples/swig/2.0/chicken/multimap/Makefile share/examples/swig/2.0/chicken/multimap/example.c share/examples/swig/2.0/chicken/multimap/example.i -share/examples/swig/2.0/chicken/multimap/test-multimap.scm +share/examples/swig/2.0/chicken/multimap/runme.scm share/examples/swig/2.0/chicken/overload/Makefile share/examples/swig/2.0/chicken/overload/README share/examples/swig/2.0/chicken/overload/example.cxx share/examples/swig/2.0/chicken/overload/example.h share/examples/swig/2.0/chicken/overload/example.i -share/examples/swig/2.0/chicken/overload/test-overload.scm +share/examples/swig/2.0/chicken/overload/runme.scm share/examples/swig/2.0/chicken/simple/Makefile share/examples/swig/2.0/chicken/simple/README share/examples/swig/2.0/chicken/simple/example.c share/examples/swig/2.0/chicken/simple/example.i -share/examples/swig/2.0/chicken/simple/test-simple.scm +share/examples/swig/2.0/chicken/simple/runme.scm share/examples/swig/2.0/contract/simple_c/example.c share/examples/swig/2.0/contract/simple_c/example.i share/examples/swig/2.0/contract/simple_c/runme1.py @@ -273,19 +288,22 @@ share/examples/swig/2.0/go/variables/example.h share/examples/swig/2.0/go/variables/example.i share/examples/swig/2.0/go/variables/index.html share/examples/swig/2.0/go/variables/runme.go -share/examples/swig/2.0/guile/Makefile share/examples/swig/2.0/guile/README share/examples/swig/2.0/guile/check.list +share/examples/swig/2.0/guile/class/Makefile +share/examples/swig/2.0/guile/class/example.cxx +share/examples/swig/2.0/guile/class/example.h +share/examples/swig/2.0/guile/class/example.i +share/examples/swig/2.0/guile/class/runme.scm share/examples/swig/2.0/guile/constants/Makefile -share/examples/swig/2.0/guile/constants/constants.scm share/examples/swig/2.0/guile/constants/example.i +share/examples/swig/2.0/guile/constants/runme.scm share/examples/swig/2.0/guile/matrix/Makefile share/examples/swig/2.0/guile/matrix/README -share/examples/swig/2.0/guile/matrix/main.c +share/examples/swig/2.0/guile/matrix/example.i share/examples/swig/2.0/guile/matrix/matrix.c share/examples/swig/2.0/guile/matrix/matrix.i -share/examples/swig/2.0/guile/matrix/matrix.scm -share/examples/swig/2.0/guile/matrix/package.i +share/examples/swig/2.0/guile/matrix/runme.scm share/examples/swig/2.0/guile/matrix/vector.c share/examples/swig/2.0/guile/matrix/vector.h share/examples/swig/2.0/guile/matrix/vector.i @@ -299,14 +317,14 @@ share/examples/swig/2.0/guile/multivalue/example.i share/examples/swig/2.0/guile/multivalue/runme.scm share/examples/swig/2.0/guile/port/Makefile share/examples/swig/2.0/guile/port/README -share/examples/swig/2.0/guile/port/port.c -share/examples/swig/2.0/guile/port/port.i -share/examples/swig/2.0/guile/port/port.scm +share/examples/swig/2.0/guile/port/example.c +share/examples/swig/2.0/guile/port/example.i +share/examples/swig/2.0/guile/port/runme.scm share/examples/swig/2.0/guile/simple/Makefile share/examples/swig/2.0/guile/simple/README share/examples/swig/2.0/guile/simple/example.c share/examples/swig/2.0/guile/simple/example.i -share/examples/swig/2.0/guile/simple/example.scm +share/examples/swig/2.0/guile/simple/runme.scm share/examples/swig/2.0/guile/std_vector/Makefile share/examples/swig/2.0/guile/std_vector/example.h share/examples/swig/2.0/guile/std_vector/example.i @@ -496,16 +514,16 @@ share/examples/swig/2.0/mzscheme/check.list share/examples/swig/2.0/mzscheme/multimap/Makefile share/examples/swig/2.0/mzscheme/multimap/example.c share/examples/swig/2.0/mzscheme/multimap/example.i -share/examples/swig/2.0/mzscheme/multimap/example.scm +share/examples/swig/2.0/mzscheme/multimap/runme.scm share/examples/swig/2.0/mzscheme/simple/Makefile share/examples/swig/2.0/mzscheme/simple/README share/examples/swig/2.0/mzscheme/simple/example.c share/examples/swig/2.0/mzscheme/simple/example.i -share/examples/swig/2.0/mzscheme/simple/example.scm +share/examples/swig/2.0/mzscheme/simple/runme.scm share/examples/swig/2.0/mzscheme/std_vector/Makefile share/examples/swig/2.0/mzscheme/std_vector/example.h share/examples/swig/2.0/mzscheme/std_vector/example.i -share/examples/swig/2.0/mzscheme/std_vector/example.scm +share/examples/swig/2.0/mzscheme/std_vector/runme.scm share/examples/swig/2.0/ocaml/argout_ref/Makefile share/examples/swig/2.0/ocaml/argout_ref/example.c share/examples/swig/2.0/ocaml/argout_ref/example.i @@ -1274,6 +1292,7 @@ share/examples/swig/2.0/test-suite/chicken/Makefile share/examples/swig/2.0/test-suite/chicken/README share/examples/swig/2.0/test-suite/chicken/casts_runme.ss share/examples/swig/2.0/test-suite/chicken/char_constant_runme.ss +share/examples/swig/2.0/test-suite/chicken/chicken_ext_test_external.cxx share/examples/swig/2.0/test-suite/chicken/chicken_ext_test_runme.ss share/examples/swig/2.0/test-suite/chicken/class_ignore_runme.ss share/examples/swig/2.0/test-suite/chicken/clientdata_prop_runme_proxy.ss @@ -1283,7 +1302,6 @@ share/examples/swig/2.0/test-suite/chicken/cpp_basic_runme_proxy.ss share/examples/swig/2.0/test-suite/chicken/cpp_enum_runme.ss share/examples/swig/2.0/test-suite/chicken/cpp_namespace_runme.ss share/examples/swig/2.0/test-suite/chicken/dynamic_cast_runme.ss -share/examples/swig/2.0/test-suite/chicken/ext_test_external.cxx share/examples/swig/2.0/test-suite/chicken/global_vars_runme.ss share/examples/swig/2.0/test-suite/chicken/global_vars_runme_proxy.ss share/examples/swig/2.0/test-suite/chicken/import_nomodule_runme.ss @@ -1379,6 +1397,7 @@ share/examples/swig/2.0/test-suite/csharp/director_ignore_runme.cs share/examples/swig/2.0/test-suite/csharp/director_nspace_runme.cs share/examples/swig/2.0/test-suite/csharp/director_primitives_runme.cs share/examples/swig/2.0/test-suite/csharp/director_protected_runme.cs +share/examples/swig/2.0/test-suite/csharp/director_smartptr_runme.cs share/examples/swig/2.0/test-suite/csharp/director_string_runme.cs share/examples/swig/2.0/test-suite/csharp/enum_forward_runme.cs share/examples/swig/2.0/test-suite/csharp/enum_thorough_runme.cs @@ -1428,6 +1447,7 @@ share/examples/swig/2.0/test-suite/csharp_features.i share/examples/swig/2.0/test-suite/csharp_lib_arrays.i share/examples/swig/2.0/test-suite/csharp_prepost.i share/examples/swig/2.0/test-suite/csharp_typemaps.i +share/examples/swig/2.0/test-suite/curiously_recurring_template_pattern.i share/examples/swig/2.0/test-suite/d/Makefile share/examples/swig/2.0/test-suite/d/README share/examples/swig/2.0/test-suite/d/aggregate_runme.1.d @@ -1549,12 +1569,15 @@ share/examples/swig/2.0/test-suite/director_keywords.i share/examples/swig/2.0/test-suite/director_namespace_clash.i share/examples/swig/2.0/test-suite/director_nested.i share/examples/swig/2.0/test-suite/director_nspace.i +share/examples/swig/2.0/test-suite/director_nspace_director_name_collision.i share/examples/swig/2.0/test-suite/director_overload.i +share/examples/swig/2.0/test-suite/director_overload2.i share/examples/swig/2.0/test-suite/director_primitives.i share/examples/swig/2.0/test-suite/director_profile.i share/examples/swig/2.0/test-suite/director_protected.i share/examples/swig/2.0/test-suite/director_protected_overloaded.i share/examples/swig/2.0/test-suite/director_redefined.i +share/examples/swig/2.0/test-suite/director_smartptr.i share/examples/swig/2.0/test-suite/director_stl.i share/examples/swig/2.0/test-suite/director_string.i share/examples/swig/2.0/test-suite/director_thread.i @@ -1566,6 +1589,7 @@ share/examples/swig/2.0/test-suite/disown.i share/examples/swig/2.0/test-suite/dynamic_cast.i share/examples/swig/2.0/test-suite/empty.i share/examples/swig/2.0/test-suite/enum_forward.i +share/examples/swig/2.0/test-suite/enum_macro.i share/examples/swig/2.0/test-suite/enum_plus.i share/examples/swig/2.0/test-suite/enum_rename.i share/examples/swig/2.0/test-suite/enum_scope_template.i @@ -1601,6 +1625,7 @@ share/examples/swig/2.0/test-suite/errors/cpp_extend_undefined.i share/examples/swig/2.0/test-suite/errors/cpp_inherit.i share/examples/swig/2.0/test-suite/errors/cpp_inline_namespace.i share/examples/swig/2.0/test-suite/errors/cpp_macro_locator.i +share/examples/swig/2.0/test-suite/errors/cpp_missing_rparenthesis.i share/examples/swig/2.0/test-suite/errors/cpp_missing_rtemplate.i share/examples/swig/2.0/test-suite/errors/cpp_namespace_alias.i share/examples/swig/2.0/test-suite/errors/cpp_namespace_aliasnot.i @@ -1655,6 +1680,7 @@ share/examples/swig/2.0/test-suite/errors/pp_unterm_comment.i share/examples/swig/2.0/test-suite/errors/pp_unterm_string.i share/examples/swig/2.0/test-suite/errors/pp_variable_args.i share/examples/swig/2.0/test-suite/errors/swig_apply_nargs.i +share/examples/swig/2.0/test-suite/errors/swig_extend.i share/examples/swig/2.0/test-suite/errors/swig_identifier.i share/examples/swig/2.0/test-suite/errors/swig_insert_bad.i share/examples/swig/2.0/test-suite/errors/swig_typemap_copy.i @@ -1670,6 +1696,7 @@ share/examples/swig/2.0/test-suite/extend.i share/examples/swig/2.0/test-suite/extend_constructor_destructor.i share/examples/swig/2.0/test-suite/extend_default.i share/examples/swig/2.0/test-suite/extend_placement.i +share/examples/swig/2.0/test-suite/extend_special_variables.i share/examples/swig/2.0/test-suite/extend_template.i share/examples/swig/2.0/test-suite/extend_template_ns.i share/examples/swig/2.0/test-suite/extend_typedef_class.i @@ -1846,6 +1873,8 @@ share/examples/swig/2.0/test-suite/guile/contract_runme.scm share/examples/swig/2.0/test-suite/guile/cpp_enum_runme.scm share/examples/swig/2.0/test-suite/guile/cpp_namespace_runme.scm share/examples/swig/2.0/test-suite/guile/dynamic_cast_runme.scm +share/examples/swig/2.0/test-suite/guile/guile_ext_test_external.cxx +share/examples/swig/2.0/test-suite/guile/guile_ext_test_runme.scm share/examples/swig/2.0/test-suite/guile/import_nomodule_runme.scm share/examples/swig/2.0/test-suite/guile/imports_runme.scm share/examples/swig/2.0/test-suite/guile/inherit_missing_runme.scm @@ -1867,10 +1896,7 @@ share/examples/swig/2.0/test-suite/guile/throw_exception_runme.scm share/examples/swig/2.0/test-suite/guile/typedef_inherit_runme.scm share/examples/swig/2.0/test-suite/guile/typename_runme.scm share/examples/swig/2.0/test-suite/guile/unions_runme.scm -share/examples/swig/2.0/test-suite/guilescm/Makefile -share/examples/swig/2.0/test-suite/guilescm/ext_test_external.cxx -share/examples/swig/2.0/test-suite/guilescm/guilescm_ext_test_runme.scm -share/examples/swig/2.0/test-suite/guilescm_ext_test.i +share/examples/swig/2.0/test-suite/guile_ext_test.i share/examples/swig/2.0/test-suite/iadd.i share/examples/swig/2.0/test-suite/ignore_parameter.i share/examples/swig/2.0/test-suite/ignore_template_constructor.i @@ -1911,6 +1937,7 @@ share/examples/swig/2.0/test-suite/java/arrays_global_twodim_runme.java share/examples/swig/2.0/test-suite/java/char_binary_runme.java share/examples/swig/2.0/test-suite/java/char_strings_runme.java share/examples/swig/2.0/test-suite/java/cpp_typedef_runme.java +share/examples/swig/2.0/test-suite/java/curiously_recurring_template_pattern_runme.java share/examples/swig/2.0/test-suite/java/default_args_runme.java share/examples/swig/2.0/test-suite/java/default_constructor_runme.java share/examples/swig/2.0/test-suite/java/director_abstract_runme.java @@ -1926,18 +1953,21 @@ share/examples/swig/2.0/test-suite/java/director_ignore_runme.java share/examples/swig/2.0/test-suite/java/director_nspace_runme.java share/examples/swig/2.0/test-suite/java/director_primitives_runme.java share/examples/swig/2.0/test-suite/java/director_protected_runme.java +share/examples/swig/2.0/test-suite/java/director_smartptr_runme.java share/examples/swig/2.0/test-suite/java/director_string_runme.java share/examples/swig/2.0/test-suite/java/director_thread_runme.java share/examples/swig/2.0/test-suite/java/director_unroll_runme.java share/examples/swig/2.0/test-suite/java/director_wombat_runme.java share/examples/swig/2.0/test-suite/java/dynamic_cast_runme.java share/examples/swig/2.0/test-suite/java/enum_forward_runme.java +share/examples/swig/2.0/test-suite/java/enum_macro_runme.java share/examples/swig/2.0/test-suite/java/enum_thorough_proper_runme.java share/examples/swig/2.0/test-suite/java/enum_thorough_runme.java share/examples/swig/2.0/test-suite/java/enum_thorough_simple_runme.java share/examples/swig/2.0/test-suite/java/enum_thorough_typeunsafe_runme.java share/examples/swig/2.0/test-suite/java/extend_constructor_destructor_runme.java share/examples/swig/2.0/test-suite/java/extend_default_runme.java +share/examples/swig/2.0/test-suite/java/extend_special_variables_runme.java share/examples/swig/2.0/test-suite/java/extend_typedef_class_runme.java share/examples/swig/2.0/test-suite/java/extern_declaration_runme.java share/examples/swig/2.0/test-suite/java/friends_runme.java @@ -2032,6 +2062,7 @@ share/examples/swig/2.0/test-suite/java_jnitypes.i share/examples/swig/2.0/test-suite/java_lib_arrays.i share/examples/swig/2.0/test-suite/java_lib_arrays_dimensionless.i share/examples/swig/2.0/test-suite/java_lib_various.i +share/examples/swig/2.0/test-suite/java_nspacewithoutpackage.i share/examples/swig/2.0/test-suite/java_pgcpp.i share/examples/swig/2.0/test-suite/java_pragmas.i share/examples/swig/2.0/test-suite/java_prepost.i @@ -2044,6 +2075,7 @@ share/examples/swig/2.0/test-suite/kwargs_feature.i share/examples/swig/2.0/test-suite/langobj.i share/examples/swig/2.0/test-suite/lextype.i share/examples/swig/2.0/test-suite/li_attribute.i +share/examples/swig/2.0/test-suite/li_attribute_template.i share/examples/swig/2.0/test-suite/li_boost_intrusive_ptr.i share/examples/swig/2.0/test-suite/li_boost_shared_ptr.i share/examples/swig/2.0/test-suite/li_boost_shared_ptr_bits.i @@ -2065,6 +2097,7 @@ share/examples/swig/2.0/test-suite/li_std_combinations.i share/examples/swig/2.0/test-suite/li_std_containers_int.i share/examples/swig/2.0/test-suite/li_std_deque.i share/examples/swig/2.0/test-suite/li_std_except.i +share/examples/swig/2.0/test-suite/li_std_except_as_class.i share/examples/swig/2.0/test-suite/li_std_functors.i share/examples/swig/2.0/test-suite/li_std_list.i share/examples/swig/2.0/test-suite/li_std_map.i @@ -2614,6 +2647,7 @@ share/examples/swig/2.0/test-suite/python/global_ns_arg_runme.py share/examples/swig/2.0/test-suite/python/grouping_runme.py share/examples/swig/2.0/test-suite/python/hugemod.pl share/examples/swig/2.0/test-suite/python/iadd_runme.py +share/examples/swig/2.0/test-suite/python/implicittest_runme.py share/examples/swig/2.0/test-suite/python/import_nomodule_runme.py share/examples/swig/2.0/test-suite/python/import_stl_runme.py share/examples/swig/2.0/test-suite/python/imports_runme.py @@ -2626,6 +2660,7 @@ share/examples/swig/2.0/test-suite/python/keyword_rename_runme.py share/examples/swig/2.0/test-suite/python/kwargs_feature_runme.py share/examples/swig/2.0/test-suite/python/langobj_runme.py share/examples/swig/2.0/test-suite/python/li_attribute_runme.py +share/examples/swig/2.0/test-suite/python/li_attribute_template_runme.py share/examples/swig/2.0/test-suite/python/li_boost_shared_ptr_bits_runme.py share/examples/swig/2.0/test-suite/python/li_boost_shared_ptr_runme.py share/examples/swig/2.0/test-suite/python/li_boost_shared_ptr_template_runme.py @@ -2639,6 +2674,7 @@ share/examples/swig/2.0/test-suite/python/li_factory_runme.py share/examples/swig/2.0/test-suite/python/li_implicit_runme.py share/examples/swig/2.0/test-suite/python/li_std_carray_runme.py share/examples/swig/2.0/test-suite/python/li_std_containers_int_runme.py +share/examples/swig/2.0/test-suite/python/li_std_except_as_class_runme.py share/examples/swig/2.0/test-suite/python/li_std_map_member_runme.py share/examples/swig/2.0/test-suite/python/li_std_map_runme.py share/examples/swig/2.0/test-suite/python/li_std_pair_extra_runme.py @@ -3062,6 +3098,7 @@ share/examples/swig/2.0/test-suite/template_construct.i share/examples/swig/2.0/test-suite/template_default.i share/examples/swig/2.0/test-suite/template_default2.i share/examples/swig/2.0/test-suite/template_default_arg.i +share/examples/swig/2.0/test-suite/template_default_arg_virtual_destructor.i share/examples/swig/2.0/test-suite/template_default_class_parms.i share/examples/swig/2.0/test-suite/template_default_class_parms_typedef.i share/examples/swig/2.0/test-suite/template_default_inherit.i @@ -3132,13 +3169,14 @@ share/examples/swig/2.0/test-suite/template_using.i share/examples/swig/2.0/test-suite/template_using_directive_and_declaration_forward.i share/examples/swig/2.0/test-suite/template_virtual.i share/examples/swig/2.0/test-suite/template_whitespace.i -share/examples/swig/2.0/test-suite/testdir/subdir1/hello.i -share/examples/swig/2.0/test-suite/testdir/subdir1/imports.i -share/examples/swig/2.0/test-suite/testdir/subdir1/subinc1.i -share/examples/swig/2.0/test-suite/testdir/subdir2/hello.i -share/examples/swig/2.0/test-suite/testdir/subdir2/imports.i -share/examples/swig/2.0/test-suite/testdir/subdir2/subinc2.i -share/examples/swig/2.0/test-suite/testdir/test.i +share/examples/swig/2.0/test-suite/testdir/README +share/examples/swig/2.0/test-suite/testdir/inctest/subdir1/hello.i +share/examples/swig/2.0/test-suite/testdir/inctest/subdir1/imports.i +share/examples/swig/2.0/test-suite/testdir/inctest/subdir1/subinc1.i +share/examples/swig/2.0/test-suite/testdir/inctest/subdir2/hello.i +share/examples/swig/2.0/test-suite/testdir/inctest/subdir2/imports.i +share/examples/swig/2.0/test-suite/testdir/inctest/subdir2/subinc2.i +share/examples/swig/2.0/test-suite/testdir/inctest/test.i share/examples/swig/2.0/test-suite/threads.i share/examples/swig/2.0/test-suite/threads_exception.i share/examples/swig/2.0/test-suite/throw_exception.i @@ -3152,8 +3190,10 @@ share/examples/swig/2.0/test-suite/typedef_reference.i share/examples/swig/2.0/test-suite/typedef_scope.i share/examples/swig/2.0/test-suite/typedef_sizet.i share/examples/swig/2.0/test-suite/typedef_struct.i +share/examples/swig/2.0/test-suite/typemap_array_qualifiers.i share/examples/swig/2.0/test-suite/typemap_arrays.i share/examples/swig/2.0/test-suite/typemap_delete.i +share/examples/swig/2.0/test-suite/typemap_directorout.i share/examples/swig/2.0/test-suite/typemap_global_scope.i share/examples/swig/2.0/test-suite/typemap_manyargs.i share/examples/swig/2.0/test-suite/typemap_namespace.i @@ -3319,10 +3359,7 @@ share/swig/2.0/go/stl.i share/swig/2.0/go/typemaps.i share/swig/2.0/guile/common.scm share/swig/2.0/guile/cplusplus.i -share/swig/2.0/guile/ghinterface.i share/swig/2.0/guile/guile.i -share/swig/2.0/guile/guile_gh.swg -share/swig/2.0/guile/guile_gh_run.swg share/swig/2.0/guile/guile_scm.swg share/swig/2.0/guile/guile_scm_run.swg share/swig/2.0/guile/guilemain.i @@ -3600,6 +3637,7 @@ share/swig/2.0/python/std_wstring.i share/swig/2.0/python/stl.i share/swig/2.0/python/typemaps.i share/swig/2.0/python/wchar.i +share/swig/2.0/r/boost_shared_ptr.i share/swig/2.0/r/cdata.i share/swig/2.0/r/exception.i share/swig/2.0/r/r.swg @@ -3813,4 +3851,3 @@ share/swig/2.0/typemaps/wstring.swg share/swig/2.0/uffi/uffi.swg share/swig/2.0/wchar.i share/swig/2.0/windows.i -@pkgdir share/examples/swig/2.0/android/simple/libs diff --git a/devel/swig2/buildlink3.mk b/devel/swig2/buildlink3.mk index 5d848a489d8..2fc83b4a0a4 100644 --- a/devel/swig2/buildlink3.mk +++ b/devel/swig2/buildlink3.mk @@ -1,14 +1,14 @@ -# $NetBSD: buildlink3.mk,v 1.2 2013/01/26 04:35:37 obache Exp $ +# $NetBSD: buildlink3.mk,v 1.3 2013/06/14 18:41:30 wiz Exp $ -BUILDLINK_TREE+= swig +BUILDLINK_TREE+= swig2 -.if !defined(SWIG_BUILDLINK3_MK) -SWIG_BUILDLINK3_MK:= +.if !defined(SWIG2_BUILDLINK3_MK) +SWIG2_BUILDLINK3_MK:= -BUILDLINK_API_DEPENDS.swig+= swig>=2.0.4 -BUILDLINK_PKGSRCDIR.swig?= ../../devel/swig2 +BUILDLINK_API_DEPENDS.swig2+= swig>=2.0.8 +BUILDLINK_PKGSRCDIR.swig2?= ../../devel/swig2 .include "../../devel/pcre/buildlink3.mk" -.endif # SWIG_BUILDLINK3_MK +.endif # SWIG2_BUILDLINK3_MK -BUILDLINK_TREE+= -swig +BUILDLINK_TREE+= -swig2 diff --git a/devel/swig2/distinfo b/devel/swig2/distinfo index a1cdbe4e65a..333f81effe0 100644 --- a/devel/swig2/distinfo +++ b/devel/swig2/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.1 2012/11/09 14:25:44 gdt Exp $ +$NetBSD: distinfo,v 1.2 2013/06/14 18:41:30 wiz Exp $ -SHA1 (swig-2.0.8.tar.gz) = 763305da320163903c69c1cdfbf9a942117d9ace -RMD160 (swig-2.0.8.tar.gz) = defca7a34be7ce8407949d6bd17b860e5169618d -Size (swig-2.0.8.tar.gz) = 5291361 bytes +SHA1 (swig-2.0.10.tar.gz) = ad6f95ce9b9da4a8f5b80ac1848d26c76f518d84 +RMD160 (swig-2.0.10.tar.gz) = 0261116a0523d295074bfe883c6a9b9a136ed10d +Size (swig-2.0.10.tar.gz) = 5302787 bytes |