debian/0000755000000000000000000000000012302765513007172 5ustar debian/copyright0000644000000000000000000001403211436273457011135 0ustar The swig package was assembled by Klee Dienes and later maintained by Gregor Hoffleit. The current maintainer is Torsten Landschoff . The sources were obtained from ftp://ftp.swig.org/pub/ and as you might have guessed the homepage is at http://www.swig.org/ -- Torsten Landschoff Wed, 11 Aug 2010 22:44:57 +0200 SWIG is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. On Debian GNU/Linux systems, the complete text of the GNU General Public License is in `/usr/share/common-licenses/GPL', version 3 of this license in `/usr/share/common-licenses/GPL-3'. Portions of SWIG are also licensed under different licenses, which you must observe as well. These licenses are reproduced at the end of this file in the section "Additional licenses". The SWIG library and examples, under the Lib and Examples top level directories, are distributed under the following terms: You may copy, modify, distribute, and make derivative works based on this software, in source code or object code form, without restriction. If you distribute the software to others, you may do so according to the terms of your choice. This software is offered as is, without warranty of any kind. See the COPYRIGHT file for a list of contributors to SWIG and their copyright notices. Additional licenses: -------------------- I. Copyright (c) 1995-1998 The University of Utah and the Regents of the University of California All Rights Reserved Permission is hereby granted, without written agreement and without license or royalty fees, to use, copy, modify, and distribute this software and its documentation for any purpose, provided that (1) The above copyright notice and the following two paragraphs appear in all copies of the source code and (2) redistributions including binaries reproduces these notices in the supporting documentation. Substantial modifications to this software may be copyrighted by their authors and need not follow the licensing terms described here, provided that the new terms are clearly indicated in all files where they apply. IN NO EVENT SHALL THE AUTHOR, THE UNIVERSITY OF CALIFORNIA, THE UNIVERSITY OF UTAH OR DISTRIBUTORS OF THIS SOFTWARE BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE AUTHORS OR ANY OF THE ABOVE PARTIES HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. THE AUTHOR, THE UNIVERSITY OF CALIFORNIA, AND THE UNIVERSITY OF UTAH SPECIFICALLY DISCLAIM ANY WARRANTIES,INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE AUTHORS AND DISTRIBUTORS HAVE NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. II. This software includes contributions that are Copyright (c) 1998-2005 University of Chicago. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. Neither the name of the University of Chicago nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE UNIVERSITY OF CHICAGO AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE UNIVERSITY OF CHICAGO OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. III. This software includes contributions that are Copyright (c) 2005-2006 Arizona Board of Regents (University of Arizona). All Rights Reserved Permission is hereby granted, without written agreement and without license or royalty fees, to use, copy, modify, and distribute this software and its documentation for any purpose, provided that (1) The above copyright notice and the following two paragraphs appear in all copies of the source code and (2) redistributions including binaries reproduces these notices in the supporting documentation. Substantial modifications to this software may be copyrighted by their authors and need not follow the licensing terms described here, provided that the new terms are clearly indicated in all files where they apply. THIS SOFTWARE IS PROVIDED BY THE UNIVERSITY OF ARIZONA AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE UNIVERSITY OF ARIZONA OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. debian/swig2.0.install0000644000000000000000000000006612232562234011752 0ustar builddir/Lib/ocaml/swigp4.ml usr/share/swig2.0/ocaml/ debian/swig2.0.10000644000000000000000000000733411420352201010436 0ustar .\" Hey, EMACS: -*- nroff -*- .\" First parameter, NAME, should be all caps .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" other parameters are allowed: see man(7), man(1) .TH SWIG 1 2004-05-22 .\" Please adjust this date whenever revising the manpage. .SH NAME swig \- Simplified Wrapper and Interface Generator .SH SYNOPSIS .B swig .RI [ options ] " file" .SH DESCRIPTION The swig command is used to create wrapper code to connect C and C++ code to scripting languages like Perl, Python, etc. from the definition of the interface. For detailed information on writing those interface definitions please refer to /usr/share/doc/swig-doc/Manual/index.html from the swig-doc package. This manpage concentrates on explaining the invocation of the swig command. .SH OPTIONS .SS Target Language Options: .TP .B \-chicken Generate CHICKEN wrappers .TP .B \-csharp Generate C# wrappers .TP .B \-guile Generate Guile wrappers .TP .B \-java Generate Java wrappers .TP .B \-mzscheme Generate Mzscheme wrappers .TP .B \-ocaml Generate Ocaml wrappers .TP .B \-perl Generate Perl wrappers. .TP .B \-php Generate PHP wrappers .TP .B \-pike Generate Pike wrappers .TP .B \-python Generate Python wrappers .TP .B \-ruby Generate Ruby wrappers .TP .B \-sexp Generate Lisp S-Expressions wrappers .TP .B \-tcl Generate Tcl wrappers .TP .B \-xml Generate XML wrappers. .SS General Options .TP .B \-c++ Enable C++ processing .TP .B \-co Check a file out of the SWIG library .TP .B \-dirprot Turn on wrapping of protected members for director classes .TP .BI \-D symbol Define a symbol \fIsymbol\fR (for conditional compilation) .TP .B \-E Preprocess only, does not generate wrapper code .TP .B \-fcompact Compile in compact mode .TP .B \-fvirtual Compile in virtual elimination mode .TP .B \-Fstandard Display error/warning messages in commonly used format .TP .B \-Fmicrosoft Display error/warning messages in Microsoft format .TP .B \-help Show a summary of supported options and especially of supported options for the selected language. .TP .BI \-I dir Look for SWIG files in \fIdir\fR .TP .B \-ignoremissing Ignore missing include files .TP .B \-importall Follow all #include statements as imports .TP .B \-includeall Follow all #include statements .TP .BI \-l ifile Include SWIG library file \fIifile\fR .TP .B \-M List all dependencies .TP .B \-MM List dependencies, but omit files in SWIG library .TP .B \-makedefault Create default constructors/destructors (the default) .TP .BI "\-module " name Set module name to \fIname\fR .TP .B \-nocontract Turn off contract checking .TP .B \-nodefault Do not generate constructors/destructors .TP .B \-nodirprot Do not wrap director protected members .TP .B \-noexcept Do not wrap exception specifiers .TP .B \-noextern Do not generate extern declarations .TP .B \-noruntime Do not include SWIG runtime code .TP .BI "\-o " outfile Set name of the output file to \fIoutfile\fR .TP .BI "\-outdir " dir Set language specific files output directory .TP .B \-runtime Make the runtime support code globally visible. .TP .B \-small Compile in virtual elimination & compact mode .TP .B \-swiglib Report location of SWIG library and exit .TP .B \-v Run in verbose mode .TP .B \-version Print SWIG version number .TP .B \-Wall Enable all warning messages .TP .B \-Wallkw Enable warning messages for all the languages keywords .TP .B \-Werror Force to treat the warnings as errors .TP .BI "\-w " n Suppress warning number \fIn\fR .SH AUTHOR SWIG was originally created by David Beazley. For up-to-date information about authors and contributors please check http://www.swig.org/guilty.html. This manual page was written by Torsten Landschoff for the Debian project (but may be used by others). debian/changelog0000644000000000000000000011134412302765443011052 0ustar swig2.0 (2.0.11-1ubuntu2) trusty; urgency=medium * Apply patch to support octave-3.8. Closes: #736392. -- Matthias Klose Tue, 25 Feb 2014 01:59:29 +0100 swig2.0 (2.0.11-1ubuntu1) trusty; urgency=medium * Merge with Debian; remaining changes: - Configure for the Tk 8.5 multiarch installation. - Build using guile-2.0. - Configure --with-guileincl=/usr/include/guile/2.0. - Drop libchicken-dev from the build-depends (in universe). - Build-depend on python3-dev. - Drop build dependency on liboctave-dev, configure --without-octave. -- Matthias Klose Mon, 06 Jan 2014 14:45:50 +0100 swig2.0 (2.0.11-1) unstable; urgency=low * Merge new upstream release 2.0.11 (closes: #727188). * Use Ruby 1.9.1 instead of 1.8 which is about to be removed from sid. Thanks to Cédric Boutillier for the patch (closes: #722282). * Install swigp4.ml manually as the upstream Makefile fails to do so when using a separate build directory (closes: #725945). -- Torsten Landschoff Fri, 25 Oct 2013 23:36:37 +0200 swig2.0 (2.0.10-1) unstable; urgency=low * New upstream release. -- Torsten Landschoff Mon, 09 Sep 2013 22:06:54 +0200 swig2.0 (2.0.10-0ubuntu2) saucy; urgency=low * Build-depend on python3-dev. * Drop build dependency on liboctave-dev, configure --without-octave. -- Matthias Klose Tue, 23 Jul 2013 18:58:53 +0200 swig2.0 (2.0.10-0ubuntu1) saucy; urgency=low * New upstream release. * Build using ruby1.9.1. * Build-depend on liboctave-dev. -- Matthias Klose Tue, 23 Jul 2013 18:32:40 +0200 swig2.0 (2.0.9-1ubuntu1) saucy; urgency=low * Merge from Debian, remaining changes: - Configure for the Tk 8.5 multiarch installation. - Build using guile-2.0. - Configure --with-guileincl=/usr/include/guile/2.0. - Drop libchicken-dev from the build-depends (in universe). -- Dmitrijs Ledkovs Mon, 03 Jun 2013 10:03:01 +0100 swig2.0 (2.0.9-1) unstable; urgency=low * New upstream release. * Use dpkg-buildflags while building (lintian). -- Torsten Landschoff Thu, 28 Feb 2013 00:37:38 +0100 swig2.0 (2.0.8-1ubuntu3) raring; urgency=low * Configure for the Tk 8.5 multiarch installation. -- Matthias Klose Tue, 02 Apr 2013 10:37:53 +0200 swig2.0 (2.0.8-1ubuntu2) raring; urgency=low * Build using guile-2.0. * Configure --with-guileincl=/usr/include/guile/2.0. -- Matthias Klose Thu, 28 Feb 2013 08:36:39 +0100 swig2.0 (2.0.8-1ubuntu1) raring; urgency=low * Merge from Debian unstable. Remaining changes: - Drop libchicken-dev from the build-depends (in universe). -- Stefano Rivera Wed, 07 Nov 2012 19:50:23 +0200 swig2.0 (2.0.8-1) unstable; urgency=low * New upstream release. -- Torsten Landschoff Wed, 31 Oct 2012 12:05:24 +0100 swig2.0 (2.0.7-3ubuntu1) quantal; urgency=low * Merge from Debian unstable (LP: #1019659). Remaining changes: - Drop libchicken-dev from the build-depends (in universe). -- Stefano Rivera Sat, 30 Jun 2012 22:49:48 +0200 swig2.0 (2.0.7-3) unstable; urgency=low * Use /usr/bin/python instead of /usr/bin/python2.5 in debian/rules (closes: #675908). * Use default-jdk instead of gcj-jdk (closes: #675911). -- Torsten Landschoff Mon, 11 Jun 2012 22:55:25 +0200 swig2.0 (2.0.7-2ubuntu1) quantal; urgency=low * Merge from Debian unstable (LP: #1006387). Remaining changes: - Drop libchicken-dev from the build-depends (in universe). -- Stefano Rivera Fri, 01 Jun 2012 17:05:17 +0100 swig2.0 (2.0.7-2) unstable; urgency=high * Switch to out-of-source build. * Applied patch by Klaus Kämpf (applied upstream) to fix seg fault when attempting to warn about an illegal destructor (closes: #675196). -- Torsten Landschoff Wed, 30 May 2012 22:20:51 +0200 swig2.0 (2.0.7-1) unstable; urgency=high * New upstream release 2.0.7 (closes: #674263). * Build-Depend on tcl-dev and tk-dev instead of tcl8.4-dev and tk8.4-dev (closes: #674540). * debian/rules: Add binary-indep and binary-arch targets (lintian). * debian/control: Bump Standards-Version to 3.9.3 (no changes). * debian/patches/pyint_fromsize_t.diff: New patch to fix a regression of upstream r13106 when building for Python 3 (caught by FTBFS for hugin). -- Torsten Landschoff Mon, 28 May 2012 17:58:26 +0200 swig2.0 (2.0.6-1) unstable; urgency=low * Merge upstream changes for 2.0.6. + Includes patches to slicing bugs (closes: #673544). * debian/control: Narrow the dependency of swig on swig2.0 to require the newest version as suggested by Andreas Metzler. -- Torsten Landschoff Tue, 22 May 2012 00:23:15 +0200 swig2.0 (2.0.5-1) unstable; urgency=low * New upstream release 2.0.5. + Removed patch python_map.patch (applied upstream). + Removed patch fix_overflow_errors_64bitint (fixed upstream). + Removed patches pulled from upstream. + Adds support for Lua 5.2 (closes: #670203). -- Torsten Landschoff Thu, 26 Apr 2012 22:18:39 +0200 swig2.0 (2.0.4-5) unstable; urgency=low * Fix invalid conversion from 'const char*' to 'char*' (closes: #657091). Patch provided by Lior Kaplan. -- Torsten Landschoff Tue, 24 Jan 2012 18:58:13 +0100 swig2.0 (2.0.4+really2.0.4-4ubuntu2) precise; urgency=low * Drop libchicken-dev from the build-depends (in universe). -- Matthias Klose Mon, 17 Oct 2011 11:54:21 +0200 swig2.0 (2.0.4+really2.0.4-4ubuntu1) precise; urgency=low * Override the Ubuntu swig1.3 version. -- Matthias Klose Tue, 11 Oct 2011 15:05:23 +0200 swig2.0 (2.0.4-4) unstable; urgency=low * Acknowledge NMU, thanks again Luca (and Jonathan for the patch). * Merge revision 12814 from upstream (closes: #642202). * Merge revision 12780 from upstream (closes: #468414). -- Torsten Landschoff Tue, 20 Sep 2011 22:45:05 +0200 swig2.0 (2.0.4-3.1) unstable; urgency=low * Non-maintainer upload. [ Jonathan Nieder ] * Put swig2.0(1) manpage in the swig2.0 package, instead of whatever architecture-dependent package happened to be processed first. * swig2.0 Breaks and Replaces swig (<< 2.0.4-3.1) (Closes: #639521). -- Luca Falavigna Sun, 18 Sep 2011 01:32:41 +0200 swig2.0 (2.0.4-3) unstable; urgency=low * Acknowledge changes by Luca Falavigna - thanks. * Applied the patch by Chris Butler to fix wrapper generation on i386 for perl compiled with -Duse64bitint (closes: #579450). -- Torsten Landschoff Fri, 19 Aug 2011 23:37:01 +0200 swig2.0 (2.0.4-2.1) unstable; urgency=low * Non-maintainer upload. [ Sebastian Ramacher ] * debian/patches/python_map.patch: - Let std::map honour all four template arguments to fix FTBFS in related packages (Closes: #633736). -- Luca Falavigna Sun, 14 Aug 2011 17:27:18 +0200 swig2.0 (2.0.4-2) unstable; urgency=low * Take over swig, swig-doc and swig-examples binary packages from swig1.3. -- Torsten Landschoff Sun, 19 Jun 2011 01:14:53 +0200 swig2.0 (2.0.4-1.1) unstable; urgency=low * Non maintainer upload. * Replace obsolete gij/gcj build dependencies with gcj-jdk. Closes: #628377. -- Matthias Klose Tue, 31 May 2011 13:22:19 +0200 swig2.0 (2.0.4-1) unstable; urgency=low * New upstream release. * patches/upstream_r12653.diff: Removed (included upstream). -- Torsten Landschoff Tue, 24 May 2011 08:52:30 +0200 swig2.0 (2.0.3-2) unstable; urgency=low * Package a snapshot of the upcoming upstream release 2.0.4. This matches upstream revision r12653. + Fixes building of Python 3.2 bindings (closes: #622980). -- Torsten Landschoff Tue, 03 May 2011 22:34:43 +0200 swig2.0 (2.0.3-1) unstable; urgency=low * New upstream release 2.0.3. * Add debian/watch file for uscan (closes: #611879). * Provide /usr/bin/swig in swig2.0 (closes: #620954). -- Torsten Landschoff Sun, 10 Apr 2011 20:42:11 +0200 swig2.0 (2.0.2-1) unstable; urgency=low * New upstream release 2.0.2. -- Torsten Landschoff Sat, 26 Feb 2011 00:56:56 +0100 swig2.0 (2.0.1-2) unstable; urgency=low * debian/control: Fix build dependency on pcre3 which should be available on mips, mipsel and m68k as well. -- Torsten Landschoff Thu, 23 Dec 2010 00:06:42 +0100 swig2.0 (2.0.1-1) unstable; urgency=low * Merge new upstream release 2.0.1. * Remove dependency on quilt and usage in debian/rules, the new source format will take care of that. * Remove patch fix-cleaning.diff (applied upstream). * Remove patch keep_docs.diff (applied upstream). -- Torsten Landschoff Sun, 19 Dec 2010 18:25:59 +0100 swig2.0 (2.0.0-1) unstable; urgency=low * New upstream release (closes: #584324). * Create a new swig2.0 package for unstable. Most packages should be able to build with 2.0 instead of 1.3 but the version detection in most configure scripts is flawed. * Fix the most important lintian complaints: + debian/control: o Update Standards-Version to 3.9.0 (no changes). o Add ${misc:Depends} to all binary dependencies. + debian/rules: o Fix invocation order for dh_makeshlibs. o Replace "dh_clean -k" with dh_prep. + debian/swig2.0-doc.doc-base: Fixed references into wrong package. + debian/swig.1: Renamed to swig2.0-1 to match with the binary. * Use dh-autoreconf for cleaning up after autotools. * Fixed "make distclean" in upstream Makefile.in. The first time for years that "debian/rules clean" actually completes successfully. * debian/control: Bump Standards-Version to 3.9.1 (no changes). * debian/copyright: Update for upstream license change to GPLv3. -- Torsten Landschoff Sat, 28 Aug 2010 22:59:01 +0200 swig1.3 (2.0.0~r12020-1) experimental; urgency=low * Experimental package of upcoming 2.0 release targetting experimental. * Switch to source format 3.0 (quilt). -- Torsten Landschoff Wed, 12 May 2010 18:57:28 +0200 swig1.3 (1.3.40-3) unstable; urgency=low * debian/control: Line wrap build dependencies (closes: #556356). Thanks to Benjamin Drung. * debian/control: Remove version from python-dev dependency (not sure why it was added). This makes it buildable in sid again (closes: #588573). * debian/compat: Bump to 7 (which was available even in lenny). * debian/source/format: Switch to "3.0 (quilt)". -- Torsten Landschoff Sun, 15 Nov 2009 23:57:17 +0100 swig1.3 (1.3.40-2) unstable; urgency=low * Retarget for unstable. -- Torsten Landschoff Wed, 21 Oct 2009 20:03:54 +0200 swig1.3 (1.3.40-1) experimental; urgency=low * New upstream release (closes: #543684). -- Torsten Landschoff Sat, 17 Oct 2009 14:48:41 +0200 swig1.3 (1.3.39-2) unstable; urgency=low * Merge upstream changeset 11213, fixing the Subversion bindings. -- Torsten Landschoff Sat, 08 Aug 2009 15:00:32 +0200 swig1.3 (1.3.39-1) experimental; urgency=low * New upstream release. * debian/control: Remove ocaml from Build-Depends (not available in sid right now). Probably we can drop most of the build depends anyway, they do not affect the swig binary AFAIK. However, when running the test suite, we should better have them available... * debian/rules: Use DH_ALWAYS_EXCLUDE=.svn to support building directly from Subversion checkout. -- Torsten Landschoff Fri, 07 Aug 2009 00:22:56 +0200 swig1.3 (1.3.38-1) experimental; urgency=low * Apply patch by Petr Salinger to enable java bindings for GNU/kFreeBSD (closes: #497789). * New upstream release (closes: #514060). * Remove patch to config.guess, config.sub (upstream is up-to-date). * Update patch to keep documentation files in make clean. * Use python2.5 instead of python2.4. * Install Examples/php instead of Examples/php4 (which is no longer). -- Torsten Landschoff Thu, 26 Feb 2009 16:16:07 +0100 swig1.3 (1.3.36-1) unstable; urgency=low * New upstream release (closes: #488342). + debian/patches: Remove obsolete patches. * debian/rules: Build without mzscheme for now as the configure script breaks as it can't mute the banner anymore (--mute-banner does not work anymore). -- Torsten Landschoff Sun, 06 Jul 2008 03:07:56 +0200 swig1.3 (1.3.35-4) unstable; urgency=low * Acknowledge NMUs (closes: #476718, #477906). Thanks, guys! * Apply patch from Barry deFreese to Wad proof-of-concept that is not actually built (closes: #469006). * debian/control: Update Build-Depends on guile to version 1.8 as 1.6 is quite outdated already (closes: #477521). * debian/control: Re-add armel and armeb to the target platforms which have gcj and gij again (closes: #479113). * debian/patches/swig-svn-r10376.diff: Import upstream changes of revision 10376 by request of Soeren Sonnenburg. * Lintian fixes: + debian/swig-doc.doc-base: Fix section (was Apps/Programming, now just Programming). Remove leading whitespace in abstract. + debian/control: Upgrade Standards-Version to 3.7.3 (no changes required). + debian/control: Fix spelling Ocaml -> OCaml. -- Torsten Landschoff Sun, 04 May 2008 21:09:47 +0200 swig1.3 (1.3.35-3.2) unstable; urgency=low * Non-maintainer upload. * Remove Build-Depends: gij, gcj on alpha, arm, and hurd-i386. (Closes: #477906) -- Torsten Werner Sat, 26 Apr 2008 18:08:59 +0200 swig1.3 (1.3.35-3.1) unstable; urgency=low * Non-maintainer upload. * Allow python2.5 in Build-Depends. (Closes: #476718) -- Torsten Werner Wed, 23 Apr 2008 19:49:22 +0200 swig1.3 (1.3.35-3) unstable; urgency=low * debian/patches/octave_fixes_r10367_10373.diff: Include upstream changes between revisions 10367 and 10373. This fixes some bugs in the octave wrappers as requested by Soeren Sonnenburg. -- Torsten Landschoff Thu, 17 Apr 2008 08:49:55 +0200 swig1.3 (1.3.35-2) unstable; urgency=low * Include examples for R and octave (closes: #475409). * Patch Lib/r/rfragments.swg to use mkCharLen to create a string object given the character content and the length. mkCharEnc does not look like it is the right function for this. :) Thanks to Soeren Sonnenburg. (closes: #475494). -- Torsten Landschoff Tue, 15 Apr 2008 23:56:33 +0200 swig1.3 (1.3.35-1) unstable; urgency=low * New upstream release (closes: #473720). * debian/patches/fix_lua_unary_minus.diff: Remove, was merged upstream. -- Torsten Landschoff Tue, 08 Apr 2008 22:35:13 +0200 swig1.3 (1.3.33-3) unstable; urgency=low * debian/rules: Add "-g -O2" to the CFLAGS (originally obtained from the perl configuration). This should speed up swig while making debugging easier. * debian/patches/fix_lua_unary_minus.diff: Fix the handling of overloading the unary minus operator for LUA (closes: #461494). * debian/control: Depend on quilt >= 0.40 instead of 0.40-1 (lintian). * debian/swig.dirs: Remove /usr/lib which was empty (lintian). -- Torsten Landschoff Mon, 11 Feb 2008 18:38:17 +0100 swig1.3 (1.3.33-2) unstable; urgency=low * debian/rules: Only run make distclean if the Makefile exists to make sure the clean target works after a fresh unpack (closes: #453201). -- Torsten Landschoff Wed, 28 Nov 2007 22:51:47 +0100 swig1.3 (1.3.33-1) unstable; urgency=low * New upstream release (closes: #452649). + debian/patches/configguesssub.diff: Refreshed for new upstream release. -- Torsten Landschoff Sun, 25 Nov 2007 18:52:07 +0100 swig1.3 (1.3.31-4) unstable; urgency=low * debian/patches/keep_docs.diff: Change Doc/Manual/Makefile to keep it from removing the documentation files on clean. They are included in the distribution and therefore should not get removed after the build (closes: #441728). + debian/rules: Change clean target so that the patches are unapplied after cleaning the sources to make this change effective. -- Torsten Landschoff Thu, 01 Nov 2007 19:58:16 +0100 swig1.3 (1.3.31-3) unstable; urgency=low * debian/control: Build-Depend on php5-dev instead of the obsolete php4-dev (closes: #429231). + While we are at it: Remove pike dependencies. + Remove Java dependencies on armeb and armel. Kudos to Riku Voipio for the patch. -- Torsten Landschoff Sun, 26 Aug 2007 01:21:40 +0200 swig1.3 (1.3.31-2) unstable; urgency=low * Lib/lua/luarun.swg: Include stdlib.h instead of the non-standard malloc.h (closes: #439151). * debian/patches/series: Remove noproxy_setfault_fix.diff as it was applied upstream. -- Torsten Landschoff Wed, 22 Aug 2007 21:29:04 +0200 swig1.3 (1.3.31-1) unstable; urgency=low * New upstream release (closes: #401211). -- Torsten Landschoff Sat, 2 Dec 2006 01:56:34 +0100 swig1.3 (1.3.29-2.1) unstable; urgency=medium * Non-maintainer upload, BSP Zurich/Switzerland. * Moving quilt from build-depends-indep to build-depends (Closes: #382096, #385080). * Added kfreebsd-amd64 to build-depends ignores (Closes: #361482). -- Daniel Baumann Sat, 9 Sep 2006 12:41:00 +0200 swig1.3 (1.3.29-2) unstable; urgency=medium * Adopt to new default python version (closes: #384212). + debian/rules: Change python interpreter to /usr/bin/python2.4. + debian/control: Update build-dependencies. * debian/control: Add version for debhelper build dependency (linda). -- Torsten Landschoff Tue, 22 Aug 2006 23:53:22 +0200 swig1.3 (1.3.29-1) unstable; urgency=low * New upstream release (closes: #362775). * Acknowledge non-maintainer upload, thanks Kurt! (closes: #359941). * Use quilt for patch maintenance, move config.sub and config.guess patches to debian/patches. * debian/rules: Tidy some old cruft (more to be done here). + clean: Remove all generated files. * debian/slapd.links: Swapped original file and link to not overwrite the real binary with a broken link. * noproxy_segfault_fix.diff: Fix segmentation fault with -python -noproxy (closes: #381707). * format_percent.diff: Pass "%%" to output a single '%' in lang.cxx. -- Torsten Landschoff Mon, 7 Aug 2006 23:17:07 +0200 swig1.3 (1.3.28-1.1) unstable; urgency=low * Non-maintainer upload. * Change build depedency from chicken-dev to libchicken-dev (Closes: #359941) -- Kurt Roeckx Thu, 30 Mar 2006 19:12:09 +0200 swig1.3 (1.3.28-1) unstable; urgency=low * New upstream release (closes: #354699). * debian/swig-doc.doc-base: Add control file to register SWIG documentation for doc-base (closes: #273286). + debian/rules: Exclude PDF files from dh_compress. -- Torsten Landschoff Tue, 28 Feb 2006 21:57:40 +0100 swig1.3 (1.3.27-2) unstable; urgency=low * Fix FTBFS on GNU/kFreeBSD missing java support by disabling java there, patch by Aurelien Jarno (closes: #341837). * debian/control: Change the swig-examples description to no longer refer to version 1.1 (closes: #302051). * debian/rules (clean): Don't remove example php4 makefiles anymore. * debian/swig-examples.examples: Include lua and modula3 examples (closes: #344225). * debian/rules (clean): Do make distclean before killing autoconf output. The other way round it will try to reconfigure... -- Torsten Landschoff Sat, 4 Feb 2006 02:11:39 +0100 swig1.3 (1.3.27-1) unstable; urgency=low * New upstream release. * Resync with upstream. Seems like I accidently got some files removed from the package by bad merging. * debian/swig.1: Fix typo in manpage leading to man error message. * debian/control: Correct bad policy version (lintian). * debian/rules: Remove configure.{status,log} in clean target (lintian). * Remove changelog.gz from swig1.3 package and replace it by a symlink (closes: #275898). * Update debhelper compat level to 4. Rename files accordingly. -- Torsten Landschoff Wed, 23 Nov 2005 00:54:00 +0100 swig1.3 (1.3.25-1) unstable; urgency=low * New upstream release (closes: #293325). + Includes fix to resource leak when using default arguments in constructors (closes: #297335). + Puts -help and -version output on stdout (closes: #285038). -- Torsten Landschoff Thu, 22 Sep 2005 09:59:22 +0200 swig1.3 (1.3.24-1) unstable; urgency=low * New upstream release (closes: #290895, #293694): + Implements C# optional parameters (closes: #283314). * Update config.guess, config.sub. * Adjust for new pike version 7.6. * Work around broken automake refresh feature * Don't try to build/install runtime anymore * Kill meta data for runtime packages * Include CHANGES.current in the package (closes: #273912) -- Torsten Landschoff Sat, 12 Feb 2005 17:12:09 +0100 swig1.3 (1.3.22-6) unstable; urgency=low * Apply patch to fix breakage when returning const C++ objects (closes: #294241). Thanks to Jeremy H. Brown for pointing this out. -- Torsten Landschoff Tue, 8 Feb 2005 20:26:27 +0100 swig1.3 (1.3.22-5) unstable; urgency=medium * debian/README.Debian: Add a note about the right compiler options when building swig modules (closes: #280923). * Lib/python/pystrbase.swg: Fix handling of char array: Do not copy null bytes anymore (closes: #281956). -- Torsten Landschoff Sat, 20 Nov 2004 09:48:53 +0100 swig1.3 (1.3.22-4) unstable; urgency=low * debian/control: Add build dependency on libpcre3-dev pulled by chicken. Should be fixed in chicken-dev but this way it builds again. closes: #280500. -- Torsten Landschoff Wed, 10 Nov 2004 00:41:09 +0100 swig1.3 (1.3.22-3) unstable; urgency=high * Urgency high because sarge is waiting for a fixed swig. This version should build on mips{,el} and m68k as well. * debian/rules: Fix reference to libswig1.2.21-chicken which is now libswig1.3.22-chicken. -- Torsten Landschoff Sat, 16 Oct 2004 09:14:17 +0200 swig1.3 (1.3.22-2) unstable; urgency=low * configure.in: Add Runtime/Makefile to the list of generated files. * Readded the runtime library packages. + debian/control: Add libswig1.3.22* + Makefile.in: Recreate targets for runtime. + autogen.sh: Run libtoolize (needed for the libs). + configure.in: Remove AC_COMPILE_WARNINGS (breaks ruby include). Add release_suffix_libtool variable. + Source/Makefile.in: Add "release_suffix_libtool" variable. + debian/rules: Build runtime targets, change release suffix to 1.3.22. * Rerun autogen.sh... -- Torsten Landschoff Tue, 28 Sep 2004 13:41:01 +0200 swig1.3 (1.3.22-1) unstable; urgency=low * New upstream release (closes: #273129). * Rerun autogen.sh (because of patched configure.in). * debian/rules: Don't build and don't install runtime. * debian/control: Remove libswig* packages (used to contain the runtime support libraries). * debian/control: Bump standards-version to 3.6.1 (no changes). * debian/links: Remove links for libswig*. Fix /usr/bin/swig link to point to swig1.3 instead of 1.3.21. * debian/rules: Make the name of the executable swig-1.3 instead of swig-1.3.21. -- Torsten Landschoff Sat, 25 Sep 2004 16:42:18 +0200 swig1.3 (1.3.21-5) unstable; urgency=low * Acknowledge NMUs (closes: #248822, #246452). Thanks, Matthias! * Supply a man page for swig (closes: #224291). -- Torsten Landschoff Sat, 22 May 2004 01:45:24 +0200 swig1.3 (1.3.21-4.3) unstable; urgency=low * NMU. * Let libswig1.3.21 conflict with libswig1.1, libswig1.3 (closes: #248822). -- Matthias Klose Tue, 18 May 2004 06:01:47 +0200 swig1.3 (1.3.21-4.2) unstable; urgency=low * NMU. * Fix FTBFS on architectures that have chicken support disabled. -- Matthias Klose Sat, 8 May 2004 10:19:12 +0200 swig1.3 (1.3.21-4.1) unstable; urgency=medium * NMU. * Add php4-cgi to build dependencies (closes: #246452). -- Matthias Klose Sat, 8 May 2004 08:31:57 +0200 swig1.3 (1.3.21-4) unstable; urgency=low * debian/control: Remove Conflicts-Depends-cycle between swig and swig1.3 as proposed by Jeroen van Wolffelaar (closes: #231854). And of course those cycles for the -doc and -examples packages as well. * debian/control: Make swig1.3 depend on at least version 1.3.0 of swig. -- Torsten Landschoff Mon, 19 Apr 2004 10:56:16 +0200 swig1.3 (1.3.21-3) unstable; urgency=low * Split off chicken and guile runtime support into different packages to reduce dependency load... (closes: #231701). -- Torsten Landschoff Tue, 6 Apr 2004 09:11:53 +0200 swig1.3 (1.3.21-2) unstable; urgency=low * Applied patch courtesy of David Kimdon: + Include full version number in soname (closes: #234028). - debian/control : Rename libswig1.3 package to libswig1.3.21. - debian/libswig1.3.files debian/libswig1.3.postinst : Rename these files to use the full 1.3.21 version. - debian/links : Symlinks need to use full 1.3.21 version. - debian/rules : Pass 1.3.21 release suffix to configure. Fix definition of SWIG in example Makefiles. That doesn't need to include the version number since we have the swig -> swig-1.3.21 link. -- Torsten Landschoff Sun, 14 Mar 2004 20:58:19 +0100 swig1.3 (1.3.21-1) unstable; urgency=low * New upstream release (closes: #225036). * debian/rules: Updated clean target to only remove stuff that's actually there. * debian/swig-examples.examples: Adapt to removal of Examples/perl and addition of Examples/contract. * Makefile.in (install-m4): Obey $(DESTDIR) setting. * Fixed pike support: - debian/control: Add build dependency pike7.4-dev. - debian/rules: Pass pike include path to configure. * configure.in: Fix checking for php4 includes (uses php4-config which is not there on Debian and overwrite the manually passed include path using the output of that non-existing program). * debian/rules: Call runtime and install-runtime targets as well to actually build the runtime libraries (which were built by default before). -- Torsten Landschoff Sat, 7 Feb 2004 00:56:55 +0100 swig1.3 (1.3.19-2) unstable; urgency=low * Acknowledge NMU (closes: #202036, #199738). Thanks, Matthias! * debian/control: Rename swig1.3 -> swig in binary packages. This way we replace all binary packages of the former swig source package... + It does not need to build anymore (closes: #160316). + The error in the old description will die with it (closes: #209726). + Our examples deal with current perl already (closes: #107979). + We have no dangling manpage link (closes: #185271). In fact I think the bug never applied to swig. + New swig already has Java support enabled (closes: #178237). + And Perl 5.8 is already supported (closes: #155004). * debian/rules: Merge the commands for swig-doc and swig-examples into a single binary-indep target. -- Torsten Landschoff Wed, 22 Oct 2003 22:43:10 +0200 swig1.3 (1.3.19-1.1) unstable; urgency=low * NMU. * Fix gcj/gij build-depends, leave them out for hppa, mips, mipsel. Closes: #202036. * Leave out chicken build-depends for m68k, mips, mipsel. * Fix ruby build depends (ruby1.8, ruby1.8-dev). * Fix guile build depends. * Fix pike build depends. * Remove paragraph about alpha status in package description. Closes: #199738. -- Matthias Klose Sun, 7 Sep 2003 11:36:08 +0200 swig1.3 (1.3.19-1) unstable; urgency=low * New upstream release. (Closes: #163215, #138980, #186455) * Swig1.3 now follows policy version 3.5.9. * Added the previously nonexistant package swig1.3-doc. (Closes: #169422) * Added the correct supported languages to description. (Closes: #156376) * Fixed description synopses. * Added chicken-dev, gcj-3.2, and gij-3.2 to the build-depends. * We now build with Java support as well, thanks to gcj. Hurray for gcj! * Bumped tcl/tk 8.3-dev to tcl/tk 8.4-dev in the build-depends * Updated Ye Olde README.Debian. * Runtime/Makefile.in: Pass $(PERL5_CCFLAGS) when building the perl parts. -- Morgon Kanter Fri, 18 Apr 2003 14:33:30 -0400 swig1.3 (1.3.17-1) unstable; urgency=low * New upstream release. * Runtime/Makefile.in: Remove the perl hack. * debian/rules: Pass the CFLAGS used to build perl to the configure script. This should hopefully enable building of the perl module again. * configure.in: Apply David's TCL patch and rerun autoconf. * debian/rules: Clean up symlinks created by the build. -- Torsten Landschoff Thu, 28 Nov 2002 12:25:28 +0100 swig1.3 (1.3.15-1) unstable; urgency=low * New upstream release. -- Torsten Landschoff Thu, 19 Sep 2002 01:03:13 +0200 swig1.3 (1.3.14-1) unstable; urgency=low * New upstream release (closes: #157108). + The missing ")" at Lib/perl5/std_string.i:48 was added upstream (closes: #158420). * Lib/guile/typemaps.i: Fix passing of structures by value (closes: #156902). * debian/control: Add build dependency on ocaml, pike7.2 and update python version to 2.2. * debian/control: Pass /usr/bin/python2.2 as python path. * Tools/check-include-path.pike: Just return "/usr/include/pike7.2". Ugly hack, but I want it to work now. A proper patch will follow. * Runtime/Makefile.in: Another ugly hack. When generating libperl.c, drop the first #include , as it breaks the perl headers for some obfuscated reason. -- Torsten Landschoff Tue, 3 Sep 2002 23:21:23 +0200 swig1.3 (1.3.13-1) unstable; urgency=low * New upstream release. -- Torsten Landschoff Thu, 18 Jul 2002 17:17:09 +0200 swig1.3 (1.3.11-1) unstable; urgency=low * New upstream release (closes: #138979). * Make swig1.3 depend on libswig1.3 as it includes symlinks to files of that package (closes: #140287). -- Torsten Landschoff Fri, 29 Mar 2002 01:56:07 +0100 swig1.3 (1.3.10-1) unstable; urgency=low * New upstream release. * debian/rules (clean): Remove .../config.log and generated files. * debian/rules (build): + Use python2.1 instead of 1.5. + Seperately building the "runtime" target not longer needed. + Pass skip-java to the make invocations (I have java on my system for my computer science studies, but I don't want to move swig to contrib) + Enable building of php4 and Mzscheme support. * debian/control (Build-Depends): + Force python-dev to be 2.1* + Add libguile-dev, mzscheme-dev, php4-dev * debian/dirs: Better add /usr/lib if we want it to build... * Split off the libswig1.3 package containing just the runtime libraries which are now really build. swig1.3 now depends on that package, therefore the installation is now complete (closes: #123434). * debian/rules (binary): Run dh_makeshlibs to build the shlibs files for the runtime in libswig1.3 (closes: #108040). * debian/rules (swig1.3-doc-pdf): Remove target as the package did never exist... * debian/control: Make swig1.3 conflict with and replace swig and remove "[alpha]" from the Description. * debian/libswig1.3.postinst: Call ldconfig (lintian). * debian/rules (build): Set PHP4INC before running configure to get around the configure.in incapability. * debian/rules: Remove the old filter on the Makefiles of the examples and run a new one to set the path to swig correctly (hopefully fixes #107929). -- Torsten Landschoff Sun, 13 Jan 2002 16:35:56 +0100 swig1.3 (1.3.9-1) unstable; urgency=low * New upstream release (closes: #107846). * Get the ruby support built in (closes: #105320): + debian/control: Depend on ruby along with ruby-dev. + debian/rules: Pass "--with-ruby=/usr/bin/ruby" to ./configure. * debian/rules: Did not find tcl anymore - added path to tclConfig.sh to the ./configure invocation. * debian/rules (install-stamp): The old way of overriding the installation root for the install target does not work anymore, but DESTDIR is supported now so use that for installation. * debian/rules (clean): Remove all config.status files (collect them using find, I am lazy this time). Found by lintian. * debian/rules: Remove invocation of dh_suidregister (build message). -- Torsten Landschoff Tue, 4 Dec 2001 22:15:26 +0100 swig1.3 (1.3a5-2) unstable; urgency=low * Source/Include/swigconfig.h: Adjust definition of SWIG_LIB * Makefile.in: Likewise (closes: #107928, #108337, #110280). * debian/rules: Do not overwrite SWIG_LIB when calling make anymore. * debian/control: Make swig1.3-examples depend on swig1.3 instead of swig (closes: #108435). -- Torsten Landschoff Tue, 28 Aug 2001 21:05:30 +0200 swig1.3 (1.3a5-1) unstable; urgency=low * New upstream release. * Build a new set of swig packages of the development branch since some projects already rely on it. * debian/control: Modify the Package: lines accordingly. * debian/control: Add build dependency on ruby-dev. -- Torsten Landschoff Tue, 26 Jun 2001 23:27:36 +0200 swig (1.1.p883-2) unstable; urgency=low * debian/control: Move swig-doc-pdf to section: doc (dinstall-warning). * debian/control: Build-Depend on python-dev so the sparc build will hopefully work... -- Torsten Landschoff Mon, 4 Jun 2001 01:57:01 +0200 swig (1.1.p883-1) unstable; urgency=low * New upstream release (closes: #77712). * debian/rules: + Automatically run all tests after building. + Remove upstream install instructions (lintian). * debian/control: + Add Build-Depends. + Update policy to 3.5.2. -- Torsten Landschoff Wed, 18 Apr 2001 22:28:00 +0200 swig (1.1.p5-6) unstable; urgency=low * 2nd trial: I forgot that I did a new package version at work so I redid some of my work with another 1.1.p5-5 release 8-/ * Changed reference to the SWIG homepage to www.swig.org (thanks to Dirk Eddelbuettel for pointing this out). * Moved some of the documentation files around. Looks more logical this way. -- Torsten Landschoff Sat, 20 Nov 1999 01:09:11 +0100 swig (1.1.p5-5) unstable; urgency=low * Update to policy 3.0.1 fixing most of those nasty lintian complaints. -- Torsten Landschoff Tue, 12 Oct 1999 11:31:14 +0200 swig (1.1.p5-4) unstable; urgency=low * Used guile-config to get linking options in examples/Makefile (closes: #34038). * Applied patch from Drake Diedrich to support Polymorphic return types. The development release already has this patch but it might take a while to get ready for prime time. As the patch seems not to break anything I included it for Debian (closes: #39927, #39946). * Patched the source to compile with gcc 2.95. -- Torsten Landschoff Wed, 1 Sep 1999 15:40:23 +0200 swig (1.1.p5-3) unstable; urgency=low * Changed encoding of upstream version to avoid epochs (closes: #20068) * Added suggestions for -examples and -doc (closes: #32722) * New maintainer. * New binary all package for PDF documentation. -- Torsten Landschoff Sat, 10 Jul 1999 17:34:26 +0200 swig (1.1p5-2) frozen unstable; urgency=low * debian/rules: Build runtime library for Tcl 8.x (closes Bug#22075). Thanks to Jacob de Bree for the fix! * debian/{control,rules}: swig-examples is "Architecture: all". * Rebuilt with libstdc++2.9. -- Gregor Hoffleit Mon, 2 Nov 1998 15:25:30 +0100 swig (1.1p5-1) unstable; urgency=low * New maintainer. -- Gregor Hoffleit Sun, 15 Mar 1998 22:38:33 +0100 swig (1.1p5-0.1) unstable; urgency=low * Non-maintainer release. * New upstream version. * Convert to libc6. -- Gregor Hoffleit Mon, 9 Mar 1998 20:47:07 +0100 swig (1.1.b5.p2-1) contrib; urgency=low * Initial release. -- Klee Dienes Fri, 7 Feb 1997 10:49:04 -0500 debian/swig2.0-examples.dirs0000644000000000000000000000003411417671747013072 0ustar usr/share/lintian/overrides debian/swig2.0-doc.docs0000644000000000000000000000004011417671747012005 0ustar Doc/Devel Doc/Manual Doc/README debian/swig2.0-examples.override0000644000000000000000000000012411417671747013750 0ustar swig2.0-examples: extra-license-file usr/share/doc/swig2.0-examples/GIFPlot/LICENSE debian/links0000644000000000000000000000011111550403552010222 0ustar usr/bin/swig2.0 usr/bin/swig usr/bin/ccache-swig2.0 usr/bin/ccache-swig debian/swig2.0-doc.doc-base0000644000000000000000000000076511420350463012527 0ustar Document: swig2.0-manual Title: SWIG (Simplified Wrapper and Interface Generator) 2.0 User Manual Abstract: SWIG (Simplified Wrapper and Interface Generator) is a software development tool for building scripting language interfaces to C and C++ programs. Author: SWIG Development Team Section: Programming Format: HTML Index: /usr/share/doc/swig2.0-doc/Manual/index.html Files: /usr/share/doc/swig2.0-doc/Manual/*.html Format: PDF Files: /usr/share/doc/swig2.0-doc/Manual/SWIGDocumentation.pdf debian/compat0000644000000000000000000000000211417671026010371 0ustar 7 debian/swig2.0-examples.links0000644000000000000000000000007611417671747013257 0ustar usr/share/doc/swig2.0-examples usr/share/doc/swig2.0/examples debian/swig2.0-examples.examples0000644000000000000000000000055011761470314013737 0ustar Examples/Makefile.in Examples/README Examples/chicken Examples/contract Examples/csharp Examples/guile Examples/index.html Examples/java Examples/mzscheme Examples/ocaml Examples/perl5 Examples/php Examples/pike Examples/python Examples/ruby Examples/s-exp Examples/tcl Examples/test-suite Examples/xml Examples/lua Examples/modula3 Examples/octave Examples/r debian/patches/0000755000000000000000000000000012302765353010623 5ustar debian/patches/octave-3.8.patch0000664000000000000000000002423512302765334013442 0ustar From 5b167cc12daf9ea275c17fedaefc975450613ab2 Mon Sep 17 00:00:00 2001 From: Karl Wette Date: Mon, 13 Jan 2014 18:24:17 +1300 Subject: [PATCH] octave: update support to Octave version 3.8.0 --- CHANGES.current | 26 ++++++++++++ Doc/Manual/Octave.html | 7 +--- Lib/octave/octrun.swg | 104 ++++++++++++++++++++++++++++++++++++++-------- Lib/octave/octruntime.swg | 14 +++---- 4 files changed, 122 insertions(+), 29 deletions(-) 2014-01-13: kwwette [Octave] update support to Octave version 3.8.0 - Octave 3.8.0 no longer defines OCTAVE_API_VERSION_NUMBER, but 3.8.1 will define OCTAVE_{MAJOR,MINOR,PATCH}_VERSION instead: see http://hg.savannah.gnu.org/hgweb/octave/rev/b6b6e0dc700e So we now use a new macro SWIG_OCTAVE_PREREQ(major,minor,patch) to enable features requiring Octave version major.minor.patch or later. For Octave versions prior to 3.8.1, we reconstruct values for OCTAVE_{MAJOR,MINOR,PATCH}_VERSION based on OCTAVE_API_VERSION_NUMBER, extracted from Octave's ChangeLogs. An additional hack is needed to distinguish between Octave <= 3.2.x and 3.8.0, neither of which define OCTAVE_API_VERSION_NUMBER. - Octave 3.8.0 deprecates symbol_table::varref(), so remove its use for this and future versions of Octave. - Octave 3.8.0 removes octave_value::is_real_nd_array(), used in octave_swig_type::dims(). Its use is not required here, so remove it. - Retested against Octave versions 3.0.5, 3.2.4, 3.4.3, 3.6.4, and 3.8.0. - Updated Octave documentation with tested Octave versions, and added a warning against using versions <= 3.x.x, which are no longer tested. diff --git a/Doc/Manual/Octave.html b/Doc/Manual/Octave.html index 84c0a0f..3e12ce6 100644 --- a/Doc/Manual/Octave.html +++ b/Doc/Manual/Octave.html @@ -59,11 +59,8 @@

-The SWIG implemention was first based on Octave 2.9.12, so this is the minimum version required. Testing has only been done on Linux. -

- -

-As of SWIG 2.0.7, the Octave module has been tested with Octave versions 3.0.5, 3.2.4, 3.4.3, and 3.6.1. +As of SWIG 3.0.0, the Octave module has been tested with Octave versions 3.0.5, 3.2.4, 3.4.3, 3.6.4, and 3.8.0. +Use of Octave versions older than 3.x.x is not recommended, as these versions are no longer tested with SWIG.

30.2 Running SWIG

diff --git a/Lib/octave/octrun.swg b/Lib/octave/octrun.swg index 41d1c7a..2174a0f 100644 --- a/Lib/octave/octrun.swg +++ b/Lib/octave/octrun.swg @@ -1,20 +1,88 @@ #include -#ifndef OCTAVE_API_VERSION_NUMBER - - // Hack to distinguish between Octave 3.2 and earlier versions before OCTAVE_API_VERSION_NUMBER existed - #define ComplexLU __ignore - #include - #undef ComplexLU - #ifdef octave_Complex_LU_h - # define OCTAVE_API_VERSION_NUMBER 36 - #else - # define OCTAVE_API_VERSION_NUMBER 37 - #endif -#endif +// Macro for enabling features which require Octave version >= major.minor.patch +#define SWIG_OCTAVE_PREREQ(major, minor, patch) \ + ( (OCTAVE_MAJOR_VERSION<<16) + (OCTAVE_MINOR_VERSION<<8) + OCTAVE_PATCH_VERSION >= ((major)<<16) + ((minor)<<8) + (patch) ) + +// Reconstruct Octave major, minor, and patch versions for releases prior to 3.8.1 +#if !defined(OCTAVE_MAJOR_VERSION) + +# if !defined(OCTAVE_API_VERSION_NUMBER) + +// Hack to distinguish between Octave 3.8.0, which removed OCTAVE_API_VERSION_NUMBER but did not yet +// introduce OCTAVE_MAJOR_VERSION, and Octave <= 3.2, which did not define OCTAVE_API_VERSION_NUMBER +# include +# if defined(octave_ov_h) +# define OCTAVE_MAJOR_VERSION 3 +# define OCTAVE_MINOR_VERSION 8 +# define OCTAVE_PATCH_VERSION 0 +# else + +// Hack to distinguish between Octave 3.2 and earlier versions, before OCTAVE_API_VERSION_NUMBER existed +# define ComplexLU __ignore +# include +# undef ComplexLU +# if defined(octave_Complex_LU_h) + +// We know only that this version is prior to Octave 3.2, i.e. OCTAVE_API_VERSION_NUMBER < 37 +# define OCTAVE_MAJOR_VERSION 3 +# define OCTAVE_MINOR_VERSION 1 +# define OCTAVE_PATCH_VERSION 99 + +# else + +// OCTAVE_API_VERSION_NUMBER == 37 +# define OCTAVE_MAJOR_VERSION 3 +# define OCTAVE_MINOR_VERSION 2 +# define OCTAVE_PATCH_VERSION 0 + +# endif // defined(octave_Complex_LU_h) + +# endif // defined(octave_ov_h) -#if OCTAVE_API_VERSION_NUMBER < 37 +// Correlation between Octave API and version numbers extracted from Octave's +// ChangeLogs; version is the *earliest* released Octave with that API number +# elif OCTAVE_API_VERSION_NUMBER >= 48 +# define OCTAVE_MAJOR_VERSION 3 +# define OCTAVE_MINOR_VERSION 6 +# define OCTAVE_PATCH_VERSION 0 + +# elif OCTAVE_API_VERSION_NUMBER >= 45 +# define OCTAVE_MAJOR_VERSION 3 +# define OCTAVE_MINOR_VERSION 4 +# define OCTAVE_PATCH_VERSION 1 + +# elif OCTAVE_API_VERSION_NUMBER >= 42 +# define OCTAVE_MAJOR_VERSION 3 +# define OCTAVE_MINOR_VERSION 3 +# define OCTAVE_PATCH_VERSION 54 + +# elif OCTAVE_API_VERSION_NUMBER >= 41 +# define OCTAVE_MAJOR_VERSION 3 +# define OCTAVE_MINOR_VERSION 3 +# define OCTAVE_PATCH_VERSION 53 + +# elif OCTAVE_API_VERSION_NUMBER >= 40 +# define OCTAVE_MAJOR_VERSION 3 +# define OCTAVE_MINOR_VERSION 3 +# define OCTAVE_PATCH_VERSION 52 + +# elif OCTAVE_API_VERSION_NUMBER >= 39 +# define OCTAVE_MAJOR_VERSION 3 +# define OCTAVE_MINOR_VERSION 3 +# define OCTAVE_PATCH_VERSION 51 + +# else // OCTAVE_API_VERSION_NUMBER == 38 +# define OCTAVE_MAJOR_VERSION 3 +# define OCTAVE_MINOR_VERSION 3 +# define OCTAVE_PATCH_VERSION 50 + +# endif // !defined(OCTAVE_API_VERSION_NUMBER) + +#endif // !defined(OCTAVE_MAJOR_VERSION) + +#if !SWIG_OCTAVE_PREREQ(3,2,0) #define SWIG_DEFUN(cname, wname, doc) DEFUNX_DLD(#cname, wname, FS ## cname, args, nargout, doc) #else #define SWIG_DEFUN(cname, wname, doc) DEFUNX_DLD(#cname, wname, G ## cname, args, nargout, doc) @@ -427,7 +495,7 @@ SWIGRUNTIME void swig_acquire_ownership_obj(void *vptr, int own); if (error_state) return dim_vector(1,1); } return d; - } else if (out.is_matrix_type() || out.is_real_nd_array() || out.is_numeric_type() ) { + } else if (out.is_matrix_type() || out.is_numeric_type() ) { if (out.rows()==1 || out.columns()==1) { Array a = out.int_vector_value(); if (error_state) return dim_vector(1,1); @@ -746,7 +814,7 @@ SWIGRUNTIME void swig_acquire_ownership_obj(void *vptr, int own); return outarg(0).string_value(); } -#if OCTAVE_API_VERSION_NUMBER >= 40 +#if SWIG_OCTAVE_PREREQ(3,3,52) virtual octave_map map_value() const { return octave_map(); } @@ -982,7 +1050,7 @@ SWIGRUNTIME void swig_acquire_ownership_obj(void *vptr, int own); virtual std::string string_value(bool force = false) const { return ptr->string_value(force); } -#if OCTAVE_API_VERSION_NUMBER >= 40 +#if SWIG_OCTAVE_PREREQ(3,3,52) virtual octave_map map_value() const { return ptr->map_value(); } #else @@ -1293,10 +1361,12 @@ SWIGRUNTIME void SWIG_Octave_SetGlobalValue(std::string name, const octave_value } SWIGRUNTIME void SWIG_Octave_LinkGlobalValue(std::string name) { -#if OCTAVE_API_VERSION_NUMBER < 37 +#if !SWIG_OCTAVE_PREREQ(3,2,0) link_to_global_variable(curr_sym_tab->lookup(name, true)); #else +#if !SWIG_OCTAVE_PREREQ(3,8,0) symbol_table::varref(name); +#endif symbol_table::mark_global(name); #endif } diff --git a/Lib/octave/octruntime.swg b/Lib/octave/octruntime.swg index 43313c3..fbf2007 100644 --- a/Lib/octave/octruntime.swg +++ b/Lib/octave/octruntime.swg @@ -25,7 +25,7 @@ static bool SWIG_init_user(octave_swig_type* module_ns); SWIGINTERN bool SWIG_Octave_LoadModule(std::string name) { bool retn; { -#if OCTAVE_API_VERSION_NUMBER < 38 +#if !SWIG_OCTAVE_PREREQ(3,3,50) unwind_protect::begin_frame("SWIG_Octave_LoadModule"); unwind_protect_int(error_state); unwind_protect_int(warning_state); @@ -44,7 +44,7 @@ SWIGINTERN bool SWIG_Octave_LoadModule(std::string name) { discard_warning_messages = true; feval(name, octave_value_list(), 0); retn = (error_state == 0); -#if OCTAVE_API_VERSION_NUMBER < 38 +#if !SWIG_OCTAVE_PREREQ(3,3,50) unwind_protect::run_frame("SWIG_Octave_LoadModule"); #endif } @@ -57,7 +57,7 @@ SWIGINTERN bool SWIG_Octave_LoadModule(std::string name) { SWIGINTERN bool SWIG_Octave_InstallFunction(octave_function *octloadfcn, std::string name) { bool retn; { -#if OCTAVE_API_VERSION_NUMBER < 38 +#if !SWIG_OCTAVE_PREREQ(3,3,50) unwind_protect::begin_frame("SWIG_Octave_InstallFunction"); unwind_protect_int(error_state); unwind_protect_int(warning_state); @@ -80,7 +80,7 @@ SWIGINTERN bool SWIG_Octave_InstallFunction(octave_function *octloadfcn, std::st error_state = 0; feval("autoload", args, 0); retn = (error_state == 0); -#if OCTAVE_API_VERSION_NUMBER < 38 +#if !SWIG_OCTAVE_PREREQ(3,3,50) unwind_protect::run_frame("SWIG_Octave_InstallFunction"); #endif } @@ -196,7 +196,7 @@ DEFUN_DLD( SWIG_name, args, nargout, SWIG_name_usage ) { // definitely affects version 3.2.*, not sure about 3.3.*, seems to be fixed in // version 3.4.* and above. can be turned off with macro definition. #ifndef SWIG_OCTAVE_NO_SEGFAULT_HACK -#if 36 < OCTAVE_API_VERSION_NUMBER && OCTAVE_API_VERSION_NUMBER < 45 +#if SWIG_OCTAVE_PREREQ(3,2,0) && !SWIG_OCTAVE_PREREQ(3,4,1) octave_exit = ::_Exit; #endif #endif @@ -212,7 +212,7 @@ DEFUN_DLD( SWIG_name, args, nargout, SWIG_name_usage ) { // workaround bug in octave where installing global variable of custom type and then // exiting without explicitly clearing the variable causes octave to segfault. -#if OCTAVE_API_VERSION_NUMBER > 36 +#if SWIG_OCTAVE_PREREQ(3,2,0) octave_value_list eval_args; eval_args.append("base"); eval_args.append("function __swig_atexit__; " @@ -297,7 +297,7 @@ DEFUN_DLD( SWIG_name, args, nargout, SWIG_name_usage ) { } } -#if OCTAVE_API_VERSION_NUMBER < 37 +#if !SWIG_OCTAVE_PREREQ(3,2,0) mlock(me->name()); #else mlock(); -- 1.8.5.5 debian/patches/series0000644000000000000000000000002112302765353012031 0ustar octave-3.8.patch debian/README.Debian0000644000000000000000000000135410145256004011227 0ustar This is SWIG 1.3 (Simplified Wrapper and Interface Generator) packaged for Debian GNU/Linux. This package is compiled with support for Tcl, Python, Perl5, PHP4, Mzscheme, Java, CHICKEN, Ocaml, Pike, C#, Ruby, and Guile. The package also contains the runtime libraries needed for larger packages. Compiler options ---------------- Note that you'll have to take care of good compiler options for yourself when building swig modules. We got a number of bug reports about build failures of "hello world" class perl modules. This is usually because the wrong compiler options are used. For Perl you should use the output of "perl -V:ccflags" into your compiler options. -- Torsten Landschoff Sat, 13 Nov 2004 01:55:27 +0100 debian/control0000644000000000000000000000577712262532143010611 0ustar Source: swig2.0 Section: interpreters Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Torsten Landschoff Standards-Version: 3.9.3 Vcs-Svn: svn://svn.debian.org/svn/pkg-swig/branches/swig2.0 Vcs-Browser: http://svn.debian.org/wsvn/pkg-swig/branches/swig2.0 Homepage: http://www.swig.org/ Build-Depends: dpkg-dev (>= 1.16.1~), bison, debhelper (>= 7.0), dh-autoreconf, default-jdk [!hppa !mips !mipsel !alpha !arm !hurd-i386], guile-2.0-dev, libperl-dev, libpcre3-dev, php5-cgi, php5-dev, python-dev, python3-dev, ruby1.9.1, ruby1.9.1-dev, tcl-dev, tk-dev Package: swig Architecture: any Depends: swig2.0 (>= ${source:Version}), ${misc:Depends} Suggests: swig-doc, swig-examples Conflicts: swig1.3 Replaces: swig1.3 Description: Generate scripting interfaces to C/C++ code SWIG is a compiler that makes it easy to integrate C and C++ code with other languages including Perl, PHP, Tcl, Ruby, Python, Java, Guile, Mzscheme, Chicken, OCaml, Pike, and C#. . Swig takes a set of ANSI C/C++ declarations and generates an interface for them to your favorite scripting language. . This is a dependency package providing the stable version of SWIG. Package: swig2.0 Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Suggests: swig2.0-examples, swig2.0-doc Breaks: swig (<< 2.0.4-3.1) Replaces: swig (<< 2.0.4-3.1) Description: Generate scripting interfaces to C/C++ code SWIG is a compiler that makes it easy to integrate C and C++ code with other languages including Perl, PHP, Tcl, Ruby, Python, Java, Guile, Mzscheme, Chicken, OCaml, Pike, and C#. . Swig takes a set of ANSI C/C++ declarations and generates an interface for them to your favorite scripting language. Package: swig-examples Architecture: all Depends: swig2.0-examples (>= 2.0.0-1), ${misc:Depends} Conflicts: swig1.3-examples Replaces: swig1.3-examples Description: Examples for applications of SWIG This is a dependency package providing the examples of the default version of SWIG in Debian. Package: swig2.0-examples Architecture: all Depends: swig2.0, ${misc:Depends} Description: Examples for applications of SWIG Contains examples for applications of SWIG, a wrapper interface generator to integrate C code into scripting languages. Package: swig-doc Architecture: all Depends: swig2.0-doc (>= 2.0.0-1), ${misc:Depends} Section: doc Conflicts: swig1.3-doc Replaces: swig1.3-doc Description: HTML documentation for SWIG This is a dependency package providing the documentation of the default version of SWIG in Debian. Package: swig2.0-doc Architecture: all Section: doc Depends: ${misc:Depends} Description: HTML documentation for SWIG Contains the users' and developers' manuals for SWIG (Simplified Wrapper Interface Generator) 2.0 in HTML format. debian/swig2.0.dirs0000644000000000000000000000007311417671747011261 0ustar usr/bin usr/share/man/man1 usr/share/swig2.0 usr/share/doc debian/rules0000755000000000000000000001077312262532266010264 0ustar #!/usr/bin/make -f # Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess. # This version is for a hypothetical package that builds an # architecture-dependant package, as well as an architecture-independent # package. # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 # Support building from Subversion repository export DH_ALWAYS_EXCLUDE=.svn DEB_HOST_MULTIARCH := $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) DPKG_EXPORT_BUILDFLAGS = 1 include /usr/share/dpkg/buildflags.mk # XXX: patch to pike detection submitted upstream, need to adapt # configure args MAKEOPTS = CONFIGURE_ARGS := \ --prefix=/usr --mandir=/usr/share/man \ --with-tclconfig=/usr/lib/$(DEB_HOST_MULTIARCH) \ --without-octave \ --with-python=/usr/bin/python \ --with-ruby=/usr/bin/ruby1.9.1 \ --with-pike=/usr/bin/pike7.6 \ --with-pikeincl=/usr/include/pike/7.6.24 \ --with-swiglibdir=/usr/share/swig2.0 \ --with-guileincl=/usr/include/guile/2.0 \ --without-mzscheme \ --program-suffix=2.0 DEB_TARGET_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH) with_java := yes no_java_archs := hppa hurd-i386 mips mipsel netbsd-i386 ifneq ($(DEB_TARGET_ARCH),i386) ifeq ($(DEB_TARGET_ARCH), $(findstring $(DEB_TARGET_ARCH),$(no_java_archs))) with_java := disabled for architecture $(DEB_TARGET_ARCH) NO_PACKAGES += endif endif with_chicken := yes no_chicken_archs := m68k mips mipsel ifeq ($(DEB_TARGET_ARCH), $(findstring $(DEB_TARGET_ARCH),$(no_chicken_archs))) with_chicken := disabled for architecture $(DEB_TARGET_ARCH) endif NO_PACKAGES_ARGS = $(foreach p,$(NO_PACKAGES),-N$(p)) ifeq ($(with_java),yes) CONFIGURE_ARGS += \ --with-java=/usr/bin/java \ --with-javac=/usr/bin/javac else CONFIGURE_ARGS += --without-java MAKEOPTS += skip-java=true endif ifeq ($(with_chicken),yes) CONFIGURE_ARGS += \ --with-chicken=/usr/bin/chicken \ --with-chickencfg=/usr/bin/chicken-config else CONFIGURE_ARGS += --without-chicken MAKEOPTS += skip-chicken=true endif configure-stamp: $(QUILT_STAMPFN) dh_testdir dh_autoreconf ./autogen.sh mkdir -p builddir PHP4INC="`php-config --includes`" \ cd builddir && ../configure $(CONFIGURE_ARGS) touch configure-stamp build: build-indep build-arch build-indep: build-stamp build-arch: build-stamp build-stamp: configure-stamp dh_testdir cd builddir && $(MAKE) $(MAKEOPTS) touch build-stamp clean: dh_testdir dh_testroot rm -f configure-stamp build-stamp install-stamp rm -rf builddir dh_autoreconf_clean dh_clean install: install-stamp install-stamp: build-stamp dh_testdir dh_testroot dh_prep dh_installdirs cd builddir && $(MAKE) $(MAKEOPTS) DESTDIR=$(CURDIR)/debian/swig2.0 install touch install-stamp # Build architecture-independent files here. # We don't need a dependency on build or install since these are the plain # documentation files as included in the distribution. binary-indep: dh_testdir dh_testroot dh_prep -i dh_installdirs -i dh_installdocs -i dh_installexamples -i cd debian/swig2.0-examples/usr/share/doc/swig2.0-examples && mv examples/* . && rmdir examples cp debian/swig2.0-examples.override debian/swig2.0-examples/usr/share/lintian/overrides/swig2.0-examples perl -pi -e 's,^SWIG.*=.*$$,SWIG = swig,' \ `find debian/swig2.0-examples/usr/share/doc/swig2.0-examples -name Makefile` dh_installchangelogs -i dh_link -i dh_compress -i -X.pdf dh_fixperms -i dh_installdeb -i dh_gencontrol -i dh_md5sums -i dh_builddeb -i # Build architecture-dependent files here. binary-arch: build install dh_testdir dh_testroot dh_installdocs -a $(NO_PACKAGES_ARGS) README dh_installexamples -a $(NO_PACKAGES_ARGS) dh_installmenu -a $(NO_PACKAGES_ARGS) # dh_installemacsen -a $(NO_PACKAGES_ARGS) # dh_installinit -a $(NO_PACKAGES_ARGS) dh_installcron -a $(NO_PACKAGES_ARGS) dh_installman -p swig2.0 debian/swig2.0.1 dh_install -a --sourcedir=$(CURDIR) # dh_undocumented dh_installchangelogs -a -Nswig2.0 $(NO_PACKAGES_ARGS) CHANGES dh_installchangelogs -pswig2.0 $(NO_PACKAGES_ARGS) dh_compress -a $(NO_PACKAGES_ARGS) -X.pdf dh_link -a $(NO_PACKAGES_ARGS) dh_strip -a $(NO_PACKAGES_ARGS) dh_fixperms -a $(NO_PACKAGES_ARGS) dh_makeshlibs -a $(NO_PACKAGES_ARGS) dh_installdeb -a $(NO_PACKAGES_ARGS) dh_shlibdeps -a $(NO_PACKAGES_ARGS) dh_gencontrol -a $(NO_PACKAGES_ARGS) dh_md5sums -a $(NO_PACKAGES_ARGS) dh_builddeb -a $(NO_PACKAGES_ARGS) source diff: @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install debian/source/0000755000000000000000000000000012232562254010471 5ustar debian/source/format0000644000000000000000000000001411372557117011705 0ustar 3.0 (quilt) debian/swig2.0.docs0000644000000000000000000000002011417671747011240 0ustar CHANGES.current debian/watch0000644000000000000000000000006011550371342010214 0ustar version=3 http://sf.net/swig/swig-(.+)\.tar\.gz