Date: Thu, 29 Jan 2009 16:18:26 GMT From: "Eric L. Chen" <d9364104@mail.nchu.edu.tw> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/131129: Add ports: devel/ptlib Message-ID: <200901291618.n0TGIQSI052015@www.freebsd.org> Resent-Message-ID: <200901291620.n0TGK1xr030952@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 131129 >Category: ports >Synopsis: Add ports: devel/ptlib >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Jan 29 16:20:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Eric L. Chen >Release: 7-STABLE/i386 >Organization: National Chung Hsing University, Taiwan >Environment: FreeBSD lihong-nb 7.1-STABLE FreeBSD 7.1-STABLE #1: Thu Jan 29 23:26:47 CST 2009 root@lihong-nb:/usr/obj/usr/src/sys/LIHONG-NB i386 >Description: We decided add new devel/ptlib for new opal/ekiga. Discussed in PR/128140. >How-To-Repeat: >Fix: Patch attached with submission follows: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # devel # devel/ptlib # devel/ptlib/files # devel/ptlib/files/patch-plugins_vidinput_bsd_h # devel/ptlib/files/patch-include_ptclib_vsdl.h # devel/ptlib/files/patch-src_ptclib_vsdl.cxx # devel/ptlib/files/patch-Makefile.in # devel/ptlib/Makefile # devel/ptlib/pkg-descr # devel/ptlib/pkg-plist # devel/ptlib/distinfo # echo c - devel mkdir -p devel > /dev/null 2>&1 echo c - devel/ptlib mkdir -p devel/ptlib > /dev/null 2>&1 echo c - devel/ptlib/files mkdir -p devel/ptlib/files > /dev/null 2>&1 echo x - devel/ptlib/files/patch-plugins_vidinput_bsd_h sed 's/^X//' >devel/ptlib/files/patch-plugins_vidinput_bsd_h << '4c5a9d9c095a040d50a91e6a952efcc2' X--- plugins/vidinput_bsd/vidinput_bsd.h.orig 2009-01-11 17:52:59.000000000 -0500 X+++ plugins/vidinput_bsd/vidinput_bsd.h 2009-01-26 17:55:00.000000000 -0500 X@@ -62,7 +62,7 @@ X X static PStringList GetInputDeviceNames(); X X- PStringList GetDeviceNames() const X+ PStringArray GetDeviceNames() const X { return GetInputDeviceNames(); } X X PINDEX GetMaxFrameBytes(); 4c5a9d9c095a040d50a91e6a952efcc2 echo x - devel/ptlib/files/patch-include_ptclib_vsdl.h sed 's/^X//' >devel/ptlib/files/patch-include_ptclib_vsdl.h << '2ac5e58d41a49c6527aeb282818e93f0' X--- include/ptclib/vsdl.h.orig 2008-09-25 14:51:15.000000000 +0800 X+++ include/ptclib/vsdl.h 2008-09-25 14:52:15.000000000 +0800 X@@ -33,7 +33,7 @@ X X #include <ptlib.h> X #if defined(P_FREEBSD) X-#include <SDL11/SDL.h> X+#include <SDL.h> X #else X #include <SDL/SDL.h> X #endif 2ac5e58d41a49c6527aeb282818e93f0 echo x - devel/ptlib/files/patch-src_ptclib_vsdl.cxx sed 's/^X//' >devel/ptlib/files/patch-src_ptclib_vsdl.cxx << '013fe88e900c306d1a30975f398576c6' X--- src/ptclib/vsdl.cxx.orig 2008-09-25 14:50:57.000000000 +0800 X+++ src/ptclib/vsdl.cxx 2008-09-25 14:51:48.000000000 +0800 X@@ -44,7 +44,7 @@ X extern "C" { X X #if defined(P_FREEBSD) X-#include <SDL11/SDL.h> X+#include <SDL.h> X #else X #include <SDL/SDL.h> X #endif 013fe88e900c306d1a30975f398576c6 echo x - devel/ptlib/files/patch-Makefile.in sed 's/^X//' >devel/ptlib/files/patch-Makefile.in << 'd5d5bcd905655ea29738aa547bffb8c3' X--- Makefile.in.orig 2009-01-11 17:53:18.000000000 -0500 X+++ Makefile.in 2009-01-26 15:09:22.000000000 -0500 X@@ -120,9 +120,9 @@ X $(INSTALL) -m 755 make/ptlib-config $(DESTDIR)$(PREFIX)/share/ptlib/make/ X (cd $(DESTDIR)$(PREFIX)/bin; rm -f ptlib-config ; ln -snf ../share/ptlib/make/ptlib-config ptlib-config) X X- mkdir -p $(DESTDIR)$(LIBDIR)/pkgconfig X- chmod 755 $(DESTDIR)$(LIBDIR)/pkgconfig X- $(INSTALL) -m 644 ptlib.pc $(DESTDIR)$(LIBDIR)/pkgconfig/ X+ mkdir -p $(DESTDIR)$(PREFIX)/libdata/pkgconfig X+ chmod 755 $(DESTDIR)$(PREFIX)/libdata/pkgconfig X+ $(INSTALL) -m 644 ptlib.pc $(DESTDIR)$(PREFIX)/libdata/pkgconfig/ X uninstall: X rm -rf $(DESTDIR)$(PREFIX)/include/ptlib \ X $(DESTDIR)$(PREFIX)/include/ptclib \ X@@ -130,7 +130,7 @@ X $(DESTDIR)$(PREFIX)/include/ptbuildopts.h \ X $(DESTDIR)$(PREFIX)/share/ptlib \ X $(DESTDIR)$(LIBDIR)/$(DEV_PLUGIN_DIR) \ X- $(DESTDIR)$(LIBDIR)/pkgconfig/ptlib.pc X+ $(DESTDIR)$(PREFIX)/libdata/pkgconfig/ptlib.pc X rm -f $(DESTDIR)$(LIBDIR)/lib$(PTLIB_BASE)_s.a \ X $(DESTDIR)$(LIBDIR)/$(PTLIB_FILE) \ X $(DESTDIR)$(LIBDIR)/$(PTLIB_FILE).@MAJOR_VERSION@.@MINOR_VERSION@@BUILD_TYPE@@BUILD_NUMBER@ d5d5bcd905655ea29738aa547bffb8c3 echo x - devel/ptlib/Makefile sed 's/^X//' >devel/ptlib/Makefile << '4d50db74bc35032f5def7ced9ec3e921' X# New ports collection makefile for: pwlib X# Date created: Fri Aug 22 07:11:44 GMT 2003 X# Whom: Roger Hardiman <roger@freebsd.org> X# X# $FreeBSD: ports/devel/pwlib/Makefile,v 1.51 2009/01/08 18:09:45 erwin Exp $ X# X XPORTNAME= ptlib XPORTVERSION= 2.4.4 XCATEGORIES= devel XMASTER_SITES= ${MASTER_SITE_GNOME} XMASTER_SITE_SUBDIR= sources/ptlib/2.4 XDISTNAME= ptlib-${PORTVERSION} XEXTRACT_SUFX= .tar.gz X XMAINTAINER= d9364104@mail.nchu.edu.tw XCOMMENT= A cross platform C++ library, used by OpenH323 X XCONFLICTS= pwlib-* X XLIB_DEPENDS= expat.6:${PORTSDIR}/textproc/expat2 X XUSE_BISON= build XUSE_GMAKE= yes XGNU_CONFIGURE= yes XUSE_GNOME= gnometarget XWANT_GNOME= yes XWANT_SDL= yes XUSE_OPENSSL= yes XUSE_LDCONFIG= yes X X.include <bsd.port.pre.mk> X X.if ${OSVERSION} >= 800059 XBROKEN= does not build X.endif X XCONFIGURE_ENV= \ X OPENSSL_CFLAGS="-I/usr/include" \ X OPENSSL_LIBS="-lssl" XCONFIGURE_ARGS+= \ X --disable-atomicity \ X --with-expat-dir="${LOCALBASE}" \ X --enable-oss \ X --disable-odbc X X# if explicitely asked for, depend upon it X.if defined(WITH_SDL) XUSE_SDL+= sdl XCONFIGURE_ENV+= SDL_CFLAGS="`sdl-config --cflags`" \ X SDL_LIBS="`sdl-config --libs`" XMAKE_ENV+= SDL_CFLAGS="`sdl-config --cflags`" \ X SDL_LIBS="`sdl-config --libs`" X.endif X X# if explicitely disabled, do not depend upon it X.if defined(WITHOUT_SDL) XCONFIGURE_ARGS+= --disable-sdl X.endif X X# if nobody cares, use it if it is installed already X.if !defined(WITHOUT_SDL) && !defined(WITH_SDL) X.if ${HAVE_SDL:Msdl} XUSE_SDL+= sdl XCONFIGURE_ENV+= SDL_CFLAGS="`sdl-config --cflags`" \ X SDL_LIBS="`sdl-config --libs`" XMAKE_ENV+= SDL_CFLAGS="`sdl-config --cflags`" \ X SDL_LIBS="`sdl-config --libs`" X.else XCONFIGURE_ARGS+= --disable-sdl X.endif X.endif X X.if !defined(WITHOUT_PLUGINS) XCONFIGURE_ARGS+= --enable-plugins X.endif X X#disable OpenLDAP support in PWLIB X.if defined(WITHOUT_LDAP) XCONFIGURE_ARGS+= --disable-openldap X.else XUSE_OPENLDAP= yes XCONFIGURE_ARGS+= --enable-openldap --with-ldap-dir="${LOCALBASE}" X.endif X X# ONLY FOR THE BRAVE! X# If someone owns a firewire(4) video device and wants to use it for X# video-conferencing purposes, please download the files: X# libraw1394.shar.gz, libavc1394.shar.gz and libdc1394.shar.gz from X# ftp://ftp.frm2.tum.de/pub/jpulz/FreeBSD/ports/ X# Extract the files in ${PORTSDIR}/devel and uncomment the following lines. X# X##enable libavc1394 X#.if defined(WITH_AVC1394) X#LIB_DEPENDS+= avc1394.2:${PORTSDIR}/devel/libavc1394 \ X# dv.4:${PORTSDIR}/multimedia/libdv X#CONFIGURE_ARGS+= --enable-avc X#PLIST_SUB+= AVC1394="" X#.else XCONFIGURE_ARGS+= --disable-avc XPLIST_SUB+= AVC1394="@comment " X#.endif X# X##enable libdc1394 X#.if defined(WITH_DC1394) X#LIB_DEPENDS+= dc1394_control.13:${PORTSDIR}/devel/libdc1394 X#CONFIGURE_ARGS+= --enable-dc X#PLIST_SUB+= DC1394="" X#.else XCONFIGURE_ARGS+= --disable-dc XPLIST_SUB+= DC1394="@comment " X#.endif X X.if (${ARCH} == "amd64") || (${ARCH} == "ia64") || (${ARCH} == "sparc64") XCFLAGS+= -fPIC X.endif X X.if (${ARCH} == "i386") || (${ARCH} == "ia64") || (${ARCH} == "amd64") || (${ARCH} == "sparc64") XCONFIGURE_ARGS+=--enable-bsdvideo XPLIST_SUB+= BSDVIDEO="" X.else XCONFIGURE_ARGS+=--disable-bsdvideo XPLIST_SUB+= BSDVIDEO="@comment " X.endif X X.if defined(WITH_V4L) || ( exists(${LOCALBASE}/include/linux/videodev.h) && \ X !defined(WITHOUT_V4L) ) XCONFIGURE_ARGS+=--enable-v4l XPLIST_SUB+= V4L="" XBUILD_DEPENDS+= ${LOCALBASE}/include/linux/videodev.h:${PORTSDIR}/multimedia/v4l_compat X.else XCONFIGURE_ARGS+=--disable-v4l XPLIST_SUB+= V4L="@comment " X.endif X Xpost-patch: X.if ${ARCH} == sparc64 && ${OSVERSION} <= 700003 X @${REINPLACE_CMD} -e 's|P_PTHREADS_XPG6|0|' \ X ${WRKSRC}/src/ptlib/unix/tlibthrd.cxx X.endif X X.include <bsd.port.post.mk> 4d50db74bc35032f5def7ced9ec3e921 echo x - devel/ptlib/pkg-descr sed 's/^X//' >devel/ptlib/pkg-descr << '9355b29af05bddd41144829bc185c72b' XPWLib is a multi-platform code library that can be used to write Xapplications that will compile and run on the BSD Unixes, Windows, Linux Xand a few other Unix variants. It was developed by Equivalence Ltd Pty. X XIt is used by the OpenH323 library. X XWWW: http://www.openh323.org/ 9355b29af05bddd41144829bc185c72b echo x - devel/ptlib/pkg-plist sed 's/^X//' >devel/ptlib/pkg-plist << '7b7cf34fccc3dfec15a93f11270e32f1' Xbin/ptlib-config Xinclude/ptclib/asnber.h Xinclude/ptclib/asner.h Xinclude/ptclib/asnper.h Xinclude/ptclib/asnxer.h Xinclude/ptclib/cypher.h Xinclude/ptclib/delaychan.h Xinclude/ptclib/dtmf.h Xinclude/ptclib/enum.h Xinclude/ptclib/ftp.h Xinclude/ptclib/guid.h Xinclude/ptclib/html.h Xinclude/ptclib/http.h Xinclude/ptclib/httpform.h Xinclude/ptclib/httpsvc.h Xinclude/ptclib/inetmail.h Xinclude/ptclib/inetprot.h Xinclude/ptclib/ipacl.h Xinclude/ptclib/memfile.h Xinclude/ptclib/mime.h Xinclude/ptclib/modem.h Xinclude/ptclib/paec.h Xinclude/ptclib/pasn.h Xinclude/ptclib/pdns.h Xinclude/ptclib/pils.h Xinclude/ptclib/pldap.h Xinclude/ptclib/pnat.h Xinclude/ptclib/podbc.h Xinclude/ptclib/psasl.h Xinclude/ptclib/psnmp.h Xinclude/ptclib/psoap.h Xinclude/ptclib/psockbun.h Xinclude/ptclib/pssl.h Xinclude/ptclib/pstun.h Xinclude/ptclib/ptts.h Xinclude/ptclib/pvfiledev.h Xinclude/ptclib/pvidfile.h Xinclude/ptclib/pwavfile.h Xinclude/ptclib/pwavfiledev.h Xinclude/ptclib/pxml.h Xinclude/ptclib/pxmlrpc.h Xinclude/ptclib/pxmlrpcs.h Xinclude/ptclib/qchannel.h Xinclude/ptclib/random.h Xinclude/ptclib/rfc1155.h Xinclude/ptclib/shttpsvc.h Xinclude/ptclib/snmp.h Xinclude/ptclib/sockagg.h Xinclude/ptclib/socks.h Xinclude/ptclib/telnet.h Xinclude/ptclib/url.h Xinclude/ptclib/vsdl.h Xinclude/ptclib/vxml.h Xinclude/ptclib/xmpp.h Xinclude/ptclib/xmpp_c2s.h Xinclude/ptclib/xmpp_muc.h Xinclude/ptclib/xmpp_roster.h X@dirrm include/ptclib Xinclude/ptlib/unix/ptlib/beaudio.h Xinclude/ptlib/unix/ptlib/bevideo.h Xinclude/ptlib/unix/ptlib/channel.h Xinclude/ptlib/unix/ptlib/conchan.h Xinclude/ptlib/unix/ptlib/config.h Xinclude/ptlib/unix/ptlib/contain.h Xinclude/ptlib/unix/ptlib/critsec.h Xinclude/ptlib/unix/ptlib/dynalink.h Xinclude/ptlib/unix/ptlib/ethsock.h Xinclude/ptlib/unix/ptlib/file.h Xinclude/ptlib/unix/ptlib/filepath.h Xinclude/ptlib/unix/ptlib/icmpsock.h Xinclude/ptlib/unix/ptlib/ipdsock.h Xinclude/ptlib/unix/ptlib/ipsock.h Xinclude/ptlib/unix/ptlib/maccoreaudio.h Xinclude/ptlib/unix/ptlib/mutex.h Xinclude/ptlib/unix/ptlib/pdirect.h Xinclude/ptlib/unix/ptlib/pipechan.h Xinclude/ptlib/unix/ptlib/pmachdep.h Xinclude/ptlib/unix/ptlib/pprocess.h Xinclude/ptlib/unix/ptlib/ptime.h Xinclude/ptlib/unix/ptlib/ptlib.inl Xinclude/ptlib/unix/ptlib/remconn.h Xinclude/ptlib/unix/ptlib/resampler.h Xinclude/ptlib/unix/ptlib/semaphor.h Xinclude/ptlib/unix/ptlib/serchan.h Xinclude/ptlib/unix/ptlib/sfile.h Xinclude/ptlib/unix/ptlib/shmvideo.h Xinclude/ptlib/unix/ptlib/socket.h Xinclude/ptlib/unix/ptlib/sound.h Xinclude/ptlib/unix/ptlib/svcproc.h Xinclude/ptlib/unix/ptlib/syncpoint.h Xinclude/ptlib/unix/ptlib/tcpsock.h Xinclude/ptlib/unix/ptlib/textfile.h Xinclude/ptlib/unix/ptlib/thread.h Xinclude/ptlib/unix/ptlib/timeint.h Xinclude/ptlib/unix/ptlib/timer.h Xinclude/ptlib/unix/ptlib/udpsock.h Xinclude/ptlib/unix/ptlib/video.h Xinclude/ptlib/unix/ptlib/videoio.h X@dirrm include/ptlib/unix/ptlib X@dirrm include/ptlib/unix Xinclude/ptlib/MacMainIf.h Xinclude/ptlib/args.h Xinclude/ptlib/array.h Xinclude/ptlib/channel.h Xinclude/ptlib/conchan.h Xinclude/ptlib/config.h Xinclude/ptlib/contain.h Xinclude/ptlib/contain.inl Xinclude/ptlib/critsec.h Xinclude/ptlib/devplugin.h Xinclude/ptlib/dict.h Xinclude/ptlib/dynalink.h Xinclude/ptlib/ethsock.h Xinclude/ptlib/file.h Xinclude/ptlib/filepath.h Xinclude/ptlib/icmpsock.h Xinclude/ptlib/indchan.h Xinclude/ptlib/int64.h Xinclude/ptlib/ipdsock.h Xinclude/ptlib/ipsock.h Xinclude/ptlib/ipxsock.h Xinclude/ptlib/lists.h Xinclude/ptlib/mail.h Xinclude/ptlib/mutex.h Xinclude/ptlib/notifier.h Xinclude/ptlib/notifier_ext.h Xinclude/ptlib/object.h Xinclude/ptlib/osutil.inl Xinclude/ptlib/pdirect.h Xinclude/ptlib/pfactory.h Xinclude/ptlib/pipechan.h Xinclude/ptlib/plugin.h Xinclude/ptlib/pluginmgr.h Xinclude/ptlib/pprocess.h Xinclude/ptlib/psharedptr.h Xinclude/ptlib/pstring.h Xinclude/ptlib/psync.h Xinclude/ptlib/ptime.h Xinclude/ptlib/qos.h Xinclude/ptlib/remconn.h Xinclude/ptlib/safecoll.h Xinclude/ptlib/semaphor.h Xinclude/ptlib/serchan.h Xinclude/ptlib/sfile.h Xinclude/ptlib/smartptr.h Xinclude/ptlib/socket.h Xinclude/ptlib/sockets.h Xinclude/ptlib/sound.h Xinclude/ptlib/spxsock.h Xinclude/ptlib/svcproc.h Xinclude/ptlib/syncpoint.h Xinclude/ptlib/syncthrd.h Xinclude/ptlib/tcpsock.h Xinclude/ptlib/textfile.h Xinclude/ptlib/thread.h Xinclude/ptlib/timeint.h Xinclude/ptlib/timer.h Xinclude/ptlib/udpsock.h Xinclude/ptlib/vconvert.h Xinclude/ptlib/video.h Xinclude/ptlib/videoio.h Xinclude/ptlib/videoio1394dc.h X@dirrm include/ptlib Xinclude/ptlib.h Xshare/ptlib/make/common.mak Xshare/ptlib/make/lib.mak Xshare/ptlib/make/plugins.mak Xshare/ptlib/make/ptbuildopts.mak Xshare/ptlib/make/ptlib-config Xshare/ptlib/make/ptlib.mak Xshare/ptlib/make/unix.mak X@dirrm share/ptlib/make X@dirrm share/ptlib Xlib/libpt.so.2.4.4 Xlib/libpt.so.2.4 Xlib/libpt.so.2 Xlib/libpt_s.a Xlibdata/pkgconfig/ptlib.pc 7b7cf34fccc3dfec15a93f11270e32f1 echo x - devel/ptlib/distinfo sed 's/^X//' >devel/ptlib/distinfo << 'c7d6dd92a4937ffcc64b4e797a98b683' XMD5 (ptlib-2.4.4.tar.gz) = fe64e92187a864f92fda11c7fafc12f1 XSHA256 (ptlib-2.4.4.tar.gz) = bb8ba95d522f0767d8e3bead7512a05fbffce5abaeb9ec1c6e1ed2ccc02a24d1 XSIZE (ptlib-2.4.4.tar.gz) = 4308282 c7d6dd92a4937ffcc64b4e797a98b683 exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200901291618.n0TGIQSI052015>