summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMounir Lamouri <volkmar@gentoo.org>2009-08-25 18:50:15 +0000
committerMounir Lamouri <volkmar@gentoo.org>2009-08-25 18:50:15 +0000
commit827637a0ea5338c92498caf30d3948fef9e87082 (patch)
tree33234ef137938bb0620440edcab491a908d84396 /net-libs/opal
parentStable on alpha, bug #272675 (diff)
downloadgentoo-2-827637a0ea5338c92498caf30d3948fef9e87082.tar.gz
gentoo-2-827637a0ea5338c92498caf30d3948fef9e87082.tar.bz2
gentoo-2-827637a0ea5338c92498caf30d3948fef9e87082.zip
Version bump to 3.6.4.
Bug 281170 Thanks to Colin Macdonald. (Portage version: 14113-svn/cvs/Linux i686)
Diffstat (limited to 'net-libs/opal')
-rw-r--r--net-libs/opal/ChangeLog12
-rw-r--r--net-libs/opal/files/opal-3.6.2-as-needed.patch164
-rw-r--r--net-libs/opal/files/opal-3.6.2-gcc-4.4.patch13
-rw-r--r--net-libs/opal/files/opal-3.6.2-sbc.patch11
-rw-r--r--net-libs/opal/files/opal-3.6.2-system-ilbc.patch117
-rw-r--r--net-libs/opal/files/opal-3.6.4-jdkroot.patch (renamed from net-libs/opal/files/opal-3.6.2-jdkroot.patch)0
-rw-r--r--net-libs/opal/opal-3.6.4.ebuild (renamed from net-libs/opal/opal-3.6.2.ebuild)20
7 files changed, 13 insertions, 324 deletions
diff --git a/net-libs/opal/ChangeLog b/net-libs/opal/ChangeLog
index 8127c56d1bcf..3ebb2b445a3e 100644
--- a/net-libs/opal/ChangeLog
+++ b/net-libs/opal/ChangeLog
@@ -1,6 +1,16 @@
# ChangeLog for net-libs/opal
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/opal/ChangeLog,v 1.48 2009/08/03 21:33:00 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/opal/ChangeLog,v 1.49 2009/08/25 18:50:14 volkmar Exp $
+
+*opal-3.6.4 (25 Aug 2009)
+
+ 25 Aug 2009; Mounir Lamouri <volkmar@gentoo.org>
+ -files/opal-3.6.2-as-needed.patch, -files/opal-3.6.2-gcc-4.4.patch,
+ -files/opal-3.6.2-jdkroot.patch, -files/opal-3.6.2-sbc.patch,
+ -files/opal-3.6.2-system-ilbc.patch, +files/opal-3.6.4-jdkroot.patch,
+ -opal-3.6.2.ebuild, +opal-3.6.4.ebuild:
+ Version bump to 3.6.4. Bug 281170
+ Thanks to Colin Macdonald.
03 Aug 2009; Markus Meier <maekke@gentoo.org> opal-3.6.2.ebuild:
add ~amd64, bug #276355
diff --git a/net-libs/opal/files/opal-3.6.2-as-needed.patch b/net-libs/opal/files/opal-3.6.2-as-needed.patch
deleted file mode 100644
index 64ae516c0804..000000000000
--- a/net-libs/opal/files/opal-3.6.2-as-needed.patch
+++ /dev/null
@@ -1,164 +0,0 @@
---- opal.m4.old 2009-05-22 12:44:22.000000000 +0200
-+++ opal.m4 2009-05-22 13:43:58.000000000 +0200
-@@ -363,13 +363,13 @@
- AC_DEFUN([OPAL_CHECK_PTLIB],
- [
- old_CXXFLAGS="$CXXFLAGS"
-- old_LDFLAGS="$LDFLAGS"
-+ old_LIBS="$LIBS"
-
- CXXFLAGS="$CXXFLAGS $PTLIB_CFLAGS $PTLIB_CXXFLAGS"
- if test "x${DEBUG_BUILD}" = xyes; then
-- LDFLAGS="$LDFLAGS $DEBUG_LIBS"
-+ LIBS="$LIBS $DEBUG_LIBS"
- else
-- LDFLAGS="$LDFLAGS $RELEASE_LIBS"
-+ LIBS="$LIBS $RELEASE_LIBS"
- fi
-
- AC_LANG(C++)
-@@ -387,34 +387,69 @@
- [opal_ptlib_option=no])
-
- CXXFLAGS="$old_CXXFLAGS"
-- LDFLAGS="$old_LDFLAGS"
-+ LIBS="$old_LIBS"
-
- OPAL_MSG_CHECK([PTLIB has $1], [$opal_ptlib_option])
-- if test "x$4" = "x" ; then
-- if test "x$opal_ptlib_option" = "xno" ; then
-+ $4="$opal_ptlib_option"
-+ AC_SUBST($4)
-+ if test "x$opal_ptlib_option" = "xyes" ; then
-+ AC_DEFINE([$4], [1], [$1])
-+ fi
-+
-+ ])
-+
-+dnl OPAL_CHECK_PTLIB_MANDATORY
-+dnl Check if ptlib was compiled with a specific mandatory feature
-+dnl Arguments: $1 Name of feature
-+dnl $2 ptlib/pasn.h Header file to include
-+dnl $3 Code to test the feature
-+AC_DEFUN([OPAL_CHECK_PTLIB_MANDATORY],
-+ [
-+ old_CXXFLAGS="$CXXFLAGS"
-+ old_LIBS="$LIBS"
-+
-+ CXXFLAGS="$CXXFLAGS $PTLIB_CFLAGS $PTLIB_CXXFLAGS"
-+ if test "x${DEBUG_BUILD}" = xyes; then
-+ LIBS="$LIBS $DEBUG_LIBS"
-+ else
-+ LIBS="$LIBS $RELEASE_LIBS"
-+ fi
-+
-+ AC_LANG(C++)
-+ AC_LINK_IFELSE([
-+ #include <ptbuildopts.h>
-+ #include <ptlib.h>
-+ #include <$2>
-+
-+ int main()
-+ {
-+ $3
-+ }
-+ ],
-+ [opal_ptlib_option=yes],
-+ [opal_ptlib_option=no])
-+
-+ CXXFLAGS="$old_CXXFLAGS"
-+ LIBS="$old_LIBS"
-+
-+ OPAL_MSG_CHECK([PTLIB has $1], [$opal_ptlib_option])
-+ if test "x$opal_ptlib_option" = "xno" ; then
- echo " ERROR: compulsory feature from PTLib disabled.";
- exit 1;
-- fi
-- else
-- $4="$opal_ptlib_option"
-- AC_SUBST($4)
-- if test "x$opal_ptlib_option" = "xyes" ; then
-- AC_DEFINE([$4], [1], [$1])
-- fi
- fi
--
-- ])
-+
-+ ])
-
- AC_DEFUN([OPAL_CHECK_PTLIB_EXISTS],
- [
- old_CXXFLAGS="$CXXFLAGS"
-- old_LDFLAGS="$LDFLAGS"
-+ old_LIBS="$LIBS"
-
- CXXFLAGS="$CXXFLAGS $PTLIB_CFLAGS $PTLIB_CXXFLAGS"
- if test "x${DEBUG_BUILD}" = xyes; then
-- LDFLAGS="$LDFLAGS $DEBUG_LIBS"
-+ LIBS="$LIBS $DEBUG_LIBS"
- else
-- LDFLAGS="$LDFLAGS $RELEASE_LIBS"
-+ LIBS="$LIBS $RELEASE_LIBS"
- fi
-
- AC_LANG(C++)
-@@ -424,7 +459,7 @@
- [opal_ptlib_exists=no])
-
- CXXFLAGS="$old_CXXFLAGS"
-- LDFLAGS="$old_LDFLAGS"
-+ LIBS="$old_LIBS"
-
-
- if test "x$opal_ptlib_exists" != "xyes" ; then
---- configure.ac.old 2009-05-22 12:03:06.000000000 +0200
-+++ configure.ac 2009-05-22 13:45:18.000000000 +0200
-@@ -291,8 +291,8 @@
- OPAL_MSG_CHECK([ptlib version], [$PTLIB_VERSION])
-
- OPAL_CHECK_PTLIB_EXISTS()
--OPAL_CHECK_PTLIB([URL], [ptclib/url.h], [PURL url;], [])
--OPAL_CHECK_PTLIB([STUN], [ptclib/pstun.h],[PSTUNClient client;], [])
-+OPAL_CHECK_PTLIB_MANDATORY([URL], [ptclib/url.h], [PURL url;])
-+OPAL_CHECK_PTLIB_MANDATORY([STUN], [ptclib/pstun.h],[PSTUNClient client;])
- OPAL_CHECK_PTLIB([SSL], [ptclib/pssl.h], [PSSLContext ctx;], [OPAL_PTLIB_SSL])
- OPAL_CHECK_PTLIB([ASN.1], [ptclib/pasn.h], [PASNInteger asnint(5);], [OPAL_PTLIB_ASN])
- OPAL_CHECK_PTLIB([expat], [ptclib/pxml.h], [PXMLParser parser;], [OPAL_PTLIB_EXPAT])
-@@ -439,7 +439,7 @@
- OPAL_SIMPLE_OPTION([h323],[OPAL_H323], [whether to enable H.323 protocol support])
-
- if test "x$OPAL_H323" = "xyes" ; then
-- OPAL_CHECK_PTLIB([ASN], [ptclib/asner.h], [PPER_Stream per;], [])
-+ OPAL_CHECK_PTLIB_MANDATORY([ASN], [ptclib/asner.h], [PPER_Stream per;])
- fi
-
- dnl MSWIN_DISPLAY iax2,IAX2 support
---- plugins/configure.ac.old 2009-05-24 15:24:01.000000000 +0200
-+++ plugins/configure.ac 2009-05-24 15:29:52.000000000 +0200
-@@ -230,6 +230,7 @@
- AC_SUBST(LIBAVCODEC_CFLAGS)
- AC_SUBST(LIBAVCODEC_LIBS)
- AC_DEFINE([HAVE_LIBAVCODEC], [1], [ffmpeg])
-+ AC_SUBST(LIBAVCODEC_LIB_NAME)
- HAVE_LIBAVCODEC=yes
- OPAL_LIBAVCODEC_HACK
- case "$target_os" in
-@@ -240,15 +241,13 @@
- HAVE_H264_DECODER=yes
- ;;
- * )
-- OPAL_GET_LIBNAME([LIBAVCODEC], [libavcodec], [$LIBAVCODEC_LIBS])
-- OPAL_CHECK_LIBAVCODEC([h263p_encoder], [HAVE_H263P=yes], [HAVE_H263P=no])
-- OPAL_CHECK_LIBAVCODEC([mpeg4_encoder], [HAVE_MPEG4=yes], [HAVE_MPEG4=no])
-- OPAL_CHECK_LIBAVCODEC([h264_decoder], [HAVE_H264_DECODER=yes], [HAVE_H264_DECODER=no])
-+ AC_CHECK_LIB(avcodec, h263p_encoder, [HAVE_H263P=yes], [HAVE_H263P=no])
-+ AC_CHECK_LIB(avcodec, mpeg4_encoder, [HAVE_MPEG4=yes], [HAVE_MPEG4=no])
-+ AC_CHECK_LIB(avcodec, h264_decoder, [HAVE_H264_DECODER=yes], [HAVE_H264_DECODER=no])
- ;;
- esac
- AC_SUBST(HAVE_H263P)
- AC_SUBST(HAVE_MPEG4)
-- AC_SUBST(LIBAVCODEC_LIB_NAME)
- OPAL_LIBAVCODEC_HEADER
- ],
- [
diff --git a/net-libs/opal/files/opal-3.6.2-gcc-4.4.patch b/net-libs/opal/files/opal-3.6.2-gcc-4.4.patch
deleted file mode 100644
index df23e1c6ab22..000000000000
--- a/net-libs/opal/files/opal-3.6.2-gcc-4.4.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-upstream gcc-4.4 fix (r22667)
-
-diff -dupr opal-3.6.2.orig/plugins/video/H.264/gpl/enc-ctx.cxx opal-3.6.2/plugins/video/H.264/gpl/enc-ctx.cxx
---- opal-3.6.2.orig/plugins/video/H.264/gpl/enc-ctx.cxx 2009-07-07 21:52:48.237840250 +0200
-+++ opal-3.6.2/plugins/video/H.264/gpl/enc-ctx.cxx 2009-07-07 21:53:26.042351938 +0200
-@@ -25,6 +25,7 @@
- #include "trace.h"
- #include "rtpframe.h"
-
-+#include <stdio.h>
- #include <stdlib.h>
- #include <math.h>
- #if defined(_WIN32) || defined(_WIN32_WCE)
diff --git a/net-libs/opal/files/opal-3.6.2-sbc.patch b/net-libs/opal/files/opal-3.6.2-sbc.patch
deleted file mode 100644
index d4e7e4ec26ca..000000000000
--- a/net-libs/opal/files/opal-3.6.2-sbc.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- plugins/audio/SBC/Makefile.in.old 2009-05-24 13:15:46.000000000 +0200
-+++ plugins/audio/SBC/Makefile.in 2009-05-24 13:16:18.000000000 +0200
-@@ -30,7 +30,7 @@
- SRCDIR = .
- PLUGINDIR=../..
- SONAME = sbccodec
--SAMPLERATELIB = -Lsamplerate
-+SAMPLERATE_LIB = -lsamplerate
-
- CC =@CC@
- CFLAGS =@CFLAGS@
diff --git a/net-libs/opal/files/opal-3.6.2-system-ilbc.patch b/net-libs/opal/files/opal-3.6.2-system-ilbc.patch
deleted file mode 100644
index 8ee423203128..000000000000
--- a/net-libs/opal/files/opal-3.6.2-system-ilbc.patch
+++ /dev/null
@@ -1,117 +0,0 @@
---- opal.m4.old 2009-05-22 19:42:30.000000000 +0200
-+++ opal.m4 2009-05-22 20:07:45.000000000 +0200
-@@ -1007,3 +1007,41 @@
- fi
- AS_IF([test AS_VAR_GET([opal_java]) = yes], [$1], [$2])[]
- ])
-+
-+dnl OPAL_DETERMINE_ILBC
-+dnl Determine whether to use the system or internal iLBC (can be forced)
-+dnl Arguments: none
-+dnl Return: $ILBC_SYSTEM whether system or internal iLBC shall be used
-+dnl $ILBC_CFLAGS system iLBC CFLAGS if using system iLBC
-+dnl $ILBC_LIBS system iLBC LIBS if using system iLBC
-+AC_DEFUN([OPAL_DETERMINE_ILBC],
-+ [AC_ARG_ENABLE([localilbc],
-+ [AC_HELP_STRING([--enable-localilbc],[Force use local version of iLBC library rather than system version])],
-+ [localilbc=$enableval],
-+ [localilbc=])
-+
-+ if test "x${localilbc}" = "xyes" ; then
-+ AC_MSG_NOTICE(forcing use of local iLBC sources)
-+ ILBC_SYSTEM=no
-+ else
-+ AC_MSG_NOTICE(checking if iLBC is installed)
-+
-+ saved_LIBS="$LIBS"
-+ LIBS="$LIBS -lilbc"
-+ AC_CHECK_LIB(ilbc, iLBC_encode, [has_ilbc=yes], [has_ilbc=no])
-+ LIBS=$saved_LIBS
-+
-+ if test "x${has_ilbc}" = "xyes"; then
-+ AC_CHECK_HEADERS([ilbc/iLBC_decode.h ilbc/iLBC_define.h ilbc/iLBC_encode.h], [has_ilbc=yes], [has_ilbc=no])
-+ fi
-+
-+ if test "x${has_ilbc}" = "xyes"; then
-+ ILBC_CFLAGS=""
-+ ILBC_LIBS="-lilbc"
-+ ILBC_SYSTEM=yes
-+ else
-+ ILBC_SYSTEM=no
-+ fi
-+ OPAL_MSG_CHECK([System iLBC], [$has_ilbc])
-+ fi
-+ ])
---- plugins/audio/iLBC/Makefile.in.old 2009-05-22 19:25:06.000000000 +0200
-+++ plugins/audio/iLBC/Makefile.in 2009-05-22 20:10:11.000000000 +0200
-@@ -78,13 +78,26 @@
- LDFLAGS =@LDFLAGS@
- EXTRACFLAGS =-I$(PLUGINDIR)
-
--SRCS = ilbccodec.c $(SRCDIR)/anaFilter.c $(SRCDIR)/constants.c $(SRCDIR)/createCB.c $(SRCDIR)/doCPLC.c \
-+ILBC_CFLAGS=@ILBC_CFLAGS@
-+ILBC_LIBS=@ILBC_LIBS@
-+ILBC_SYSTEM=@ILBC_SYSTEM@
-+
-+SRCS = ilbccodec.c
-+
-+ifeq ($(ILBC_SYSTEM),no)
-+SRCS += $(SRCDIR)/anaFilter.c $(SRCDIR)/constants.c $(SRCDIR)/createCB.c $(SRCDIR)/doCPLC.c \
- $(SRCDIR)/enhancer.c $(SRCDIR)/filter.c $(SRCDIR)/FrameClassify.c $(SRCDIR)/gainquant.c \
- $(SRCDIR)/getCBvec.c $(SRCDIR)/helpfun.c $(SRCDIR)/hpInput.c $(SRCDIR)/hpOutput.c \
- $(SRCDIR)/iCBConstruct.c $(SRCDIR)/iCBSearch.c $(SRCDIR)/iLBC_decode.c $(SRCDIR)/iLBC_encode.c \
- $(SRCDIR)/LPCdecode.c $(SRCDIR)/LPCencode.c $(SRCDIR)/lsf.c $(SRCDIR)/packing.c \
- $(SRCDIR)/StateConstructW.c $(SRCDIR)/StateSearchW.c $(SRCDIR)/syntFilter.c
-
-+EXTRALIBS =
-+else
-+EXTRACFLAGS += $(IBLC_CFLAGS)
-+EXTRALIBS = $(ILBC_LIBS)
-+endif
-+
- OBJDIR = ./obj
-
- vpath %.o $(OBJDIR)
-@@ -100,9 +113,9 @@
-
- $(PLUGIN): $(OBJECTS)
- ifeq (solaris,$(findstring solaris,$(target_os)))
-- $(CC) $(LDSO) $@ -o $@ $^
-+ $(CC) $(LDSO) $@ -o $@ $^ $(EXTRALIBS)
- else
-- $(CC) $(LDSO) -o $@ $^
-+ $(CC) $(LDSO) -o $@ $^ $(EXTRALIBS)
- endif
-
- install:
---- plugins/configure.ac.old 2009-05-22 19:39:05.000000000 +0200
-+++ plugins/configure.ac 2009-05-22 19:41:25.000000000 +0200
-@@ -181,6 +181,14 @@
- AC_SUBST(SPEEX_CFLAGS)
- AC_SUBST(SPEEX_LIBS)
-
-+dnl ########################
-+dnl iLBC (system/local)
-+dnl ########################
-+OPAL_DETERMINE_ILBC()
-+AC_SUBST(ILBC_SYSTEM)
-+AC_SUBST(ILBC_CFLAGS)
-+AC_SUBST(ILBC_LIBS)
-+
- dnl ########################################################################
- dnl sbc,Bluetooth SBC for telephony with CD quality
-
-@@ -516,7 +524,12 @@
- fi
-
- echo " gsm-amr : yes"
--echo " iLBC : yes"
-+if test "x${ILBC_SYSTEM}" = "xyes" ; then
-+echo " iLBC : yes (system)"
-+else
-+echo " iLBC : yes (internal)"
-+fi
-+
- if test "x${SPEEX_SYSTEM}" = "xyes" ; then
- echo " Speex : yes (system, version $SPEEX_SYSTEM_VERSION)"
- else
diff --git a/net-libs/opal/files/opal-3.6.2-jdkroot.patch b/net-libs/opal/files/opal-3.6.4-jdkroot.patch
index 480a0eefb162..480a0eefb162 100644
--- a/net-libs/opal/files/opal-3.6.2-jdkroot.patch
+++ b/net-libs/opal/files/opal-3.6.4-jdkroot.patch
diff --git a/net-libs/opal/opal-3.6.2.ebuild b/net-libs/opal/opal-3.6.4.ebuild
index ba38f61e0965..53018b5bf92d 100644
--- a/net-libs/opal/opal-3.6.2.ebuild
+++ b/net-libs/opal/opal-3.6.4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/opal/opal-3.6.2.ebuild,v 1.5 2009/08/03 21:33:00 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/opal/opal-3.6.4.ebuild,v 1.1 2009/08/25 18:50:14 volkmar Exp $
EAPI="2"
@@ -94,11 +94,6 @@ pkg_setup() {
}
src_prepare() {
- # move files from doc tarball into ${S}
- if use doc; then
- mv ../html . || die "moving doc files failed"
- fi
-
# remove visual studio related files from samples/
if use examples; then
rm -f samples/*/*.vcproj
@@ -107,20 +102,9 @@ src_prepare() {
rm -f samples/*/*.dsw
fi
- # fix as-needed and aclocal, upstream patch 2795827
- epatch "${FILESDIR}"/${P}-as-needed.patch
-
- # use system ilbc, upstream patch 2795830
- epatch "${FILESDIR}"/${P}-system-ilbc.patch
-
- # fix sbc plugin link, upstream patch 2796087
- epatch "${FILESDIR}"/${P}-sbc.patch
-
# upstream patch 2808915
epatch "${FILESDIR}"/${P}-jdkroot.patch
- epatch "${FILESDIR}"/${P}-gcc-4.4.patch
-
# h224 really needs h323 ?
# TODO: get a confirmation in ml
sed -i -e "s:\(.*HAS_H224.*\), \[OPAL_H323\]:\1:" configure.ac \
@@ -253,7 +237,7 @@ src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
if use doc; then
- dohtml -r html/* docs/* || die "dohtml failed"
+ dohtml -r "${WORKDIR}"/html/* docs/* || die "dohtml failed"
fi
# ChangeLog is not standard