[Flac-dev] libFLAC docs

Matt Zimmerman mdz at debian.org
Thu Jun 14 17:14:43 PDT 2001


On Thu, Jun 14, 2001 at 03:03:57PM -0700, Josh Coalson wrote:

> Good points.  I imagine there should be two separate packages;
> one for the command line tools, and one like flac-devel, which
> has the libs and the includes.  BTW in this scenario the files
> that are currently in include/FLAC would go in /usr/include/FLAC
> and you would do something like #include "FLAC/stream_encoder.h".
> Not sure how to accomplish this with libtool/automake yet since
> I'm still kind of weak in this area.

This is already being done (by me) for the Debian packages.  I create packages
for:

- The reference encoder/decoder (flac)
- The shared library libFLAC.so.0 (libflac0)
- The development library and headers (libflac-dev)
- The XMMS plugin (xmms-flac)

Personally, I think this is beyond the scope of the flac source distribution,
and should be left to those who are creating binary packages.  The makefiles
should just install the include files.

In fact, this was part of the patch I submitted to allow 'make dist' and such
to work, and it appears to be in 0.10 (include/FLAC/Makefile.am).  I wonder
why it isn't working...

Ah, I must have forgotten to add it in configure.in.  Here you go:

--- configure.in        2001/06/14 20:05:43     1.5
+++ configure.in        2001/06/14 23:55:44
@@ -70,5 +70,7 @@
                src/plugin_xmms/Makefile        \
                src/test_streams/Makefile       \
                src/test_unit/Makefile  \
+               include/Makefile        \
+               include/FLAC/Makefile   \
                test/Makefile   \
                )

-- 
 - mdz





More information about the Flac-dev mailing list