[f2j] 23/31: Re-add debian/ dir

Andreas Tille tille at debian.org
Fri Jan 29 15:35:41 UTC 2016


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

tille pushed a commit to branch master
in repository f2j.

commit eef6b36f4bd681a886920ff0c8e645b193fa011a
Author: Andreas Tille <tille at debian.org>
Date:   Fri Jan 29 15:47:21 2016 +0100

    Re-add debian/ dir
---
 debian/changelog                |  17 ++++++
 debian/compat                   |   1 +
 debian/control                  |  30 +++++++++++
 debian/copyright                | 114 ++++++++++++++++++++++++++++++++++++++++
 debian/dirs                     |   1 +
 debian/docs                     |   1 +
 debian/f2j.doc-base             |   8 +++
 debian/f2j.install              |   2 +
 debian/f2j.manpages             |   2 +
 debian/f2java.1                 |  14 +++++
 debian/javab.1                  |  12 +++++
 debian/patches/fix_clean_target |  33 ++++++++++++
 debian/patches/generate_doc     |  42 +++++++++++++++
 debian/patches/series           |   2 +
 debian/rules                    |  24 +++++++++
 debian/source/format            |   1 +
 debian/watch                    |   4 ++
 17 files changed, 308 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..9da5f7f
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,17 @@
+f2j (0.8.1-2) unstable; urgency=low
+
+  * debian/copyright: Add missing statement on non commercial usage
+
+ -- Olivier Sallou <osallou at debian.org>  Thu, 24 May 2012 14:25:02 +0200
+
+f2j (0.8.1-1) unstable; urgency=low
+
+  [ Olivier Sallou ] 
+  * Initial release (Closes: #657184)
+  * Move to non-free, license modification to DFSG compliant license
+    in progress
+
+  [ Thorsten Alteholz ]
+  * debian/rules: target get-orig-source added
+
+ -- Olivier Sallou <osallou at debian.org>  Tue, 24 Jan 2012 17:34:50 +0100
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..263ed37
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,30 @@
+Source: f2j
+Section: non-free/java
+Priority: optional
+Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
+Uploaders: Olivier Sallou <osallou at debian.org>,
+DM-Upload-Allowed: yes
+Build-Depends: debhelper (>= 8), default-jdk, bison, javahelper
+Standards-Version: 3.9.2
+Homepage: http://sourceforge.net/projects/f2j/
+Vcs-Svn: svn://svn.debian.org/debian-med/trunk/packages/f2j/trunk/
+Vcs-Browser: http://svn.debian.org/wsvn/debian-med/trunk/packages/f2j/
+XS-Autobuild: yes
+
+Package: f2j
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Fortran to Java compiler
+ The package contains a Fortran to Java converter, also used
+ to create the libf2j-java package.
+ It converts Fortran file to Java source and class files.
+
+
+Package: libf2j-java
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Java library port of Fortran numerical libraries
+ The package provides the Java library (APIS)
+ to numerical libraries originally
+ written in Fortran (particularly BLAS and LAPACK).
+
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..6c8f5ac
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,114 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: f2j
+Upstream-Contact: Keith Seymour <seymour at cs.utk.edu>
+Source: http://sourceforge.net/projects/f2j/
+
+Files: goto_trans/*
+Copyright: 2008 Aart J.C. Bik
+           2008 Indiana University
+License: Indiana University
+ This prototype bytecode parallelization tool has been developed
+ at the Indiana University by Aart J.C. Bik. This software is *not*
+ in the public domain.  However, it is freely available without
+ fee for education, research, and non-profit purposes. By obtaining
+ copies of this, you, the Licensee, agree to abide by the following
+ conditions and understandings with respect to the copyrighted software:
+ .
+ 1.  The software is copyrighted by Indiana University (IU) and
+ Aart J.C. Bik and they retain ownership of the software.
+ .
+ 2.  Permission to use and modify this software and its documentation
+ for education, research, and non-profit purposes is hereby granted to
+ Licensee, provided that the copyright notice, the original author's
+ names and unit identification, and this permission notice appear on
+ all such works, and that no charge be made for such copies.
+ .
+ 3. Any entity desiring permission to incorporate this software into
+ commercial products should contact:
+ .
+ Dennis Gannon                          gannon at cs.indiana.edu
+ 215 Lindley Hall
+ Department of Computer Science
+ Indiana University
+ Bloomington, IN 47405-4101 USA
+ .
+ 4.  Licensee may not use the name, logo, or any other symbol of
+ IU nor the names of any of its employees nor any adaptation thereof
+ in advertising or publicity pertaining to the software without
+ specific prior written approval of the IU.
+ .
+ 5.  THE COPYRIGHT HOLDERS MAKE NO REPRESENTATIONS ABOUT THE SUITABILITY
+ OF THE SOFTWARE FOR ANY PURPOSE.  IT IS PROVIDED "AS IS" WITHOUT EXPRESS
+ OR IMPLIED WARRANTY.
+ .
+ 6.  The copyright holders shall not be liable for any damages suffered
+ by Licensee from the use of this software.
+ .
+ 7.  The software was developed under agreements between the IU and
+ the Federal Government which entitle the Government to certain rights.
+ .
+ Your courtesy in mentioning the use of this bytecode compiler in any scientific
+ work that presents results obtained by using (extensions or modifications
+ of) this bytecode compiler is highly appreciated.
+
+
+Files: util/org/j_paine/formatter/PrintfFormat.java
+Copyright: 2000 Sun Microsystems, Inc.
+License: SUN
+ Permission to use, copy, modify, and distribute this Software and its
+ documentation for NON-COMMERCIAL or COMMERCIAL purposes and without fee is
+ hereby granted.
+ .
+ This Software is provided "AS IS".  All express warranties, including any
+ implied warranty of merchantability, satisfactory quality, fitness for a
+ particular purpose, or non-infringement, are disclaimed, except to the extent
+ that such disclaimers are held to be legally invalid.
+ .
+ You acknowledge that Software is not designed, licensed or intended for use in
+ the design, construction, operation or maintenance of any nuclear facility
+ ("High Risk Activities").  Sun disclaims any express or implied warranty of
+ fitness for such uses.
+ .
+ Please refer to the file http://www.sun.com/policies/trademarks/ for further
+ important trademark information and to
+ http://java.sun.com/nav/business/index.html for further important licensing
+ information for the Java Technology.
+
+Files: *
+Copyright: 2008 Keith Seymour <seymour at cs.utk.edu>
+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".
+
+Files: debian/*
+Copyright: 2012 Olivier Sallou <olivier.sallou at irisa.fr>
+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/dirs b/debian/dirs
new file mode 100644
index 0000000..e772481
--- /dev/null
+++ b/debian/dirs
@@ -0,0 +1 @@
+usr/bin
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..d84be4d
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1 @@
+doc/f2j_ug.pdf
diff --git a/debian/f2j.doc-base b/debian/f2j.doc-base
new file mode 100644
index 0000000..b2e9fe0
--- /dev/null
+++ b/debian/f2j.doc-base
@@ -0,0 +1,8 @@
+Document: f2j
+Title: f2java user guide
+Author: Keith Seymour
+Abstract: User guide of f2java
+Section: Help/HOWTO
+
+Format: PDF
+Files: /usr/share/doc/f2j/f2j_ug.pdf.gz
diff --git a/debian/f2j.install b/debian/f2j.install
new file mode 100644
index 0000000..f2dfa7c
--- /dev/null
+++ b/debian/f2j.install
@@ -0,0 +1,2 @@
+goto_trans/javab    usr/bin/
+src/f2java  usr/bin
diff --git a/debian/f2j.manpages b/debian/f2j.manpages
new file mode 100644
index 0000000..86cb0cb
--- /dev/null
+++ b/debian/f2j.manpages
@@ -0,0 +1,2 @@
+debian/f2java.1
+debian/javab.1
diff --git a/debian/f2java.1 b/debian/f2java.1
new file mode 100644
index 0000000..b1004be
--- /dev/null
+++ b/debian/f2java.1
@@ -0,0 +1,14 @@
+.TH f2java 1  "January 24, 2012" "version 0.8.1" "USER COMMANDS"
+.SH NAME
+f2java - produce java source and java class from Fortran file
+.SH SYNOPSIS
+.B f2java file
+.I file Fortran file to transform
+.SH DESCRIPTION
+If you translate a Fortran file with "f2java test.f", it will produce one class file and one Java source file for each program unit.
+We end up with several generated files: .java, .class.
+
+Before attempting to run the code, make sure that the org.netlib.util package (contained in f2jutil.jar) is in your CLASSPATH.
+.SH AUTHOR
+Man page by Olivier Sallou <olivier.sallou at irisa.fr>
+f2java project by Keith Seymour <seymour at cs.utk.edu>
diff --git a/debian/javab.1 b/debian/javab.1
new file mode 100644
index 0000000..f50a7ef
--- /dev/null
+++ b/debian/javab.1
@@ -0,0 +1,12 @@
+.TH blastb 1  "January 24, 2012" "version 0.8.1" "USER COMMANDS"
+.SH NAME
+blastb - converts GOGO statements in java class files
+.SH SYNOPSIS
+.B blastb file
+.I file class file generated by f2java
+.SH DESCRIPTION
+To recompile java source files generated by f2java, using javac command, the generated class file must be post-treated with the javab tool.
+ It converts the GOTO statements in the class file and remove warnings such as "Untransformed goto remaining in program).
+.SH AUTHOR
+Man page by Olivier Sallou <olivier.sallou at irisa.fr>
+f2java project by Keith Seymour <seymour at cs.utk.edu>
diff --git a/debian/patches/fix_clean_target b/debian/patches/fix_clean_target
new file mode 100644
index 0000000..c46cbf8
--- /dev/null
+++ b/debian/patches/fix_clean_target
@@ -0,0 +1,33 @@
+Subject: remove targets referencing testing
+Author: Olivier Sallou <olivier.sallou at irisa.fr>
+Description: test and clean targets refer to testing dir but it 
+ does not exists. This creates an infinite loop on those targets.
+Last-Updated: 24/01/2012
+--- a/libbytecode/Makefile.in
++++ b/libbytecode/Makefile.in
+@@ -21,7 +21,7 @@
+ dlist.o: dlist.h dlist.c
+ 
+ test:
+-	cd testing; $(MAKE) test
++	#cd testing; $(MAKE) test
+ 
+ docs:
+ 	$(DOXYGEN)
+@@ -32,4 +32,4 @@
+ 
+ clean:
+ 	/bin/rm -rf *.o *.a latex html
+-	cd testing; $(MAKE) clean
++	#cd testing; $(MAKE) clean
+--- a/src/Makefile
++++ b/src/Makefile
+@@ -74,7 +74,7 @@
+ clean:
+ 	rm -f *.o *.class f2jparse.c y.tab.c y.tab.h \
+ 	tmp f2j f2java core a.out *.output *~  *.vcg
+-	cd test; $(MAKE) clean
++	#cd test; $(MAKE) clean
+ 
+ realclean: clean
+ 	rm -f ../bin/f2java ../bin/puref2j 
diff --git a/debian/patches/generate_doc b/debian/patches/generate_doc
new file mode 100644
index 0000000..b2408d1
--- /dev/null
+++ b/debian/patches/generate_doc
@@ -0,0 +1,42 @@
+Subject: fix document generation
+Author: Olivier Sallou <olivier.sallou at irisa.fr>,
+        Andreas Tille <tille at debian.org>
+Description: fix document generation makefile
+ * use pdflatex rather than ps2pdf
+ * make sure original pdf will be kept for restoring original source dir state
+Last-Updated: 24/01/2012
+--- f2j-0.8.1.orig/doc/Makefile
++++ f2j-0.8.1/doc/Makefile
+@@ -1,24 +1,18 @@
+-LATEX=latex
++LATEX=pdflatex
+ BIBTEX=bibtex
+ 
+ SOURCES = f2j_ug.tex title.tex
+ 
+-f2j_ug.ps: f2j_ug.dvi
+-
+-f2j_ug.dvi: $(SOURCES)
++all:
++	if [ ! -e f2j_ug.orig.pdf ] ; then if [ -e f2j_ug.pdf ] ; then mv f2j_ug.pdf f2j_ug.orig.pdf ; else echo "Original file f2j_ug.pdf is missing" ; fi ; fi
+ 	$(LATEX) f2j_ug.tex 
+-#	$(BIBTEX) f2j_ug
+-#	$(LATEX) f2j_ug.tex
+-#	$(LATEX) f2j_ug.tex
+-
+-f2j_ug.ps: f2j_ug.dvi
+-	dvips f2j_ug.dvi -o f2j_ug.ps
+-
+-f2j_ug.pdf: f2j_ug.ps
+-	ps2pdf f2j_ug.ps
++	# $(BIBTEX) f2j_ug
++	# $(LATEX) f2j_ug.tex
++	$(LATEX) f2j_ug.tex
+ 
+ almost_clean:
+ 	rm -f f2j_ug.dvi f2j_ug.ps *.aux *.log *.out
+ 	
+ clean:
+-	rm -f f2j_ug.dvi f2j_ug.ps f2j_ug.pdf *.aux *.log *.out
++	rm -f f2j_ug.dvi f2j_ug.ps *.aux *.log *.out *.bbl *.blg
++	if [ -e f2j_ug.orig.pdf ] ; then mv f2j_ug.orig.pdf f2j_ug.pdf ; fi
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..952bfff
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,2 @@
+fix_clean_target
+generate_doc
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..f6da015
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,24 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+JAVA_HOME=/usr/lib/jvm/default-java
+
+%:
+	dh $@
+
+override_dh_auto_install:
+	jh_installlibs --package=libf2j-java util/f2jutil.jar
+
+
+override_dh_auto_build:
+	dh_auto_build
+
+override_dh_clean:
+	dh_clean
+
+get-orig-source:
+	mkdir -p ../tarballs
+	uscan --verbose --force-download --destdir=../tarballs
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)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..f7eb0a0
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+# Compulsory line, this is a version 3 file
+version=3
+
+http://sf.net/f2j/f2j-(.+)\.tgz

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



More information about the pkg-java-commits mailing list