diff options
Diffstat (limited to 'net/opal3')
-rw-r--r-- | net/opal3/Makefile | 275 | ||||
-rw-r--r-- | net/opal3/distinfo | 2 | ||||
-rw-r--r-- | net/opal3/files/patch-Makefile.in | 14 | ||||
-rw-r--r-- | net/opal3/files/patch-configure | 11 | ||||
-rw-r--r-- | net/opal3/files/patch-configure-spandsp | 56 | ||||
-rw-r--r-- | net/opal3/files/patch-include_h323_h323ep.h | 10 | ||||
-rw-r--r-- | net/opal3/files/patch-includes_video_rfc2190.cxx | 11 | ||||
-rw-r--r-- | net/opal3/files/patch-plugins-audio-celt-celtcodec.c | 56 | ||||
-rw-r--r-- | net/opal3/files/patch-plugins-video-MPEG4-ffmpeg-mpeg4.cxx | 14 | ||||
-rw-r--r-- | net/opal3/files/patch-plugins-video-h.263-1998-h.263-1998.cxx | 20 | ||||
-rw-r--r-- | net/opal3/files/patch-plugins_configure | 144 | ||||
-rw-r--r-- | net/opal3/files/patch-spandsp_fax.cpp | 10 | ||||
-rw-r--r-- | net/opal3/files/patch-spandsp_if.cpp | 10 | ||||
-rw-r--r-- | net/opal3/pkg-descr | 18 | ||||
-rw-r--r-- | net/opal3/pkg-plist | 171 |
15 files changed, 0 insertions, 822 deletions
diff --git a/net/opal3/Makefile b/net/opal3/Makefile deleted file mode 100644 index 58608051b3bb..000000000000 --- a/net/opal3/Makefile +++ /dev/null @@ -1,275 +0,0 @@ -# Created by: Roger Hardiman <roger@freebsd.org> -# $FreeBSD$ - -PORTNAME= opal3 -PORTVERSION= 3.6.6 -PORTREVISION= 17 -CATEGORIES= net -MASTER_SITES= GNOME -MASTER_SITE_SUBDIR= sources/${PORTNAME:S|3||g}/${PORTVERSION:R} -DISTNAME= opal-${PORTVERSION} - -MAINTAINER= gnome@FreeBSD.org -COMMENT= VoIP abstraction library - -LICENSE= MPL - -LIB_DEPENDS= pt-2.6.[4-9]:${PORTSDIR}/devel/ptlib26 - -CONFLICTS= opal-2.* - -WRKSRC= ${WRKDIR}/opal-${PORTVERSION} - -USE_GCC= any -USE_BZIP2= yes -USES= pathfix gmake pkgconfig -GNU_CONFIGURE= yes -USE_LDCONFIG= yes - -CXXFLAGS+= -I${LOCALBASE}/include -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib - -OPTIONS_DEFINE= ZRTP JAVA CELT ILBC GSM SPEEX THEORA FFMPEG X264 SIP H323 IAX \ - H224 H281 FAX MSRP SIPIM RTPTEXT H450 H460 H501 LID UVIDEO AEC -OPTIONS_DEFAULT=CELT GSM SPEEX FFMPEG X264 SIP H224 H281 FAX MSRP SIPIM \ - RTPTEXT LID AEC -ZRTP_DESC= ZRTP protocol support -JAVA_DESC= Java JNI support -CELT_DESC= Celt codec from ports -ILBC_DESC= iLBC codec from ports -GSM_DESC= GSM codec from ports -SPEEX_DESC= SPEEX codec from ports -THEORA_DESC= Theora codec support -FFMPEG_DESC= Ffmpeg codec support -X264_DESC= x.264 codec support -SIP_DESC= SIP protocol support -H323_DESC= H.323 protocol support -IAX_DESC= IAX2 protocol support -H224_DESC= H.224 control protocol -H281_DESC= H.281 (Far End Camera Control) -FAX_DESC= Fax T.38 support -MSRP_DESC= MSRP protocol -SIPIM_DESC= SIP-IM protocol -RTPTEXT_DESC= RFC4103 Text RTP payload -H450_DESC= H.450 H.323 subset -H460_DESC= H.460 H.323 extension for NAT traversal -H501_DESC= H.501 H323 mobility extensions -LID_DESC= LID (Light-Weight Identity) support -UVIDEO_DESC= RFC4175 uncompressed video RTP payload -AEC_DESC= Accoustic echo cancellation - -.include <bsd.port.options.mk> - -.ifdef OPALDIR -.error OPALDIR is defined as an environment variable, or in the arguments \ - to "make". Please unset it and restart the build. -.endif - -PLIST_SUB+= PORTVERSION=${PORTVERSION} \ - PVERSION_MAJOR=${PORTVERSION:C/.[0-9]+$//g} \ - PVERSION_MINOR=${PORTVERSION:C/^[0-9]+.[0-9]+.//} - -.if ${PORT_OPTIONS:MZRTP} -.if !defined(SAFE_ZRTP) -IGNORE= please build devel/libzrtpcpp WITHOUT ports SSL and re-run build with SAFE_ZRTP set -.endif -LIB_DEPENDS+= zrtpcpp:${PORTSDIR}/devel/libzrtpcpp -CONFIGURE_ARGS+= --enable-zrtp -.else -CONFIGURE_ARGS+= --disable-zrtp -.endif - -.if ${PORT_OPTIONS:MGSM} -LIB_DEPENDS+= gsm:${PORTSDIR}/audio/gsm -.else -CONFIGURE_ARGS+= --enable-localgsm -.endif - -.if ${PORT_OPTIONS:MSPEEX} -LIB_DEPENDS+= speex:${PORTSDIR}/audio/speex -.else -CONFIGURE_ARGS+= --enable-localspeex -.endif - -.if ${PORT_OPTIONS:MJAVA} -CONFIGURE_ARGS+= --enable-java -.else -CONFIGURE_ARGS+= --disable-java -.endif - -.if ${PORT_OPTIONS:MCELT} -LIB_DEPENDS+= celt0:${PORTSDIR}/audio/celt -CONFIGURE_ARGS+= --enable-celt -PLIST_SUB+= CELT="" -.else -CONFIGURE_ARGS+= --disable-celt -PLIST_SUB+= CELT="@comment " -.endif - -.if ${PORT_OPTIONS:MILBC} -LIB_DEPENDS+= ilbc:${PORTSDIR}/net/ilbc -.else -CONFIGURE_ARGS+= --enable-localilbc -.endif - -.if ${PORT_OPTIONS:MTHEORA} -LIB_DEPENDS+= theora:${PORTSDIR}/multimedia/libtheora \ - ogg:${PORTSDIR}/audio/libogg -CONFIGURE_ARGS+= --enable-theora -PLIST_SUB+= THEORA="" -WITH_VIDEO= yes -.else -CONFIGURE_ARGS+= --disable-theora -PLIST_SUB+= THEORA="@comment " -.endif - -.if ${PORT_OPTIONS:MX264} -LIB_DEPENDS+= x264:${PORTSDIR}/multimedia/x264 -CONFIGURE_ARGS+= --enable-h264 -PLIST_SUB+= X264="" -WITH_VIDEO= yes -.else -CONFIGURE_ARGS+= --disable-h264 -PLIST_SUB+= X264="@comment " -.endif - -.if ${PORT_OPTIONS:MFFMPEG} -LIB_DEPENDS+= avcodec:${PORTSDIR}/multimedia/ffmpeg -CONFIGURE_ARGS+= --enable-ffmpeg --enable-ffmpeg-h263 -CONFIGURE_ENV+= ac_cv_lib_avcodec_h263p_encoder=yes \ - ac_cv_lib_avcodec_h264_decoder=yes \ - ac_cv_lib_avcodec_mpeg4_encoder=yes -PLIST_SUB+= FFMPEG="" -WITH_VIDEO= yes -.else -CONFIGURE_ARGS+= --disable-ffmpeg --disable-ffmpeg-h263 -PLIST_SUB+= FFMPEG="@comment " -.endif - -WITH_VIDEO=yes -.if defined(WITH_VIDEO) -CONFIGURE_ARGS+= --enable-video -PLIST_SUB+= VIDEO="" -.else -CONFIGURE_ARGS+= --disable-video -PLIST_SUB+= VIDEO="@comment " -.endif - -.if ${PORT_OPTIONS:MSIP} -CONFIGURE_ARGS+= --enable-sip -.else -CONFIGURE_ARGS+= --disable-sip -.endif - -.if ${PORT_OPTIONS:MH323} -CONFIGURE_ARGS+= --enable-h323 -.else -CONFIGURE_ARGS+= --disable-h323 -.endif - -.if ${PORT_OPTIONS:MIAX} -CONFIGURE_ARGS+= --enable-iax -.else -CONFIGURE_ARGS+= --disable-iax -.endif - -.if ${PORT_OPTIONS:MH224} -CONFIGURE_ARGS+= --enable-h224 -.else -CONFIGURE_ARGS+= --disable-h224 -.endif - -.if ${PORT_OPTIONS:MH281} -CONFIGURE_ARGS+= --enable-h281 -.else -CONFIGURE_ARGS+= --disable-h281 -.endif - -# keep version in lib_depend, to see the difference between spandsp-devel and normal -.if ${PORT_OPTIONS:MFAX} -LIB_DEPENDS+= spandsp.2:${PORTSDIR}/comms/spandsp-devel -CONFIGURE_ARGS+= --enable-fax --enable-t38 -PLIST_SUB+= FAX="" -.else -CONFIGURE_ARGS+= --disable-fax --disable-t38 --disable-spandsp -PLIST_SUB+= FAX="@comment " -.endif - -.if ${PORT_OPTIONS:MMSRP} -CONFIGURE_ARGS+= --enable-msrp -##BROKEN= Does not compile -.else -CONFIGURE_ARGS+= --disable-msrp -.endif - -.if ${PORT_OPTIONS:MSIPIM} -CONFIGURE_ARGS+= --enable-sipim -.else -CONFIGURE_ARGS+= --disable-sipim -.endif - -.if ${PORT_OPTIONS:MRTPTEXT} -CONFIGURE_ARGS+= --enable-rfc4103 -.else -CONFIGURE_ARGS+= --disable-rfc4103 -.endif - -.if ${PORT_OPTIONS:MH450} -CONFIGURE_ARGS+= --enable-h450 -.else -CONFIGURE_ARGS+= --disable-h450 -.endif - -.if ${PORT_OPTIONS:MH460} -CONFIGURE_ARGS+= --enable-h460 -.else -CONFIGURE_ARGS+= --disable-h460 -.endif - -.if ${PORT_OPTIONS:MH501} -CONFIGURE_ARGS+= --enable-h501 -.else -CONFIGURE_ARGS+= --disable-h501 -.endif - -.if ${PORT_OPTIONS:MLID} -CONFIGURE_ARGS+= --enable-lid --enable-ixj --enable-vpb -PLIST_SUB+= LID="" -.else -CONFIGURE_ARGS+= --disable-lid --disable-ixj --disable-vpb -PLIST_SUB+= LID="@comment " -.endif - -.if ${PORT_OPTIONS:MUVIDEO} -CONFIGURE_ARGS+= --enable-rfc4175 -.else -CONFIGURE_ARGS+= --disable-rfc4175 -.endif - -.if ${PORT_OPTIONS:MAEC} -CONFIGURE_ARGS+= --enable-aec -.else -CONFIGURE_ARGS+= --disable-aec -.endif - -CONFIGURE_ARGS+= --disable-debug - -post-patch: - @${REINPLACE_CMD} -e 's?-lopal?-lopal-${PORTVERSION:C/.[0-9]+$//g}?' ${WRKSRC}/opal.pc.in - @${REINPLACE_CMD} -e 's?^LIBS="-lilbc?LIBS="-lilbc -lm?' ${WRKSRC}/plugins/configure - @${REINPLACE_CMD} -e 's/^\(EXTRACCFLAGS.*\)/\1 -I\/usr\/local\/include/' ${WRKSRC}/plugins/*/*/Makefile.in - @${REINPLACE_CMD} -e 's?^EXTRALIBS = $(GSM_LIBS)?EXTRALIBS = $(GSM_LIBS) -L/usr/local/lib?' ${WRKSRC}/plugins/audio/GSM0610/Makefile.in - @${REINPLACE_CMD} -e 's?^EXTRALIBS = $(ILBC_LIBS)?EXTRALIBS = $(ILBC_LIBS) -L/usr/local/lib?' ${WRKSRC}/plugins/audio/iLBC/Makefile.in - @${REINPLACE_CMD} -e 's?ILBC_CFLAGS=""?ILBC_CFLAGS="-L/usr/local/lib"?' ${WRKSRC}/plugins/configure - @${REINPLACE_CMD} -e 's?^\(EXTRALIBS\)\(.*\)?\1\2 -L/usr/local/lib?' ${WRKSRC}/plugins/fax/fax_spandsp/Makefile.in - @${REINPLACE_CMD} -e 's?@@SO_VER@@?'${PORTVERSION:C/.[0-9]+$//g}'.so.'${PORTVERSION:C/^[0-9]+.[0-9]+.//}'?g' ${WRKSRC}/Makefile.in - @${REINPLACE_CMD} -e 's?@@SO_MAJ@@?'${PORTVERSION:C/.[0-9]+$//g}'.so?g' ${WRKSRC}/Makefile.in -.if ! ${PORT_OPTIONS:MDEBUG} - @${REINPLACE_CMD} -e 's/^\(all:\).*/\1 optdepend opt/' ${WRKSRC}/Makefile.in -.endif - -post-configure: - @${REINPLACE_CMD} -e 's?\$$(LIB_FILENAME_SHARED_PAT)?libopal-${PORTVERSION:C/.[0-9]+$//g}'.so.'${PORTVERSION:C/^[0-9]+.[0-9]+.//}?' ${WRKSRC}/opal_defs.mak - -.include <bsd.port.mk> diff --git a/net/opal3/distinfo b/net/opal3/distinfo deleted file mode 100644 index e78965d9b2cb..000000000000 --- a/net/opal3/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (opal-3.6.6.tar.bz2) = 60c9d75703bedfeca7140cb76b23fae7179ce1f86e7e8b0026b72d66acd75c82 -SIZE (opal-3.6.6.tar.bz2) = 7062422 diff --git a/net/opal3/files/patch-Makefile.in b/net/opal3/files/patch-Makefile.in deleted file mode 100644 index 1d52232f1d6c..000000000000 --- a/net/opal3/files/patch-Makefile.in +++ /dev/null @@ -1,14 +0,0 @@ ---- Makefile.in.orig 2013-03-21 10:43:22.000000000 +0100 -+++ Makefile.in 2013-03-21 10:44:48.000000000 +0100 -@@ -549,8 +549,9 @@ - install: - mkdir -p $(DESTDIR)$(libdir); chmod 755 $(DESTDIR)$(libdir) - $(INSTALL) -m 755 $(OPAL_LIBDIR)/$(LIB_FILENAME_STATIC) $(DESTDIR)$(libdir) -- $(INSTALL) -m 755 $(OPAL_LIBDIR)/$(LIB_FILENAME_SHARED_PAT) $(DESTDIR)$(libdir) -- ln -snf $(LIB_FILENAME_SHARED_PAT) $(DESTDIR)$(libdir)/$(LIB_FILENAME_SHARED) -+ $(INSTALL) -m 755 $(OPAL_LIBDIR)/$(LIB_FILENAME_SHARED_PAT) $(DESTDIR)$(libdir)/$(RELEASE_LIB_NAME)-@@SO_VER@@ -+ ln -snf $(RELEASE_LIB_NAME)-@@SO_VER@@ $(DESTDIR)$(libdir)/$(RELEASE_LIB_NAME)-@@SO_MAJ@@ -+ ln -snf $(RELEASE_LIB_NAME)-@@SO_VER@@ $(DESTDIR)$(libdir)/$(RELEASE_LIB_NAME).so - mkdir -p $(DESTDIR)$(prefix)/libdata/pkgconfig ; chmod 755 $(DESTDIR)$(prefix)/libdata/pkgconfig - $(INSTALL) -m 644 opal.pc $(DESTDIR)$(prefix)/libdata/pkgconfig - diff --git a/net/opal3/files/patch-configure b/net/opal3/files/patch-configure deleted file mode 100644 index 0686bafad330..000000000000 --- a/net/opal3/files/patch-configure +++ /dev/null @@ -1,11 +0,0 @@ ---- configure.orig 2012-01-26 02:29:34.000000000 -0600 -+++ configure 2012-01-26 02:30:16.000000000 -0600 -@@ -4636,7 +4636,7 @@ - MACHTYPE= - case "$target_cpu" in - x86 | i686 | i586 | i486 | i386 ) MACHTYPE=x86; ;; -- x86_64) MACHTYPE=x86_64; ;; -+ amd64 | x86_64) MACHTYPE=x86_64; ;; - alpha | alphaev56 | alphaev6 | alphaev67 | alphaev7) MACHTYPE=alpha; ;; - hppa ) MACHTYPE=hppa; ;; - hppa64 ) MACHTYPE=hppa64; ;; diff --git a/net/opal3/files/patch-configure-spandsp b/net/opal3/files/patch-configure-spandsp deleted file mode 100644 index 88424a0b7e54..000000000000 --- a/net/opal3/files/patch-configure-spandsp +++ /dev/null @@ -1,56 +0,0 @@ ---- plugins/configure.orig 2009-08-29 23:23:02.000000000 +0400 -+++ plugins/configure 2009-08-29 23:23:29.000000000 +0400 -@@ -11549,9 +11549,9 @@ - - saved_LIBS="$LIBS" - LIBS="$LIBS -lspandsp" -- { echo "$as_me:$LINENO: checking for t38_indicator in -lspandsp" >&5 --echo $ECHO_N "checking for t38_indicator in -lspandsp... $ECHO_C" >&6; } --if test "${ac_cv_lib_spandsp_t38_indicator+set}" = set; then -+ { echo "$as_me:$LINENO: checking for t38_core_init in -lspandsp" >&5 -+echo $ECHO_N "checking for t38_core_init in -lspandsp... $ECHO_C" >&6; } -+if test "${ac_cv_lib_spandsp_t38_core_init+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 - else - ac_check_lib_save_LIBS=$LIBS -@@ -11569,11 +11569,11 @@ - #ifdef __cplusplus - extern "C" - #endif --char t38_indicator (); -+char t38_core_init (); - int - main () - { --return t38_indicator (); -+return t38_core_init (); - ; - return 0; - } -@@ -11596,21 +11596,21 @@ - test ! -s conftest.err - } && test -s conftest$ac_exeext && - $as_test_x conftest$ac_exeext; then -- ac_cv_lib_spandsp_t38_indicator=yes -+ ac_cv_lib_spandsp_t38_core_init=yes - else - echo "$as_me: failed program was:" >&5 - sed 's/^/| /' conftest.$ac_ext >&5 - -- ac_cv_lib_spandsp_t38_indicator=no -+ ac_cv_lib_spandsp_t38_core_init=no - fi - - rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext - LIBS=$ac_check_lib_save_LIBS - fi --{ echo "$as_me:$LINENO: result: $ac_cv_lib_spandsp_t38_indicator" >&5 --echo "${ECHO_T}$ac_cv_lib_spandsp_t38_indicator" >&6; } --if test $ac_cv_lib_spandsp_t38_indicator = yes; then -+{ echo "$as_me:$LINENO: result: $ac_cv_lib_spandsp_t38_core_init" >&5 -+echo "${ECHO_T}$ac_cv_lib_spandsp_t38_core_init" >&6; } -+if test $ac_cv_lib_spandsp_t38_core_init = yes; then - opal_spandsp=yes - else - opal_spandsp=no diff --git a/net/opal3/files/patch-include_h323_h323ep.h b/net/opal3/files/patch-include_h323_h323ep.h deleted file mode 100644 index 4bcb555138fc..000000000000 --- a/net/opal3/files/patch-include_h323_h323ep.h +++ /dev/null @@ -1,10 +0,0 @@ ---- include/h323/h323ep.h.orig 2010-06-29 22:41:03.000000000 +0400 -+++ include/h323/h323ep.h 2010-06-29 22:41:17.000000000 +0400 -@@ -49,6 +49,7 @@ - #include <h323/h323con.h> - #include <h323/h323caps.h> - #include <h323/h235auth.h> -+#include <asn/h225.h> - - #if OPAL_H460 - #include <h460/h4601.h> diff --git a/net/opal3/files/patch-includes_video_rfc2190.cxx b/net/opal3/files/patch-includes_video_rfc2190.cxx deleted file mode 100644 index 02b026280223..000000000000 --- a/net/opal3/files/patch-includes_video_rfc2190.cxx +++ /dev/null @@ -1,11 +0,0 @@ ---- plugins/video/H.263-1998/rfc2190.cxx.orig 2009-08-30 02:08:09.000000000 +0400 -+++ plugins/video/H.263-1998/rfc2190.cxx 2009-08-30 02:08:11.000000000 +0400 -@@ -21,7 +21,7 @@ - - #include <iostream> - #include <string.h> --#include <malloc.h> -+#include <stdlib.h> - using namespace std; - - #include "rfc2190.h" diff --git a/net/opal3/files/patch-plugins-audio-celt-celtcodec.c b/net/opal3/files/patch-plugins-audio-celt-celtcodec.c deleted file mode 100644 index 823bca9cfb3c..000000000000 --- a/net/opal3/files/patch-plugins-audio-celt-celtcodec.c +++ /dev/null @@ -1,56 +0,0 @@ ---- ./plugins/audio/celt/celtcodec.c.orig 2009-09-22 02:57:45.000000000 +0200 -+++ ./plugins/audio/celt/celtcodec.c 2011-04-12 12:26:00.485668577 +0200 -@@ -52,12 +52,12 @@ - { - int error = 0; - -- celt->mode = celt_mode_create(codec->sampleRate, 1, codec->parm.audio.samplesPerFrame, &error); -+ celt->mode = celt_mode_create(codec->sampleRate, codec->parm.audio.samplesPerFrame, &error); - if (celt->mode == NULL) { - return FALSE; - } - -- celt_mode_info(celt->mode, CELT_GET_FRAME_SIZE, &celt->frame_size); -+ celt->frame_size = 960; /* default from tools/celtenc.c */ - celt->bytes_per_packet = (codec->bitsPerSec * celt->frame_size/codec->sampleRate + 4) / 8; - - return TRUE; -@@ -74,7 +74,7 @@ - return NULL; - } - -- celt->encoder_state = celt_encoder_create(celt->mode); -+ celt->encoder_state = celt_encoder_create(celt->mode, 1, NULL); - if (celt->encoder_state == NULL ) { - celt_mode_destroy(celt->mode); - free(celt); -@@ -96,7 +96,7 @@ - return NULL; - } - -- celt->decoder_state = celt_decoder_create(celt->mode); -+ celt->decoder_state = celt_decoder_create(celt->mode, 1, NULL); - if (celt->decoder_state == NULL ) { - celt_mode_destroy(celt->mode); - free(celt); -@@ -143,9 +143,9 @@ - return FALSE; - - #ifdef HAVE_CELT_0_5_0_OR_LATER -- byteCount = celt_encode(celt->encoder_state, (celt_int16_t *)fromPtr, NULL, (char *)toPtr, celt->bytes_per_packet); -+ byteCount = celt_encode(celt->encoder_state, (celt_int16 *)fromPtr, celt->frame_size, (char *)toPtr, celt->bytes_per_packet); - #else -- byteCount = celt_encode(celt->encoder_state, (celt_int16_t *)fromPtr, (char *)toPtr, celt->bytes_per_packet); -+ byteCount = celt_encode(celt->encoder_state, (celt_int16 *)fromPtr, (char *)toPtr, celt->bytes_per_packet); - #endif - if (byteCount < 0) { - return 0; -@@ -173,7 +173,7 @@ - if (*fromLen == 0) - return FALSE; - -- if (celt_decode(celt->decoder_state, (char *)fromPtr, *fromLen, (short *)toPtr) < 0) { -+ if (celt_decode(celt->decoder_state, (char *)fromPtr, *fromLen, (short *)toPtr, celt->frame_size) < 0) { - return 0; - } - diff --git a/net/opal3/files/patch-plugins-video-MPEG4-ffmpeg-mpeg4.cxx b/net/opal3/files/patch-plugins-video-MPEG4-ffmpeg-mpeg4.cxx deleted file mode 100644 index b7a500489cb2..000000000000 --- a/net/opal3/files/patch-plugins-video-MPEG4-ffmpeg-mpeg4.cxx +++ /dev/null @@ -1,14 +0,0 @@ ---- plugins/video/MPEG4-ffmpeg/mpeg4.cxx.orig 2011-06-25 11:31:14.153034898 +0200 -+++ plugins/video/MPEG4-ffmpeg/mpeg4.cxx 2011-06-25 11:32:04.791577475 +0200 -@@ -830,10 +830,10 @@ - { - _avpicture->pict_type = FF_I_TYPE; - } - else // No IFrame requested, let avcodec decide what to do - { -- _avpicture->pict_type = 0; -+ _avpicture->pict_type = AV_PICTURE_TYPE_NONE; - } - - // Encode a frame - int total = FFMPEGLibraryInstance.AvcodecEncodeVideo diff --git a/net/opal3/files/patch-plugins-video-h.263-1998-h.263-1998.cxx b/net/opal3/files/patch-plugins-video-h.263-1998-h.263-1998.cxx deleted file mode 100644 index 9a75cf7c4962..000000000000 --- a/net/opal3/files/patch-plugins-video-h.263-1998-h.263-1998.cxx +++ /dev/null @@ -1,20 +0,0 @@ ---- plugins/video/H.263-1998/h263-1998.cxx.orig 2009-09-22 02:57:52.000000000 +0200 -+++ plugins/video/H.263-1998/h263-1998.cxx 2011-06-25 11:37:56.719449353 +0200 -@@ -688,7 +688,7 @@ - - _inputFrame->data[1] = _inputFrame->data[0] + size; - _inputFrame->data[2] = _inputFrame->data[1] + (size / 4); -- _inputFrame->pict_type = (flags && forceIFrame) ? FF_I_TYPE : 0; -+ _inputFrame->pict_type = (flags && forceIFrame) ? FF_I_TYPE : AV_PICTURE_TYPE_NONE; - - currentMb = 0; - currentBytes = 0; -@@ -885,7 +886,7 @@ - _inputFrame->data[0] = _inputFrameBuffer + FF_INPUT_BUFFER_PADDING_SIZE; - _inputFrame->data[1] = _inputFrame->data[0] + size; - _inputFrame->data[2] = _inputFrame->data[1] + (size / 4); -- _inputFrame->pict_type = (flags && forceIFrame) ? FF_I_TYPE : 0; -+ _inputFrame->pict_type = (flags && forceIFrame) ? FF_I_TYPE : AV_PICTURE_TYPE_NONE; - - _txH263PFrame->BeginNewFrame(); - _txH263PFrame->SetTimestamp(srcRTP.GetTimestamp()); diff --git a/net/opal3/files/patch-plugins_configure b/net/opal3/files/patch-plugins_configure deleted file mode 100644 index e81bd1893ba1..000000000000 --- a/net/opal3/files/patch-plugins_configure +++ /dev/null @@ -1,144 +0,0 @@ ---- plugins/configure.ac.orig 2009-09-22 04:57:56.000000000 +0400 -+++ plugins/configure.ac 2009-09-26 21:36:48.000000000 +0400 -@@ -219,6 +219,11 @@ - dnl ######################## - dnl libavcodec (ffmpeg) - dnl ######################## -+AC_ARG_ENABLE([ffmpeg], -+ [AC_HELP_STRING([--enable-ffmpeg],[enable libavcodec codec support])], -+ [HAVE_LIBAVCODEC=$enableval]) -+ -+if test "x${HAVE_LIBAVCODEC}" = "xyes" ; then - PKG_CHECK_MODULES([LIBAVCODEC], - [libavcodec >= 52.20.0], - [ -@@ -249,6 +254,8 @@ - HAVE_LIBAVCODEC=no - ] - ) -+fi -+ - AC_SUBST(HAVE_LIBAVCODEC) - - OPAL_LIBAVCODEC_SOURCE() -@@ -290,6 +297,11 @@ - dnl ######################## - dnl theora - dnl ######################## -+AC_ARG_ENABLE([theora], -+ [AC_HELP_STRING([--enable-theora],[enable theora codec support])], -+ [HAVE_THEORA=$enableval]) -+ -+if test "x${HAVE_THEORA}" = "xyes" ; then - PKG_CHECK_MODULES([THEORA], - [theora], - [ -@@ -301,11 +313,18 @@ - [ - HAVE_THEORA=no - ]) -+fi -+ - AC_SUBST(HAVE_THEORA) - - dnl ######################## - dnl celt - dnl ######################## -+AC_ARG_ENABLE([celt], -+ [AC_HELP_STRING([--enable-celt],[enable CELT codec support])], -+ [HAVE_CELT=$enableval]) -+ -+if test "x${HAVE_CELT}" = "xyes" ; then - PKG_CHECK_MODULES([CELT], - [celt], - [ -@@ -321,6 +340,8 @@ - [ - HAVE_CELT=no - ]) -+fi -+ - AC_SUBST(HAVE_CELT) - - dnl ######################## ---- plugins/configure.orig 2009-09-26 16:50:06.000000000 +0400 -+++ plugins/configure 2009-09-26 21:44:26.000000000 +0400 -@@ -1340,11 +1340,14 @@ - --enable-sbc enable use of Bluetooth SBC for CD quality telephony - --enable-default-to-full-capabilties - default to full capabilities at empty fmtp lines -+ --enable-ffmpeg enable libavcodec codec support - --enable-libavcodec-stackalign-hack - Stack alignment hack for libavcodec library - --enable-x264-link-static - Statically link x264 to the plugin. Default for - win32. -+ --enable-theora enable theora codec support -+ --enable-celt enable CELT codec support - --enable-h264 enable H.264 support - --enable-ixj enable xJack cards - --enable-vpb enable voicetronix vpb -@@ -9543,6 +9546,13 @@ - fi - - -+# Check whether --enable-ffmpeg was given. -+if test "${enable_ffmpeg+set}" = set; then -+ enableval=$enable_ffmpeg; HAVE_LIBAVCODEC=$enableval -+fi -+ -+ -+if test "x${HAVE_LIBAVCODEC}" = "xyes" ; then - - pkg_failed=no - { echo "$as_me:$LINENO: checking for LIBAVCODEC" >&5 -@@ -10144,6 +10154,8 @@ - - - fi -+fi -+ - - - -@@ -10350,6 +10362,13 @@ - - - -+# Check whether --enable-theora was given. -+if test "${enable_theora+set}" = set; then -+ enableval=$enable_theora; HAVE_THEORA=$enableval -+fi -+ -+ -+if test "x${HAVE_THEORA}" = "xyes" ; then - - pkg_failed=no - { echo "$as_me:$LINENO: checking for THEORA" >&5 -@@ -10430,8 +10449,17 @@ - HAVE_THEORA=yes - - fi -+fi -+ - - -+# Check whether --enable-celt was given. -+if test "${enable_celt+set}" = set; then -+ enableval=$enable_celt; HAVE_CELT=$enableval -+fi -+ -+ -+if test "x${HAVE_CELT}" = "xyes" ; then - - pkg_failed=no - { echo "$as_me:$LINENO: checking for CELT" >&5 -@@ -10526,6 +10554,8 @@ - fi - - fi -+fi -+ - - - diff --git a/net/opal3/files/patch-spandsp_fax.cpp b/net/opal3/files/patch-spandsp_fax.cpp deleted file mode 100644 index a5652224f0a5..000000000000 --- a/net/opal3/files/patch-spandsp_fax.cpp +++ /dev/null @@ -1,10 +0,0 @@ ---- plugins/fax/fax_spandsp/spandsp_fax.cpp.orig 2011-12-26 21:02:09.000000000 +0000 -+++ plugins/fax/fax_spandsp/spandsp_fax.cpp 2011-12-26 21:01:38.000000000 +0000 -@@ -42,6 +42,7 @@ - * - */ - -+#define __STDC_LIMIT_MACROS - #include <codec/opalplugin.h> - - extern "C" { diff --git a/net/opal3/files/patch-spandsp_if.cpp b/net/opal3/files/patch-spandsp_if.cpp deleted file mode 100644 index a130da05758f..000000000000 --- a/net/opal3/files/patch-spandsp_if.cpp +++ /dev/null @@ -1,10 +0,0 @@ ---- plugins/fax/fax_spandsp/spandsp_util/spandsp_if.cpp.orig 2011-12-26 21:04:48.000000000 +0000 -+++ plugins/fax/fax_spandsp/spandsp_util/spandsp_if.cpp 2011-12-26 21:05:21.000000000 +0000 -@@ -23,6 +23,7 @@ - * $Id: spandsp_if.cpp,v 1.7 2007/07/24 04:39:44 csoutheren Exp $ - */ - -+#define __STDC_LIMIT_MACROS - #include "spandsp_if.h" - - #include <iostream> diff --git a/net/opal3/pkg-descr b/net/opal3/pkg-descr deleted file mode 100644 index b337a0341444..000000000000 --- a/net/opal3/pkg-descr +++ /dev/null @@ -1,18 +0,0 @@ -Opal is a full-featured voip library that supports a variety of protocols and -multi-media fornats. Features include: - - * Low latency RTP stack designed specifically for real-time multimedia - * Full featured H.323, SIP and IAX2 protocol stacks - * Audio codecs including G.711, GSM06.10, Speex and iLBC. - * Video codecs including H.261 and H.263 - * Run-time loadable codec interface for proprietary or codecs such as G.729, - H.263, H.264 and MPEG4 - * Completely Open Source using the commercially friendly MPL 1.1 license - -Through the use of a platform isolation library called PTLIB, Opal can run on -tiny embedded systems or multi-processor servers. - -BTW: OPAL is an acronym for Open Phone Abstraction Library, but that is not -really important :) - -WWW: http://opalvoip.org/ diff --git a/net/opal3/pkg-plist b/net/opal3/pkg-plist deleted file mode 100644 index a0dd1570c433..000000000000 --- a/net/opal3/pkg-plist +++ /dev/null @@ -1,171 +0,0 @@ -include/opal/asn/gcc.h -include/opal/asn/h225.h -include/opal/asn/h235.h -include/opal/asn/h235_srtp.h -include/opal/asn/h245.h -include/opal/asn/h248.h -include/opal/asn/h4501.h -include/opal/asn/h45010.h -include/opal/asn/h45011.h -include/opal/asn/h4502.h -include/opal/asn/h4503.h -include/opal/asn/h4504.h -include/opal/asn/h4505.h -include/opal/asn/h4506.h -include/opal/asn/h4507.h -include/opal/asn/h4508.h -include/opal/asn/h4509.h -include/opal/asn/h501.h -include/opal/asn/mcs.h -include/opal/asn/t38.h -include/opal/asn/x880.h -include/opal/codec/echocancel.h -include/opal/codec/g711a1_plc.h -include/opal/codec/g711codec.h -include/opal/codec/opalplugin.h -include/opal/codec/opalpluginmgr.h -include/opal/codec/opalwavfile.h -include/opal/codec/ratectl.h -include/opal/codec/rfc2833.h -include/opal/codec/rfc4175.h -include/opal/codec/silencedetect.h -include/opal/codec/vidcodec.h -include/opal/h323/channels.h -include/opal/h323/gkclient.h -include/opal/h323/gkserver.h -include/opal/h323/h225ras.h -include/opal/h323/h235auth.h -include/opal/h323/h323.h -include/opal/h323/h323annexg.h -include/opal/h323/h323caps.h -include/opal/h323/h323con.h -include/opal/h323/h323ep.h -include/opal/h323/h323neg.h -include/opal/h323/h323pdu.h -include/opal/h323/h323rtp.h -include/opal/h323/h323trans.h -include/opal/h323/h450pdu.h -include/opal/h323/h501pdu.h -include/opal/h323/peclient.h -include/opal/h323/q931.h -include/opal/h323/svcctrl.h -include/opal/h323/transaddr.h -include/opal/h460/h460.h -include/opal/h460/h4601.h -include/opal/h460/h46018.h -include/opal/h460/h46019.h -include/opal/h460/h4609.h -include/opal/h460/h460p.h -include/opal/h460/h460pres.h -include/opal/h460/h460tm.h -include/opal/iax2/callprocessor.h -include/opal/iax2/causecode.h -include/opal/iax2/frame.h -include/opal/iax2/iax2.h -include/opal/iax2/iax2con.h -include/opal/iax2/iax2ep.h -include/opal/iax2/iax2jitter.h -include/opal/iax2/iax2medstrm.h -include/opal/iax2/iedata.h -include/opal/iax2/ies.h -include/opal/iax2/overview.h -include/opal/iax2/processor.h -include/opal/iax2/receiver.h -include/opal/iax2/regprocessor.h -include/opal/iax2/remote.h -include/opal/iax2/safestrings.h -include/opal/iax2/sound.h -include/opal/iax2/specialprocessor.h -include/opal/iax2/transmit.h -include/opal/iax2/version.h -include/opal/im/im.h -include/opal/im/msrp.h -include/opal/im/rfc4103.h -include/opal/im/sipim.h -include/opal/im/t140.h -include/opal/lids/lid.h -include/opal/lids/lidep.h -include/opal/lids/lidplugin.h -include/opal/lids/lidpluginmgr.h -include/opal/opal.h -include/opal/opal/audiorecord.h -include/opal/opal/buildopts.h -include/opal/opal/call.h -include/opal/opal/connection.h -include/opal/opal/endpoint.h -include/opal/opal/guid.h -include/opal/opal/ivr.h -include/opal/opal/localep.h -include/opal/opal/manager.h -include/opal/opal/mediacmd.h -include/opal/opal/mediafmt.h -include/opal/opal/mediastrm.h -include/opal/opal/mediatype.h -include/opal/opal/opalmixer.h -include/opal/opal/opalvxml.h -include/opal/opal/patch.h -include/opal/opal/pcss.h -include/opal/opal/rtpconn.h -include/opal/opal/rtpep.h -include/opal/opal/transcoders.h -include/opal/opal/transports.h -include/opal/rtp/jitter.h -include/opal/rtp/rtp.h -include/opal/rtp/srtp.h -include/opal/rtp/zrtpudp.h -include/opal/sip/handlers.h -include/opal/sip/sdp.h -include/opal/sip/sip.h -include/opal/sip/sipcon.h -include/opal/sip/sipep.h -include/opal/sip/sippdu.h -include/opal/t120/h323t120.h -include/opal/t120/t120proto.h -include/opal/t120/x224.h -include/opal/t38/h323t38.h -include/opal/t38/sipt38.h -include/opal/t38/t38proto.h -include/opal/zrtp/opalzrtp.h -include/opal/zrtp/zrtpeventproc.h -lib/libopal-%%PVERSION_MAJOR%%.so -lib/libopal-%%PVERSION_MAJOR%%.so.%%PVERSION_MINOR%% -lib/libopal.so -lib/libopal_s.a -%%CELT%%lib/opal-%%PORTVERSION%%/codecs/audio/celtcodec_pwplugin.so -lib/opal-%%PORTVERSION%%/codecs/audio/g722_audio_pwplugin.so -lib/opal-%%PORTVERSION%%/codecs/audio/g726_audio_pwplugin.so -lib/opal-%%PORTVERSION%%/codecs/audio/gsm0610_audio_pwplugin.so -lib/opal-%%PORTVERSION%%/codecs/audio/gsmamrcodec_pwplugin.so -lib/opal-%%PORTVERSION%%/codecs/audio/ilbc_audio_pwplugin.so -lib/opal-%%PORTVERSION%%/codecs/audio/ima_adpcm_audio_pwplugin.so -lib/opal-%%PORTVERSION%%/codecs/audio/lpc10_audio_pwplugin.so -lib/opal-%%PORTVERSION%%/codecs/audio/speex_audio_pwplugin.so -lib/opal-%%PORTVERSION%%/codecs/video/h261-vic_video_pwplugin.so -%%FFMPEG%%lib/opal-%%PORTVERSION%%/codecs/video/h263-1998_video_pwplugin.so -%%X264%%lib/opal-%%PORTVERSION%%/codecs/video/h264_video_pwplugin.so -%%X264%%lib/opal-%%PORTVERSION%%/codecs/video/h264_video_pwplugin_helper -%%FFMPEG%%lib/opal-%%PORTVERSION%%/codecs/video/mpeg4-ffmpeg_video_pwplugin.so -%%THEORA%%lib/opal-%%PORTVERSION%%/codecs/video/theora_video_pwplugin.so -%%FAX%%lib/opal-%%PORTVERSION%%/fax/spandsp_fax_pwplugin.so -%%LID%%lib/opal-%%PORTVERSION%%/lid/vpb_lid_pwplugin.so -libdata/pkgconfig/opal.pc -%%LID%%@dirrm lib/opal-%%PORTVERSION%%/lid -%%FAX%%@dirrm lib/opal-%%PORTVERSION%%/fax -%%VIDEO%%@dirrm lib/opal-%%PORTVERSION%%/codecs/video -@dirrm lib/opal-%%PORTVERSION%%/codecs/audio -@dirrm lib/opal-%%PORTVERSION%%/codecs -@dirrm lib/opal-%%PORTVERSION%% -@dirrm include/opal/zrtp -@dirrm include/opal/t38 -@dirrm include/opal/t120 -@dirrm include/opal/sip -@dirrm include/opal/rtp -@dirrm include/opal/opal -@dirrm include/opal/lids -@dirrm include/opal/im -@dirrm include/opal/iax2 -@dirrm include/opal/h460 -@dirrm include/opal/h323 -@dirrm include/opal/codec -@dirrm include/opal/asn -@dirrm include/opal |