[jlapack] 02/17: [svn-inject] Applying Debian modifications (0.8~dfsg-1) to trunk

Andreas Tille tille at debian.org
Fri Jan 29 21:01:18 UTC 2016


This is an automated email from the git hooks/post-receive script.

tille pushed a commit to branch master
in repository jlapack.

commit f746cac5a7fda25fe72707440d5f608245c7f5cf
Author: Olivier Sallou <osallou at debian.org>
Date:   Mon Mar 26 12:14:54 2012 +0000

    [svn-inject] Applying Debian modifications (0.8~dfsg-1) to trunk
---
 debian/README.source                | 10 ++++++
 debian/changelog                    |  5 +++
 debian/compat                       |  1 +
 debian/control                      | 26 ++++++++++++++
 debian/copyright                    | 68 +++++++++++++++++++++++++++++++++++
 debian/docs                         |  1 +
 debian/get-orig-source              | 26 ++++++++++++++
 debian/jlapack.substvars            |  3 ++
 debian/libjlapack-java.jlibs        |  3 ++
 debian/patches/series               |  2 ++
 debian/patches/update_README        | 70 +++++++++++++++++++++++++++++++++++++
 debian/patches/use_f2j_package_libs | 18 ++++++++++
 debian/rules                        | 26 ++++++++++++++
 debian/source/format                |  1 +
 14 files changed, 260 insertions(+)

diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..e459ec2
--- /dev/null
+++ b/debian/README.source
@@ -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.
+
+
+
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..90c60db
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+jlapack (0.8~dfsg-1) unstable; urgency=low
+
+  * Initial release (Closes: #665341)
+
+ -- Olivier Sallou <osallou at debian.org>  Mon, 26 Mar 2012 11:44:58 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..45a4fb7
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+8
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..50240c9
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,26 @@
+Source: jlapack
+Section: java
+Priority: optional
+Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
+DM-Upload-Allowed: yes
+Uploaders: Olivier Sallou <osallou at debian.org>
+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.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..5017dc2
--- /dev/null
+++ b/debian/copyright
@@ -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 <osallou at debian.org>
+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".
+
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..bc0b863
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1 @@
+jlapack-3.1.1/README
diff --git a/debian/get-orig-source b/debian/get-orig-source
new file mode 100755
index 0000000..d43fc9e
--- /dev/null
+++ b/debian/get-orig-source
@@ -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:anonymous at f2j.cvs.sourceforge.net:/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
diff --git a/debian/jlapack.substvars b/debian/jlapack.substvars
new file mode 100644
index 0000000..390a59c
--- /dev/null
+++ b/debian/jlapack.substvars
@@ -0,0 +1,3 @@
+java:Depends=
+java:Recommends=
+misc:Depends=
diff --git a/debian/libjlapack-java.jlibs b/debian/libjlapack-java.jlibs
new file mode 100644
index 0000000..4d83953
--- /dev/null
+++ b/debian/libjlapack-java.jlibs
@@ -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
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..2880465
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,2 @@
+use_f2j_package_libs
+update_README
diff --git a/debian/patches/update_README b/debian/patches/update_README
new file mode 100644
index 0000000..b31b5c6
--- /dev/null
+++ b/debian/patches/update_README
@@ -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 <osallou at debian.org>
+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.
diff --git a/debian/patches/use_f2j_package_libs b/debian/patches/use_f2j_package_libs
new file mode 100644
index 0000000..21e67a8
--- /dev/null
+++ b/debian/patches/use_f2j_package_libs
@@ -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 <osallou at debian.org>
+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
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..5937fae
--- /dev/null
+++ b/debian/rules
@@ -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
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/jlapack.git



More information about the pkg-java-commits mailing list