[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: RFC: libescher



On Thu, Jul 20, 2006 at 01:16:06PM +0200, Robert Schuster wrote:
> Forgot the diff.
> 
> cya
> Robert
> 
> Robert Schuster wrote:
> > Hi,
> > 
> > Arnaud Vandyck wrote:
> > 
> >>[I replyed from pkg-java-maintainers to debian-java because I prefer
> >>pkg-java-maintainers's list to be only for bug reports]
> > 
> > 
> > I will use debian-java for packaging diffs from now on. :)
> > 
> > 
> >>>>The escher source archive (0.2.3) is a bit odd. It contains no separate source
> >>>>and has all the class files in it. I tried to fix that in the clean rule. Hope
> >>>>that makes sense.
> >>
> >>That's the way to go.
> > 
> > 
> > Another problem is that the root for the source files is the archive's root
> > itself. In other words: It has no separate source folder. Out of knowledge I
> > fixed that in the clean rule, too. However that makes the diff pretty big and it
> > may be more useful to fix that problem in some kind of compilation-preparation
> > step (It is just mkdir src; mv gnu src;)
> > 
> > 
> >>>>+Build-Depends: cdbs, debhelper (>= 4.1.0), java-gcj-compat-dev, ant
> >>>>+Standards-Version: 3.6.2
> >>
> >>
> >>Build-Depends: cdbs, debhelper (>= 4.1.0)
> >>Build-Depends-Indep: java-gcj-compat-dev, ant
> >>Standards-Version: 3.7.2
> >>
> >>[...]
> > 
> > Fixed!
> > 
> > 
> >>>>+DEB_JARS := \
> >>>>+	ant-launcher
> >>
> >>
> >>I don't think it's needed anymore.
> > 
> > I am afraid I get NoClassDefFoundErrors without that. However I am building the
> > package on an Ubuntu system. Hope that isnt to much of a problem...?
> > 
> >>>>+# Build compiler
> >>>>+DEB_ANT_COMPILER := org.eclipse.jdt.core.JDTCompilerAdapter
> >>>>+ifneq (,$(findstring eclipse,$(DEB_ANT_COMPILER)))
> >>>>+    DEB_JARS += ecj.jar /usr/share/ant/lib/ecj-adapter.jar
> >>>>+endif
> >>
> >>
> >>Isn't it the default compiler?
> > 
> > Removed that.
> > 
> > 
> >>>>Index: libescher-java/debian/README.Debian-source
> >>>>===================================================================
> >>>>--- libescher-java/debian/README.Debian-source	(Revision 0)
> >>>>+++ libescher-java/debian/README.Debian-source	(Revision 0)
> >>>>@@ -0,0 +1,9 @@
> >>>>+libescher-java for Debian
> >>>>+-------------------------
> >>>>+
> >>>>+Upstream author provides no separate source-only archive therefore
> >>>>+pre-compiled class files and HTML documentation has been removed from the
> >>>>+downloaded
> >>>>+archive.
> >>
> >>
> >>Great to comment the way you changed the sources.
> > 
> > Thanks. I extended this info a bit in the current version.
> > 
> > 
> >>Excellent work, I'm ok to sponsor your upload if needed, you can contact
> >>me in private (give me an url with orig.tar.gz and .dsc and diff.gz).
> > 
> > Here are the files:
> > http://www.inf.fu-berlin.de/~rschuste/pkg-java/libescher-java_0.2.3.orig.tar.gz
> > http://www.inf.fu-berlin.de/~rschuste/pkg-java/libescher-java_0.2.3-1.diff.gz
> > http://www.inf.fu-berlin.de/~rschuste/pkg-java/libescher-java_0.2.3-1.dsc
> > 
> > cya
> > Robert
> > 
> 
> -- 
> tarent GmbH
> Heilsbachstr. 24, 53123 Bonn  | Poststr. 4-5, 10178 Berlin
> fon: +49(228) / 52675-0       | fon: +49(30) / 27594853
> fax: +49(228) / 52675-25      | fax: +49(30) / 78709617

> Index: libescher-java/debian/control
> ===================================================================
> --- libescher-java/debian/control	(Revision 0)
> +++ libescher-java/debian/control	(Revision 0)
> @@ -0,0 +1,17 @@
> +Source: libescher-java
> +Section: libs
> +Priority: optional
> +Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
> +Uploaders: Robert Schuster <robert.schuster@tarent.de>
> +Build-Depends: cdbs, debhelper (>= 4.1.0)
> +Build-Depends-Indep: java-gcj-compat-dev, ant
> +Standards-Version: 3.7.2
> +
> +Package: libescher-java
> +Architecture: all
> +Depends: java-gcj-compat | java2-runtime
> +Description: Implementation of X Window System libraries in Java
> + Escher is a collection of libraries for X Window System written
> + purely in Java. It consists of an X11 protocol implementation
> + (similar to xlib for C/C++), and its extensions such as GLX,
> + the OpenGL rendering protocol.
> Index: libescher-java/debian/dirs
> ===================================================================
> --- libescher-java/debian/dirs	(Revision 0)
> +++ libescher-java/debian/dirs	(Revision 0)
> @@ -0,0 +1 @@
> +usr/share/java
> Index: libescher-java/debian/compat
> ===================================================================
> --- libescher-java/debian/compat	(Revision 0)
> +++ libescher-java/debian/compat	(Revision 0)
> @@ -0,0 +1 @@
> +4
> Index: libescher-java/debian/changelog
> ===================================================================
> --- libescher-java/debian/changelog	(Revision 0)
> +++ libescher-java/debian/changelog	(Revision 0)
> @@ -0,0 +1,6 @@
> +libescher-java (0.2.3-1) unstable; urgency=low
> +
> +  * Initial release
> +
> + -- Robert Schuster <robert.schuster@tarent.de>  Mon, 17 Jul 2006 16:24:53 +0200
> +
> Index: libescher-java/debian/copyright
> ===================================================================
> --- libescher-java/debian/copyright	(Revision 0)
> +++ libescher-java/debian/copyright	(Revision 0)
> @@ -0,0 +1,46 @@
> +This package was debianized by Robert Schuster <robert.schuster@tarent.de> on
> +Mon, 17 Jul 2006 16:24:53 +0200.
> +
> +It was downloaded from http://escher.sourceforge.net.
> +
> +Copyright Holder:
> +    Roman Kennke (kennke@aicas.com)
> +    Stephen Tse (stse@cis.upenn.edu)
> +
> +License: Dual licensed:
> +
> +GNU GPL v2.1

You need to add the full GPL disclaimer here. Just copy and paste it
from /usr/share/common-licenses/GPL-2. Otherwise FTP-master will not
accept this as incomplete.

> +JAVA_HOME := /usr/lib/jvm/java-gcj

Default. Not needed.

> +ANT_HOME := /usr/share/ant

Default. Not needed.

> +DEB_JARS= ant-launcher

Default. Not needed.


Cheers,
Michael
-- 
http://www.worldforge.org/



Reply to: