1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA1 |
3 |
|
4 |
On Fri, 17 Oct 2014 22:33:45 +0100, Neil Bothwick (neil@××××××××××.uk) |
5 |
wrote about "Re: [gentoo-user] Re: XFCE weather plugin does not work" |
6 |
(in <20141017223345.16c96ec8@××××××××××.uk>): |
7 |
|
8 |
> On Fri, 17 Oct 2014 21:13:52 +0000 (UTC), James wrote: |
9 |
> |
10 |
>> And last, can any patch that ends in .patch be applied to the |
11 |
>> intended ebuild or does the gentoo ebuild auther have to put some |
12 |
>> special code into an (EAPI-5) ebuild to facilitate user patches? |
13 |
> |
14 |
> AFAIR the ebuild simply has to call epatch_user() in src_unpack() |
15 |
> and any matching patches in /etc/portage/patches are applied. |
16 |
|
17 |
The usual place is src_prepare(). |
18 |
|
19 |
I have prepared some patches from the Xfce repository with line |
20 |
addressing to match the Gentoo sources tarball. I attach a tarball of |
21 |
theses patches that can be untarred in /etc/portage/patches/. The |
22 |
ebuild should have the following lines added: |
23 |
|
24 |
src_prepare() { |
25 |
epatch_user |
26 |
} |
27 |
|
28 |
Don't forget to redo the manifest for the ebuild. |
29 |
- -- |
30 |
Regards, |
31 |
|
32 |
Dave [RLU #314465] |
33 |
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* |
34 |
dwnoon@××××××××.com (David W Noon) |
35 |
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* |
36 |
|
37 |
-----BEGIN PGP SIGNATURE----- |
38 |
Version: GnuPG v2 |
39 |
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ |
40 |
|
41 |
iEYEARECAAYFAlRBmhwACgkQRQ2Fs59Psv8YHgCghXa931NC2rJSa8394L2FvZGB |
42 |
UIAAoIiiIpd7PktyaQE9Av/RxRYjnLE0 |
43 |
=68v7 |
44 |
-----END PGP SIGNATURE----- |