NetBSD Problem Report #43267
From www@NetBSD.org Thu May 6 09:20:04 2010
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by www.NetBSD.org (Postfix) with ESMTP id EC76863C53F
for <gnats-bugs@gnats.NetBSD.org>; Thu, 6 May 2010 09:20:03 +0000 (UTC)
Message-Id: <20100506092003.BF9F963C53A@www.NetBSD.org>
Date: Thu, 6 May 2010 09:20:03 +0000 (UTC)
From: H_Muehlmeier@gmx.de
Reply-To: H_Muehlmeier@gmx.de
To: gnats-bugs@NetBSD.org
Subject: multimedia/dvdrip can't transcode movies - transcode does not compile with needed options enabled
X-Send-Pr-Version: www-1.0
>Number: 43267
>Category: pkg
>Synopsis: multimedia/dvdrip can't transcode movies - transcode does not compile with needed options enabled
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: closed
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Thu May 06 09:25:00 +0000 2010
>Closed-Date: Sat May 08 16:05:29 +0000 2010
>Last-Modified: Sat May 08 16:20:03 +0000 2010
>Originator: Helge Muehlmeier
>Release: NetBSD Current amd64
>Organization:
privat
>Environment:
NetBSD wopr.fritz.box 5.99.27 NetBSD 5.99.27 (WOPR) #0: Sat Apr 24 10:38:56 CEST 2010 helgoman@wopr.fritz.box:/usr/src/sys/arch/amd64/compile/WOPR amd64
>Description:
If you want to transcode a movie with dvdrip the transcode process needs only 1-2 seconds because transcode was not build with needed support of some options (e.g. a52, xvid or x264).
>How-To-Repeat:
Install dvdrip and use the program as usual...
>Fix:
wopr$ cvs diff -uN
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/multimedia/transcode/Makefile,v
retrieving revision 1.62
diff -u -p -u -r1.62 Makefile
--- Makefile 18 Jan 2010 09:59:18 -0000 1.62
+++ Makefile 6 May 2010 09:14:42 -0000
@@ -22,6 +22,11 @@ CONFIGURE_ARGS+= --enable-oss
CONFIGURE_ARGS+= --enable-ogg
CONFIGURE_ARGS+= --enable-theora
CONFIGURE_ARGS+= --enable-vorbis
+CONFIGURE_ARGS+= --enable-a52
+CONFIGURE_ARGS+= --enable-xvid
+CONFIGURE_ARGS+= --enable-x264
+CONFIGURE_ARGS+= --enable-libmpeg2
+CONFIGURE_ARGS+= --enable-libmpeg2convert
CONFIGURE_ARGS+= --with-libavcodec-prefix=${BUILDLINK_PREFIX.ffmpeg}
CONFIGURE_ENV+= PATH_TO_AWK=${AWK:Q}
wopr$
>Release-Note:
>Audit-Trail:
From: Matthias Drochner <M.Drochner@fz-juelich.de>
To: <H_Muehlmeier@gmx.de>
Cc: <gnats-bugs@netbsd.org>
Subject: Re: pkg/43267: multimedia/dvdrip can't transcode movies - transcode
does not compile with needed options enabled
Date: Thu, 6 May 2010 19:15:30 +0200
--==_Exmh_5278644526500
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
> +CONFIGURE_ARGS+=3D --enable-a52
> +CONFIGURE_ARGS+=3D --enable-xvid
> +CONFIGURE_ARGS+=3D --enable-x264
> +CONFIGURE_ARGS+=3D --enable-libmpeg2
> +CONFIGURE_ARGS+=3D --enable-libmpeg2convert
x264 and a52 are handled in options.mk. Both are in the default
option set, thus enabled in a default build.
You are right about mpeg2. (Could be made optional as well,
but since this is needed for VCD/DVD it is too useful to be
opted out. Also, there are no nasty licenses involved afais.)
How about the appended patch? (I've made faac optional, although
it will likely be needed together with x264, because the
library cannot be redistributed on CD.)
best regards
Matthias
---------------------------------------------------------------------------=
---------------------
---------------------------------------------------------------------------=
---------------------
Forschungszentrum Juelich GmbH
52425 Juelich
Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzende des Aufsichtsrats: MinDir'in Baerbel Brumme-Bothe
Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender),
Dr. Ulrich Krafft (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
Prof. Dr. Sebastian M. Schmidt
---------------------------------------------------------------------------=
---------------------
---------------------------------------------------------------------------=
---------------------
--==_Exmh_5278644526500
Content-Type: text/plain; name="tc.txt"; charset="us-ascii"
Content-Description: tc.txt
Content-Disposition: attachment; filename="tc.txt"
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/multimedia/transcode/Makefile,v
retrieving revision 1.62
diff -u -r1.62 Makefile
--- Makefile 18 Jan 2010 09:59:18 -0000 1.62
+++ Makefile 6 May 2010 17:07:06 -0000
@@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.62 2010/01/18 09:59:18 wiz Exp $
DISTNAME= transcode-1.1.5
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= multimedia
MASTER_SITES= http://download.berlios.de/tcforge/
EXTRACT_SUFX= .tar.bz2
@@ -22,6 +22,9 @@
CONFIGURE_ARGS+= --enable-ogg
CONFIGURE_ARGS+= --enable-theora
CONFIGURE_ARGS+= --enable-vorbis
+CONFIGURE_ARGS+= --enable-libmpeg2
+CONFIGURE_ARGS+= --enable-libmpeg2convert
+CONFIGURE_ARGS+= --enable-xvid
CONFIGURE_ARGS+= --with-libavcodec-prefix=${BUILDLINK_PREFIX.ffmpeg}
CONFIGURE_ENV+= PATH_TO_AWK=${AWK:Q}
@@ -39,7 +42,6 @@
.include "options.mk"
-.include "../../audio/faac/buildlink3.mk"
.include "../../audio/lame/buildlink3.mk"
.include "../../audio/libvorbis/buildlink3.mk"
.include "../../converters/libiconv/buildlink3.mk"
Index: options.mk
===================================================================
RCS file: /cvsroot/pkgsrc/multimedia/transcode/options.mk,v
retrieving revision 1.7
diff -u -r1.7 options.mk
--- options.mk 15 Nov 2009 18:09:35 -0000 1.7
+++ options.mk 6 May 2010 17:07:06 -0000
@@ -3,7 +3,7 @@
PKG_OPTIONS_VAR= PKG_OPTIONS.transcode
PKG_SUPPORTED_OPTIONS= a52 freetype2 mjpegtools lzo libxml2
-PKG_SUPPORTED_OPTIONS+= dv imagemagick x264
+PKG_SUPPORTED_OPTIONS+= dv imagemagick x264 faac
PKG_SUGGESTED_OPTIONS= a52 freetype2 mjpegtools libxml2
PKG_SUGGESTED_OPTIONS+= imagemagick x264
@@ -78,3 +78,10 @@
CONFIGURE_ARGS+=
CONFIGURE_ARGS+= --disable-x264
.endif
+
+.if !empty(PKG_OPTIONS:Mfaac)
+. include "../../audio/faac/buildlink3.mk"
+CONFIGURE_ARGS+= --enable-faac
+.else
+CONFIGURE_ARGS+= --disable-faac
+.endif
--==_Exmh_5278644526500--
State-Changed-From-To: open->feedback
State-Changed-By: reed@NetBSD.org
State-Changed-When: Sat, 08 May 2010 12:05:09 +0000
State-Changed-Why:
Different patch was provided. Is that okay for you?
From: Helge Muehlmeier <H_Muehlmeier@gmx.de>
To: gnats-bugs@NetBSD.org
Cc: pkg-manager@netbsd.org, pkgsrc-bugs@netbsd.org, gnats-admin@netbsd.org,
reed@NetBSD.org, H_Muehlmeier@gmx.de
Subject: Re: pkg/43267 (multimedia/dvdrip can't transcode movies - transcode does not compile with needed options enabled)
Date: Sat, 8 May 2010 14:21:31 +0200
On Sat, May 08, 2010 at 12:05:10PM +0000, reed@NetBSD.org wrote:
> State-Changed-From-To: open->feedback
> State-Changed-By: reed@NetBSD.org
> State-Changed-When: Sat, 08 May 2010 12:05:09 +0000
> State-Changed-Why:
> Different patch was provided. Is that okay for you?
Yes... Looks ok for me...
--
Helge Mühlmeier <H_Muehlmeier@gmx.de>
Am Löbner 21
38165 Lehre
Fon: ++49 5308 961947
Mobil: ++49 177 2175812
##########################
"Of course it runs NetBSD"
<http://www.netbsd.org/>
<http://pkgsrc.se/>
<http://www.netbsd.org/docs/software/packages.html>
State-Changed-From-To: feedback->closed
State-Changed-By: drochner@NetBSD.org
State-Changed-When: Sat, 08 May 2010 16:05:29 +0000
State-Changed-Why:
submitter is satisfied
From: Matthias Drochner <drochner@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/43267 CVS commit: pkgsrc/multimedia/transcode
Date: Sat, 8 May 2010 16:04:05 +0000
Module Name: pkgsrc
Committed By: drochner
Date: Sat May 8 16:04:05 UTC 2010
Modified Files:
pkgsrc/multimedia/transcode: Makefile options.mk
Log Message:
-enable xvid and mpeg2 support explicitely, seems that these are
not enebled per depault anymore upstream (this doesn't add
dependencies, so it doesn't hurt)
from Helge Muehlmeier per PR pkg/43267
-make faac support optional (off per default) because the needed
library cannot be freely redistributed for patent reasons
bump PKGREVISION
To generate a diff of this commit:
cvs rdiff -u -r1.62 -r1.63 pkgsrc/multimedia/transcode/Makefile
cvs rdiff -u -r1.7 -r1.8 pkgsrc/multimedia/transcode/options.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.