debian/0000755000000000000000000000000011773045066007177 5ustar debian/rules0000755000000000000000000000137211773043452010257 0ustar #!/usr/bin/make -f DPKG_EXPORT_BUILDFLAGS = 1 -include /usr/share/dpkg/buildflags.mk FC = gfortran export FC override_dh_auto_build: $(MAKE) CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS)" cd yorick; \ $(MAKE) COPT_DEFAULT="" \ Y_CFLAGS="$(CFLAGS) $(CPPFLAGS)" \ Y_LDFLAGS="$(LDFLAGS)" override_dh_auto_test: ifeq (,$(filter nocheck, $(DEB_BUILD_OPTIONS))) cd yorick; yorick -batch ../debian/check.i endif override_dh_auto_install: dh_installyorick --no-make-install override_dh_clean: dh_clean --exclude=yorick/OptimPack1-test.out.orig override_dh_auto_clean: $(MAKE) Y_MAKEDIR=/usr/lib/yorick Y_EXE=/usr/bin/yorick clean rm -f yorick/OptimPack1-test.out overrides_dh_installdocs: dh_installdocs --exclude=README %: dh $@ debian/changelog0000644000000000000000000000132711773044376011057 0ustar yorick-optimpack (1.3.2+dfsg-1) unstable; urgency=low * New upstream * Actually hand over maintenance to the science team * Harden -- Thibaut Paumard Thu, 28 Jun 2012 14:07:26 +0200 yorick-optimpack (1.3.1+dfsg1-2) unstable; urgency=low * Amend debian/control to abide by Debian Science Policy * Updated copyright * Patch Makefile instead of running yorick -batch make.i * Bump standards to 3.9.3 * Harden -- Thibaut Paumard Wed, 27 Jun 2012 15:24:43 +0200 yorick-optimpack (1.3.1+dfsg1-1) unstable; urgency=low * Initial release (Closes: #561487) -- Thibaut Paumard Mon, 22 Mar 2010 10:39:00 +0100 debian/OptimPack1-auto.i0000644000000000000000000000031511773042331012256 0ustar autoload, "OptimPack1.i"; autoload, "OptimPack1.i", op_csrch, op_vmlmb_setup, op_vmlmb_msg; autoload, "OptimPack1.i", op_vmlmb_next, op_vmlmb_set_fmin, op_vmlmb_get_fmin; autoload, "OptimPack1.i", op_mnb; debian/check.i0000644000000000000000000000017211773042331010416 0ustar plug_dir,_(".", plug_dir()); #include "OptimPack1-test.i" for (i=1;i<=18;++i) op_test_um, prob=i, method=0, verb=1; quit; debian/watch0000644000000000000000000000022311773042331010215 0ustar version=3 opts=dversionmangle=s/\+dfsg\d$// \ http://www-obs.univ-lyon1.fr/labo/perso/eric.thiebaut/optimpack.html \ files/OptimPack-(.*).tar.bz2debian/yorick-optimpack.packinfo0000644000000000000000000000020511773042331014165 0ustar :newsubsection OptimPack: optimization of large scale problems :OptimPack1 optimization algorithms for problems with many variables debian/README.source0000644000000000000000000000115011773042331011343 0ustar Always update "Version" in debian/optimpack.info when uploading a new upstream version. Repack, removing the following files: Removed-Files: yorick/lbfgs* Rationale: Not DFSG Those files are not used in the plug-in. They bear no clear copyright statement. Removed-Files: idl/* Rationale: Not DFSG The idl/ directory of the original source contains files meant for building a plugin for a commercial product. These files are not used in the Debian package and some have a dubious copyright statement, presumably non-DFSG. -- Thibaut Paumard , Wed, 27 Jun 2012 14:59:23 +0200 debian/docs0000644000000000000000000000001211773042331010033 0ustar NEWS TODO debian/control0000644000000000000000000000245011773043321010573 0ustar Source: yorick-optimpack Section: science Priority: extra Maintainer: Debian Science Maintainers Uploaders: Thibaut Paumard DM-Upload-Allowed: yes Build-Depends: debhelper (>= 7.0.50~), yorick-dev (>= 2.1.05+dfsg-2~bpo40+1) Standards-Version: 3.9.3 Vcs-Git: git://git.debian.org/git/debian-science/packages/yorick-optimpack.git Vcs-Browser: http://git.debian.org/?p=debian-science/packages/yorick-optimpack.git Homepage: http://www-obs.univ-lyon1.fr/labo/perso/eric.thiebaut/optimpack.html Package: yorick-optimpack Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, yorick (>= 1.6.02) Description: optimization of large scale problems for the Yorick language OptimPack is a portable C library which implements algorithms for optimization of large scale problems with bound constraints. Large scale means some million variables (e.g. pixel values) or more. . The most important algorithm is VMLM-B: a variable metric method with limited memory requirements and, possibly, bound constraints on the parameters. The algorithm is based on limited memory BFGS updates with Moré & Thuente inexact line search and gradient projection to account for bounds. . This package contains a Yorick plug-in based on OptimPack.debian/compat0000644000000000000000000000000211773042331010365 0ustar 7 debian/copyright0000644000000000000000000000233411773042331011124 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: OptimPack Upstream-Contact: Éric Thiébaut Source: http://www-obs.univ-lyon1.fr/labo/perso/eric.thiebaut/files/OptimPack-1.3.1.tar.bz2 Files: * Copyright: 2003-2009 Éric Thiébaut 2009-2012 Thibaut Paumard License: GPL-2+ OptimPack 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 2 of the License, or (at your option) any later version. . OptimPack 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 General Public License for more details. . You should have received a copy of the GNU General Public License along with OptimPack (file "LICENSE" in the top source directory); if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. . On Debian systems the full text of the GNU General Public License can be found in the `/usr/share/common-licenses/GPL-2' file. debian/lintian-overrides.d/0000755000000000000000000000000011773044360013053 5ustar debian/lintian-overrides.d/yorick-optimpack0000644000000000000000000000020011773044360016253 0ustar # no potentially unfortified functions called yorick-optimpack: hardening-no-fortify-functions usr/lib/yorick/lib/OptimPack1.so debian/optimpack.info0000644000000000000000000000162411773042331012036 0ustar Package: optimpack Kind: plugin Version: 1.3 Description: optimization of large scale problems License: GPL Author: Eric Thiebault Maintainer: Thibaut Paumard OS: Depends: yorick(>=1.6.02) Homepage: http://www-obs.univ-lyon1.fr/labo/perso/eric.thiebaut/optimpack.html DescDetail: << DESCRIPTION ----------- OptimPack is a portable C library which implements algorithms for optimization of large scale problems with bound constraints. Large scale means some million variables (e.g. pixel values) or more. The most important algorithm is VMLM-B: a variable metric method with limited memory requirements and, possibly, bound constraints on the parameters. The algorithm is based on limited memory BFGS updates with Moré & Thuente inexact line search and gradient projection to account for bounds. This package contains a Yorick plug-in based on OptimPack. << debian/source/0000755000000000000000000000000011773042331010467 5ustar debian/source/format0000644000000000000000000000001411773042331011675 0ustar 3.0 (quilt) debian/patches/0000755000000000000000000000000011773042331010616 5ustar debian/patches/configure0000644000000000000000000000206611773042331012526 0ustar Description: configure this package Yorick packages are usually configured by running yorick -batch make.i which modifies Makefile. Modifying source files at build time is not very well supported in the quilt / git workflow, so let's just patch Makefile and not run yorick -batch make.i at build time. Author: Thibaut Paumard Origin: Vendor Forwarded: not-needed Last-Update: 2012-06-27 --- This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ --- a/yorick/Makefile +++ b/yorick/Makefile @@ -27,11 +27,12 @@ # ---------------------------------------------------------------- Yorick setup # these values filled in by yorick -batch make.i -Y_MAKEDIR=/usr/local/libexec/yorick -Y_EXE=/usr/local/libexec/yorick/bin/yorick +Y_MAKEDIR=/usr/lib/yorick +Y_EXE=/usr/lib/yorick/bin/yorick Y_EXE_PKGS= -Y_EXE_HOME=/usr/local/libexec/yorick -Y_EXE_SITE=/usr/local/libexec/yorick +Y_EXE_HOME=/usr/lib/yorick +Y_EXE_SITE=/usr/lib/yorick +Y_HOME_PKG= # ---------------------------------------------------------- optimization flags debian/patches/makefile-configure0000644000000000000000000000061411773042331014276 0ustar Author: Thibaut Paumard Description: Configure the package by editing the Makefile Forwarded: not-needed --- a/Makefile +++ b/Makefile @@ -2,8 +2,8 @@ INSTALL=cp -p CC = gcc -pipe -#CPPFLAGS = -I. -DOP_INTEGER=long -DOP_LOGICAL=int - CPPFLAGS = -I. + CPPFLAGS = -I. -DOP_INTEGER=long -DOP_LOGICAL=int +#CPPFLAGS = -I. CFLAGS = -O2 -Wall RM = rm -f debian/patches/series0000644000000000000000000000003511773042331012031 0ustar configure makefile-configure debian/examples0000644000000000000000000000003111773042331010722 0ustar yorick/OptimPack1-test.i debian/ynstall0000644000000000000000000000033111773044205010577 0ustar #yorick/lbfgs*.i #yorick/op_deconv.i yorick/OptimPack1.i i0 yorick/*.so debian/yorick-optimpack.packinfo debian/optimpack.info debian/OptimPack1-auto.i i-start debian/lintian-overrides.d/* usr/share/lintian/overrides