From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Oct 30 18:30:16 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BD7D216A41F for ; Sun, 30 Oct 2005 18:30:16 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3CAF443D46 for ; Sun, 30 Oct 2005 18:30:16 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j9UIUG8N066486 for ; Sun, 30 Oct 2005 18:30:16 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j9UIUGUa066485; Sun, 30 Oct 2005 18:30:16 GMT (envelope-from gnats) Resent-Date: Sun, 30 Oct 2005 18:30:16 GMT Resent-Message-Id: <200510301830.j9UIUGUa066485@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, Heiner Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 912E016A41F for ; Sun, 30 Oct 2005 18:23:19 +0000 (GMT) (envelope-from h.eichmann@gmx.de) Received: from mail.gmx.net (imap.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id C225A43D48 for ; Sun, 30 Oct 2005 18:23:18 +0000 (GMT) (envelope-from h.eichmann@gmx.de) Received: (qmail invoked by alias); 30 Oct 2005 18:23:16 -0000 Received: from p5482462D.dip.t-dialin.net (EHLO 7of9.unimatrix-zero.borg) [84.130.70.45] by mail.gmx.net (mp001) with SMTP; 30 Oct 2005 19:23:16 +0100 Message-Id: <200510301923.57646.h.eichmann@gmx.de> Date: Sun, 30 Oct 2005 19:23:57 +0100 From: Heiner To: FreeBSD-gnats-submit@FreeBSD.org Cc: Subject: ports/88248: New Port: multimedia/streamanalyze, a shrink-factor calculator for StreamDVD X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Oct 2005 18:30:16 -0000 >Number: 88248 >Category: ports >Synopsis: New Port: multimedia/streamanalyze, a shrink-factor calculator >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Oct 30 18:30:14 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Heiner Eichmann >Release: FreeBSD 5.4-RELEASE >Organization: Sirius Cybernetics Corp. >Environment: FreeBSD 7of9.unimatrix-zero.borg 5.4-RELEASE-p1 FreeBSD 5.4-RELEASE-p1 #0: Sat Jun 4 10:07:52 CEST 2005 root@7of9.unimatrix-zero.borg:/usr/obj/usr/src/sys/MYKERNEL i386 >Description: StreamAnalyze is a little helper for people using StreamDVD to backup movies. Giving the video/audio/subpicture tracks you want to save StreamAnalyze will calculate if the backup would fit on a dvd-r and, if not, prints a shrink factor to reduce the video size. Before using StreamAnalyze you should call 'lsdvd' or 'tcprobe' to get an overview what's available on the video dvd you want to backup. WWW: http://www.badabum.de/streamdvd.html >How-To-Repeat: >Fix: --Boundary-00=_9+QZDjVS7FypaMU Content-Type: text/plain; charset="iso-8859-1"; name="streamanalyze.port" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="streamanalyze.port" # 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: # # streamanalyze # streamanalyze/pkg-descr # streamanalyze/distinfo # streamanalyze/Makefile # streamanalyze/files # streamanalyze/files/patch-streamanalyze.c # streamanalyze/pkg-plist # echo c - streamanalyze mkdir -p streamanalyze > /dev/null 2>&1 echo x - streamanalyze/pkg-descr sed 's/^X//' >streamanalyze/pkg-descr << 'END-of-streamanalyze/pkg-descr' XStreamAnalyze is a little helper for people using StreamDVD to backup movies. XGiving the video/audio/subpicture tracks you want to save StreamAnalyze will Xcalculate if the backup would fit on a dvd-r and, if not, prints a shrink factor Xto reduce the video size. XBefore using StreamAnalyze you should call 'lsdvd' or 'tcprobe' to get an overview Xwhat's available on the video dvd you want to backup. X XWWW: http://www.badabum.de/streamdvd.html END-of-streamanalyze/pkg-descr echo x - streamanalyze/distinfo sed 's/^X//' >streamanalyze/distinfo << 'END-of-streamanalyze/distinfo' XMD5 (streamanalyze-0.4.tar.gz) = c17b27f0b92c0478e63e067d8f8e359c XSIZE (streamanalyze-0.4.tar.gz) = 13287 END-of-streamanalyze/distinfo echo x - streamanalyze/Makefile sed 's/^X//' >streamanalyze/Makefile << 'END-of-streamanalyze/Makefile' X# New ports collection makefile for: streamanalyze X# Date created: 2005-10-30 X# Whom: Heiner Eichmann X# X# $FreeBSD: $ X# X XPORTNAME= streamanalyze XPORTVERSION= 0.4 XCATEGORIES= multimedia XMASTER_SITES= http://www.badabum.de/down/ X XMAINTAINER= h.eichmann@gmx.de XCOMMENT= Shrink-factor calculator for StreamDVD X XLIB_DEPENDS= dvdread:${PORTSDIR}/multimedia/libdvdread X XWRKSRC= ${WRKDIR}/StreamAnalyze XUSE_REINPLACE= yes X XPLIST_FILES= bin/streamanalyze XPORTDOCS= README X Xpost-patch: X ${REINPLACE_CMD} -e 's|gcc -g -Wall|${CXX} ${CXXFLAGS} -I${LOCALBASE}/include -L${LOCALBASE}/lib|' ${WRKSRC}/Makefile X Xdo-install: X ${INSTALL_PROGRAM} ${WRKSRC}/streamanalyze ${PREFIX}/bin X.if !defined(NOPORTDOCS) X ${MKDIR} ${DOCSDIR} X ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR} X.endif X X.include END-of-streamanalyze/Makefile echo c - streamanalyze/files mkdir -p streamanalyze/files > /dev/null 2>&1 echo x - streamanalyze/files/patch-streamanalyze.c sed 's/^X//' >streamanalyze/files/patch-streamanalyze.c << 'END-of-streamanalyze/files/patch-streamanalyze.c' X--- streamanalyze.c.orig Thu Sep 8 21:56:10 2005 X+++ streamanalyze.c Thu Sep 8 21:57:07 2005 X@@ -212,7 +212,7 @@ X } X } X if( !found ) { // unknown stream, add to list X- new_data = malloc(sizeof(struct streamdata)); X+ new_data = (streamdata*)malloc(sizeof(struct streamdata)); X if( new_data == NULL ) { X fprintf(stderr, "Out of memory\n"); X exit(1); END-of-streamanalyze/files/patch-streamanalyze.c echo x - streamanalyze/pkg-plist sed 's/^X//' >streamanalyze/pkg-plist << 'END-of-streamanalyze/pkg-plist' Xbin/streamanalyze Xshare/doc/streamanalyze/README X@dirrm share/doc/streamanalyze END-of-streamanalyze/pkg-plist exit --Boundary-00=_9+QZDjVS7FypaMU-- >Release-Note: >Audit-Trail: >Unformatted: --Boundary-00=_9+QZDjVS7FypaMU Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline for StreamDVD