[Pkg-voip-commits] r6046 - in /opal/branches/experimental: ./ debian/ debian/patches/
dedu-guest at alioth.debian.org
dedu-guest at alioth.debian.org
Tue Aug 19 08:59:16 UTC 2008
Author: dedu-guest
Date: Tue Aug 19 08:59:16 2008
New Revision: 6046
URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=6046
Log:
New opal version in experimental.
Added:
opal/branches/experimental/
opal/branches/experimental/debian/
opal/branches/experimental/debian/changelog
opal/branches/experimental/debian/compat
opal/branches/experimental/debian/control
opal/branches/experimental/debian/copyright
opal/branches/experimental/debian/dirs
opal/branches/experimental/debian/libopal-dev.dirs
opal/branches/experimental/debian/libopal-doc.docs
opal/branches/experimental/debian/patches/
opal/branches/experimental/debian/patches/00list
opal/branches/experimental/debian/patches/00list.alpha
opal/branches/experimental/debian/patches/alpha-no-relax.dpatch
opal/branches/experimental/debian/patches/libname.dpatch
opal/branches/experimental/debian/patches/remove_ilbc.dpatch
opal/branches/experimental/debian/patches/speex-remove-version-cmp.dpatch
opal/branches/experimental/debian/patches/speexcodec.dpatch
opal/branches/experimental/debian/rules
opal/branches/experimental/debian/simpleopal.dirs
opal/branches/experimental/debian/watch
Added: opal/branches/experimental/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-voip/opal/branches/experimental/debian/changelog?rev=6046&op=file
==============================================================================
--- opal/branches/experimental/debian/changelog (added)
+++ opal/branches/experimental/debian/changelog Tue Aug 19 08:59:16 2008
@@ -1,0 +1,19 @@
+opal (0.svn20080816-1) experimental; urgency=low
+
+ * First upload to debian.
+
+ -- Eugen Dedu <Eugen.Dedu at pu-pm.univ-fcomte.fr> Sun, 16 Aug 2008 00:00:00 +0200
+
+opal-snapshot (20080418-1) voip; urgency=low
+
+ * Built from SVN snapshots. No package support, please refer to
+ irc.gimp.net channel #ekiga for support. Do not complain about
+ these debs at Debian BTS!
+
+ -- Eugen Dedu <Eugen.Dedu at pu-pm.univ-fcomte.fr> Sun, 18 Apr 2008 00:00:00 +0200
+
+opal-snapshot (20071107-03-sid.2) voip-snapshots-debian-sid; urgency=high
+
+ * This is the CVS version! Do not complain about these debs at Debian BTS!
+
+ -- Kilian Krause <kk at verfaction.de> Sun, 13 Mar 2005 19:14:36 +0100
Added: opal/branches/experimental/debian/compat
URL: http://svn.debian.org/wsvn/pkg-voip/opal/branches/experimental/debian/compat?rev=6046&op=file
==============================================================================
--- opal/branches/experimental/debian/compat (added)
+++ opal/branches/experimental/debian/compat Tue Aug 19 08:59:16 2008
@@ -1,0 +1,1 @@
+5
Added: opal/branches/experimental/debian/control
URL: http://svn.debian.org/wsvn/pkg-voip/opal/branches/experimental/debian/control?rev=6046&op=file
==============================================================================
--- opal/branches/experimental/debian/control (added)
+++ opal/branches/experimental/debian/control Tue Aug 19 08:59:16 2008
@@ -1,0 +1,78 @@
+Source: opal
+Section: libs
+Priority: optional
+Maintainer: Debian VoIP Team <pkg-voip-maintainers at lists.alioth.debian.org>
+Uploaders: Kilian Krause <kilian at debian.org>, Mark Purcell <msp at debian.org>, Faidon Liambotis <paravoid at debian.org>
+Build-Depends: debhelper (>= 4.0.2), libpt-2.3-dev, dpatch, doxygen, autotools-dev, libspeex-dev, libspeexdsp-dev, pkg-config, libtheora-dev
+Build-Conflicts: libopal-snapshot-dev, libopal-dev, libopal-2.2, libopal-2.2.0, libopal-2.2-ptrace, libopal-2.2-develop
+Standards-Version: 3.8.0.0
+Homepage: http://www.opalvoip.org/
+Vcs-Svn: svn://svn.debian.org/pkg-voip/opal/trunk/
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-voip/opal/?op=log
+
+Package: libopal-3.3
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}
+Conflicts: libopal-2.2-ptrace, libopal-2.2-develop, libopal-2.2.0
+Description: Open Phone Abstraction Library - successor of OpenH323
+ This package contains the shared version of the OPAL library.
+ .
+ The OPAL project aims to create a full featured, interoperable, Open Source
+ implementation of the H.323 and SIP protocols that can be used freely by
+ everybody. These protocols are most used for Voice over IP (VoIP)
+ conferencing.
+
+Package: libopal-3.3-dev
+Section: libdevel
+Architecture: any
+Conflicts: openmpi-dev
+Depends: libopal-3.3 (= ${binary:Version}), libpt-2.3-dev
+Description: OPAL library header files
+ This package contains the headers and a static version of the
+ OPAL library.
+ .
+ The OPAL project aims to create a full featured, interoperable, Open Source
+ implementation of the H.323 and SIP protocols that can be used freely by
+ everybody. These protocols are most used for Voice over IP (VoIP)
+ conferencing.
+
+Package: simpleopal
+Section: comm
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: Simple example from the OPAL project
+ This package contains a small H323 and SIP client given as an example. You
+ can find its code on the doc package.
+ .
+ The OPAL project aims to create a full featured, interoperable, Open Source
+ implementation of the H.323 and SIP protocols that can be used freely by
+ everybody. These protocols are most used for Voice over IP (VoIP)
+ conferencing.
+
+Package: libopal-3.3-dbg
+Section: libdevel
+Priority: extra
+Depends: libopal-3.3 (= ${binary:Version})
+Architecture: any
+Description: OPAL library debug symbols
+ This package contains the shared and static debug symbols of the
+ OPAL library.
+ .
+ The OPAL project aims to create a full featured, interoperable, Open Source
+ implementation of the H.323 and SIP protocols that can be used freely by
+ everybody. These protocols are most used for Voice over IP (VoIP)
+ conferencing.
+
+Package: libopal-3.3-doc
+Section: doc
+Priority: extra
+Architecture: all
+Description: OPAL library documentation files
+ This package contains the documentation and samples to program with
+ the OPAL library.
+ .
+ The OPAL project aims to create a full featured, interoperable, Open Source
+ implementation of the H.323 and SIP protocols that can be used freely by
+ everybody. These protocols are most used for Voice over IP (VoIP)
+ conferencing.
Added: opal/branches/experimental/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-voip/opal/branches/experimental/debian/copyright?rev=6046&op=file
==============================================================================
--- opal/branches/experimental/debian/copyright (added)
+++ opal/branches/experimental/debian/copyright Tue Aug 19 08:59:16 2008
@@ -1,0 +1,484 @@
+This is the Debian GNU/Linux packaged version of OPAL.
+
+The author of this software is Equivalence Pty. Ltd.
+Some parts of the code have different authors, see below.
+
+Original packaging for Debian by
+ Kilian Krause <kk at verfaction.de>
+ (derived from openh323)
+Actual packaging and maintainer for Debian by
+ Eugen Dedu <Eugen.Dedu at pu-pm.univ-fcomte.fr>
+The sources were downloaded from:
+ https://opalvoip.svn.sourceforge.net/svnroot/opalvoip/opal/trunk
+(stable releases are downloaded from
+http://www.voxgratia.org/downloads.html)
+
+This software is released under the terms of the MPL (Mozilla Public
+license), though there are some parts that are covered by other
+licenses and copyright (see below).
+
+ MOZILLA PUBLIC LICENSE
+ Version 1.0
+ ----------------
+
+1. Definitions.
+
+ 1.1. ``Contributor'' means each entity that creates or contributes to
+ the creation of Modifications.
+
+ 1.2. ``Contributor Version'' means the combination of the Original
+ Code, prior Modifications used by a Contributor, and the Modifications
+ made by that particular Contributor.
+
+ 1.3. ``Covered Code'' means the Original Code or Modifications or the
+ combination of the Original Code and Modifications, in each case
+ including portions thereof.
+
+ 1.4. ``Electronic Distribution Mechanism'' means a mechanism generally
+ accepted in the software development community for the electronic
+ transfer of data.
+
+ 1.5. ``Executable'' means Covered Code in any form other than Source
+ Code.
+
+ 1.6. ``Initial Developer'' means the individual or entity identified as
+ the Initial Developer in the Source Code notice required by Exhibit A.
+
+ 1.7. ``Larger Work'' means a work which combines Covered Code or
+ portions thereof with code not governed by the terms of this License.
+
+ 1.8. ``License'' means this document.
+
+ 1.9. ``Modifications'' means any addition to or deletion from the
+ substance or structure of either the Original Code or any previous
+ Modifications. When Covered Code is released as a series of files, a
+ Modification is:
+
+ A. Any addition to or deletion from the contents of a file
+ containing Original Code or previous Modifications.
+
+ B. Any new file that contains any part of the Original Code or
+ previous Modifications.
+
+ 1.10. ``Original Code'' means Source Code of computer software code
+ which is described in the Source Code notice required by Exhibit A as
+ Original Code, and which, at the time of its release under this License
+ is not already Covered Code governed by this License.
+
+ 1.11. ``Source Code'' means the preferred form of the Covered Code for
+ making modifications to it, including all modules it contains, plus any
+ associated interface definition files, scripts used to control
+ compilation and installation of an Executable, or a list of source code
+ differential comparisons against either the Original Code or another
+ well known, available Covered Code of the Contributor's choice. The
+ Source Code can be in a compressed or archival form, provided the
+ appropriate decompression or de-archiving software is widely available
+ for no charge.
+
+ 1.12. ``You'' means an individual or a legal entity exercising rights
+ under, and complying with all of the terms of, this License or a future
+ version of this License issued under Section 6.1. For legal entities,
+ ``You'' includes any entity which controls, is controlled by, or is
+ under common control with You. For purposes of this definition,
+ ``control'' means (a) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (b) ownership of fifty percent (50%) or more of the
+ outstanding shares or beneficial ownership of such entity.
+
+2. Source Code License.
+
+ 2.1. The Initial Developer Grant.
+ The Initial Developer hereby grants You a world-wide, royalty-free,
+ non-exclusive license, subject to third party intellectual property
+ claims:
+
+ (a) to use, reproduce, modify, display, perform, sublicense and
+ distribute the Original Code (or portions thereof) with or without
+ Modifications, or as part of a Larger Work; and
+
+ (b) under patents now or hereafter owned or controlled by Initial
+ Developer, to make, have made, use and sell (``Utilize'') the
+ Original Code (or portions thereof), but solely to the extent that
+ any such patent is reasonably necessary to enable You to Utilize
+ the Original Code (or portions thereof) and not to any greater
+ extent that may be necessary to Utilize further Modifications or
+ combinations.
+
+ 2.2. Contributor Grant.
+ Each Contributor hereby grants You a world-wide, royalty-free,
+ non-exclusive license, subject to third party intellectual property
+ claims:
+
+ (a) to use, reproduce, modify, display, perform, sublicense and
+ distribute the Modifications created by such Contributor (or
+ portions thereof) either on an unmodified basis, with other
+ Modifications, as Covered Code or as part of a Larger Work; and
+
+ (b) under patents now or hereafter owned or controlled by
+ Contributor, to Utilize the Contributor Version (or portions
+ thereof), but solely to the extent that any such patent is
+ reasonably necessary to enable You to Utilize the Contributor
+ Version (or portions thereof), and not to any greater extent that
+ may be necessary to Utilize further Modifications or combinations.
+
+3. Distribution Obligations.
+
+ 3.1. Application of License.
+ The Modifications which You create or to which You contribute are
+ governed by the terms of this License, including without limitation
+ Section 2.2. The Source Code version of Covered Code may be distributed
+ only under the terms of this License or a future version of this
+ License released under Section 6.1, and You must include a copy of this
+ License with every copy of the Source Code You distribute. You may not
+ offer or impose any terms on any Source Code version that alters or
+ restricts the applicable version of this License or the recipients'
+ rights hereunder. However, You may include an additional document
+ offering the additional rights described in Section 3.5.
+
+ 3.2. Availability of Source Code.
+ Any Modification which You create or to which You contribute must be
+ made available in Source Code form under the terms of this License
+ either on the same media as an Executable version or via an accepted
+ Electronic Distribution Mechanism to anyone to whom you made an
+ Executable version available; and if made available via Electronic
+ Distribution Mechanism, must remain available for at least twelve (12)
+ months after the date it initially became available, or at least six
+ (6) months after a subsequent version of that particular Modification
+ has been made available to such recipients. You are responsible for
+ ensuring that the Source Code version remains available even if the
+ Electronic Distribution Mechanism is maintained by a third party.
+
+ 3.3. Description of Modifications.
+ You must cause all Covered Code to which you contribute to contain a
+ file documenting the changes You made to create that Covered Code and
+ the date of any change. You must include a prominent statement that the
+ Modification is derived, directly or indirectly, from Original Code
+ provided by the Initial Developer and including the name of the Initial
+ Developer in (a) the Source Code, and (b) in any notice in an
+ Executable version or related documentation in which You describe the
+ origin or ownership of the Covered Code.
+
+ 3.4. Intellectual Property Matters
+
+ (a) Third Party Claims.
+ If You have knowledge that a party claims an intellectual property
+ right in particular functionality or code (or its utilization
+ under this License), you must include a text file with the source
+ code distribution titled ``LEGAL'' which describes the claim and
+ the party making the claim in sufficient detail that a recipient
+ will know whom to contact. If you obtain such knowledge after You
+ make Your Modification available as described in Section 3.2, You
+ shall promptly modify the LEGAL file in all copies You make
+ available thereafter and shall take other steps (such as notifying
+ appropriate mailing lists or newsgroups) reasonably calculated to
+ inform those who received the Covered Code that new knowledge has
+ been obtained.
+
+ (b) Contributor APIs.
+ If Your Modification is an application programming interface and
+ You own or control patents which are reasonably necessary to
+ implement that API, you must also include this information in the
+ LEGAL file.
+
+ 3.5. Required Notices.
+ You must duplicate the notice in Exhibit A in each file of the Source
+ Code, and this License in any documentation for the Source Code, where
+ You describe recipients' rights relating to Covered Code. If You
+ created one or more Modification(s), You may add your name as a
+ Contributor to the notice described in Exhibit A. If it is not possible
+ to put such notice in a particular Source Code file due to its
+ structure, then you must include such notice in a location (such as a
+ relevant directory file) where a user would be likely to look for such
+ a notice. You may choose to offer, and to charge a fee for, warranty,
+ support, indemnity or liability obligations to one or more recipients
+ of Covered Code. However, You may do so only on Your own behalf, and
+ not on behalf of the Initial Developer or any Contributor. You must
+ make it absolutely clear than any such warranty, support, indemnity or
+ liability obligation is offered by You alone, and You hereby agree to
+ indemnify the Initial Developer and every Contributor for any liability
+ incurred by the Initial Developer or such Contributor as a result of
+ warranty, support, indemnity or liability terms You offer.
+
+ 3.6. Distribution of Executable Versions.
+ You may distribute Covered Code in Executable form only if the
+ requirements of Section 3.1-3.5 have been met for that Covered Code,
+ and if You include a notice stating that the Source Code version of the
+ Covered Code is available under the terms of this License, including a
+ description of how and where You have fulfilled the obligations of
+ Section 3.2. The notice must be conspicuously included in any notice in
+ an Executable version, related documentation or collateral in which You
+ describe recipients' rights relating to the Covered Code. You may
+ distribute the Executable version of Covered Code under a license of
+ Your choice, which may contain terms different from this License,
+ provided that You are in compliance with the terms of this License and
+ that the license for the Executable version does not attempt to limit
+ or alter the recipient's rights in the Source Code version from the
+ rights set forth in this License. If You distribute the Executable
+ version under a different license You must make it absolutely clear
+ that any terms which differ from this License are offered by You alone,
+ not by the Initial Developer or any Contributor. You hereby agree to
+ indemnify the Initial Developer and every Contributor for any liability
+ incurred by the Initial Developer or such Contributor as a result of
+ any such terms You offer.
+
+ 3.7. Larger Works.
+ You may create a Larger Work by combining Covered Code with other code
+ not governed by the terms of this License and distribute the Larger
+ Work as a single product. In such a case, You must make sure the
+ requirements of this License are fulfilled for the Covered Code.
+
+4. Inability to Comply Due to Statute or Regulation.
+
+ If it is impossible for You to comply with any of the terms of this
+ License with respect to some or all of the Covered Code due to statute
+ or regulation then You must: (a) comply with the terms of this License
+ to the maximum extent possible; and (b) describe the limitations and
+ the code they affect. Such description must be included in the LEGAL
+ file described in Section 3.4 and must be included with all
+ distributions of the Source Code. Except to the extent prohibited by
+ statute or regulation, such description must be sufficiently detailed
+ for a recipient of ordinary skill to be able to understand it.
+
+5. Application of this License.
+
+ This License applies to code to which the Initial Developer has
+ attached the notice in Exhibit A, and to related Covered Code.
+
+6. Versions of the License.
+
+ 6.1. New Versions.
+ Netscape Communications Corporation (``Netscape'') may publish revised
+ and/or new versions of the License from time to time. Each version will
+ be given a distinguishing version number.
+
+ 6.2. Effect of New Versions.
+ Once Covered Code has been published under a particular version of the
+ License, You may always continue to use it under the terms of that
+ version. You may also choose to use such Covered Code under the terms
+ of any subsequent version of the License published by Netscape. No one
+ other than Netscape has the right to modify the terms applicable to
+ Covered Code created under this License.
+
+ 6.3. Derivative Works.
+ If you create or use a modified version of this License (which you may
+ only do in order to apply it to code which is not already Covered Code
+ governed by this License), you must (a) rename Your license so that the
+ phrases ``Mozilla'', ``MOZILLAPL'', ``MOZPL'', ``Netscape'', ``NPL'' or
+ any confusingly similar phrase do not appear anywhere in your license
+ and (b) otherwise make it clear that your version of the license
+ contains terms which differ from the Mozilla Public License and
+ Netscape Public License. (Filling in the name of the Initial Developer,
+ Original Code or Contributor in the notice described in Exhibit A shall
+ not of themselves be deemed to be modifications of this License.)
+
+7. DISCLAIMER OF WARRANTY.
+
+ COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN ``AS IS'' BASIS,
+ WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF
+ DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING.
+ THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE
+ IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT,
+ YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE
+ COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER
+ OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF
+ ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER.
+
+8. TERMINATION.
+
+ This License and the rights granted hereunder will terminate
+ automatically if You fail to comply with terms herein and fail to cure
+ such breach within 30 days of becoming aware of the breach. All
+ sublicenses to the Covered Code which are properly granted shall
+ survive any termination of this License. Provisions which, by their
+ nature, must remain in effect beyond the termination of this License
+ shall survive.
+
+9. LIMITATION OF LIABILITY.
+
+ UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT
+ (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL THE INITIAL
+ DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE,
+ OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO YOU OR ANY OTHER
+ PERSON FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
+ OF ANY CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF
+ GOODWILL, WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND
+ ALL OTHER COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE
+ BEEN INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF
+ LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY
+ RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW
+ PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE
+ EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THAT
+ EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU.
+
+10. U.S. GOVERNMENT END USERS.
+
+ The Covered Code is a ``commercial item,'' as that term is defined in
+ 48 C.F.R. 2.101 (Oct. 1995), consisting of ``commercial computer
+ software'' and ``commercial computer software documentation,'' as such
+ terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48
+ C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995),
+ all U.S. Government End Users acquire Covered Code with only those
+ rights set forth herein.
+
+11. MISCELLANEOUS.
+
+ This License represents the complete agreement concerning subject
+ matter hereof. If any provision of this License is held to be
+ unenforceable, such provision shall be reformed only to the extent
+ necessary to make it enforceable. This License shall be governed by
+ California law provisions (except to the extent applicable law, if any,
+ provides otherwise), excluding its conflict-of-law provisions. With
+ respect to disputes in which at least one party is a citizen of, or an
+ entity chartered or registered to do business in, the United States of
+ America: (a) unless otherwise agreed in writing, all disputes relating
+ to this License (excepting any dispute relating to intellectual
+ property rights) shall be subject to final and binding arbitration,
+ with the losing party paying all costs of arbitration; (b) any
+ arbitration relating to this Agreement shall be held in Santa Clara
+ County, California, under the auspices of JAMS/EndDispute; and (c) any
+ litigation relating to this Agreement shall be subject to the
+ jurisdiction of the Federal Courts of the Northern District of
+ California, with venue lying in Santa Clara County, California, with
+ the losing party responsible for costs, including without limitation,
+ court costs and reasonable attorneys fees and expenses. The application
+ of the United Nations Convention on Contracts for the International
+ Sale of Goods is expressly excluded. Any law or regulation which
+ provides that the language of a contract shall be construed against the
+ drafter shall not apply to this License.
+
+12. RESPONSIBILITY FOR CLAIMS.
+
+ Except in cases where another Contributor has failed to comply with
+ Section 3.4, You are responsible for damages arising, directly or
+ indirectly, out of Your utilization of rights under this License, based
+ on the number of copies of Covered Code you made available, the
+ revenues you received from utilizing such rights, and other relevant
+ factors. You agree to work with affected parties to distribute
+ responsibility on an equitable basis.
+
+EXHIBIT A.
+
+ ``The contents of this file are subject to the Mozilla Public License
+ Version 1.0 (the "License"); you may not use this file except in
+ compliance with the License. You may obtain a copy of the License at
+ http://www.mozilla.org/MPL/
+
+ Software distributed under the License is distributed on an "AS IS"
+ basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
+ License for the specific language governing rights and limitations
+ under the License.
+ The Original Code is ______________________________________.
+ The Initial Developer of the Original Code is
+ ________________________. Portions created by
+ ______________________ are Copyright (C) ______
+ _______________________. All Rights Reserved.
+ Contributor(s): ______________________________________.''
+
+
+ + src/codec/gsm
+ ----------------
+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
+
+
+ + src/codec/speex
+ ------------------
+
+Copyright:
+ Jean-Marc Valin <jean-marc.valin at hermes.usherb.ca>
+ All the code except the following
+
+ David Rowe <david at voicetronix.com.au> via VoiceTronix
+ lsp.c lsp.h
+ Also ideas and feedback
+
+ John Francis Edwards:
+ wave_out.[ch], some #ifdefs for windows port and MSVC project files
+
+ Atsuhiko Yamanaka <ymnk at jcraft.com>:
+ Patch to speexenc.c to add Vorbis comment format
+
+ Radim Kolar <hsn at cybermail.net>:
+ Patch to speexenc.c for supporting more input formats
+
+Licence:
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+
+- Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+
+- 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.
+
+- Neither the name of the Xiph.org Foundation nor the names of its
+contributors may be used to endorse or promote products derived from
+this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR
+CONTRIBUTORS BE LIABLE FOR ANY DIRECT, 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.
+
+
+ + src/codec/g726
+ ----------------
+
+ This source code is a product of Sun Microsystems, Inc. and is provided
+ for unrestricted use. Users may copy or modify this source code without
+ charge.
+
+ SUN SOURCE CODE IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING
+ THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
+
+ Sun source code is provided with no support and without any obligation on
+ the part of Sun Microsystems, Inc. to assist in its use, correction,
+ modification or enhancement.
+
+ SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY THIS SOFTWARE
+ OR ANY PART THEREOF.
+
+ In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ or profits or other special, indirect and consequential damages, even if
+ Sun has been advised of the possibility of such damages.
+
+ Sun Microsystems, Inc.
+ 2550 Garcia Avenue
+ Mountain View, California 94043
+
+
+ + src/codec/iLBC
+ ----------------
+Removed from sources, as it is not distributable due to its license.
+
+ iLBC Speech Coder ANSI-C Source Code
+
+ Copyright (C) The Internet Society (2004).
+ All Rights Reserved.
Added: opal/branches/experimental/debian/dirs
URL: http://svn.debian.org/wsvn/pkg-voip/opal/branches/experimental/debian/dirs?rev=6046&op=file
==============================================================================
--- opal/branches/experimental/debian/dirs (added)
+++ opal/branches/experimental/debian/dirs Tue Aug 19 08:59:16 2008
@@ -1,0 +1,1 @@
+usr/lib
Added: opal/branches/experimental/debian/libopal-dev.dirs
URL: http://svn.debian.org/wsvn/pkg-voip/opal/branches/experimental/debian/libopal-dev.dirs?rev=6046&op=file
==============================================================================
--- opal/branches/experimental/debian/libopal-dev.dirs (added)
+++ opal/branches/experimental/debian/libopal-dev.dirs Tue Aug 19 08:59:16 2008
@@ -1,0 +1,3 @@
+usr/include/opal
+usr/lib
+usr/share/opal
Added: opal/branches/experimental/debian/libopal-doc.docs
URL: http://svn.debian.org/wsvn/pkg-voip/opal/branches/experimental/debian/libopal-doc.docs?rev=6046&op=file
==============================================================================
--- opal/branches/experimental/debian/libopal-doc.docs (added)
+++ opal/branches/experimental/debian/libopal-doc.docs Tue Aug 19 08:59:16 2008
@@ -1,0 +1,2 @@
+samples
+html
Added: opal/branches/experimental/debian/patches/00list
URL: http://svn.debian.org/wsvn/pkg-voip/opal/branches/experimental/debian/patches/00list?rev=6046&op=file
==============================================================================
--- opal/branches/experimental/debian/patches/00list (added)
+++ opal/branches/experimental/debian/patches/00list Tue Aug 19 08:59:16 2008
@@ -1,0 +1,4 @@
+libname
+#remove_ilbc
+speexcodec
+speex-remove-version-cmp
Added: opal/branches/experimental/debian/patches/00list.alpha
URL: http://svn.debian.org/wsvn/pkg-voip/opal/branches/experimental/debian/patches/00list.alpha?rev=6046&op=file
==============================================================================
--- opal/branches/experimental/debian/patches/00list.alpha (added)
+++ opal/branches/experimental/debian/patches/00list.alpha Tue Aug 19 08:59:16 2008
@@ -1,0 +1,1 @@
+alpha-no-relax
Added: opal/branches/experimental/debian/patches/alpha-no-relax.dpatch
URL: http://svn.debian.org/wsvn/pkg-voip/opal/branches/experimental/debian/patches/alpha-no-relax.dpatch?rev=6046&op=file
==============================================================================
--- opal/branches/experimental/debian/patches/alpha-no-relax.dpatch (added)
+++ opal/branches/experimental/debian/patches/alpha-no-relax.dpatch Tue Aug 19 08:59:16 2008
@@ -1,0 +1,19 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## alpha-no-relax.dpatch by Kilian Krause <kilian at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: circumvent binutils bug #440015 on alpha. Thanks goes to Serge Belyshev.
+
+ at DPATCH@
+diff -urNad opal~/opal_inc.mak.in opal/opal_inc.mak.in
+--- opal~/opal_inc.mak.in 2006-01-31 08:10:37.000000000 +0000
++++ opal/opal_inc.mak.in 2007-10-23 20:53:08.000000000 +0000
+@@ -63,7 +63,7 @@
+ OPAL_BASE = opal_$(PLATFORM_TYPE)_$(OPAL_SUFFIX)
+ OPAL_FILE = lib$(OPAL_BASE)$(LIB_TYPE).$(LIB_SUFFIX)
+
+-LDFLAGS += -L$(OPAL_LIBDIR)
++LDFLAGS += -L$(OPAL_LIBDIR) -Wl,--no-relax
+ LDLIBS := -l$(OPAL_BASE)$(LIB_TYPE) $(LDLIBS)
+
+ STDCCFLAGS += -I$(OPAL_INCDIR)
Added: opal/branches/experimental/debian/patches/libname.dpatch
URL: http://svn.debian.org/wsvn/pkg-voip/opal/branches/experimental/debian/patches/libname.dpatch?rev=6046&op=file
==============================================================================
--- opal/branches/experimental/debian/patches/libname.dpatch (added)
+++ opal/branches/experimental/debian/patches/libname.dpatch Tue Aug 19 08:59:16 2008
@@ -1,0 +1,19 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## libname.dpatch by Kilian Krause <kilian at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: fix naming of library file.
+
+ at DPATCH@
+diff -urNad opal-2.2.3.dfsg~/opal_inc.mak.in opal-2.2.3.dfsg/opal_inc.mak.in
+--- opal-2.2.3.dfsg~/opal_inc.mak.in 2007-01-04 23:33:52.000000000 +0100
++++ opal-2.2.3.dfsg/opal_inc.mak.in 2007-01-04 23:36:00.000000000 +0100
+@@ -60,7 +60,7 @@
+
+ H323_H460 = @H323_H460@
+
+-OPAL_BASE = opal_$(PLATFORM_TYPE)_$(OBJ_SUFFIX)
++OPAL_BASE = opal
+ OPAL_FILE = lib$(OPAL_BASE)$(LIB_TYPE).$(LIB_SUFFIX)
+
+ LDFLAGS += -L$(OPAL_LIBDIR)
Added: opal/branches/experimental/debian/patches/remove_ilbc.dpatch
URL: http://svn.debian.org/wsvn/pkg-voip/opal/branches/experimental/debian/patches/remove_ilbc.dpatch?rev=6046&op=file
==============================================================================
--- opal/branches/experimental/debian/patches/remove_ilbc.dpatch (added)
+++ opal/branches/experimental/debian/patches/remove_ilbc.dpatch Tue Aug 19 08:59:16 2008
@@ -1,0 +1,101 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## remove_ilbc.dpatch by Jose Carlos Garcia Sogo <jsogo at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+ at DPATCH@
+diff -urNad opal~/Makefile.in opal/Makefile.in
+--- opal~/Makefile.in 2006-04-09 12:24:00.000000000 +0200
++++ opal/Makefile.in 2006-04-15 23:55:53.000000000 +0200
+@@ -579,65 +579,6 @@
+ endif # OPAL_SYSTEM_SPEEX
+
+
+-# iLBC
+-
+-ILBC_DIR = $(OPAL_SRCDIR)/codec/iLBC
+-
+-VPATH_C += $(ILBC_DIR)
+-VPATH_CXX += $(ILBC_DIR)
+-
+-HEADER_FILES += $(OPAL_INCDIR)/codec/ilbccodec.h
+-SOURCES += $(OPAL_SRCDIR)/codec/ilbccodec.cxx
+-
+-HEADER_FILES += $(ILBC_DIR)/iLBC_define.h
+-HEADER_FILES += $(ILBC_DIR)/iLBC_decode.h
+-SOURCES += $(ILBC_DIR)/iLBC_decode.c
+-HEADER_FILES += $(ILBC_DIR)/iLBC_encode.h
+-SOURCES += $(ILBC_DIR)/iLBC_encode.c
+-HEADER_FILES += $(ILBC_DIR)/FrameClassify.h
+-SOURCES += $(ILBC_DIR)/FrameClassify.c
+-HEADER_FILES += $(ILBC_DIR)/LPCdecode.h
+-SOURCES += $(ILBC_DIR)/LPCdecode.c
+-HEADER_FILES += $(ILBC_DIR)/LPCencode.h
+-SOURCES += $(ILBC_DIR)/LPCencode.c
+-HEADER_FILES += $(ILBC_DIR)/StateConstructW.h
+-SOURCES += $(ILBC_DIR)/StateConstructW.c
+-HEADER_FILES += $(ILBC_DIR)/StateSearchW.h
+-SOURCES += $(ILBC_DIR)/StateSearchW.c
+-HEADER_FILES += $(ILBC_DIR)/anaFilter.h
+-SOURCES += $(ILBC_DIR)/anaFilter.c
+-HEADER_FILES += $(ILBC_DIR)/constants.h
+-SOURCES += $(ILBC_DIR)/constants.c
+-HEADER_FILES += $(ILBC_DIR)/createCB.h
+-SOURCES += $(ILBC_DIR)/createCB.c
+-HEADER_FILES += $(ILBC_DIR)/doCPLC.h
+-SOURCES += $(ILBC_DIR)/doCPLC.c
+-HEADER_FILES += $(ILBC_DIR)/enhancer.h
+-SOURCES += $(ILBC_DIR)/enhancer.c
+-HEADER_FILES += $(ILBC_DIR)/filter.h
+-SOURCES += $(ILBC_DIR)/filter.c
+-HEADER_FILES += $(ILBC_DIR)/gainquant.h
+-SOURCES += $(ILBC_DIR)/gainquant.c
+-HEADER_FILES += $(ILBC_DIR)/getCBvec.h
+-SOURCES += $(ILBC_DIR)/getCBvec.c
+-HEADER_FILES += $(ILBC_DIR)/helpfun.h
+-SOURCES += $(ILBC_DIR)/helpfun.c
+-HEADER_FILES += $(ILBC_DIR)/hpInput.h
+-SOURCES += $(ILBC_DIR)/hpInput.c
+-HEADER_FILES += $(ILBC_DIR)/hpOutput.h
+-SOURCES += $(ILBC_DIR)/hpOutput.c
+-HEADER_FILES += $(ILBC_DIR)/iCBConstruct.h
+-SOURCES += $(ILBC_DIR)/iCBConstruct.c
+-HEADER_FILES += $(ILBC_DIR)/iCBSearch.h
+-SOURCES += $(ILBC_DIR)/iCBSearch.c
+-HEADER_FILES += $(ILBC_DIR)/lsf.h
+-SOURCES += $(ILBC_DIR)/lsf.c
+-HEADER_FILES += $(ILBC_DIR)/packing.h
+-SOURCES += $(ILBC_DIR)/packing.c
+-HEADER_FILES += $(ILBC_DIR)/syntFilter.h
+-SOURCES += $(ILBC_DIR)/syntFilter.c
+-
+-
+ VIC_DIR = $(OPAL_SRCDIR)/codec/vic
+
+ SOURCES += $(OPAL_SRCDIR)/codec/h261codec.c \
+diff -ru opal_v2_2_1~/include/codec/allcodecs.h opal_v2_2_1/include/codec/allcodecs.h
+--- opal_v2_2_1~/include/codec/allcodecs.h 2006-01-01 20:19:32.000000000 +0100
++++ opal_v2_2_1/include/codec/allcodecs.h 2006-04-16 12:55:03.501545261 +0200
+@@ -81,9 +81,6 @@
+ #include <codec/speexcodec.h>
+ OPAL_REGISTER_SPEEX();
+
+-#include <codec/ilbccodec.h>
+-OPAL_REGISTER_iLBC();
+-
+ #include <codec/vidcodec.h>
+ OPAL_REGISTER_UNCOMPRESSED_VIDEO();
+
+Only in opal_v2_2_1~/include/codec: ilbccodec.h
+diff -ru opal_v2_2_1~/include/h323/h323.h opal_v2_2_1/include/h323/h323.h
+--- opal_v2_2_1~/include/h323/h323.h 2004-03-11 07:54:26.000000000 +0100
++++ opal_v2_2_1/include/h323/h323.h 2006-04-16 13:16:28.106553131 +0200
+@@ -485,7 +485,6 @@
+ #ifndef NO_SPEEX
+ #include <codec/speexcodec.h>
+ #endif
+-#include <codec/ilbccodec.h>
+ #endif // NO_H323_AUDIO_CODECS
+
+ #ifndef NO_OPAL_VIDEO
Added: opal/branches/experimental/debian/patches/speex-remove-version-cmp.dpatch
URL: http://svn.debian.org/wsvn/pkg-voip/opal/branches/experimental/debian/patches/speex-remove-version-cmp.dpatch?rev=6046&op=file
==============================================================================
--- opal/branches/experimental/debian/patches/speex-remove-version-cmp.dpatch (added)
+++ opal/branches/experimental/debian/patches/speex-remove-version-cmp.dpatch Tue Aug 19 08:59:16 2008
@@ -1,0 +1,32 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## speex-remove-version-cmp.dpatch by Faidon Liambotis <paravoid at debian.org>
+##
+## DP: Remove version compare of system vs. shipped speex versions.
+## DP: It's broken in many ways (e.g. thinks 1.2.0 < 1.1.1) and there's no
+## DP: point in us fixing it since we *always* want to build with system's.
+
+ at DPATCH@
+diff -urNad opal-2.2.11~dfsg1~/configure opal-2.2.11~dfsg1/configure
+--- opal-2.2.11~dfsg1~/configure 2007-03-10 18:47:02.000000000 +0200
++++ opal-2.2.11~dfsg1/configure 2008-04-05 10:57:56.000000000 +0300
+@@ -6232,7 +6232,7 @@
+ print "1";
+
+ P_FILE
+- SPEEX=`perl t.pl $SYSVER $LIBVER`
++ SPEEX=1
+ rm t.pl
+ if test "x$SPEEX" = "x0" ; then
+ { echo "$as_me:$LINENO: result: OPAL version is more recent" >&5
+diff -urNad opal-2.2.11~dfsg1~/configure.ac opal-2.2.11~dfsg1/configure.ac
+--- opal-2.2.11~dfsg1~/configure.ac 2007-03-10 18:47:03.000000000 +0200
++++ opal-2.2.11~dfsg1/configure.ac 2008-04-05 10:57:42.000000000 +0300
+@@ -303,7 +303,7 @@
+ print "1";
+ ]
+ P_FILE
+- SPEEX=`perl t.pl $SYSVER $LIBVER`
++ SPEEX=1
+ rm t.pl
+ if test "x$SPEEX" = "x0" ; then
+ AC_MSG_RESULT(OPAL version is more recent)
Added: opal/branches/experimental/debian/patches/speexcodec.dpatch
URL: http://svn.debian.org/wsvn/pkg-voip/opal/branches/experimental/debian/patches/speexcodec.dpatch?rev=6046&op=file
==============================================================================
--- opal/branches/experimental/debian/patches/speexcodec.dpatch (added)
+++ opal/branches/experimental/debian/patches/speexcodec.dpatch Tue Aug 19 08:59:16 2008
@@ -1,0 +1,20 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## speexcodec.dpatch by Kilian Krause <kilian at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Import patch from http://openh323.cvs.sourceforge.net/openh323/opal/Makefile.in?r1=1.56&r2=1.57
+## DP: and http://openh323.cvs.sourceforge.net/openh323/opal/opal_inc.mak.in?r1=1.15&r2=1.6.2.1&view=patch&pathrev=Phobos
+
+ at DPATCH@
+diff -urNad opal-2.2.8~dfsg~pre1~/opal_inc.mak.in opal-2.2.8~dfsg~pre1/opal_inc.mak.in
+--- opal-2.2.8~dfsg~pre1~/opal_inc.mak.in 2007-07-03 21:04:35.000000000 +0200
++++ opal-2.2.8~dfsg~pre1/opal_inc.mak.in 2007-07-03 21:05:06.000000000 +0200
+@@ -80,7 +80,7 @@
+ endif
+
+ ifeq ($(OPAL_SYSTEM_SPEEX), 1)
+-ENDLDLIBS := -lspeex $(ENDLDLIBS)
++ENDLDLIBS := -lspeex -lspeexdsp $(ENDLDLIBS)
+ endif
+
+ $(TARGET) : $(OPAL_LIBDIR)/$(OPAL_FILE)
Added: opal/branches/experimental/debian/rules
URL: http://svn.debian.org/wsvn/pkg-voip/opal/branches/experimental/debian/rules?rev=6046&op=file
==============================================================================
--- opal/branches/experimental/debian/rules (added)
+++ opal/branches/experimental/debian/rules Tue Aug 19 08:59:16 2008
@@ -1,0 +1,258 @@
+#!/usr/bin/make -f
+
+# Change this on API breakage
+export LIBOPALCOMPAT=3.3
+export LIBOPALCOMPAT2=3.3.1
+
+PACKAGE=libopal-$(LIBOPALCOMPAT)
+
+ifneq (,$(shell test -f version.h&&grep MAJOR_VERSION version.h))
+VER_MAJOR := $(shell awk '/MAJOR_VERSION/ { print $$3 }' version.h 2>/dev/null)
+VER_MINOR := $(shell awk '/MINOR_VERSION/ { print $$3 }' version.h 2>/dev/null)
+VER_SUB := $(shell awk '/BUILD_NUMBER/ { print $$3 }' version.h 2>/dev/null)
+VER_TYPE := $(shell awk '/BUILD_TYPE/ { print $$3 }' version.h 2>/dev/null)
+endif
+
+SHLIBSVER := $(VER_MAJOR).$(VER_MINOR).$(VER_SUB)
+SHLIBSSUFFIX := $(VER_MAJOR).$(VER_MINOR).$(VER_SUB)
+ifneq (,$(findstring Beta,$(VER_TYPE)))
+ SHLIBSSUFFIX :=$(VER_MAJOR).$(VER_MINOR)-beta$(VER_SUB)
+endif
+
+CFLAGS := -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ CFLAGS += -O0
+endif
+
+MAKE_BUILD_PARAM := OPALDIR=$(CURDIR) PTLIBDIR=/usr/share/ptlib
+
+
+export DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+export DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE))
+ confflags += --build $(DEB_HOST_GNU_TYPE)
+else
+ confflags += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
+endif
+# Ensure the build aborts when there are still references to undefined
+# symbols.
+LDFLAGS += -Wl,-z,def
+
+DEBVERSION := $(shell head -n 1 debian/changelog \
+ | sed -e 's/^[^(]*(\([^)]*\)).*/\1/')
+#UPVERSION := $(shell echo $(DEBVERSION) | sed -r -e 's/^.*://' -e 's/-[0-9.]*(\+b[0-9])?$$//' -e 's/.dfsg[0-9]*$$//')
+#URLVERSION := $(shell echo $(DEBVERSION) | sed -r -e 's/^.*://' -e 's/-[0-9.]*(\+b[0-9])?$$//' -e 's/.dfsg[0-9]*$$//' -e 's/\./_/g')
+
+#FILENAME := opal_$(UPVERSION)~dfsg.orig.tar.gz
+#UPFILENAME := opal_$(UPVERSION).orig.tar.gz
+#URL := http://www.voxgratia.org/releases/opal-v$(URLVERSION)-src-tar.gz
+
+include /usr/share/dpatch/dpatch.make
+
+build: build-arch build-indep
+
+build-arch: config.status build-arch-stamp
+
+config.status: patch-stamp autotools configure
+ ./configure $(confflags) --prefix=/usr
+
+autotools:
+ rm -f config.sub config.guess
+ cp /usr/share/misc/config.sub config.sub
+ cp /usr/share/misc/config.guess config.guess
+ touch autotools
+
+check-ilbc:
+ if [ -d src/codec/iLBC ];then \
+ echo "ERROR: iLBC code must be removed from upstream sources" ; false ; \
+ fi
+ touch $@
+
+build-arch-stamp: config.status
+ $(MAKE) $(MAKE_BUILD_PARAM) P_SHAREDLIB=1 optshared
+ $(MAKE) $(MAKE_BUILD_PARAM) P_SHAREDLIB=0 optnoshared
+
+ # ensure we do a fresh check with hello world.
+ # ...first static
+ $(MAKE) $(MAKE_BUILD_PARAM) -C samples/simple clean
+ $(RM) -rf samples/simple/obj_*
+
+ $(MAKE) $(MAKE_BUILD_PARAM) P_SHAREDLIB=0 -C samples/simple optnoshared
+
+ samples/simple/obj_*_r/simpleopal --help >/dev/null
+ ## then shared...
+ $(MAKE) $(MAKE_BUILD_PARAM) -C samples/simple clean
+ $(RM) -rf samples/simple/obj_*
+ $(MAKE) $(MAKE_BUILD_PARAM) P_SHAREDLIB=1 -C samples/simple optshared
+ if (samples/simple/obj_*_r/simpleopal --help >/dev/null);then \
+ echo shared opt simpleopal incorrectly compiled static; false;\
+ else \
+ echo shared opt simpleopal correctly compiled non-static; \
+ fi
+ LD_LIBRARY_PATH=$(CURDIR)/lib samples/simple/obj_*_r/simpleopal --help >/dev/null
+ #$(MAKE) $(MAKE_BUILD_PARAM) -C samples/simple clean
+ #$(RM) -rf samples/simple/obj_*
+
+ cp debian/libopal-doc.docs debian/$(PACKAGE)-doc.docs
+ cp debian/libopal-dev.dirs debian/$(PACKAGE)-dev.dirs
+ touch build-arch-stamp
+
+build-indep: build-indep-stamp
+build-indep-stamp: config.status
+ $(MAKE) $(MAKE_BUILD_PARAM) docs
+ touch build-indep-stamp
+
+clean: check-ilbc clean-patched unpatch
+clean-patched:
+ dh_testdir
+ dh_testroot
+ rm -f build-arch-stamp build-indep-stamp patch-stamp check-ilbc
+ rm -f config.status config.log autotools
+ if [ -f Makefile ];then \
+ $(MAKE) $(MAKE_BUILD_PARAM) optclean debugclean clean;\
+ $(MAKE) $(MAKE_BUILD_PARAM) -C samples/simple clean;\
+ fi
+ rm -rf samples/simple/obj*
+ rm -f opal_inc.mak include/opal/buildopts.h
+ rm -rf lib
+ rm -f src/speex/libspeex/Makefile
+ rm -rf html
+ rm -f `find . -name "*~"`
+ rm -rf `find debian/* -type d -name libopal-*` debian/files* core
+ rm -rf debian/simpleopal/
+ rm -f debian/*substvars
+ rm -f debian/*.debhelper
+ rm -f debian/$(PACKAGE)-doc.docs debian/$(PACKAGE)-dev.dirs
+ rm -f config.status
+ dh_clean
+
+install: install-arch install-indep
+install-indep:
+ dh_testdir
+ dh_testroot
+ dh_clean -k -i
+ dh_installdirs -i
+
+install-arch:
+ dh_testdir
+ dh_testroot
+ dh_clean -k -a
+ dh_installdirs -a
+ install -d -m 755 $(CURDIR)/debian/$(PACKAGE)/usr/lib
+ install -m 755 lib/libopal.so.*.*[.-]* $(CURDIR)/debian/$(PACKAGE)/usr/lib
+
+ $(MAKE) $(MAKE_BUILD_PARAM) P_SHAREDLIB=1 DESTDIR=$(CURDIR)/debian/$(PACKAGE) -C plugins install
+ mkdir debian/$(PACKAGE)$$suffix/usr/lib/ptlib/opal-$(LIBOPALCOMPAT)
+ #- because cannot move a directory into itself
+ -mv debian/$(PACKAGE)/usr/lib/ptlib/* debian/$(PACKAGE)/usr/lib/ptlib/opal-$(LIBOPALCOMPAT)
+ #iLBC is not DFSG
+ rm debian/$(PACKAGE)/usr/lib/ptlib/opal-$(LIBOPALCOMPAT)/plugins/codec/audio/ilbc_audio_pwplugin.so
+
+ # simpleopal
+ $(MAKE) $(MAKE_BUILD_PARAM) P_SHAREDLIB=1 INSTALL_DIR=$(CURDIR)/debian/simpleopal/usr -C samples/simple install
+# clean simple to install it as a sample in the docs
+ $(MAKE) $(MAKE_BUILD_PARAM) -C samples/simple clean
+ $(RM) -rf samples/simple/obj_*
+
+# -dev package
+ install -d -m 755 debian/$(PACKAGE)-dev/usr/lib/pkgconfig
+ cp -v opal.pc debian/$(PACKAGE)-dev/usr/lib/pkgconfig
+ cp -v lib/libopal_s.a debian/$(PACKAGE)-dev/usr/lib/
+ ln -s libopal.so.$(SHLIBSSUFFIX) debian/$(PACKAGE)-dev/usr/lib/libopal.so
+#ifneq ($(SHLIBSVER),$(LIBOPALCOMPAT))
+ ln -s libopal.so.$(SHLIBSSUFFIX) debian/$(PACKAGE)-dev/usr/lib/libopal.so.$(LIBOPALCOMPAT)
+#endif
+#ifneq ($(SHLIBSVER),$(LIBOPALCOMPAT2))
+# ln -s libopal.so.$(SHLIBSVER) debian/$(PACKAGE)/usr/lib/libopal.so.$(LIBOPALCOMPAT2)
+#endif
+
+ sed -e 's#^OPALDIR.*#OPALDIR = \/usr\/lib\/opal#g' \
+ opal_inc.mak > debian/$(PACKAGE)-dev/usr/share/opal/opal_inc.mak
+ cp -vr include/* debian/$(PACKAGE)-dev/usr/include/opal
+ find debian/$(PACKAGE)-dev/usr/include -type f -exec chmod 644 {} \;
+
+ cp version.h debian/$(PACKAGE)-dev/usr/include/opal/
+
+ # linking stuff under usr/share/opal
+ ln -s ../../include/opal/version.h debian/$(PACKAGE)-dev/usr/share/opal/
+ ln -s ../../include/opal debian/$(PACKAGE)-dev/usr/share/opal/include
+ ln -s ../../lib debian/$(PACKAGE)-dev/usr/share/opal/
+
+# Must not depend on anything. This is to be called by
+# binary-arch/binary-multi
+# in another 'make' thread.
+binary-common:
+ dh_testdir
+ dh_testroot
+ #only $(PACKAGE) has a directory, the others have just links
+ dh_installdocs -N$(PACKAGE)-dev -N$(PACKAGE)-dbg
+ dh_installman
+ dh_installexamples -p$(PACKAGE)
+ dh_installchangelogs -N$(PACKAGE)-dev -N$(PACKAGE)-dbg changelog
+ -test "x$(DH_OPTIONS)" = "x-a" && for pkg in dev dbg; do mkdir -p debian/$(PACKAGE)-$$pkg/usr/share/doc; ln -s $(PACKAGE) debian/$(PACKAGE)-$$pkg/usr/share/doc/$(PACKAGE)-$$pkg; done
+
+ dh_link
+ dh_compress
+ dh_fixperms
+ # a new variable will be needed if an epoch is introduced to our versioning
+ dh_makeshlibs -V '$(PACKAGE) (>= $(UPVERSION)~)'
+ dh_installdeb
+
+ dh_shlibdeps -L $(PACKAGE) -l debian/$(PACKAGE)/usr/lib
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary-strip:
+ dh_testdir
+ dh_testroot
+ifneq (4,$(DH_COMPAT))
+ dh_strip -N$(PACKAGE)-dbg --dbg-package=$(PACKAGE)-dbg
+ # can't ship those in $(PACKAGE)-dbg due to namespace overlap
+else
+ # As dh_strip does not work fine for multiple binary package
+ # we need to workaround that manually
+ dh_strip --exclude=libopal_d --keep-debug
+
+ for pack in $(PACKAGE) simpleopal ; do \
+ cp -af debian/$$pack/usr/lib/debug debian/$(PACKAGE)-dbg/usr/lib && \
+ rm -rf debian/$$pack/usr/lib/debug; \
+ done
+endif
+
+# Build architecture independant packages using the common target.
+binary-indep: build-indep install-indep
+ $(MAKE) -f debian/rules DH_OPTIONS=-i binary-common
+
+# Build architecture dependant packages using the common target.
+binary-arch: build-arch install-arch
+ $(MAKE) -f debian/rules DH_OPTIONS=-a binary-strip
+ $(MAKE) -f debian/rules DH_OPTIONS=-a binary-common
+
+print-version:
+ @@echo "Debian version: $(DEBVERSION)"
+ @@echo "Upstream version: $(UPVERSION)"
+
+get-orig-source:
+ #svn co https://opalvoip.svn.sourceforge.net/svnroot/opalvoip/opal/trunk opal
+ #cd opal ; svn2cl -o changelog; find . -name .svn -exec rm -rf {} \;
+ #@@dh_testdir
+ #@@[ -d ../tarballs/. ]||mkdir -p ../tarballs
+ #@@echo Downloading $(UPFILENAME) from $(URL) ...
+ #@@wget -N -nv -T10 -t3 -O ../tarballs/$(UPFILENAME) $(URL)
+ #@@echo 'Repacking as DFSG-free (removing iLBC)...'
+ #@@mkdir -p ../tarballs/opal-$(UPVERSION).tmp/
+ #@@cd ../tarballs/opal-$(UPVERSION).tmp ; \
+ # tar xfz ../$(UPFILENAME)
+ #@@rm -rf ../tarballs/opal-$(UPVERSION).tmp/opal*/src/codec/iLBC \
+ # ../tarballs/opal-$(UPVERSION).tmp/opal*/include/codec/ilbccodec.h
+ #@@echo Writing archive ../tarballs/$(FILENAME) ...
+ #@@cd ../tarballs/opal-$(UPVERSION).tmp ; \
+ #tar cfz ../$(FILENAME) *
+ #@@echo Cleaning up...
+ #@@$(RM) -rf ../tarballs/opal-$(UPVERSION).tmp/ ../tarballs/$(UPFILENAME)
+
+binary: binary-arch binary-indep
+.PHONY: build clean binary-indep binary-arch binary install install-indep install-arch clean-patched
Added: opal/branches/experimental/debian/simpleopal.dirs
URL: http://svn.debian.org/wsvn/pkg-voip/opal/branches/experimental/debian/simpleopal.dirs?rev=6046&op=file
==============================================================================
--- opal/branches/experimental/debian/simpleopal.dirs (added)
+++ opal/branches/experimental/debian/simpleopal.dirs Tue Aug 19 08:59:16 2008
@@ -1,0 +1,1 @@
+usr/bin
Added: opal/branches/experimental/debian/watch
URL: http://svn.debian.org/wsvn/pkg-voip/opal/branches/experimental/debian/watch?rev=6046&op=file
==============================================================================
--- opal/branches/experimental/debian/watch (added)
+++ opal/branches/experimental/debian/watch Tue Aug 19 08:59:16 2008
@@ -1,0 +1,4 @@
+version=3
+
+opts=dversionmangle=s/[\.~]dfsg(\d+)?//,uversionmangle=s/[_\.]+/\./g \
+ http://www.voxgratia.org/releases/opal-v(\d+)_(\d?[02468]+)([\d_]+)-src[\.-]tar\.gz debian svn-upgrade
More information about the Pkg-voip-commits
mailing list