Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Nov 1999 01:56:31 -0800
From:      Aaron Smith <aaron@mutex.org>
To:        freebsd-ports@freebsd.org
Subject:   update for lame port to 3.50
Message-ID:  <19991112015631.B38277@gelatinous.com>

next in thread | raw e-mail | index | archive | help
after reading 'http://www.freebsd.org/handbook/porting.html', 
it appeared i should also cc "us" (the page is a bit unclear in the
Upgrading section). please let me know if this address is appropriate.

i hope people find this useful.

aaron

----- Forwarded message from Aaron Smith <aaron@mutex.org> -----

Date: Fri, 12 Nov 1999 01:51:59 -0800
From: Aaron Smith <aaron@mutex.org>
To: yoshiaki@kt.rim.or.jp
Cc: aaron@mutex.org
Subject: update for lame port to 3.50
X-Mailer: Mutt 1.0i

hello,

here are patches for:

- upgrading the lame port to v3.50
- obeying NO_X11 and suppressing the GTK dependencies if it is set.
- some of the included docs appear to have changed, so the removals
  have been reflected in PLIST.

thanks,
aaron

Index: Makefile
===================================================================
RCS file: /usr/cvs/ports/audio/lame/Makefile,v
retrieving revision 1.6
diff -u -r1.6 Makefile
--- Makefile	1999/08/25 04:35:42	1.6
+++ Makefile	1999/11/12 09:40:29
@@ -1,5 +1,5 @@
 # ports collection makefile for:   lame
-# Version required:    3.13
+# Version required:    3.50
 # Date created:        11 January 1998
 # Whom:                yoshiaki Uchikawa
 #
@@ -7,21 +7,24 @@
 #
 
 DISTNAME=	dist10
-PKGNAME=	lame-3.13
+PKGNAME=	lame-3.50
 CATEGORIES=	audio
 MASTER_SITES=	ftp://ftp.sunet.se/pub/multimedia/Berkeley/mpeg2/conformance-bitstreams/audio/mpeg2/software/technical_report/
 
 PATCH_SITES=	http://www.sulaco.org/mp3/download/patches/
-PATCHFILES=	lame3.13.patch.gz
+PATCHFILES=	lame3.50.patch.gz
 
 MAINTAINER=	yoshiaki@kt.rim.or.jp
 
+.if !defined(NO_X11)
 LIB_DEPENDS=	gtk12:${PORTSDIR}/x11-toolkits/gtk12
+.endif
 
 PATCH_DIST_STRIP = -p1
 
 WRKSRC= 	${WRKDIR}/dist10/lsf/encoder/
 USE_GMAKE=	YES
+MAKE_ENV=	NO_X11=${NO_X11}
 ALL_TARGET=	lame
 RESTRICTED=	Condition is not clear
 
Index: files/md5
===================================================================
RCS file: /usr/cvs/ports/audio/lame/files/md5,v
retrieving revision 1.4
diff -u -r1.4 md5
--- md5	1999/07/27 16:37:56	1.4
+++ md5	1999/11/12 08:57:08
@@ -1,2 +1,2 @@
 MD5 (dist10.tar.gz) = 62cee8daa6041b8a2d0a9a1ef18163b4
-MD5 (lame3.13.patch.gz) = 67aacae4b77f2a1f377552cc366fe0eb
+MD5 (lame3.50.patch.gz) = eb5e35131bcb7933212165f7d3f2add1
Index: patches/patch-aa
===================================================================
RCS file: /usr/cvs/ports/audio/lame/patches/patch-aa,v
retrieving revision 1.2
diff -u -r1.2 patch-aa
--- patch-aa	1999/06/11 14:28:25	1.2
+++ patch-aa	1999/11/12 09:39:43
@@ -1,11 +1,22 @@
---- Makefile.orig	Wed Jun  2 15:59:37 1999
-+++ Makefile	Wed Jun  9 01:19:47 1999
-@@ -10,7 +10,7 @@
+--- Makefile.orig	Fri Nov 12 01:28:34 1999
++++ Makefile	Fri Nov 12 01:39:22 1999
+@@ -12,7 +12,7 @@
  # defaults:
  PGM = lame
  CC = gcc
--CC_OPTS = -O 	
-+CC_OPTS =  ${CFLAGS}	
+-CC_OPTS = -O   	
++CC_OPTS = ${CFLAGS}
  GTK = 
  GTKLIBS = 
- LIBS = -lm
+ SNDLIB = 
+@@ -106,8 +106,10 @@
+ ##########################################################################
+ ifeq ($(UNAME),FreeBSD)
+ #  remove if you do not have GTK or do not want the GTK frame analyzer
++ifndef NO_X11
+    GTK = -DHAVEGTK `gtk12-config --cflags`
+    GTKLIBS = `gtk12-config --libs` 
++endif
+ # Comment out next 2 lines if you want to remove VBR histogram capability
+    BRHIST_SWITCH = -DBRHIST
+    LIBTERMCAP = -lncurses
Index: patches/patch-ab
===================================================================
RCS file: /usr/cvs/ports/audio/lame/patches/patch-ab,v
retrieving revision 1.1
diff -u -r1.1 patch-ab
--- patch-ab	1999/09/20 01:29:53	1.1
+++ patch-ab	1999/11/12 09:46:43
@@ -1,11 +1,11 @@
---- musicin.c.orig	Sat Sep 18 14:46:40 1999
-+++ musicin.c	Sat Sep 18 14:47:01 1999
-@@ -1067,7 +1067,7 @@
-     int model, stereo;
-     layer info;
+--- lame.c.orig	Fri Nov 12 01:44:46 1999
++++ lame.c	Fri Nov 12 01:44:35 1999
+@@ -1288,7 +1288,7 @@
+ void lame_init(int nowrite)
+ {
  
 -#ifdef __FreeBSD__
-+#if defined(__FreeBSD__) && !defined(__alpha__)
++#if defined (__FreeBSD__) && !defined(__alpha__)
+ #include <floatingpoint.h>
    {
-   fp_except_t mask;
-   mask=fpgetmask();
+   /* seet floating point mask to the Linux default */
Index: pkg/PLIST
===================================================================
RCS file: /usr/cvs/ports/audio/lame/pkg/PLIST,v
retrieving revision 1.2
diff -u -r1.2 PLIST
--- PLIST	1999/06/11 14:28:31	1.2
+++ PLIST	1999/11/08 11:48:05
@@ -1,23 +1,10 @@
 bin/lame
-share/doc/lame/advanced.html
-share/doc/lame/basics.html
 share/doc/lame/contributors.html
 share/doc/lame/history.html
 share/doc/lame/index.html
 share/doc/lame/lame.css
-share/doc/lame/node10.html
-share/doc/lame/node11.html
-share/doc/lame/node12.html
-share/doc/lame/node13.html
-share/doc/lame/node14.html
-share/doc/lame/node15.html
-share/doc/lame/node16.html
-share/doc/lame/node17.html
-share/doc/lame/node18.html
 share/doc/lame/node5.html
 share/doc/lame/node6.html
 share/doc/lame/node7.html
-share/doc/lame/node8.html
-share/doc/lame/node9.html
 share/doc/lame/switchs.html
 @dirrm share/doc/lame

----- End forwarded message -----


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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