]> git.pld-linux.org Git - packages/twinkle.git/blame - twinkle-gsm.patch
- tabs in preamble
[packages/twinkle.git] / twinkle-gsm.patch
CommitLineData
54889509
KK
1--- twinkle-0.8.1/configure.in.orig 2006-07-09 16:09:11.000000000 +0200
2+++ twinkle-0.8.1/configure.in 2006-07-10 17:24:58.371947250 +0200
3@@ -160,6 +160,12 @@
4 have_speex="no"
5 fi
604c6d70
AM
6
7+# Check if libgsm is available
8+AC_CHECK_LIB(gsm, sf_open, [],
9+ [AC_MSG_ERROR([libgsm library is missing.])])
10+AC_CHECK_HEADER(gsm.h, [],
c24d9d71 11+ [AC_MSG_ERROR([gsm header files missing (gsm.h)])])
604c6d70 12+
244efb2a
KK
13 # iLBC
14 if test "x$ac_cv_ilbc" = "xyes"
15 then
54889509 16@@ -196,7 +202,7 @@
c24d9d71
KK
17 PARSER_CXXFLAGS=`echo $CXXFLAGS | sed -e "s/\-O2//;s/\-Os//"`
18 AC_SUBST(PARSER_CXXFLAGS)
19
20-AC_OUTPUT(Makefile src/Makefile src/audio/Makefile src/audio/gsm/Makefile \
54889509 21+AC_OUTPUT(Makefile src/Makefile src/audio/Makefile \
c24d9d71
KK
22 src/audits/Makefile src/sdp/Makefile src/parser/Makefile \
23 src/sockets/Makefile src/stun/Makefile src/threads/Makefile \
24 twinkle.spec)
244efb2a
KK
25--- twinkle-0.8/src/audio/audio_decoder.h.orig 2006-05-13 10:24:32.000000000 +0200
26+++ twinkle-0.8/src/audio/audio_decoder.h 2006-07-02 08:20:45.948399750 +0200
27@@ -25,7 +25,7 @@
28 #include "twinkle_config.h"
29 #include "audio_codecs.h"
30 #include "user.h"
31-#include "gsm/inc/gsm.h"
32+#include <gsm.h>
33
34 #ifdef HAVE_SPEEX
35 #include <speex/speex.h>
c24d9d71
KK
36--- twinkle-0.7/src/audio/audio_encoder.h.orig 2006-04-16 20:51:14.000000000 +0200
37+++ twinkle-0.7/src/audio/audio_encoder.h 2006-04-30 15:40:37.000000000 +0200
38@@ -25,7 +25,7 @@
39 #include "twinkle_config.h"
40 #include "audio_codecs.h"
604c6d70 41 #include "user.h"
604c6d70
AM
42-#include "gsm/inc/gsm.h"
43+#include <gsm.h>
604c6d70 44
c24d9d71
KK
45 #ifdef HAVE_SPEEX
46 #include <speex/speex.h>
244efb2a
KK
47--- twinkle-0.8/src/audio/audio_tx.h.orig 2006-05-13 09:50:14.000000000 +0200
48+++ twinkle-0.8/src/audio/audio_tx.h 2006-07-02 08:22:38.423429000 +0200
49@@ -30,7 +30,7 @@
604c6d70 50 #include "rtp_telephone_event.h"
244efb2a 51 #include "user.h"
604c6d70
AM
52 #include "threads/mutex.h"
53-#include "gsm/inc/gsm.h"
54+#include <gsm.h>
55 #include "audio_device.h"
56 #include "twinkle_rtp_session.h"
244efb2a 57 #include "twinkle_config.h"
54889509
KK
58--- twinkle-0.8.1/src/audio/Makefile.am.orig 2006-07-07 20:39:35.000000000 +0200
59+++ twinkle-0.8.1/src/audio/Makefile.am 2006-07-10 17:28:47.042238250 +0200
244efb2a 60@@ -37,6 +37,6 @@
604c6d70
AM
61 tone_gen.h\
62 twinkle_rtp_session.h
63
54889509
KK
64-SUBDIRS = gsm
65+SUBDIRS =
244efb2a 66
604c6d70 67 EXTRA_DIST = README_G711
54889509
KK
68--- twinkle-0.8.1/src/gui/twinkle.pro.orig 2006-07-07 20:44:07.000000000 +0200
69+++ twinkle-0.8.1/src/gui/twinkle.pro 2006-07-10 17:31:41.241125000 +0200
604c6d70
AM
70@@ -3,7 +3,7 @@
71
72 CONFIG += qt warn_off release thread
73
54889509
KK
74-LIBS += ../libtwinkle.a ../parser/libsipparser.a ../sdp/libsdpparser.a ../sockets/libsocket.a ../threads/libthread.a ../audio/libaudio.a ../audio/gsm/libgsm.a ../audits/libaudits.a ../stun/libstun.a -lresolv -lsndfile -lboost_regex
75+LIBS += ../libtwinkle.a ../parser/libsipparser.a ../sdp/libsdpparser.a ../sockets/libsocket.a ../threads/libthread.a ../audio/libaudio.a ../audits/libaudits.a ../stun/libstun.a -lresolv -lsndfile -lboost_regex -lgsm
604c6d70
AM
76
77 DEFINES += QT_NO_STL
78
54889509
KK
79--- twinkle-0.8.1/src/Makefile.am.orig 2006-07-07 22:19:03.000000000 +0200
80+++ twinkle-0.8.1/src/Makefile.am 2006-07-10 17:33:35.144243500 +0200
81@@ -16,12 +16,12 @@
604c6d70
AM
82 $(top_builddir)/src/sockets/libsocket.a\
83 $(top_builddir)/src/threads/libthread.a\
84 $(top_builddir)/src/audio/libaudio.a\
85- $(top_builddir)/src/audio/gsm/libgsm.a\
86 $(top_builddir)/src/audits/libaudits.a\
87 $(top_builddir)/src/stun/libstun.a\
88 $(CCRTP_LIBS)\
89 -lresolv\
244efb2a 90 -lsndfile\
54889509 91+ -lgsm\
244efb2a 92 -lboost_regex
604c6d70
AM
93
94 libtwinkle_a_SOURCES =\
This page took 0.152678 seconds and 4 git commands to generate.