Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Jan 2008 23:14:44 +0100 (CET)
From:      Thierry Thomas <thierry@pompo.net>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        multimedia@FreeBSD.org
Subject:   multimedia/libdvbpsi: upgrade to 0.1.6.
Message-ID:  <20080113221444.5C27611440@graf.pompo.net>

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

>Submitter-Id:	current-users
>Originator:	Thierry Thomas
>Organization:	Kabbale Eros
>Confidential:	no 
>Synopsis:	multimedia/libdvbpsi: upgrade to 0.1.6.
>Severity:	non-critical
>Priority:	medium
>Category:	ports
>Class:		update
>Release:	FreeBSD 7.0-BETA4 i386
>Environment:
System: FreeBSD graf.pompo.net 7.0-BETA4 FreeBSD 7.0-BETA4 #0: Sun Dec 16 14:52:28 CET 2007 thierry@graf.pompo.net:/usr/obj/usr/src/sys/GRAF071102 i386


	
>Description:
	- Upgrade to 0.1.6;

	- Change WWW;

	- Add a regression-tests target.

>How-To-Repeat:
	N/A

>Fix:
	Please apply the following patch, and bump PORTREVISION of vlc
	and vlc-devel.

--- libdvbpsi.diff begins here ---
diff -urN multimedia/libdvbpsi.orig/Makefile multimedia/libdvbpsi/Makefile
--- multimedia/libdvbpsi.orig/Makefile	2007-03-30 00:24:27.000000000 +0200
+++ multimedia/libdvbpsi/Makefile	2008-01-13 18:41:14.000000000 +0100
@@ -7,24 +7,31 @@
 #
 
 PORTNAME=	libdvbpsi
-PORTVERSION=	0.1.5
-PORTREVISION=	1
+PORTVERSION=	0.1.6
 CATEGORIES=	multimedia
-MASTER_SITES=	http://download.videolan.org/pub/videolan/libdvbpsi/%SUBDIR%/
+MASTER_SITES=	http://download.videolan.org/pub/libdvbpsi/%SUBDIR%/
 MASTER_SITE_SUBDIR=	${PORTVERSION}
-DISTNAME=	${PORTNAME}4-${PORTVERSION}
+DISTNAME=	${PORTNAME}5-${PORTVERSION}
 
 MAINTAINER=	multimedia@FreeBSD.org
 COMMENT=	A library for MPEG TS and DVB PSI tables decoding and generation
 
+USE_BZIP2=	yes
 USE_AUTOTOOLS=	libtool:15
 GNU_CONFIGURE=	yes
 CONFIGURE_TARGET=	--build=${ARCH}-portbld-freebsd${OSREL}
+.if defined(WITH_DEBUG)
+CONFIGURE_ARGS=	--enable-debug
+.else
 CONFIGURE_ARGS=	--enable-release
+.endif
 USE_LDCONFIG=	yes
 
-post-patch:
+pre-configure:
 	@${REINPLACE_CMD} -e 's|-Wall|$${CFLAGS}|g ; \
 		 s|-O6||g' ${WRKSRC}/configure
 
+regression-test:
+	(cd ${WRKSRC}/misc && ./test_dr)
+
 .include <bsd.port.mk>
diff -urN multimedia/libdvbpsi.orig/distinfo multimedia/libdvbpsi/distinfo
--- multimedia/libdvbpsi.orig/distinfo	2005-11-09 08:09:42.000000000 +0100
+++ multimedia/libdvbpsi/distinfo	2008-01-13 18:04:43.000000000 +0100
@@ -1,3 +1,3 @@
-MD5 (libdvbpsi4-0.1.5.tar.gz) = 76f70a1cd78b513a3e616deade4b5856
-SHA256 (libdvbpsi4-0.1.5.tar.gz) = 1119e624d978cbbca3d8fd1687742b2cdc6703e3fe49cf1e784d7d5126f56be0
-SIZE (libdvbpsi4-0.1.5.tar.gz) = 378300
+MD5 (libdvbpsi5-0.1.6.tar.bz2) = bd2d9861be3311e1e03c91cd9345f542
+SHA256 (libdvbpsi5-0.1.6.tar.bz2) = e875210131805ca9a67f190a86dd0c9fd87d6addcb7405e8584620837af805b8
+SIZE (libdvbpsi5-0.1.6.tar.bz2) = 297096
diff -urN multimedia/libdvbpsi.orig/files/patch-examples_connect.c multimedia/libdvbpsi/files/patch-examples_connect.c
--- multimedia/libdvbpsi.orig/files/patch-examples_connect.c	1970-01-01 01:00:00.000000000 +0100
+++ multimedia/libdvbpsi/files/patch-examples_connect.c	2008-01-13 18:34:08.000000000 +0100
@@ -0,0 +1,13 @@
+--- ./examples/connect.c.orig	2007-01-18 15:57:08.000000000 +0100
++++ ./examples/connect.c	2008-01-13 18:32:16.000000000 +0100
+@@ -38,7 +38,9 @@
+ #   include <netinet/if_ether.h>
+ #endif
+ #include <netdb.h>
+-#include <netinet/ip.h>
++#ifndef __FreeBSD__
++#   include <netinet/ip.h>
++#endif
+ #include <netinet/udp.h>
+ #include <arpa/inet.h>
+ 
diff -urN multimedia/libdvbpsi.orig/pkg-descr multimedia/libdvbpsi/pkg-descr
--- multimedia/libdvbpsi.orig/pkg-descr	2003-04-04 03:32:05.000000000 +0200
+++ multimedia/libdvbpsi/pkg-descr	2008-01-13 18:00:59.000000000 +0100
@@ -6,4 +6,4 @@
    - Program Association Table (PAT, MPEG2)
    - Program Map Table (PMT, MPEG2)
 
-WWW: http://developers.videolan.org/libdvbpsi/
+WWW: http://www.videolan.org/developers/libdvbpsi.html
diff -urN multimedia/libdvbpsi.orig/pkg-plist multimedia/libdvbpsi/pkg-plist
--- multimedia/libdvbpsi.orig/pkg-plist	2006-02-23 11:38:07.000000000 +0100
+++ multimedia/libdvbpsi/pkg-plist	2008-01-13 18:50:16.000000000 +0100
@@ -1,3 +1,4 @@
+include/dvbpsi/cat.h
 include/dvbpsi/demux.h
 include/dvbpsi/descriptor.h
 include/dvbpsi/dr.h
@@ -24,6 +25,7 @@
 include/dvbpsi/dr_55.h
 include/dvbpsi/dr_56.h
 include/dvbpsi/dr_59.h
+include/dvbpsi/dr_69.h
 include/dvbpsi/dvbpsi.h
 include/dvbpsi/eit.h
 include/dvbpsi/pat.h
@@ -33,5 +35,5 @@
 lib/libdvbpsi.a
 lib/libdvbpsi.la
 lib/libdvbpsi.so
-lib/libdvbpsi.so.4
+lib/libdvbpsi.so.5
 @dirrm include/dvbpsi
--- libdvbpsi.diff ends here ---




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