Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Jan 2006 17:00:24 GMT
From:      "jacula@gmail.com" <jacula@gmail.com>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/91575: Incorrect dipendences for normalize-0.7.6_3
Message-ID:  <200601101700.k0AH0OYF011933@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/91575; it has been noted by GNATS.

From: "jacula@gmail.com" <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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200601101700.k0AH0OYF011933>