Gentoo Archives: gentoo-alt

From: Fabian Groffen <grobian@g.o>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] Re: simple question about installing chromium browser for use in debian OS using gentoo prefix..
Date: Thu, 27 Jun 2019 12:12:04
Message-Id: 20190627121156.GF13828@gentoo.org
In Reply to: Re: [gentoo-alt] Re: simple question about installing chromium browser for use in debian OS using gentoo prefix.. by Michael Fothergill
1 On 27-06-2019 13:06:40 +0100, Michael Fothergill wrote:
2 > Looking at your patch code based on what you have just explained,
3 >
4 > I could go back and re-edit the build file and remove the extra code I added at
5 > the end restoring the file to its original state.
6 >
7 > Then I could move the cursor up to the following section of the build file:
8 >
9 > src_configure() {
10 >         # gui can be built but will not be installed
11 >         local emesonargs=(
12 >                 -Ddebug-gui=false
13 >                 $(meson_use doc documentation)
14 >                 $(meson_use input_devices_wacom libwacom)
15 >                 -Dtests=false # tests are restricted
16 >                 -Dudev-dir="$(get_udevdir)"
17 >         )
18 >         meson_src_configure
19 >
20 > and then replace the line -Dudev-dir="$(get_udevdir) with
21 >
22 > -Dudev-dir="${EPREFIX}$(get_udevdir)
23 >
24 > Your patch also has these lines in it:
25 >
26 > --- a/dev-libs/libinput/libinput-1.13.2.ebuild
27 > +++ b/dev-libs/libinput/libinput-1.13.2.ebuild
28 > @@ -60,7 +60,7 @@ src_configure() {
29 >
30 > are these lines suggesting that I make any other changes to the ebuild file?
31 >
32 > They look like they are saying that an ebuild file has to be changed in a
33 > particular section.
34 >
35 > If the only change I have to make is the single line above I will do it and then
36 > run the digest command and try to
37
38 correct, there was only one actual change in it.
39 See also this:
40 https://stackoverflow.com/questions/987372/what-is-the-format-of-a-patch-file
41
42 Fabian
43 >
44 > emerge libinput again.
45 >
46 > Regards
47 >
48 > MF
49 >
50 > On Thu, 27 Jun 2019 at 12:46, Fabian Groffen <[1]grobian@g.o> wrote:
51 >
52 > > Haha, I gave you a patch, sorry.
53 >
54 > > The patch just describes which change you need to make.  If you really
55 > > want to have an easy life, then restore the original ebuild (rsync if
56 > > you will) and run this:
57 >
58 > > % patch libinput-1.13.2.ebuild < path/to/the-patch-content.patch
59 >
60 > > Then you can run ebuild .. digest.
61 >
62 > > There is a chance the patch won't apply, because I didn't attach it.
63 > > In this case I think it's quicker if you "read" the patch yourself, find
64 > > the location what the patch is about, and make the change (as indicated
65 > > by the lines prefixed with - (removed) and + (added)).
66 >
67 > > Does this help you?
68 >
69 > > Fabian
70 >
71 >
72 >
73 > References:
74 > 1. mailto:grobian@g.o
75 >
76 > read_char: errno==EILSEQ; invalid byte sequence for UTF-8:
77 --
78 Fabian Groffen
79 Gentoo on a different level

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies