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