diff options
author | mi <mi@FreeBSD.org> | 2007-06-18 22:24:29 +0800 |
---|---|---|
committer | mi <mi@FreeBSD.org> | 2007-06-18 22:24:29 +0800 |
commit | 2a1e2470da8abe073611b781e1d56038fba679b0 (patch) | |
tree | 984697ed7979943690945142694d68b83473647c | |
parent | eea0bde0de24aea253dea3ca130267078b03fca2 (diff) | |
download | freebsd-ports-gnome-2a1e2470da8abe073611b781e1d56038fba679b0.tar.gz freebsd-ports-gnome-2a1e2470da8abe073611b781e1d56038fba679b0.tar.zst freebsd-ports-gnome-2a1e2470da8abe073611b781e1d56038fba679b0.zip |
Upgrade opal to 2.2.8 (from 2.2.4) and ekiga to 2.0.9 (from 2.0.4).
These versions are only available from Ekiga.org, rather than from
the traditionally used site VoxGratia.org...
Turn the previously "hidden" knobs into OPTIONS. Make ekiga accept
whatever versions of opal and pwlib are installed.
Take over maintainership, as I plan to use ekiga myself -- unlike
the current maintainer.
Approved by: maintainer
-rw-r--r-- | net/ekiga/Makefile | 22 | ||||
-rw-r--r-- | net/ekiga/distinfo | 6 | ||||
-rw-r--r-- | net/ekiga/pkg-plist | 22 | ||||
-rw-r--r-- | net/opal/Makefile | 24 | ||||
-rw-r--r-- | net/opal/distinfo | 6 | ||||
-rw-r--r-- | net/opal/files/patch-configure.ac | 24 | ||||
-rw-r--r-- | net/opal3/Makefile | 24 | ||||
-rw-r--r-- | net/opal3/distinfo | 6 | ||||
-rw-r--r-- | net/opal3/files/patch-configure.ac | 24 |
9 files changed, 71 insertions, 87 deletions
diff --git a/net/ekiga/Makefile b/net/ekiga/Makefile index e1d1f12f2328..e95198e27f28 100644 --- a/net/ekiga/Makefile +++ b/net/ekiga/Makefile @@ -6,16 +6,18 @@ # PORTNAME= ekiga -PORTVERSION= 2.0.4 -PORTREVISION= 2 +PORTVERSION= 2.0.9 CATEGORIES= net gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/${PORTNAME}/2.0 -MAINTAINER= jbq@caraldi.com +MAINTAINER= mi@aldan.algebra.com COMMENT= VoIP phone for GNOME -LIB_DEPENDS= opal_r.2:${PORTSDIR}/net/opal +OPTIONS= AVAHI "Support Avahi for service discovery on LAN" on \ + DBUS "Use D-BUS for interprocess communication" on + +LIB_DEPENDS= opal_r:${PORTSDIR}/net/opal USE_BZIP2= yes USE_XLIB= yes @@ -34,17 +36,25 @@ CONFIGURE_ARGS= --with-pwlib-dir=${LOCALBASE} \ GCONF_SCHEMAS= ekiga.schemas MAN1= ekiga.1 +pre-configure: + ${REINPLACE_CMD} -e "s,PWLIB_REC_VERSION=.*,PWLIB_REC_VERSION=`ptlib-config \ + --version`," \ + -e "s,OPAL_REC_VERSION=.*,OPAL_REC_VERSION=`${AWK} \ + '/define OPAL_VERSION/ \ + {printf $$NF}' ${LOCALBASE}/include/opal/opal/buildopts.h`," \ + ${WRKSRC}/configure + .include <bsd.port.pre.mk> .ifndef (WITHOUT_AVAHI) -LIB_DEPENDS+= avahi-core.5:${PORTSDIR}/net/avahi +LIB_DEPENDS+= avahi-core:${PORTSDIR}/net/avahi CONFIGURE_ARGS+=--enable-avahi .else CONFIGURE_ARGS+=--disable-avahi .endif .ifndef (WITHOUT_DBUS) -LIB_DEPENDS+= dbus-1.3:${PORTSDIR}/devel/dbus +LIB_DEPENDS+= dbus-1:${PORTSDIR}/devel/dbus CONFIGURE_ARGS+=--enable-dbus PLIST_SUB+= DBUS:="" .else diff --git a/net/ekiga/distinfo b/net/ekiga/distinfo index 358983a3c8df..5431954518c0 100644 --- a/net/ekiga/distinfo +++ b/net/ekiga/distinfo @@ -1,3 +1,3 @@ -MD5 (ekiga-2.0.4.tar.bz2) = b06ad9538c064e5475f5b29b80d6fbf5 -SHA256 (ekiga-2.0.4.tar.bz2) = f617d2f4a0e2e1a4a9d4b95be43c781c5fe5c5be90f7a552fd830dc86ac3ddab -SIZE (ekiga-2.0.4.tar.bz2) = 5459800 +MD5 (ekiga-2.0.9.tar.bz2) = 6c7a01faef8203d6f0ba0dfe6188bb1a +SHA256 (ekiga-2.0.9.tar.bz2) = 686b303f807460cd5486dab07654a7f76acaee44db640748b62dd0326f15ec72 +SIZE (ekiga-2.0.9.tar.bz2) = 5530540 diff --git a/net/ekiga/pkg-plist b/net/ekiga/pkg-plist index 25356d251d72..bc90b586baa8 100644 --- a/net/ekiga/pkg-plist +++ b/net/ekiga/pkg-plist @@ -100,6 +100,25 @@ share/gnome/help/ekiga/fr/figures/config_d8.png share/gnome/help/ekiga/fr/figures/config_d9.png share/gnome/help/ekiga/fr/figures/lumi.png share/gnome/help/ekiga/fr/figures/stats.png +share/gnome/help/ekiga/pt_BR/ekiga.xml +share/gnome/help/ekiga/pt_BR/figures/accounts_d1.png +share/gnome/help/ekiga/pt_BR/figures/accounts_h323.png +share/gnome/help/ekiga/pt_BR/figures/accounts_sip.png +share/gnome/help/ekiga/pt_BR/figures/audio_codecs.png +share/gnome/help/ekiga/pt_BR/figures/call_d1.png +share/gnome/help/ekiga/pt_BR/figures/chat_d1.png +share/gnome/help/ekiga/pt_BR/figures/config_d1.png +share/gnome/help/ekiga/pt_BR/figures/config_d10.png +share/gnome/help/ekiga/pt_BR/figures/config_d2.png +share/gnome/help/ekiga/pt_BR/figures/config_d3.png +share/gnome/help/ekiga/pt_BR/figures/config_d4.png +share/gnome/help/ekiga/pt_BR/figures/config_d5.png +share/gnome/help/ekiga/pt_BR/figures/config_d6.png +share/gnome/help/ekiga/pt_BR/figures/config_d7.png +share/gnome/help/ekiga/pt_BR/figures/config_d8.png +share/gnome/help/ekiga/pt_BR/figures/config_d9.png +share/gnome/help/ekiga/pt_BR/figures/lumi.png +share/gnome/help/ekiga/pt_BR/figures/stats.png share/gnome/help/ekiga/sv/ekiga.xml share/gnome/help/ekiga/sv/figures/accounts_d1.png share/gnome/help/ekiga/sv/figures/accounts_h323.png @@ -143,6 +162,7 @@ share/gnome/omf/ekiga/ekiga-bg.omf share/gnome/omf/ekiga/ekiga-de.omf share/gnome/omf/ekiga/ekiga-es.omf share/gnome/omf/ekiga/ekiga-fr.omf +share/gnome/omf/ekiga/ekiga-pt_BR.omf share/gnome/omf/ekiga/ekiga-sv.omf share/gnome/omf/ekiga/ekiga-uk.omf share/gnome/pixmaps/ekiga.png @@ -231,6 +251,8 @@ share/locale/zh_TW/LC_MESSAGES/ekiga.mo @dirrm share/gnome/help/ekiga/uk @dirrm share/gnome/help/ekiga/sv/figures @dirrm share/gnome/help/ekiga/sv +@dirrm share/gnome/help/ekiga/pt_BR/figures +@dirrm share/gnome/help/ekiga/pt_BR @dirrm share/gnome/help/ekiga/fr/figures @dirrm share/gnome/help/ekiga/fr @dirrm share/gnome/help/ekiga/es/figures diff --git a/net/opal/Makefile b/net/opal/Makefile index f6aefcd8e7cb..b724116d7666 100644 --- a/net/opal/Makefile +++ b/net/opal/Makefile @@ -6,19 +6,17 @@ # PORTNAME= opal -PORTVERSION= 2.2.4 -PORTREVISION= 1 +PORTVERSION= 2.2.8 CATEGORIES= net -MASTER_SITES= http://www.voxgratia.org/releases/ -DISTNAME= ${PORTNAME}-v${PORTVERSION:S/./_/g}-src- -EXTRACT_SUFX= tar.gz +MASTER_SITES= http://www.ekiga.org/admin/downloads/latest/sources/sources/ -MAINTAINER= jbq@caraldi.com +MAINTAINER= mi@aldan.algebra.com COMMENT= VoIP abstraction library -LIB_DEPENDS= pt_r:${PORTSDIR}/devel/pwlib +OPTIONS= FFMPEG "Support H263 audio/video codec" on \ + SPEEX "Use speex installed by audio/speex" on -WRKSRC= ${WRKDIR}/${PORTNAME}_v${PORTVERSION:S/./_/g} +LIB_DEPENDS= pt_r:${PORTSDIR}/devel/pwlib # In opal's Makefile the default make's target is optshared ALL_TARGET= optshared @@ -27,6 +25,7 @@ USE_AUTOTOOLS= autoconf:259 USE_GNOME= gnometarget GNU_CONFIGURE= yes USE_LDCONFIG= yes +MAKE_ARGS= -j`${SYSCTL} -n hw.ncpu` CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include -I${WRKSRC}/include" \ LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" @@ -37,16 +36,17 @@ PLIST_SUB= PORTVERSION=${PORTVERSION} # Be sure to compile position-independent objects for the shared libraries CFLAGS+= -fPIC -.ifdef (WITH_FFMPEG) +.if defined(WITHOUT_FFMPEG) +CONFIGURE_ARGS+=--disable-h263avcodec +.else LIB_DEPENDS+= avcodec:${PORTSDIR}/multimedia/ffmpeg CONFIGURE_ARGS+=--enable-h263avcodec=${LOCALBASE}/include/ffmpeg .endif -.ifdef (WITH_SPEEX) -LIB_DEPENDS+= speex:${PORTSDIR}/audio/speex -BUILD_DEPENDS+= ${LOCALBASE}/include/speex/speex_echo.h:${PORTSDIR}/audio/speex +.if defined(WITHOUT_SPEEX) CONFIGURE_ARGS+=--enable-localspeex=no .else +LIB_DEPENDS+= speex:${PORTSDIR}/audio/speex CONFIGURE_ARGS+=--enable-localspeex=yes .endif diff --git a/net/opal/distinfo b/net/opal/distinfo index fd4e60083302..952051fa3317 100644 --- a/net/opal/distinfo +++ b/net/opal/distinfo @@ -1,3 +1,3 @@ -MD5 (opal-v2_2_4-src-tar.gz) = 5f204f240bb9f2ba8cff73c9ede90d8e -SHA256 (opal-v2_2_4-src-tar.gz) = eb2519d32f717bb33b11d78b9019f5c45a3b0ef527138efe83dfdf51a329d494 -SIZE (opal-v2_2_4-src-tar.gz) = 4107375 +MD5 (opal-2.2.8.tar.gz) = 700b0c3a7606afc0dc6c9d3c12fcb23b +SHA256 (opal-2.2.8.tar.gz) = 890132438781c980ab5297795f049d57b13ae78b64c238c936c320adf2bd35fa +SIZE (opal-2.2.8.tar.gz) = 4162369 diff --git a/net/opal/files/patch-configure.ac b/net/opal/files/patch-configure.ac deleted file mode 100644 index 0ff721a18000..000000000000 --- a/net/opal/files/patch-configure.ac +++ /dev/null @@ -1,24 +0,0 @@ ---- ./configure.ac.orig Tue Feb 21 00:47:28 2006 -+++ ./configure.ac Sun Jan 7 13:01:14 2007 -@@ -60,6 +60,11 @@ - AC_CHECK_FILE(/usr/include/ptlib.h, HAS_PTLIB=1) - if test "${HAS_PTLIB:-unset}" != "unset" ; then - AC_PATH_PROG(PTLIB_CONFIG, ptlib-config, , /usr/share/pwlib/make/) -+ else -+ AC_CHECK_FILE(${prefix}/include/ptlib.h, HAS_PTLIB=1) -+ if test "${HAS_PTLIB:-unset}" != "unset" ; then -+ AC_PATH_PROG(PTLIB_CONFIG, ptlib-config, , ${prefix}/bin) -+ fi - fi - fi - fi -@@ -84,6 +89,9 @@ - fi - if test "x$PWLIBDIR" = "x/usr/local" -o "x$PWLIBDIR" = "x/usr/"; then - PWLIBDIR="/usr/local/share/pwlib/" -+fi -+if test "x$PWLIBDIR" = "x${prefix}"; then -+ PWLIBDIR="${prefix}/share/pwlib/" - fi - - echo "PWLib prefix set to.... $PWLIBDIR" diff --git a/net/opal3/Makefile b/net/opal3/Makefile index f6aefcd8e7cb..b724116d7666 100644 --- a/net/opal3/Makefile +++ b/net/opal3/Makefile @@ -6,19 +6,17 @@ # PORTNAME= opal -PORTVERSION= 2.2.4 -PORTREVISION= 1 +PORTVERSION= 2.2.8 CATEGORIES= net -MASTER_SITES= http://www.voxgratia.org/releases/ -DISTNAME= ${PORTNAME}-v${PORTVERSION:S/./_/g}-src- -EXTRACT_SUFX= tar.gz +MASTER_SITES= http://www.ekiga.org/admin/downloads/latest/sources/sources/ -MAINTAINER= jbq@caraldi.com +MAINTAINER= mi@aldan.algebra.com COMMENT= VoIP abstraction library -LIB_DEPENDS= pt_r:${PORTSDIR}/devel/pwlib +OPTIONS= FFMPEG "Support H263 audio/video codec" on \ + SPEEX "Use speex installed by audio/speex" on -WRKSRC= ${WRKDIR}/${PORTNAME}_v${PORTVERSION:S/./_/g} +LIB_DEPENDS= pt_r:${PORTSDIR}/devel/pwlib # In opal's Makefile the default make's target is optshared ALL_TARGET= optshared @@ -27,6 +25,7 @@ USE_AUTOTOOLS= autoconf:259 USE_GNOME= gnometarget GNU_CONFIGURE= yes USE_LDCONFIG= yes +MAKE_ARGS= -j`${SYSCTL} -n hw.ncpu` CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include -I${WRKSRC}/include" \ LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" @@ -37,16 +36,17 @@ PLIST_SUB= PORTVERSION=${PORTVERSION} # Be sure to compile position-independent objects for the shared libraries CFLAGS+= -fPIC -.ifdef (WITH_FFMPEG) +.if defined(WITHOUT_FFMPEG) +CONFIGURE_ARGS+=--disable-h263avcodec +.else LIB_DEPENDS+= avcodec:${PORTSDIR}/multimedia/ffmpeg CONFIGURE_ARGS+=--enable-h263avcodec=${LOCALBASE}/include/ffmpeg .endif -.ifdef (WITH_SPEEX) -LIB_DEPENDS+= speex:${PORTSDIR}/audio/speex -BUILD_DEPENDS+= ${LOCALBASE}/include/speex/speex_echo.h:${PORTSDIR}/audio/speex +.if defined(WITHOUT_SPEEX) CONFIGURE_ARGS+=--enable-localspeex=no .else +LIB_DEPENDS+= speex:${PORTSDIR}/audio/speex CONFIGURE_ARGS+=--enable-localspeex=yes .endif diff --git a/net/opal3/distinfo b/net/opal3/distinfo index fd4e60083302..952051fa3317 100644 --- a/net/opal3/distinfo +++ b/net/opal3/distinfo @@ -1,3 +1,3 @@ -MD5 (opal-v2_2_4-src-tar.gz) = 5f204f240bb9f2ba8cff73c9ede90d8e -SHA256 (opal-v2_2_4-src-tar.gz) = eb2519d32f717bb33b11d78b9019f5c45a3b0ef527138efe83dfdf51a329d494 -SIZE (opal-v2_2_4-src-tar.gz) = 4107375 +MD5 (opal-2.2.8.tar.gz) = 700b0c3a7606afc0dc6c9d3c12fcb23b +SHA256 (opal-2.2.8.tar.gz) = 890132438781c980ab5297795f049d57b13ae78b64c238c936c320adf2bd35fa +SIZE (opal-2.2.8.tar.gz) = 4162369 diff --git a/net/opal3/files/patch-configure.ac b/net/opal3/files/patch-configure.ac deleted file mode 100644 index 0ff721a18000..000000000000 --- a/net/opal3/files/patch-configure.ac +++ /dev/null @@ -1,24 +0,0 @@ ---- ./configure.ac.orig Tue Feb 21 00:47:28 2006 -+++ ./configure.ac Sun Jan 7 13:01:14 2007 -@@ -60,6 +60,11 @@ - AC_CHECK_FILE(/usr/include/ptlib.h, HAS_PTLIB=1) - if test "${HAS_PTLIB:-unset}" != "unset" ; then - AC_PATH_PROG(PTLIB_CONFIG, ptlib-config, , /usr/share/pwlib/make/) -+ else -+ AC_CHECK_FILE(${prefix}/include/ptlib.h, HAS_PTLIB=1) -+ if test "${HAS_PTLIB:-unset}" != "unset" ; then -+ AC_PATH_PROG(PTLIB_CONFIG, ptlib-config, , ${prefix}/bin) -+ fi - fi - fi - fi -@@ -84,6 +89,9 @@ - fi - if test "x$PWLIBDIR" = "x/usr/local" -o "x$PWLIBDIR" = "x/usr/"; then - PWLIBDIR="/usr/local/share/pwlib/" -+fi -+if test "x$PWLIBDIR" = "x${prefix}"; then -+ PWLIBDIR="${prefix}/share/pwlib/" - fi - - echo "PWLib prefix set to.... $PWLIBDIR" |