ports/84916: [PATCH] multimedia/transcode: Update to 1.0.0 final

Ulrich Spoerlein q at galgenberg.net
Sun Aug 14 17:30:21 UTC 2005


>Number:         84916
>Category:       ports
>Synopsis:       [PATCH] multimedia/transcode: Update to 1.0.0 final
>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:   Sun Aug 14 17:30:19 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Ulrich Spoerlein
>Release:        FreeBSD 6.0-BETA2 i386
>Organization:
>Environment:
System: FreeBSD roadrunner 6.0-BETA2 FreeBSD 6.0-BETA2 #0: Sat Aug  6 11:43:01 CEST
>Description:
- Update to 1.0.0 final
- Minor portlinting

Removed file(s):
- files/patch-import:af6_decore.cpp (has been comitted upstream)

Port maintainer (hendrik at scholz.net) is cc'd.

Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:

--- transcode-1.0.0.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/multimedia/transcode/Makefile,v
retrieving revision 1.63
diff -u -u -r1.63 Makefile
--- Makefile	17 Jul 2005 17:42:28 -0000	1.63
+++ Makefile	14 Aug 2005 17:28:47 -0000
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	transcode
-DISTVERSION=	1.0.0rc1
-PORTREVISION=	1
+DISTVERSION=	1.0.0
 CATEGORIES=	multimedia
 MASTER_SITES=	http://dl.fkb.wormulon.net/transcode/ \
 		http://dl.kel.wormulon.net/transcode/ \
@@ -415,7 +414,7 @@
 		${WRKSRC}/import/decode_mov.c \
 		${WRKSRC}/import/import_mov.c \
 		${WRKSRC}/import/probe_mov.c
-	
+
 post-install:
 .if defined(WITH_XVID)
 	@${LN} -sf ${LOCALBASE}/lib/libxvidcore.so \
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/multimedia/transcode/distinfo,v
retrieving revision 1.14
diff -u -u -r1.14 distinfo
--- distinfo	5 Jul 2005 17:04:13 -0000	1.14
+++ distinfo	14 Aug 2005 17:28:47 -0000
@@ -1,2 +1,2 @@
-MD5 (transcode-1.0.0rc1.tar.gz) = bda8422a8b2fb83e5c750743b688b7a3
-SIZE (transcode-1.0.0rc1.tar.gz) = 2349974
+MD5 (transcode-1.0.0.tar.gz) = 28990470fb92a28e351cb96bcad0c890
+SIZE (transcode-1.0.0.tar.gz) = 2347710
Index: files/patch-import:af6_decore.cpp
===================================================================
RCS file: files/patch-import:af6_decore.cpp
diff -N files/patch-import:af6_decore.cpp
--- files/patch-import:af6_decore.cpp	5 Jul 2005 17:04:13 -0000	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,58 +0,0 @@
---- import/af6_decore.cpp.orig	Sun Jul  3 17:03:28 2005
-+++ import/af6_decore.cpp	Sun Jul  3 17:03:48 2005
-@@ -213,7 +213,7 @@
- 
-       /* send sync token */
-       fflush(stdout);
--      p_write(decode->fd_out, sync_str, sizeof(sync_str));
-+      p_write(decode->fd_out, (uint8_t*)sync_str, sizeof(sync_str));
- 
-       /* frame serve loop */
-       /* by default decode->frame_limit[0]=0 and ipipe->frame_limit[1]=LONG_MAX so all frames are decoded */
-@@ -268,13 +268,13 @@
- 		    }
- 		  }
- 		  /* write unpacked frame */
--		  if(p_write(decode->fd_out, pack_buffer, pack_size)!= pack_size) {
-+		  if(p_write(decode->fd_out, (uint8_t*)pack_buffer, pack_size)!= pack_size) {
- 		    fprintf(stderr,"(%s) ERROR: Pipe write error!\n",__FILE__);
- 		    break;
- 		  }
- 		} else {
- 		  /* directly write raw frame */
--		  if(p_write(decode->fd_out, buf, buffer_size)!= buffer_size) {
-+		  if(p_write(decode->fd_out, (uint8_t*)buf, buffer_size)!= buffer_size) {
- 		    fprintf(stderr,"(%s) ERROR: Pipe write error!\n",__FILE__);
- 		    break;
- 		  }
-@@ -368,7 +368,7 @@
- 
-       /* send sync token */
-       fflush(stdout);
--      p_write(decode->fd_out, sync_str, sizeof(sync_str));
-+      p_write(decode->fd_out, (uint8_t*)sync_str, sizeof(sync_str));
-       
-       /* sample server loop */
-       while(!ars->Eof()) { 
-@@ -393,18 +393,18 @@
- 	{
- 		if ( s_byte_read - ret_size <(unsigned int)decode->frame_limit[0])
- 		{
--			if((unsigned int)p_write(decode->fd_out,buffer+(ret_size-(s_byte_read-decode->frame_limit[0])),(s_byte_read-decode->frame_limit[0]))!=(unsigned int)(s_byte_read-decode->frame_limit[0])) 
-+			if((unsigned int)p_write(decode->fd_out,(uint8_t*)(buffer+(ret_size-(s_byte_read-decode->frame_limit[0]))),(s_byte_read-decode->frame_limit[0]))!=(unsigned int)(s_byte_read-decode->frame_limit[0])) 
- 			  	break;
- 		}
- 		else
- 		{
--			if((unsigned int)p_write(decode->fd_out,buffer,ret_size)!=ret_size) 
-+			if((unsigned int)p_write(decode->fd_out,(uint8_t*)buffer,ret_size)!=ret_size) 
- 			  break;
- 		}
- 	}
- 	else if ((s_byte_read> decode->frame_limit[0]) && (s_byte_read - ret_size <=(unsigned int)decode->frame_limit[1]))
- 	{
--		if((unsigned int)p_write(decode->fd_out,buffer,(s_byte_read-decode->frame_limit[1]))!=(unsigned int)(s_byte_read-decode->frame_limit[1])) 
-+		if((unsigned int)p_write(decode->fd_out,(uint8_t*)buffer,(s_byte_read-decode->frame_limit[1]))!=(unsigned int)(s_byte_read-decode->frame_limit[1])) 
- 		 	break;
- 	}
- 	else if (s_byte_read - ret_size >(unsigned int)decode->frame_limit[1])
--- transcode-1.0.0.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list