FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 11-25-2009, 02:52 AM
Chuck Robey
 
Default eclipse portage package

I was checking to see what version of eclipse seems to have a portage package,
and I was kinda shocked that the package seems a bit outdated. 3.4 is the
current portage package, but eclipse has been at 3.5 for a good while now.
Seeing as the eclipse website has a linux binary 3.5+ package, unless I've
overlooked something available from gentoo (I would be overjoyed to have made
that mistake) then I'm going to be forced to see how to coax portage to allow me
to use that eclipse site binary package to sub for ALL eclipse packages.

Anyone know how to get portage to make externally supplied binaries to supply
portage eclipse dependencies? All of the huge number of eclipse plugins can be
done without using portage just fine, but the eclipse itself, that I would
really rather use a portage ebuild for installation.
 
Old 11-25-2009, 03:30 AM
Mark Knecht
 
Default eclipse portage package

On Tue, Nov 24, 2009 at 7:52 PM, Chuck Robey <chuckr@telenix.org> wrote:
> I was checking to see what version of eclipse seems to have a portage package,
> and I was kinda shocked that the package seems a bit outdated. *3.4 is the
> current portage package, but eclipse has been at 3.5 for a good while now.
> Seeing as the eclipse website has a linux binary 3.5+ package, unless I've
> overlooked something available from gentoo (I would be overjoyed to have made
> that mistake) then I'm going to be forced to see how to coax portage to allow me
> to use that eclipse site binary package to sub for ALL eclipse packages.
>
> Anyone know how to get portage to make externally supplied binaries to supply
> portage eclipse dependencies? *All of the huge number of eclipse plugins can be
> done without using portage just fine, but the eclipse itself, that I would
> really rather use a portage ebuild for installation.
>
>
>

I don't know about installing binary stuff - probably wouldn't work
unless you have exactly the right libraries and what not. Anyway, I
seem to see a 3.5 version masked with ~ . Note that I would unmask it
in portage.keywords and not the way I'm showing it below.

HTH,
Mark

mark@dragonfly ~/Desktop $ eix eclipse
* dev-java/ant-eclipse-ecj
Available versions:
(3.3) 3.3.0-r1
(3.4) 3.4
(3.5) ~3.5.1
{elibc_FreeBSD}
Homepage: http://www.eclipse.org/
Description: Ant Compiler Adapter for Eclipse Java Compiler

* dev-java/eclipse-ecj
Available versions:
(3.3) 3.3.0-r3
(3.4) 3.4-r4
(3.5) ~3.5.1
{ant elibc_FreeBSD java6}
Homepage: http://www.eclipse.org/
Description: Eclipse Compiler for Java

* dev-util/eclipse-sdk
Available versions: (3.4) 3.4-r2
{doc elibc_FreeBSD java6}
Homepage: http://www.eclipse.org/
Description: Eclipse Tools Platform

Found 3 matches.
mark@dragonfly ~/Desktop $


dragonfly ~ # emerge -pv eclipse-ecj

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild N ] app-admin/eselect-ecj-0.3 0 kB
[ebuild N ] dev-java/eclipse-ecj-3.4-r4 USE="-java6" 1,251 kB

Total: 2 packages (2 new), Size of downloads: 1,251 kB
dragonfly ~ # ACCEPT_KEYWORDS="~x86" emerge -pv eclipse-ecj

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild N ] dev-python/pyxml-0.8.4-r2 USE="-doc -examples" 0 kB
[ebuild N ] dev-java/javatoolkit-0.3.0-r3 17 kB
[ebuild N ] dev-java/ant-core-1.7.1-r4 USE="-doc -source" 6,828 kB
[ebuild N ] app-admin/eselect-ecj-0.3 0 kB
[ebuild N ] dev-java/eclipse-ecj-3.5.1 USE="ant" 1,268 kB
[ebuild N ] dev-java/ant-eclipse-ecj-3.5.1 0 kB

Total: 6 packages (6 new), Size of downloads: 8,111 kB
dragonfly ~
 
Old 11-25-2009, 04:20 PM
Chuck Robey
 
Default eclipse portage package

Mark Knecht wrote:
> On Tue, Nov 24, 2009 at 7:52 PM, Chuck Robey <chuckr@telenix.org> wrote:
>> I was checking to see what version of eclipse seems to have a portage package,
>> and I was kinda shocked that the package seems a bit outdated. 3.4 is the
>> current portage package, but eclipse has been at 3.5 for a good while now.
>> Seeing as the eclipse website has a linux binary 3.5+ package, unless I've
>> overlooked something available from gentoo (I would be overjoyed to have made
>> that mistake) then I'm going to be forced to see how to coax portage to allow me
>> to use that eclipse site binary package to sub for ALL eclipse packages.
>>
>> Anyone know how to get portage to make externally supplied binaries to supply
>> portage eclipse dependencies? All of the huge number of eclipse plugins can be
>> done without using portage just fine, but the eclipse itself, that I would
>> really rather use a portage ebuild for installation.
>>
>>
>>
>
> I don't know about installing binary stuff - probably wouldn't work
> unless you have exactly the right libraries and what not. Anyway, I
> seem to see a 3.5 version masked with ~ . Note that I would unmask it
> in portage.keywords and not the way I'm showing it below.
>
> HTH,
> Mark
>
> mark@dragonfly ~/Desktop $ eix eclipse
> * dev-java/ant-eclipse-ecj
> Available versions:
> (3.3) 3.3.0-r1
> (3.4) 3.4
> (3.5) ~3.5.1
> {elibc_FreeBSD}
> Homepage: http://www.eclipse.org/
> Description: Ant Compiler Adapter for Eclipse Java Compiler
>
> * dev-java/eclipse-ecj
> Available versions:
> (3.3) 3.3.0-r3
> (3.4) 3.4-r4
> (3.5) ~3.5.1
> {ant elibc_FreeBSD java6}
> Homepage: http://www.eclipse.org/
> Description: Eclipse Compiler for Java
>
> * dev-util/eclipse-sdk
> Available versions: (3.4) 3.4-r2
> {doc elibc_FreeBSD java6}
> Homepage: http://www.eclipse.org/
> Description: Eclipse Tools Platform
>
> Found 3 matches.
> mark@dragonfly ~/Desktop $
>
>
> dragonfly ~ # emerge -pv eclipse-ecj
>
> These are the packages that would be merged, in order:
>
> Calculating dependencies... done!
> [ebuild N ] app-admin/eselect-ecj-0.3 0 kB
> [ebuild N ] dev-java/eclipse-ecj-3.4-r4 USE="-java6" 1,251 kB
>
> Total: 2 packages (2 new), Size of downloads: 1,251 kB
> dragonfly ~ # ACCEPT_KEYWORDS="~x86" emerge -pv eclipse-ecj
>
> These are the packages that would be merged, in order:
>
> Calculating dependencies... done!
> [ebuild N ] dev-python/pyxml-0.8.4-r2 USE="-doc -examples" 0 kB
> [ebuild N ] dev-java/javatoolkit-0.3.0-r3 17 kB
> [ebuild N ] dev-java/ant-core-1.7.1-r4 USE="-doc -source" 6,828 kB
> [ebuild N ] app-admin/eselect-ecj-0.3 0 kB
> [ebuild N ] dev-java/eclipse-ecj-3.5.1 USE="ant" 1,268 kB
> [ebuild N ] dev-java/ant-eclipse-ecj-3.5.1 0 kB
>
> Total: 6 packages (6 new), Size of downloads: 8,111 kB
> dragonfly ~
>

Mark, I could be responsible for this (the fact that it seems that neither of
the things I really wanted to know are covered) because sometimes I am not clear
in what I'm asking, so let me try again.

I need to get an up-to-date version of eclipse working on my gentoo box. First
question is, is there a Galileo (3.5+) version of eclipse available as a portage
package? I can't find it, so I'd really appreciate a pointer. The only thing I
can see is a fairly old eclipse version (I think a year or more out of date).

Second question, at the eclipse website, I see a binary version of the latest
Linux-eclipse (the version I'm after). If I *can't* get a portage package
version of Galileo-eclipse, then if I install the binary package (non-portage)
from the eclipse website, can I get (and how can I get) portage to consider this
package as supplying any dependency which would be otherwise supplied by the
latest (ganymede, 3.4+) portage version of the eclipse tool
.

Unless I'm completely misreading your stuff, your examples tell me how to
install the (too old) portage version, which is in all cases just too old for
me, so my 2 questions boil down to (1) must I?, and (2) How do I?

Thanks for your time, Mark.
 
Old 11-25-2009, 05:04 PM
Jörg Schaible
 
Default eclipse portage package

Chuck Robey wrote:

[snip]

> Mark, I could be responsible for this (the fact that it seems that neither
> of the things I really wanted to know are covered) because sometimes I am
> not clear in what I'm asking, so let me try again.
>
> I need to get an up-to-date version of eclipse working on my gentoo box.
> First question is, is there a Galileo (3.5+) version of eclipse available
> as a portage
> package? I can't find it, so I'd really appreciate a pointer. The only
> thing I can see is a fairly old eclipse version (I think a year or more
> out of date).
>
> Second question, at the eclipse website, I see a binary version of the
> latest
> Linux-eclipse (the version I'm after). If I *can't* get a portage package
> version of Galileo-eclipse, then if I install the binary package
> (non-portage) from the eclipse website, can I get (and how can I get)
> portage to consider this package as supplying any dependency which would
> be otherwise supplied by the latest (ganymede, 3.4+) portage version of
> the eclipse tool .
>
> Unless I'm completely misreading your stuff, your examples tell me how to
> install the (too old) portage version, which is in all cases just too old
> for me, so my 2 questions boil down to (1) must I?, and (2) How do I?

The binary is self-contained, simply install it in /opt and you're done. As
long as you have X running, it's enough and you don't need to tell portage
anything about it.

- Jörg
 
Old 11-25-2009, 05:14 PM
Marcus Wanner
 
Default eclipse portage package

On 11/25/2009 12:20 PM, Chuck Robey wrote:

Mark Knecht wrote:


mark@dragonfly ~/Desktop $ eix eclipse
* dev-java/ant-eclipse-ecj
Available versions:
(3.3) 3.3.0-r1
(3.4) 3.4
(3.5) ~3.5.1
{elibc_FreeBSD}
Homepage: http://www.eclipse.org/
Description: Ant Compiler Adapter for Eclipse Java Compiler


This shows that 3.5.1 is available, but is masked by a ~arch keyword.
This means that the ebuild for 3.5.1 is not stable yet, and is not
guaranteed to work (though it most likely will).

* dev-java/eclipse-ecj
Available versions:
(3.3) 3.3.0-r3
(3.4) 3.4-r4
(3.5) ~3.5.1
{ant elibc_FreeBSD java6}
Homepage: http://www.eclipse.org/
Description: Eclipse Compiler for Java



Same for eclipse-ecj...

* dev-util/eclipse-sdk
Available versions: (3.4) 3.4-r2
{doc elibc_FreeBSD java6}
Homepage: http://www.eclipse.org/
Description: Eclipse Tools Platform



But not eclipse-sdk.

dragonfly ~ # emerge -pv eclipse-ecj

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild N ] app-admin/eselect-ecj-0.3 0 kB
[ebuild N ] dev-java/eclipse-ecj-3.4-r4 USE="-java6" 1,251 kB

Total: 2 packages (2 new), Size of downloads: 1,251 kB


Here, he shows what would be installed if you ran "emerge elipse-ecj".

dragonfly ~ # ACCEPT_KEYWORDS="~x86" emerge -pv eclipse-ecj

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild N ] dev-python/pyxml-0.8.4-r2 USE="-doc -examples" 0 kB
[ebuild N ] dev-java/javatoolkit-0.3.0-r3 17 kB
[ebuild N ] dev-java/ant-core-1.7.1-r4 USE="-doc -source" 6,828 kB
[ebuild N ] app-admin/eselect-ecj-0.3 0 kB
[ebuild N ] dev-java/eclipse-ecj-3.5.1 USE="ant" 1,268 kB
[ebuild N ] dev-java/ant-eclipse-ecj-3.5.1 0 kB

Total: 6 packages (6 new), Size of downloads: 8,111 kB

This is what would happen if you temporarily told the system to allow
the installation of ~arch packages. Temporarily setting ~arch is a Bad Idea!

I need to get an up-to-date version of eclipse working on my gentoo box. First
question is, is there a Galileo (3.5+) version of eclipse available as a portage
package? I can't find it, so I'd really appreciate a pointer. The only thing I
can see is a fairly old eclipse version (I think a year or more out of date).

That is because the newer version is keyworded with ~arch. Emerge will
not tell you that there is a newer, keyworded version available.

Second question, at the eclipse website, I see a binary version of the latest
Linux-eclipse (the version I'm after). If I *can't* get a portage package
version of Galileo-eclipse,

Don't worry, I'll show you how in a little bit!

then if I install the binary package (non-portage)
from the eclipse website, can I get (and how can I get) portage to consider this
package as supplying any dependency which would be otherwise supplied by the
latest (ganymede, 3.4+) portage version of the eclipse tool>


As far as I know of, that is not possible without ugly hacks.

Unless I'm completely misreading your stuff, your examples tell me how to
install the (too old) portage version, which is in all cases just too old for
me, so my 2 questions boil down to (1) must I?, and (2) How do I?

I don't know what you mean by "must I?", but the answer to "How do I?"
is right here:
First, you need to create a folder called /etc/portage as root. Then,
create a file called package.keywords in that directory. When you want
to install a keyworded package (dev-java/eclipse-ecj-3.5.1 in this
case), you run


ACCEPT_KEYWORDS="~x86" emerge -pv eclipse-ecj

to see what packages are needed for the keyworded version. Then, you
copy the the package names mentioned to package.keywords. In the example
above, the command outputted:


[ebuild N ] dev-python/pyxml-0.8.4-r2 USE="-doc -examples" 0 kB
[ebuild N ] dev-java/javatoolkit-0.3.0-r3 17 kB
[ebuild N ] dev-java/ant-core-1.7.1-r4 USE="-doc -source" 6,828 kB
[ebuild N ] app-admin/eselect-ecj-0.3 0 kB
[ebuild N ] dev-java/eclipse-ecj-3.5.1 USE="ant" 1,268 kB
[ebuild N ] dev-java/ant-eclipse-ecj-3.5.1 0 kB

So you would add this:

dev-python/pyxml-0.8.4-r2
dev-java/javatoolkit-0.3.0-r3
dev-java/ant-core-1.7.1-r4
app-admin/eselect-ecj-0.3
dev-java/eclipse-ecj-3.5.1
dev-java/ant-eclipse-ecj-3.5.1

to the package.keywords file (note that this will probably be different
for your system, you should run the command yourself and use that output
to find out what you should put in the file). I would also put a note
above the lines to say why and when they were added, in case I forget.


Then you can run "emerge -av eclipse-ecj" and see if it lists the new
versions of everything.


Marcus
 
Old 11-25-2009, 05:50 PM
Alan McKinnon
 
Default eclipse portage package

On Wednesday 25 November 2009 19:20:43 Chuck Robey wrote:
> I need to get an up-to-date version of eclipse working on my gentoo
> box. First question is, is there a Galileo (3.5+) version of eclipse
> available as a portage package? I can't find it, so I'd really appreciate
> a pointer. The only thing I can see is a fairly old eclipse version (I
> think a year or more out of date).
>
> Second question, at the eclipse website, I see a binary version of the
> latest Linux-eclipse (the version I'm after). If I *can't* get a portage
> package version of Galileo-eclipse, then if I install the binary package
> (non-portage) from the eclipse website, can I get (and how can I get)
> portage to consider this package as supplying any dependency which would
> be otherwise supplied by the latest (ganymede, 3.4+) portage version of
> the eclipse tool

Have you considered simply installing the binary eclipse into ~ and
maintaining it using the bundled eclipse tools? This removes portage out of
the equation entirely - no fooling around with *provided

That is the method used by most Linux users and it's highly unlikely it won't
work - gentoo doesn't do weird things with where libs etc are stored.

Plus, you have the advantage of being to install plugins directly from eclipse
without having to become root and run emerge. It the same order of magnitude
as using Firefox to install it's own plugins.

--
alan dot mckinnon at gmail dot com
 
Old 11-26-2009, 06:53 AM
Florian Philipp
 
Default eclipse portage package

Chuck Robey schrieb:
> I was checking to see what version of eclipse seems to have a portage package,
> and I was kinda shocked that the package seems a bit outdated. 3.4 is the
> current portage package, but eclipse has been at 3.5 for a good while now.
> Seeing as the eclipse website has a linux binary 3.5+ package, unless I've
> overlooked something available from gentoo (I would be overjoyed to have made
> that mistake) then I'm going to be forced to see how to coax portage to allow me
> to use that eclipse site binary package to sub for ALL eclipse packages.
>
> Anyone know how to get portage to make externally supplied binaries to supply
> portage eclipse dependencies? All of the huge number of eclipse plugins can be
> done without using portage just fine, but the eclipse itself, that I would
> really rather use a portage ebuild for installation.
>
>

While I totally buy into the whole package managing and distribution
system and consider it the best thing since sliced bread, I suggest you
make an exception for eclipse.

The problem is that eclipse contains its own package management for its
plugins. This doesn't work very well with a global installation in /opt
or /usr where a normal user should not have write rights.

It is much better to have every user download and install eclipse into
their home-directories. This has the advantage that every user can
contain its own set of plugins and extensions.

I personally have several versions of eclipse installed: One for J2EE
and a much leaner version for C++. Having one version with all plugins
would make eclipse unbearably slow.

Hope this helps
Florian Philipp
 
Old 11-26-2009, 04:55 PM
David Relson
 
Default eclipse portage package

On Wed, 25 Nov 2009 13:14:39 -0500
Marcus Wanner wrote:

> On 11/25/2009 12:20 PM, Chuck Robey wrote:
> > Mark Knecht wrote:
> >
> >> mark@dragonfly ~/Desktop $ eix eclipse
> >> * dev-java/ant-eclipse-ecj
> >> Available versions:
> >> (3.3) 3.3.0-r1
> >> (3.4) 3.4
> >> (3.5) ~3.5.1
> >> {elibc_FreeBSD}
> >> Homepage: http://www.eclipse.org/
> >> Description: Ant Compiler Adapter for Eclipse Java
> >> Compiler
> >>
> >>
> This shows that 3.5.1 is available, but is masked by a ~arch keyword.
> This means that the ebuild for 3.5.1 is not stable yet, and is not
> guaranteed to work (though it most likely will).
> >> * dev-java/eclipse-ecj
> >> Available versions:
> >> (3.3) 3.3.0-r3
> >> (3.4) 3.4-r4
> >> (3.5) ~3.5.1
> >> {ant elibc_FreeBSD java6}
> >> Homepage: http://www.eclipse.org/
> >> Description: Eclipse Compiler for Java
> >>
> >>
> Same for eclipse-ecj...
> >> * dev-util/eclipse-sdk
> >> Available versions: (3.4) 3.4-r2
> >> {doc elibc_FreeBSD java6}
> >> Homepage: http://www.eclipse.org/
> >> Description: Eclipse Tools Platform
> >>
> >>
> But not eclipse-sdk.
> >> dragonfly ~ # emerge -pv eclipse-ecj
> >>
> >> These are the packages that would be merged, in order:
> >>
> >> Calculating dependencies... done!
> >> [ebuild N ] app-admin/eselect-ecj-0.3 0 kB
> >> [ebuild N ] dev-java/eclipse-ecj-3.4-r4 USE="-java6" 1,251 kB
> >>
> >> Total: 2 packages (2 new), Size of downloads: 1,251 kB
> >>
> Here, he shows what would be installed if you ran "emerge elipse-ecj".
> >> dragonfly ~ # ACCEPT_KEYWORDS="~x86" emerge -pv eclipse-ecj
> >>
> >> These are the packages that would be merged, in order:
> >>
> >> Calculating dependencies... done!
> >> [ebuild N ] dev-python/pyxml-0.8.4-r2 USE="-doc -examples" 0
> >> kB [ebuild N ] dev-java/javatoolkit-0.3.0-r3 17 kB
> >> [ebuild N ] dev-java/ant-core-1.7.1-r4 USE="-doc -source"
> >> 6,828 kB [ebuild N ] app-admin/eselect-ecj-0.3 0 kB
> >> [ebuild N ] dev-java/eclipse-ecj-3.5.1 USE="ant" 1,268 kB
> >> [ebuild N ] dev-java/ant-eclipse-ecj-3.5.1 0 kB
> >>
> >> Total: 6 packages (6 new), Size of downloads: 8,111 kB
> >>
> This is what would happen if you temporarily told the system to allow
> the installation of ~arch packages. Temporarily setting ~arch is a
> Bad Idea!
> > I need to get an up-to-date version of eclipse working on my gentoo
> > box. First question is, is there a Galileo (3.5+) version of
> > eclipse available as a portage package? I can't find it, so I'd
> > really appreciate a pointer. The only thing I can see is a fairly
> > old eclipse version (I think a year or more out of date).
> That is because the newer version is keyworded with ~arch. Emerge
> will not tell you that there is a newer, keyworded version available.
> > Second question, at the eclipse website, I see a binary version of
> > the latest Linux-eclipse (the version I'm after). If I *can't* get
> > a portage package version of Galileo-eclipse,
> Don't worry, I'll show you how in a little bit!
> > then if I install the binary package (non-portage)
> > from the eclipse website, can I get (and how can I get) portage to
> > consider this package as supplying any dependency which would be
> > otherwise supplied by the latest (ganymede, 3.4+) portage version
> > of the eclipse tool>
> As far as I know of, that is not possible without ugly hacks.
> > Unless I'm completely misreading your stuff, your examples tell me
> > how to install the (too old) portage version, which is in all cases
> > just too old for me, so my 2 questions boil down to (1) must I?,
> > and (2) How do I?
> I don't know what you mean by "must I?", but the answer to "How do
> I?" is right here:
> First, you need to create a folder called /etc/portage as root. Then,
> create a file called package.keywords in that directory. When you
> want to install a keyworded package (dev-java/eclipse-ecj-3.5.1 in
> this case), you run
>
> ACCEPT_KEYWORDS="~x86" emerge -pv eclipse-ecj
>
> to see what packages are needed for the keyworded version. Then, you
> copy the the package names mentioned to package.keywords. In the
> example above, the command outputted:
>
> [ebuild N ] dev-python/pyxml-0.8.4-r2 USE="-doc -examples" 0 kB
> [ebuild N ] dev-java/javatoolkit-0.3.0-r3 17 kB
> [ebuild N ] dev-java/ant-core-1.7.1-r4 USE="-doc -source" 6,828
> kB [ebuild N ] app-admin/eselect-ecj-0.3 0 kB
> [ebuild N ] dev-java/eclipse-ecj-3.5.1 USE="ant" 1,268 kB
> [ebuild N ] dev-java/ant-eclipse-ecj-3.5.1 0 kB
>
> So you would add this:
>
> dev-python/pyxml-0.8.4-r2
> dev-java/javatoolkit-0.3.0-r3
> dev-java/ant-core-1.7.1-r4
> app-admin/eselect-ecj-0.3
> dev-java/eclipse-ecj-3.5.1
> dev-java/ant-eclipse-ecj-3.5.1
>
> to the package.keywords file (note that this will probably be
> different for your system, you should run the command yourself and
> use that output to find out what you should put in the file). I would
> also put a note above the lines to say why and when they were added,
> in case I forget.
>
> Then you can run "emerge -av eclipse-ecj" and see if it lists the new
> versions of everything.
>
> Marcus

Alternatively, one can use the autounmask command, for example:

autounmask dev-java/eclipse-ecj-3.5.1

On my AMD64 system, which has /etc/portage/package.keywords (as a
directory, rather than a file) autounmask generated file:

/etc/portage/package.keywords/autounmask-eclipse-ecj

which contains:

# ---
# BEGIN: dev-java/eclipse-ecj-3.5.1
# ---
=dev-java/eclipse-ecj-3.5.1 ~amd64
=dev-java/ant-eclipse-ecj-3.5.1 ~amd64
# ---
# END: dev-java/eclipse-ecj-3.5.1
# ---

HTH,

David
 
Old 11-26-2009, 05:48 PM
Marcus Wanner
 
Default eclipse portage package

On 11/26/2009 12:55 PM, David Relson wrote:

Alternatively, one can use the autounmask command, for example:

autounmask dev-java/eclipse-ecj-3.5.1

On my AMD64 system, which has /etc/portage/package.keywords (as a
directory, rather than a file) autounmask generated file:

/etc/portage/package.keywords/autounmask-eclipse-ecj

which contains:

# ---
# BEGIN: dev-java/eclipse-ecj-3.5.1
# ---
=dev-java/eclipse-ecj-3.5.1 ~amd64
=dev-java/ant-eclipse-ecj-3.5.1 ~amd64
# ---
# END: dev-java/eclipse-ecj-3.5.1
# ---


I wish I had known about that command :|

Marcus
 
Old 11-28-2009, 07:18 PM
Chuck Robey
 
Default eclipse portage package

Alan McKinnon wrote:
> On Wednesday 25 November 2009 19:20:43 Chuck Robey wrote:
>> I need to get an up-to-date version of eclipse working on my gentoo
>> box. First question is, is there a Galileo (3.5+) version of eclipse
>> available as a portage package? I can't find it, so I'd really appreciate
>> a pointer. The only thing I can see is a fairly old eclipse version (I
>> think a year or more out of date).
>>
>> Second question, at the eclipse website, I see a binary version of the
>> latest Linux-eclipse (the version I'm after). If I *can't* get a portage
>> package version of Galileo-eclipse, then if I install the binary package
>> (non-portage) from the eclipse website, can I get (and how can I get)
>> portage to consider this package as supplying any dependency which would
>> be otherwise supplied by the latest (ganymede, 3.4+) portage version of
>> the eclipse tool

Several comments about answers here. First, to Marcus Wanner, yes, the first
two eclipse packages work for 3.5, but they AREN'T eclipse, they are plugins for
eclipse (plugins for what I really want). The 3rd is eclipse-sdk, the only one
you don't cover and the only one I really need. Of course I know how to handle
them, but without having eclipse itself, it's not useful.

It *seems to me that Mark Knecht is telling me that there's no way the binary
from the eclipse site would work, so he tells me how to install the two which do
me no good. Again, this isn't helpful. The 3rd package is (in your own mail)
still stuck at 3.4.x, and that's the real eclipse sdk.

Alan McKinnon's response, below, seems to be telling me that I really should go
ahead and try to use the binary from the eclipse site, and not to worry about
getting into dependency problems with portage. Normally, most package tools
from any OS get truly destructive if you fail to their tools ONLY, so I was
hoping to find some way to effectively lie to portage, keep portage from getting
upset. Seeing as I've gotten no advice on how to hoodwink portage, I just went
ahead and used the 3.5.1 (x86-64) version of their Linux(x86-64) binary eclipse
package, and it's working just fine. I had to get the sun-jdk installed
(portage at least didn't offer me any problems here) and (at least until I run
into more eclipse packages) it all seems to be working.

If think that perhaps I can mask off everything from portage regarding any
eclipse package, and maybe that will lessen my chances of having portage step on
my system for me. This just occurred to me, and maybe it's the only thing I can do.

>
> Have you considered simply installing the binary eclipse into ~ and
> maintaining it using the bundled eclipse tools? This removes portage out of
> the equation entirely - no fooling around with *provided
>
> That is the method used by most Linux users and it's highly unlikely it won't
> work - gentoo doesn't do weird things with where libs etc are stored.
>
> Plus, you have the advantage of being to install plugins directly from eclipse
> without having to become root and run emerge. It the same order of magnitude
> as using Firefox to install it's own plugins.
>
 

Thread Tools




All times are GMT. The time now is 09:22 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org