Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 121141 - new package: dev-java/bluej-bin-2.1.3
Summary: new package: dev-java/bluej-bin-2.1.3
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL: http://www.bluej.org
Whiteboard:
Keywords: EBUILD
Depends on: 174182
Blocks: 109800 110982 122772
  Show dependency tree
 
Reported: 2006-02-01 01:03 UTC by Allen Brooker (AllenJB)
Modified: 2013-06-23 22:03 UTC (History)
7 users (show)

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


Attachments
BlueJ-bin 2.1.1 ebuild (bluej-bin-2.1.1.ebuild,1.61 KB, text/plain)
2006-02-01 01:03 UTC, Allen Brooker (AllenJB)
Details
files/bluej-bin-2.1.1 (bluej-bin-2.1.1,154 bytes, text/plain)
2006-02-01 01:05 UTC, Allen Brooker (AllenJB)
Details
Bluej-bin 2.1.1-r1 (bluej-bin-2.1.1-r1.ebuild,1.36 KB, text/plain)
2006-02-02 07:13 UTC, Allen Brooker (AllenJB)
Details
files/bluej-bin-2.1.1-r1 (bluej-bin-2.1.1-r1,102 bytes, text/plain)
2006-02-02 07:14 UTC, Allen Brooker (AllenJB)
Details
files/bluej.desktop (bluej.desktop,260 bytes, text/plain)
2006-04-30 08:01 UTC, Allen Brooker (AllenJB)
Details
bluej-bin-2.1.3.ebuild (bluej-bin-2.1.3.ebuild,1.50 KB, text/plain)
2006-09-19 12:14 UTC, Thomas van Kampen
Details
files/bluej-icon2.xpm (bluej-icon2.xpm,6.45 KB, application/octet-stream)
2006-09-19 12:15 UTC, Thomas van Kampen
Details
files/bluej-bin-2.1.3 (bluej-bin-2.1.3,102 bytes, text/plain)
2006-10-31 06:39 UTC, Petr Pisar
Details
desktop file czech translation (bluej-bin-desktop-cs.diff,398 bytes, patch)
2006-10-31 06:47 UTC, Petr Pisar
Details | Diff
new ebuild for version 3.0.2 (bluej-bin-3.0.2.ebuild,1.44 KB, text/plain)
2010-09-22 17:21 UTC, Marcus Becker
Details
files/bluej.desktop (bluej.desktop,268 bytes, text/plain)
2010-09-22 17:22 UTC, Marcus Becker
Details
files/bluej.sh (bluej.sh,55 bytes, text/plain)
2010-09-22 17:23 UTC, Marcus Becker
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Allen Brooker (AllenJB) 2006-02-01 01:03:12 UTC
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/
Comment 1 Allen Brooker (AllenJB) 2006-02-01 01:03:56 UTC
Created attachment 78624 [details]
BlueJ-bin 2.1.1 ebuild
Comment 2 Allen Brooker (AllenJB) 2006-02-01 01:05:58 UTC
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.
Comment 3 Allen Brooker (AllenJB) 2006-02-01 04:36:55 UTC
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.
Comment 4 Allen Brooker (AllenJB) 2006-02-02 07:13:44 UTC
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.
Comment 5 Allen Brooker (AllenJB) 2006-02-02 07:14:20 UTC
Created attachment 78724 [details]
files/bluej-bin-2.1.1-r1

Updated as above
Comment 6 Allen Brooker (AllenJB) 2006-02-02 07:21:41 UTC
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)
Comment 7 Allen Brooker (AllenJB) 2006-02-10 05:26:20 UTC
bluej 2.1.2 released by upstream. No ebuild changes necessary.
Comment 8 Gilles Dartiguelongue (RETIRED) gentoo-dev 2006-02-16 07:59:01 UTC
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.
Comment 9 Allen Brooker (AllenJB) 2006-04-30 08:01:05 UTC
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.
Comment 10 Gilles Dartiguelongue (RETIRED) gentoo-dev 2006-06-05 23:17:03 UTC
Heinrich, are you still alive or do shall we CC java herd ?
Comment 11 Josh Nichols (RETIRED) gentoo-dev 2006-06-24 09:07:25 UTC
Seems the maintainer has since retired.
Comment 12 Thomas van Kampen 2006-09-19 11:47:25 UTC
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
Comment 13 Gilles Dartiguelongue (RETIRED) gentoo-dev 2006-09-19 12:08:59 UTC
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.
Comment 14 Thomas van Kampen 2006-09-19 12:11:26 UTC
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. :-)
Comment 15 Thomas van Kampen 2006-09-19 12:14:35 UTC
Created attachment 97448 [details]
bluej-bin-2.1.3.ebuild
Comment 16 Thomas van Kampen 2006-09-19 12:15:45 UTC
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
Comment 17 Allen Brooker (AllenJB) 2006-09-20 13:56:17 UTC
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.
Comment 18 Jon 2006-10-04 17:26:38 UTC
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)
Comment 19 Jon 2006-10-04 17:29:34 UTC
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.
Comment 20 Thomas Blomme 2006-10-26 12:56:02 UTC
when will those ebuilds be added to portage?

Comment 21 Gilles Dartiguelongue (RETIRED) gentoo-dev 2006-10-26 16:18:33 UTC
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.
Comment 22 Jakub Moc (RETIRED) gentoo-dev 2006-10-26 16:28:17 UTC
p.masked pending removal in 30 days. Broken, multiple bugs, no maintainer to pick this up. See Bug 65923
Comment 23 Petr Pisar 2006-10-31 06:39:39 UTC
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.
Comment 24 Petr Pisar 2006-10-31 06:47:07 UTC
Created attachment 100882 [details, diff]
desktop file czech translation

Translation of desktop Comment field.
Comment 25 Petr Pisar 2006-10-31 06:51:54 UTC
Comment on attachment 100880 [details]
files/bluej-bin-2.1.3

Changed name desciption of the attachment to the path.
Comment 26 Petr Pisar 2006-10-31 06:56:28 UTC
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.
Comment 27 Allen Brooker (AllenJB) 2006-11-01 13:07:58 UTC
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.
Comment 28 Jakub Moc (RETIRED) gentoo-dev 2007-07-20 08:55:16 UTC
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.
Comment 29 Marcus Becker 2010-09-22 17:21:31 UTC
Created attachment 248370 [details]
new ebuild for version 3.0.2

couldn't make the other attachments obsolete :)
Comment 30 Marcus Becker 2010-09-22 17:22:18 UTC
Created attachment 248372 [details]
files/bluej.desktop
Comment 31 Marcus Becker 2010-09-22 17:23:02 UTC
Created attachment 248373 [details]
files/bluej.sh

to create the binary...
Comment 32 Julian Ospald 2013-06-23 22:03:24 UTC
we have a source package already