--- opal-2.2.11~dfsg1.orig/debian/patches/libname.dpatch +++ opal-2.2.11~dfsg1/debian/patches/libname.dpatch @@ -0,0 +1,19 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## libname.dpatch by Kilian Krause +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: fix naming of library file. + +@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 +@@ -103,7 +103,7 @@ + endif + + +-OPAL_BASE = opal_$(PLATFORM_TYPE)_$(OPAL_SUFFIX) ++OPAL_BASE = opal + OPAL_FILE = lib$(OPAL_BASE)$(LIB_TYPE).$(LIB_SUFFIX) + + LDFLAGS += -L$(OPAL_LIBDIR) --- opal-2.2.11~dfsg1.orig/debian/patches/00list.alpha +++ opal-2.2.11~dfsg1/debian/patches/00list.alpha @@ -0,0 +1 @@ +alpha-no-relax --- opal-2.2.11~dfsg1.orig/debian/patches/00list +++ opal-2.2.11~dfsg1/debian/patches/00list @@ -0,0 +1,5 @@ +libname +notrace +remove_ilbc +speexcodec +speex-remove-version-cmp --- opal-2.2.11~dfsg1.orig/debian/patches/speex-remove-version-cmp.dpatch +++ opal-2.2.11~dfsg1/debian/patches/speex-remove-version-cmp.dpatch @@ -0,0 +1,32 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## speex-remove-version-cmp.dpatch by Faidon Liambotis +## +## 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. + +@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 +@@ -6284,7 +6284,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 +@@ -247,7 +247,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) --- opal-2.2.11~dfsg1.orig/debian/patches/speexcodec.dpatch +++ opal-2.2.11~dfsg1/debian/patches/speexcodec.dpatch @@ -0,0 +1,38 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## speexcodec.dpatch by Kilian Krause +## +## 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 + +@DPATCH@ +diff -urNad opal-2.2.8~dfsg~pre1~/Makefile.in opal-2.2.8~dfsg~pre1/Makefile.in +--- opal-2.2.8~dfsg~pre1~/Makefile.in 2007-07-03 21:04:35.000000000 +0200 ++++ opal-2.2.8~dfsg~pre1/Makefile.in 2007-07-03 21:04:35.000000000 +0200 +@@ -529,11 +529,8 @@ + + SOURCES += $(OPAL_SRCDIR)/codec/speexcodec.cxx + +-ifdef OPAL_SYSTEM_SPEEX +- +-ENDLDLIBS := -lspeex $(ENDLDLIBS) + +-else ++ifndef OPAL_SYSTEM_SPEEX + + SPEEX_INCDIR = $(SPEEX_DIR)/libspeex + SPEEX_SRCDIR = $(SPEEX_DIR)/libspeex +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 +@@ -111,7 +111,9 @@ + + STDCCFLAGS += -I$(OPAL_INCDIR) + +- ++ifeq ($(OPAL_SYSTEM_SPEEX), 1) ++ENDLDLIBS := -lspeex -lspeexdsp $(ENDLDLIBS) ++endif + $(TARGET) : $(OPAL_LIBDIR)/$(OPAL_FILE) + + ifndef LIBRARY_MAKEFILE --- opal-2.2.11~dfsg1.orig/debian/patches/remove_ilbc.dpatch +++ opal-2.2.11~dfsg1/debian/patches/remove_ilbc.dpatch @@ -0,0 +1,101 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## remove_ilbc.dpatch by Jose Carlos Garcia Sogo +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@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 orig/opal_v2_2_1/include/codec/allcodecs.h opal_v2_2_1/include/codec/allcodecs.h +--- orig/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 + OPAL_REGISTER_SPEEX(); + +-#include +-OPAL_REGISTER_iLBC(); +- + #include + OPAL_REGISTER_UNCOMPRESSED_VIDEO(); + +Only in orig/opal_v2_2_1/include/codec: ilbccodec.h +diff -ru orig/opal_v2_2_1/include/h323/h323.h opal_v2_2_1/include/h323/h323.h +--- orig/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 + #endif +-#include + #endif // NO_H323_AUDIO_CODECS + + #ifndef NO_OPAL_VIDEO --- opal-2.2.11~dfsg1.orig/debian/patches/alpha-no-relax.dpatch +++ opal-2.2.11~dfsg1/debian/patches/alpha-no-relax.dpatch @@ -0,0 +1,19 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## alpha-no-relax.dpatch by Kilian Krause +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: circumvent binutils bug #440015 on alpha. Thanks goes to Serge Belyshev. + +@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 +@@ -106,7 +106,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) --- opal-2.2.11~dfsg1.orig/debian/patches/notrace.dpatch +++ opal-2.2.11~dfsg1/debian/patches/notrace.dpatch @@ -0,0 +1,20 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## notrace.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Fix compilation with NOTRACE. The OBJDIR_SUFFIX is 'n' already, no need to suffix it twice. + +@DPATCH@ +diff -urNad opal-2.2.4~dfsg~/Makefile.in opal-2.2.4~dfsg/Makefile.in +--- opal-2.2.4~dfsg~/Makefile.in 2007-05-26 10:13:55.000000000 +0000 ++++ opal-2.2.4~dfsg/Makefile.in 2007-05-26 10:14:22.000000000 +0000 +@@ -248,9 +248,6 @@ + endif + + OPAL_OBJDIR = $(OPAL_LIBDIR)/$(PT_OBJBASE) +-ifdef NOTRACE +-OPAL_OBJDIR += n +-endif + + OBJDIR = $(OPAL_OBJDIR) + LIBDIR = $(OPAL_LIBDIR) --- opal-2.2.11~dfsg1.orig/debian/control +++ opal-2.2.11~dfsg1/debian/control @@ -0,0 +1,100 @@ +Source: opal +Section: libs +Priority: optional +Maintainer: Debian VoIP Team +Uploaders: Kilian Krause , Mark Purcell , Faidon Liambotis +Build-Depends: debhelper (>= 4.0.2), libpt-dev (>= 1.10.10~), dpatch (>= 1.11), doxygen, autotools-dev, libspeex-dev, libspeexdsp-dev +Build-Conflicts: libopal-dev, libopal-2.2, libopal-2.2.0, libopal-2.2-ptrace, libopal-2.2-develop +Standards-Version: 3.7.3 +Homepage: http://www.voxgratia.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-2.2 +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-2.2-develop +Section: libs +Architecture: any +Depends: ${shlibs:Depends} +Conflicts: libopal-2.2-ptrace, libopal-2.2, libopal-2.2.0 +Description: Open Phone Abstraction Library - full debug runtime with ptrace + 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. + . + This build was compiled with extra ptracing and debug information included. Do + not use in production environment. Also contains the debug symbols for this + build. + +Package: libopal-dev +Section: libdevel +Architecture: any +Conflicts: openmpi-dev +Depends: libopal-2.2 (= ${binary:Version}) | libopal-2.2-develop (= ${binary:Version}), libpt-dev (>= 1.10.10~dfsg~) +Description: OPAL library header files + This package contains the 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. + . + The static library comes in all three flavours: + libopal_s.a - notrace opt version + libopal_r_s.a - ptrace-enabled opt version + libopal_d_s.a - ptrace-enabled debug version + +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-dbg +Section: libdevel +Priority: extra +Depends: libopal-2.2 +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-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. --- opal-2.2.11~dfsg1.orig/debian/dirs +++ opal-2.2.11~dfsg1/debian/dirs @@ -0,0 +1 @@ +usr/lib --- opal-2.2.11~dfsg1.orig/debian/compat +++ opal-2.2.11~dfsg1/debian/compat @@ -0,0 +1 @@ +5 --- opal-2.2.11~dfsg1.orig/debian/watch +++ opal-2.2.11~dfsg1/debian/watch @@ -0,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 --- opal-2.2.11~dfsg1.orig/debian/simpleopal.dirs +++ opal-2.2.11~dfsg1/debian/simpleopal.dirs @@ -0,0 +1 @@ +usr/bin --- opal-2.2.11~dfsg1.orig/debian/libopal-doc.docs +++ opal-2.2.11~dfsg1/debian/libopal-doc.docs @@ -0,0 +1,2 @@ +samples +html --- opal-2.2.11~dfsg1.orig/debian/changelog +++ opal-2.2.11~dfsg1/debian/changelog @@ -0,0 +1,168 @@ +opal (2.2.11~dfsg1-4) unstable; urgency=low + + [ Kilian Krause ] + * Fix regexp generating UPVRESION for backports. + * Drop notrace build entirely to fixup ABI issues (Closes: #447452) + + [ Faidon Liambotis ] + * Fix bug where shlibs were very strict on binNMUed versions. + * Bump Standards-Version to 3.7.3, no changes needed. + * Remove doxygen from Build-Depends-Indep since it's present in + Build-Depends. + * Drop Build-Conflicts on pre-sarge linux-kernel-headers. + * Remove versioned dependency on pre-etch dpkg-dev. + * Removed versioned dependency on g++ >= 2.95. + * Remove debian/backports/sarge since it's an obsolete distribution. + * Remove Jose Carlos Garcia Sogo and Santiago Garcia Mantinan from + Uploaders and add myself. + * Depend on newly introduced libspeexdsp-dev. (Closes: #474272) + * Fix configure to never try to use the shipped speex version, even if it + (wrongly) thinks it's newer. + + [ Victor Seva ] + * Add patch from Rober Millan to solve FTBFS on parallel build. + (Closes: #459742) + + -- Faidon Liambotis Sat, 05 Apr 2008 10:59:43 +0300 + +opal (2.2.11~dfsg1-3) unstable; urgency=high + + * Add ~ suffix after upstream version to shlibs generation. + (Closes: #448285) + + -- Kilian Krause Mon, 29 Oct 2007 10:43:48 +0100 + +opal (2.2.11~dfsg1-2) unstable; urgency=low + + * Fix build problem in binutils on alpha by using "LDFLAGS+=-Wl,--no-relax". + Thanks goes to Steve Langasek for finding this and Serge Belyshev for the + tested patch. + + -- Kilian Krause Tue, 23 Oct 2007 12:02:11 +0200 + +opal (2.2.11~dfsg1-1) unstable; urgency=low + + * New upstream release. (gcc-4.2 clean. Yeah!) + Requires PWLib 1.10.10 - bump build-depends accordingly. + + [ Kilian Krause ] + * Don't suggest development headers with library. (Closes: #378064) + * Update Source-Version to binary:Version to allow clean binNMUs. + * Update debian/watch. + * Fix remaining debian-rules-ignores-make-clean errors + * Don't set DH_COMPAT in rules. + * Fix dh_strip call using libopal-ptrace rather than $(PACKAGE)-ptrace + (Closes: #442975) + * Conflict with our own binary library packages to fix false negative build + checks (Closes: #440928) + * Remove check-ilbc stamp in clean target + * Add Homepage field as added in dpkg-dev 1.14.6. + + [ Faidon Liambotis ] + * Adapt shlibs to depend on the upstream's version number and not the Debian + version number, since we don't extend the ABI. This also imitates + debhelper's behavior. + + -- Kilian Krause Sat, 22 Sep 2007 12:08:48 +0200 + +opal (2.2.8~dfsg1-2) unstable; urgency=low + + * Add missing conflicts (Closes: #433152, #433155) + + -- Kilian Krause Mon, 16 Jul 2007 13:49:32 +0200 + +opal (2.2.8~dfsg1-1) unstable; urgency=low + + * New upstream release. (Closes: #418485) + * Build opt, opt+ptrace and debug version like PWLib. Bump to pwlib 1.10.7 therefore. + * Change package name to comply with SOVER. + * Cleanup rules to fix double compile problems with leftover files. + (Closes: #424373) + + -- Kilian Krause Tue, 3 Jul 2007 21:45:23 +0200 + +opal (2.2.3.dfsg-3) unstable; urgency=high + + * Conflict with openmpi-dev to make sure we don't have a filename clash + (Closes: #404004). Setting high urgency due to RC-bug. + + -- Kilian Krause Wed, 27 Dec 2006 15:56:46 +0100 + +opal (2.2.3.dfsg-2) unstable; urgency=high + + * Correct the versioned dependency to the lib we're building right now to + overcome problems like #392522. Setting urgency=high, for we're closing an + RC-bug. + + -- Kilian Krause Sun, 22 Oct 2006 11:04:26 +0200 + +opal (2.2.3.dfsg-1) unstable; urgency=low + + * Rename configure target to config.status. + * New upstream release. + + -- Kilian Krause Mon, 9 Oct 2006 13:47:30 +0200 + +opal (2.2.2.dfsg-1) unstable; urgency=low + + * New upstream release. + + -- Kilian Krause Fri, 9 Jun 2006 19:46:19 +0000 + +opal (2.2.1.dfsg-2) unstable; urgency=low + + [ Kilian Krause ] + * debian/rules: Use CURDIR rather than PWD to make sure we can build with + sudo. + + [ Mark Purcell ] + * Update debian/watch for numerics & dfsg mangle + + -- Kilian Krause Sun, 7 May 2006 12:58:43 +0200 + +opal (2.2.1.dfsg-1) unstable; urgency=low + + [ Kilian Krause ] + * debian/control: No need to have debug symbols depend on -dev. + + [ Jose Carlos Garcia Sogo ] + * debian/copyright: state different copyrights and licenses for: + + src/codec/speex: BSD like license + + src/codec/g726: special unrestricted license from Sun + + src/codec/gsm: list copyright holders and license terms + + src/codec/iLBC: removed from upstream source. Non DFSG-compliant + license. (GIPS Royalty Free License) + + * debian/rules: + + check that iLBC code has been removed. It also includes an RFC. + + * debian/patches: + + remove_ilbc: new. Removes any reference to iLBC code in Makefile.in + + -- Kilian Krause Sun, 16 Apr 2006 17:06:06 +0000 + +opal (2.2.1-1) unstable; urgency=low + + * New upstream release (Phobos_release1 tag) to hotfix retransmission of + messages which made Ekiga get stuck + + -- Kilian Krause Tue, 14 Mar 2006 12:46:42 +0100 + +opal (2.2.0-1) unstable; urgency=low + + * New upstream release (Phobos_release tag). + + -- Kilian Krause Tue, 14 Mar 2006 00:14:58 +0000 + +opal (2.1.3-2) unstable; urgency=low + + * Workaround too short SONAME until the fix from CVS HEAD hits next release. + + -- Kilian Krause Tue, 14 Feb 2006 00:04:32 +0100 + +opal (2.1.3-1) unstable; urgency=low + + * Initial release. Taken from Phobos-devel3, named according to final Phobos + stable release version. + + -- Kilian Krause Mon, 13 Feb 2006 21:38:04 +0000 --- opal-2.2.11~dfsg1.orig/debian/copyright +++ opal-2.2.11~dfsg1/debian/copyright @@ -0,0 +1,481 @@ +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 + (derived from openh323) + +The sources where 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 + All the code except the following + + David Rowe 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 : + Patch to speexenc.c to add Vorbis comment format + + Radim Kolar : + 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. + --- opal-2.2.11~dfsg1.orig/debian/rules +++ opal-2.2.11~dfsg1/debian/rules @@ -0,0 +1,275 @@ +#!/usr/bin/make -f + +# Change this on API breakage +export LIBOPALCOMPAT=2.2 +export LIBOPALCOMPAT2=2.1.3 + +PACKAGE=libopal-$(LIBOPALCOMPAT) + +# excludes for the -develop version +STRIP_EXCLUDES = -N$(PACKAGE) -Nlibopal-dbg -Nlibopal-dev -Nsimpleopal + +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 + +SHLIBSVER := $(VER_MAJOR).$(VER_MINOR).$(VER_SUB) + +CFLAGS := -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +endif + +MAKE_BUILD_PARAM := OPALDIR=$(CURDIR) PWLIBDIR=/usr/share/pwlib + + +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 + # put NOTRACE to empty to build with PTRACING code + $(MAKE) $(MAKE_BUILD_PARAM) CFLAGS="$(CFLAGS)" DEBUG= NOTRACE= P_SHAREDLIB=1 OBJDIR_SUFFIX=r OPAL_LIBDIR=$(CURDIR)/lib/opt optshared + $(MAKE) $(MAKE_BUILD_PARAM) CFLAGS="$(CFLAGS)" DEBUG= NOTRACE= P_SHAREDLIB=0 OBJDIR_SUFFIX=r OPAL_LIBDIR=$(CURDIR)/lib/opt optnoshared + $(MAKE) $(MAKE_BUILD_PARAM) CFLAGS="$(CFLAGS)" DEBUG=1 NOTRACE= P_SHAREDLIB=1 OBJDIR_SUFFIX=d OPAL_LIBDIR=$(CURDIR)/lib/debug debugshared + $(MAKE) $(MAKE_BUILD_PARAM) CFLAGS="$(CFLAGS)" DEBUG=1 NOTRACE= P_SHAREDLIB=0 OBJDIR_SUFFIX=d OPAL_LIBDIR=$(CURDIR)/lib/debug debugnoshared + + # ensure we do a fresh check with hello world. + # ...first static + $(MAKE) $(MAKE_BUILD_PARAM) -C samples/simple clean + $(RM) -rf samples/simple/obj_* + + # put NOTRACE to empty to build with PTRACING code + $(MAKE) $(MAKE_BUILD_PARAM) CFLAGS="$(CFLAGS)" DEBUG= NOTRACE= P_SHAREDLIB=0 OBJDIR_SUFFIX=r OPAL_LIBDIR=$(CURDIR)/lib/opt -C samples/simple optnoshared + $(MAKE) $(MAKE_BUILD_PARAM) CFLAGS="$(CFLAGS)" DEBUG=1 NOTRACE= P_SHAREDLIB=0 OBJDIR_SUFFIX=d OPAL_LIBDIR=$(CURDIR)/lib/debug -C samples/simple debugnoshared + + samples/simple/obj_*_r/simpleopal --help >/dev/null + samples/simple/obj_*_d/simpleopal --help >/dev/null + ## then shared... + $(MAKE) $(MAKE_BUILD_PARAM) -C samples/simple clean + $(RM) -rf samples/simple/obj_* + $(MAKE) $(MAKE_BUILD_PARAM) CFLAGS="$(CFLAGS)" DEBUG= NOTRACE= P_SHAREDLIB=1 OBJDIR_SUFFIX=r OPAL_LIBDIR=$(CURDIR)/lib/opt -C samples/simple optshared + $(MAKE) $(MAKE_BUILD_PARAM) CFLAGS="$(CFLAGS)" DEBUG=1 NOTRACE= P_SHAREDLIB=1 OBJDIR_SUFFIX=d OPAL_LIBDIR=$(CURDIR)/lib/debug -C samples/simple debugshared + if (samples/simple/obj_*_d/simpleopal --help >/dev/null);then \ + echo shared debug simpleopal incorrectly compiled static; false;\ + else \ + echo shared debug simpleopal correctly compiled non-static; \ + fi + LD_LIBRARY_PATH=$(CURDIR)/lib/debug samples/simple/obj_*_d/simpleopal --help >/dev/null + 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/opt samples/simple/obj_*_r/simpleopal --help >/dev/null + #$(MAKE) $(MAKE_BUILD_PARAM) -C samples/simple clean + #$(RM) -rf samples/simple/obj_* + + 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/libopal-*.*.docs + 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 \ + $(CURDIR)/debian/$(PACKAGE)-develop/usr/lib + install -m 755 lib/opt/libopal.so.*.*.* $(CURDIR)/debian/$(PACKAGE)/usr/lib + install -m 755 lib/debug/libopal.so.*.*.* $(CURDIR)/debian/$(PACKAGE)-develop/usr/lib + + #$(MAKE) $(MAKE_BUILD_PARAM) CFLAGS="$(CFLAGS)" DEBUG= NOTRACE= P_SHAREDLIB=1 OBJDIR_SUFFIX=r OPAL_LIBDIR=$(CURDIR)/lib/opt DESTDIR=$(CURDIR)/debian/$(PACKAGE) -C plugins install + #$(MAKE) $(MAKE_BUILD_PARAM) CFLAGS="$(CFLAGS)" DEBUG=1 NOTRACE= P_SHAREDLIB=1 OBJDIR_SUFFIX=d OPAL_LIBDIR=$(CURDIR)/lib/debug DESTDIR=$(CURDIR)/debian/$(PACKAGE)-develop -C plugins install + #for suffix in "" "-develop";do \ + # mv $(CURDIR)/debian/$(PACKAGE)$$suffix/usr/lib/pwlib $(CURDIR)/debian/$(PACKAGE)$$suffix/usr/lib/opal-$(SHLIBSVER) ;\ + # mv $(CURDIR)/debian/$(PACKAGE)$$suffix/usr/lib/opal-$(SHLIBSVER) $(CURDIR)/debian/$(PACKAGE)$$suffix/usr/lib/pwlib/opal-$(SHLIBSVER) ;\ + #done + +ifneq ($(SHLIBSVER),$(LIBOPALCOMPAT)) + for suffix in "" "-develop";do \ + ln -s libopal.so.$(SHLIBSVER) \ + debian/$(PACKAGE)$$suffix/usr/lib/libopal.so.$(LIBOPALCOMPAT); \ + done +endif +ifneq ($(SHLIBSVER),$(LIBOPALCOMPAT2)) + for suffix in "" "-develop";do \ + ln -s libopal.so.$(SHLIBSVER) \ + debian/$(PACKAGE)$$suffix/usr/lib/libopal.so.$(LIBOPALCOMPAT2); \ + done +endif + # simpleopal + $(MAKE) $(MAKE_BUILD_PARAM) CFLAGS="$(CFLAGS)" DEBUG= P_SHAREDLIB=1 OBJDIR_SUFFIX=r OPAL_LIBDIR=$(CURDIR)/lib/opt 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_* + +# libopal-dev package + cp -v lib/opt/libopal_s.a debian/libopal-dev/usr/lib/ + cp -v lib/debug/libopal_s.a debian/libopal-dev/usr/lib/libopal_d_s.a + ln -s libopal.so.$(SHLIBSVER) debian/libopal-dev/usr/lib/libopal.so + + sed -e 's#^OPALDIR.*#OPALDIR = \/usr\/lib\/opal#g' \ + opal_inc.mak > debian/libopal-dev/usr/share/opal/opal_inc.mak + cp -vr include/* debian/libopal-dev/usr/include/opal + find debian/libopal-dev/usr/include -type f -exec chmod 644 {} \; + + cp version.h debian/libopal-dev/usr/include/opal/ + + # linking stuff under usr/share/opal + ln -s ../../include/opal/version.h debian/libopal-dev/usr/share/opal/ + ln -s ../../include/opal debian/libopal-dev/usr/share/opal/include + ln -s ../../lib debian/libopal-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 + dh_installdocs + dh_installman + dh_installexamples + dh_installchangelogs ChangeLog + + # Remove all CVS sub-directories + find debian -name "CVS" -type d|xargs rm -rf + find debian -name .cvsignore -exec rm -f {} \; + + 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)~) | $(PACKAGE)-develop (>= $(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 -Nlibopal-dbg -N$(PACKAGE)-develop --dbg-package=libopal-dbg + # can't ship those in libopal-dbg due to namespace overlap + dh_strip -p$(PACKAGE)-develop $(STRIP_EXCLUDES) --dbg-package=$(PACKAGE)-develop +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/libopal-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: + @@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 --- opal-2.2.11~dfsg1.orig/debian/libopal-dev.dirs +++ opal-2.2.11~dfsg1/debian/libopal-dev.dirs @@ -0,0 +1,3 @@ +usr/include/opal +usr/lib +usr/share/opal