Date: Sun, 30 Oct 2005 19:23:57 +0100 From: Heiner <h.eichmann@gmx.de> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/88248: New Port: multimedia/streamanalyze, a shrink-factor calculator for StreamDVD Message-ID: <200510301923.57646.h.eichmann@gmx.de> Resent-Message-ID: <200510301830.j9UIUGUa066485@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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 <h.eichmann@gmx.de> >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 <bsd.port.mk> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200510301923.57646.h.eichmann>