From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Dec 28 00:20:02 2007 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3190816A419 for ; Fri, 28 Dec 2007 00:20:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 1FE6D13C4DB for ; Fri, 28 Dec 2007 00:20:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id lBS0K1sF050347 for ; Fri, 28 Dec 2007 00:20:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id lBS0K1Pd050346; Fri, 28 Dec 2007 00:20:01 GMT (envelope-from gnats) Resent-Date: Fri, 28 Dec 2007 00:20:01 GMT Resent-Message-Id: <200712280020.lBS0K1Pd050346@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jason Bacon Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A54D616A417 for ; Fri, 28 Dec 2007 00:18:10 +0000 (UTC) (envelope-from bacon@smithers.neuro.mcw.edu) Received: from smithers.neuro.mcw.edu (smithers.neuro.mcw.edu [141.106.204.28]) by mx1.freebsd.org (Postfix) with ESMTP id 7D75313C4DD for ; Fri, 28 Dec 2007 00:18:10 +0000 (UTC) (envelope-from bacon@smithers.neuro.mcw.edu) Received: from smithers.neuro.mcw.edu (localhost [127.0.0.1]) by smithers.neuro.mcw.edu (8.13.6/8.13.6) with ESMTP id lBS0I9NG061337 for ; Thu, 27 Dec 2007 18:18:09 -0600 (CST) (envelope-from bacon@smithers.neuro.mcw.edu) Received: (from bacon@localhost) by smithers.neuro.mcw.edu (8.13.6/8.13.6/Submit) id lBS0I9nO061336; Thu, 27 Dec 2007 18:18:09 -0600 (CST) (envelope-from bacon) Message-Id: <200712280018.lBS0I9nO061336@smithers.neuro.mcw.edu> Date: Thu, 27 Dec 2007 18:18:09 -0600 (CST) From: Jason Bacon To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/119082: New port: math/vtkmpeg2encode VTK MPEG encoder library X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Jason Bacon List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Dec 2007 00:20:02 -0000 >Number: 119082 >Category: ports >Synopsis: New port: math/vtkmpeg2encode VTK MPEG encoder library >Confidential: no >Severity: non-critical >Priority: high >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Dec 28 00:20:01 UTC 2007 >Closed-Date: >Last-Modified: >Originator: Jason Bacon >Release: FreeBSD 6.1-RELEASE-p17 i386 >Organization: Medical College of Wisconsin >Environment: System: FreeBSD smithers.neuro.mcw.edu 6.1-RELEASE-p17 FreeBSD 6.1-RELEASE-p17 #0: Mon Jul 2 15:25:34 CDT 2007 bacon@pcbsd:/usr/obj/usr/src/sys/MCWPCBSD i386 >Description: This is the VTK MPEG2 encoder library, which has been removed from the main VTK distribution due to MPEG patent issues. This port is an optional dependency for the new vtk5 port. >How-To-Repeat: >Fix: # 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: # # math/vtkmpeg2encode # math/vtkmpeg2encode/pkg-descr # math/vtkmpeg2encode/Makefile # math/vtkmpeg2encode/distinfo # math/vtkmpeg2encode/files # math/vtkmpeg2encode/files/vtkmpeg2encode.3.in # echo c - math/vtkmpeg2encode mkdir -p math/vtkmpeg2encode > /dev/null 2>&1 echo x - math/vtkmpeg2encode/pkg-descr sed 's/^X//' >math/vtkmpeg2encode/pkg-descr << 'END-of-math/vtkmpeg2encode/pkg-descr' XVTK5 MPEG2 Encoder X XWWW: http://www.vtk.org/get-software.php#addons END-of-math/vtkmpeg2encode/pkg-descr echo x - math/vtkmpeg2encode/Makefile sed 's/^X//' >math/vtkmpeg2encode/Makefile << 'END-of-math/vtkmpeg2encode/Makefile' X# New ports collection makefile for: vtkmpeg2encode X# Date created: 2007-12-20 X# Whom: Jason W. Bacon X# X# $FreeBSD$ X# X XPORTNAME= vtkmpeg2encode XPORTVERSION= 5.0.3 XCATEGORIES= math XMASTER_SITES= http://www.vtk.org/files/support/ \ X http://www.neuro.mcw.edu/Ports/distfiles/VTK5/ XDISTNAME= vtkmpeg2encode X XMAINTAINER= bacon@smithers.neuro.mcw.edu XCOMMENT= VTK MPEG2 encoding library X XCMAKE?= ${LOCALBASE}/bin/cmake XCMAKE_DEFS+= -DCMAKE_INSTALL_PREFIX:PATH=${PREFIX} X XUSE_LDCONFIG= yes X XMAN3= vtkmpeg2encode.3 X XSUB_FILES= vtkmpeg2encode.3 X XMPEGLIB= libvtkMPEG2Encode X XPLIST_FILES= lib/${MPEGLIB}.so.${PORTVERSION} \ X lib/${MPEGLIB}.so.5.0 \ X lib/${MPEGLIB}.so.5 \ X lib/${MPEGLIB}.so \ X include/vtk-5.0/mpeg2encDllConfig.h \ X include/vtk-5.0/mpeg2enc_global.h \ X include/vtk-5.0/mpeg2enc.h \ X include/vtk-5.0/mpeg2enc_config.h \ X include/vtk-5.0/vlc.h X Xdo-configure: X cd ${WRKSRC} && ${CMAKE} . X X# The CMAKE config doesn't have an option for shared libs, so we'll do X# it manually. Xpost-build: X (cd ${WRKSRC}; ${CC} -o ${MPEGLIB}.so.${PORTVERSION} -shared CMakeFiles/vtkMPEG2Encode.dir/*.o) X Xdo-install: X ${MKDIR} ${PREFIX}/include/vtk-5.0 X ${INSTALL_DATA} ${WRKSRC}/${MPEGLIB}.so.${PORTVERSION} ${PREFIX}/lib X ${LN} -s ${PREFIX}/lib/${MPEGLIB}.so.${PORTVERSION} \ X ${PREFIX}/lib/${MPEGLIB}.so.5.0 X ${LN} -s ${PREFIX}/lib/${MPEGLIB}.so.${PORTVERSION} \ X ${PREFIX}/lib/${MPEGLIB}.so.5 X ${LN} -s ${PREFIX}/lib/${MPEGLIB}.so.${PORTVERSION} \ X ${PREFIX}/lib/${MPEGLIB}.so X ${INSTALL_DATA} ${WRKSRC}/mpeg2encDllConfig.h \ X ${WRKSRC}/mpeg2enc_global.h \ X ${WRKSRC}/mpeg2enc.h \ X ${WRKSRC}/mpeg2enc_config.h \ X ${WRKSRC}/vlc.h \ X ${PREFIX}/include/vtk-5.0 X ${INSTALL_MAN} ${WRKDIR}/vtkmpeg2encode.3 ${MANPREFIX}/man/man3 X X.include END-of-math/vtkmpeg2encode/Makefile echo x - math/vtkmpeg2encode/distinfo sed 's/^X//' >math/vtkmpeg2encode/distinfo << 'END-of-math/vtkmpeg2encode/distinfo' XMD5 (vtkmpeg2encode.tar.gz) = 88106f118344dc60e5c2aef5a9aee935 XSHA256 (vtkmpeg2encode.tar.gz) = 4875494be01095377f86b1ad7427cab9a2cd886b2b2b959c96ff742cdda96a2b XSIZE (vtkmpeg2encode.tar.gz) = 44737 END-of-math/vtkmpeg2encode/distinfo echo c - math/vtkmpeg2encode/files mkdir -p math/vtkmpeg2encode/files > /dev/null 2>&1 echo x - math/vtkmpeg2encode/files/vtkmpeg2encode.3.in sed 's/^X//' >math/vtkmpeg2encode/files/vtkmpeg2encode.3.in << 'END-of-math/vtkmpeg2encode/files/vtkmpeg2encode.3.in' X.TH VTKMPEG2ENCODE 3 X.SH NAME \" Section header X.PP X Xvtkmpeg2encode - VTK MPEG encoder library X X.SH SYNOPSIS X.PP X.nf X.na X#include X X-I%%PREFIX%%/include X X-L%%PREFIX%%/lib -lvtkMPEG2Encode X.ad X.fi X X\" Optional sections X.SH "DESCRIPTION" X XThis is the VTK MPEG2 encoder library for the Visualization Tool Kit. X Xvtkmpeg2encode has been removed from VTK due to patent issues with the XMPEG format. X XFor those who don't mind dealing with the issues related to patented code, Xvtkmpeg2encode is now available as a separate download. Go to Xhttp://www.vtk.org and click on the "Download" link and look for links to Xarchives of the vtkmpeg2encode source tree. It is buildable with CMake. See Xthe comments in vtkMPEG2Writer class documentation or in VTK's XCMakeLists.txt near the VTK_USE_MPEG2_ENCODER option for more info. X XFreeBSD ports users can simply install the vtkmpeg2encode port and read Xthe license terms. X XThose of you using vtkMPEG2Writer will have to build vtkmpeg2encode Xseparately and link it in to VTK to keep using it... assuming the Xresponsibility for using patented code properly yourselves. Otherwise, you Xwill have to discontinue use of the vtkMPEG2Writer class. X X.SH "SEE ALSO" Xvtk(3) X X.SH AUTHOR X.nf X.na XKitware, Inc. Xhttp://vtk.org X END-of-math/vtkmpeg2encode/files/vtkmpeg2encode.3.in exit >Release-Note: >Audit-Trail: >Unformatted: