Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jan 2004 14:10:19 +0300 (MSK)
From:      "Lev A. Serebryakov" <lev@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        loif@FreeBSD.org
Subject:   ports/61238: [PATCH] update `multimedia/xvid' to 1.0.0.beta3
Message-ID:  <200401121110.i0CBAJg8052902@ftp.translate.ru>
Resent-Message-ID: <200401121120.i0CBKDIO089408@freefall.freebsd.org>

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

>Number:         61238
>Category:       ports
>Synopsis:       [PATCH] update `multimedia/xvid' to 1.0.0.beta3
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 12 03:20:13 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Lev A. Serebryakov
>Release:        FreeBSD 4.9-RELEASE i386
>Organization:
>Environment:
System: FreeBSD vmware-freebsd49 4.9-RELEASE FreeBSD 4.9-RELEASE #4: Mon Jan 12 00:25:04 MSK 2004 root@vmware-freebsd49:/usr/src/sys/compile/VMWARE i386
Ports: 12 Jan 2004

>Description:
  
  This PR contains 2 patches: first to update `multimedia/xvid' and
secod to update all dependend ports.

  I'm not sure about PORTVERSION for xvid, because, it seems, that
1.0.0b3 is `greater' than 1.0.0, which will be in future...

>How-To-Repeat:
>Fix:
diff -ruN xvid.0.9.2/Makefile xvid/Makefile
--- xvid.0.9.2/Makefile	Sun Jan 11 21:14:51 2004
+++ xvid/Makefile	Sun Jan 11 21:15:52 2004
@@ -6,17 +6,18 @@
 #
 
 PORTNAME=	xvid
-PORTVERSION=	0.9.2
+PORTVERSION=	1.0.0b3
 PORTEPOCH=	1
 CATEGORIES=	multimedia
 MASTER_SITES=	http://files.xvid.org/downloads/
-DISTNAME=	${PORTNAME}core-${PORTVERSION}
+DISTNAME=	${PORTNAME}core-${PORTVERSION:S/b/-beta/}
 
 MAINTAINER=	lofi@freebsd.org
 COMMENT=	An opensource MPEG-4 codec, based on OpenDivx
 
 BUILD_DEPENDS=	${LOCALBASE}/bin/nasm:${PORTSDIR}/devel/nasm
 
+USE_BZIP2=	yes
 GNU_CONFIGURE=	yes
 INSTALLS_SHLIB=	yes
 
diff -ruN xvid.0.9.2/distinfo xvid/distinfo
--- xvid.0.9.2/distinfo	Sun Jan 11 21:14:51 2004
+++ xvid/distinfo	Sun Jan 11 21:19:15 2004
@@ -1 +1 @@
-MD5 (xvidcore-0.9.2.tar.gz) = acccd38c78e155d5fc2337696913feac
+MD5 (xvidcore-1.0.0-beta3.tar.bz2) = 63bb19fca7d9075ca823de42847002ec
diff -ruN xvid.0.9.2/pkg-plist xvid/pkg-plist
--- xvid.0.9.2/pkg-plist	Sun Jan 11 21:14:51 2004
+++ xvid/pkg-plist	Sun Jan 11 23:00:04 2004
@@ -1,4 +1,4 @@
 include/xvid.h
 lib/libxvidcore.a
 lib/libxvidcore.so
-lib/libxvidcore.so.2
+lib/libxvidcore.so.4


diff -ruN ports.oldxvid/multimedia/avidemux/Makefile ports/multimedia/avidemux/Makefile
--- ports.oldxvid/multimedia/avidemux/Makefile	Mon Jan 12 13:54:57 2004
+++ ports/multimedia/avidemux/Makefile	Mon Jan 12 14:03:43 2004
@@ -40,12 +40,12 @@
 WITH_A52=	yes
 .endif
 
-.if exists(${LOCALBASE}/lib/libxvidcore.so.2)
+.if exists(${LOCALBASE}/lib/libxvidcore.so.4)
 WITH_XVID=	yes
 .endif
 
 .if defined(WITH_XVID)
-LIB_DEPENDS+=	xvidcore.2:${PORTSDIR}/multimedia/xvid
+LIB_DEPENDS+=	xvidcore.4:${PORTSDIR}/multimedia/xvid
 CONFIGURE_ARGS+=	--with-xvid-as-decoder
 .endif
 
diff -ruN ports.oldxvid/multimedia/avidemux2/Makefile ports/multimedia/avidemux2/Makefile
--- ports.oldxvid/multimedia/avidemux2/Makefile	Mon Jan 12 13:55:02 2004
+++ ports/multimedia/avidemux2/Makefile	Mon Jan 12 14:05:26 2004
@@ -45,7 +45,7 @@
 WITH_A52=	yes
 .endif
 
-.if exists(${LOCALBASE}/lib/libxvidcore.so.2)
+.if exists(${LOCALBASE}/lib/libxvidcore.so.4)
 WITH_XVID=	yes
 .endif
 
@@ -54,7 +54,7 @@
 .endif
 
 .if defined(WITH_XVID)
-LIB_DEPENDS+=	xvidcore.2:${PORTSDIR}/multimedia/xvid
+LIB_DEPENDS+=	xvidcore.4:${PORTSDIR}/multimedia/xvid
 CONFIGURE_ARGS+=	--with-xvid-as-decoder
 .endif
 
diff -ruN ports.oldxvid/multimedia/avifile/Makefile ports/multimedia/avifile/Makefile
--- ports.oldxvid/multimedia/avifile/Makefile	Mon Jan 12 13:54:57 2004
+++ ports/multimedia/avifile/Makefile	Mon Jan 12 14:04:03 2004
@@ -152,7 +152,7 @@
 
 # xvid
 .if !defined(WITHOUT_XVID)
-LIB_DEPENDS+=	xvidcore.2:${PORTSDIR}/multimedia/xvid
+LIB_DEPENDS+=	xvidcore.4:${PORTSDIR}/multimedia/xvid
 
 CONFIGURE_ARGS+=	--with-xvid-prefix=${LOCALBASE}
 PLIST_SUB+=	XVID=""
diff -ruN ports.oldxvid/multimedia/mplayer/Makefile ports/multimedia/mplayer/Makefile
--- ports.oldxvid/multimedia/mplayer/Makefile	Mon Jan 12 13:55:00 2004
+++ ports/multimedia/mplayer/Makefile	Mon Jan 12 14:04:25 2004
@@ -449,7 +449,7 @@
 .if defined(WITH_XVID)
 CONFIGURE_ARGS+=	--enable-xvid \
 			--with-xvidcore=${LOCALBASE}/lib/libxvidcore.so
-LIB_DEPENDS+=		xvidcore.2:${PORTSDIR}/multimedia/xvid
+LIB_DEPENDS+=		xvidcore.4:${PORTSDIR}/multimedia/xvid
 .endif
 
 .if defined(WITH_LZO)
diff -ruN ports.oldxvid/multimedia/mplayerxp/Makefile ports/multimedia/mplayerxp/Makefile
--- ports.oldxvid/multimedia/mplayerxp/Makefile	Mon Jan 12 13:55:00 2004
+++ ports/multimedia/mplayerxp/Makefile	Mon Jan 12 14:04:42 2004
@@ -155,7 +155,7 @@
 .endif
 # xvid
 .ifdef(WITH_XVID)
-LIB_DEPENDS+=	xvidcore.2:${PORTSDIR}/multimedia/xvid
+LIB_DEPENDS+=	xvidcore.4:${PORTSDIR}/multimedia/xvid
 
 CONFIGURE_ARGS+=	--enable-xvid \
 			--with-xvidcore=${LOCALBASE}
diff -ruN ports.oldxvid/multimedia/transcode/Makefile ports/multimedia/transcode/Makefile
--- ports.oldxvid/multimedia/transcode/Makefile	Mon Jan 12 13:55:01 2004
+++ ports/multimedia/transcode/Makefile	Mon Jan 12 14:05:05 2004
@@ -176,7 +176,7 @@
 .endif
 
 .if defined(WITH_XVID)
-LIB_DEPENDS+=	xvidcore.2:${PORTSDIR}/multimedia/xvid
+LIB_DEPENDS+=	xvidcore.4:${PORTSDIR}/multimedia/xvid
 PLIST_SUB+=	WITH_XVID=""
 WITH_NASM=	YES
 .else
@@ -350,8 +350,8 @@
 .if defined(WITH_XVID)
 	@${LN} -sf ${LOCALBASE}/lib/libxvidcore.so \
 		${PREFIX}/lib/transcode/libxvidcore.so
-	@${LN} -sf ${LOCALBASE}/lib/libxvidcore.so.2 \
-		${PREFIX}/lib/transcode/libxvidcore.so.2
+	@${LN} -sf ${LOCALBASE}/lib/libxvidcore.so.4 \
+		${PREFIX}/lib/transcode/libxvidcore.so.4
 .endif
 
 .if defined(WITH_SUBRIP)
>Release-Note:
>Audit-Trail:
>Unformatted:



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