1 |
On Sun, 2002-02-03 at 03:54, Tod M Neidt wrote: |
2 |
> On Sun, 2002-02-03 at 02:53, Tod M. Neidt wrote: |
3 |
> > On Sun, 2002-02-03 at 01:39, Tod M Neidt wrote: |
4 |
> > > On Sun, 2002-02-03 at 00:12, Arcady Genkin wrote: |
5 |
> > > > I've modified the existing ebuilds for the latest 0.9 alsa. |
6 |
> > > > |
7 |
> > > > 1. My first question is about the version numbering of the portage. |
8 |
> > > > Alsa's own version numbering doesn't fit very nicely into gentoo's |
9 |
> > > > guidelines. I translated 0.9.0b10 into 0.9.0_beta10, which worked |
10 |
> > > > fine. However, how do I deal with something like 0.9.0b10a? |
11 |
> > > > 0.9.0_beta10a doesn't work, so I kept it simply at 0.9.10_beta10 |
12 |
> > > |
13 |
> > > I would probably name it, -0.9.0a_beta10 (I think thats a legal portage |
14 |
> > > version scheme). |
15 |
> > > |
16 |
> > Ok, I was wrong. The trailing letter doesn't work in conjuction with |
17 |
> > _beta (or _alpha for that matter). Doh, note to self, "Review Developer |
18 |
> > HOTO." |
19 |
> > |
20 |
> > I guess I'll name it alsa-*-0.9.0.10a.ebuild, unless someone has a |
21 |
> > better suggestion. |
22 |
> > |
23 |
> Ok, ok how about this |
24 |
> |
25 |
> alsa-driver-0.9.0_beta10.ebuild |
26 |
> alsa-lib-0.9.0.1_beta10.ebuild |
27 |
> alsa-util-0.9.0.1_beta10.ebuild |
28 |
> |
29 |
> The .1's will correspond to the "a" beta suffix of the tarball. That |
30 |
> way we can go to 0.9.0.2 and so on if they happend to release another |
31 |
> beta10 version and the users will still know that it is a beta from the |
32 |
> ebuild name. (I hope the release alsa-1.0 soon so this just goes away :) |
33 |
> |
34 |
> I will also try to throw together ebuilds for the alsa tools and OSS |
35 |
> Compat library. |
36 |
> |
37 |
Hi! |
38 |
|
39 |
I have commited upgraded alsa-0.9 ebuilds to portage using the naming |
40 |
scheme above. The lib and utils ebuilds have some version munging in |
41 |
them to handle the vexing alphabetic suffix on the tarball version. |
42 |
(It's not pretty, but it works and will disappear when 1.0 is released) |
43 |
|
44 |
I have package masked them initially because additional testing should |
45 |
be done (any brave volunteers?). The reason is that the 0.9 version |
46 |
doesn't install libasound.so.1 and just about everything directly or |
47 |
indirectly linked to it previously will break. For example, I had to |
48 |
recompile gdk-pixbuf (what the hell does that have to do with sound?) |
49 |
because it is linked to gnome-libs which is linked to libasound just to |
50 |
get Gnome to startup after upgrading. Fortunately, libasound.so.2 |
51 |
appears to be backwards compatible with libasound.so.1, so I added a |
52 |
'dosym /usr/lib/libasound.so.2 /usr/lib/libasound.so.1' to the alsa-lib |
53 |
ebuild. This appears to work, and will allow users to upgrade to |
54 |
alsa-0.9 without recompiling everything. However, I have only tested |
55 |
this with Gnome, and gnome apps plus xmms. Good news is that I'm |
56 |
listening to my mp3's in xmms and also getting all the "beeps, boinks |
57 |
and blips" out of the Gnome Destop. If someone is adventurous, testing |
58 |
with KDE would be appreciated. |
59 |
|
60 |
Note: There is an "Easter egg" feature added to alsa-drivers from Arcady |
61 |
Genkin. If you know what sound card you require, you can set the |
62 |
environmental variable ALSA_CARDS or pass it to ebuild (or emerge when |
63 |
and if they are unmasked) and only that driver will be built. For |
64 |
example in my case, 'ALSA_CARDS=als4000 ebuild |
65 |
alsa-driver-0.9.0_beta10.ebuild merge' will only build the driver for my |
66 |
als4000 card. You can also pass it a list of drivers you want built. |
67 |
Of course, the default is still to build all the drivers. |
68 |
|
69 |
Regards, |
70 |
|
71 |
tod |