From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Jan 10 17:00:24 2006 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 CF4E916A41F for ; Tue, 10 Jan 2006 17:00:24 +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 793BB43D45 for ; Tue, 10 Jan 2006 17:00:24 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k0AH0ObH011934 for ; Tue, 10 Jan 2006 17:00:24 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k0AH0OYF011933; Tue, 10 Jan 2006 17:00:24 GMT (envelope-from gnats) Date: Tue, 10 Jan 2006 17:00:24 GMT Message-Id: <200601101700.k0AH0OYF011933@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: "jacula@gmail.com" Cc: Subject: Re: ports/91575: Incorrect dipendences for normalize-0.7.6_3 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "jacula@gmail.com" List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jan 2006 17:00:24 -0000 The following reply was made to PR ports/91575; it has been noted by GNATS. From: "jacula@gmail.com" To: bug-followup@FreeBSD.org Cc: Subject: Re: ports/91575: Incorrect dipendences for normalize-0.7.6_3 Date: Tue, 10 Jan 2006 16:50:29 +0000 Well the source explained me the mystery (I think). In the normalize source are defined 6 variables: FLACDECODE FLACENCODE MP3DECODE MP3ENCODE OGGDECODE OGGENCODE These are the default values for decode/encode programs, that are found,compiling normalize, installed in your system and are used by default by: normalize-mp3 normalize-ogg If you want change these values or you want assign a value, in a second moment, you can use these options: --mp3encode=X mp3 encoder --mp3decode=X mp3 decoder --oggencode=X ogg vorbis encoder --oggdecode=X ogg vorbis decoder But I think the "normalize-mp3 --help" output explain better than me. In my system: ##################### #normalize-mp3 --help Usage: normalize-mp3 [OPTION]... [FILE]... . . . . Force output format (this disables copying of comment tags): --ogg Convert files to ogg, regardless of original format --mp3 Convert files to mp3, regardless of original format --flac Convert files to flac, regardless of original format The following four options may be used to set the encoder and decoder commands for mp3 and ogg vorbis. %m is expanded to the name of the mp3 or vorbis file, %w expands to the name of the temporary WAV file, and %b expands to the bitrate, as specified by the --bitrate option. The default values are shown in brackets below. --mp3encode=X mp3 encoder [lame --quiet -h -b %b %w %m] --mp3decode=X mp3 decoder [madplay -q -o %w %m] --oggencode=X ogg vorbis encoder [] --oggdecode=X ogg vorbis decoder [ -q -d wav -f %w %m] . . ######################### Then the madplay program is optional and isn't necessary. If you want a default madplay dependence, for me, the better solution is: --- Makefile.orig Tue Jan 10 15:52:24 2006 +++ Makefile Tue Jan 10 15:53:48 2006 @@ -14,7 +14,8 @@ MAINTAINER= itetcu@people.tecnik93.com COMMENT= A tool for adjusting the volume of wave/MP3 files to a standard level -LIB_DEPENDS= mad.2:${PORTSDIR}/audio/mad +LIB_DEPENDS= mad.2:${PORTSDIR}/audio/libmad +RUN_DEPENDS= madplay:${PORTSDIR}/audio/madplay USE_BZIP2= yes # XXX set before OPTIONS OPTIONS= XMMS "Build XMMS plugin" off In the original Makefile, if you have the libmad already installed, madplay isn't installed, but if you haven't libmad, madplay is installed. I hope this is a good help. Bye Jacula Modyun