Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 99686 - webcdwriter java/dep fixes
Summary: webcdwriter java/dep fixes
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Optical Media project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-20 09:05 UTC by Thomas Matthijs (RETIRED)
Modified: 2005-08-06 17:30 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Matthijs (RETIRED) gentoo-dev 2005-07-20 09:05:46 UTC
Been going over ebuilds that use java, since quite a few do some things wrong

java-pkg_getjars echo's the cp
you possibly want java-pkg_jar-from or just remove it

--- webcdwriter-2.6.8.ebuild    11 Jun 2005 11:45:34 -0000      1.3
+++ webcdwriter-2.6.8.ebuild    20 Jul 2005 16:03:29 -0000
@@ -14,22 +14,19 @@
 KEYWORDS="~ppc ~x86"
 IUSE="java pam mp3 sox oggvorbis"
 
-DEPEND="java? ( virtual/jdk dev-java/jnlp-bin )"
 RDEPEND="
        app-cdr/cdrdao
        app-cdr/cdrtools
        mp3? ( media-sound/mpg123 )
        sox? ( media-sound/sox )
-       oggvorbis? ( media-sound/vorbis-tools )"
+       oggvorbis? ( media-sound/vorbis-tools )
+       java? ( >=virtual/jre-1.4 )"
+DEPEND="java? ( >=virtual/jdk-1.4 )
+       ${RDEPEND}"
 
 S="${WORKDIR}/${MY_P}"
 
 src_compile() {
-       if use java
-       then
-               java-pkg_getjar jnlp-bin jnlp.jar
-       fi
-
        epatch ${FILESDIR}/configure.patch
        epatch ${FILESDIR}/config-root.patch
Comment 1 Lars Weiler (RETIRED) gentoo-dev 2005-08-06 17:30:39 UTC
I'm not such a java-crack, so thanks for your correction.  It's in portage now.