[Pkg-voip-commits] [twinkle] 21/73: Imported Debian patch 1:0.9-1

Peter Colberg pc-guest at moszumanska.debian.org
Wed Jan 6 00:31:47 UTC 2016


This is an automated email from the git hooks/post-receive script.

pc-guest pushed a commit to branch master
in repository twinkle.

commit 6c6ee296f5d25e9cd751ff613588281730b62936
Merge: 38316bc 40d13af
Author: Mark Purcell <msp at debian.org>
Date:   Mon Oct 2 09:50:03 2006 +0800

    Imported Debian patch 1:0.9-1

 AUTHORS                                       |   9 +-
 ChangeLog                                     |  33 +
 NEWS                                          |  33 +
 README                                        |   7 +-
 configure                                     | 694 +++++++++++++-------
 configure.in                                  |  31 +-
 debian/README.Debian                          |   3 +-
 debian/changelog                              |   8 +
 debian/control                                |   2 +-
 debian/copyright                              |   6 +
 debian/patches/libgsm.patch                   |   4 +-
 src/audio/Makefile.am                         |   5 +-
 src/audio/Makefile.in                         |  13 +-
 src/audio/audio_codecs.cpp                    |   4 +
 src/audio/audio_codecs.h                      |   5 +
 src/audio/audio_decoder.cpp                   | 154 +++++
 src/audio/audio_decoder.h                     |  28 +
 src/audio/audio_device.cpp                    |   1 +
 src/audio/audio_encoder.cpp                   | 135 +++-
 src/audio/audio_encoder.h                     |  30 +
 src/audio/audio_rx.cpp                        |  20 +
 src/audio/audio_rx.h                          |   4 +-
 src/audio/audio_session.cpp                   | 137 +++-
 src/audio/audio_session.h                     |  30 +-
 src/audio/audio_tx.cpp                        |  83 ++-
 src/audio/audio_tx.h                          |   6 +-
 src/audio/g723_16.cpp                         | 181 ++++++
 src/audio/g72x.h                              |  10 +-
 src/audio/twinkle_rtp_session.cpp             |  88 ++-
 src/audio/twinkle_rtp_session.h               |  38 +-
 src/audio/twinkle_zrtp_ui.cpp                 | 157 +++++
 src/audio/twinkle_zrtp_ui.h                   |  56 ++
 src/audits/memman.cpp                         |  20 +-
 src/dialog.cpp                                | 108 +++-
 src/dialog.h                                  |   8 +-
 src/events.cpp                                |  24 +
 src/events.h                                  |  10 +
 src/gui/Makefile                              |  26 +-
 src/gui/gui.cpp                               | 181 +++++-
 src/gui/gui.h                                 |  24 +-
 src/gui/images/encrypted-disabled.png         | Bin 0 -> 481 bytes
 src/gui/images/encrypted.png                  | Bin 0 -> 693 bytes
 src/gui/images/encrypted32.png                | Bin 0 -> 1583 bytes
 src/gui/images/encrypted_verified.png         | Bin 0 -> 844 bytes
 src/gui/images/stat_conference.png            | Bin 0 -> 852 bytes
 src/gui/images/stat_established.png           | Bin 0 -> 830 bytes
 src/gui/images/stat_established_nomedia.png   | Bin 0 -> 531 bytes
 src/gui/images/stat_mute.png                  | Bin 0 -> 696 bytes
 src/gui/images/stat_outgoing.png              | Bin 0 -> 850 bytes
 src/gui/images/stat_ringing.png               | Bin 0 -> 581 bytes
 src/gui/images/sys_encrypted.png              | Bin 0 -> 1380 bytes
 src/gui/images/sys_encrypted_dis.png          | Bin 0 -> 813 bytes
 src/gui/images/sys_encrypted_verified.png     | Bin 0 -> 1471 bytes
 src/gui/images/sys_encrypted_verified_dis.png | Bin 0 -> 840 bytes
 src/gui/main.cpp                              |  26 +
 src/gui/mphoneform.ui                         | 890 ++++++++++++++++++++++----
 src/gui/mphoneform.ui.h                       | 407 +++++++++++-
 src/gui/selectnicform.ui                      |  47 +-
 src/gui/selectnicform.ui.h                    |  38 +-
 src/gui/srvredirectform.ui.h                  |   4 +-
 src/gui/syssettingsform.ui                    |  32 +-
 src/gui/syssettingsform.ui.h                  |  26 +
 src/gui/twinkle.pro                           |  16 +-
 src/gui/userprofileform.ui                    | 327 +++++++++-
 src/gui/userprofileform.ui.h                  |  72 +++
 src/line.cpp                                  | 170 ++++-
 src/line.h                                    |  29 +-
 src/listener.cpp                              |  22 +-
 src/main.cpp                                  |   4 +
 src/parser/definitions.cpp                    |   2 +
 src/parser/definitions.h                      |   1 +
 src/parser/sip_body.cpp                       |  72 +++
 src/parser/sip_body.h                         |  18 +-
 src/phone.cpp                                 | 187 ++++--
 src/phone.h                                   |  23 +-
 src/prohibit_thread.cpp                       |   2 +-
 src/prohibit_thread.h                         |   4 +-
 src/protocol.h                                |   1 +
 src/sdp/sdp.cpp                               |  63 +-
 src/sdp/sdp.h                                 |  13 +-
 src/session.cpp                               | 100 ++-
 src/session.h                                 |   1 +
 src/sockets/interfaces.cpp                    |  18 +
 src/sockets/interfaces.h                      |   3 +
 src/sys_settings.cpp                          |  73 ++-
 src/sys_settings.h                            |  11 +
 src/transaction_layer.cpp                     |   7 +-
 src/transaction_layer.h                       |   7 +-
 src/twinkle_config.h.in                       |   3 +
 src/user.cpp                                  | 191 +++++-
 src/user.h                                    |  43 +-
 src/userintf.cpp                              | 219 ++++++-
 src/userintf.h                                |  23 +
 src/util.cpp                                  |  36 +-
 src/util.h                                    |   3 +
 twinkle.spec.in                               |   8 +-
 96 files changed, 5076 insertions(+), 582 deletions(-)

diff --cc debian/README.Debian
index d2f2605,0000000..42a62ca
mode 100644,000000..100644
--- a/debian/README.Debian
+++ b/debian/README.Debian
@@@ -1,6 -1,0 +1,7 @@@
 +twinkle for Debian
 +------------------
 +
- Need to use Debian supplied libgsm, not included Twinkle libgsm.
++This package has been configured to use the Debian system shared library 
++libgsm, rather than libgsm included with twinkle.
 +
 + -- Mark Purcell <msp at debian.org>, Sun, 29 May 2005 09:40:22 +0100
diff --cc debian/changelog
index ee8479e,0000000..f5248c4
mode 100644,000000..100644
--- a/debian/changelog
+++ b/debian/changelog
@@@ -1,194 -1,0 +1,202 @@@
++twinkle (1:0.9-1) unstable; urgency=low
++
++  * New upstream release
++  * Update Build-Depends
++  * PRACK messages should be authenticated (Closes: #389252)
++
++ -- Mark Purcell <msp at debian.org>  Mon,  2 Oct 2006 09:50:03 +0800
++
 +twinkle (1:0.8.1-1) unstable; urgency=low
 +
 +  [ Kilian Krause ]
 +  * New upstream release. Ships without iLBC, therefore no need to repackage.
 +
 +  [ Mark Purcell ]
 +  * Cleanup debian/patches/libgsm.patch
 +  * Use upstream supplied sip.protocol & twinkle.desktop
 +
 + -- Mark Purcell <msp at debian.org>  Thu, 20 Jul 2006 19:33:00 +0100
 +
 +twinkle (0.8.dfsg-1) unstable; urgency=low
 +
 +  * New upstream release
 +  * Remove non-free iLBC code from DFSG release
 +
 + -- Mark Purcell <msp at debian.org>  Sun,  2 Jul 2006 21:37:09 +0100
 +
 +twinkle (0.7.1-2) unstable; urgency=low
 +
 +  * Enable sip URIs: debian/sip.protocol
 +    - Twinkle won't manage sip URI from Konqueror (Closes: #366975)
 +
 + -- Mark Purcell <msp at debian.org>  Fri, 12 May 2006 21:20:39 +0100
 +
 +twinkle (0.7.1-1) unstable; urgency=low
 +
 +  * New upstream release
 +
 + -- Mark Purcell <msp at debian.org>  Sun,  7 May 2006 23:00:03 +0100
 +
 +twinkle (0.7-1) unstable; urgency=low
 +
 +  * New upstream release
 +  * Update debian/control. Fixes FTBFS on kfreebsd-amd64: unsatisfied
 +     Build-Depends (Closes: #361483)
 +  * Rebuild with updated libccrtp & libcommoncpp2
 +    - Fixes: libccext2-1.3.so.1: cannot open shared object file (Closes: #362440)
 +  * Installed debian/twinkle.desktop. Fixes: please install a .desktop
 +  file (Closes: #358398)
 +  * Add Build-Depends: libspeex-dev
 +  * Modify debian/patches/libgsm.diff
 +
 + -- Mark Purcell <msp at debian.org>  Mon,  1 May 2006 12:21:03 +0100
 +
 +twinkle (0.6.2-1) unstable; urgency=low
 +
 +  * New upstream release
 +  * debian/patches/gui.cpp.diff removed as applied upstream
 +
 + -- Mark Purcell <msp at debian.org>  Sun, 26 Feb 2006 17:46:56 +0000
 +
 +twinkle (0.6.1-2) unstable; urgency=low
 +
 +  * Add debian/patches/libgsm.diff to use Build-Depends: libgsm1-dev
 +  * Add debian/patches/gui.cpp.diff (Closes: Bug#352534)
 +
 + -- Mark Purcell <msp at debian.org>  Tue, 21 Feb 2006 18:31:51 +0000
 +
 +twinkle (0.6.1-1) unstable; urgency=low
 +
 +  * New upstream release
 +
 + -- Mark Purcell <msp at debian.org>  Sun, 12 Feb 2006 08:06:44 +0000
 +
 +twinkle (0.6-1) UNRELEASED; urgency=low
 +
 +  * (NOT RELEASED YET) New upstream release
 +  * Add Build-Depends: libxpm-dev, libsndfile1-dev
 +
 + -- Mark Purcell <msp at debian.org>  Fri, 10 Feb 2006 10:32:07 +1100
 +
 +twinkle (0.5-1) unstable; urgency=low
 +
 +  * New upstream release
 +  * Don't ship upstream NEWS as it is a duplicate of upstream ChangeLog
 +  * Remove usr/sbin from debian/dirs
 +
 + -- Mark Purcell <msp at debian.org>  Tue, 17 Jan 2006 16:53:16 +0000
 +
 +twinkle (0.4.2-1) unstable; urgency=low
 +
 +  * New upstream release
 +    - Lines hang with "dialing" status (Closes: #340779)
 +    - does not play ringtone (Closes: #340233)
 +
 + -- Mark Purcell <msp at debian.org>  Tue, 29 Nov 2005 20:47:21 +0000
 +
 +twinkle (0.4.1-3) unstable; urgency=low
 +
 +  * Rebuild against kdelibs 3.4.2 for unstable
 +    - twinkle is not installable on sid (Closes: #340534)
 +  * Suggests: kaddressbook
 +
 + -- Mark Purcell <msp at debian.org>  Thu, 24 Nov 2005 07:34:45 +0000
 +
 +twinkle (0.4.1-2) unstable; urgency=low
 +
 +  * Rebuild against kdelibs 3.4.2
 +
 + -- Mark Purcell <msp at debian.org>  Tue, 22 Nov 2005 20:16:05 +0000
 +
 +twinkle (0.4.1-1) unstable; urgency=low
 +
 +  * New upstream release
 +    - FTBFS on 64 bit arches: cast from 'void*' to 'int' loses precision
 +    (Closes: #324395)
 +    - ftbfs [sparc] stun.cxx:680: error: 'gethrtime' was not declared in
 +    this scope (Closes: #336746)
 +  * Fix Build-Depends: FTBFS on GNU/kFreeBSD (Closes: #336859)
 +  * Copyright audit to debian/copyright
 +  * Use correct QTDIR=/usr/share/qt3, negates need for
 +    DEB_AUTO_UPDATE_AUTOCONF
 +  * Remove patch against configure.in
 +
 + -- Mark Purcell <msp at debian.org>  Sun, 20 Nov 2005 23:05:07 +0000
 +
 +twinkle (0.3.2-4) unstable; urgency=low
 +
 +  * Add Build-Depends: kdelibs4-dev kdelibs-bin, libasounds2-dev, libxml2-dev
 +    - fix ppc build (Closes: #325057)
 +  * Remove ppc-build patch, obsolete by upstream v 0.3
 +
 + -- Mark Purcell <msp at debian.org>  Sun, 30 Oct 2005 07:56:45 +0000
 +
 +twinkle (0.3.2-3) unstable; urgency=low
 +
 +  * Use DEB_AUTO_UPDATE_AUTOCONF to rebuild configure from patched
 +    configure.in. Ugly..
 +
 + -- Mark Purcell <msp at debian.org>  Sat, 29 Oct 2005 22:54:12 +0100
 +
 +twinkle (0.3.2-2) unstable; urgency=low
 +
 +  * Add Build-Depends: cdbs
 +
 + -- Mark Purcell <msp at debian.org>  Sat, 29 Oct 2005 17:45:43 +0100
 +
 +twinkle (0.3.2-1) unstable; urgency=low
 +
 +  * New upstream release
 +    - New upstream version available (Closes: #334615)
 +  * FTBFS on 64 bit arches: cast from 'void*' to 'int' loses precision
 +    (Closes: #324395)
 +  * Patch from Guido Guenther
 +    - fix ppc build (Closes: #325057)
 +  * Patch from Mikael Magnusson
 +    - Thread creation timing bug causes crashes (Closes: #329433)
 +  * Fix: old-fsf-address-in-copyright-file
 +
 + -- Mark Purcell <msp at debian.org>  Sat, 29 Oct 2005 16:46:40 +0100
 +
 +twinkle (0.3-1) unstable; urgency=low
 +
 +  [ Kilian Krause ]
 +  * Debian VoIP upload
 +
 +  [ Mark Purcell ]
 +  * New upstream release
 +  * Switch to cdbs!
 +
 + -- Mark Purcell <msp at debian.org>  Thu, 13 Oct 2005 18:12:02 +0100
 +
 +twinkle (0.2.1-2) unstable; urgency=low
 +
 +  * Build-Depends: libxml2-dev
 +
 + -- Mark Purcell <msp at debian.org>  Sun, 21 Aug 2005 15:55:13 +0100
 +
 +twinkle (0.2.1-1) unstable; urgency=low
 +
 +  * New upstream release
 +  * Build-Depends:  libccrtp-dev (>=1.3.4)
 +  * Add Build-Depends: qt3-apps-dev
 +  * Add Build-Depends: automake1.9
 +  * Export QTDIR for build target as well :-(
 +  * Update extended description
 +
 + -- Mark Purcell <msp at debian.org>  Sun, 21 Aug 2005 14:05:30 +0100
 +
 +twinkle (0.1-2) unstable; urgency=low
 +
 +  * C++ migration
 +  * Build-Depends:  libqt3-mt-dev (>= 3:3.3.4-4)
 +
 + -- Mark Purcell <msp at debian.org>  Thu, 18 Aug 2005 21:02:31 +0100
 +
 +twinkle (0.1-1) experimental; urgency=low
 +
 +  * Upload to experimental while c++ transition
 +  * Initial release Closes: #311150
 +
 + -- Mark Purcell <msp at debian.org>  Thu, 11 Aug 2005 22:16:20 +0100
 +
diff --cc debian/control
index 2ff73a9,0000000..c422072
mode 100644,000000..100644
--- a/debian/control
+++ b/debian/control
@@@ -1,43 -1,0 +1,43 @@@
 +Source: twinkle
 +Section: comm
 +Priority: optional
 +Maintainer: Debian VoIP Team <pkg-voip-maintainers at lists.alioth.debian.org>
 +Uploaders: Kilian Krause <kilian at debian.org>, Jose Carlos Garcia Sogo <jsogo at debian.org>, Mark Purcell <msp at debian.org>, Santiago Garcia Mantinan <manty at debian.org>
- Build-Depends: debhelper (>= 4.0.0), autotools-dev, libcommoncpp2-dev (>=1.3.10-4), libccrtp-dev (>=1.3.4), help2man, libqt3-mt-dev (>= 3:3.3.4-3), qt3-apps-dev, automake1.9, libxml2-dev, cdbs, kdelibs-bin, kdelibs4-dev, libasound2-dev [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386], libxml2-dev, libgsm1-dev, libsndfile1-dev, libxpm-dev, libspeex-dev, libboost-regex-dev
++Build-Depends: debhelper (>= 4.0.0), autotools-dev, libcommoncpp2-dev (>= 1.4.2), libccrtp-dev (>= 1.5.0), help2man, libqt3-mt-dev (>= 3:3.3.0), qt3-apps-dev, automake1.9, libxml2-dev, cdbs, kdelibs-bin, kdelibs4-dev, libasound2-dev [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386], libxml2-dev, libgsm1-dev, libsndfile1-dev, libxpm-dev, libspeex-dev, libboost-regex-dev
 +Standards-Version: 3.6.1
 +
 +Package: twinkle
 +Architecture: any
 +Depends: ${shlibs:Depends}, ${misc:Depends}
 +Suggests: kaddressbook
 +Description: Voice over Internet Protocol (VoIP) SIP Phone
 + Softphone for making telephone calls using SIP over an IP network.
 + .
 + Twinkle supports direct IP phone to IP phone communication or a network
 + using a SIP proxy to route your calls.
 + .
 + In addition to making basic voice calls Twinkle provides you the
 + following features regardless of the services that your VoIP service
 + provider might offer. 
 + .
 +  2 call appearances (lines)
 +  Call Waiting
 +  Call Hold
 +  3-way conference calling
 +  Mute
 +  Call redirection on demand
 +  Call redirection unconditional
 +  Call redirection when busy
 +  Call redirection no answer
 +  Reject call redirection request
 +  Blind call transfer
 +  Reject call transfer request
 +  Call reject
 +  Do not disturb
 +  Auto answer 
 +  Send DTMF digits (RFC 2833) to navigate IVR systems
 +  STUN support for NAT traversal
 +  Send NAT keep alive packets when using STUN
 +  NAT traversal through static provisioning
 + .
 + Website: http://www.twinklephone.com
diff --cc debian/copyright
index 05638af,0000000..dbcea69
mode 100644,000000..100644
--- a/debian/copyright
+++ b/debian/copyright
@@@ -1,119 -1,0 +1,125 @@@
 +This package was debianized by Mark Purcell <msp at debian.org> on
 +Sun, 29 May 2005 09:40:22 +0100.
 +
 +It was downloaded from http://www.twinklephone.com/
 +
 +In order to make twinkle DFSG compliant the audio/ilbc portion of code
 +has been removed and the package as been built with 
 +	./configure --without-ilbc
 +
 +Copyright Holder: 
 + 
 +Author of Twinkle.
 +
 +Michel de Boer <michel at twinklephone.com> designed and implemented Twinkle.
 +
 +License:
 +
 +   This package is free software; you can redistribute it and/or modify
 +   it under the terms of the GNU General Public License as published by
 +   the Free Software Foundation; either version 2 of the License, or
 +   (at your option) any later version.
 +
 +   This package is distributed in the hope that it will be useful,
 +   but WITHOUT ANY WARRANTY; without even the implied warranty of
 +   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 +   GNU General Public License for more details.
 +
 +   You should have received a copy of the GNU General Public License
 +   along with this package; if not, write to the Free Software
 +   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
 +   MA 02110-1301, USA.
 +
 +On Debian systems, the complete text of the GNU General
 +Public License can be found in `/usr/share/common-licenses/GPL'.
 +
 +Twinkle contains the following 3rd party software packages:
 +- GSM codec from Jutta Degener and Carsten Bormann
 +
 +Copyright 1992, 1993, 1994 by Jutta Degener and Carsten Bormann,
 +Technische Universitaet Berlin
 +
 +Any use of this software is permitted provided that this notice is not
 +removed and that neither the authors nor the Technische Universitaet Berlin
 +are deemed to have made any representations as to the suitability of this
 +software for any purpose nor are held responsible for any defects of
 +this software.  THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE.
 +
 +As a matter of courtesy, the authors request to be informed about uses
 +this software has found, about bugs in this software, and about any
 +improvements that may be of general interest.
 +
 +Berlin, 28.11.1994
 +Jutta Degener
 +Carsten Bormann
 +
 +- G.711 codec from Sun Microsystems
 +The files in this directory comprise ANSI-C language reference implementations
 +of the CCITT (International Telegraph and Telephone Consultative Committee)
 +G.711, G.721 and G.723 voice compressions.  They have been tested on Sun
 +SPARCstations and passed 82 out of 84 test vectors published by CCITT
 +(Dec. 20, 1988) for G.721 and G.723.  [The two remaining test vectors,
 +which the G.721 decoder implementation for u-law samples did not pass,
 +may be in error because they are identical to two other vectors for G.723_40.]
 +
 +This source code is released by Sun Microsystems, Inc. to the public domain.
 +Please give your acknowledgement in product literature if this code is used
 +in your product implementation.
 +
 +
 +src/stun/stun.*
 +/* ====================================================================
 + * The Vovida Software License, Version 1.0 
 + * 
 + * Copyright (c) 2000 Vovida Networks, Inc.  All rights reserved.
 + * 
 + * Redistribution and use in source and binary forms, with or without
 + * modification, are permitted provided that the following conditions
 + * are met:
 + * 
 + * 1. Redistributions of source code must retain the above copyright
 + *    notice, this list of conditions and the following disclaimer.
 + * 
 + * 2. Redistributions in binary form must reproduce the above copyright
 + *    notice, this list of conditions and the following disclaimer in
 + *    the documentation and/or other materials provided with the
 + *    distribution.
 + * 
 + * 3. The names "VOCAL", "Vovida Open Communication Application Library",
 + *    and "Vovida Open Communication Application Library (VOCAL)" must
 + *    not be used to endorse or promote products derived from this
 + *    software without prior written permission. For written
 + *    permission, please contact vocal at vovida.org.
 + *
 + * 4. Products derived from this software may not be called "VOCAL", nor
 + *    may "VOCAL" appear in their name, without prior written
 + *    permission of Vovida Networks, Inc.
 + * 
 + * THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESSED OR IMPLIED
 + * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
 + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND
 + * NON-INFRINGEMENT ARE DISCLAIMED.  IN NO EVENT SHALL VOVIDA
 + * NETWORKS, INC. OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT DAMAGES
 + * IN EXCESS OF $1,000, NOR FOR ANY INDIRECT, INCIDENTAL, SPECIAL,
 + * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
 + * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
 + * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
 + * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
 + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
 + * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
 + * DAMAGE.
 + * 
 + * ====================================================================
 + * 
 + * This software consists of voluntary contributions made by Vovida
 + * Networks, Inc. and many individuals on behalf of Vovida Networks,
 + * Inc.  For more information on Vovida Networks, Inc., please see
 + * <http://www.vovida.org/>.
 + *
 + */
++
++src/sockets/dnssrv.cpp:
++   This software is copyrighted (c) 2002 Rick van Rein, the Netherlands.
++
++   This software has been modified by Michel de Boer. 2005
++
diff --cc debian/patches/libgsm.patch
index 192f218,0000000..3588c74
mode 100644,000000..100644
--- a/debian/patches/libgsm.patch
+++ b/debian/patches/libgsm.patch
@@@ -1,80 -1,0 +1,80 @@@
 +diff -Nur twinkle-0.8.1/configure.in twinkle-0.8.1.new/configure.in
 +--- twinkle-0.8.1/configure.in	2006-07-19 21:53:07.000000000 +0100
 ++++ twinkle-0.8.1.new/configure.in	2006-07-19 21:53:30.000000000 +0100
 +@@ -135,6 +135,17 @@
 + AC_CHECK_LIB(sndfile, sf_open, [], 
 + 	[AC_MSG_ERROR([libsndfile library is missing.])])
 + 
 ++# Check if libgsm is available
 ++AC_CHECK_LIB(gsm, sf_open, [
 ++	AC_CHECK_HEADER(gsm.h, [],
 ++		[AC_MSG_ERROR([gsm header files missing (gsm.h)])])
 ++	AC_DEFINE(HAVE_GSM, 1, [Define to 1 if you have the <libgsm> library.])
 ++	LIBS="-lgsm $LIBS"
 ++	echo "LIBS += -lgsm" >> $QT_INCL_PRO
 ++	have_gsm="yes" ], [
 ++	have_gsm="no"
 ++	echo "$(top_builddir)/src/audio/gsm/libgsm.a" >> $QT_INCL_PRO ])
 ++
 + # Check if ALSA is available
 + AC_CHECK_LIB(asound, main, [
 + 	AC_CHECK_HEADER(alsa/asoundlib.h, [],
 +diff -Nur twinkle-0.8.1/src/Makefile.am twinkle-0.8.1.new/src/Makefile.am
 +--- twinkle-0.8.1/src/Makefile.am	2006-07-19 21:53:07.000000000 +0100
 ++++ twinkle-0.8.1.new/src/Makefile.am	2006-07-19 21:53:45.000000000 +0100
 +@@ -16,10 +16,10 @@
 +         $(top_builddir)/src/sockets/libsocket.a\
 +         $(top_builddir)/src/threads/libthread.a\
 +         $(top_builddir)/src/audio/libaudio.a\
 +-        $(top_builddir)/src/audio/gsm/libgsm.a\
 +         $(top_builddir)/src/audits/libaudits.a\
 +         $(top_builddir)/src/stun/libstun.a\
 + 	$(CCRTP_LIBS)\
 ++	$(LIBS)\
 + 	-lresolv\
 + 	-lsndfile\
 + 	-lboost_regex
 +diff -Nur twinkle-0.8.1/src/audio/audio_decoder.h twinkle-0.8.1.new/src/audio/audio_decoder.h
 +--- twinkle-0.8.1/src/audio/audio_decoder.h	2006-07-19 21:53:08.000000000 +0100
 ++++ twinkle-0.8.1.new/src/audio/audio_decoder.h	2006-07-19 21:53:30.000000000 +0100
 +@@ -25,7 +25,12 @@
 + #include "twinkle_config.h"
 + #include "audio_codecs.h"
 + #include "user.h"
 ++
 ++#ifdef HAVE_GSM
- +#include <gsm.h>
+++#include <gsm/gsm.h>
 ++#else
 + #include "gsm/inc/gsm.h"
 ++#endif
 + 
 + #ifdef HAVE_SPEEX
 + #include <speex/speex.h>
 +diff -Nur twinkle-0.8.1/src/audio/audio_encoder.h twinkle-0.8.1.new/src/audio/audio_encoder.h
 +--- twinkle-0.8.1/src/audio/audio_encoder.h	2006-07-19 21:53:08.000000000 +0100
 ++++ twinkle-0.8.1.new/src/audio/audio_encoder.h	2006-07-19 21:53:30.000000000 +0100
 +@@ -25,7 +25,12 @@
 + #include "twinkle_config.h"
 + #include "audio_codecs.h"
 + #include "user.h"
 ++
 ++#ifdef HAVE_GSM
- +#include <gsm.h>
+++#include <gsm/gsm.h>
 ++#else
 + #include "gsm/inc/gsm.h"
 ++#endif
 + 
 + #ifdef HAVE_SPEEX
 + #include <speex/speex.h>
 +diff -Nur twinkle-0.8.1/src/gui/twinkle.pro twinkle-0.8.1.new/src/gui/twinkle.pro
 +--- twinkle-0.8.1/src/gui/twinkle.pro	2006-07-19 21:53:08.000000000 +0100
 ++++ twinkle-0.8.1.new/src/gui/twinkle.pro	2006-07-19 21:53:30.000000000 +0100
 +@@ -3,7 +3,7 @@
 + 
 + CONFIG	+= qt warn_off release thread
 + 
 +-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
 ++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
 + 
 + DEFINES	+= QT_NO_STL
 + 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-voip/twinkle.git



More information about the Pkg-voip-commits mailing list