Many users seem to be having problems with the current versions of BlueJ in portage (bugs where they can't open or create new projects mainly), so I've updated the ebuild for BlueJ. This isn't a simple version bump. There was a change in the layout of the nested jar files. I've also (inadvertently) fixed Bug #110982 For a tbz2 version, see http://allen.brooker.gb.net/
Created attachment 78624 [details] BlueJ-bin 2.1.1 ebuild
Created attachment 78625 [details] files/bluej-bin-2.1.1 This is a script to launch the bluej appplication. It's been updated to match the same script from the bluej package. You'll also need the .desktop file that can be found in dev-java/bluej-bin/files but it's exactly the same as the current version so I won't bother attaching it here. It is in the tbz2 version mentioned above.
Note: I've arranged to talk to one of the bluej devs (a lecturer at my uni) tomorrow as he wants to talk about improving the ebuild, so I'll probably be sumbitting some updates then.
Created attachment 78723 [details] Bluej-bin 2.1.1-r1 Changes: - Executable script no longer requires classpath for tools.jar - bluej searches for this itself (according to the developers) - No longer tries to use Gentoo's versions of antlr.jar and junit.jar. According to the developers bluej is extremely picky, especially about antlr.jar and this could be why older versions (in portage) no longer work.
Created attachment 78724 [details] files/bluej-bin-2.1.1-r1 Updated as above
I've updated the tbz2 on my website ( http://allen.brooker.gb.net/ ) with the -r1 version. While I realise using the precompiled versions on antlr.jar and junit.jar isn't exactly "the Gentoo way", it is the way I've been recommended to do it by the developers for the most stable results (as I said above)
bluej 2.1.2 released by upstream. No ebuild changes necessary.
please commit this ebuild to portage, I came to the same conclusion as Allan 2 weeks ago but had no time to report a bug and a patch. This ebuilds solves all problems I had and make BlueJ work for all stuff we've done at school.
Created attachment 85834 [details] files/bluej.desktop The bluej.desktop file that the ebuild looks for (oops). Also, this ebuild works for BlueJ 2.1.3 with no changes.
Heinrich, are you still alive or do shall we CC java herd ?
Seems the maintainer has since retired.
I made an ebuild for myself for the latest version, 2.1.3 which installs correctly and works. Can I just add it as an attachment here or should I make a new bug? Also the icon doesn't work in KDE with the one here nor the one with portage but I made an xpm and corrected the path and it works. I wonder if it's legal to upload the xpm too (it's xpmed from a gif on the bluej website). Regards, Thomas vK
if your ebuild is better than what's proposed in comment #9, you can attach it. No need to open a new bug, but if reporter could update the summary that would be cool.
I'm by no means a professional at doing this so excuse me if it has some bugs, I hope you pro-er people can get them out. I'll take a try at attaching it now. :-)
Created attachment 97448 [details] bluej-bin-2.1.3.ebuild
Created attachment 97449 [details] files/bluej-icon2.xpm Well I hope this all went OK. I'm seriously in doubt if I handle the icon correctly in the ebuild but that's why I'm posting it here, I guess. :-) Regards, Thomas vK
When making so few changes to an ebuild, could you please use a diff/patch instead of posting a full ebuild - it makes it much easier to evaluate changes. Linux Journal has an article on using diff at http://www.linuxjournal.com/article/1237 and a Google for "diff patch" will return many more useful articles. For desktop menu entries there is make_desktop_entry - This is in eutils.eclass - see /usr/portage/eclass/eutils.eclass for documentation.
As a personal note (as I had not seen this in any comment and was able to figure it out) for the 2.1.3 ebuild to work correctly you need to copy files/bluej-bin-2.1.1-r1 to files/bluej-bin-2.1.3 otherwise the binary will not be created (I kept getting a file not found error during the emerge)
I stand corrected, my apologies. The file needs to be created for bluej to finish emerging, but the program will not start. I don't really have much time to look at it now (and someone else would probably be better at it anyway) but I think the bluej-bin-2.1.3 file in the files/ directory just needs an edit somewhere.
when will those ebuilds be added to portage?
well, nobody as proposed to maintain it it seems, so I guess treecleaners are just going to do the right thing by removing something that is not working (in the sense of what's in the tree) and no devs around want to take care of.
p.masked pending removal in 30 days. Broken, multiple bugs, no maintainer to pick this up. See Bug 65923
Created attachment 100880 [details] files/bluej-bin-2.1.3 Provides shell wrapper into default PATH to be able to launch BlueJ. Content of the file is still the same for all BlueJ versions. This file is required by 2.1.3 ebuild.
Created attachment 100882 [details, diff] desktop file czech translation Translation of desktop Comment field.
Comment on attachment 100880 [details] files/bluej-bin-2.1.3 Changed name desciption of the attachment to the path.
2.1.3 works for me. You need: bluej-bin-2.1.3.ebuild, files/bluej-icon2.xpm, files/bluej-bin-2.1.3 and files/bluej.desktop. If you want czech commentary in desktop menu, apply given patch.
Petr: (Note: The following is intended to be constructive criticism and advice, I hope it comes across as such) Please read comment #17. Additionally, please don't resubmit files under a different filename (as far as I can tell bugzilla doesn't even store the original filename, which is why it's usually used in the file description instead) - just mentioning that you've changed the name of a file is enough. IMO it would have been better in this case to have left the ebuild grabbing the bluej-2.1.1 file from the files directory. Please use the 'file obsoletes' tick-box when you're submitting a revised file that's not a patch against the original. This keeps the file list nice and clear so people see what they need to download. Please try not to leave commented-out code in submitted files unless it's there for a good reason. Thanks for the improvements tho.
10:47:12 <+CIA-24> drac * gentoo-x86/dev-java/bluej-bin/ (9 files in 2 dirs): Remove p.masked pkg. Treecleaners, should have been gone in 2006.. Java folks, if you can find a place for this -bin thingy in your overlay for the couple of users, it'd be welcome I guess. Removed from the official tree meanwhile.
Created attachment 248370 [details] new ebuild for version 3.0.2 couldn't make the other attachments obsolete :)
Created attachment 248372 [details] files/bluej.desktop
Created attachment 248373 [details] files/bluej.sh to create the binary...
we have a source package already