Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Sep 2012 02:21:54 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/171984: devel/jrtplib: Update to version 3.9.1
Message-ID:  <20120926022154.a3277480f15734003935c18c@yahoo.com>
Resent-Message-ID: <201209251810.q8PIAHtI018808@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         171984
>Category:       ports
>Synopsis:       devel/jrtplib: Update to version 3.9.1
>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:   Tue Sep 25 18:10:17 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.4-RELEASE-p10 i386
>Organization:
>Environment:
>Description:
- Update to version 3.9.1

Remove file:
files/patch-src-rtperrors.cpp

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/devel/jrtplib/Makefile devel/jrtplib/Makefile
--- /usr/ports/devel/jrtplib/Makefile	2012-09-22 14:32:27.000000000 +0900
+++ devel/jrtplib/Makefile	2012-09-24 22:36:07.000000000 +0900
@@ -2,23 +2,25 @@
 # $FreeBSD: ports/devel/jrtplib/Makefile,v 1.18 2012/09/22 05:32:27 tabthorpe Exp $
 
 PORTNAME=	jrtplib
-PORTVERSION=	3.7.1
+PORTVERSION=	3.9.1
 CATEGORIES=	devel
 MASTER_SITES=	http://research.edm.uhasselt.be/jori/jrtplib/
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Object-oriented RTP library written in C++
 
-USE_AUTOTOOLS=	libtool
-GNU_CONFIGURE=	yes
-USE_GMAKE=	yes
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE.MIT
+
+USE_BZIP2=	yes
+USE_CMAKE=	yes
 USE_LDCONFIG=	yes
-CONFIGURE_ARGS=	--disable-jthread
+MAKE_JOBS_SAFE=	yes
 
-PLIST_SUB+=	JRTPLIB_VER=${PORTVERSION}
+PLIST_SUB=	JRTPLIB_VER="${PORTVERSION}"
 
 post-patch:
-	@${REINPLACE_CMD} -e 's|\$$(libdir)/pkgconfig|\$$(prefix)/libdata/pkgconfig|' \
-		${WRKSRC}/pkgconfig/Makefile.in
+	@${REINPLACE_CMD} -e \
+		'/pkgconfig/s|$${LIBRARY_INSTALL_DIR}|$${CMAKE_INSTALL_PREFIX}/libdata|' ${WRKSRC}/CMakeLists.txt
 
 .include <bsd.port.mk>
diff -urN /usr/ports/devel/jrtplib/distinfo devel/jrtplib/distinfo
--- /usr/ports/devel/jrtplib/distinfo	2011-07-03 23:55:58.000000000 +0900
+++ devel/jrtplib/distinfo	2012-09-24 22:23:52.000000000 +0900
@@ -1,2 +1,2 @@
-SHA256 (jrtplib-3.7.1.tar.gz) = 9c098c4778aee40df55fd00831a29d247336c2a7a3ac0692e79e5693b6d87cd6
-SIZE (jrtplib-3.7.1.tar.gz) = 474916
+SHA256 (jrtplib-3.9.1.tar.bz2) = a99a0d5764e8ca9f84bf167e6de91c3092ce3633497bacc3e2d13b69aa4403df
+SIZE (jrtplib-3.9.1.tar.bz2) = 117735
diff -urN /usr/ports/devel/jrtplib/files/patch-src-rtperrors.cpp devel/jrtplib/files/patch-src-rtperrors.cpp
--- /usr/ports/devel/jrtplib/files/patch-src-rtperrors.cpp	2008-11-18 02:01:29.000000000 +0900
+++ devel/jrtplib/files/patch-src-rtperrors.cpp	1970-01-01 09:00:00.000000000 +0900
@@ -1,11 +0,0 @@
---- src/rtperrors.cpp.orig	2008-11-17 14:35:19.000000000 +0800
-+++ src/rtperrors.cpp	2008-11-17 14:35:50.000000000 +0800
-@@ -38,7 +38,7 @@
- struct RTPErrorInfo
- {
- 	int code;
--	char *description;
-+	std::string description;
- };
- 
- static RTPErrorInfo ErrorDescriptions[]=
diff -urN /usr/ports/devel/jrtplib/files/patch-src-rtperrors.h devel/jrtplib/files/patch-src-rtperrors.h
--- /usr/ports/devel/jrtplib/files/patch-src-rtperrors.h	2007-02-12 22:22:04.000000000 +0900
+++ devel/jrtplib/files/patch-src-rtperrors.h	2012-09-24 22:25:45.000000000 +0900
@@ -1,10 +1,10 @@
---- src/rtperrors.h	Tue Feb 21 17:31:13 2006
-+++ src/rtperrors.h	Sun Apr 16 20:46:09 2006
-@@ -34,6 +34,7 @@
- 
+--- src/rtperrors.h.orig	2011-08-29 22:43:27.000000000 +0900
++++ src/rtperrors.h	2012-09-24 22:25:22.000000000 +0900
+@@ -39,6 +39,7 @@
  #define RTPERRORS_H
  
+ #include "rtpconfig.h"
 +#include <cstdio>
  #include <string>
  
- std::string RTPGetErrorString(int errcode);
+ namespace jrtplib
diff -urN /usr/ports/devel/jrtplib/pkg-plist devel/jrtplib/pkg-plist
--- /usr/ports/devel/jrtplib/pkg-plist	2008-11-18 02:01:29.000000000 +0900
+++ devel/jrtplib/pkg-plist	2012-09-24 22:35:20.000000000 +0900
@@ -11,13 +11,13 @@
 include/jrtplib3/rtcpsrpacket.h
 include/jrtplib3/rtcpunknownpacket.h
 include/jrtplib3/rtpaddress.h
+include/jrtplib3/rtpbyteaddress.h
 include/jrtplib3/rtpcollisionlist.h
 include/jrtplib3/rtpconfig.h
-include/jrtplib3/rtpconfig_unix.h
-include/jrtplib3/rtpconfig_win.h
 include/jrtplib3/rtpdebug.h
 include/jrtplib3/rtpdefines.h
 include/jrtplib3/rtperrors.h
+include/jrtplib3/rtpexternaltransmitter.h
 include/jrtplib3/rtpfaketransmitter.h
 include/jrtplib3/rtphashtable.h
 include/jrtplib3/rtpinternalsourcedata.h
@@ -33,6 +33,9 @@
 include/jrtplib3/rtppacketbuilder.h
 include/jrtplib3/rtppollthread.h
 include/jrtplib3/rtprandom.h
+include/jrtplib3/rtprandomrand48.h
+include/jrtplib3/rtprandomrands.h
+include/jrtplib3/rtprandomurandom.h
 include/jrtplib3/rtprawpacket.h
 include/jrtplib3/rtpsession.h
 include/jrtplib3/rtpsessionparams.h
@@ -43,13 +46,14 @@
 include/jrtplib3/rtptimeutilities.h
 include/jrtplib3/rtptransmitter.h
 include/jrtplib3/rtptypes.h
-include/jrtplib3/rtptypes_unix.h
 include/jrtplib3/rtptypes_win.h
 include/jrtplib3/rtpudpv4transmitter.h
 include/jrtplib3/rtpudpv6transmitter.h
-lib/libjrtp-%%JRTPLIB_VER%%.so
+lib/cmake/JRTPLIB/JRTPLIBConfig.cmake
 lib/libjrtp.a
-lib/libjrtp.la
 lib/libjrtp.so
+lib/libjrtp.so.%%JRTPLIB_VER%%
 libdata/pkgconfig/jrtplib.pc
+@dirrm lib/cmake/JRTPLIB
+@dirrmtry lib/cmake
 @dirrm include/jrtplib3
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120926022154.a3277480f15734003935c18c>