[vorbis-dev] Distribution Fixes

Ingo Saitz Ingo.Saitz at stud.uni-hannover.de
Tue Oct 24 17:15:17 PDT 2000



MoiN

On Sun, Oct 22, 2000 at 12:54:43AM -0200, Ali Abdin wrote:
> * Jack Moffitt (jack at deathstar.icecast.org) wrote at 00:47 on 22/10/00:
> > I see your point about .a files.  I moved those to the devel packages like
> > you suggested.  .so's stayed in the main ones.
> 
> Umm - as far as I know the libfile.so.0.0.0 (for example) goes into the
> "normal" package, while the file 'libfile.so' (or libfile.so.1) gets installed
> in the -devel package.

There are three files:

  libfile.so.0.0.0	is the actually compiled version of the
                        library. The revisions should increase on
                        every new release, even if the library API
                        remains stable.
  libfile.so.0		is the file programs are linked against.
                        the .0 must increase if the API changes.

These two should go into the runtime library package.

  libfile.so		the linker uses this file to determine,
                        which shared version to link to the
                        program. So this goes to -dev (as the *.a
                        static library) because it is only
                        needed for compiling.

> I tried fiddling with it, but it seems that automake doesn't like a "random"
> choice of built files. So I manually hacked it to use esd (since the "target
> audience" is for people with esd).
> 
> I also updated the vorbis-tools package (e.g. updating the spec file, writing
> a Makefile.am for ogg123, etc.) but it was still a "hack" due to the libao
> problems (for example, one problem is that I don't know what flags libao was
> compiled with).

Also, pleas use inter-library dependencies to link libao against
esound/alsa. To add or remove support for alsa/esound you only
have to recompile ao and none of the tools libao depends on.

Inter-library dependencies could be specified by adding the
required linker switches to the end of "libao_la_LDFLAGS" in
src/Makefile.am.

    Ingo

P.S.: ao still needs this patch to compile the ao_esd.c file:

--- ao-0.5.0.orig/src/ao_esd.c
+++ ao-0.5.0/src/ao_esd.c
@@ -31,7 +31,7 @@
 #include <string.h>
 
 #include <esd.h>
-#include "audio_out.h"
+#include <ao/ao.h>
 
 typedef struct ao_esd_internal_s
 {


-- 
<PRE>      _
          ( )  ASCII Ribbon Campaign
          /~\  Against HTML Mail
</PRE>   '   `

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.




More information about the Vorbis-dev mailing list