1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA1 |
3 |
|
4 |
On 08/18/2013 12:39 PM, Ulrich Mueller wrote: |
5 |
> Hi all, |
6 |
> |
7 |
> For EAPI 6, introduction of a patch applying function to the package |
8 |
> manager itself is being discussed. This would serve two purposes: |
9 |
> - support for PATCHES variable in a default src_install phase |
10 |
> - a function to apply user patches |
11 |
|
12 |
Isn't src_install a bit late for most patches? |
13 |
> |
14 |
> In bug 463768 the conclusion so far was that implementing the full |
15 |
> epatch function in the package manager is not feasible. Therefore, |
16 |
> the package manager's implemention would have reduced functionality. |
17 |
> The current epatch() would remain available in eutils.eclass for cases |
18 |
> where its more advanced modes of operation are needed. |
19 |
> |
20 |
> The feature list we came up with (see bug 463768 comment 32) includes |
21 |
> support for regular patch files, of course. It also includes support |
22 |
> for directories, with patches applied in lexical order of their |
23 |
> filenames (only files named *.diff and *.patch). |
24 |
> |
25 |
> So, the questions that I'd like to ask are: |
26 |
> 1. Is the above set of features reasonable? |
27 |
> 2. Should the function do automatic -p* detection, or should it |
28 |
> default to -p1? Both would be overridable by an explicit -p* |
29 |
> option. There are good arguments for either variant (see the |
30 |
> above-mentioned bug). |
31 |
Pretty please autodetection. It's a very nice feature that we seem to |
32 |
already have sanely implemented. |
33 |
|
34 |
Thanks, |
35 |
Zero |
36 |
|
37 |
> 3. So far, we don't have a good name for the function. |
38 |
> |
39 |
> Ulrich |
40 |
> |
41 |
> |
42 |
|
43 |
-----BEGIN PGP SIGNATURE----- |
44 |
Version: GnuPG v2.0.20 (GNU/Linux) |
45 |
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ |
46 |
|
47 |
iQIcBAEBAgAGBQJSEQM5AAoJEKXdFCfdEflKGqUP/iBvycWstFl33uNSLLgYTFbt |
48 |
joA3Q6hmEjQmOJSqmSSazJzvKzvlVF2PlShKq2SzHcTr7WPXCXVcZuC1DbKZEnA1 |
49 |
ZHPgYrxb+KN7/V+Eh7i4CEslhnf9DPqBsHZc5dh/tX3jHeVPcSphDrz96TVnEtT/ |
50 |
FIY0RPIYCfDOPjQHQaeCorNoZNTU54box2iCj0UwwWRLQeMDyuS9LAT0BNUBBi4M |
51 |
9q6dCAZe+Z1hUgDE93VxeT4a7h4ytlYlfi8COQxZubqhOczXLL7p5UobUy6QuqLY |
52 |
TiUAvd+c69iU7zvhERKiEJcxapDhfxFqqYL1m+Zs+0ZAVEaMQkeHnWFY+Rdz8an5 |
53 |
iOnqW6r8LYit2upqyUS582gyTkw1+3aYBOITtSxHvZq4JSSCNuc7rp8HXMjYMaUh |
54 |
TN10qb4/PtbRkJDnALH/3+F3Dzu55ujSJgn0QH4+5+Ect82NjlSPD1jBRsHkATq+ |
55 |
04kHeGuvj2yp6UuT9Qt5ndbDEzy7eSVCrIeXx4J7YgCj6xU1cAl3X7QjCD+yx/K6 |
56 |
xNd6swsvjiBPdDSzSiBxDDTdvFj9585Zw4iT+uIm7MMXKM7thNEJK6yuVLkOU1Gh |
57 |
kahndJdAQkE5t09tMr5c0wdvD0fXGXQNk2nMaykLbXwAF3zJRccP1enytufdxgQR |
58 |
WyaQpr7+jTp851spxxgm |
59 |
=NTh+ |
60 |
-----END PGP SIGNATURE----- |