public inbox for gentoo-alt@lists.gentoo.org
 help / color / mirror / Atom feed
From: Benda Xu <heroxbd@gentoo.org>
To: gentoo-alt@lists.gentoo.org
Subject: Re: [gentoo-alt] Re: simple question about installing chromium browser for use in debian OS using gentoo prefix..
Date: Wed, 13 May 2020 08:34:25 +0800	[thread overview]
Message-ID: <87tv0kn04u.fsf@robot.e.airelinux.org> (raw)
In-Reply-To: <CANc=Sd1xJkr=igftkkaBorWF+rHHbkD6GGYOPe=-SOD3LQ3s6w@mail.gmail.com> (Michael Fothergill's message of "Mon, 24 Jun 2019 11:44:08 +0100")

Hi Michael,

How was this project going?  Have you succeeded in compiling chromium in
Gentoo Prefix?

Benda

Michael Fothergill <michael.fothergill@gmail.com> writes:

> Many thanks for the reply.
>
> I went in the $EPREFIX/var/lib/repos/gentoo directory to look for the
> nghttp2 ebuild......
>
> The ebuild lives here on my machine:
>
> mikef@fart:~/gentoo/usr/portage/net-libs/nghttp2
>
> I found the nghttp2-1.39.1.ebuild file.
>
> Toward the end of the file there is a bit of code with the myeconfargs
> variable (or whatever it is) present in it:
>
> multilib_src_configure() {
>         local myeconfargs=(
>                 --disable-examples
>                 --disable-failmalloc
>                 --disable-python-bindings
>                 --disable-werror
>                 --without-cython
>                 $(use_enable cxx asio-lib)
>                 $(use_enable debug)
>                 $(multilib_native_use_enable hpack-tools)
>                 $(use_enable static-libs static)
>                 $(use_enable threads)
>                 $(multilib_native_use_enable utils app)
>                 $(multilib_native_use_with jemalloc)
>                 $(multilib_native_use_with xml libxml2)
>         )
>         ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
> }
>
> multilib_src_install_all() {
>         if ! use static-libs ; then
>                 find "${ED}"/usr -name '*.la' -delete || die
>         fi
> }
> mikef@fart:~/gentoo/usr/portage/net-libs/nghttp2$
>
> ***************************************
> Presumably if I would edit this file with e.g. emacs then I could add
> --with-boost="${EPREFIX}"/usr
>
> to the file after the two instances of myeconfargs (or do I only do it
> once in the ECONF_SOURCE line?).....
>
> Also would I add --with-boost="${EPREFIX}"/usr OR
> --with-boost=/home/mikef/gentoo/usr
> ie the actual path on my machine here?
>
> I did not realise the ebuilds were editable files that lived in
> directories in the install itself.
> I thought portage used them for the compilations but they were off
> limits to users like me and only assembled
> by developers and converted to a form that was not easily accessible etc.....
>
>
> If this succeeds and chromium compiles, could I use the make.conf file
> video card entries etc from my conventional
> gentoo install I have here on this machine to modify the gentoo prefix
> make.conf file to allow me to emerge and
> install xorg-server ie  x11-base/xorg-server in gentoo prefix and then
> run startx etc?
>
> I would then  install i3 and dmenu etc and then run chromium.......
>
> I think this is better than using e.g. bedrock linux etc.  Gentoo and
> debian are both good.  If you combine them
> then that would be useful I think.
>
> Comments appreciated.
>
> Regards
>
> MF
>
>
>
>
> On Mon, 24 Jun 2019 at 09:50, Fabian Groffen <grobian@gentoo.org> wrote:
>>
>> Hi Michael,
>>
>> First, I think emerging something like chromium pulls in a lot of heavy
>> dependencies, which often haven't received any Prefix attention, or were
>> simply not kept up-to-date.  I'm not aware if anyone is using Prefix as
>> their desktop env, I once did so (years ago) but it's tedious at times.
>>
>> Now, with that "warning" in mind, it seems that for
>> https://bugs.gentoo.org/647740
>> adding --with-boost="${EPREFIX}"/usr might have the right effect.  Did
>> you try modifying the ebuild adding that to myeconfargs?
>>
>> It's in your portage tree (probably still in $EPREFIX/usr/portage, more
>> recent location in $EPREFIX/var/lib/repos/gentoo) in
>> net-libs/nghttp2/nghttp2-1.39.1.ebuild.
>>
>> Thanks,
>> Fabian
>>
>> On 23-06-2019 11:03:44 +0100, Michael Fothergill wrote:
>> > PS
>> >


  parent reply	other threads:[~2020-05-13  0:34 UTC|newest]

Thread overview: 54+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-21 16:09 [gentoo-alt] simple question about installing chromium browser for use in debian OS using gentoo prefix Michael Fothergill
2019-06-23 10:03 ` [gentoo-alt] " Michael Fothergill
2019-06-24  8:50   ` Fabian Groffen
2019-06-24 10:44     ` Michael Fothergill
2019-06-25 13:05       ` Michael Fothergill
2019-06-25 13:17         ` Fabian Groffen
2019-06-25 13:39           ` Michael Fothergill
2019-06-25 16:37             ` Michael Fothergill
2019-06-25 17:52               ` Fabian Groffen
2019-06-26  1:37                 ` Sam Pfeiffer
2019-06-26  9:40                   ` Michael Fothergill
2019-06-26 10:07                     ` Michael Fothergill
2019-06-26 13:49                       ` Michael Fothergill
2019-06-26 13:53                     ` Fabian Groffen
2019-06-26 14:39                       ` Michael Fothergill
2019-06-26 14:43                         ` Michael Fothergill
2019-06-26 14:50                           ` Sam Pfeiffer
2019-06-26 18:40                           ` Fabian Groffen
2019-06-26 18:50                             ` Fabian Groffen
2019-06-27 11:03                               ` Michael Fothergill
2019-06-27 11:09                                 ` Michael Fothergill
2019-06-27 11:18                                   ` Fabian Groffen
2019-06-27 11:41                                     ` Michael Fothergill
2019-06-27 11:46                                       ` Fabian Groffen
2019-06-27 12:06                                         ` Michael Fothergill
2019-06-27 12:11                                           ` Fabian Groffen
2019-06-27 12:15                                             ` Michael Fothergill
2019-06-27 12:23                                               ` Fabian Groffen
2019-06-27 12:48                                                 ` Michael Fothergill
2019-06-27 13:11                                                   ` Michael Fothergill
2019-06-27 13:16                                                     ` Michael Fothergill
2019-06-27 21:15                                                       ` Michael Fothergill
2019-06-27 21:17                                                         ` Michael Fothergill
2019-06-27 21:23                                                           ` Michael Fothergill
2019-06-28  7:23                                                             ` Fabian Groffen
2019-06-28  8:27                                                               ` Michael Fothergill
2019-06-28  8:31                                                                 ` Fabian Groffen
2019-06-28  8:36                                                                   ` Michael Fothergill
2019-06-28  8:40                                                                     ` Fabian Groffen
2019-06-28  9:00                                                                       ` Michael Fothergill
2019-06-28  9:04                                                                         ` Michael Fothergill
2019-06-28  9:05                                                                         ` Fabian Groffen
2019-06-28  9:11                                                                           ` Michael Fothergill
2019-06-28 10:19                                                                             ` Fabian Groffen
2019-06-28 10:22                                                                               ` Michael Fothergill
2019-06-28 10:24                                                                                 ` Michael Fothergill
2019-06-28 10:25                                                                                 ` Fabian Groffen
2019-06-28 10:33                                                                                   ` Michael Fothergill
2019-06-28 13:31                                                                                     ` Askar Bektassov
2019-06-28 14:50                                                                                       ` Michael Fothergill
2019-06-28 15:19                                                                                         ` Michael Fothergill
2019-06-28  7:20                                                         ` Fabian Groffen
2020-05-13  0:34       ` Benda Xu [this message]
2020-05-14 17:31         ` Michael Fothergill

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87tv0kn04u.fsf@robot.e.airelinux.org \
    --to=heroxbd@gentoo.org \
    --cc=gentoo-alt@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox