From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Oct 27 10:20:22 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 B44EC16A41F for ; Thu, 27 Oct 2005 10:20:22 +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 2AE6943D49 for ; Thu, 27 Oct 2005 10:20:20 +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 j9RAKJrj089175 for ; Thu, 27 Oct 2005 10:20:19 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j9RAKJXj089174; Thu, 27 Oct 2005 10:20:19 GMT (envelope-from gnats) Resent-Date: Thu, 27 Oct 2005 10:20:19 GMT Resent-Message-Id: <200510271020.j9RAKJXj089174@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, "Frank W. Josellis" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 374B416A420 for ; Thu, 27 Oct 2005 10:14:51 +0000 (GMT) (envelope-from frank@dynamical-systems.org) Received: from mout2.freenet.de (mout2.freenet.de [194.97.50.155]) by mx1.FreeBSD.org (Postfix) with ESMTP id D6A1143D72 for ; Thu, 27 Oct 2005 10:14:40 +0000 (GMT) (envelope-from frank@dynamical-systems.org) Received: from [194.97.55.192] (helo=mx8.freenet.de) by mout2.freenet.de with esmtpa (Exim 4.53-RC2) id 1EV4mN-0005WH-0a for FreeBSD-gnats-submit@freebsd.org; Thu, 27 Oct 2005 12:14:39 +0200 Received: from p508eafc1.dip0.t-ipconnect.de ([80.142.175.193] helo=achilles.senax.net) by mx8.freenet.de with esmtpsa (ID jr-relay@freenet.de) (TLSv1:AES256-SHA:256) (Exim 4.54 #12) id 1EV4mM-00054x-Aa for FreeBSD-gnats-submit@freebsd.org; Thu, 27 Oct 2005 12:14:38 +0200 Received: from achilles.senax.net (localhost.senax.net [127.0.0.1]) by achilles.senax.net (8.13.1/8.13.1) with ESMTP id j9RAEat8007366; Thu, 27 Oct 2005 12:14:36 +0200 (CEST) (envelope-from frank@dynamical-systems.org) Received: (from root@localhost) by achilles.senax.net (8.13.1/8.13.1/Submit) id j9RAEZJ5007365; Thu, 27 Oct 2005 12:14:35 +0200 (CEST) (envelope-from frank@dynamical-systems.org) Message-Id: <200510271014.j9RAEZJ5007365@achilles.senax.net> Date: Thu, 27 Oct 2005 12:14:35 +0200 (CEST) From: "Frank W. Josellis" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/88075: Update port: multimedia/exportvideo - various bug fixes 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: Thu, 27 Oct 2005 10:20:22 -0000 >Number: 88075 >Category: ports >Synopsis: Update port: multimedia/exportvideo - various bug fixes >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: Thu Oct 27 10:20:19 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Frank W. Josellis >Release: FreeBSD 4.11-STABLE i386 >Organization: >Environment: System: FreeBSD achilles.senax.net 4.11-STABLE FreeBSD 4.11-STABLE #9: Thu Oct 13 14:53:31 CEST 2005 root@achilles.senax.net:/usr/obj/usr/src/sys/ACHILLES i386 >Description: The patch below allows to build the port with non-standard LOCALBASE/X11BASE settings. Moreover, the packing list was corrected to avoid complaints from the deinstaller. >How-To-Repeat: >Fix: --- exportvideo-1.0a.patch begins here --- diff -Nur exportvideo.BAK/Makefile exportvideo/Makefile --- exportvideo.BAK/Makefile Mon Oct 24 23:04:07 2005 +++ exportvideo/Makefile Wed Oct 26 22:03:23 2005 @@ -7,6 +7,7 @@ PORTNAME= exportvideo PORTVERSION= 1.0 +PORTREVISION= 1 CATEGORIES= multimedia MASTER_SITES= http://tigerente.htu.tuwien.ac.at/~aoe/mystuff/mpeg2_movie-avipatch/ DISTNAME= ${PORTNAME}.7e-pre9 @@ -21,7 +22,7 @@ USE_XLIB= yes USE_GMAKE= yes HAS_CONFIGURE= yes -CONFIGURE_ARGS= --no-avi +CONFIGURE_ARGS= --no-avi --prefix=${PREFIX} WRKSRC= ${WRKDIR}/${DISTNAME} diff -Nur exportvideo.BAK/files/patch-configure exportvideo/files/patch-configure --- exportvideo.BAK/files/patch-configure Mon Oct 24 23:04:07 2005 +++ exportvideo/files/patch-configure Wed Oct 26 22:03:23 2005 @@ -1,5 +1,5 @@ ---- configure.orig Tue Oct 9 18:14:28 2001 -+++ configure Mon Nov 1 09:41:06 2004 +--- configure.orig Tue Oct 9 18:14:50 2001 ++++ configure Wed Oct 26 21:44:35 2005 @@ -1,7 +1,9 @@ +#!/bin/sh + @@ -11,12 +11,23 @@ PREFIX=/usr/local LDSTATIC= -@@ -168,6 +170,8 @@ - if [ "x$LDSTATIC" != "x" ]; then - echo >> global_config "LDFLAGS += $LDSTATIC" +@@ -178,15 +180,15 @@ + cd libmpeg3 + + if [ ${USE_MMX} = 1 ]; then +- ./configure --no-css ++ ./configure --no-css --prefix=${PREFIX} + else +- ./configure --no-css --no-mmx ++ ./configure --no-css --no-mmx --prefix=${PREFIX} fi -+ -+egrep "^LDFLAGS|^DONT_USE_AVI|^VIDEO_EXPORT_ONLY" global_config > video/global_config - echo "done" + cd ../quicktime + if [ ${USE_MMX} = 1 ]; then +- ./configure $NOFIREWIRE ++ ./configure $NOFIREWIRE --prefix=${PREFIX} + else +- ./configure $NOFIREWIRE --no-mmx ++ ./configure $NOFIREWIRE --no-mmx --prefix=${PREFIX} + fi diff -Nur exportvideo.BAK/files/patch-libmpeg3_configure exportvideo/files/patch-libmpeg3_configure --- exportvideo.BAK/files/patch-libmpeg3_configure Mon Oct 24 23:04:07 2005 +++ exportvideo/files/patch-libmpeg3_configure Wed Oct 26 22:03:23 2005 @@ -1,13 +1,24 @@ ---- libmpeg3/configure.orig Mon Feb 12 22:35:19 2001 -+++ libmpeg3/configure Mon Nov 1 09:41:06 2004 -@@ -43,8 +43,8 @@ +--- libmpeg3/configure.orig Mon Feb 12 22:35:41 2001 ++++ libmpeg3/configure Wed Oct 26 21:42:33 2005 +@@ -6,6 +6,10 @@ + for ac_option + do + case "$ac_option" in ++ --prefix=*) ++ PREFIX=`echo $ac_option|sed -e 's/.*=//'` ++ ;; ++ + --alpha) + USE_MMX=0 + USE_CSS=0 +@@ -43,8 +47,8 @@ EOF -if test -z "$CFLAGS"; then - echo >> global_config "CFLAGS = -O2 -D_FILE_OFFSET_BITS=64 -funroll-loops -fomit-frame-pointer -malign-loops=2 -malign-jumps=2 -malign-functions=2 -march=i486 -I/usr/local/include" +if true; then -+ echo >> global_config "CFLAGS = $CFLAGS -D_FILE_OFFSET_BITS=64 -I/usr/local/include" ++ echo >> global_config "CFLAGS += -D_FILE_OFFSET_BITS=64 -I${PREFIX}/include" fi cat >> global_config << EOF diff -Nur exportvideo.BAK/files/patch-quicktime_configure exportvideo/files/patch-quicktime_configure --- exportvideo.BAK/files/patch-quicktime_configure Mon Oct 24 23:04:07 2005 +++ exportvideo/files/patch-quicktime_configure Wed Oct 26 22:03:23 2005 @@ -1,13 +1,24 @@ ---- quicktime/configure.orig Mon Feb 12 22:35:19 2001 -+++ quicktime/configure Mon Nov 1 09:41:06 2004 -@@ -39,8 +39,8 @@ +--- quicktime/configure.orig Mon Feb 12 22:35:41 2001 ++++ quicktime/configure Wed Oct 26 21:40:17 2005 +@@ -6,6 +6,10 @@ + for ac_option + do + case "$ac_option" in ++ --prefix=*) ++ PREFIX=`echo $ac_option|sed -e 's/.*=//'` ++ ;; ++ + --alpha) + USE_MMX=0 + ;; +@@ -39,8 +43,8 @@ # DO NOT EDIT. EDIT ./configure INSTEAD AND RERUN IT. EOF -if test -z "$CFLAGS"; then - echo >> global_config "CFLAGS = -O2 -fomit-frame-pointer -malign-loops=2 -malign-jumps=2 -malign-functions=2 -march=i486 -I/usr/local/include" +if true; then -+ echo >> global_config "CFLAGS = $CFLAGS -I/usr/local/include" ++ echo >> global_config "CFLAGS += -I${PREFIX}/include" fi if [ ${USE_FIREWIRE} = 1 ]; then diff -Nur exportvideo.BAK/files/patch-video_Makefile exportvideo/files/patch-video_Makefile --- exportvideo.BAK/files/patch-video_Makefile Mon Oct 24 23:04:07 2005 +++ exportvideo/files/patch-video_Makefile Wed Oct 26 22:03:23 2005 @@ -1,11 +1,5 @@ ---- video/Makefile.orig Fri Oct 26 03:26:40 2001 -+++ video/Makefile Mon Nov 1 09:41:06 2004 -@@ -1,4 +1,4 @@ --include ../global_config -+include ./global_config - CC = gcc - #CFLAGS += -g -I../libmpeg3 -I../quicktime - CFLAGS += -I../libmpeg3 -I../quicktime +--- video/Makefile.orig Fri Oct 26 03:27:02 2001 ++++ video/Makefile Wed Oct 26 20:51:35 2005 @@ -17,7 +17,8 @@ ifneq ($(strip $(DYNAMIC_LOADING)),) PLUGINS+= codecs/rtjpeg_input.so @@ -22,7 +16,7 @@ -exportvideo: $(PLUGINS) $(OBJ) ../global_config - if [ \"x$(VIDEO_EXPORT_ONLY)\" = \"x\" ]; then VIDEO_EXPORT_ONLY=1 make exportvideo; else $(CXX) $(CFLAGS) -o $@ $(OBJ) ../libmpeg3/libmpeg3.a ../quicktime/libquicktime.a -lpthread -lpng -lz -lm -L/usr/local/lib $(LIBAVIPLAYORNOT) $(LDFLAGS); fi -+exportvideo: $(PLUGINS) $(OBJ) ++exportvideo: $(PLUGINS) $(OBJ) ../global_config + $(CXX) $(CFLAGS) -o $@ $(OBJ) ../libmpeg3/libmpeg3.a ../quicktime/libquicktime.a -pthread -lpng -lz -lm -L/usr/local/lib $(LIBAVIPLAYORNOT) $(LDFLAGS) .s.o: diff -Nur exportvideo.BAK/pkg-plist exportvideo/pkg-plist --- exportvideo.BAK/pkg-plist Mon Oct 24 23:04:07 2005 +++ exportvideo/pkg-plist Wed Oct 26 22:03:23 2005 @@ -1,4 +1,3 @@ bin/exportvideo bin/nuv4dvd %%PORTDOCS%%%%DOCSDIR%%/README.FreeBSD -%%PORTDOCS%%@dirrm %%DOCSDIR%% --- exportvideo-1.0a.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: