1 |
Norbert Kamenicky wrote: |
2 |
|
3 |
> Hi, |
4 |
> |
5 |
> I added support for slovak language to openoffice-1.0.3-r1.ebuild, and |
6 |
> tried it to emerge. |
7 |
> |
8 |
> After 11 hours (5 h localization !!! + 6 h compilation) |
9 |
> it fails on missing file ... |
10 |
> |
11 |
> How can I continue without waiting another 11 hours ? |
12 |
> (Missing file-dictionary already copied to the tree.) |
13 |
> |
14 |
> Noro |
15 |
|
16 |
Thanks to your answers I found a way how it's possible ... |
17 |
|
18 |
to be able to run just compilation, minimally method src_compile() |
19 |
must be re/written to allow it ... |
20 |
- it have to include all needed environmental setup, |
21 |
- if some special monkey thinks have to be done [like localization :-) ], |
22 |
it's very usefull if it is in extra subroutine, lets it can be easy |
23 |
to comment out if needed |
24 |
|
25 |
Compilation then can be done like this: |
26 |
|
27 |
[VAR] FEATURES="sandbox ccache noclean noautobuild" openoffice compile |
28 |
|
29 |
where "VAR" is a list of needed variables, like USE="...", |
30 |
LANGUAGE="...", ... |
31 |
|
32 |
in case installation should follow, do not touch the ebuild file, othervise |
33 |
it will erase complete build tree and start from source unpacking :-( ... |
34 |
|
35 |
[VAR] FEATURES="sandbox ccache noclean noautobuild" openoffice install |
36 |
[VAR] FEATURES="sandbox ccache noclean noautobuild" openoffice qmerge |
37 |
|
38 |
finish ! |
39 |
|
40 |
PS: "emerge ccache" before starting to build openoffice is very recommended |
41 |
|
42 |
Noro |
43 |
|
44 |
|
45 |
-- |
46 |
gentoo-dev@g.o mailing list |