summaryrefslogtreecommitdiff
path: root/openwrt/package/icecast
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2005-10-17 22:19:21 +0000
committerNicolas Thill <nico@openwrt.org>2005-10-17 22:19:21 +0000
commit0f52a18e0bc610f560ad98382a4fb5685701a7b6 (patch)
treebd511c93770d5ea938c29c00df1dc5d190949cf3 /openwrt/package/icecast
parentf2e947e7839c07794bbefc1d0de1caa375ae55bc (diff)
downloadmtk-20170518-0f52a18e0bc610f560ad98382a4fb5685701a7b6.zip
mtk-20170518-0f52a18e0bc610f560ad98382a4fb5685701a7b6.tar.gz
mtk-20170518-0f52a18e0bc610f560ad98382a4fb5685701a7b6.tar.bz2
change icecast to use libvorbisidec instead of libogg/libvorbis (thanks to David Collet)
SVN-Revision: 2156
Diffstat (limited to 'openwrt/package/icecast')
-rw-r--r--openwrt/package/icecast/Config.in6
-rw-r--r--openwrt/package/icecast/ipkg/icecast.control2
-rw-r--r--openwrt/package/icecast/patches/01-icecast-2.3.0-tremor.patch153
3 files changed, 156 insertions, 5 deletions
diff --git a/openwrt/package/icecast/Config.in b/openwrt/package/icecast/Config.in
index e16b1f0..5252c8c 100644
--- a/openwrt/package/icecast/Config.in
+++ b/openwrt/package/icecast/Config.in
@@ -2,8 +2,7 @@ config BR2_PACKAGE_ICECAST
tristate "icecast - A streaming media server for Ogg/Vorbis and MP3 audio streams"
default m if CONFIG_DEVEL
select BR2_PACKAGE_LIBCURL
- select BR2_PACKAGE_LIBOGG
- select BR2_PACKAGE_LIBVORBIS
+ select BR2_PACKAGE_LIBVORBISIDEC
select BR2_PACKAGE_LIBXML2
select BR2_PACKAGE_LIBXSLT
help
@@ -18,8 +17,7 @@ config BR2_PACKAGE_ICECAST
Depends:
* libcurl
- * libogg
- * libvorbis
+ * libvorbisidec
* libxml2
* libxslt
diff --git a/openwrt/package/icecast/ipkg/icecast.control b/openwrt/package/icecast/ipkg/icecast.control
index 8034359..f52dbbd 100644
--- a/openwrt/package/icecast/ipkg/icecast.control
+++ b/openwrt/package/icecast/ipkg/icecast.control
@@ -3,5 +3,5 @@ Priority: optional
Section: net
Maintainer: OpenWrt Developers Team <bugs@openwrt.org>
Source: http://openwrt.org/cgi-bin/viewcvs.cgi/openwrt/package/icecast/
-Depends: libcurl, libogg, libvorbis, libpthread, libxml2, libxslt
+Depends: libcurl, libvorbisidec, libpthread, libxml2, libxslt
Description: A streaming media server
diff --git a/openwrt/package/icecast/patches/01-icecast-2.3.0-tremor.patch b/openwrt/package/icecast/patches/01-icecast-2.3.0-tremor.patch
new file mode 100644
index 0000000..ed17084
--- /dev/null
+++ b/openwrt/package/icecast/patches/01-icecast-2.3.0-tremor.patch
@@ -0,0 +1,153 @@
+diff -rNu icecast-2.3.0.old/configure icecast-2.3.0.new/configure
+--- icecast-2.3.0.old/configure 2005-09-24 07:18:46.000000000 +1000
++++ icecast-2.3.0.new/configure 2005-10-07 22:08:29.000000000 +1000
+@@ -21967,7 +21967,7 @@
+ if test "${xt_cv_lib_ogg+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+- OGG_LIBS="-logg"
++ OGG_LIBS="-lvorbisidec"
+
+ #
+ # check if the installed Ogg is sufficiently new.
+@@ -22033,7 +22033,7 @@
+ cat confdefs.h >>conftest.$ac_ext
+ cat >>conftest.$ac_ext <<_ACEOF
+ /* end confdefs.h. */
+-#include <ogg/ogg.h>
++#include <tremor/ogg.h>
+ int
+ main ()
+ {
+@@ -22188,9 +22188,9 @@
+
+ fi
+
+-VORBIS_LIBS="-lvorbis"
+-VORBISFILE_LIBS="-lvorbisfile"
+-VORBISENC_LIBS="-lvorbisenc"
++VORBIS_LIBS="-lvorbisidec"
++VORBISFILE_LIBS="-lvorbisidec"
++VORBISENC_LIBS="-lvorbisidec"
+
+ xt_save_LIBS="$LIBS"
+ xt_save_LDFLAGS="$LDFLAGS"
+@@ -22327,17 +22327,18 @@
+ cat >>conftest.$ac_ext <<_ACEOF
+ /* end confdefs.h. */
+
+-#include <vorbis/codec.h>
+-#include <vorbis/vorbisenc.h>
++#include <tremor/ivorbiscodec.h>
+
+
+ int
+ main ()
+ {
++/*
+ if ((struct ovectl_ratemanage_arg *) 0)
+ return 0;
+ if (sizeof (struct ovectl_ratemanage_arg))
+ return 0;
++*/
+ ;
+ return 0;
+ }
+diff -rNu icecast-2.3.0.old/src/format_flac.c icecast-2.3.0.new/src/format_flac.c
+--- icecast-2.3.0.old/src/format_flac.c 2005-08-19 12:01:58.000000000 +1000
++++ icecast-2.3.0.new/src/format_flac.c 2005-10-07 22:10:24.000000000 +1000
+@@ -18,7 +18,7 @@
+ #endif
+
+ #include <stdlib.h>
+-#include <ogg/ogg.h>
++#include <tremor/ogg.h>
+ #include <string.h>
+
+ typedef struct source_tag source_t;
+diff -rNu icecast-2.3.0.old/src/format_midi.c icecast-2.3.0.new/src/format_midi.c
+--- icecast-2.3.0.old/src/format_midi.c 2005-08-19 12:01:58.000000000 +1000
++++ icecast-2.3.0.new/src/format_midi.c 2005-10-07 22:10:12.000000000 +1000
+@@ -18,7 +18,7 @@
+ #endif
+
+ #include <stdlib.h>
+-#include <ogg/ogg.h>
++#include <tremor/ogg.h>
+ #include <string.h>
+
+ typedef struct source_tag source_t;
+diff -rNu icecast-2.3.0.old/src/format_ogg.c icecast-2.3.0.new/src/format_ogg.c
+--- icecast-2.3.0.old/src/format_ogg.c 2005-08-19 12:01:58.000000000 +1000
++++ icecast-2.3.0.new/src/format_ogg.c 2005-10-07 22:10:02.000000000 +1000
+@@ -24,7 +24,7 @@
+ #include <stdlib.h>
+ #include <string.h>
+
+-#include <ogg/ogg.h>
++#include <tremor/ogg.h>
+
+ #include "refbuf.h"
+ #include "source.h"
+diff -rNu icecast-2.3.0.old/src/format_ogg.h icecast-2.3.0.new/src/format_ogg.h
+--- icecast-2.3.0.old/src/format_ogg.h 2005-08-19 12:01:58.000000000 +1000
++++ icecast-2.3.0.new/src/format_ogg.h 2005-10-07 22:09:51.000000000 +1000
+@@ -18,7 +18,7 @@
+ #ifndef __FORMAT_OGG_H__
+ #define __FORMAT_OGG_H__
+
+-#include <ogg/ogg.h>
++#include <tremor/ogg.h>
+ #include "refbuf.h"
+ #include "format.h"
+
+diff -rNu icecast-2.3.0.old/src/format_speex.c icecast-2.3.0.new/src/format_speex.c
+--- icecast-2.3.0.old/src/format_speex.c 2005-08-19 12:01:58.000000000 +1000
++++ icecast-2.3.0.new/src/format_speex.c 2005-10-07 22:09:44.000000000 +1000
+@@ -18,7 +18,7 @@
+ #endif
+
+ #include <stdlib.h>
+-#include <ogg/ogg.h>
++#include <tremor/ogg.h>
+ #include <speex/speex_header.h>
+
+ typedef struct source_tag source_t;
+diff -rNu icecast-2.3.0.old/src/format_theora.c icecast-2.3.0.new/src/format_theora.c
+--- icecast-2.3.0.old/src/format_theora.c 2005-08-19 12:01:58.000000000 +1000
++++ icecast-2.3.0.new/src/format_theora.c 2005-10-07 22:09:38.000000000 +1000
+@@ -18,7 +18,7 @@
+ #endif
+
+ #include <stdlib.h>
+-#include <ogg/ogg.h>
++#include <tremor/ogg.h>
+ #include <theora/theora.h>
+
+ typedef struct source_tag source_t;
+diff -rNu icecast-2.3.0.old/src/format_vorbis.c icecast-2.3.0.new/src/format_vorbis.c
+--- icecast-2.3.0.old/src/format_vorbis.c 2005-08-19 12:01:58.000000000 +1000
++++ icecast-2.3.0.new/src/format_vorbis.c 2005-10-07 22:09:29.000000000 +1000
+@@ -18,8 +18,8 @@
+ #endif
+
+ #include <stdlib.h>
+-#include <ogg/ogg.h>
+-#include <vorbis/codec.h>
++#include <tremor/ogg.h>
++#include <tremor/ivorbiscodec.h>
+ #include <memory.h>
+ #include <string.h>
+
+diff -rNu icecast-2.3.0.old/src/source.c icecast-2.3.0.new/src/source.c
+--- icecast-2.3.0.old/src/source.c 2005-09-23 06:19:28.000000000 +1000
++++ icecast-2.3.0.new/src/source.c 2005-10-07 22:09:17.000000000 +1000
+@@ -19,7 +19,7 @@
+ #include <stdlib.h>
+ #include <string.h>
+ #include <sys/types.h>
+-#include <ogg/ogg.h>
++#include <tremor/ogg.h>
+ #include <errno.h>
+
+ #ifndef _WIN32