Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Eclipse - which one?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
mmartin
n00b
n00b


Joined: 08 Nov 2002
Posts: 45

PostPosted: Tue Feb 11, 2003 11:13 am    Post subject: Eclipse - which one? Reply with quote

Hi there,

working with gentoo now for 1 week (actually compiling one week as its a slow pc) and it rocks (from that point at least where I had my Gnome up and running) been with SuSE before and never had a satisfying desktop. And all this yast stuff lead me into not knowing anything. Now I found that eclipse is in the portage tree and I just don't know which one to take. I don't want the motif version I had that and thats the main reason why I switched. Pleeeeaaase someone tells me which version I schould emerge to have it compiled with gtk(2?). And for future emerging, where do I find out such things?
_________________
thxMartin

Man honest. Will do everything.
Tired of cleaning yourself? - Let me do it.
Eat a frog in the morning and nothing worse will happen to you that day
Back to top
View user's profile Send private message
mmartin
n00b
n00b


Joined: 08 Nov 2002
Posts: 45

PostPosted: Sat Feb 15, 2003 8:33 pm    Post subject: Reply with quote

anyone that could tell me?
_________________
thxMartin

Man honest. Will do everything.
Tired of cleaning yourself? - Let me do it.
Eat a frog in the morning and nothing worse will happen to you that day
Back to top
View user's profile Send private message
watersb
Apprentice
Apprentice


Joined: 04 Sep 2002
Posts: 297
Location: take a left turn in Tesuque

PostPosted: Sat Feb 15, 2003 10:09 pm    Post subject: Reply with quote

mmartin:

Hopefully, by the time you read this, all you will have to do is to emerge sync and get the latest eclipse M5 ebuilds.

Until that happy day, read on...

I modified the eclipse ebuilds to get the most recent M5 (milestone 5) releases, as they fix a nasty bug in Eclipse with GTK2.2 -- see https://bugs.gentoo.org/show_bug.cgi?id=7634 and https://forums.gentoo.org/viewtopic.php?t=29586

I went to the bug URL and downloaded the ebuilds for _pre5 that are attachments to the bug.

eclipse-platform-bin-2.1_pre5.ebuild
eclipse-jdt-bin-2.1_pre5.ebuild

I placed these in my "portage overlay" directories; see the /etc/make.conf file and uncomment the line that contains
Code:

PORTDIR_OVERLAY=/usr/local/portage


Then place the ebuilds that you downloaded from the bug # 7634 attachment into appropriate directories:

Code:

# mkdir -p /usr/local/portage/dev-util/eclipse-platform-bin
# mv <downloaded-platform-ebuild> !$/eclipse-platform-bin-2.1_pre5.ebuild

# mkdir -p /usr/local/portage/dev-util/eclipse/eclipse-jdt-bin
# mv <downloaded-jdt-ebuild> !$/eclipse-jdt-bin-2.1_pre5.ebuild


Then try this:

Code:

# USE="gtk2" emerge -pu eclipse-jdt-bin


The -p means to "pretend" to perform the emerge, and the -u means to perform any required "updates".

When I do this, it tells me it will need GTK
Code:

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N   ] x11-libs/pango-1.2.1
[ebuild  N   ] dev-libs/atk-1.2.2
[ebuild    U ] x11-libs/gtk+-2.2.1 [1.2.10-r9]
[ebuild  N   ] dev-util/eclipse-platform-bin-2.1_pre5
[ebuild  N   ] dev-util/eclipse-jdt-bin-2.1_pre5


If all this looks good, then perform the actual ebuild with the same exact command without the "-p" flag:
Code:

# USE="gtk2" emerge -u eclipse-jdt-bin


Sorry if this is too explicit... but I hope that others can benefit from step-by-step instructions. Thanks to the eclipse team for a great IDE, and to the folks who are following the M4 and M5 releases via the Gento bug: Jeffrey Yasskin, Per Cederberg, Matthew Kennedy, Pat Double, and Dana Oredson.
Back to top
View user's profile Send private message
mmartin
n00b
n00b


Joined: 08 Nov 2002
Posts: 45

PostPosted: Sun Feb 16, 2003 4:15 pm    Post subject: Reply with quote

This is more than I hoped to get as an answer, killing a bug before even knowing about it is always good :D
_________________
thxMartin

Man honest. Will do everything.
Tired of cleaning yourself? - Let me do it.
Eat a frog in the morning and nothing worse will happen to you that day
Back to top
View user's profile Send private message
phlashback
Tux's lil' helper
Tux's lil' helper


Joined: 27 Jul 2002
Posts: 142
Location: Normal

PostPosted: Sat Mar 29, 2003 7:35 pm    Post subject: Reply with quote

Quote:
Sorry if this is too explicit...


You can never be too explicit :wink:

Quote:
but I hope that others can benefit from step-by-step instructions.

Thank you I did :p

Quote:
Thanks to the eclipse team for a great IDE, and to the folks who are following the M4 and M5 releases via the Gento bug: Jeffrey Yasskin, Per Cederberg, Matthew Kennedy, Pat Double, and Dana Oredson.

Ditto :lol:

It posts like this one that make gentoo such a great experience, Thanks for your contribution to this wonderful project (and saving me a few minuts :roll:)

keep it up
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum