Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 133721

Summary: dev-java/sun-java3d-bin-1.5.2 version bump
Product: Gentoo Linux Reporter: Sean Vogel <naraku9333>
Component: New packagesAssignee: Java team <java>
Status: RESOLVED FIXED    
Severity: enhancement CC: 2009_Kev_Gentoo, bhaak, bugs, EoD, gentoo, marcinjanczyk, mmokrejs, scvalex, stephan.litterst, vladmihaisima, xmw
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: sun-java3d-bin-1.5.0_pre2.ebuild
sun-java3d-bin-1.5.0.ebuild
sun-java3d-bin-1.5.1.ebuild
sun-java3d-bin-1.5.1.ebuild URI SRC fixed
sun-java3d-bin-1.5.1.ebuild
sun-java3d-bin-1.5.1.ebuild
sun-java3d-bin-1.5.2.ebuild
fixed ebuild

Description Sean Vogel 2006-05-18 13:37:34 UTC
updated java3d ebuild
Comment 1 Sean Vogel 2006-05-18 13:38:25 UTC
Created attachment 87005 [details]
sun-java3d-bin-1.5.0_pre2.ebuild
Comment 2 Patric Mueller 2006-12-21 15:10:14 UTC
Created attachment 104541 [details]
sun-java3d-bin-1.5.0.ebuild

Updated ebuild to stable 1.5.0
Comment 3 Oliver Peter 2007-02-14 19:39:20 UTC
Created attachment 110197 [details]
sun-java3d-bin-1.5.1.ebuild 

stabil sun-java3d-bin-1.5.1-build1
sun-java3d-bin-1.5.1.ebuild
Comment 4 Daniel Tourde 2007-03-06 16:57:58 UTC
Any plan to make an ebuild using the source code instead of the binary from SUN?
Comment 5 Petteri Räty (RETIRED) gentoo-dev 2007-03-06 18:01:49 UTC
(In reply to comment #4)
> Any plan to make an ebuild using the source code instead of the binary from
> SUN?
> 

The existing developers have a lot on their plate with maintaining existing stuff but yes eventually we should get rid of all the binary stuff if at all possible. We do provide as much guiding to users as needed if they want to write Java ebuilds and will commit those works if they are good enough. 
Comment 6 Luis Vitorio Cargnini 2007-08-16 21:33:51 UTC
Created attachment 128329 [details]
sun-java3d-bin-1.5.1.ebuild URI SRC fixed

New ebuild file with SRC URI fixed, the main site modified from stable/ to release/
Comment 7 Kelly Price 2007-08-24 19:00:12 UTC
Source URI is broken again, as well as unzipping.
Comment 8 Martin Mokrejš 2008-03-10 15:30:17 UTC
Created attachment 145737 [details]
sun-java3d-bin-1.5.1.ebuild

Working ebuild on x86. Somebody please fix the postinst meesage and commit to the tree. Link to the sources is as well at https://java3d.dev.java.net/binary-builds.html
Comment 9 Martin Mokrejš 2008-03-10 15:31:26 UTC
Created attachment 145738 [details]
sun-java3d-bin-1.5.1.ebuild

Cleaned up comments, sorry.
Comment 10 Alistair Bush (RETIRED) gentoo-dev 2008-03-11 05:40:14 UTC
Source version is available in java-overlay if your interested.  not currently ~x86 keyworded, but it should build (and run) fine.   It doesn't bundle jogl tho...

Nothing is ever perfect....
Comment 11 Jiri Tyr 2008-07-20 12:37:35 UTC
Created attachment 160921 [details]
sun-java3d-bin-1.5.2.ebuild

Ebuild for sun-java3d-bin-1.5.2.
Comment 12 EoD 2008-09-02 16:12:42 UTC
There is something wrong in the sun-java3d-bin-1.5.2.ebuild (and probably the others). I am using an amd64 machine. The missing file is located in "
/usr/tmp/portage/dev-java/sun-java3d-bin-1.5.2/work/j3d-1_5_2-linux-amd64/j3d-jre.zip" and there is no problem when i extract the file manually.

>>> Unpacking source...
>>> Unpacking j3d-1_5_2-linux-amd64.zip to /var/tmp/portage/dev-java/sun-java3d-bin-1.5.2/work
unzip:  cannot find or open j3d-jre.zip, j3d-jre.zip.zip or j3d-jre.zip.ZIP.
Comment 13 Florian Manschwetus 2008-10-29 16:11:27 UTC
Created attachment 170232 [details]
fixed ebuild

fixed with conditional unzip depending on arch with added unpack target dir.
Comment 14 Phillip Merensky 2008-12-22 22:53:39 UTC
 * QA Notice: file does not exist:
 *                                
 *      dodoc: COPYRIGHT.txt does not exist
 *      dodoc: README.txt does not exist

1.5.2 ebuild produces this qa on amd64 for me.

Regards,
Phillip
Comment 15 Vlad-Mihai Sima 2009-01-13 21:32:09 UTC
I think the ebuild provided by Jiri Tyr is the good one. 

The ebuild Florian Manschwetus provided is wrong, specifically in src_unpack there is "unzip -q j3d-1_5_2-linux-i586/j3d-jre.zip". This is useless as the command "cd "${S}"" would have the efffect "cd j3d-1_5_2-linux-i586", where "S=${WORKDIR}/${A/.zip/}".
Comment 16 EoD 2009-01-14 22:05:05 UTC
The ebuild from Jiri Tyr (still) doesn't work on my amd64 machine. I can provide you with any additional information of my system you want to have.

>>> Jobs: 0 of 1 complete, 1 failed
>>> Unpacking source...
>>> Unpacking j3d-1_5_2-linux-amd64.zip to /var/tmp/portage/dev-java/sun-java3d-bin-1.5.2/work
unzip:  cannot find or open j3d-jre.zip, j3d-jre.zip.zip or j3d-jre.zip.ZIP.
Comment 17 Vlad-Mihai Sima 2009-01-15 09:15:21 UTC
I am no expert, and for me it works. What you could try: edit one of the ebuild and in src_unpack after cd "${S}" add the following lines (and post the results):

echo ${A}
echo ${S}
ls

For me A is j3d-1_5_2-linux-i586.zip, S is /var/tmp/paludis/dev-java-sun-java3d-bin-1.5.2/work/j3d-1_5_2-linux-i586 and when I do the ls I see the j3d-jre.zip.
Comment 18 Patrick Holthaus 2009-04-09 09:53:04 UTC
could this be added to java-experimental?
Comment 19 Peter Gantner (a.k.a. nephros) 2010-02-01 14:23:59 UTC
I just tried to install this and noticed the following strange behaviour:

Behaviour is *different* wether a 
  ebuild sun-java3d-bin-1.5.2.ebuild digest clean compile
or a 
  emerge =sun-java3d-bin-1.5.2
is done.

in the 'ebuild' case, $S evaluates to /tmp/portage/dev-java/sun-java3d-bin-1.5.2/work/j3d-1_5_2-linux-amd64, in the emerge case ist is missing the last directory and has /tmp/portage/dev-java/sun-java3d-bin-1.5.2/work/

Depending which method is used for the unzip this fails either the one way or the other.

What gives?
Comment 20 Serkan Kaba (RETIRED) gentoo-dev 2010-02-25 07:08:24 UTC
*** Bug 306739 has been marked as a duplicate of this bug. ***
Comment 21 Kevin Zuber 2010-03-09 10:35:18 UTC
Why isn't the ebuild for java3d 1.5.2 in the portage tree?
Comment 22 Luís Augusto Perles 2010-07-29 20:24:28 UTC
(In reply to comment #21)
> Why isn't the ebuild for java3d 1.5.2 in the portage tree?
> 

good question!
Comment 23 Henrik Johansson 2011-11-09 18:43:03 UTC
Thanks for the ebuild! Works fine on ~amd64 with icedtea-7.2.0-r1.
Comment 24 Ralph Sennhauser (RETIRED) gentoo-dev 2014-01-24 05:32:04 UTC
*** Bug 496834 has been marked as a duplicate of this bug. ***
Comment 25 Stephan Litterst 2014-01-28 06:29:01 UTC
I still can't find the ebuild for java3d 1.5.2 in portage.
Whats wrong here?
Comment 26 Michael Weber (RETIRED) gentoo-dev 2017-04-21 01:48:58 UTC
I hope this works.

commit 1699dd052151c12b68da6cd4d28b1bd9c3c56cd8
Author: Michael Weber <xmw@gentoo.org>
Date:   Fri Apr 21 03:47:37 2017 +0200

    dev-java/sun-java3d-bin: Version bump (bug 133721).
    
    Package-Manager: Portage-2.3.5, Repoman-2.3.2