1 |
On 27-06-2019 12:09:19 +0100, Michael Fothergill wrote: |
2 |
> PS I forgot to add in step 3 that I will create a file to put the helpful patch |
3 |
> code in using emacs. |
4 |
> |
5 |
> I will also replace the $EPREFIX symbol with /home/mikef/gentoo in each instance |
6 |
> in the patch code. |
7 |
|
8 |
You don't have to do that, in the ebuild ${EPREFIX} expands to the |
9 |
correct thing. |
10 |
|
11 |
> > I am using this one: |
12 |
> |
13 |
> > [2]https://wiki.gentoo.org/wiki//etc/portage/patches |
14 |
|
15 |
this is for creating /code/ patches, not for patches against the ebuilds |
16 |
themselves |
17 |
You need patches to ebuilds, which, if I know what patches you tried and |
18 |
worked for you, me and the team can commit to the tree so it sticks. |
19 |
|
20 |
This also means below instructions aren't going to fly. |
21 |
|
22 |
1. Change the libinput-1.13.2.ebuild file |
23 |
2. run ebuild libinput-1.13.2.ebuild digest |
24 |
3. emerge --resume or emerge <package> (whichever is resuming what you |
25 |
were doing) |
26 |
4. if it works, report the diff here, or preferably in a bug so we can |
27 |
see to getting it applied |
28 |
|
29 |
Thanks, |
30 |
Fabian |
31 |
|
32 |
> > I am going to do the following things: |
33 |
> |
34 |
> > 1. I am going to create a directory to put the patch in: |
35 |
> > 2. mkdir -p /etc/portage/patches/dev-libs/libinput-1.13.2 |
36 |
> > 3. /etc/portage/patches/dev-libs/libinput-1.13.2/prefix-libinput.patch |
37 |
> > 4. I will then enter the ebuild directory for libinput-1.13.2 and run the |
38 |
> > following command: |
39 |
> > 5. ebuild libinput-1.13.2.ebuild clean prepare |
40 |
> > 6. I will then run ebuild libinput-1.13.2.ebuild digest as you recommended. |
41 |
> > 7. Finally I will run emerge dev-libs/libinput again and see if it compiles |
42 |
> > and installs. |
43 |
> |
44 |
> > I am going to do this now. |
45 |
> |
46 |
> > If you think I should change anything in the above list please let me know in |
47 |
> > a post. |
48 |
> |
49 |
> > Regards |
50 |
> |
51 |
> > MF |
52 |
> |
53 |
> |
54 |
> |
55 |
> References: |
56 |
> 1. mailto:michael.fothergill@×××××.com |
57 |
> 2. https://wiki.gentoo.org/wiki//etc/portage/patches |
58 |
> |
59 |
> read_char: errno==EILSEQ; invalid byte sequence for UTF-8: |
60 |
-- |
61 |
Fabian Groffen |
62 |
Gentoo on a different level |