r45454 - in /packages/nlopt/trunk/debian: ./ patches/

trophime-guest at users.alioth.debian.org trophime-guest at users.alioth.debian.org
Wed Dec 12 09:49:11 UTC 2012


Author: trophime-guest
Date: Wed Dec 12 09:49:10 2012
New Revision: 45454

URL: http://svn.debian.org/wsvn/debian-science/?sc=1&rev=45454
Log:
merge with S Kirpichev's changes (from mentors)

Added:
    packages/nlopt/trunk/debian/libnlopt-dev.links
    packages/nlopt/trunk/debian/libnlopt-guile0.links
    packages/nlopt/trunk/debian/libnlopt0.docs
    packages/nlopt/trunk/debian/octave-nlopt.links
    packages/nlopt/trunk/debian/python-nlopt.links
Modified:
    packages/nlopt/trunk/debian/README.source
    packages/nlopt/trunk/debian/changelog
    packages/nlopt/trunk/debian/control
    packages/nlopt/trunk/debian/copyright
    packages/nlopt/trunk/debian/libnlopt-dev.install
    packages/nlopt/trunk/debian/libnlopt-guile0.install
    packages/nlopt/trunk/debian/libnlopt0.install
    packages/nlopt/trunk/debian/octave-nlopt.install
    packages/nlopt/trunk/debian/patches/series
    packages/nlopt/trunk/debian/rules

Modified: packages/nlopt/trunk/debian/README.source
URL: http://svn.debian.org/wsvn/debian-science/packages/nlopt/trunk/debian/README.source?rev=45454&op=diff
==============================================================================
--- packages/nlopt/trunk/debian/README.source (original)
+++ packages/nlopt/trunk/debian/README.source Wed Dec 12 09:49:10 2012
@@ -7,7 +7,3 @@
 ./direct/userguide.pdf
 
 have been removed from sources
-
-
-
-

Modified: packages/nlopt/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/debian-science/packages/nlopt/trunk/debian/changelog?rev=45454&op=diff
==============================================================================
--- packages/nlopt/trunk/debian/changelog (original)
+++ packages/nlopt/trunk/debian/changelog Wed Dec 12 09:49:10 2012
@@ -1,15 +1,42 @@
-nlopt (2.2.4+dfsg-2) UNRELEASED; urgency=low
+nlopt (2.3+dfsg-1) unstable; urgency=low
+
+  [ Christophe Trophime ]
+  * fix lintian error
+  * fix override disparity
+
+  [ Sergey B Kirpichev ]
+  * Adopt machine-readable debian/copyright file format
+  * Add symbols control file for libnlopt.so
+  * Provide /usr/share/doc in libnlopt0 package, make symlinks for
+    others
+  * Simplify debian/rules
+  * Reformat debian/control, drop trailing spaces
+  * Fix some short/long descriptions
+  * Move manpages to libnlopt-dev, add nlopt.pc (Closes: #695659)
+  * Drop unused override (revert back "fix lintian error")
+  * Add shlibs file for libnlopt0
+  * Fix Depends
+  * Fix override disparities: change priority to optional and revert
+    back Section's for source package and libnlopt0 (revert back "fix
+    override disparity")
+  * Cleanup debian/README.source
+  * Imported Upstream version 2.3+dfsg (Closes: #682273)
+  * Update debian/libnlopt0.symbols for new release
+
+ -- Christophe Trophime <christophe.trophime at lncmi.cnrs.fr>  Wed, 12 Dec 2012 10:30:53 +0100
+
+nlopt (2.2.4+dfsg-2) unstable; urgency=low
 
   [Sergey B Kirpichev]
   * Install libnlopt_guile.so (Closes: #679619)
   * Add multiarch support
 
   [ Rafael Laboissiere ]
-  * debian/rules: 
+  * debian/rules:
       - Install the .oct file in the appropriate directory (Closes: #679617)
-  
+
   * Add Sergey B Kirpichev <skirpichev at gmail.com> to Uploaders
-  
+
  -- Christophe Trophime <christophe.trophime at lncmi.cnrs.fr>  Wed, 27 Jun 2012 12:05:11 +0200
 
 nlopt (2.2.4+dfsg-1) unstable; urgency=low

Modified: packages/nlopt/trunk/debian/control
URL: http://svn.debian.org/wsvn/debian-science/packages/nlopt/trunk/debian/control?rev=45454&op=diff
==============================================================================
--- packages/nlopt/trunk/debian/control (original)
+++ packages/nlopt/trunk/debian/control Wed Dec 12 09:49:10 2012
@@ -1,121 +1,126 @@
 Source: nlopt
-Section: libs
-Priority: extra
+Section: math
+Priority: optional
 Maintainer: Debian Science Maintainers <debian-science-maintainers at lists.alioth.debian.org>
 Uploaders: Sergey B Kirpichev <skirpichev at gmail.com>, Christophe Trophime <christophe.trophime at lncmi.cnrs.fr>
-Build-Depends: quilt, debhelper (>= 9), autotools-dev, libtool, automake,
- gcc (>= 4.2), g++ (>= 4.2), octave-pkg-dev (>= 0.7.0), 
+Build-Depends: debhelper (>= 9), dpkg-dev (>= 1.16.1~),
+ autotools-dev, libtool, automake,
+ gcc (>= 4.2), g++ (>= 4.2), octave-pkg-dev (>= 1.0.1), 
  python-all-dev (>= 2.6.6-3~), python-numpy, 
  guile-1.8, guile-1.8-dev
 Standards-Version: 3.9.3
-X-Python-Version: >= 2.5
+X-Python-Version: >= 2.6
 Homepage: http://ab-initio.mit.edu/wiki/index.php/NLopt
 Vcs-Svn: svn://svn.debian.org/svn/debian-science/packages/nlopt
 Vcs-Browser: http://svn.debian.org/viewsvn/debian-science/packages/nlopt
 
 Package: libnlopt0
+Section: libs
 Architecture: any
 Multi-Arch: same
 Pre-Depends: ${misc:Pre-Depends}
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Description: nonlinear optimization library
- NLopt is a free/open-source library for nonlinear optimization, providing 
- a common interface for a number of different free optimization routines 
- available online as well as original implementations of various other 
+ NLopt is a free/open-source library for nonlinear optimization, providing
+ a common interface for a number of different free optimization routines
+ available online as well as original implementations of various other
  algorithms. Its features include:
  .
     * Callable from C, C++, Fortran, GNU Octave, Python, GNU Guile, GNU R.
     * A common interface for many different algorithms
     * Support for large-scale optimization.
     * Both global and local optimization algorithms.
-    * Algorithms using function values only (derivative-free) and also 
-    algorithms exploiting user-supplied gradients.
-    * Algorithms for unconstrained optimization, bound-constrained optimization, 
-    and general nonlinear inequality/equality constraints.
+    * Algorithms using function values only (derivative-free) and also
+      algorithms exploiting user-supplied gradients.
+    * Algorithms for unconstrained optimization, bound-constrained optimization,
+      and general nonlinear inequality/equality constraints.
+ .
+ This package provides the shared libraries required to run programs
+ compiled with NLopt. To compile your own programs you also need to
+ install libnlopt-dev.
 
 Package: libnlopt-dev
 Architecture: any
 Section: libdevel
 Depends: libnlopt0 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
-Description: nonlinear optimization library - development files
- NLopt is a free/open-source library for nonlinear optimization, providing 
- a common interface for a number of different free optimization routines 
- available online as well as original implementations of various other 
+Description: nonlinear optimization library -- development package
+ NLopt is a free/open-source library for nonlinear optimization, providing
+ a common interface for a number of different free optimization routines
+ available online as well as original implementations of various other
  algorithms. Its features include:
  .
     * Callable from C, C++, Fortran, GNU Octave, Python, GNU Guile, GNU R.
     * A common interface for many different algorithms
     * Support for large-scale optimization.
     * Both global and local optimization algorithms.
-    * Algorithms using function values only (derivative-free) and also 
-    algorithms exploiting user-supplied gradients.
-    * Algorithms for unconstrained optimization, bound-constrained optimization, 
-    and general nonlinear inequality/equality constraints.
+    * Algorithms using function values only (derivative-free) and also
+      algorithms exploiting user-supplied gradients.
+    * Algorithms for unconstrained optimization, bound-constrained optimization,
+      and general nonlinear inequality/equality constraints.
  .
- This package contains development files of nlopt.
+ This package contains the header files, static libraries and symbolic
+ links that developers using NLopt library will need.
 
 Package: python-nlopt
 Architecture: any
 Section: python
-X-Python-Version: ${python:Versions}
-Depends: libnlopt0, ${shlibs:Depends}, ${python:Depends}, ${misc:Depends}
+Depends: libnlopt0 (= ${binary:Version}), ${shlibs:Depends}, ${python:Depends}, ${misc:Depends}
 Provides: ${python:Provides}
-Description: python bindings for nlopt
- NLopt is a free/open-source library for nonlinear optimization, providing 
- a common interface for a number of different free optimization routines 
- available online as well as original implementations of various other 
+Description: nonlinear optimization library -- Python bindings
+ NLopt is a free/open-source library for nonlinear optimization, providing
+ a common interface for a number of different free optimization routines
+ available online as well as original implementations of various other
  algorithms. Its features include:
  .
     * Callable from C, C++, Fortran, GNU Octave, Python, GNU Guile, GNU R.
     * A common interface for many different algorithms
     * Support for large-scale optimization.
     * Both global and local optimization algorithms.
-    * Algorithms using function values only (derivative-free) and also 
-    algorithms exploiting user-supplied gradients.
-    * Algorithms for unconstrained optimization, bound-constrained optimization, 
-    and general nonlinear inequality/equality constraints.
+    * Algorithms using function values only (derivative-free) and also
+      algorithms exploiting user-supplied gradients.
+    * Algorithms for unconstrained optimization, bound-constrained optimization,
+      and general nonlinear inequality/equality constraints.
  .
- This package contains python bindings of nlopt.
- 
+ This package contains the Python bindings.
+
 Package: octave-nlopt
 Architecture: any
-Depends: libnlopt0, ${shlibs:Depends}, ${octave:Depends}, ${misc:Depends} 
-Description: nlopt for octave
- NLopt is a free/open-source library for nonlinear optimization, providing 
- a common interface for a number of different free optimization routines 
- available online as well as original implementations of various other 
+Depends: libnlopt0 (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends}, ${octave:Depends}
+Description: nonlinear optimization library -- GNU Octave package
+ NLopt is a free/open-source library for nonlinear optimization, providing
+ a common interface for a number of different free optimization routines
+ available online as well as original implementations of various other
  algorithms. Its features include:
  .
     * Callable from C, C++, Fortran, GNU Octave, Python, GNU Guile, GNU R.
     * A common interface for many different algorithms
     * Support for large-scale optimization.
     * Both global and local optimization algorithms.
-    * Algorithms using function values only (derivative-free) and also 
-    algorithms exploiting user-supplied gradients.
-    * Algorithms for unconstrained optimization, bound-constrained optimization, 
-    and general nonlinear inequality/equality constraints.
+    * Algorithms using function values only (derivative-free) and also
+      algorithms exploiting user-supplied gradients.
+    * Algorithms for unconstrained optimization, bound-constrained optimization,
+      and general nonlinear inequality/equality constraints.
  .
- This package contains nlopt plugins for octave.
+ This package contains the module for the GNU Octave.
 
 Package: libnlopt-guile0
 Architecture: any
 Multi-Arch: same
 Pre-Depends: ${misc:Pre-Depends}
-Depends: libnlopt0 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends},
- guile-1.8 
-Description: guile plugins for nlopt
- NLopt is a free/open-source library for nonlinear optimization, providing 
- a common interface for a number of different free optimization routines 
- available online as well as original implementations of various other 
+Depends: libnlopt0 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}, guile-1.8
+Description: nonlinear optimization library -- Guile bindings
+ NLopt is a free/open-source library for nonlinear optimization, providing
+ a common interface for a number of different free optimization routines
+ available online as well as original implementations of various other
  algorithms. Its features include:
  .
     * Callable from C, C++, Fortran, GNU Octave, Python, GNU Guile, GNU R.
     * A common interface for many different algorithms
     * Support for large-scale optimization.
     * Both global and local optimization algorithms.
-    * Algorithms using function values only (derivative-free) and also 
-    algorithms exploiting user-supplied gradients.
-    * Algorithms for unconstrained optimization, bound-constrained optimization, 
-    and general nonlinear inequality/equality constraints.
+    * Algorithms using function values only (derivative-free) and also
+      algorithms exploiting user-supplied gradients.
+    * Algorithms for unconstrained optimization, bound-constrained optimization,
+      and general nonlinear inequality/equality constraints.
  .
- This package contains nlopt plugins for guile.
+ This package contains the bindings for GNU Guile.

Modified: packages/nlopt/trunk/debian/copyright
URL: http://svn.debian.org/wsvn/debian-science/packages/nlopt/trunk/debian/copyright?rev=45454&op=diff
==============================================================================
--- packages/nlopt/trunk/debian/copyright (original)
+++ packages/nlopt/trunk/debian/copyright Wed Dec 12 09:49:10 2012
@@ -1,303 +1,205 @@
-This work was packaged for Debian by:
-
-    Christophe Trophime <christophe.trophime at grenoble.cnrs.fr> on Mon, 03 Jan 2011 14:26:50 +0100
-
-It was downloaded from:
-
-    http://ab-initio.mit.edu/wiki/index.php/NLopt
-
-Upstream Author:
-
-    Steven G. Johnson <stevenj at alum.mit.edu>
-
-Copyright:
-
-    Copyright (c) 2007-2010 Massachusetts Institute of Technology
-
-License:
-
-    The NLopt library is under the GNU Lesser General Public License (LGPL), 
-    and the copyrights are owned by a variety of authors.
-
-    In general, the different code in NLopt comes from different sources, 
-    and have a variety of licenses. For example, all of the new code we 
-    wrote for NLopt is under the MIT License (which imposes essentially 
-    no practical restrictions, and is hence compatible with the LGPL). 
-    The combination of all of this software is under the conjunction of 
-    the license terms, and in particular they are limited by the most 
-    restrictive of the licenses for the portions, which in this case 
-    is the LGPL. (The other portions of NLopt are under LGPL-compatible, 
-    less-restrictive licenses like the MIT license. So, if you remove 
-    the LGPL portions, which are currently code by Ladislav Luksan, 
-    the remainder reverts to a looser license.)
-
-    New code written by me for NLopt is 
-    Copyright © 2007-2010 Massachusetts Institute of Technology, 
-    and comes with no warranty:
-
-    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 
-    EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 
-    OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 
-    IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY 
-    CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 
-    TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 
-    SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.     
-
-The Debian packaging is:
-
-    Copyright (C) 2011 Christophe Trophime <christophe.trophime at grenoble.cnrs.fr>
-
-
-bobyqa:
-    Copyright (c) 2009 M. J. D. Powell <mjdp at cam.ac.uk>
-    Modifications Copyright (c) 2010 Massachusetts Institute of Technology
-
-    Permission is hereby granted, free of charge, to any person obtaining
-    a copy of this software and associated documentation files (the
-    "Software"), to deal in the Software without restriction, including
-    without limitation the rights to use, copy, modify, merge, publish,
-    distribute, sublicense, and/or sell copies of the Software, and to
-    permit persons to whom the Software is furnished to do so, subject to
-    the following conditions:
-
-    The above copyright notice and this permission notice shall be
-    included in all copies or substantial portions of the Software.
-
-    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-    EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-    MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-    NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-    LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-    OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-    WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 
-
-cobyla:
-    Copyright (c) 1992, Michael J. D. Powell <M.J.D.Powell at damtp.cam.ac.uk>
-    Copyright (c) 2004, Jean-Sebastien Roy <js at jeannot.org>
-    Copyright (c) 2008, Steven G. Johnson <stevenj at alum.mit.edu>
-
-    Permission is hereby granted, free of charge, to any person obtaining a
-    copy of this software and associated documentation files (the
-    "Software"), to deal in the Software without restriction, including
-    without limitation the rights to use, copy, modify, merge, publish,
-    distribute, sublicense, and/or sell copies of the Software, and to
-    permit persons to whom the Software is furnished to do so, subject to
-    the following conditions:
-
-    The above copyright notice and this permission notice shall be included
-    in all copies or substantial portions of the Software.
-
-    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
-    OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-    MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
-    IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
-    CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
-    TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
-    SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-    
-luksan:
-   Copyright:
-
-      Subroutines PBUN, PNEW, PVAR, PSEN, Copyright ACM, 2001. The original
-      versions were published in Transactions on Mathematical Software, 
-      Vol.27, 2001, pp.193-213. Here are the author's modifications. They
-      are posted here by permission of ACM for your personal use. Not for
-      redistribution. Subroutines PLIP, PSEN, Copyright Jan Vlcek, 2007. 
-      The remaining subroutines, Copyright Ladislav Luksan, 2007. Many of  
-      sparse matrix modules were prepared by Miroslav Tuma.
-
-   License: 
-
-      This library (with exception of PBUN, PNEW, PVAR, PSEN) is a free 
-      software; you can redistribute it and/or modify it under the terms 
-      of the GNU Lesser General Public License as published by the Free 
-      Software Foundation; either version 2.1 of the License, or (at your 
-      option) any later version (see http://www.gnu.org/copyleft/gpl.html).
-
-      This library is distributed in the hope that it will be useful,
-      but WITHOUT ANY WARRANTY; without even the implied warranty of
-      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-      Lesser General Public License for more details.
-
-      Permission is hereby granted to use or copy this program under the
-      terms of the GNU LGPL, provided that the Copyright, this License,
-      and the Availability of the original version is retained on all copies.
-      User documentation of any code that uses this code or any modified
-      version of this code must cite the Copyright, this License, the
-      Availability note, and "Used by permission." Permission to modify
-      the code and to distribute modified code is granted, provided the
-      Copyright, this License, and the Availability note are retained,
-      and a notice that the code was modified is included.
-
-   Availability:
-
-      http://www.cs.cas.cz/~luksan/subroutines.html
-
-   Acknowledgements:
-
-      This work was supported by the Grant Agency of the Czech Academy of 
-      Sciences, under grant IAA1030405.
-
-newuoa:
-     Copyright (c) 2004 M. J. D. Powell <mjdp at cam.ac.uk>
-     Copyright (c) 2007-2011 Massachusetts Institute of Technology
-
-     Permission is hereby granted, free of charge, to any person obtaining
-     a copy of this software and associated documentation files (the
-     "Software"), to deal in the Software without restriction, including
-     without limitation the rights to use, copy, modify, merge, publish,
-     distribute, sublicense, and/or sell copies of the Software, and to
-     permit persons to whom the Software is furnished to do so, subject to
-     the following conditions:
-
-     The above copyright notice and this permission notice shall be
-     included in all copies or substantial portions of the Software.
-
-     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-     MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-     LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-     OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-     WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 
-
-
-slsqp
-    Copyright (c) 1988 Dieter Kraft
-
-    Copyright (c) 1994 Association for Computing Machinery
-
-    Copyright (c) 2001, 2002 Enthought, Inc.
-    All rights reserved.
-
-    Copyright (c) 2003-2009 SciPy Developers.
-    All rights reserved.
-
-    Copyright (c) 2010 Massachusetts Institute of Technology
-    All rights reserved.
-
-    Redistribution and use in source and binary forms, with or without
-    modification, are permitted provided that the following conditions are met:
-
-      a. Redistributions of source code must retain the above copyright notice,
-	 this list of conditions and the following disclaimer.
-      b. 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.
-      c. Neither the name of the Enthought 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 COPYRIGHT HOLDERS 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 REGENTS 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.
-
-    C      http://permalink.gmane.org/gmane.comp.python.scientific.devel/6725
-    C      ------
-    C      From: Deborah Cotton <cotton at hq.acm.org>
-    C      Date: Fri, 14 Sep 2007 12:35:55 -0500
-    C      Subject: RE: Algorithm License requested
-    C      To: Alan Isaac
-    C
-    C      Prof. Issac,
-    C
-    C      In that case, then because the author consents to [the ACM] releasing
-    C      the code currently archived at http://www.netlib.org/toms/733 under the
-    C      BSD license, the ACM hereby releases this code under the BSD license.
-    C
-    C      Regards,
-    C
-    C      Deborah Cotton, Copyright & Permissions
-    C      ACM Publications
-    C      2 Penn Plaza, Suite 701**
-    C      New York, NY 10121-0701
-    C      permissions at acm.org
-    C      212.869.7440 ext. 652
-    C      Fax. 212.869.0481
-    C      ------
-
-stogo:
-
-    The original StoGO code is:
-
-    Copyright (c) 1998 by S. Zertchaninov and K. Madsen.
-
-    Permission is hereby granted, free of charge, to any person obtaining
-    a copy of this software and associated documentation files (the
-    "Software"), to deal in the Software without restriction, including
-    without limitation the rights to use, copy, modify, merge, publish,
-    distribute, sublicense, and/or sell copies of the Software, and to
-    permit persons to whom the Software is furnished to do so, subject to
-    the following conditions:
-
-    The above copyright notice and this permission notice shall be
-    included in all copies or substantial portions of the Software.
-
-    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-    EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-    MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-    NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-    LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-    OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-    WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-    ----------------------------------------------------------------------
-
-    The StoGO source code on the authors' web site has no copyright or
-    license information, but I (Steven G. Johnson) contacted the author
-    K. Madsen for clarification and he gave me permission to distribute
-    it under the MIT license above.  See the correspondence below:
-
-    ----------------------------------------------------------------------
-    Date: Fri, 24 Aug 2007 10:46:09 +0200
-    From: Kaj Madsen <km at imm.dtu.dk>
-    To: stevenj at math.mit.edu
-    Subject: RE: open source license for StoGO software?
-
-    The MIT licence is ok with me, and so is your copyright suggestion. 
-
-    Kaj Madsen. 
-
-    -----Original Message-----
-    From: Steven G. Johnson [mailto:stevenj at fftw.org] 
-    Sent: 23. august 2007 22:23
-    To: Kaj Madsen
-    Subject: RE: open source license for StoGO software?
-
-    On Thu, 23 Aug 2007, Kaj Madsen wrote:
-    > Many thanks for your mail. You can definitely consider the software as
-    > open source, please use it as you like, however please refer to us if 
-    > you publish results based on the software.
-    >
-    > I am now in a heavy administrative position as a Head of Department 
-    > (has been since 1998, therefore I never really followed up on this). 
-    > The paper was never published, however I am attaching two fdf-files, 
-    > one with the paper, one with some descriptions of the code. I hope 
-    > this makes sense, otherwise please don't hesitate to contact me again.
-
-    Thanks so much for your response!
-
-    To be open source it needs some specific open-source license to specify
-    the permissions in legal terms.  The simplest open-source license is
-    probably the MIT license, is this okay?
-
-            http://opensource.org/licenses/mit-license.php
-
-    Also, I need to know who the authors are for the copyright statement. 
-    Should I list it as:
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: NLopt
+Upstream-Contact: Steven G. Johnson <stevenj at alum.mit.edu>
+Source: http://ab-initio.mit.edu/wiki/index.php/NLopt
+
+Files: *
+Copyright: 2007-2011 Massachusetts Institute of Technology
+License: MIT
+Comment:
+ NLopt combines several free/open-source nonlinear optimization
+ libraries by various authors.  See the COPYING, COPYRIGHT, and README
+ files in the subdirectories for the original copyright and licensing
+ information of these packages.
+ .
+ The compiled NLopt library, i.e. the combined work of all of the
+ included optimization routines, is licensed under the conjunction of
+ all of these licensing terms.  Currently, the most restrictive terms
+ are for the code in the "luksan" directory, which is licensed under
+ the GNU Lesser General Public License (GNU LGPL), version 2.1 or
+ later (see luksan/COPYRIGHT).
+ .
+ That means that the compiled NLopt library is governed by the terms of
+ the LGPL.
+ Other portions of NLopt, including any modifications to the
+ abovementioned packages, are licensed under the standard "MIT License".
+
+Files: bobyqa/*
+Copyright: 2009 M. J. D. Powell <mjdp at cam.ac.uk>
+           2010 Massachusetts Institute of Technology
+License: MIT
+
+Files: cobyla/*
+Copyright: 1992, Michael J. D. Powell <M.J.D.Powell at damtp.cam.ac.uk>
+           2004, Jean-Sebastien Roy <js at jeannot.org>
+           2008, Steven G. Johnson <stevenj at alum.mit.edu>
+License: MIT
+
+Files: luksan/*
+Copyright: Ladislav Luksan, 2007.
+           Many of sparse matrix modules were prepared by Miroslav Tuma.
+License: LGPL-2.1+
+
+Files: newuoa/*
+Copyright: 2004 M. J. D. Powell <mjdp at cam.ac.uk>
+           2007-2011 Massachusetts Institute of Technology
+License: MIT
+
+Files: slsqp/*
+Copyright: 1988 Dieter Kraft
+           1994 Association for Computing Machinery
+           2001, 2002 Enthought, Inc.
+           2003-2009 SciPy Developers.
+           2010 Massachusetts Institute of Technology.
+License: BSD-3-clause
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+ .
+ a. Redistributions of source code must retain the above copyright notice,
+	this list of conditions and the following disclaimer.
+ b. 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.
+ c. Neither the name of the Enthought 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 COPYRIGHT HOLDERS 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 REGENTS 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.
+Comment: 
+ C      http://permalink.gmane.org/gmane.comp.python.scientific.devel/6725
+ C      ------
+ C      From: Deborah Cotton <cotton at hq.acm.org>
+ C      Date: Fri, 14 Sep 2007 12:35:55 -0500
+ C      Subject: RE: Algorithm License requested
+ C      To: Alan Isaac
+ C
+ C      Prof. Issac,
+ C
+ C      In that case, then because the author consents to [the ACM] releasing
+ C      the code currently archived at http://www.netlib.org/toms/733 under the
+ C      BSD license, the ACM hereby releases this code under the BSD license.
+ C
+ C      Regards,
+ C
+ C      Deborah Cotton, Copyright & Permissions
+ C      ACM Publications
+ C      2 Penn Plaza, Suite 701**
+ C      New York, NY 10121-0701
+ C      permissions at acm.org
+ C      212.869.7440 ext. 652
+ C      Fax. 212.869.0481
+ C      ------
+
+Files: stogo/*
+Copyright: 1998 by S. Zertchaninov and K. Madsen.
+License: MIT
+Comment:
+ ----------------------------------------------------------------------
+ .
+ The StoGO source code on the authors' web site has no copyright or
+ license information, but I (Steven G. Johnson) contacted the author
+ K. Madsen for clarification and he gave me permission to distribute
+ it under the MIT license above.  See the correspondence below:
+ .
+ ----------------------------------------------------------------------
+ Date: Fri, 24 Aug 2007 10:46:09 +0200
+ From: Kaj Madsen <km at imm.dtu.dk>
+ To: stevenj at math.mit.edu
+ Subject: RE: open source license for StoGO software?
+ .
+ The MIT licence is ok with me, and so is your copyright suggestion. 
+ .
+ Kaj Madsen. 
+ .
+ -----Original Message-----
+ From: Steven G. Johnson [mailto:stevenj at fftw.org] 
+ Sent: 23. august 2007 22:23
+ To: Kaj Madsen
+ Subject: RE: open source license for StoGO software?
+ .
+ On Thu, 23 Aug 2007, Kaj Madsen wrote:
+ > Many thanks for your mail. You can definitely consider the software as
+ > open source, please use it as you like, however please refer to us if 
+ > you publish results based on the software.
+ >
+ > I am now in a heavy administrative position as a Head of Department 
+ > (has been since 1998, therefore I never really followed up on this). 
+ > The paper was never published, however I am attaching two fdf-files, 
+ > one with the paper, one with some descriptions of the code. I hope 
+ > this makes sense, otherwise please don't hesitate to contact me again.
+ .
+ Thanks so much for your response!
+ .
+ To be open source it needs some specific open-source license to specify
+ the permissions in legal terms.  The simplest open-source license is
+ probably the MIT license, is this okay?
+ .
+ http://opensource.org/licenses/mit-license.php
+ .
+ Also, I need to know who the authors are for the copyright statement. 
+ Should I list it as:
             Copyright (c) 1998 by S. Zertchaninov and K. Madsen ?
-
-    Thanks again!  I will definitely cite it if I publish any results based
-    on StoGO!  (It's one of the few public global-optimization programs that
-    is able to exploit gradient information.)
-
-    Regards,
-    Steven G. Johnson
+ .
+ Thanks again!  I will definitely cite it if I publish any results based
+ on StoGO!  (It's one of the few public global-optimization programs that
+ is able to exploit gradient information.)
+ .
+ Regards,
+ Steven G. Johnson
+
+License: LGPL-2.1+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.
+ .
+ This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ Lesser General Public License for more details.
+ .
+ You should have received a copy of the GNU Lesser General Public
+ License along with this library; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ .
+ On Debian GNU/Linux systems, the complete text of the GNU General
+ Public License (GPL) version 2.1 can be found at
+ /usr/share/common-licenses/LGPL-2.1.
+
+License: MIT
+ Permission is hereby granted, free of charge, to any person obtaining
+ a copy of this software and associated documentation files (the
+ "Software"), to deal in the Software without restriction, including
+ without limitation the rights to use, copy, modify, merge, publish,
+ distribute, sublicense, and/or sell copies of the Software, and to
+ permit persons to whom the Software is furnished to do so, subject to
+ the following conditions:
+ .
+ The above copyright notice and this permission notice shall be
+ ncluded in all copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+Files: debian/*
+Copyright: 2011-2012, Christophe Trophime <christophe.trophime at grenoble.cnrs.fr>
+           2012, Sergey B Kirpichev <skirpichev at gmail.com>
+License: GPL-3+
+ On Debian GNU/Linux systems, the complete text of the GNU General
+ Public License (GPL) version 3 can be found at
+ /usr/share/common-licenses/GPL-3.

Modified: packages/nlopt/trunk/debian/libnlopt-dev.install
URL: http://svn.debian.org/wsvn/debian-science/packages/nlopt/trunk/debian/libnlopt-dev.install?rev=45454&op=diff
==============================================================================
--- packages/nlopt/trunk/debian/libnlopt-dev.install (original)
+++ packages/nlopt/trunk/debian/libnlopt-dev.install Wed Dec 12 09:49:10 2012
@@ -1,3 +1,5 @@
 usr/include
 usr/lib/*/libnlopt.so
 usr/lib/*/libnlopt.a
+usr/lib/*/pkgconfig/nlopt.pc
+usr/share/man/man3/*

Added: packages/nlopt/trunk/debian/libnlopt-dev.links
URL: http://svn.debian.org/wsvn/debian-science/packages/nlopt/trunk/debian/libnlopt-dev.links?rev=45454&op=file
==============================================================================
--- packages/nlopt/trunk/debian/libnlopt-dev.links (added)
+++ packages/nlopt/trunk/debian/libnlopt-dev.links Wed Dec 12 09:49:10 2012
@@ -1,0 +1,1 @@
+usr/share/doc/libnlopt0 usr/share/doc/libnlopt-dev

Modified: packages/nlopt/trunk/debian/libnlopt-guile0.install
URL: http://svn.debian.org/wsvn/debian-science/packages/nlopt/trunk/debian/libnlopt-guile0.install?rev=45454&op=diff
==============================================================================
--- packages/nlopt/trunk/debian/libnlopt-guile0.install (original)
+++ packages/nlopt/trunk/debian/libnlopt-guile0.install Wed Dec 12 09:49:10 2012
@@ -1,4 +1,2 @@
-usr/lib/*/libnlopt_guile.so.*
-usr/lib/*/libnlopt_guile.so
-usr/lib/*/libnlopt_guile.a
+usr/lib/*/libnlopt_guile.so*
 usr/share/guile/site

Added: packages/nlopt/trunk/debian/libnlopt-guile0.links
URL: http://svn.debian.org/wsvn/debian-science/packages/nlopt/trunk/debian/libnlopt-guile0.links?rev=45454&op=file
==============================================================================
--- packages/nlopt/trunk/debian/libnlopt-guile0.links (added)
+++ packages/nlopt/trunk/debian/libnlopt-guile0.links Wed Dec 12 09:49:10 2012
@@ -1,0 +1,1 @@
+usr/share/doc/libnlopt0 usr/share/doc/libnlopt-guile0

Added: packages/nlopt/trunk/debian/libnlopt0.docs
URL: http://svn.debian.org/wsvn/debian-science/packages/nlopt/trunk/debian/libnlopt0.docs?rev=45454&op=file
==============================================================================
--- packages/nlopt/trunk/debian/libnlopt0.docs (added)
+++ packages/nlopt/trunk/debian/libnlopt0.docs Wed Dec 12 09:49:10 2012
@@ -1,0 +1,3 @@
+NEWS
+README
+TODO

Modified: packages/nlopt/trunk/debian/libnlopt0.install
URL: http://svn.debian.org/wsvn/debian-science/packages/nlopt/trunk/debian/libnlopt0.install?rev=45454&op=diff
==============================================================================
--- packages/nlopt/trunk/debian/libnlopt0.install (original)
+++ packages/nlopt/trunk/debian/libnlopt0.install Wed Dec 12 09:49:10 2012
@@ -1,3 +1,1 @@
-usr/lib/*/libnlopt.so.0.*
-usr/lib/*/libnlopt.so.0
-usr/share/man/man3/*
+usr/lib/*/libnlopt.so.*

Modified: packages/nlopt/trunk/debian/octave-nlopt.install
URL: http://svn.debian.org/wsvn/debian-science/packages/nlopt/trunk/debian/octave-nlopt.install?rev=45454&op=diff
==============================================================================
--- packages/nlopt/trunk/debian/octave-nlopt.install (original)
+++ packages/nlopt/trunk/debian/octave-nlopt.install Wed Dec 12 09:49:10 2012
@@ -1,3 +1,2 @@
 usr/share/octave
 usr/lib/*/octave
-#usr/share/lintian/overrides/octave-nlopt*

Added: packages/nlopt/trunk/debian/octave-nlopt.links
URL: http://svn.debian.org/wsvn/debian-science/packages/nlopt/trunk/debian/octave-nlopt.links?rev=45454&op=file
==============================================================================
--- packages/nlopt/trunk/debian/octave-nlopt.links (added)
+++ packages/nlopt/trunk/debian/octave-nlopt.links Wed Dec 12 09:49:10 2012
@@ -1,0 +1,1 @@
+usr/share/doc/libnlopt0 usr/share/doc/octave-nlopt

Modified: packages/nlopt/trunk/debian/patches/series
URL: http://svn.debian.org/wsvn/debian-science/packages/nlopt/trunk/debian/patches/series?rev=45454&op=diff
==============================================================================
--- packages/nlopt/trunk/debian/patches/series (original)
+++ packages/nlopt/trunk/debian/patches/series Wed Dec 12 09:49:10 2012
@@ -1,5 +1,5 @@
 swig.patch
 configure.patch
+01_manpage_fixes.patch
 02_spelling_fixes.patch
-01_manpage_fixes.patch
 03_guile_fix_deprecated_calls.patch

Added: packages/nlopt/trunk/debian/python-nlopt.links
URL: http://svn.debian.org/wsvn/debian-science/packages/nlopt/trunk/debian/python-nlopt.links?rev=45454&op=file
==============================================================================
--- packages/nlopt/trunk/debian/python-nlopt.links (added)
+++ packages/nlopt/trunk/debian/python-nlopt.links Wed Dec 12 09:49:10 2012
@@ -1,0 +1,1 @@
+usr/share/doc/libnlopt0 usr/share/doc/python-nlopt

Modified: packages/nlopt/trunk/debian/rules
URL: http://svn.debian.org/wsvn/debian-science/packages/nlopt/trunk/debian/rules?rev=45454&op=diff
==============================================================================
--- packages/nlopt/trunk/debian/rules (original)
+++ packages/nlopt/trunk/debian/rules Wed Dec 12 09:49:10 2012
@@ -1,5 +1,6 @@
 #!/usr/bin/make -f
 
+BUILDDIR = $(CURDIR)/debian/build
 
 PYVERS := $(shell pyversions -vr debian/control)
 
@@ -8,10 +9,8 @@
 mpath = $(shell octave-config -p LOCALFCNFILEDIR)
 bpath = $(shell octave-config -p LOCALOCTFILEDIR)
 
-BUILDDIR = $(CURDIR)/debian/build
-
 %:
-	dh $@ --buildsystem=autoconf --builddirectory=$(BUILDDIR) --with python2
+	dh $@  --buildsystem=autoconf --builddirectory=$(BUILDDIR) --with python2
 
 override_dh_auto_reconf:
 	[ -e bin/scripts ] || mkdir -p bin/scripts
@@ -20,26 +19,28 @@
 	aclocal -Im4
 	autoreconf -i
 	automake
- 
-override_dh_auto_clean:
-	for v in $(PYVERS); do \
-	   rm -rf $(BUILDDIR)$$v; \
-	done
-	-rm bin/scripts/config.guess bin/scripts/config.sub
-	-rm ltmain.sh octave/nlopt_optimize-oct.o m4/ltversion.m4 m4/libtool.m4 m4/ltoptions.m4 m4/lt~obsolete.m4
-	-rm aclocal.m4
-	-rm -rf autom4te.cache
-	-rm configure
-	find . -name Makefile.in | xargs -r rm 
 
 override_dh_auto_configure: override_dh_auto_reconf
 	for v in $(PYVERS); do \
-	dh_auto_configure --builddirectory=$(BUILDDIR)$$v \
-	   -- $(extra_flags) \
+	   dh_auto_configure --builddirectory=$(BUILDDIR)$$v \
+	        -- $(extra_flags) \
 		--prefix=/usr \
 		--srcdir=$(CURDIR) \
 		--enable-shared \
-	   PYTHON=/usr/bin/python$$v  OCT_INSTALL_DIR=$(bpath) M_INSTALL_DIR=$(mpath) GUILE=guile GUILE_CONFIG=guile-config ;\
+		PYTHON=/usr/bin/python$$v \
+		OCT_INSTALL_DIR=$(bpath) M_INSTALL_DIR=$(mpath) \
+		GUILE=guile GUILE_CONFIG=guile-config; \
+	done
+
+override_dh_auto_build:
+	for v in $(PYVERS); do \
+	   dh_auto_build --builddirectory=$(BUILDDIR)$$v; \
+	done
+
+override_dh_clean:
+	dh_clean --exclude='*.orig'
+	for v in $(PYVERS); do \
+	   rm -rf $(BUILDDIR)$$v; \
 	done
 
 override_dh_auto_build:
@@ -58,22 +59,35 @@
 override_dh_makeshlibs:
 	dh_makeshlibs -X/usr/lib/python2.7/dist-packages
 
+override_dh_shlibdeps:
+	dh_shlibdeps -- \
+		debian/libnlopt0/usr/lib/*/libnlopt.so.* \
+		-Tdebian/libnlopt0.substvars
+	dh_shlibdeps -- \
+		debian/libnlopt-guile0/usr/lib/*/libnlopt_guile.so.* \
+		-Tdebian/libnlopt-guile0.substvars
+	dh_shlibdeps -- \
+		debian/octave-nlopt/usr/lib/*/octave/site/oct/*/*.oct \
+		-Tdebian/octave-nlopt.substvars
+	dh_shlibdeps -- \
+		debian/python-nlopt/usr/lib/python*/dist-packages/*.so* \
+		-Tdebian/python-nlopt.substvars
 
 override_dh_auto_install:
 	for v in $(PYVERS); do \
 	  dh_auto_install --builddirectory=$(BUILDDIR)$$v; \
 	done
 
-	#
-	# to prevent bug in install due to build-%/config.status being deleted after build target is done
-	dh_prep --exclude=debian/tmp
-	find . -name "*.pyc" -exec rm {} \;
-	#
-	# Fix lintian errors
 	dh_numpy
-	#
-	find $(CURDIR)/debian/tmp/usr/lib -name \*.la | xargs rm
-	find $(CURDIR)/debian/tmp/usr/lib -name _nlopt.a | xargs rm
+	find debian/tmp/usr/lib/python* \
+		-name '*.pyc' -o -name '*.pyo' \
+		-o -name '*.la' -o -name '*.a' | xargs rm
+
+override_dh_link:
+	for package in libnlopt-dev libnlopt-guile0 octave-nlopt python-nlopt; do \
+		rm -rf debian/$$package/usr/share/doc/$$package; \
+	done
+	dh_link
 
 
 # Grab the version before +dfsg




More information about the debian-science-commits mailing list