* [gentoo-java] plz review some ebuilds
@ 2009-05-04 17:34 Mario Fetka
2009-05-04 18:33 ` Vlastimil Babka
0 siblings, 1 reply; 4+ messages in thread
From: Mario Fetka @ 2009-05-04 17:34 UTC (permalink / raw
To: gentoo-java@lists.gentoo.org
Hallo Gentoo Java Team,
can someone plz review some java related ebuilds[1]
dev-java/isrt
dev-java/isnativec
dev-java/isfreetype
dev-java/iscwt
dev-java/jPod
dev-java/jPodRenderer
dev-java/jbig2
app-text/pdfsam
before i will put them into bugzilla
thx in av
Mario
[1]http://tinyurl.com/co97l6
http://tinyurl.com/dg3vhv
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-java] plz review some ebuilds
2009-05-04 17:34 [gentoo-java] plz review some ebuilds Mario Fetka
@ 2009-05-04 18:33 ` Vlastimil Babka
2009-05-04 18:50 ` Mario Fetka
2009-05-04 22:31 ` Mario Fetka
0 siblings, 2 replies; 4+ messages in thread
From: Vlastimil Babka @ 2009-05-04 18:33 UTC (permalink / raw
To: gentoo-java
Mario Fetka wrote:
> Hallo Gentoo Java Team,
>
> can someone plz review some java related ebuilds[1]
>
> dev-java/isrt
> dev-java/isnativec
> dev-java/isfreetype
> dev-java/iscwt
> dev-java/jPod
> dev-java/jPodRenderer
> dev-java/jbig2
> app-text/pdfsam
Hi, just a quick... I'll talk about iscwt-5.0.20081218.ebuild but most
should apply to others too.
depends on swt:3.4 using a slot dep without EAPI=1 (or later) which
should not even work. In general, use EAPI=2 and specify slot deps for
everything dev-java except jdk/jre (even explicitly :0 as it eases
future upgrades). With EAPI=2 you can call 'default' instead of 'unpack
$A; cd $S;'. The mkdir and cp calls should have appen '|| die'
Move doc from IUSE to JAVA_PKG_IUSE.
The creation of build.properties is tedious, overriding the classpath
(see below) should be easier.
What is the ${antflags} doing in src_compile? Should not be there. Also
there should be just one eant call and using $(use_doc) as parameter
will add 'javadoc' based on the flag.
Also the whole src_compile (and the build.properties stuff) could be
replaced with this:
JAVA_ANT_REWRITE_CLASSPATH="true"
EANT_GENTOO_CLASSPATH="isnativec,isrt,jna"
Not tested, so some details might vary. Hope it helps.
Caster
> before i will put them into bugzilla
>
> thx in av
> Mario
>
> [1]http://tinyurl.com/co97l6
> http://tinyurl.com/dg3vhv
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-java] plz review some ebuilds
2009-05-04 18:33 ` Vlastimil Babka
@ 2009-05-04 18:50 ` Mario Fetka
2009-05-04 22:31 ` Mario Fetka
1 sibling, 0 replies; 4+ messages in thread
From: Mario Fetka @ 2009-05-04 18:50 UTC (permalink / raw
To: gentoo-java
On Monday, 4. May 2009 20:33:11 Vlastimil Babka wrote:
> Mario Fetka wrote:
> > Hallo Gentoo Java Team,
> >
> > can someone plz review some java related ebuilds[1]
> >
> > dev-java/isrt
> > dev-java/isnativec
> > dev-java/isfreetype
> > dev-java/iscwt
> > dev-java/jPod
> > dev-java/jPodRenderer
> > dev-java/jbig2
> > app-text/pdfsam
>
> Hi, just a quick... I'll talk about iscwt-5.0.20081218.ebuild but most
> should apply to others too.
>
> depends on swt:3.4 using a slot dep without EAPI=1 (or later) which
> should not even work. In general, use EAPI=2 and specify slot deps for
> everything dev-java except jdk/jre (even explicitly :0 as it eases
> future upgrades). With EAPI=2 you can call 'default' instead of 'unpack
> $A; cd $S;'. The mkdir and cp calls should have appen '|| die'
>
> Move doc from IUSE to JAVA_PKG_IUSE.
> The creation of build.properties is tedious, overriding the classpath
> (see below) should be easier.
> What is the ${antflags} doing in src_compile? Should not be there. Also
> there should be just one eant call and using $(use_doc) as parameter
> will add 'javadoc' based on the flag.
> Also the whole src_compile (and the build.properties stuff) could be
> replaced with this:
>
> JAVA_ANT_REWRITE_CLASSPATH="true"
> EANT_GENTOO_CLASSPATH="isnativec,isrt,jna"
>
> Not tested, so some details might vary. Hope it helps.
> Caster
>
> > before i will put them into bugzilla
> >
> > thx in av
> > Mario
> >
> > [1]http://tinyurl.com/co97l6
> > http://tinyurl.com/dg3vhv
thx for the help
will implement the suggested changes
Mario
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-java] plz review some ebuilds
2009-05-04 18:33 ` Vlastimil Babka
2009-05-04 18:50 ` Mario Fetka
@ 2009-05-04 22:31 ` Mario Fetka
1 sibling, 0 replies; 4+ messages in thread
From: Mario Fetka @ 2009-05-04 22:31 UTC (permalink / raw
To: gentoo-java
On Monday, 4. May 2009 20:33:11 Vlastimil Babka wrote:
> Mario Fetka wrote:
> > Hallo Gentoo Java Team,
> >
> > can someone plz review some java related ebuilds[1]
> >
> > dev-java/isrt
> > dev-java/isnativec
> > dev-java/isfreetype
> > dev-java/iscwt
> > dev-java/jPod
> > dev-java/jPodRenderer
> > dev-java/jbig2
> > app-text/pdfsam
>
> Hi, just a quick... I'll talk about iscwt-5.0.20081218.ebuild but most
> should apply to others too.
>
> depends on swt:3.4 using a slot dep without EAPI=1 (or later) which
> should not even work. In general, use EAPI=2 and specify slot deps for
> everything dev-java except jdk/jre (even explicitly :0 as it eases
> future upgrades). With EAPI=2 you can call 'default' instead of 'unpack
> $A; cd $S;'. The mkdir and cp calls should have appen '|| die'
>
> Move doc from IUSE to JAVA_PKG_IUSE.
> The creation of build.properties is tedious, overriding the classpath
> (see below) should be easier.
> What is the ${antflags} doing in src_compile? Should not be there. Also
> there should be just one eant call and using $(use_doc) as parameter
> will add 'javadoc' based on the flag.
> Also the whole src_compile (and the build.properties stuff) could be
> replaced with this:
>
> JAVA_ANT_REWRITE_CLASSPATH="true"
> EANT_GENTOO_CLASSPATH="isnativec,isrt,jna"
>
> Not tested, so some details might vary. Hope it helps.
> Caster
>
> > before i will put them into bugzilla
> >
> > thx in av
> > Mario
> >
> > [1]http://tinyurl.com/co97l6
> > http://tinyurl.com/dg3vhv
all suggestions applied
will put on bugzi in a view days
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-05-04 22:31 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-04 17:34 [gentoo-java] plz review some ebuilds Mario Fetka
2009-05-04 18:33 ` Vlastimil Babka
2009-05-04 18:50 ` Mario Fetka
2009-05-04 22:31 ` Mario Fetka
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox