1 |
Hi all, |
2 |
|
3 |
I started some time ago working on a meta-ebuild for a SableVM SDK but |
4 |
I was then limited in time and never quite complete it. |
5 |
|
6 |
Meanwhile the SableVM upstream started integrating various tools to |
7 |
provide a full SDK. The goal of SableVM upstream is to make SableVM, |
8 |
its deps and 3rd party addition (gjdoc, fastjar, ...) easy to install |
9 |
on several systems. |
10 |
|
11 |
So I dropped work on the individual gjdoc, fastjar, ... ebuilds for now. |
12 |
I will still keep them on gentooexperimental.org as some users might |
13 |
want fastjar but not sablevm-sdk. But I will concentrate on the |
14 |
upstream-provided SDK instead of redoing the work. |
15 |
|
16 |
Ebuild is here, take the version 1.12, the other one is the old |
17 |
meta-package implementation: |
18 |
http://gentooexperimental.org/svn/java/gentoo-java-experimental/dev-java/sablevm-sdk/ |
19 |
|
20 |
It would be good if some people could test it out. |
21 |
|
22 |
Things to consider: |
23 |
|
24 |
libffi - starting from 1.12, SableVM provides its own implementation of |
25 |
libffi. If the internal is used, it will be compiled into |
26 |
libsablevm (and not installed as a separate lib). |
27 |
I have a libffi flag to say to use the system installed one. |
28 |
Alternatively, I could remove that flag and always use the |
29 |
internal or external one. libffi is small and I think |
30 |
libffi maintainer was at some point considering the removal |
31 |
of the libffi stand-alone ebuild.- need to investigate this. |
32 |
|
33 |
bootstrap issue: |
34 |
|
35 |
SableVM includes gjdoc. |
36 |
gjdoc depends on antlr. |
37 |
antlr depends on a Java SDK. |
38 |
|
39 |
I added a USE flag: nogjdoc that disable the installation of gjdoc, |
40 |
removing the dependency on antlr. |
41 |
|
42 |
So if the user do not have antlr installed and want to compile |
43 |
antlr with SableVM SDK, he or she will have to build SableVM SDK |
44 |
twice - once with USE=nogjdoc and once without. Upgrading SableVM SDK |
45 |
should not be an issue as antlr will have already been installed. |
46 |
Any other solution? |
47 |
|
48 |
|
49 |
David |
50 |
|
51 |
--- |
52 |
|
53 |
David Bélanger |
54 |
Web page: http://www.cs.mcgill.ca/~dbelan2/ |
55 |
Public key: http://www.cs.mcgill.ca/~dbelan2/public_key.txt |
56 |
|
57 |
|
58 |
-- |
59 |
gentoo-java@g.o mailing list |