From owner-freebsd-ports Sat Jul 13 7: 4:18 2002 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 515AE37B400 for ; Sat, 13 Jul 2002 07:04:10 -0700 (PDT) Received: from smtp.noos.fr (lafontaine.noos.net [212.198.2.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2612443E64 for ; Sat, 13 Jul 2002 07:04:09 -0700 (PDT) (envelope-from root@gits.dyndns.org) Received: (qmail 15269128 invoked by uid 0); 13 Jul 2002 14:04:06 -0000 Received: from unknown (HELO gits.gits.dyndns.org) ([212.198.229.153]) (envelope-sender ) by 212.198.2.72 (qmail-ldap-1.03) with SMTP for ; 13 Jul 2002 14:04:06 -0000 Received: from gits.gits.dyndns.org (ngk724eigt9w2mzv@localhost [127.0.0.1]) by gits.gits.dyndns.org (8.12.5/8.12.5) with ESMTP id g6DE46dT035326; Sat, 13 Jul 2002 16:04:06 +0200 (CEST) (envelope-from root@gits.dyndns.org) Received: (from root@localhost) by gits.gits.dyndns.org (8.12.5/8.12.5/Submit) id g6DE3xDc035317; Sat, 13 Jul 2002 16:03:59 +0200 (CEST) (envelope-from root) Date: Sat, 13 Jul 2002 16:03:58 +0200 From: Cyrille Lefevre To: Alexander Leidinger , dwcjr@inethouston.net, freebsd-ports@FreeBSD.ORG Subject: Re: ports/39606: Updated port: audio/lame (3.92) Message-ID: <20020713140358.GA35227@gits.dyndns.org> Mail-Followup-To: Cyrille Lefevre , Alexander Leidinger , dwcjr@inethouston.net, freebsd-ports@FreeBSD.ORG References: <200207091650.g69Go6hU037888@freefall.freebsd.org> <200207092113.g69LDf1G045883@Magelan.Leidinger.net> <20020711025341.GD77112@gits.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020711025341.GD77112@gits.dyndns.org> User-Agent: Mutt/1.3.99i Organization: ACME X-Face: V|+c;4!|B?E%BE^{E6);aI.[< List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org message resent due to mta misconfigation. On Thu, Jul 11, 2002 at 04:53:41AM +0200, Cyrille Lefevre wrote: > On Tue, Jul 09, 2002 at 11:13:41PM +0200, Alexander Leidinger wrote: > > On 9 Jul, David W. Chapman Jr. wrote: > > > The following reply was made to PR ports/39606; it has been noted by GNATS. > > > > > > From: "David W. Chapman Jr." > > > To: freebsd-gnats-submit@FreeBSD.org, cyrille.lefevre@laposte.net > > > Cc: > > > Subject: Re: ports/39606: Updated port: audio/lame (3.92) > > > Date: Tue, 09 Jul 2002 11:43:53 -0500 > > > > > > What is the status of this pr? > > > > The port enables some parts of the code which even the CVS version of > > LAME dosen't use. Cyrille hasn't answered after I complained about this. > > sorry, I though I answer you. also, I'm pretty busy right now... > I even don't have the time to read the freebsd mailing-lists :( > > so, to go fast, I get rid of files/patch-libmp3lame::i386::Makefile, > CONFIG_DEFS="${CONFIG_DEFS}" (in CONFIGURE_ENV+=) and > CONFIG_DEFS= -DUSE_FFTSSE -DUSE_FFTFPU from the ports Makefile. > > to answer some of your questions : > > [about SSE, gogo, etc. ] > > Did you benchmarked it? > no, I can't since I only have a P200, so, no SSE, etc. maybe I'll > find the time to do some tests later, but not right now. > > > [recent vorbis support] > > Are you willing to produce patches for configure.in/Makefile.am ... > what kind of patch ? vorbis rules already exists and there is > nothing to do w/ the fact that you NEED the vorbis sources > to build lame w/ vorbis support... this is absolutly non-standard. > except if you want something like --with-vorbis-prefix-src= ? > also, from version to version vorbis change ther "internal" API > which is used by libmp3lame/vorbis_interface.c which need to be > adapted everytime to seek vorbis. not my fault. > > [about the current version w/o SSE, gogo asm nor vorbis] > make test give me this on my machine (P200)... > > time frontend/lame --nores -h ./testcase.wav testcase.new.mp3 || rm -f testcase.new.mp3 > LAME version 3.92 MMX (http://www.mp3dev.org/) > CPU features: i387, MMX (ASM used) > Using polyphase lowpass filter, transition band: 15115 Hz - 15648 Hz > Encoding ./testcase.wav to testcase.new.mp3 > Encoding as 44.1 kHz 128 kbps j-stereo MPEG-1 Layer III (11x) qval=2 > Frame | CPU time/estim | REAL time/estim | play/CPU | ETA > 21/23 (91%)| 0:01/ 0:01| 0:01/ 0:01| 0.5401x| 0:00 > average: 128.0 kbps LR: 5 (20.83%) MS: 19 (79.17%) > > Writing LAME Tag...done > 1.22 real 1.04 user 0.02 sys > cmp -l testcase.new.mp3 ./testcase.mp3 | wc -l > 5 > where `cmp -l testcase.new.mp3 ./testcase.mp3' is : > 78 100 112 > 103 200 212 > 128 300 312 > 191 110 12 > 192 13 351 > > Index: Makefile > =================================================================== > RCS file: /home/ncvs/ports/audio/lame/Makefile,v > retrieving revision 1.21 > diff -u -r1.21 Makefile > --- Makefile 22 Apr 2002 01:22:48 -0000 1.21 > +++ Makefile 11 Jul 2002 02:29:01 -0000 > @@ -6,40 +6,83 @@ > # > > PORTNAME= lame > -PORTVERSION= 3.91 > +PORTVERSION= 3.92 > CATEGORIES= audio > MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \ > - ftp://lame.sourceforge.net/pub/ > + ftp://ftp.fu-berlin.de/unix/sound/%SUBDIR%/ > MASTER_SITE_SUBDIR= lame > > MAINTAINER= yoshiaki@kt.rim.or.jp > > BUILD_DEPENDS= nasm:${PORTSDIR}/devel/nasm > > +.if !defined(WITHOUT_VORBIS) > +LIB_DEPENDS= vorbis.1:${PORTSDIR}/audio/libvorbis > + > +# libvorbis sources are required wether or not the library is already installed. > +DEPENDS= ${PORTSDIR}/audio/libvorbis:patch > +.endif > + > GNU_CONFIGURE= yes > INSTALLS_SHLIB= yes > +USE_GMAKE= yes > +USE_LIBTOOL= yes > WANT_GTK= yes > -CONFIGURE_ARGS= --enable-nasm > +CONFIGURE_ARGS= --enable-nasm --enable-mp3rtp > + > +MAN1= lame.1 > > .include > > -.if (defined(HAVE_GTK) || defined(WITH_GTK)) && !defined(WITHOUT_GTK) > +.if defined(HAVE_GTK) > USE_GTK= yes > PLIST_SUB+= WITH_GTK='' > +CONFIGURE_ARGS+= --enable-mp3x > .else > PLIST_SUB+= WITH_GTK='@comment ' > +CONFIGURE_ARGS+= --disable-gtktest > .endif > > -MAN1= lame.1 > +.if !defined(WITHOUT_VORBIS) > +LIBVORBIS_SRC!= cd ${PORTSDIR}/audio/libvorbis && ${MAKE} -V WRKSRC > > -post-build: > -.if defined(HAVE_GTK) && !defined(WITHOUT_GTK) > - (cd ${WRKSRC}/frontend && make mp3x) > +CONFIGURE_ARGS+= --with-vorbis > +CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include -I${LIBVORBIS_SRC}/lib" \ > + LDFLAGS="-L${LOCALBASE}/lib" \ > + LIBS=-logg > .endif > > -post-install: > -.if defined(HAVE_GTK) && !defined(WITHOUT_GTK) > - ${INSTALL_PROGRAM} ${WRKSRC}/frontend/mp3x ${PREFIX}/bin/ > +DOC_FILES= API LICENSE PRESETS.draft README TODO USAGE > + > +pre-everything:: > +.if !defined(WITHOUT_VORBIS) > + @${ECHO_MSG} > + @${ECHO_MSG} "If you don't want to compile with Vorbis support." > + @${ECHO_MSG} "hit Ctrl-C right now and use \"make WITHOUT_VORBIS=yes\"" > + @${ECHO_MSG} > .endif > + > +.if defined(NOPORTDOCS) > +do-install: > + @cd ${INSTALL_WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} \ > + ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} install-exec > + @cd ${INSTALL_WRKSRC}/include && ${SETENV} ${MAKE_ENV} ${GMAKE} \ > + ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} install-data > + @cd ${INSTALL_WRKSRC}/doc/man && ${SETENV} ${MAKE_ENV} ${GMAKE} \ > + ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} install-data > + > +post-install: install-la > +.else > +post-install: install-la install-doc > + > +install-doc: > + @${MKDIR} ${DOCSDIR} > +.for file in ${DOC_FILES} > + @${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} > +.endfor > +.endif > + > +install-la: > + @${INSTALL_SCRIPT} ${WRKSRC}/libmp3lame/libmp3lame.la ${PREFIX}/lib > > .include > > PS : I had some trouble these days w/ my mda configuration. for instance, > I've solved them, but I've not finished some tests I'm doing regarding > sendmail/mimedefang/spamassassin and some other anti-spam solutions such > as tmda I need for my company... so, somethime I could send/receive emails, > sometimes not (I even lost some of them a few days ago, grrr). Cyrille. -- Cyrille Lefevre mailto:cyrille.lefevre@laposte.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message