[SCM] UNNAMED PROJECT branch, master, updated. debian/4.4-13-30-gc8f6f09
Bastien ROUCARIÈS
roucaries.bastien at gmail.com
Sun Jun 26 16:15:12 UTC 2011
The following commit has been merged in the master branch:
commit 01f1eb0c039b8bdb4e53be34bc262c3b3a9982f6
Author: Bastien ROUCARIÈS <roucaries.bastien at gmail.com>
Date: Wed Jun 15 16:09:37 2011 +0200
Remove debian dir
diff --git a/debian/NEWS b/debian/NEWS
deleted file mode 100644
index 32cbe75..0000000
--- a/debian/NEWS
+++ /dev/null
@@ -1,25 +0,0 @@
-cfortran (4.4-10) unstable; urgency=low
-
- cfortran.h has been enhanced to support the gfortran compiler. Use the
- flag -DgFortran to your C/C++ compiler, or #define gFortran somewhere in
- your source code above the #include <cfortran.h>. Doing this is also
- likely necessary if you use g77 with the -fno-f2c flag, or f2c with the
- -R flag.
-
- -- Kevin B. McCarty <kmccarty at debian.org> Wed, 5 Apr 2006 12:56:15 -0400
-
-cfortran (4.4-8) unstable; urgency=low
-
- In this version of cfortran, the header file cfortran.h has been improved,
- as planned by the original author, to enforce the fact that f2c and g77
- generate code from FORTRAN REAL functions that returns a C "double".
- This should fix runtime breakage with cfortran on some platforms (e.g.
- AMD64); see for instance http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15397
-
- If you create libraries that depend upon cfortran to build, it is possible
- that this change could affect the ABI of your library. Be particularly
- alert to this possibility if you use the PROTOCCALLSFFUN* and/or
- FCALLSCFUN* macros with the first argument to the macro(s) (i.e. the
- function return type) being "FLOAT".
-
- -- Kevin B. McCarty <kmccarty at debian.org> Fri, 9 Dec 2005 17:49:46 -0500
diff --git a/debian/README.Debian b/debian/README.Debian
deleted file mode 100644
index 8cc67d4..0000000
--- a/debian/README.Debian
+++ /dev/null
@@ -1,112 +0,0 @@
-cfortran for Debian
--------------------
-
-The principal FORTRAN compiler in Debian is now gfortran. Please note that if
-you use gfortran to build FORTRAN code, you must "#define gFortran" in your C
-code or use -DgFortran on the command line to achieve an equivalent effect
-before any "#include <cfortran.h>" line. If you still use g77 to build FORTRAN
-code, or if you use the -ff2c flag to gfortran, you must instead
-"#define g77Fortran" or use -Dg77Fortran. (Using g77 with the -fno-f2c flag
-requires the gFortran macro be defined to cfortran.h.)
-
-Note also that the f2cFortran flag behaves equivalently to g77Fortran, as g77
-and f2c have the same calling conventions. The use of this flag is discouraged
-since prior to cfortran release 4.4-10, it instead behaved like gFortran (but
-at that time the gFortran flag was not supported, and there was no way to
-invoke correct behavior for g77).
-
-For instance, each of the following four sets of compile commands are OK:
-
-gcc -DgFortran -c ccode.c
-gfortran -c fcode.F
-gfortran fcode.o ccode.o -o my_executable
-
-gcc -Dg77Fortran -c ccode.c
-gfortran -ff2c -c fcode.F
-gfortran -ff2c fcode.o ccode.o -o my_executable
-
-gcc -Dg77Fortran -c ccode.c
-g77 -c fcode.F
-g77 fcode.o ccode.o -o my_executable
-
-gcc -DgFortran -c ccode.c
-g77 -fno-f2c -c fcode.F
-g77 -fno-f2c fcode.o ccode.o -o my_executable
-
-Supplying an incorrect flag to C code that uses cfortran.h macros makes it
-likely that your program will not work correctly on some architectures. In
-particular, the example program below will not work on the AMD64 platform if
-your FORTRAN compiler is mismatched to the cfortran flag you use. (Try it and
-see.) For more information, see the discussion of the -ff2c flag in gfortran
-documentation or the -fno-f2c flag in g77 documentation, and see also
-http://gcc.gnu.org/PR15397 .
-
-Test program for cfortran
--------------------------
-
-* File "fcode.F"
- program test
- implicit none
-*
- real funct1, funct2, retval
-
- print *, 'All results below should be (approx.) 1.1111'
- print *, ''
-
-* Try calling functions from FORTRAN
- retval = funct1 (1.1111)
- print *, 'Call FORTRAN from FORTRAN: retval ', retval
- print *, ''
- retval = funct2 (1.1111)
- print *, 'Call C from FORTRAN: retval ', retval
- print *, ''
-
-* Try calling functions from C
- call ccode()
-
- stop
- end
-
- real function funct1 ( inval )
-
- implicit none
- real inval, retval
-
- retval = inval
- print *, ' In FORTRAN func: return value = ', retval
- funct1 = retval
-
- end
-* End of "fcode.F"
-
--------------------------
-
-/* File "ccode.c" */
-#include <stdio.h>
-#include <cfortran.h>
-
-/* Declare C prototype for FORTRAN FUNCT1() */
-PROTOCCALLSFFUN1(FLOAT, FUNCT1, funct1, FLOAT)
-#define FUNCT1(in) CCALLSFFUN1(FUNCT1, funct1, FLOAT, in)
-
-float funct2(float in) {
- printf(" In C func: return value = %f\n", in);
- return in;
-}
-
-void ccode(void) {
- float retval = 1.1111;
- retval = FUNCT1(1.1111);
- printf(" Call FORTRAN from C: retval %f\n\n", retval);
- retval = funct2(1.1111);
- printf(" Call C from C: retval %f\n\n", retval);
-}
-
-/* Make funct2() and ccode() accessible from FORTRAN */
-FCALLSCFUN1(FLOAT, funct2, FUNCT2, funct2, FLOAT)
-FCALLSCSUB0(ccode, CCODE, ccode)
-
-/* End of "ccode.c" */
--------------------------
-
- -- Kevin B. McCarty <kmccarty at debian.org> Thu, 08 May 2008
diff --git a/debian/changelog b/debian/changelog
deleted file mode 100644
index c57088f..0000000
--- a/debian/changelog
+++ /dev/null
@@ -1,169 +0,0 @@
-cfortran (4.4-15) unstable; urgency=low
-
- * Bump policy version.
-
- -- Bastien ROUCARIÈS <roucaries.bastien+debian at gmail.com> Fri, 30 Apr 2010 19:28:36 +0200
-
-cfortran (4.4-14) unstable; urgency=low
-
- * Add license text to cfortran.h (Closes: #507429).
- * Warm if user does not use -D flags as documented in README.debian
- (Closes: #497023).
- * New maintainer (Closes: #508500).
- * Bump policy version.
- -- Bastien ROUCARIÈS <roucaries.bastien+debian at gmail.com> Wed, 14 Oct 2009 14:56:50 +0200
-
-cfortran (4.4-13) unstable; urgency=low
-
- * Bump Standards-Version to 3.8.0 (no changes).
- * Make the default behavior on CYGWIN, Linux (with gcc) and OS X be to
- assume gfortran (rather than g77/f2c) if the FORTRAN compiler has
- otherwise been left unspecified. Thanks Davide Mancusi for the prod.
- * Fix a buffer overrun bug found by Jean-Guillaume Piccinali in one of
- the example programs (fd/fd.c). (Closes: #489886.)
-
- -- Kevin B. McCarty <kmccarty at debian.org> Tue, 26 Aug 2008 20:55:16 -0700
-
-cfortran (4.4-12) unstable; urgency=low
-
- * Bump Standards-Version to 3.7.3 (no changes).
- * Restore commented-out "extern" in COMMON_BLOCK_DEF() macro, by
- request of Jacek Holeczek <jacek.m.holeczek at gmail.com>.
- N.B. This will cause "paw" source package to FTBFS due to a
- Debian-specific patch to paw, so I will upload a fix for that shortly.
- * Add {} around lone ";" in three empty "while" bodies to get rid of
- spurious compiler warnings with recent gcc. Thanks to Rene Brun
- <Rene.Brun at cern.ch>.
- * Change package recommends from g77 to gfortran.
- * Add README.Debian to mention that most people using gfortran will want
- to use -DgFortran (those using g77 will want to keep using -Dg77Fortran
- or -Df2cFortran) and to discuss the differences.
-
- -- Kevin B. McCarty <kmccarty at debian.org> Wed, 14 May 2008 09:07:09 -0700
-
-cfortran (4.4-11) unstable; urgency=low
-
- * Bump Standards-Version to 3.7.2 (no changes).
- * Build-Depends: debhelper (instead of Build-Depends-Indep) to fix
- Lintian error.
-
- -- Kevin B. McCarty <kmccarty at debian.org> Mon, 27 Nov 2006 09:16:31 -0500
-
-cfortran (4.4-10) unstable; urgency=low
-
- * Add modifications so that gfortran (and g77 with -fno-f2c flag) are
- supported when the C/C++ compiler is invoked with flag -DgFortran
- (or gFortran is otherwise #define'd). Possibly at some later time when
- gfortran is the default FORTRAN compiler on Debian, this will be made
- the default. Thanks to William Pence <pence at milkyway.gsfc.nasa.gov>
- for bringing up the issue. Mentioned in debian/NEWS.
- * Add modifications by William Pence to define a LONGLONG type more
- carefully.
- * Bump debian/compat to 5.
-
- -- Kevin B. McCarty <kmccarty at debian.org> Wed, 5 Apr 2006 17:01:35 -0400
-
-cfortran (4.4-9) unstable; urgency=low
-
- * Add modifications from Martin Reinecke <martin at MPA-Garching.MPG.DE>
- for partial INTEGER*8 (long long) support.
- * Not updating the documentation yet as the cfitsio team has requested
- to leave this feature undocumented for now.
-
- -- Kevin B. McCarty <kmccarty at debian.org> Fri, 23 Dec 2005 08:21:35 -0500
-
-cfortran (4.4-8) unstable; urgency=low
-
- * cfortran.h: Improved to enforce the fact that f2c and g77 generate code
- from FORTRAN REAL functions that returns a C "double". This should fix
- runtime code breakage on some platforms such as AMD64. See NEWS.Debian
- for more information.
- * cfortran.doc and cfortran.html: updated to reflect the change.
-
- -- Kevin B. McCarty <kmccarty at debian.org> Fri, 9 Dec 2005 17:43:06 -0500
-
-cfortran (4.4-7) unstable; urgency=low
-
- * Update FSF address in debian/copyright.
- * Update maintainer email in debian/control and debian/copyright.
- * Update debhelper compatibility to version 4.
- * Update Standards-Version to 3.6.2 (no changes).
- * Clean up debian/rules a bit.
- * Unpack cfortran.examples.tar.gz into /usr/share/doc/cfortran/examples
- to make it easier to explore (removing unneeded symlinks *.C -> *.c).
-
- -- Kevin B. McCarty <kmccarty at debian.org> Tue, 22 Nov 2005 13:35:38 +0000
-
-cfortran (4.4-6) unstable; urgency=medium
-
- * Recommend "gcc | c-compiler" and "g77 | fortran-compiler" instead of
- just the virtual packages. This avoids the situation of a person
- naively installing cfortran with aptitude and ending up with some
- random little-known compilers.
-
- -- Kevin B. McCarty <kmccarty at princeton.edu> Fri, 10 Dec 2004 08:53:47 -0500
-
-cfortran (4.4-5) unstable; urgency=low
-
- * Install a symlink from /usr/include/cfortran/cfortran.h to
- /usr/include/cfortran.h, since some build systems expect to find
- cfortran.h (and various other Cernlib include files) in
- /usr/include/cfortran. Fixes part of #243860.
-
- -- Kevin B. McCarty <kmccarty at princeton.edu> Wed, 28 Apr 2004 13:20:50 -0400
-
-cfortran (4.4-4) unstable; urgency=low
-
- * cfortran.h: Add support for Intel Fortran compiler by #defining f2cFortran
- when it's used or INTEL_COMPILER is #defined (closes: #222318).
-
- -- Kevin B. McCarty <kmccarty at princeton.edu> Sat, 29 Nov 2003 17:38:03 -0500
-
-cfortran (4.4-3) unstable; urgency=low
-
- * debian/copyright: Add email from upstream licensing cfortran under LGPL.
- Correct licensing statement; upstream licensed it specifically under
- Library GPL (i.e. version 2), not Lesser GPL (i.e. version 2.1).
- * debian/changelog: Remove emacs variable cruft from the bottom.
- * debian/control: Standards-Version now 3.6.1 (no changes).
-
- -- Kevin B. McCarty <kmccarty at princeton.edu> Fri, 10 Oct 2003 14:54:52 -0400
-
-cfortran (4.4-2) unstable; urgency=low
-
- * No longer conflict with current cfitsio-dev, as it no longer includes
- a cfortran.h file.
- * Merge small modifications (mainly more "#if defined" tests) from
- CFITSIO code.
-
- -- Kevin B. McCarty <kmccarty at princeton.edu> Mon, 3 Mar 2003 11:19:26 +0100
-
-cfortran (4.4-1) unstable; urgency=low
-
- * debian/control: use Build-Depends-Indep instead of Build-Depends
- * Remove README.debian; edit cfortran.h to auto-detect gcc with __GNUC__.
- * Fix a few more typos in documentation.
-
- -- Kevin B. McCarty <kmccarty at princeton.edu> Sat, 18 Jan 2003 18:14:37 +0100
-
-cfortran (4.4-0.3) unstable; urgency=low
-
- * Escape "&", "<" and ">" characters in HTML documentation and fix a
- couple of typos.
- * Include note in cfortran.{html,doc} that it is now also licensed
- under LGPL.
-
- -- Kevin B. McCarty <kmccarty at princeton.edu> Sat, 18 Jan 2003 13:23:14 +0100
-
-cfortran (4.4-0.2) unstable; urgency=low
-
- * Fix links in HTML documentation.
- * Add cfortran.examples.tar.gz package to examples directory.
-
- -- Kevin B. McCarty <kmccarty at princeton.edu> Sun, 8 Dec 2002 04:01:11 +0100
-
-cfortran (4.4-0.1) unstable; urgency=low
-
- * Initial release as a Debian package.
-
- -- Kevin B. McCarty <kmccarty at princeton.edu> Sat, 9 Nov 2002 23:30:19 +0100
diff --git a/debian/compat b/debian/compat
deleted file mode 100644
index 7ed6ff8..0000000
--- a/debian/compat
+++ /dev/null
@@ -1 +0,0 @@
-5
diff --git a/debian/control b/debian/control
deleted file mode 100644
index 9260542..0000000
--- a/debian/control
+++ /dev/null
@@ -1,21 +0,0 @@
-Source: cfortran
-Section: devel
-Priority: optional
-Maintainer: Debian Science Maintainers <debian-science-maintainers at lists.alioth.debian.org>
-Uploaders: Bastien ROUCARIÈS <roucaries.bastien+debian at gmail.com>
-Vcs-Git: git://git.debian.org/git/debian-science/packages/cfortran.git
-Vcs-Browser: http://git.debian.org/?p=debian-science/packages/cfortran.git
-DM-Upload-Allowed: yes
-Homepage: http://www-zeus.desy.de/~burow/cfortran/
-Build-Depends: debhelper (>= 5.0.0)
-Standards-Version: 3.8.4
-
-Package: cfortran
-Architecture: all
-Recommends: gcc | c-compiler, gfortran | fortran-compiler
-Conflicts: libcfitsio-dev (<< 2.440-1)
-Description: Header file permitting Fortran routines to be called in C/C++
- cfortran.h is an easy-to-use powerful bridge between C and FORTRAN.
- It provides a completely transparent, machine independent interface between
- C and FORTRAN routines (= subroutines and/or functions) and global data,
- i.e. structures and COMMON blocks.
diff --git a/debian/copyright b/debian/copyright
deleted file mode 100644
index 92e5e9e..0000000
--- a/debian/copyright
+++ /dev/null
@@ -1,104 +0,0 @@
-Name: cfortran
-Maintainer: Debian Science Maintainers <debian-science-maintainers at lists.alioth.debian.org>
-source: http://wwwinfo.cern.ch/asd/cernlib/download/2003_source/tar/src_cfortran.tar.gz
-
-Files: debian/*
-Copyright: Copyright 2002-2009, Kevin McCarty <kmccarty at debian.org>
- Copyright 2009, Bastien ROUCARIÈS <roucaries.bastien+debian at gmail.com>
-License: LGPL-2+
- The Debian packaging is licensed under the GPL, version 2 or later,
- see below.
-
-Files: *
-Copyright: Copyright 1990-2003, Burkhard D Steinmacher-burow
-License: LGPL-2 or other
- See below
-
-This package was debianized by Kevin McCarty <kmccarty at debian.org> on
-Sat, 9 Nov 2002 23:30:19 +0100.
-
-It was downloaded from http://www-zeus.desy.de/~burow/cfortran/ except
-for the file cfortran.h, which is a more recent version obtained at
-http://wwwinfo.cern.ch/asd/cernlib/download/2003_source/tar/src_cfortran.tar.gz
-
-Upstream Author: Burkhard Burow <burow at desy.de>
-
-Copyright (C) 1990-2003 Burkhard Burow.
-
- cfortran is free software; you can redistribute it and/or
- modify it under the terms of the GNU Library General Public
- License as published by the Free Software Foundation; either
- version 2 of the License, or (at your option) any later version.
-
- cfortran 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
- Library General Public License for more details.
-
- You should have received a copy of the GNU Library General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-
-On Debian systems, the complete text of the GNU Library General Public License
-can be found in `/usr/share/common-licenses/LGPL-2'.
-
-The upstream version of cfortran does not state that it is licensed under the
-LGPL; however, its author has made the following statement making it so.
-
------
-
-Date: Tue, 22 Oct 2002 12:48:00 -0400
-From: Burkhard D Steinmacher-burow <steinmac at us.ibm.com>
-To: Kevin B. McCarty <kmccarty at Princeton.EDU>
-Subject: Re: CFortran licensing question
-
-Kevin,
-
-[Just noticed that I didn't send this yesterady.]
-
-I have no time right now to read through licenses.
-IIRC, library GPL is fairly unrestrictive, so I'll choose that. So.....
-
-You may consider this e-mail as a notice that as an alternative to any
-other cfortran licenses,
-I hereby relase all versions and all parts of cfortran under the
-the Library GPL license.
-From among these licenses, the user is free to choose
-the license or licenses under which cfortran is used.
-
-Contact me if you'd like to be able to choose another license.
-
-Burkhard
-
-steinmac at us.ibm.com, (914)945-3756, Fax 3684, Tieline 862
-
------
-
-cfortran may also be used and distributed under the following license:
-
-THIS PACKAGE, I.E. CFORTRAN.H, THIS DOCUMENT, AND THE CFORTRAN.H EXAMPLE
-PROGRAMS ARE PROPERTY OF THE AUTHOR WHO RESERVES ALL RIGHTS. THIS PACKAGE AND
-THE CODE IT PRODUCES MAY BE FREELY DISTRIBUTED WITHOUT FEES, SUBJECT TO THE
-FOLLOWING RESTRICTIONS:
-- YOU MUST ACCOMPANY ANY COPIES OR DISTRIBUTION WITH THIS (UNALTERED) NOTICE.
-- YOU MAY NOT RECEIVE MONEY FOR THE DISTRIBUTION OR FOR ITS MEDIA
- (E.G. TAPE, DISK, COMPUTER, PAPER.)
-- YOU MAY NOT PREVENT OTHERS FROM COPYING IT FREELY.
-- YOU MAY NOT DISTRIBUTE MODIFIED VERSIONS WITHOUT CLEARLY DOCUMENTING YOUR
- CHANGES AND NOTIFYING THE AUTHOR.
-- YOU MAY NOT MISREPRESENTED THE ORIGIN OF THIS SOFTWARE, EITHER BY EXPLICIT
- CLAIM OR BY OMISSION.
-
-THE INTENT OF THE ABOVE TERMS IS TO ENSURE THAT THE CFORTRAN.H PACKAGE NOT BE
-USED FOR PROFIT MAKING ACTIVITIES UNLESS SOME ROYALTY ARRANGEMENT IS ENTERED
-INTO WITH ITS AUTHOR.
-
-THIS SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
-EXPRESSED OR IMPLIED. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
-SOFTWARE IS WITH YOU. SHOULD THE SOFTWARE PROVE DEFECTIVE, YOU ASSUME THE COST
-OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. THE AUTHOR IS NOT RESPONSIBLE
-FOR ANY SUPPORT OR SERVICE OF THE CFORTRAN.H PACKAGE.
-
- Burkhard Burow
- burow at desy.de
-
diff --git a/debian/dirs b/debian/dirs
deleted file mode 100644
index 49c237f..0000000
--- a/debian/dirs
+++ /dev/null
@@ -1,2 +0,0 @@
-usr/include
-usr/include/cfortran
diff --git a/debian/docs b/debian/docs
deleted file mode 100644
index 60790c6..0000000
--- a/debian/docs
+++ /dev/null
@@ -1,3 +0,0 @@
-cfortran.doc
-index.htm
-cfortran.html
diff --git a/debian/examples b/debian/examples
deleted file mode 100644
index 5a7fe21..0000000
--- a/debian/examples
+++ /dev/null
@@ -1,3 +0,0 @@
-cfortex.f
-cfortest.c
-eg/*
diff --git a/debian/rules b/debian/rules
deleted file mode 100755
index 0ba8138..0000000
--- a/debian/rules
+++ /dev/null
@@ -1,57 +0,0 @@
-#!/usr/bin/make -f
-# Sample debian/rules that uses debhelper.
-# GNU copyright 1997 to 1999 by Joey Hess.
-
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-build: build-stamp
-build-stamp:
- dh_testdir
- # unpack examples:
- tar xvzf cfortran.examples.tar.gz
- # fix buffer overrun in one of the examples (cf. #489886 in BTS)
- sed -i 's/happy/happy /g' eg/fd/fd.c
- # remove unnecessary (and in some cases broken) symlinks:
- find eg -name \*.C -type l -exec rm -f \{\} \;
- touch build-stamp
-
-clean:
- dh_testdir
- dh_testroot
- rm -f build-stamp
- rm -rf eg
-
- # Add here commands to clean up after the build process.
- dh_clean
-
-install: build
- dh_testdir
- dh_testroot
- dh_clean -k
- dh_installdirs
-
- # Add here commands to install the package into debian/cfortran.
- cp -p cfortran.h debian/cfortran/usr/include/
-
-# Build architecture-dependent files here.
-binary-arch: build install
-# We have nothing to do here.
-
-# Build architecture-independent files here.
-binary-indep: build install
- dh_testdir
- dh_testroot
- dh_installdocs
- dh_installexamples
- dh_installchangelogs
- dh_compress -X.c -X.f -X.htm -X.html
- dh_link usr/include/cfortran.h usr/include/cfortran/cfortran.h
- dh_fixperms
- dh_installdeb
- dh_gencontrol
- dh_md5sums
- dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
--
UNNAMED PROJECT
More information about the debian-science-commits
mailing list