Author: osallou Date: 2012-03-26 12:14:54 +0000 (Mon, 26 Mar 2012) New Revision: 10089
Added: trunk/packages/jlapack/trunk/debian/ trunk/packages/jlapack/trunk/debian/README.source trunk/packages/jlapack/trunk/debian/changelog trunk/packages/jlapack/trunk/debian/compat trunk/packages/jlapack/trunk/debian/control trunk/packages/jlapack/trunk/debian/copyright trunk/packages/jlapack/trunk/debian/docs trunk/packages/jlapack/trunk/debian/get-orig-source trunk/packages/jlapack/trunk/debian/jlapack.substvars trunk/packages/jlapack/trunk/debian/libjlapack-java.jlibs trunk/packages/jlapack/trunk/debian/patches/ trunk/packages/jlapack/trunk/debian/patches/series trunk/packages/jlapack/trunk/debian/patches/update_README trunk/packages/jlapack/trunk/debian/patches/use_f2j_package_libs trunk/packages/jlapack/trunk/debian/rules trunk/packages/jlapack/trunk/debian/source/ trunk/packages/jlapack/trunk/debian/source/format Log: [svn-inject] Applying Debian modifications (0.8~dfsg-1) to trunk Property changes on: trunk/packages/jlapack/trunk/debian ___________________________________________________________________ Added: mergeWithUpstream + 1 Added: trunk/packages/jlapack/trunk/debian/README.source =================================================================== --- trunk/packages/jlapack/trunk/debian/README.source (rev 0) +++ trunk/packages/jlapack/trunk/debian/README.source 2012-03-26 12:14:54 UTC (rev 10089) @@ -0,0 +1,10 @@ +jlapack for Debian +------------------ + +Code is extracted from CSV as there is no upstream tarball. Due to this, no watch + file is present. +A file is removed via get-orig-source target due to incompatibility license. +This file CJFormat.java is not needed when f2j package is present. + + + Added: trunk/packages/jlapack/trunk/debian/changelog =================================================================== --- trunk/packages/jlapack/trunk/debian/changelog (rev 0) +++ trunk/packages/jlapack/trunk/debian/changelog 2012-03-26 12:14:54 UTC (rev 10089) @@ -0,0 +1,5 @@ +jlapack (0.8~dfsg-1) unstable; urgency=low + + * Initial release (Closes: #665341) + + -- Olivier Sallou <[email protected]> Mon, 26 Mar 2012 11:44:58 +0200 Added: trunk/packages/jlapack/trunk/debian/compat =================================================================== --- trunk/packages/jlapack/trunk/debian/compat (rev 0) +++ trunk/packages/jlapack/trunk/debian/compat 2012-03-26 12:14:54 UTC (rev 10089) @@ -0,0 +1 @@ +8 Added: trunk/packages/jlapack/trunk/debian/control =================================================================== --- trunk/packages/jlapack/trunk/debian/control (rev 0) +++ trunk/packages/jlapack/trunk/debian/control 2012-03-26 12:14:54 UTC (rev 10089) @@ -0,0 +1,26 @@ +Source: jlapack +Section: java +Priority: optional +Maintainer: Debian Med Packaging Team <[email protected]> +DM-Upload-Allowed: yes +Uploaders: Olivier Sallou <[email protected]> +Build-Depends: debhelper (>= 8), javahelper (>=0.25), f2j, default-jdk +Standards-Version: 3.9.3 +Homepage: http://icl.cs.utk.edu/f2j +Vcs-Svn: svn://svn.debian.org/debian-med/trunk/packages/libjlapack-java/trunk +Vcs-Browser: http://svn.debian.org/wsvn/debian-med/trunk/packages/libjlapack-java/trunk/ + +Package: libjlapack-java +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends}, ${java:Depends}, f2j +Recommends: ${java:Recommends} +Description: LAPACK numerical subroutines translated from their Fortran 77 source + The package provides the LAPACK numerical subroutines translated from their + subset Fortran 77 source into class files, executable by the Java Virtual + Machine (JVM) and for use by Java programmers. + . + This makes it possible for Java applications or applets, distributed on the + World Wide Web to use established legacy numerical code that was originally + written in Fortran. + The translation is accomplished using a special purpose Fortran-to-Java + (source-to-source) compiler. Added: trunk/packages/jlapack/trunk/debian/copyright =================================================================== --- trunk/packages/jlapack/trunk/debian/copyright (rev 0) +++ trunk/packages/jlapack/trunk/debian/copyright 2012-03-26 12:14:54 UTC (rev 10089) @@ -0,0 +1,68 @@ +Format: http://dep.debian.net/deps/dep5 +Upstream-Name: jlapack +Source: http://icl.cs.utk.edu/f2j + +License: BSD + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. 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. + 3. Neither the name of the University 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 REGENTS 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. + +Files: * +Copyright: 1998-2007 Keith Seymour +License: BSD + +Files: src/util/org/netlib/util/EasyIn.java +Copyright: 1997 Peter van der Linden + 1998 Keith Seymour +License: BSD + +Files: src/blas/blas.f +Copyright: 1978-1993 Lawson, C.L. (JPL) + 1978-1993 Hanson, R.J. (SNLA) + 1978-1993 Kincaid, D.R. (U. of Texas) + 1978-1993 Krogh, F.T. (JPL) +License: BSD + +Files: src/lapack/lapack.f +Copyright: 2006 Univ. of Tennessee, Univ. of California Berkeley and NAG Ltd.. +License: BSD + +Files: debian/* +Copyright: 2012 Olivier Sallou <[email protected]> +License: GPL-2+ + This package 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. + . + This package 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 this program. If not, see <http://www.gnu.org/licenses/> + . + On Debian systems, the complete text of the GNU General + Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". + Added: trunk/packages/jlapack/trunk/debian/docs =================================================================== --- trunk/packages/jlapack/trunk/debian/docs (rev 0) +++ trunk/packages/jlapack/trunk/debian/docs 2012-03-26 12:14:54 UTC (rev 10089) @@ -0,0 +1 @@ +jlapack-3.1.1/README Added: trunk/packages/jlapack/trunk/debian/get-orig-source =================================================================== --- trunk/packages/jlapack/trunk/debian/get-orig-source (rev 0) +++ trunk/packages/jlapack/trunk/debian/get-orig-source 2012-03-26 12:14:54 UTC (rev 10089) @@ -0,0 +1,26 @@ +#!/bin/bash + +set -e + +PKG=`dpkg-parsechangelog | awk '/^Source/ { print $2 }'` +VERSION=`dpkg-parsechangelog | awk '/^Version/ { print $2 }'| cut -d"-" -f1` + + +mkdir -p ../tarballs +cd ../tarballs + +rm -rf $PKG-${VERSION}.orig + +cvs -z3 -d:pserver:[email protected]:/cvsroot/f2j export -r jlapack0_8 f2j/jlapack-3.1.1 + +mv f2j $PKG-${VERSION}.orig + + +cd $PKG-${VERSION}.orig +rm -f jlapack-3.1.1/src/util/org/j_paine/formatter/CJFormat.java +cd .. + +rm -f $PKG-${VERSION}.orig.tar.gz + +tar -czf $PKG_${VERSION}.orig.tar.gz $PKG-${VERSION}.orig +rm -rf $PKG-${VERSION}.orig Property changes on: trunk/packages/jlapack/trunk/debian/get-orig-source ___________________________________________________________________ Added: svn:executable + * Added: trunk/packages/jlapack/trunk/debian/jlapack.substvars =================================================================== --- trunk/packages/jlapack/trunk/debian/jlapack.substvars (rev 0) +++ trunk/packages/jlapack/trunk/debian/jlapack.substvars 2012-03-26 12:14:54 UTC (rev 10089) @@ -0,0 +1,3 @@ +java:Depends= +java:Recommends= +misc:Depends= Added: trunk/packages/jlapack/trunk/debian/libjlapack-java.jlibs =================================================================== --- trunk/packages/jlapack/trunk/debian/libjlapack-java.jlibs (rev 0) +++ trunk/packages/jlapack/trunk/debian/libjlapack-java.jlibs 2012-03-26 12:14:54 UTC (rev 10089) @@ -0,0 +1,3 @@ +jlapack-3.1.1/src/lapack/jlapack-lapack.jar +jlapack-3.1.1/src/blas/jlapack-blas.jar +jlapack-3.1.1/src/error_reporting/jlapack-xerbla.jar Added: trunk/packages/jlapack/trunk/debian/patches/series =================================================================== --- trunk/packages/jlapack/trunk/debian/patches/series (rev 0) +++ trunk/packages/jlapack/trunk/debian/patches/series 2012-03-26 12:14:54 UTC (rev 10089) @@ -0,0 +1,2 @@ +use_f2j_package_libs +update_README Added: trunk/packages/jlapack/trunk/debian/patches/update_README =================================================================== --- trunk/packages/jlapack/trunk/debian/patches/update_README (rev 0) +++ trunk/packages/jlapack/trunk/debian/patches/update_README 2012-03-26 12:14:54 UTC (rev 10089) @@ -0,0 +1,70 @@ +Subject: remove install part of README and update lib names +Description: Removal of installation steps and update libraries name + to match those in package. +Author: Olivier Sallou <[email protected]> +Last-Updated: 26-03-2012 +--- a/jlapack-3.1.1/README ++++ b/jlapack-3.1.1/README +@@ -3,46 +3,13 @@ + May 31, 2007 + ---------------- + +-This directory should contain the following files: +- +- README - this file +- INSTALL - installation details +- CHANGES - what has changed in this version +- examples - directory containing a few examples of calling JLAPACK +- + The following jar files should exist: + +- blas.jar - the BLAS library +- blas_simple.jar - the simplified interfaces to BLAS +- lapack.jar - the LAPACK library +- lapack_simple.jar - the simplified interfaces to LAPACK +- xerbla.jar - LAPACK error reporting routine ++ jlapack-blas.jar - the BLAS library ++ jlapack-lapack.jar - the LAPACK library ++ jlapack-xerbla.jar - LAPACK error reporting routine + f2jutil.jar - utilities required for running f2j translated code + +-If you downloaded the 'strict' distribution, there will be +-four subdirectories: +- +- strict_math_lib - calls java.lang.StrictMath instead of java.lang.Math, +- but the methods are not declared as strictfp +- strict_fp - methods are declared strictfp, but does not call +- java.lang.StrictMath +- strict_both - methods are declared strictfp and calls +- java.lang.StrictMath +- plain - not strict +- +-Each of the subdirectories will contain all of the jar files mentioned +-above. +- +-In addition to raw translations of the numerical routines, the blas_simple +-and lapack_simple jar files contain classes that provide a more Java-like +-interface to the underlying numerical functions. There is one such class +-for each numerical routine. The name of the class is simply the function +-name in all caps. For example, the fortran routine 'ddot' is translated +-into two classes: Ddot.java and DDOT.java. Ddot.java contains the actual +-translation of the fortran code while DDOT.java contains only a call to +-the real ddot (Ddot), but provides a more simple interface. Since the +-interface may have to do matrix transposition and copying for some routines, +-it is faster to use the 'raw' numerical routines. + + API documentation for the BLAS and LAPACK can be found online at the + following URL: +@@ -72,9 +39,9 @@ + + 5. The appropriate jar files should be in your CLASSPATH. + f2jutil.jar - should always be included +- blas.jar - include if calling BLAS routines +- lapack.jar - include if calling LAPACK routines +- xerbla.jar - include for LAPACK error handling ++ jlapack-blas.jar - include if calling BLAS routines ++ jlapack-lapack.jar - include if calling LAPACK routines ++ jlapack-xerbla.jar - include for LAPACK error handling + + So, if calling LAPACK, you'll want to include all four + jar files in your CLASSPATH. Added: trunk/packages/jlapack/trunk/debian/patches/use_f2j_package_libs =================================================================== --- trunk/packages/jlapack/trunk/debian/patches/use_f2j_package_libs (rev 0) +++ trunk/packages/jlapack/trunk/debian/patches/use_f2j_package_libs 2012-03-26 12:14:54 UTC (rev 10089) @@ -0,0 +1,18 @@ +Subject: use library from f2j package +Description: update the path to the f2jutil library provided + by package f2j +Author: Olivier Sallou <[email protected]> +Last-Updated: 26-03-2012 +--- a/jlapack-3.1.1/src/util/Makefile ++++ b/jlapack-3.1.1/src/util/Makefile +@@ -4,8 +4,8 @@ + include $(ROOT)/make.def + + $(UTIL_JAR): +- if test -f $(ROOT)/../util/$(UTIL_JAR); then \ +- cp $(ROOT)/../util/$(UTIL_JAR) .; \ ++ if test -f /usr/share/java/f2jutil.jar; then \ ++ cp /usr/share/java/f2jutil.jar .; \ + else \ + $(MAKE) util_deprecated;\ + fi Added: trunk/packages/jlapack/trunk/debian/rules =================================================================== --- trunk/packages/jlapack/trunk/debian/rules (rev 0) +++ trunk/packages/jlapack/trunk/debian/rules 2012-03-26 12:14:54 UTC (rev 10089) @@ -0,0 +1,26 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +%: + dh $@ --with javahelper + +override_dh_auto_build: + cd jlapack-3.1.1 && make lib + mv jlapack-3.1.1/src/lapack/lapack.jar jlapack-3.1.1/src/lapack/jlapack-lapack.jar + mv jlapack-3.1.1/src/blas/blas.jar jlapack-3.1.1/src/blas/jlapack-blas.jar + mv jlapack-3.1.1/src/error_reporting/xerbla.jar jlapack-3.1.1/src/error_reporting/jlapack-xerbla.jar + +get-orig-source: + debian/get-orig-source + + +override_dh_clean: + cd jlapack-3.1.1 && make clean + rm -f jlapack-3.1.1/src/lapack/jlapack-lapack.jar + rm -f jlapack-3.1.1/src/blas/jlapack-lapack.jar + rm -f jlapack-3.1.1/src/blas/jlapack-blas.jar + rm -f jlapack-3.1.1/src/error_reporting/jlapack-xerbla.jar + dh_clean Property changes on: trunk/packages/jlapack/trunk/debian/rules ___________________________________________________________________ Added: svn:executable + * Added: trunk/packages/jlapack/trunk/debian/source/format =================================================================== --- trunk/packages/jlapack/trunk/debian/source/format (rev 0) +++ trunk/packages/jlapack/trunk/debian/source/format 2012-03-26 12:14:54 UTC (rev 10089) @@ -0,0 +1 @@ +3.0 (quilt) _______________________________________________ debian-med-commit mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit
