Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.java > #8511

Re: Packaging Java Pathfinder

Path csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod
From tony mancill <tmancill@debian.org>
Newsgroups linux.debian.maint.java
Subject Re: Packaging Java Pathfinder
Date Sun, 25 Oct 2015 19:00:02 +0100
Message-ID <qnxKi-5Xt-5@gated-at.bofh.it> (permalink)
References <qmBPX-6Vq-1@gated-at.bofh.it> <qmFAd-3Ss-5@gated-at.bofh.it> <qn01X-89V-1@gated-at.bofh.it> <qn6Aq-JZ-17@gated-at.bofh.it>
X-Original-To debian-java@lists.debian.org
X-Mailbox-Line From debian-java-request@lists.debian.org Sun Oct 25 17:51:12 2015
Old-Return-Path <tmancill@debian.org>
X-Amavis-Spam-Status No, score=-11.5 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, CAPINIT=0.5, LDO_WHITELIST=-5, PGPSIGNATURE=-5] autolearn=ham autolearn_force=no
X-Policyd-Weight DYN_NJABL=SKIP(0) NOT_IN_SBL_XBL_SPAMHAUS=-1.5 BL_NJABL=SKIP(-1.5) CL_IP_EQ_HELO_IP=-2 (check from: .debian. - helo: .dorf.mancill. - helo-domain: .mancill.) FROM/MX_MATCHES_NOT_HELO(DOMAIN)=0; rate: -5
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.7.0
MIME-Version 1.0
Content-Type multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="qFekPwHSNEf9Suj9GpDG0qOERPRot2uJk"
X-Mailing-List <debian-java@lists.debian.org> archive/latest/18830
List-ID <debian-java.lists.debian.org>
List-URL <https://lists.debian.org/debian-java/>
List-Archive https://lists.debian.org/msgid-search/562D167E.90405@debian.org
Approved robomod@news.nic.it
Lines 81
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Cc marko@dimjasevic.net
X-Original-Date Sun, 25 Oct 2015 10:50:54 -0700
X-Original-Message-ID <562D167E.90405@debian.org>
X-Original-References <1445572423.29523.13.camel@dimjasevic.net> <5629E9B7.9020902@apache.org> <1445665847.3150.43.camel@dimjasevic.net> <562B7FEE.2020109@apache.org>
Xref csiph.com linux.debian.maint.java:8511

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

Hello Marko,

This looks like a cool project and a nice addition to Debian.

On 10/24/2015 05:56 AM, Emmanuel Bourg wrote:
> Le 24/10/2015 07:50, Marko Dimjašević a écrit :
> 
>> According to the Debian policy for Java [1], "[p]ackages must not ship
>> gcj-code without the permission of the Java team
>> (<debian-java@lists.debian.org>)." What would it take to get the
>> permission from the team to have JPF packaged as a gcj-package?
> 
> I can't speak for the team, but I feel that if GCJ doesn't improve the
> speed by more than 15-20% on amd64/i386 it's probably not worth the trouble.

I don't recall the specific reasoning behind requiring the permission of
the Java Team in order to ship a gcj-package, but I suspect it's either
because supporting the gij+Classpath runtimes was generally problematic
(when using gcj to compile to bytecode .class files), or because using
gcj to compile directly to native object code won't result in arch:all
packages.

I also agree with Emmanuel that it might be a lot of additional effort
to create a gcj-package that may not provide a lot of performance
benefit.  In fact, I can't imagine that creating an arch:all package
from gcj that are going to perform better than openjdk on the HotSpot
architectures (but that's just a guess on my part).  Compiling directly
to native object code may provide an interesting performance comparison.

>> I have no experience with packaging Java, but I do have experience with
>> creating a package with Debhelper for a C++ tool. Any pointers to
>> examples for gcj-packaging JPF would be greatly appreciated.
> 
> Sorry I have never used GCJ for a new packages so I can't really help,
> but I suggest looking at the few packages depending on gcj-native-helper
> (ant, libitext-java and hsqldb1.8.0 for example).

If there is a significant performance difference, you could ship both an
arch:all binary package that contains bytecode for execution by the JRE
and an arch:any binary package on architectures where the performance
difference matters.  Those binary packages would most likely conflict
with each other because they'd provide the same commands.  Still, users
would have the option of using the native object code version.

Cheers,
tony

Back to linux.debian.maint.java | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Packaging Java Pathfinder Marko Dimjašević <marko@dimjasevic.net> - 2015-10-23 06:10 +0200
  Re: Packaging Java Pathfinder Emmanuel Bourg <ebourg@apache.org> - 2015-10-23 10:10 +0200
    Re: Packaging Java Pathfinder Marko Dimjašević <marko@dimjasevic.net> - 2015-10-24 08:00 +0200
      Re: Packaging Java Pathfinder Emmanuel Bourg <ebourg@apache.org> - 2015-10-24 15:00 +0200
        Re: Packaging Java Pathfinder tony mancill <tmancill@debian.org> - 2015-10-25 19:00 +0100
  Re: Packaging Java Pathfinder Marko Dimjašević <marko@dimjasevic.net> - 2015-11-15 07:40 +0100
    Re: Packaging Java Pathfinder Emmanuel Bourg <ebourg@apache.org> - 2015-11-15 09:20 +0100
      Re: Packaging Java Pathfinder tony mancill <tmancill@debian.org> - 2015-11-15 17:50 +0100
        Re: Packaging Java Pathfinder Marko Dimjašević <marko@dimjasevic.net> - 2015-11-15 19:40 +0100
          Re: Packaging Java Pathfinder tony mancill <tmancill@debian.org> - 2015-11-16 02:10 +0100
            Re: Packaging Java Pathfinder Marko Dimjašević <marko@dimjasevic.net> - 2015-11-16 05:00 +0100

csiph-web