Skip to content

Commit 5e4e3a2

Browse files
author
slicer
committed
Split libspeex and libspeexdsp
1 parent a6d05eb commit 5e4e3a2

File tree

177 files changed

+52
-13606
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

177 files changed

+52
-13606
lines changed

Makefile.am

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,15 @@
44
# gcc and gmake, add the option 'no-dependencies'
55
AUTOMAKE_OPTIONS = 1.8
66

7-
m4datadir = $(datadir)/aclocal
8-
m4data_DATA = speex.m4
9-
107
pkgconfigdir = $(libdir)/pkgconfig
11-
pkgconfig_DATA = speex.pc speexdsp.pc
8+
pkgconfig_DATA = speexdsp.pc
129

13-
EXTRA_DIST = Speex.spec Speex.spec.in Speex.kdevelop speex.m4 speex.pc.in README.blackfin README.symbian README.TI-DSP
10+
EXTRA_DIST = SpeexDSP.spec SpeexDSP.spec.in SpeexDSP.kdevelop speexdsp.pc.in README.blackfin README.symbian README.TI-DSP
1411

1512
#Fools KDevelop into including all files
16-
SUBDIRS = libspeex include @src@ doc win32 symbian ti
13+
SUBDIRS = libspeexdsp include doc win32 symbian ti
1714

18-
DIST_SUBDIRS = libspeex include src doc win32 symbian ti
15+
DIST_SUBDIRS = libspeexdsp include doc win32 symbian ti
1916

2017
rpm: dist
2118
rpmbuild -ta ${PACKAGE}-${VERSION}.tar.gz
File renamed without changes.

Speex.spec.in renamed to SpeexDSP.spec.in

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,16 +56,12 @@ make DESTDIR=$RPM_BUILD_ROOT install
5656
%defattr(644,root,root,755)
5757
%doc COPYING AUTHORS ChangeLog NEWS README
5858
%doc doc/manual.pdf
59-
/usr/share/man/man1/speexenc.1*
60-
/usr/share/man/man1/speexdec.1*
6159
%attr(755,root,root) %{_bindir}/speex*
6260
%attr(755,root,root) %{_libdir}/libspeex*.so*
6361

6462
%files devel
6563
%defattr(644,root,root,755)
6664
%attr(755,root,root) %{_libdir}/libspeex*.la
6765
%{_includedir}/speex/speex*.h
68-
/usr/share/aclocal/speex.m4
69-
%{_libdir}/pkgconfig/speex.pc
7066
%{_libdir}/pkgconfig/speexdsp.pc
7167
%{_libdir}/libspeex*.a

configure.ac

Lines changed: 12 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
dnl Process this file with autoconf to produce a configure script. -*-m4-*-
22

3-
AC_INIT(libspeex/speex.c)
3+
AC_INIT(libspeexdsp/preprocess.c)
44

55
AM_CONFIG_HEADER([config.h])
66

@@ -22,7 +22,7 @@ AC_SUBST(SPEEX_LT_AGE)
2222

2323
# For automake.
2424
VERSION=$SPEEX_VERSION
25-
PACKAGE=speex
25+
PACKAGE=speexdsp
2626

2727
AC_SUBST(SPEEX_VERSION)
2828

@@ -112,7 +112,6 @@ AC_MSG_RESULT($has_visibility)
112112

113113
AC_CHECK_HEADERS(sys/soundcard.h sys/audioio.h)
114114

115-
XIPH_PATH_OGG([src="src"], [src=""])
116115
AC_SUBST(src)
117116

118117
AC_CHECK_LIB(m, sin)
@@ -204,12 +203,6 @@ AC_ARG_ENABLE(ti-c55x, [ --enable-ti-c55x Enable support for TI C55X DSP
204203
AC_DEFINE([TI_C55X], , [Enable support for TI C55X DSP])
205204
fi])
206205

207-
AC_ARG_ENABLE(vorbis-psy, [ --enable-psy Enable the Vorbis psy model],
208-
[if test "$enableval" = yes; then
209-
vorbis_psy=yes;
210-
AC_DEFINE([VORBIS_PSYCHO], , [Enable support for the Vorbis psy model])
211-
fi])
212-
213206
AC_ARG_WITH([fft], [AS_HELP_STRING([--with-fft=choice],[use an alternate FFT implementation. The available choices are
214207
kiss (default fixed point), smallft (default floating point), gpl-fftw3 and proprietary-intel-mkl])],
215208
[FFT=$withval]
@@ -247,8 +240,6 @@ AM_CONDITIONAL(BUILD_KISS_FFT, [test "$FFT" = "kiss"])
247240
AM_CONDITIONAL(BUILD_SMALLFT, [test "$FFT" = "smallft"])
248241
AC_SUBST(FFT_PKGCONFIG)
249242

250-
AM_CONDITIONAL(BUILD_VORBIS_PSY, [test "x$vorbis_psy" = "xyes"])
251-
252243
AC_CHECK_SIZEOF(short)
253244
AC_CHECK_SIZEOF(int)
254245
AC_CHECK_SIZEOF(long)
@@ -284,36 +275,24 @@ AC_SUBST(SIZE32)
284275

285276
AC_DEFINE([_BUILD_SPEEX], [], [Defined only when Speex itself is build built])
286277

287-
AC_OUTPUT([Makefile libspeex/Makefile src/Makefile doc/Makefile Speex.spec
288-
include/Makefile include/speex/Makefile speex.pc speexdsp.pc
289-
win32/Makefile win32/libspeex/Makefile win32/speexenc/Makefile
290-
win32/speexdec/Makefile symbian/Makefile
278+
AC_OUTPUT([Makefile libspeexdsp/Makefile doc/Makefile SpeexDSP.spec
279+
include/Makefile include/speex/Makefile speexdsp.pc
280+
win32/Makefile win32/libspeexdsp/Makefile
281+
symbian/Makefile
282+
291283
win32/VS2003/Makefile
292-
win32/VS2003/tests/Makefile
293-
win32/VS2003/libspeex/Makefile
294284
win32/VS2003/libspeexdsp/Makefile
295-
win32/VS2003/speexdec/Makefile
296-
win32/VS2003/speexenc/Makefile
285+
win32/VS2003/tests/Makefile
286+
297287
win32/VS2005/Makefile
298-
win32/VS2005/libspeex/Makefile
299-
win32/VS2005/speexdec/Makefile
300-
win32/VS2005/speexenc/Makefile
301288
win32/VS2005/libspeexdsp/Makefile
302289
win32/VS2005/tests/Makefile
303-
win32/VS2008/libspeexdsp/Makefile
290+
304291
win32/VS2008/Makefile
305-
win32/VS2008/speexdec/Makefile
292+
win32/VS2008/libspeexdsp/Makefile
306293
win32/VS2008/tests/Makefile
307-
win32/VS2008/libspeex/Makefile
308-
win32/VS2008/speexenc/Makefile
309-
include/speex/speex_config_types.h ti/Makefile
294+
include/speex/speexdsp_config_types.h ti/Makefile
310295
ti/speex_C54_test/Makefile ti/speex_C55_test/Makefile
311296
ti/speex_C64_test/Makefile ])
312297

313-
if test "x$src" = "x"; then
314-
echo "**IMPORTANT**"
315-
echo "You don't seem to have the development package for libogg (libogg-devel) installed. Only the Speex library (libspeex) will be built (no encoder/decoder executable)"
316-
echo "You can download libogg from http://downloads.xiph.org/releases/ogg/"
317-
fi
318-
319298
echo "Type \"make; make install\" to compile and install Speex";

include/speex/Makefile.am

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
# Disable automatic dependency tracking if using other tools than gcc and gmake
22
#AUTOMAKE_OPTIONS = no-dependencies
33

4-
nodist_pkginclude_HEADERS = speex_config_types.h
5-
6-
pkginclude_HEADERS = speex.h speex_bits.h speex_buffer.h speex_callbacks.h \
7-
speex_echo.h speex_header.h speex_jitter.h speex_preprocess.h speex_resampler.h \
8-
speex_stereo.h speex_types.h
4+
nodist_pkginclude_HEADERS = speexdsp_config_types.h
95

6+
pkginclude_HEADERS = speex_echo.h speex_jitter.h speex_preprocess.h speex_resampler.h \
7+
speexdsp_types.h

0 commit comments

Comments
 (0)