1 |
Here's an attempt at public consumption.... |
2 |
|
3 |
There's two files, to run them one will need to export a variable |
4 |
containing the PREFIX (we are using STARGATE_HOME) (see the 9th line |
5 |
of addeapi.py). Also the emegeparts.py file is the dependency |
6 |
generation stuff. I add portage to sys.path at the top and am |
7 |
hardcoding that value...(so one will need to update that). |
8 |
|
9 |
Now with both files in the same directory, call something like: |
10 |
python addeapi.py -e eclipse-core |
11 |
which will take the ebuild for eclipse-core from PORTDIR and copy it |
12 |
into an overlay. It will add EAPI="prefix", update EDEST and digest |
13 |
it. |
14 |
|
15 |
Send feedback comments my way. |
16 |
|
17 |
On that note, we have quite a few java components added to prefix: |
18 |
ant commons-el jakarta-regexp saxpath |
19 |
ant-core commons-fileupload java-config servletapi |
20 |
ant-tasks commons-httpclient javacup struts |
21 |
antlr commons-lang jaxen struts-legacy |
22 |
avalon-logkit commons-launcher jdepend sun-jaf-bin |
23 |
bcel commons-logging jdom sun-jdk |
24 |
bsf commons-modeler jsch sun-jmx |
25 |
bsh commons-net junit xalan |
26 |
commons-beanutils commons-pool jython xerces |
27 |
commons-collections commons-validator jzlib xjavac |
28 |
commons-daemon dom4j libreadline-java xml-commons |
29 |
commons-dbcp gnu-crypto log4j xml-commons-external |
30 |
commons-digester jakarta-oro rhino xml-commons-resolver |
31 |
|
32 |
Where can we put these? |
33 |
|
34 |
-matt |
35 |
|
36 |
|
37 |
On 5/15/06, m h <sesquile@×××××.com> wrote: |
38 |
> Sure let me clean up a few issues, and add this functionality, then |
39 |
> I'll put it out. |
40 |
> |
41 |
> On 5/15/06, Grobian <grobian@g.o> wrote: |
42 |
> > Hi matt! |
43 |
> > |
44 |
> > Could you perhaps also do the |
45 |
> > "make DESTDIR=${D} install" -> "make DESTDIR=${EDEST} install" |
46 |
> > trick in your script? That would make it probably perfect for a lot |
47 |
> > ebuilds... |
48 |
> > |
49 |
> > I like the idea! |
50 |
> > |
51 |
> > |
52 |
> > On 15-05-2006 09:46:09 -0700, m h wrote: |
53 |
> > > Folks- |
54 |
> > > |
55 |
> > > I've hacked together some portage code to add new ebuilds to a prefixed |
56 |
> > > overlay. |
57 |
> > > |
58 |
> > > The idea is to be able to migrate existing ebuilds to prefix by: |
59 |
> > > |
60 |
> > > * finding the latest version of the ebuild |
61 |
> > > * copying it into an overlay |
62 |
> > > * add EAPI="prefix" |
63 |
> > > * update the digest |
64 |
> > > |
65 |
> > > It has some bugs, but if there is interest in this I can clean it up |
66 |
> > > and release it to others. (Obviously not all ebuilds will "just work" |
67 |
> > > with this hack, but it should remove some of the monotony of adding |
68 |
> > > ebuild that just require on this (lots of java ones for example)). |
69 |
> > > |
70 |
> > > -matt |
71 |
> > > |
72 |
> > |
73 |
> > -- |
74 |
> > Fabian Groffen |
75 |
> > Gentoo for Mac OS X Project |
76 |
> > -- |
77 |
> > gentoo-osx@g.o mailing list |
78 |
> > |
79 |
> > |
80 |
> |