Bug#593912: java applet source

2010-08-24 Thread Georges Khaznadar
Hello Joke,

J.M. Evers a écrit :
> Dear Georges,
> 
> I'm not sure I understand the issue.

During my debian new member application, I have been taught about the
importance of proper licensing. Debian an Ubuntu (as many Debian
derivatives also) are becoming mature software distributions, and
they can be used to earn money. Some companies have lawiers teams 
whose daily work is to sue whichever competing organisation may infringe
their patent pool. As Debian is mature and begins to have some
economical weight, legal issues may occur.


> In the applets I've uploaded to wims there is no license, because
> there is no need for that: "No copyrights. All amateur scriblings"

This is OK. So you release your work as Public Domain stuff.

8<--
georges:~/developpement/wims/wims-4.00/wims/public_html/scripts/authors/jm.evers$
grep -ri 'no copyrights$' .
./applets/src/rooster.java:// This is all amateur scriblings...so No Copyrights
8<--

However this declaration is not homogeneously applied to the java code
you authored, as it appers in only one file. Legal stuff is always
boring for us developers, and it can be our Achille's heel.

I believe that every part of Wims which is currently released in the
Debian package is correctly covered by the various authors and the
licenses they adopted (mainly by Gang Xiao's copyright which enforces
the GPL licensing).

The code I had to remove due to license insecurity can be fed back into
the distribution as soon as the license issues ar fixed. I can do that
work by myself, or with your help, if you have enough time to provide
it.

Nevertheless, the Debian packaging has already a net advantage:
beginners can install in a matter of a few clicks with their favorite
package manager. Then, if they find something wrong in the installation,
they can use the updating utilities featured by Wims itself. As their
system has resolved any dependency at that time, the compilation can be
done smoothly.


> If the applet makes use some additional library, like the "javia"
> math-library (Apache License) or the "atp" tex-library (GNU/GPL ),
> the used library source with license is included in the source.
> 
> If the applet is only a minor modification inorder to communicate
> with wims, the original author & license are present in the source
> code [like Zirkel, WIMSchem/Sketchel, JCM , Plinko].

So I shall begin to review the licenses, which may inply in some cases
to contact other upstream authors. I shall keep you informed about the
progress of that task. Can you write me a list of the source codes whose
licenses you can ensure immediately, in order to feed them back into the
distribution quickly?

> Furthermore the applets are all -I hope- compiled for "java 1.4"
> using FreeBSD's Diabolo JDK [amongst others ;
> diablo-jdk-freebsd6.i386.1.6.0.07.02]
> http://www.freebsdfoundation.org/downloads/java.shtml
> 
> I've tested the "IcedTea OpenJDK" ex OpenSuSE 11-3
> [java-1_6_0-openjdk - Java runtime environment based on OpenJDK 6
> and IcedTea 6 ] on 32 bit i386.
> All applets should compile "cleanly".
> However the IcedTea plugin for Firefox is not yet up to standard SUN
> plugin quality !! and will -on SuSE 11.3 linux- not be very usefull.
> E.g. the enduser must use Sun's plugin inorder to work with the
> Openjava compiled applets...

I am pretty confident in the code's ability to be compiled with openjdk.
The end users may use their preferred java plugin as it does not
interact with the licensing of your source code.

Best regards,   Georges.

-- 
Georges KHAZNADAR et Jocelyne FOURNIER
22 rue des mouettes, 59240 Dunkerque France.
Téléphone +33 (0)3 28 29 17 70



signature.asc
Description: Digital signature


Bug#593912: java applet source

2010-08-23 Thread Georges Khaznadar
Hello Bernadette, I reply in English language since this bugreport may
be interesting for other developers which became interested in the package
wims (some members of the Debian Science project). I summarise some of
your lines in English, too.

Bernadette Perrin-Riou a écrit :
> Package: wims
> Version: 4.00-2
> 
> Les sources des applets contenues dans
> public_html/scripts/authors/jm.evers/applets et le moyen de les
> compiler se trouvent toutes dans le dossier
> public_html/scripts/authors/jm.evers/applets/src de la distribution
> upstream de wims4.00.
Summary: some applets authored by J.M. Evers are not in the Debian
distributions, but their sources are included in the upstream
distribution.

--8<---
[...]/public_html/scripts/authors/jm.evers/applets/src$ 
zgrep -il license *
FlyApplet.src.tar.gz
GetallenLijn.src.tar.gz
MathView.src.tar.gz
noninput.java
PieChart.java
Plot.src.tar.gz
Rekenmachien.src.tar.gz
sharptools.src.tar.gz
TexApp.src.tar.gz
ThreeD.src.tar.gz
--8<---

Only 10 files of the 21 files in this directory contain the world
"license" 

When the license issue will be fixed, I shall append a specific part in
the file debian/copyright, and I shall check whether the applets can be
built with openjdk-6

> Il en ait de même de public_html/java/Clicktile  public_html/java/Lattice
> public_html/java/WIMSChem public_html/java/zirkel public_html/java/input.jar
> et de public_html/java/ThreeD.jar (lien symbolique sur un fichier
> dans public_html/scripts/authors/jm.evers/applets)
> 
> Y a-t-il donc une raison de les supprimer ?
Summary: this is about another list of java archives presumabily
attributed to JM Evers

The line in the debian patch which suppresses all of the java stuff has
been added at a time when there were few possibilities to compile java
sources with a free compiler. Now the situation has changed. However in
any Debian package, the following is mandatory:

- All of the binaries (this includes .jar and .class files) must be
  built by the debian packaging engine.
- every source file must be owned by an author, and this author must
  publish it with a free license (which must comply with the Debian Free
  Software Guidelines, see http://www.debian.org/social_contract)

> Par contre, les sources de geogebra et jmol n'y sont en effet pas. Mais étant
> sous licence GPL, il devrait être possible de mettre une dépendance.
Summary: this is about Geogebra and Jmol.

Geogebra is now in Debian (first upload: 06 Jul 2010), so there will be
no problem to add its features. However the debian patch must modify
some parts of the sources of Wims to prevent the duplication of files
which are part of the package Geogebra. 

The packaging of Jmol has still to overcome a few difficulties. Its
authors have published their work with a free license, but Jmol embeds
a few java archives coming from third parties which are not yet in
Debian or whose licenses are uncertainly free. Some Debian developers
are working in this issue, which seems to be solvable shortly.

Best regards,
Vielen Grüßen,
Amitiés,Georges.

> 
> Cordialement
> 
> Bernadette
> 
> 
> de debian/patches/20root-makefile.patch
> 
> + ## remove sourceless java archives
> + ## and let a small message in place
> + for d in $(DESTDIR)/var/lib/wims/public_html/java \
> +
> $(DESTDIR)/var/lib/wims/public_html/scripts/authors/jm.evers/applets;
> \
> + do \
> +   find $$d -name "*.jar" -exec rm {} \; ; \
> +   echo $(SORRY_NO_JAR) > $$d/README; \
> + done
> 
> 
> 

-- 
Georges KHAZNADAR et Jocelyne FOURNIER
22 rue des mouettes, 59240 Dunkerque France.
Téléphone +33 (0)3 28 29 17 70



signature.asc
Description: Digital signature


Bug#593912: java applet source

2010-08-22 Thread Bernadette Perrin-Riou

Package: wims
Version: 4.00-2

Les sources des applets contenues dans  
public_html/scripts/authors/jm.evers/applets et le moyen de les  
compiler se trouvent toutes dans le dossier
public_html/scripts/authors/jm.evers/applets/src de la distribution  
upstream de wims4.00.

Il en ait de même de public_html/java/Clicktile  public_html/java/Lattice
public_html/java/WIMSChem public_html/java/zirkel public_html/java/input.jar
et de public_html/java/ThreeD.jar (lien symbolique sur un fichier dans  
public_html/scripts/authors/jm.evers/applets)


Y a-t-il donc une raison de les supprimer ?

Par contre, les sources de geogebra et jmol n'y sont en effet pas. Mais étant
sous licence GPL, il devrait être possible de mettre une dépendance.

Cordialement

Bernadette


de debian/patches/20root-makefile.patch

+   ## remove sourceless java archives
+   ## and let a small message in place
+   for d in $(DESTDIR)/var/lib/wims/public_html/java \
+  
$(DESTDIR)/var/lib/wims/public_html/scripts/authors/jm.evers/applets; \

+   do \
+ find $$d -name "*.jar" -exec rm {} \; ; \
+ echo $(SORRY_NO_JAR) > $$d/README; \
+   done



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org