diff options
author | pav <pav@FreeBSD.org> | 2005-06-11 05:30:34 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2005-06-11 05:30:34 +0800 |
commit | 2e9dfc88bd855b7aa9508b7b0447e1cf0ac33723 (patch) | |
tree | 284b00f41e49433788896a8965c9eb3ce5cd0818 /net | |
parent | bd6e58556c927fd59c3e777a11b2271144d22a5d (diff) | |
download | freebsd-ports-gnome-2e9dfc88bd855b7aa9508b7b0447e1cf0ac33723.tar.gz freebsd-ports-gnome-2e9dfc88bd855b7aa9508b7b0447e1cf0ac33723.tar.zst freebsd-ports-gnome-2e9dfc88bd855b7aa9508b7b0447e1cf0ac33723.zip |
- Update to 1.12.2
PR: ports/82086
Submitted by: Steve Ames <steve@energistic.com>
Diffstat (limited to 'net')
32 files changed, 284 insertions, 372 deletions
diff --git a/net/opal/Makefile b/net/opal/Makefile index d5856d94fff5..52ec78d313d4 100644 --- a/net/opal/Makefile +++ b/net/opal/Makefile @@ -6,8 +6,7 @@ # PORTNAME= openh323 -PORTVERSION= 1.12.0 -PORTREVISION= 5 +PORTVERSION= 1.12.2 CATEGORIES= net MASTER_SITES= http://www.openh323.org/bin/ \ http://www.de.openh323.org/bin/ \ @@ -18,7 +17,6 @@ MAINTAINER= ports@FreeBSD.org COMMENT= A H323 Video Conferencing library BUILD_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/devel/pwlib:build - LIB_DEPENDS= expat.5:${PORTSDIR}/textproc/expat2 .include <bsd.port.pre.mk> @@ -28,7 +26,7 @@ LIB_DEPENDS= expat.5:${PORTSDIR}/textproc/expat2 # If it is not present, extract it from the comms/ixj port .if !exists(/usr/include/sys/telephony.h) .if !exists(/usr/local/include/sys/telephony.h) -PATCH_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/comms/ixj:patch +PATCH_DEPENDS+= ${NONEXISTENT}:${PORTSDIR}/comms/ixj:patch .endif .endif .endif @@ -40,7 +38,7 @@ USE_BISON= yes USE_GMAKE= yes USE_OPENLDAP= yes -USE_AUTOCONF_VER= 253 +USE_AUTOCONF_VER= 259 GNU_CONFIGURE= yes PWLIBDIR!= cd ${PORTSDIR}/devel/pwlib && make -V WRKSRC CONFIGURE_ENV= PWLIBDIR=${PWLIBDIR} OPENH323DIR=${WRKSRC} diff --git a/net/opal/distinfo b/net/opal/distinfo index bc1860481dea..76c84d0a1a8c 100644 --- a/net/opal/distinfo +++ b/net/opal/distinfo @@ -1,2 +1,2 @@ -MD5 (openh323_1.12.0.tar.gz) = f7932f0a17d6afafc7332036a4b5d392 -SIZE (openh323_1.12.0.tar.gz) = 2325128 +MD5 (openh323_1.12.2.tar.gz) = 15f0b12b60769d03eca9e498050776f3 +SIZE (openh323_1.12.2.tar.gz) = 2343354 diff --git a/net/opal/files/patch-configurein b/net/opal/files/patch-configurein index edff8fef174b..28578a9c1175 100644 --- a/net/opal/files/patch-configurein +++ b/net/opal/files/patch-configurein @@ -1,50 +1,19 @@ -Index: configure.in -diff -c configure.in.orig configure.in -*** configure.in.orig Thu May 22 21:25:00 2003 ---- configure.in Sun Nov 23 22:51:33 2003 +*** configure.in.orig Mon Jun 6 14:34:14 2005 +--- configure.in Mon Jun 6 14:41:03 2005 *************** -*** 73,85 **** +*** 109,115 **** + if test "${H323_AVCODEC:-unset}" != "unset" ; then + AC_SUBST(H323_AVCODEC, 1) + AC_DEFINE(H323_AVCODEC, 1, "ffmpeg based avodec found") +! AVCODECINCLUDEDIR=/usr/local/include/ffmpeg + AVCODECLIBDIR=/usr/local/lib + STDCCFLAGS="$STDCCFLAGS -I${AVCODECINCLUDEDIR}" - dnl ######################################################################## - dnl get pwlib directory -! if test "${PWLIBDIR:-unset}" == "unset" ; then - PWLIBDIR=`ptlib-config --prefix` - fi -! if test "x$PWLIBDIR" == "x/usr" -o "x$PWLIBDIR" == "x/usr/"; then - PWLIBDIR="/usr/share/pwlib/" - fi -! if test "xPWLIBDIR" == "x/usr/local" -o "x$PWLIBDIR" == "x/usr/"; then - PWLIBDIR="/usr/local/share/pwlib/" - fi - echo "PWLib prefix set to.... $PWLIBDIR" ---- 73,85 ---- +--- 109,115 ---- + if test "${H323_AVCODEC:-unset}" != "unset" ; then + AC_SUBST(H323_AVCODEC, 1) + AC_DEFINE(H323_AVCODEC, 1, "ffmpeg based avodec found") +! AVCODECINCLUDEDIR=/usr/local/include + AVCODECLIBDIR=/usr/local/lib + STDCCFLAGS="$STDCCFLAGS -I${AVCODECINCLUDEDIR}" - dnl ######################################################################## - dnl get pwlib directory -! if test "${PWLIBDIR:-unset}" = "unset" ; then - PWLIBDIR=`ptlib-config --prefix` - fi -! if test "x$PWLIBDIR" = "x/usr" -o "x$PWLIBDIR" = "x/usr/"; then - PWLIBDIR="/usr/share/pwlib/" - fi -! if test "xPWLIBDIR" = "x/usr/local" -o "x$PWLIBDIR" = "x/usr/"; then - PWLIBDIR="/usr/local/share/pwlib/" - fi - echo "PWLib prefix set to.... $PWLIBDIR" -*************** -*** 96,102 **** - else - AC_CHECK_FILE(/usr/local/include/ffmpeg/avcodec.h, H323_AVCODEC=1) - if test "${H323_AVCODEC:-unset}" != "unset" ; then -! AVCODECINCLUDEDIR=/usr/local/include/ffmpeg - AVCODECLIBDIR=/usr/local/lib - fi - fi ---- 96,102 ---- - else - AC_CHECK_FILE(/usr/local/include/ffmpeg/avcodec.h, H323_AVCODEC=1) - if test "${H323_AVCODEC:-unset}" != "unset" ; then -! AVCODECINCLUDEDIR=/usr/local/include - AVCODECLIBDIR=/usr/local/lib - fi - fi diff --git a/net/opal/files/patch-include+h263codec.h b/net/opal/files/patch-include+h263codec.h deleted file mode 100644 index 171efe102701..000000000000 --- a/net/opal/files/patch-include+h263codec.h +++ /dev/null @@ -1,19 +0,0 @@ ---- include/h263codec.h.orig Sat Feb 19 11:29:15 2005 -+++ include/h263codec.h Sat Feb 19 11:38:52 2005 -@@ -92,6 +92,7 @@ - struct AVCodec; - struct AVCodecContext; - struct AVFrame; -+struct AVCodecParserContext; - - /////////////////////////////////////////////////////////////////////////////// - -@@ -478,7 +479,7 @@ - send. Note that for every encode thread, this 1 method is called. Consequently, - code is required to separate out packets from different encode threads. - */ -- static void RtpCallback(void *data, int size, int packetNumber); -+ static void RtpCallback(AVCodecContext *s, void *data, int size, int packetNumber); - - protected: - BOOL Resize(int width, int height); diff --git a/net/opal/files/patch-include-ffh263codec.h b/net/opal/files/patch-include-ffh263codec.h new file mode 100644 index 000000000000..4329c3f7ef76 --- /dev/null +++ b/net/opal/files/patch-include-ffh263codec.h @@ -0,0 +1,12 @@ +*** include/ffh263codec.h.orig Mon Aug 4 00:03:16 2003 +--- include/ffh263codec.h Mon Jun 6 14:54:31 2005 +*************** +*** 96,101 **** +--- 96,102 ---- + struct AVCodec; + struct AVCodecContext; + struct AVFrame; ++ struct AVCodecParserContext; + + /////////////////////////////////////////////////////////////////////////////// + diff --git a/net/opal/files/patch-include-h263codec.h b/net/opal/files/patch-include-h263codec.h new file mode 100644 index 000000000000..de0bf299f3bd --- /dev/null +++ b/net/opal/files/patch-include-h263codec.h @@ -0,0 +1,19 @@ +*** include/h263codec.h.orig Mon Aug 4 00:03:22 2003 +--- include/h263codec.h Mon Jun 6 14:57:16 2005 +*************** +*** 426,432 **** + send. Note that for every encode thread, this 1 method is called. Consequently, + code is required to separate out packets from different encode threads. + */ +! static void RtpCallback(void *data, int size, int packetNumber); + + protected: + BOOL Resize(int width, int height); +--- 426,432 ---- + send. Note that for every encode thread, this 1 method is called. Consequently, + code is required to separate out packets from different encode threads. + */ +! static void RtpCallback(AVCodecContext *s, void *data, int size, int packet Number); + + protected: + BOOL Resize(int width, int height); diff --git a/net/opal/files/patch-src-ffh263codec.cxx b/net/opal/files/patch-src-ffh263codec.cxx new file mode 100644 index 000000000000..3669cbe8779d --- /dev/null +++ b/net/opal/files/patch-src-ffh263codec.cxx @@ -0,0 +1,19 @@ +*** src/ffh263codec.cxx.orig Fri Aug 8 01:52:14 2003 +--- src/ffh263codec.cxx Mon Jun 6 15:28:05 2005 +*************** +*** 140,146 **** + #define MSVC_OPENH323 1 + + extern "C" { +! #include <avcodec.h> + }; + + +--- 140,146 ---- + #define MSVC_OPENH323 1 + + extern "C" { +! #include <ffmpeg/avcodec.h> + }; + + diff --git a/net/opal/files/patch-src::h263codec.cxx b/net/opal/files/patch-src::h263codec.cxx deleted file mode 100644 index dee9c412d539..000000000000 --- a/net/opal/files/patch-src::h263codec.cxx +++ /dev/null @@ -1,20 +0,0 @@ ---- src/h263codec.cxx.orig Fri Jun 6 08:32:08 2003 -+++ src/h263codec.cxx Sat Feb 19 11:19:36 2005 -@@ -109,7 +109,7 @@ - #include "rtp.h" - - extern "C" { --#include <avcodec.h> -+#include <ffmpeg/avcodec.h> - }; - - -@@ -836,7 +836,7 @@ - } - - --void H323_H263Codec::RtpCallback(void *data, int size, int /*packetNumber*/) -+void H323_H263Codec::RtpCallback(AVCodecContext* /*s*/, void *data, int size, int /*packetNumber*/) - { - encodedPackets.AppendH263Packet(data, size); - } diff --git a/net/opal3/Makefile b/net/opal3/Makefile index d5856d94fff5..52ec78d313d4 100644 --- a/net/opal3/Makefile +++ b/net/opal3/Makefile @@ -6,8 +6,7 @@ # PORTNAME= openh323 -PORTVERSION= 1.12.0 -PORTREVISION= 5 +PORTVERSION= 1.12.2 CATEGORIES= net MASTER_SITES= http://www.openh323.org/bin/ \ http://www.de.openh323.org/bin/ \ @@ -18,7 +17,6 @@ MAINTAINER= ports@FreeBSD.org COMMENT= A H323 Video Conferencing library BUILD_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/devel/pwlib:build - LIB_DEPENDS= expat.5:${PORTSDIR}/textproc/expat2 .include <bsd.port.pre.mk> @@ -28,7 +26,7 @@ LIB_DEPENDS= expat.5:${PORTSDIR}/textproc/expat2 # If it is not present, extract it from the comms/ixj port .if !exists(/usr/include/sys/telephony.h) .if !exists(/usr/local/include/sys/telephony.h) -PATCH_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/comms/ixj:patch +PATCH_DEPENDS+= ${NONEXISTENT}:${PORTSDIR}/comms/ixj:patch .endif .endif .endif @@ -40,7 +38,7 @@ USE_BISON= yes USE_GMAKE= yes USE_OPENLDAP= yes -USE_AUTOCONF_VER= 253 +USE_AUTOCONF_VER= 259 GNU_CONFIGURE= yes PWLIBDIR!= cd ${PORTSDIR}/devel/pwlib && make -V WRKSRC CONFIGURE_ENV= PWLIBDIR=${PWLIBDIR} OPENH323DIR=${WRKSRC} diff --git a/net/opal3/distinfo b/net/opal3/distinfo index bc1860481dea..76c84d0a1a8c 100644 --- a/net/opal3/distinfo +++ b/net/opal3/distinfo @@ -1,2 +1,2 @@ -MD5 (openh323_1.12.0.tar.gz) = f7932f0a17d6afafc7332036a4b5d392 -SIZE (openh323_1.12.0.tar.gz) = 2325128 +MD5 (openh323_1.12.2.tar.gz) = 15f0b12b60769d03eca9e498050776f3 +SIZE (openh323_1.12.2.tar.gz) = 2343354 diff --git a/net/opal3/files/patch-configurein b/net/opal3/files/patch-configurein index edff8fef174b..28578a9c1175 100644 --- a/net/opal3/files/patch-configurein +++ b/net/opal3/files/patch-configurein @@ -1,50 +1,19 @@ -Index: configure.in -diff -c configure.in.orig configure.in -*** configure.in.orig Thu May 22 21:25:00 2003 ---- configure.in Sun Nov 23 22:51:33 2003 +*** configure.in.orig Mon Jun 6 14:34:14 2005 +--- configure.in Mon Jun 6 14:41:03 2005 *************** -*** 73,85 **** +*** 109,115 **** + if test "${H323_AVCODEC:-unset}" != "unset" ; then + AC_SUBST(H323_AVCODEC, 1) + AC_DEFINE(H323_AVCODEC, 1, "ffmpeg based avodec found") +! AVCODECINCLUDEDIR=/usr/local/include/ffmpeg + AVCODECLIBDIR=/usr/local/lib + STDCCFLAGS="$STDCCFLAGS -I${AVCODECINCLUDEDIR}" - dnl ######################################################################## - dnl get pwlib directory -! if test "${PWLIBDIR:-unset}" == "unset" ; then - PWLIBDIR=`ptlib-config --prefix` - fi -! if test "x$PWLIBDIR" == "x/usr" -o "x$PWLIBDIR" == "x/usr/"; then - PWLIBDIR="/usr/share/pwlib/" - fi -! if test "xPWLIBDIR" == "x/usr/local" -o "x$PWLIBDIR" == "x/usr/"; then - PWLIBDIR="/usr/local/share/pwlib/" - fi - echo "PWLib prefix set to.... $PWLIBDIR" ---- 73,85 ---- +--- 109,115 ---- + if test "${H323_AVCODEC:-unset}" != "unset" ; then + AC_SUBST(H323_AVCODEC, 1) + AC_DEFINE(H323_AVCODEC, 1, "ffmpeg based avodec found") +! AVCODECINCLUDEDIR=/usr/local/include + AVCODECLIBDIR=/usr/local/lib + STDCCFLAGS="$STDCCFLAGS -I${AVCODECINCLUDEDIR}" - dnl ######################################################################## - dnl get pwlib directory -! if test "${PWLIBDIR:-unset}" = "unset" ; then - PWLIBDIR=`ptlib-config --prefix` - fi -! if test "x$PWLIBDIR" = "x/usr" -o "x$PWLIBDIR" = "x/usr/"; then - PWLIBDIR="/usr/share/pwlib/" - fi -! if test "xPWLIBDIR" = "x/usr/local" -o "x$PWLIBDIR" = "x/usr/"; then - PWLIBDIR="/usr/local/share/pwlib/" - fi - echo "PWLib prefix set to.... $PWLIBDIR" -*************** -*** 96,102 **** - else - AC_CHECK_FILE(/usr/local/include/ffmpeg/avcodec.h, H323_AVCODEC=1) - if test "${H323_AVCODEC:-unset}" != "unset" ; then -! AVCODECINCLUDEDIR=/usr/local/include/ffmpeg - AVCODECLIBDIR=/usr/local/lib - fi - fi ---- 96,102 ---- - else - AC_CHECK_FILE(/usr/local/include/ffmpeg/avcodec.h, H323_AVCODEC=1) - if test "${H323_AVCODEC:-unset}" != "unset" ; then -! AVCODECINCLUDEDIR=/usr/local/include - AVCODECLIBDIR=/usr/local/lib - fi - fi diff --git a/net/opal3/files/patch-include+h263codec.h b/net/opal3/files/patch-include+h263codec.h deleted file mode 100644 index 171efe102701..000000000000 --- a/net/opal3/files/patch-include+h263codec.h +++ /dev/null @@ -1,19 +0,0 @@ ---- include/h263codec.h.orig Sat Feb 19 11:29:15 2005 -+++ include/h263codec.h Sat Feb 19 11:38:52 2005 -@@ -92,6 +92,7 @@ - struct AVCodec; - struct AVCodecContext; - struct AVFrame; -+struct AVCodecParserContext; - - /////////////////////////////////////////////////////////////////////////////// - -@@ -478,7 +479,7 @@ - send. Note that for every encode thread, this 1 method is called. Consequently, - code is required to separate out packets from different encode threads. - */ -- static void RtpCallback(void *data, int size, int packetNumber); -+ static void RtpCallback(AVCodecContext *s, void *data, int size, int packetNumber); - - protected: - BOOL Resize(int width, int height); diff --git a/net/opal3/files/patch-include-ffh263codec.h b/net/opal3/files/patch-include-ffh263codec.h new file mode 100644 index 000000000000..4329c3f7ef76 --- /dev/null +++ b/net/opal3/files/patch-include-ffh263codec.h @@ -0,0 +1,12 @@ +*** include/ffh263codec.h.orig Mon Aug 4 00:03:16 2003 +--- include/ffh263codec.h Mon Jun 6 14:54:31 2005 +*************** +*** 96,101 **** +--- 96,102 ---- + struct AVCodec; + struct AVCodecContext; + struct AVFrame; ++ struct AVCodecParserContext; + + /////////////////////////////////////////////////////////////////////////////// + diff --git a/net/opal3/files/patch-include-h263codec.h b/net/opal3/files/patch-include-h263codec.h new file mode 100644 index 000000000000..de0bf299f3bd --- /dev/null +++ b/net/opal3/files/patch-include-h263codec.h @@ -0,0 +1,19 @@ +*** include/h263codec.h.orig Mon Aug 4 00:03:22 2003 +--- include/h263codec.h Mon Jun 6 14:57:16 2005 +*************** +*** 426,432 **** + send. Note that for every encode thread, this 1 method is called. Consequently, + code is required to separate out packets from different encode threads. + */ +! static void RtpCallback(void *data, int size, int packetNumber); + + protected: + BOOL Resize(int width, int height); +--- 426,432 ---- + send. Note that for every encode thread, this 1 method is called. Consequently, + code is required to separate out packets from different encode threads. + */ +! static void RtpCallback(AVCodecContext *s, void *data, int size, int packet Number); + + protected: + BOOL Resize(int width, int height); diff --git a/net/opal3/files/patch-src-ffh263codec.cxx b/net/opal3/files/patch-src-ffh263codec.cxx new file mode 100644 index 000000000000..3669cbe8779d --- /dev/null +++ b/net/opal3/files/patch-src-ffh263codec.cxx @@ -0,0 +1,19 @@ +*** src/ffh263codec.cxx.orig Fri Aug 8 01:52:14 2003 +--- src/ffh263codec.cxx Mon Jun 6 15:28:05 2005 +*************** +*** 140,146 **** + #define MSVC_OPENH323 1 + + extern "C" { +! #include <avcodec.h> + }; + + +--- 140,146 ---- + #define MSVC_OPENH323 1 + + extern "C" { +! #include <ffmpeg/avcodec.h> + }; + + diff --git a/net/opal3/files/patch-src::h263codec.cxx b/net/opal3/files/patch-src::h263codec.cxx deleted file mode 100644 index dee9c412d539..000000000000 --- a/net/opal3/files/patch-src::h263codec.cxx +++ /dev/null @@ -1,20 +0,0 @@ ---- src/h263codec.cxx.orig Fri Jun 6 08:32:08 2003 -+++ src/h263codec.cxx Sat Feb 19 11:19:36 2005 -@@ -109,7 +109,7 @@ - #include "rtp.h" - - extern "C" { --#include <avcodec.h> -+#include <ffmpeg/avcodec.h> - }; - - -@@ -836,7 +836,7 @@ - } - - --void H323_H263Codec::RtpCallback(void *data, int size, int /*packetNumber*/) -+void H323_H263Codec::RtpCallback(AVCodecContext* /*s*/, void *data, int size, int /*packetNumber*/) - { - encodedPackets.AppendH263Packet(data, size); - } diff --git a/net/openh323-112/Makefile b/net/openh323-112/Makefile index d5856d94fff5..52ec78d313d4 100644 --- a/net/openh323-112/Makefile +++ b/net/openh323-112/Makefile @@ -6,8 +6,7 @@ # PORTNAME= openh323 -PORTVERSION= 1.12.0 -PORTREVISION= 5 +PORTVERSION= 1.12.2 CATEGORIES= net MASTER_SITES= http://www.openh323.org/bin/ \ http://www.de.openh323.org/bin/ \ @@ -18,7 +17,6 @@ MAINTAINER= ports@FreeBSD.org COMMENT= A H323 Video Conferencing library BUILD_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/devel/pwlib:build - LIB_DEPENDS= expat.5:${PORTSDIR}/textproc/expat2 .include <bsd.port.pre.mk> @@ -28,7 +26,7 @@ LIB_DEPENDS= expat.5:${PORTSDIR}/textproc/expat2 # If it is not present, extract it from the comms/ixj port .if !exists(/usr/include/sys/telephony.h) .if !exists(/usr/local/include/sys/telephony.h) -PATCH_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/comms/ixj:patch +PATCH_DEPENDS+= ${NONEXISTENT}:${PORTSDIR}/comms/ixj:patch .endif .endif .endif @@ -40,7 +38,7 @@ USE_BISON= yes USE_GMAKE= yes USE_OPENLDAP= yes -USE_AUTOCONF_VER= 253 +USE_AUTOCONF_VER= 259 GNU_CONFIGURE= yes PWLIBDIR!= cd ${PORTSDIR}/devel/pwlib && make -V WRKSRC CONFIGURE_ENV= PWLIBDIR=${PWLIBDIR} OPENH323DIR=${WRKSRC} diff --git a/net/openh323-112/distinfo b/net/openh323-112/distinfo index bc1860481dea..76c84d0a1a8c 100644 --- a/net/openh323-112/distinfo +++ b/net/openh323-112/distinfo @@ -1,2 +1,2 @@ -MD5 (openh323_1.12.0.tar.gz) = f7932f0a17d6afafc7332036a4b5d392 -SIZE (openh323_1.12.0.tar.gz) = 2325128 +MD5 (openh323_1.12.2.tar.gz) = 15f0b12b60769d03eca9e498050776f3 +SIZE (openh323_1.12.2.tar.gz) = 2343354 diff --git a/net/openh323-112/files/patch-configurein b/net/openh323-112/files/patch-configurein index edff8fef174b..28578a9c1175 100644 --- a/net/openh323-112/files/patch-configurein +++ b/net/openh323-112/files/patch-configurein @@ -1,50 +1,19 @@ -Index: configure.in -diff -c configure.in.orig configure.in -*** configure.in.orig Thu May 22 21:25:00 2003 ---- configure.in Sun Nov 23 22:51:33 2003 +*** configure.in.orig Mon Jun 6 14:34:14 2005 +--- configure.in Mon Jun 6 14:41:03 2005 *************** -*** 73,85 **** +*** 109,115 **** + if test "${H323_AVCODEC:-unset}" != "unset" ; then + AC_SUBST(H323_AVCODEC, 1) + AC_DEFINE(H323_AVCODEC, 1, "ffmpeg based avodec found") +! AVCODECINCLUDEDIR=/usr/local/include/ffmpeg + AVCODECLIBDIR=/usr/local/lib + STDCCFLAGS="$STDCCFLAGS -I${AVCODECINCLUDEDIR}" - dnl ######################################################################## - dnl get pwlib directory -! if test "${PWLIBDIR:-unset}" == "unset" ; then - PWLIBDIR=`ptlib-config --prefix` - fi -! if test "x$PWLIBDIR" == "x/usr" -o "x$PWLIBDIR" == "x/usr/"; then - PWLIBDIR="/usr/share/pwlib/" - fi -! if test "xPWLIBDIR" == "x/usr/local" -o "x$PWLIBDIR" == "x/usr/"; then - PWLIBDIR="/usr/local/share/pwlib/" - fi - echo "PWLib prefix set to.... $PWLIBDIR" ---- 73,85 ---- +--- 109,115 ---- + if test "${H323_AVCODEC:-unset}" != "unset" ; then + AC_SUBST(H323_AVCODEC, 1) + AC_DEFINE(H323_AVCODEC, 1, "ffmpeg based avodec found") +! AVCODECINCLUDEDIR=/usr/local/include + AVCODECLIBDIR=/usr/local/lib + STDCCFLAGS="$STDCCFLAGS -I${AVCODECINCLUDEDIR}" - dnl ######################################################################## - dnl get pwlib directory -! if test "${PWLIBDIR:-unset}" = "unset" ; then - PWLIBDIR=`ptlib-config --prefix` - fi -! if test "x$PWLIBDIR" = "x/usr" -o "x$PWLIBDIR" = "x/usr/"; then - PWLIBDIR="/usr/share/pwlib/" - fi -! if test "xPWLIBDIR" = "x/usr/local" -o "x$PWLIBDIR" = "x/usr/"; then - PWLIBDIR="/usr/local/share/pwlib/" - fi - echo "PWLib prefix set to.... $PWLIBDIR" -*************** -*** 96,102 **** - else - AC_CHECK_FILE(/usr/local/include/ffmpeg/avcodec.h, H323_AVCODEC=1) - if test "${H323_AVCODEC:-unset}" != "unset" ; then -! AVCODECINCLUDEDIR=/usr/local/include/ffmpeg - AVCODECLIBDIR=/usr/local/lib - fi - fi ---- 96,102 ---- - else - AC_CHECK_FILE(/usr/local/include/ffmpeg/avcodec.h, H323_AVCODEC=1) - if test "${H323_AVCODEC:-unset}" != "unset" ; then -! AVCODECINCLUDEDIR=/usr/local/include - AVCODECLIBDIR=/usr/local/lib - fi - fi diff --git a/net/openh323-112/files/patch-include+h263codec.h b/net/openh323-112/files/patch-include+h263codec.h deleted file mode 100644 index 171efe102701..000000000000 --- a/net/openh323-112/files/patch-include+h263codec.h +++ /dev/null @@ -1,19 +0,0 @@ ---- include/h263codec.h.orig Sat Feb 19 11:29:15 2005 -+++ include/h263codec.h Sat Feb 19 11:38:52 2005 -@@ -92,6 +92,7 @@ - struct AVCodec; - struct AVCodecContext; - struct AVFrame; -+struct AVCodecParserContext; - - /////////////////////////////////////////////////////////////////////////////// - -@@ -478,7 +479,7 @@ - send. Note that for every encode thread, this 1 method is called. Consequently, - code is required to separate out packets from different encode threads. - */ -- static void RtpCallback(void *data, int size, int packetNumber); -+ static void RtpCallback(AVCodecContext *s, void *data, int size, int packetNumber); - - protected: - BOOL Resize(int width, int height); diff --git a/net/openh323-112/files/patch-include-ffh263codec.h b/net/openh323-112/files/patch-include-ffh263codec.h new file mode 100644 index 000000000000..4329c3f7ef76 --- /dev/null +++ b/net/openh323-112/files/patch-include-ffh263codec.h @@ -0,0 +1,12 @@ +*** include/ffh263codec.h.orig Mon Aug 4 00:03:16 2003 +--- include/ffh263codec.h Mon Jun 6 14:54:31 2005 +*************** +*** 96,101 **** +--- 96,102 ---- + struct AVCodec; + struct AVCodecContext; + struct AVFrame; ++ struct AVCodecParserContext; + + /////////////////////////////////////////////////////////////////////////////// + diff --git a/net/openh323-112/files/patch-include-h263codec.h b/net/openh323-112/files/patch-include-h263codec.h new file mode 100644 index 000000000000..de0bf299f3bd --- /dev/null +++ b/net/openh323-112/files/patch-include-h263codec.h @@ -0,0 +1,19 @@ +*** include/h263codec.h.orig Mon Aug 4 00:03:22 2003 +--- include/h263codec.h Mon Jun 6 14:57:16 2005 +*************** +*** 426,432 **** + send. Note that for every encode thread, this 1 method is called. Consequently, + code is required to separate out packets from different encode threads. + */ +! static void RtpCallback(void *data, int size, int packetNumber); + + protected: + BOOL Resize(int width, int height); +--- 426,432 ---- + send. Note that for every encode thread, this 1 method is called. Consequently, + code is required to separate out packets from different encode threads. + */ +! static void RtpCallback(AVCodecContext *s, void *data, int size, int packet Number); + + protected: + BOOL Resize(int width, int height); diff --git a/net/openh323-112/files/patch-src-ffh263codec.cxx b/net/openh323-112/files/patch-src-ffh263codec.cxx new file mode 100644 index 000000000000..3669cbe8779d --- /dev/null +++ b/net/openh323-112/files/patch-src-ffh263codec.cxx @@ -0,0 +1,19 @@ +*** src/ffh263codec.cxx.orig Fri Aug 8 01:52:14 2003 +--- src/ffh263codec.cxx Mon Jun 6 15:28:05 2005 +*************** +*** 140,146 **** + #define MSVC_OPENH323 1 + + extern "C" { +! #include <avcodec.h> + }; + + +--- 140,146 ---- + #define MSVC_OPENH323 1 + + extern "C" { +! #include <ffmpeg/avcodec.h> + }; + + diff --git a/net/openh323-112/files/patch-src::h263codec.cxx b/net/openh323-112/files/patch-src::h263codec.cxx deleted file mode 100644 index dee9c412d539..000000000000 --- a/net/openh323-112/files/patch-src::h263codec.cxx +++ /dev/null @@ -1,20 +0,0 @@ ---- src/h263codec.cxx.orig Fri Jun 6 08:32:08 2003 -+++ src/h263codec.cxx Sat Feb 19 11:19:36 2005 -@@ -109,7 +109,7 @@ - #include "rtp.h" - - extern "C" { --#include <avcodec.h> -+#include <ffmpeg/avcodec.h> - }; - - -@@ -836,7 +836,7 @@ - } - - --void H323_H263Codec::RtpCallback(void *data, int size, int /*packetNumber*/) -+void H323_H263Codec::RtpCallback(AVCodecContext* /*s*/, void *data, int size, int /*packetNumber*/) - { - encodedPackets.AppendH263Packet(data, size); - } diff --git a/net/openh323/Makefile b/net/openh323/Makefile index d5856d94fff5..52ec78d313d4 100644 --- a/net/openh323/Makefile +++ b/net/openh323/Makefile @@ -6,8 +6,7 @@ # PORTNAME= openh323 -PORTVERSION= 1.12.0 -PORTREVISION= 5 +PORTVERSION= 1.12.2 CATEGORIES= net MASTER_SITES= http://www.openh323.org/bin/ \ http://www.de.openh323.org/bin/ \ @@ -18,7 +17,6 @@ MAINTAINER= ports@FreeBSD.org COMMENT= A H323 Video Conferencing library BUILD_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/devel/pwlib:build - LIB_DEPENDS= expat.5:${PORTSDIR}/textproc/expat2 .include <bsd.port.pre.mk> @@ -28,7 +26,7 @@ LIB_DEPENDS= expat.5:${PORTSDIR}/textproc/expat2 # If it is not present, extract it from the comms/ixj port .if !exists(/usr/include/sys/telephony.h) .if !exists(/usr/local/include/sys/telephony.h) -PATCH_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/comms/ixj:patch +PATCH_DEPENDS+= ${NONEXISTENT}:${PORTSDIR}/comms/ixj:patch .endif .endif .endif @@ -40,7 +38,7 @@ USE_BISON= yes USE_GMAKE= yes USE_OPENLDAP= yes -USE_AUTOCONF_VER= 253 +USE_AUTOCONF_VER= 259 GNU_CONFIGURE= yes PWLIBDIR!= cd ${PORTSDIR}/devel/pwlib && make -V WRKSRC CONFIGURE_ENV= PWLIBDIR=${PWLIBDIR} OPENH323DIR=${WRKSRC} diff --git a/net/openh323/distinfo b/net/openh323/distinfo index bc1860481dea..76c84d0a1a8c 100644 --- a/net/openh323/distinfo +++ b/net/openh323/distinfo @@ -1,2 +1,2 @@ -MD5 (openh323_1.12.0.tar.gz) = f7932f0a17d6afafc7332036a4b5d392 -SIZE (openh323_1.12.0.tar.gz) = 2325128 +MD5 (openh323_1.12.2.tar.gz) = 15f0b12b60769d03eca9e498050776f3 +SIZE (openh323_1.12.2.tar.gz) = 2343354 diff --git a/net/openh323/files/patch-configurein b/net/openh323/files/patch-configurein index edff8fef174b..28578a9c1175 100644 --- a/net/openh323/files/patch-configurein +++ b/net/openh323/files/patch-configurein @@ -1,50 +1,19 @@ -Index: configure.in -diff -c configure.in.orig configure.in -*** configure.in.orig Thu May 22 21:25:00 2003 ---- configure.in Sun Nov 23 22:51:33 2003 +*** configure.in.orig Mon Jun 6 14:34:14 2005 +--- configure.in Mon Jun 6 14:41:03 2005 *************** -*** 73,85 **** +*** 109,115 **** + if test "${H323_AVCODEC:-unset}" != "unset" ; then + AC_SUBST(H323_AVCODEC, 1) + AC_DEFINE(H323_AVCODEC, 1, "ffmpeg based avodec found") +! AVCODECINCLUDEDIR=/usr/local/include/ffmpeg + AVCODECLIBDIR=/usr/local/lib + STDCCFLAGS="$STDCCFLAGS -I${AVCODECINCLUDEDIR}" - dnl ######################################################################## - dnl get pwlib directory -! if test "${PWLIBDIR:-unset}" == "unset" ; then - PWLIBDIR=`ptlib-config --prefix` - fi -! if test "x$PWLIBDIR" == "x/usr" -o "x$PWLIBDIR" == "x/usr/"; then - PWLIBDIR="/usr/share/pwlib/" - fi -! if test "xPWLIBDIR" == "x/usr/local" -o "x$PWLIBDIR" == "x/usr/"; then - PWLIBDIR="/usr/local/share/pwlib/" - fi - echo "PWLib prefix set to.... $PWLIBDIR" ---- 73,85 ---- +--- 109,115 ---- + if test "${H323_AVCODEC:-unset}" != "unset" ; then + AC_SUBST(H323_AVCODEC, 1) + AC_DEFINE(H323_AVCODEC, 1, "ffmpeg based avodec found") +! AVCODECINCLUDEDIR=/usr/local/include + AVCODECLIBDIR=/usr/local/lib + STDCCFLAGS="$STDCCFLAGS -I${AVCODECINCLUDEDIR}" - dnl ######################################################################## - dnl get pwlib directory -! if test "${PWLIBDIR:-unset}" = "unset" ; then - PWLIBDIR=`ptlib-config --prefix` - fi -! if test "x$PWLIBDIR" = "x/usr" -o "x$PWLIBDIR" = "x/usr/"; then - PWLIBDIR="/usr/share/pwlib/" - fi -! if test "xPWLIBDIR" = "x/usr/local" -o "x$PWLIBDIR" = "x/usr/"; then - PWLIBDIR="/usr/local/share/pwlib/" - fi - echo "PWLib prefix set to.... $PWLIBDIR" -*************** -*** 96,102 **** - else - AC_CHECK_FILE(/usr/local/include/ffmpeg/avcodec.h, H323_AVCODEC=1) - if test "${H323_AVCODEC:-unset}" != "unset" ; then -! AVCODECINCLUDEDIR=/usr/local/include/ffmpeg - AVCODECLIBDIR=/usr/local/lib - fi - fi ---- 96,102 ---- - else - AC_CHECK_FILE(/usr/local/include/ffmpeg/avcodec.h, H323_AVCODEC=1) - if test "${H323_AVCODEC:-unset}" != "unset" ; then -! AVCODECINCLUDEDIR=/usr/local/include - AVCODECLIBDIR=/usr/local/lib - fi - fi diff --git a/net/openh323/files/patch-include+h263codec.h b/net/openh323/files/patch-include+h263codec.h deleted file mode 100644 index 171efe102701..000000000000 --- a/net/openh323/files/patch-include+h263codec.h +++ /dev/null @@ -1,19 +0,0 @@ ---- include/h263codec.h.orig Sat Feb 19 11:29:15 2005 -+++ include/h263codec.h Sat Feb 19 11:38:52 2005 -@@ -92,6 +92,7 @@ - struct AVCodec; - struct AVCodecContext; - struct AVFrame; -+struct AVCodecParserContext; - - /////////////////////////////////////////////////////////////////////////////// - -@@ -478,7 +479,7 @@ - send. Note that for every encode thread, this 1 method is called. Consequently, - code is required to separate out packets from different encode threads. - */ -- static void RtpCallback(void *data, int size, int packetNumber); -+ static void RtpCallback(AVCodecContext *s, void *data, int size, int packetNumber); - - protected: - BOOL Resize(int width, int height); diff --git a/net/openh323/files/patch-include-ffh263codec.h b/net/openh323/files/patch-include-ffh263codec.h new file mode 100644 index 000000000000..4329c3f7ef76 --- /dev/null +++ b/net/openh323/files/patch-include-ffh263codec.h @@ -0,0 +1,12 @@ +*** include/ffh263codec.h.orig Mon Aug 4 00:03:16 2003 +--- include/ffh263codec.h Mon Jun 6 14:54:31 2005 +*************** +*** 96,101 **** +--- 96,102 ---- + struct AVCodec; + struct AVCodecContext; + struct AVFrame; ++ struct AVCodecParserContext; + + /////////////////////////////////////////////////////////////////////////////// + diff --git a/net/openh323/files/patch-include-h263codec.h b/net/openh323/files/patch-include-h263codec.h new file mode 100644 index 000000000000..de0bf299f3bd --- /dev/null +++ b/net/openh323/files/patch-include-h263codec.h @@ -0,0 +1,19 @@ +*** include/h263codec.h.orig Mon Aug 4 00:03:22 2003 +--- include/h263codec.h Mon Jun 6 14:57:16 2005 +*************** +*** 426,432 **** + send. Note that for every encode thread, this 1 method is called. Consequently, + code is required to separate out packets from different encode threads. + */ +! static void RtpCallback(void *data, int size, int packetNumber); + + protected: + BOOL Resize(int width, int height); +--- 426,432 ---- + send. Note that for every encode thread, this 1 method is called. Consequently, + code is required to separate out packets from different encode threads. + */ +! static void RtpCallback(AVCodecContext *s, void *data, int size, int packet Number); + + protected: + BOOL Resize(int width, int height); diff --git a/net/openh323/files/patch-src-ffh263codec.cxx b/net/openh323/files/patch-src-ffh263codec.cxx new file mode 100644 index 000000000000..3669cbe8779d --- /dev/null +++ b/net/openh323/files/patch-src-ffh263codec.cxx @@ -0,0 +1,19 @@ +*** src/ffh263codec.cxx.orig Fri Aug 8 01:52:14 2003 +--- src/ffh263codec.cxx Mon Jun 6 15:28:05 2005 +*************** +*** 140,146 **** + #define MSVC_OPENH323 1 + + extern "C" { +! #include <avcodec.h> + }; + + +--- 140,146 ---- + #define MSVC_OPENH323 1 + + extern "C" { +! #include <ffmpeg/avcodec.h> + }; + + diff --git a/net/openh323/files/patch-src::h263codec.cxx b/net/openh323/files/patch-src::h263codec.cxx deleted file mode 100644 index dee9c412d539..000000000000 --- a/net/openh323/files/patch-src::h263codec.cxx +++ /dev/null @@ -1,20 +0,0 @@ ---- src/h263codec.cxx.orig Fri Jun 6 08:32:08 2003 -+++ src/h263codec.cxx Sat Feb 19 11:19:36 2005 -@@ -109,7 +109,7 @@ - #include "rtp.h" - - extern "C" { --#include <avcodec.h> -+#include <ffmpeg/avcodec.h> - }; - - -@@ -836,7 +836,7 @@ - } - - --void H323_H263Codec::RtpCallback(void *data, int size, int /*packetNumber*/) -+void H323_H263Codec::RtpCallback(AVCodecContext* /*s*/, void *data, int size, int /*packetNumber*/) - { - encodedPackets.AppendH263Packet(data, size); - } |