Gentoo Archives: gentoo-alt

From: Konstantin Tokarev <annulen@××××××.ru>
To: "gentoo-alt@l.g.o" <gentoo-alt@l.g.o>
Subject: Re: [gentoo-alt] Using Gentoo Prefix to support a more recent version of Eclipse?
Date: Thu, 20 Aug 2020 09:16:05
Message-Id: 2207051597914896@mail.yandex.ru
In Reply to: Re: [gentoo-alt] Using Gentoo Prefix to support a more recent version of Eclipse? by Rabbe Fogelholm
1 20.08.2020, 10:52, "Rabbe Fogelholm" <rabbe@×××××××.se>:
2 > Fabian Groffen wrote:
3 >>  On 19-08-2020 22:52:38 +0200, Rabbe Fogelholm wrote:
4 >>>  Thanks Benda for encouragement.
5 >>>
6 >>>  The bootstrapping was a breeze. I started it off and it finished in a couple of
7 >>>  hours.
8 >>>
9 >>>  Emerging 'meld', another GTK application, was possible after adding some
10 >>>  masks and USE flags.
11 >>>
12 >>>  With Java, no success yet. I am trying to use a LD_LIBRARY_PATH, but
13 >>>  that causes Java to crash immediately. Maybe this is just not doable.
14 >>
15 >>  The Oracle SDKs (that are masked nowadays) always worked like a charm
16 >>  for me. Perhaps you can use those?
17 >
18 > My understanding of the Eclipse problem is really limited. That said,
19 > I think that Eclipse uses some framework named SWT, for the GUI. SWT
20 > is somehow part of Java. And SWT uses GTK.
21
22 SWT is not a part of Java (unlike Swing), it's an independent project (dev-java/swt)
23
24 >
25 > So I tried to do a source build of Java in the prefix, hoping that SWT
26 > would then use the up-to-date GTK in the prefix. I went for OpenJDK 11.
27 > In the end this failed because net-print/cups is pulled in, and that
28 > ebuild fails because it tries to install files outside the prefix.
29 >
30 > I tried putting -cups in make.conf and in other places, but the cups
31 > dependency seems unavoidable.
32 >
33 > --Rabbe
34 >
35 >>  Fabian
36 >>>  BR and thanks / Rabbe
37 >>>
38 >>>  Benda Xu wrote:
39 >>>>  Hi Rabbe,
40 >>>>
41 >>>>  Rabbe Fogelholm <rabbe@×××××××.se> writes:
42 >>>>
43 >>>>>  I have a situation where Gentoo Prefix may possibly help.
44 >>>>>
45 >>>>>  I want to run Eclipse with a plugin for Erlang development. The plugin
46 >>>>>  requires me to use a recent version of Eclipse. However, the platform
47 >>>>>  that I am stuck with is Ubuntu 16.04.6 LTS, which has an old GTK 3
48 >>>>>  version, which would force me to use Eclipse "Oxygen", not compatible
49 >>>>>  with the Erlang plugin.
50 >>>>>
51 >>>>>  So, I am wondering: If I can get Gentoo Prefix set up, with presumably
52 >>>>>  an up-to-date version of GTK 3, could I then hope that this Eclipse
53 >>>>>  can find the newer GTK 3 and run happily?
54 >>>>  Yes, Gentoo Prefix will help. That said, it might not work out of the
55 >>>>  box. I don't know anyone who is using Eclipse on Gentoo Prefix.
56 >>>>
57 >>>>  You can expect bugs along your way to the destiny. And that's a good
58 >>>>  way to contribute to Prefix by sharing your findings and solutions
59 >>>>  through the bugzilla.
60 >>>>
61 >>>>  Yours,
62 >>>>  Benda
63
64
65 -- 
66 Regards,
67 Konstantin

Replies

Subject Author
Re: [gentoo-alt] Using Gentoo Prefix to support a more recent version of Eclipse? Rabbe Fogelholm <rabbe@×××××××.se>