Re: Doubt about a java version of a package
On Wed, Oct 24, 2007 at 11:19:46PM -0400, Muammar El Khatib wrote:
> > Well, you could see jftp, except that it's in contrib, but you may be
> > able to get it into main if you get it to build it with a free Java
> > compiler like gcj. Or, see the pkg-java list for a bigger list.
> >
>
> I had to use sun-java6-jdk to compile the application, so I'll have to
> try to build it using a free java compiler to get the java-based
> version into main, right? (I'm sorry for asking that but it's my first
> time facing a java packaging)
If you have a look at the JFTP rules file, it has this line:
JAVA_HOME := /usr/lib/jvm/java-6-sun
Now, instead of this, you should try to use /usr/lib/jvm/java-gcj and
Build-Depend on java-gcj-compat-dev. If this helps build your package
and runs it, yacas can stay in main. However, if you just can't build
it using GCJ, then you may try kaffe or jikes, but I don't know too
much about them.
See any of the packages maintained by pkg-java-maintainers. For example,
commons-io is a simple one. They all use cdbs for building, and it
should be quite simple to adapt the ant based build to yacas.
All the best!
Kumar
--
Kumar Appaiah,
458, Jamuna Hostel,
Indian Institute of Technology Madras,
Chennai - 600 036
Reply to: