1 |
Hi Michael, |
2 |
|
3 |
How was this project going? Have you succeeded in compiling chromium in |
4 |
Gentoo Prefix? |
5 |
|
6 |
Benda |
7 |
|
8 |
Michael Fothergill <michael.fothergill@×××××.com> writes: |
9 |
|
10 |
> Many thanks for the reply. |
11 |
> |
12 |
> I went in the $EPREFIX/var/lib/repos/gentoo directory to look for the |
13 |
> nghttp2 ebuild...... |
14 |
> |
15 |
> The ebuild lives here on my machine: |
16 |
> |
17 |
> mikef@fart:~/gentoo/usr/portage/net-libs/nghttp2 |
18 |
> |
19 |
> I found the nghttp2-1.39.1.ebuild file. |
20 |
> |
21 |
> Toward the end of the file there is a bit of code with the myeconfargs |
22 |
> variable (or whatever it is) present in it: |
23 |
> |
24 |
> multilib_src_configure() { |
25 |
> local myeconfargs=( |
26 |
> --disable-examples |
27 |
> --disable-failmalloc |
28 |
> --disable-python-bindings |
29 |
> --disable-werror |
30 |
> --without-cython |
31 |
> $(use_enable cxx asio-lib) |
32 |
> $(use_enable debug) |
33 |
> $(multilib_native_use_enable hpack-tools) |
34 |
> $(use_enable static-libs static) |
35 |
> $(use_enable threads) |
36 |
> $(multilib_native_use_enable utils app) |
37 |
> $(multilib_native_use_with jemalloc) |
38 |
> $(multilib_native_use_with xml libxml2) |
39 |
> ) |
40 |
> ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" |
41 |
> } |
42 |
> |
43 |
> multilib_src_install_all() { |
44 |
> if ! use static-libs ; then |
45 |
> find "${ED}"/usr -name '*.la' -delete || die |
46 |
> fi |
47 |
> } |
48 |
> mikef@fart:~/gentoo/usr/portage/net-libs/nghttp2$ |
49 |
> |
50 |
> *************************************** |
51 |
> Presumably if I would edit this file with e.g. emacs then I could add |
52 |
> --with-boost="${EPREFIX}"/usr |
53 |
> |
54 |
> to the file after the two instances of myeconfargs (or do I only do it |
55 |
> once in the ECONF_SOURCE line?)..... |
56 |
> |
57 |
> Also would I add --with-boost="${EPREFIX}"/usr OR |
58 |
> --with-boost=/home/mikef/gentoo/usr |
59 |
> ie the actual path on my machine here? |
60 |
> |
61 |
> I did not realise the ebuilds were editable files that lived in |
62 |
> directories in the install itself. |
63 |
> I thought portage used them for the compilations but they were off |
64 |
> limits to users like me and only assembled |
65 |
> by developers and converted to a form that was not easily accessible etc..... |
66 |
> |
67 |
> |
68 |
> If this succeeds and chromium compiles, could I use the make.conf file |
69 |
> video card entries etc from my conventional |
70 |
> gentoo install I have here on this machine to modify the gentoo prefix |
71 |
> make.conf file to allow me to emerge and |
72 |
> install xorg-server ie x11-base/xorg-server in gentoo prefix and then |
73 |
> run startx etc? |
74 |
> |
75 |
> I would then install i3 and dmenu etc and then run chromium....... |
76 |
> |
77 |
> I think this is better than using e.g. bedrock linux etc. Gentoo and |
78 |
> debian are both good. If you combine them |
79 |
> then that would be useful I think. |
80 |
> |
81 |
> Comments appreciated. |
82 |
> |
83 |
> Regards |
84 |
> |
85 |
> MF |
86 |
> |
87 |
> |
88 |
> |
89 |
> |
90 |
> On Mon, 24 Jun 2019 at 09:50, Fabian Groffen <grobian@g.o> wrote: |
91 |
>> |
92 |
>> Hi Michael, |
93 |
>> |
94 |
>> First, I think emerging something like chromium pulls in a lot of heavy |
95 |
>> dependencies, which often haven't received any Prefix attention, or were |
96 |
>> simply not kept up-to-date. I'm not aware if anyone is using Prefix as |
97 |
>> their desktop env, I once did so (years ago) but it's tedious at times. |
98 |
>> |
99 |
>> Now, with that "warning" in mind, it seems that for |
100 |
>> https://bugs.gentoo.org/647740 |
101 |
>> adding --with-boost="${EPREFIX}"/usr might have the right effect. Did |
102 |
>> you try modifying the ebuild adding that to myeconfargs? |
103 |
>> |
104 |
>> It's in your portage tree (probably still in $EPREFIX/usr/portage, more |
105 |
>> recent location in $EPREFIX/var/lib/repos/gentoo) in |
106 |
>> net-libs/nghttp2/nghttp2-1.39.1.ebuild. |
107 |
>> |
108 |
>> Thanks, |
109 |
>> Fabian |
110 |
>> |
111 |
>> On 23-06-2019 11:03:44 +0100, Michael Fothergill wrote: |
112 |
>> > PS |
113 |
>> > |