Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#11102 - eclipse was moved to another directory but no info about this was published

Attached to Project: Arch Linux
Opened by Piotr Beling (qwak) - Sunday, 03 August 2008, 15:51 GMT
Last edited by Paul Mattal (paul) - Wednesday, 06 August 2008, 17:37 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Paul Mattal (paul)
Architecture All
Severity Low
Priority Normal
Reported Version None
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Last eclipse (3.4) was moved from /usr/share (where was 3.3) to /opt and this require changes in many plug-ins PKGBUILD.
I thing that either eclipse should stay in /usr/share or some info about migration on Arch main side should be provided.
This task depends upon

Closed by  Paul Mattal (paul)
Wednesday, 06 August 2008, 17:37 GMT
Reason for closing:  Fixed
Comment by Paul Mattal (paul) - Sunday, 03 August 2008, 16:45 GMT
What would you like published? This was in testing for a while, and the move to binaries was discussed on arch-dev-public.

I dared not delay the release of eclipse yet another month; it's been enough hell in the last year.
Comment by Piotr Beling (qwak) - Sunday, 03 August 2008, 16:59 GMT
Published = place information similarly to this: http://www.archlinux.org/news/370/

I'm maintainer of 5 eclipse plug-ins in AUR, and it's important information that eclipse will stay in /opt from now.
Sorry that I'm not read arch-dev-public.
Comment by Piotr Beling (qwak) - Sunday, 03 August 2008, 17:07 GMT
PS. I'm very happy that new eclipse is in extra. I add this Feature Request just because I was not certain that eclipse will stay in /opt and if I should fixed my packages in AUR. Other AUR-packagers can have same objections.
Comment by Corrado Primier (bardo) - Monday, 04 August 2008, 16:55 GMT
In fact I went to update eclipse-subclipse and I have to admit I am quite puzzled... Paul, was this an intentional move? I'll wait for your reply before updating everything.
Comment by Paul Mattal (paul) - Monday, 04 August 2008, 19:28 GMT
We have switched to using the eclipse binary distribution.

It appears to me that with the binary distribution, you cannot configure where eclipse lives.

Does anyone know how if there's an endorsed way to relocate the binary version of eclipse? If so, I would like to keep it in /usr/share, but I believe I had concluded this wasn't possible/clean.

Also, please look into the "dropins" directory for use with 3.4 instead of using "plugins" or "features" directly.
Comment by Corrado Primier (bardo) - Tuesday, 05 August 2008, 00:31 GMT
Well, I just modified your PKGBUILD to copy everything in the old location instead of /opt and everything seems to work fine.
If you revert it to /usr, then remember to change eclipse.desktop accordingly (and fix the error desktop-file-validate shows). It would also be a good addition having a /usr/bin/eclipse script...
Comment by Piotr Beling (qwak) - Tuesday, 05 August 2008, 07:06 GMT
Eclipse in /opt is no problem for me. It's only important to make a decision where eclipse will stay resonable fast.

PS. I was using eclipse (binary, in ver. about 3.1-3.2) in directory other than /opt and I don't remember any problems. But it is very hard say if every plugin/configuration will be work good in unstandard location.

PS2. I have one more small problem with eclipse 3.4-2 from extra: No icon in gnome menu (entry is visible and work but it's without graphics icon).
Comment by Corrado Primier (bardo) - Tuesday, 05 August 2008, 09:10 GMT
As far as I could find, eclipse is not bound to any installation directory. I searched the wiki and found this: http://wiki.eclipse.org/Eclipse/Installation#Eclipse_3.3_.2F_Europa
Quote: «Otherwise, download an Eclipse SDK or Runtime Binary or a Europa Bundle, then unpack it and start it up». On the 'start up' page this is said: «Browse to the directory where you unpacked Eclipse, then run eclipse or ./eclipse». Then there's no need to be in a specific directory.
There still isn't a Ganymede-dedicated section, but I suppose nothing changed. Furthermore, being eclipse a java app, it shouldn't be bound by its "real" location, it should just use it as a base to find plugins.

For devs/TUs that need references about the dropins directory, this is what I've found: http://wiki.eclipse.org/Equinox_p2_Getting_Started#Dropins
Comment by Paul Mattal (paul) - Wednesday, 06 August 2008, 14:10 GMT
Thanks for all the research and useful input on this.

I'm moving it back to /usr/share. Packages will be up on Gerolde in extra as soon as they finish uploading.

There'll be an announcement to clear things up on the front page, as well.

Loading...