1 |
>>>>> On Tue, 30 Sep 2014, Rich Freeman wrote: |
2 |
|
3 |
> The next Gentoo Council meeting is on 14 Oct 2014 at 19:00 UTC. |
4 |
> The draft agenda is posted and will be updated at: |
5 |
> http://dev.gentoo.org/~rich0/council/council_agenda_20141014.txt |
6 |
|
7 |
> If you'd like to contribute another agenda item, please reply to |
8 |
> this email. |
9 |
|
10 |
Let's vote on removal of the einstall function in EAPI 6, please. |
11 |
|
12 |
Discussion reference: |
13 |
http://thread.gmane.org/gmane.linux.gentoo.devel/92713 |
14 |
|
15 |
Quoting mgorny: |
16 |
|
17 |
| 1. einstall is confusing to new developers and contributors who |
18 |
| often see it as the 'proper' way of installing software -- mostly |
19 |
| because of the name matching econf/emake/einstall scheme. Likely |
20 |
| that scheme was desired in the past. |
21 |
| |
22 |
| 2. The use for it is pretty scarce. Major build systems and most of |
23 |
| the common custom Makefiles support DESTDIR. For the few remaining |
24 |
| cases, it's rather optimistic throwing of variables into make, and |
25 |
| hoping they would work. |
26 |
|
27 |
Furthermore: |
28 |
- Addition of --docdir and --htmldir to econf would require extending |
29 |
the existing einstall function, i.e. docdir and htmldir would have |
30 |
to be passed as additional variables. Otherwise, docdir and htmldir |
31 |
from configure would override the prefix passed to make. |
32 |
- einstall is conceptionally strange. As noted by mgorny in item 2 |
33 |
above, it assumes on the one hand that the build system doesn't |
34 |
support DESTDIR (so must be something other than autotools based). |
35 |
On the other hand, it assumes that the Makefile supports variables |
36 |
like prefix and libdir (which are autotools variables). |
37 |
- As of 2014-09-13, only 218 ebuilds were using einstall, which is |
38 |
less than 0.6 % of all ebuilds in the tree. Such scarce usage |
39 |
doesn't justify a shortcut function in the package manager. It is |
40 |
trivial to change the remaining ebuilds to call the expanded "emake |
41 |
install" instead (and typically, only a subset of variables will be |
42 |
needed). |
43 |
|
44 |
Ulrich |