--- ptlib-2.4.1.orig/debian/README.Debian +++ ptlib-2.4.1/debian/README.Debian @@ -0,0 +1,15 @@ +ptlib on Debian +=============== + +ptlib-config is not distributed, as pkg-config is now used. + +There's no support for firewire, yet, because as of this release it +isn't possible to build in support of both A/V AND digital camera on +firewire. + +The changelog was grabbed with "svn log". + +For any help or comments, please contact Debian VoIP Team at + + + -- Eugen Dedu , Fri, 26 Sep 2008 15:06:11 +0200 --- ptlib-2.4.1.orig/debian/copyright +++ ptlib-2.4.1/debian/copyright @@ -0,0 +1,419 @@ +This is the Debian GNU/Linux packaged version of PTLib. + +The author of this software is Equivalence Pty. Ltd. + +Original packaging for Debian by + Raphael Bossek +Heavily modified by + Santiago Garcia Mantinan +Further modified by + Tim Johann + and + Kilian Krause +Currently mantained by + Debian VoIP Team + and Eugen Dedu + +The sources were downloaded from: + + https://opalvoip.svn.sourceforge.net/svnroot/opalvoip/ptlib/trunk + + (for stable version is http://sourceforge.net/projects/openh323) + +Copyright: + +Copyright (c) 1993-2003 Equivalence Pty. Ltd. +Copyright (c) 2001-2005 Post Increment +Copyright (c) 1984, 1989, 1990, 1993 Free Software Foundation, Inc. + +Copyright (c) 2004 Reitek S.p.A. + src/ptlib/common/notifier_ext.cxx + include/ptclib/psasl.h + src/ptclib/psasl.cxx + include/ptclib/xmpp.h + include/ptclib/xmpp_c2s.h + include/ptclib/xmpp_muc.h + include/ptclib/xmpp_roster.h + include/ptlib/notifier_ext.h + src/ptclib/xmpp.cxx + src/ptclib/xmpp_c2s.cxx + src/ptclib/xmpp_muc.cxx + src/ptclib/xmpp_roster.cxx + samples/xmppconsole/* + samples/xmpptest/* +Copyright (c) 1995-1996 Eric Young + src/ptclib/pssl.cxx +Copyright (c) 2002 Alan Hawrylyshen + src/ptclib/udp.h +Copyright (c) 2002 Peter O'Gorman + src/ptlib/unix/udll.cxx +Copyright (c) 2003 AliceStreet Ltd. + include/ptlib/qos.h + src/ptlib/common/qos.cxx +Copyright (c) 2002-2005 Jean-Marc Valin + src/ptclib/speex_echo/* +Copyright (c) 2003 Epic Games + src/ptclib/speex_echo/preprocess.c + src/ptclib/speex_echo/speex_preprocess.h +Copyright (c) 1991-2001, Be Incorporated + src/ptlib/unix/beaudio/*, include/ptlib/unix/ptlib/resampler.h +Copyright (c) 1992, 1993, 1994, 1997 Henry Spencer + src/ptlib/common/regex/ +Copyright (c) 2006, Luc Saillard + src/ptlib/common/tinyjpeg* +Copyright (c) 2004 Network for Educational Technology ETH + include/ptlib/unix/ptlib/maccoreaudio.h + src/ptlib/unix/maccoreaudio.cxx + src/ptlib/unix/maccoreaudio/circular_buffer.inl +Copyright (c) 2004 ISVO (Asia) Pte Ltd. + include/ptclib/pnat.h + include/ptlib/msos/ptlib/podbc.h + samples/ODBC/odbctest.cxx + src/ptclib/pnat.cxx + src/ptlib/msos/podbc.cxx +Copyright (c) 1994-1998, Thomas G. Lane. + src/ptlib/common/jidctflt.cxx +Copyright (c) 2003 Pai-Hsiang Hsiao + include/ptlib/unix/ptlib/shmvideo.h + src/ptlib/unix/shmvideo.cxx +Copyright (c) 2003 Andreas Sikkema + include/ptclib/psoap.h + src/ptclib/psoap.cxx + +This software is released under the terms of the MPL (Mozilla Public license). + + 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): ______________________________________.'' --- ptlib-2.4.1.orig/debian/ptlib-config.1 +++ ptlib-2.4.1/debian/ptlib-config.1 @@ -0,0 +1,64 @@ +.TH pwlib 1 "2003-08-18" Version 1.5.0 +.SH NAME +ptlib-config - script to get information about the installed version of the console mode part of the \fIPortable Windows Library\fP, \fIptlib\fP. +.SH SYNOPSIS +. +.B ptlib-config [\-\-version] [\-\-pwlibdir] [\-\-ccflags] [\-\-ldflags] [\-\-libs] [\-\-machtype] [\-\-ostype] [\-\-osrelease] [\-\-sharedlibext] [\-\-prefix] +.SH DESCRIPTION +.PP +\fIptlib-config\fP is a tool that is used to determine the compiler and linker +flags that should be used to compile and link programs that use \fIptlib\fP, the console mode classes and components of the \fIPortable Windows Library\fP (aka. \fIpwlib\fP) +. +.SH OPTIONS +\fIptlib-config\fP accepts the following options: +.TP 8 + +.B \-\-version +Print the currently installed version of \fIptlib\fP on the standard output. +.TP 8 + +.B \-\-pwlibdir +Print the name of the directory under which all the necessary development files of \fIptlib\fP can be found (to ensure compatibility with the build process of other libraries/programs by the \fIopenh323 Project\fP, which rely on \fIptlib\fP). +.TP 8 + +.B \-\-ccflags +Print the compiler flags that are necessary to compile a program that uses \fIptlib\fP. +.TP 8 + +.B \-\-ldflags +Print flags that tell the linker \fIld\fP where to look for \fIptlib\fP libraries. +.TP 8 + +.B \-\-libs +Print the linker flags that are necessary to link a program with \fIptlib\fP. +.TP 8 + +.B \-\-machtype +Print the machine type for which the currently installed version of \fIptlib\fP was built. +.TP 8 + +.B \-\-ostype +Print the OS for which the currently installed version of \fIptlib\fP was built. +.TP 8 + +.B \-\-osrelease +Print the release of the OS on which the currently installed version of \fIptlib\fP was built. This option is not used to date, for the intallation should be independant of that! +.TP 8 + +.B \-\-sharedlibext +Print the suffix of the shared version libraries of the currently installed version of \fIptlib\fP. +.TP 8 + +.B \-\-prefix +Print the directory prefix under which the libraries and header files of the currently installed version of \fIptlib\fP are installed (i.e. where the lib and include directories are located into which those files were installed). + + +.SH COPYRIGHT +Copyright \(co 1998 Owen Taylor, + modified for pwlib/ptlib by Tim Johann, 2003. + +Permission to use, copy, modify, and distribute this software and its +documentation for any purpose and without fee is hereby granted, +provided that the above copyright notice appear in all copies and that +both that copyright notice and this permission notice appear in +supporting documentation. --- ptlib-2.4.1.orig/debian/changelog +++ ptlib-2.4.1/debian/changelog @@ -0,0 +1,55 @@ +ptlib (2.4.1-1) hardy; urgency=low + + * Ubuntu repackaging of Debian package + * clean up debian packaging files + + -- Jason Galyon Sat, 04 Oct 2008 16:34:52 -0500 + +ptlib (2.4.1~1) UNRELEASED; urgency=low + + [ Eugen Dedu ] + * NOT RELEASED YET + * New stable version 2.4.1, with update of debian files + + -- Mark Purcell Sun, 14 Sep 2008 19:21:11 +1000 + +ptlib (2.3.0+svn20940-1) experimental; urgency=low + + [ Eugen Dedu ] + * Build-Depends on libdv4-dev instead of libdv-dev + * Fix naming Portable Windows -> Portable Tools in control file + * Really include upstream changelog in the package + * Build from svn snapshot REV 20940 + + -- Mark Purcell Sun, 14 Sep 2008 15:57:47 +1000 + +ptlib (2.3.0+svn20904-1) experimental; urgency=low + + [ Eugen Dedu ] + * First upload of svn snapshot to debian. + * Build from REV 20904, take into account the changes + * Make use of make install, simplify the install target in rules file + * Rename package to -beta1 + + [ Mark Purcell ] + * 2.3.0 was tagged at REV 20678, thus this version 2.3.0+svn + * svn REV checkout is controlled from debian/changelog version + * Updated debian/watch to pickup next tag + * Update Description: to explict state this svn snapshot + + -- Mark Purcell Thu, 11 Sep 2008 21:50:19 +1000 + +ptlib-snapshot (0-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 Sun, 18 Apr 2008 00:00:00 +0200 + +ptlib-snapshot (0-20071107-03-sid.2) voip-snapshots-debian-sid; urgency=high + + * Built from CVS snapshots. No package support, please refer to + irc.gimp.net channel #ekiga for support + + -- Kilian Krause Sun, 27 May 2007 21:31:35 +0000 --- ptlib-2.4.1.orig/debian/libpt2.4.1-dev.dirs +++ ptlib-2.4.1/debian/libpt2.4.1-dev.dirs @@ -0,0 +1,2 @@ +usr/include +usr/lib --- ptlib-2.4.1.orig/debian/watch +++ ptlib-2.4.1/debian/watch @@ -0,0 +1,3 @@ +version=3 + +http://sf.net/opalvoip/ptlib-(\d.*)-src.tar.gz debian svn-upgrade --- ptlib-2.4.1.orig/debian/control +++ ptlib-2.4.1/debian/control @@ -0,0 +1,131 @@ +Source: ptlib +Section: libs +Priority: optional +Maintainer: Debian VoIP Team +Uploaders: Mark Purcell , Eugen Dedu +Build-Depends: debhelper, dpatch, libdc1394-13-dev, bison, flex, libssl-dev, libldap2-dev, libsdl1.2-dev, libexpat1-dev, g++ (>=2.95), autotools-dev, libasound2-dev, libavc1394-dev, libraw1394-dev, libdv4-dev, libsasl2-dev, libkrb5-dev, doxygen +Build-Conflicts: + libpt2.4.1, libpt2.3-beta1, + libpt-1.11.2, libpt-1.11.2-ptrace, libpt-1.11.2-develop, + libpt-1.10.10, libpt-1.10.10-ptrace, libpt-1.10.10-develop, + libpt-1.10.0, libpt-1.10.0-ptrace, libpt-1.10.0-develop, + libpt-1.8.7, libpt-1.8.3, libpt-1.8.3c2, libpt-1.8.3c2a, + libpt-dev, + libpt-snapshot +Standards-Version: 3.8.0.0 +Homepage: http://www.opalvoip.org/ +Vcs-Svn: svn://svn.debian.org/pkg-voip/pwlib-titan/trunk/ +Vcs-Browser: http://svn.debian.org/wsvn/pkg-voip/pwlib-titan/?op=log + +Package: libpt2.4.1 +Section: libs +Architecture: any +Depends: ${shlibs:Depends} +Suggests: libpt2.4.1-plugins-alsa|libpt2.4.1-plugins-oss, libpt2.4.1-plugins-v4l2|libpt2.4.1-plugins-v4l|libpt2.4.1-plugins-avc|libpt2.4.1-plugins-dc +Replaces: libpt-snapshot, libpt2.3-beta1 +Conflicts: libpt-snapshot, libpt2.3-beta1 +Description: Portable Tools Library - svn snapshot + This package contains the shared version of the library PTLib, which is + a moderately large class library that has its genesis many years ago as + a method to produce applications to run on both Microsoft Windows and + Unix X-Window systems. + +Package: libpt2.4.1-dev +Section: libdevel +Architecture: any +Depends: libpt2.4.1 (= ${binary:Version}), libc6-dev, libssl-dev, libldap2-dev, libsdl1.2-dev, libexpat1-dev, libsasl2-dev +Conflicts: libpt-dev, libpt-snapshot-dev, libpt2.3-beta1-dev +Replaces: libpt-snapshot-dev, libpt2.3-beta1-dev +Description: Portable Tools Library development files - svn snapshot + This package contains the headers and a static version of the library + PTLib, which is a moderately large class library that has its genesis + many years ago as a method to produce applications to run on both + Microsoft Windows and Unix X-Window systems. + +Package: libpt2.4.1-dbg +Section: libdevel +Priority: extra +Architecture: any +Depends: libpt2.4.1 (= ${binary:Version}) +Replaces: libpt-snapshot-dbg, libpt2.3-beta1-dbg +Conflicts: libpt-snapshot-dbg, libpt2.3-beta1-dbg +Description: Portable Tools Library development debug files - svn snapshot + This package contains the shared and static debug symbols of the library + PTLib, which is a moderately large class library that has its genesis + many years ago as a method to produce applications to run on both + Microsoft Windows and Unix X-Window systems. This is not the debug compiled + version of PTLib which would yield much more detailled information as a + compromise of benefit and compile power consumption. + +Package: libpt2.4.1-doc +Section: doc +Priority: extra +Architecture: all +Description: Portable Tools Library documentation & sample files - svn snapshot + This package contains the documentation and samples to program with + PTLib, which is a moderately large class library that has its genesis + many years ago as a method to produce applications to run on both + Microsoft Windows and Unix X-Window systems. + +Package: libpt2.4.1-plugins-v4l2 +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, libpt2.4.1 (= ${binary:Version}) +Replaces: libpt-snapshot-plugins-v4l2, libpt2.3-beta1-plugins-v4l2 +Conflicts: libpt-snapshot-plugins-v4l2, libpt2.3-beta1-plugins-v4l2 +Description: Portable Tools Library video plugin for Video4Linux v2 - svn snapshot + This package contains the PTLib plugin for usage with Video4Linux v2 + devices. Install this package, if you want to use a video device + that is not attached to FireWire. + +Package: libpt2.4.1-plugins-v4l +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, libpt2.4.1 (= ${binary:Version}) +Replaces: libpt-snapshot-plugins-v4l, libpt2.3-beta1-plugins-v4l +Conflicts: libpt-snapshot-plugins-v4l, libpt2.3-beta1-plugins-v4l +Description: Portable Tools Library video plugin for Video4Linux - svn snapshot + This package contains the PTLib plugin for usage with Video4Linux + devices. Install this package, if you want to use a video device + that is not attached to FireWire. + +Package: libpt2.4.1-plugins-avc +Architecture: any +Depends: ${shlibs:Depends}, libpt2.4.1 (= ${binary:Version}) +Replaces: libpt-snapshot-plugins-avc, libpt2.3-beta1-plugins-avc +Conflicts: libpt-snapshot-plugins-avc, libpt2.3-beta1-plugins-avc +Description: PTLib video plugin for IEEE1394 (FireWire) AVC devices - svn snapshot + This package contains the PTLib plugin for usage with AVC devices + on FireWire. Install this package, if you want to use such a video + device. + +Package: libpt2.4.1-plugins-dc +Architecture: any +Depends: ${shlibs:Depends}, libpt2.4.1 (= ${binary:Version}) +Replaces: libpt-snapshot-plugins-dc, libpt2.3-beta1-plugins-dc +Conflicts: libpt-snapshot-plugins-dc, libpt2.3-beta1-plugins-dc +Description: PTLib video plugin for IEEE1394 (Firewire) DC Devices - svn snapshot + This package contains the PTLib plugin for usage with DC Devices + on Firewire. Install this package, if you want to use such a video + device. + +Package: libpt2.4.1-plugins-alsa +Architecture: any +Depends: ${shlibs:Depends}, libpt2.4.1 (= ${binary:Version}) +Replaces: libpt-snapshot-plugins-alsa, libpt2.3-beta1-plugins-alsa +Conflicts: libpt-snapshot-plugins-alsa, libpt2.3-beta1-plugins-alsa +Recommends: alsa-base +Description: PTLib audio plugin for the ALSA Interface - svn snapshot + This package contains the PTLib plugin for usage with the Advanced + Linux Sound Architecture interface. Install this package, if you + are utilising this interface. + +Package: libpt2.4.1-plugins-oss +Architecture: any +Depends: ${shlibs:Depends}, libpt2.4.1 (= ${binary:Version}) +Replaces: libpt-snapshot-plugins-oss, libpt2.3-beta1-plugins-oss +Conflicts: libpt-snapshot-plugins-oss, libpt2.3-beta1-plugins-oss +Description: PTLib audio plugin for the OSS Interface - svn snapshot + This package contains the PTLib plugin for usage with the Open Sound + System interface. Install this package, if you are utilising this + interface. --- ptlib-2.4.1.orig/debian/libpt2.4.1-doc.docs +++ ptlib-2.4.1/debian/libpt2.4.1-doc.docs @@ -0,0 +1,2 @@ +samples +html --- ptlib-2.4.1.orig/debian/libpt2.4.1.docs +++ ptlib-2.4.1/debian/libpt2.4.1.docs @@ -0,0 +1,2 @@ +History.txt +ReadMe.txt --- ptlib-2.4.1.orig/debian/compat +++ ptlib-2.4.1/debian/compat @@ -0,0 +1 @@ +5 --- ptlib-2.4.1.orig/debian/libpt2.4.1-dev.manpages +++ ptlib-2.4.1/debian/libpt2.4.1-dev.manpages @@ -0,0 +1 @@ +#debian/ptlib-config.1 --- ptlib-2.4.1.orig/debian/rules +++ ptlib-2.4.1/debian/rules @@ -0,0 +1,280 @@ +#!/usr/bin/make -f + +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]*$$//') +REV := $(shell echo $(UPVERSION) | sed -r -e 's/^.*svn//') + +#URLVERSION := $(shell echo $(DEBVERSION) | sed -r -e 's/^.*://' -e 's/-[0-9.]*(\+b[0-9])?$$//' -e 's/.dfsg[0-9]*$$//' -e 's/\./_/g') + +FILENAME := ptlib_$(UPVERSION).orig.tar.gz +#URL := http://www.voxgratia.org/releases/ptlib-v$(URLVERSION)-src-tar.gz +URL := http://ftp.gnome.org/pub/gnome/sources/ptlib/2.4/ptlib-$(UPVERSION).tar.gz + + +#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) +#endif + +#DIRNAME := $(VER_MAJOR).$(VER_MINOR).$(VER_SUB) +#SHLIBSVER := $(VER_MAJOR).$(VER_MINOR) +DIRNAME := 2.4.1 +PACKAGE=libpt$(DIRNAME) + +#SHLIBSVER (2.3.0) may differ from SHLIBSSUFFIX of the so (2.3-beta0) +# replace 2.3beta0 (if without '-') with 2.3-beta0 +#SHLIBSSUFFIX := $(shell make -f make/common.mak print-version | sed -e 's/-*beta/-beta/') + +CFLAGS := -Wall -g -O2 + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +endif + + +# used for sed-ating out host specific data +export UNAME_R=`uname -r` + +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 + +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 --enable-oss --enable-v4l --disable-sunaudio + +autotools: + rm -f config.sub config.guess + cp /usr/share/misc/config.sub config.sub + cp /usr/share/misc/config.guess config.guess + rm -f plugins/config.sub plugins/config.guess + cp /usr/share/misc/config.sub plugins/config.sub + cp /usr/share/misc/config.guess plugins/config.guess + touch autotools + +build-arch-stamp: config.status + $(MAKE) + #$(MAKE) optnoshared # compile static plugins, uncomment if needed + + # then we ensure that the fresh build works with hello world. + # ...in static + # I do not see why check in static too, so I comment out the following lines + #$(MAKE) -C samples/hello_world/ clean + #$(MAKE) -C samples/hello_world/ optnoshared + #samples/hello_world/obj*/hello + # why isn't hello checked here as below? + + # ...and in shared.. + $(MAKE) PTLIBDIR=$(CURDIR) -C samples/hello_world clean + $(MAKE) PTLIBDIR=$(CURDIR) -C samples/hello_world opt + if (samples/hello_world/obj*/hello 2>/dev/null);then \ + echo opt hello_world sample incorrectly compiled static; false ; \ + else \ + echo opt hello_world sample correctly compiled non-static; \ + fi + ln -s lib* lib ; LD_LIBRARY_PATH=$(CURDIR)/lib samples/hello_world/obj*/hello + # if this won't work, we needn't even try going any further... + rm lib + + cp debian/libpt-dev.dirs debian/$(PACKAGE)-dev.dirs + cp debian/libpt-dev.manpages debian/$(PACKAGE)-dev.manpages + + touch build-arch-stamp + +build-indep: build-indep-stamp +build-indep-stamp: config.status + $(MAKE) docs + cp debian/libpt-doc.docs debian/$(PACKAGE)-doc.docs + touch build-indep-stamp + +clean: clean-patched unpatch +clean-patched: + $(checkdir) + rm -f build-arch-stamp build-indep-stamp patch-stamp + if [ -f Makefile ];then \ + $(MAKE) clean || true ; \ + $(MAKE) PTLIBDIR=$(CURDIR) -C samples/hello_world clean||true ; \ + fi + rm -f include/ptbuildopts.h + rm -f Makefile config.log config.status autotools + rm -f config.sub config.guess plugins/config.sub plugins/config.guess + rm -f plugins/Makefile plugins/config.status plugins/config.log + rm -rf lib + rm -f make/ptbuildopts.mak make/ptlib-config include/ptbuildopts.h + rm -rf plugins/ptlib* + rm -f plugins/Makefile plugins/config.status plugins/config.log + rm -f `find . -name "*~"` + rm -rf `find debian/* -type d -name "libpt-*"` + rm -rf debian/files* core + rm -f debian/*substvars + rm -f debian/*.debhelper + rm -rf html + rm -f debian/libpt-*.*.docs debian/libpt-*.*.manpages debian/libpt-*.*.dirs + rm -f core a.out + dh_clean + +install: install-indep install-arch +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 + + $(MAKE) DESTDIR=$(CURDIR)/debian/install install + + mv debian/install/usr/include debian/$(PACKAGE)-dev/usr + mv debian/install/usr/lib/pkgconfig debian/$(PACKAGE)-dev/usr/lib + mv debian/install/usr/lib/libpt_s.a debian/$(PACKAGE)-dev/usr/lib + mv debian/install/usr/lib/libpt.so.*.*[.-]* debian/$(PACKAGE)/usr/lib + mv debian/install/usr/lib/libpt.so* debian/$(PACKAGE)-dev/usr/lib + #not necessarily because of pkg-config + #mv debian/install/usr/bin debian/$(PACKAGE)-dev/usr + #mv debian/install/usr/share debian/$(PACKAGE)-dev/usr/ + rm -rf debian/install/usr/bin + rm -rf debian/install/usr/share + + for i in v4l2 v4l avc dc; do \ + mkdir -p debian/$(PACKAGE)-plugins-$$i/usr/lib/ptlib-$(DIRNAME)/devices/videoinput ; \ + mv debian/install/usr/lib/ptlib*/devices/videoinput/$${i}_pwplugin.so \ + debian/$(PACKAGE)-plugins-$$i/usr/lib/ptlib-$(DIRNAME)/devices/videoinput/ ; \ + done + for i in alsa oss; do \ + mkdir -p debian/$(PACKAGE)-plugins-$$i/usr/lib/ptlib-$(DIRNAME)/devices/sound ; \ + mv debian/install/usr/lib/ptlib*/devices/sound/$${i}_pwplugin.so \ + debian/$(PACKAGE)-plugins-$$i/usr/lib/ptlib-$(DIRNAME)/devices/sound/ ; \ + done + + # to check that it is empty, i.e. all the files have been moved + rmdir debian/install/usr/lib/ptlib-$(DIRNAME)/devices/videoinput + rmdir debian/install/usr/lib/ptlib-$(DIRNAME)/devices/sound + rmdir debian/install/usr/lib/ptlib-$(DIRNAME)/devices + rmdir debian/install/usr/lib/ptlib-$(DIRNAME) + rmdir debian/install/usr/lib + rmdir debian/install/usr + rmdir debian/install + + cp debian/libpt.docs debian/$(PACKAGE).docs + + # modify various variables in the files + #sed -i -e 's#$$(PTLIBDIR)/include/ptlib/unix#/usr/include/ptlib/unix#g' \ + # -e 's#$$(PTLIBDIR)/lib#/usr/lib#g' debian/$(PACKAGE)-dev/usr/share/ptlib/make/unix.mak + + # changing build/machine dependent data in ptlib-config + #sed -i -e 's#^OSRELEASE=.*#OSRELEASE=\"\"#g' \ + # -e 's#^\(CCFLAGS=.*-DP_LINUX\)='$(UNAME_R)'\(.*\)\"#\1 \2 -DPHAS_TEMPLATES -I/usr/include/ptlib -I/usr/include/ptlib/unix\"#g' \ + # debian/$(PACKAGE)-dev/usr/share/ptlib/make/ptlib-config + + # erasing build host specific && unnecessary stuff off ptbuildopts.mak + #sed -i -e 's#^PTLIBDIR.*#PTLIBDIR = /usr/share/ptlib#g' \ + # -e 's#^OSRELEASE.*#OSRELEASE =#g' \ + # -e 's#^\(STDCCFLAGS.*-DP_LINUX\)='$(UNAME_R)'\(.*\)#\1 \2#g' \ + # debian/$(PACKAGE)-dev/usr/share/ptlib/make/ptbuildopts.mak + + # for using /usr/share/ptlib as a single PTLIBDIR + #ln -s ../../lib debian/$(PACKAGE)-dev/usr/share/ptlib + + cp version.h debian/$(PACKAGE)-dev/usr/include/ptlib + #ln -s ../../include/ptlib/version.h debian/$(PACKAGE)-dev/usr/share/ptlib + #mkdir debian/$(PACKAGE)-dev/usr/share/ptlib/include + #ln -s ../../../include/ptbuildopts.h debian/$(PACKAGE)-dev/usr/share/ptlib/include + #ln -s ../../../include/ptlib.h debian/$(PACKAGE)-dev/usr/share/ptlib/include + #ln -s ../../../include/ptlib debian/$(PACKAGE)-dev/usr/share/ptlib/include + +# 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 + #$(PACKAGE) has docs in /usr/share/doc, all the others use links + dh_installdocs -N$(PACKAGE)-plugins-alsa -N$(PACKAGE)-plugins-avc -N$(PACKAGE)-plugins-dc -N$(PACKAGE)-plugins-oss -N$(PACKAGE)-plugins-v4l -N$(PACKAGE)-plugins-v4l2 -N$(PACKAGE)-dev -N$(PACKAGE)-dbg + dh_installman + dh_installchangelogs -N$(PACKAGE)-plugins-alsa -N$(PACKAGE)-plugins-avc -N$(PACKAGE)-plugins-dc -N$(PACKAGE)-plugins-oss -N$(PACKAGE)-plugins-v4l -N$(PACKAGE)-plugins-v4l2 -N$(PACKAGE)-dev -N$(PACKAGE)-dbg + -test "x$(DH_OPTIONS)" = "x-a" && for pkg in plugins-alsa plugins-avc plugins-dc plugins-oss plugins-v4l plugins-v4l2 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 +else + # As dh_strip does not work fine for multiple binary package + # we need to workaround that manually + dh_strip --exclude=libpt_d --keep-debug + + for pack in $(PACKAGE) $(PACKAGE)-plugins-alsa $(PACKAGE)-plugins-oss \ + $(PACKAGE)-plugins-v4l $(PACKAGE)-plugins-v4l2 $(PACKAGE)-plugins-avc \ + $(PACKAGE)-plugins-dc ; \ + 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)" + @@echo "svn REV: $(REV)" + +get-orig-source: + @@dh_testdir + @@[ -d ../tarballs/. ]||mkdir -p ../tarballs + @@#this is for stable versions + @@echo Downloading $(FILENAME) from $(URL) for repacking ... + @@wget -N -nv -T10 -t3 -O ../tarballs/$(FILENAME) $(URL) + @@#and this is for SVN + @@#echo 'Checking out for repacking (might take 15 min) ...' + @@#svn export https://opalvoip.svn.sourceforge.net/svnroot/opalvoip/ptlib/trunk@$(REV) ../tarballs/ptlib-$(REV).tmp + @@#echo 'Getting the changelog (might take 15 min) ...' + @@#cd ../tarballs/ptlib-$(REV).tmp; svn2cl -o changelog https://opalvoip.svn.sourceforge.net/svnroot/opalvoip/ptlib/trunk@$(REV) + @@#echo Creating the tarball ... + @@#cd ../tarballs/ptlib-$(REV).tmp; tar zcf ../ptlib_$(UPVERSION).orig.tar.gz * + @@#rm -rf ../tarballs/ptlib-$(REV).tmp + @@echo Ready for packaging. + +binary: binary-arch binary-indep +.PHONY: build clean clean-patched binary-indep binary-arch binary install install-indep install-arch