1 |
Svoop wrote: |
2 |
> Hi |
3 |
> |
4 |
> After returning from my long journey, I was happy to see that the Ruby |
5 |
> overlay I've setup a while ago has picked up quite some momentum thanks to a |
6 |
> handful of very active people - big thanks! |
7 |
> |
8 |
> I'd like to contribute my bit, too, by getting Ruby 1.9.x to work on Gentoo |
9 |
> Prefix boxes like my Macbook. However, I'm not quite sure whether you can |
10 |
> use ecopy to do (most of) the necessary changes for Prefix if the source |
11 |
> ebuild is not in the main tree but in an overlay. |
12 |
> |
13 |
> My guess is to use layman to subscribe to the Ruby overlay and check out the |
14 |
> sources, then ecopy to create the prefixed ebuild from the latest 1.9 |
15 |
> ebuild. Yet before I screw up my install, maybe someone has done that before |
16 |
> and can give me a hint or two. |
17 |
> |
18 |
> Thanks! -sven |
19 |
|
20 |
Well, we have a policy that we will only add ebuilds to the prefix tree |
21 |
if they are in the gentoo-x86 tree. There are many reasons for this, the |
22 |
main one is developer time. Also, we "auto-sync" from gentoo-x86 tree |
23 |
and have no infrastructure up to auto-sync from $overlay - nor want to |
24 |
to be honest. |
25 |
|
26 |
Here is my suggestion. We have a separate layman file that we can update |
27 |
to include overlays that are prefix specific. So, I would suggest that |
28 |
you setup another overlay on github or similar hosting place. This new |
29 |
overlay would have those ebuilds that you have ported to prefix. You |
30 |
won't be able to use ecopy for these ebuilds because that pulls from |
31 |
gentoo-x86. However, ecopy is just a wrapper for eapify (and others, |
32 |
look at the ecopy script - it is pretty well commented now) |
33 |
|
34 |
So, in a nutshell. |
35 |
|
36 |
-checkout/clone the ruby overlay (you can't use layman to do this in prefix) |
37 |
-Use ecleankw and eapify to port the ebuilds - (eapify is a best effort |
38 |
script and won't necessarily do everything for you) |
39 |
-Test them on your prefix |
40 |
-Commit them to a separate hosting place (ie. github) |
41 |
-Let us know the address, we will update the layman file for you and |
42 |
then Prefix users can use Ruby 1.9.x |
43 |
|
44 |
Feel free to get help porting in #gentoo-prefix on freenode or on this |
45 |
mailing list. |
46 |
|
47 |
Thanks, |
48 |
Jeremy |