#818376 RFP: libcds-astro-java -- CDS Astronomical Units conversions

#818376#5
Date:
2016-03-16 15:36:32 UTC
From:
To:
* Package Name:         libcds-astro-java
* Version:              1.2
* Upstream Author:      François Ochsenbein, Strasbourg astronomical Data Center (CDS)
* URL:                  http://cds.u-strasbg.fr/resources/doku.php?id=units
* Programming Language: Java
* License:              Educational-use only (non-free)
* Description:          Java-based library for units conversion in the astronomical Virtual Observatory

CDS Astro is a units conversion library that provides library
functionality under the 'cds.astro' namespace.  It is one of the
dependencies of the Aladin Virtual Observatory (VO) client; see:

The library was written by the Strasbourg astronomical Data Center
(CDS) and source code is made available by CDS as a zip file from:

http://cds.u-strasbg.fr/cdsdevcorner/units1.2/src.zip

(This states it is from November 2006, but contains files modified in
February 2007).

This package is one of the dependencies for the CDS Aladin package,
see: 'vo-aladin', ITP: #818373.

At present the read me information on the homepage at:

http://cds.u-strasbg.fr/resources/doku.php?id=units

contains a link to:

http://cds.u-strasbg.fr/resources/doku.php?id=using_conditions

which includes restrictions on use, only allowing for:

  "the reproduction and representation as a private copy or for
  educational and research purposes outside any lucrative use" /

  "la reproduction et la representation a titre de copie privee ou
  des fins d'enseignement et de recherche et en dehors de toute
  utilisation lucrative"

This is incompatible with the GPLv3 licence under which the rest of
Aladin is already published and distributed.  Contact has been made
with the authors in the of gaining a clear confirmation of GPLv3
licencing.

This would need to be done prior to acceptance of Aladin and its
dependencies into Debian.

#818376#14
Date:
2016-06-16 08:46:23 UTC
From:
To:
The Aladin 9.x upstream source distribution contains a 'cds.astro.jar'
with 31 class files, compiled on 10 May 2012.  Source code matching
this is present in historic Aladin source snapshots: it is present in
Aladin 5.018, Aladin 7.014, and Aladin 7.533 under the 'cds/astro/*'
sub-directory.

Aladin 8.040 and later source releases do not have this 'cds/astro/'
sub-directory.  The source code appears to have been split out to 'CDS
Units' distributed separately:

http://cds.u-strasbg.fr/cdsdevcorner/units1.2/src.zip

This is only a subset (9 .java files + 1 Makefile).  A testcase for
'tUnit.java' was added, and the 'Makefile' refers other testcases.
This CDS Units package also includes one bugfix to 'Parsing.java',
ahead 'cds/astro/Parsing.java' in the Aladin 7.533 release (however
this bugfix says it is older, and is dated internally as May 2007).

The copies of source code in the Aladin 7.014 and Aladin 7.533 have
"GNU General Public License version 3" boilerplate added to the top of
each source file.

There It should be possible to retrieve and use this copy of the code
extracted form the Aladin 7.xxx releases:

https://anonscm.debian.org/cgit/debian-astro/packages/aladin.git/tree/cds/astro?h=upstream/7.533%2bdfsg

And to highlight the extra Makefile, unittest and 'parseSexa2()' bug
fix available in CDS-Units

List of differing files:

cds.astro.* package code ('-': not in v1.2 'CDS Units' 'Src.jar')
-Astrocoo.java 
 Astroformat.java
-Astroframe.java
 AstroMath.java
-Astropos.java
 Astrotime.java
-CheckPosition.java
 Converter.java
-Coocube.java
-Coo.java
-Ecliptic.java
 Editing.java
-Equatorial.java
-FK4.java
-FK5.java
-Galactic.java
-ICRS.java
+Makefile  (added; +unittests)
-Mtype.java
-Otype.java
*Parsing.java (function parseSexa2() added in 2007-05)
-Proj3.java
-Qbox.java
-QboxNumber.java
-Supergal.java
+tUnit.java
 Udef.java
 Unit.java

Tests 't*.java' ('?': not found in v1.2 Src.jar):
?tAstroMath.java
?tAstrocoo.java
?tAstropos.java
?tConverter.java
?tCoo.java
?tOtype.java
?tParsing.java
?tPierre.java
?tQbox.java
?tQbox2.java
?tQboxNumber.java
 tUnit.java (in v1.2; but source says 2000-03-04)

nb. 'tUnit.java' (only) is also found separately at:
http://cds.u-strasbg.fr/cdsdevcorner/units1.0/tUnit.java

Historic Aladin 5.x source discovered at:

http://www.asiaa.sinica.edu.tw/~chyan/Aladin5/Aladin5_src/cds/astro/
http://www.asiaa.sinica.edu.tw/~chyan/Aladin5/Aladin-src5.018.jar

Historic Aladin 7.x source was obtained from backups of a colleague.

(Any other historic source dumps would be appreciated!)