Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Oct 2004 02:00:07 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/72523: Update port: audio/mhwaveedit to 1.3.3 (fix ports/71868)
Message-ID:  <20041012020007.7ce9d5e0.tkato432@yahoo.com>
Resent-Message-ID: <200410111710.i9BHAQKc028135@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         72523
>Category:       ports
>Synopsis:       Update port: audio/mhwaveedit to 1.3.3 (fix ports/71868)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 11 17:10:26 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.10-RELEASE-p3 i386
>Organization:
>Environment:
>Description:
- Update to version 1.3.3

New file:
files/patch-src::gtkfiles.h

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/audio/mhwaveedit/Makefile audio/mhwaveedit/Makefile
--- /usr/ports/audio/mhwaveedit/Makefile	Mon Jun 28 22:56:27 2004
+++ audio/mhwaveedit/Makefile	Fri Oct  8 21:10:21 2004
@@ -7,7 +7,7 @@
 #
 
 PORTNAME=	mhwaveedit
-PORTVERSION=	1.3.0
+PORTVERSION=	1.3.3
 CATEGORIES=	audio
 MASTER_SITES=	http://www.mtek.chalmers.se/~hjormagn/
 
@@ -19,14 +19,18 @@
 		portaudio.0:${PORTSDIR}/audio/portaudio
 
 USE_GNOME=	gnomehack gnometarget gtk20
+WANT_GNOME=	yes
+WANT_SDL=	yes
 USE_REINPLACE=	yes
 GNU_CONFIGURE=	yes
 CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
 		LDFLAGS="-L${LOCALBASE}/lib"
-CONFIGURE_ARGS=	--disable-optimization --without-alsalib --without-sdl
+CONFIGURE_ARGS=	--disable-optimization --without-alsalib
 
 PLIST_FILES=	bin/mhwaveedit
 
+.include <bsd.port.pre.mk>
+
 .if defined(WITH_DOUBLE_SAMPLES)
 CONFIGURE_ARGS+=	--with-double-samples
 .endif
@@ -37,6 +41,18 @@
 CONFIGURE_ARGS+=	--without-jack
 .endif
 
+.if ${HAVE_SDL:Msdl}!=""
+USE_SDL+=	sdl
+.else
+CONFIGURE_ARGS+=	--without-sdl
+.endif
+
+.if ${HAVE_GNOME:Mesound}!=""
+USE_GNOME+=     esound
+.else
+CONFIGURE_ARGS+=	--without-esound
+.endif
+
 pre-everything::
 	@${ECHO_MSG} ""
 	@${ECHO_MSG} "mhWaveEdit has the following tunable option:"
@@ -49,8 +65,11 @@
 	@${ECHO_MSG} "	WITH_JACK=yes"
 	@${ECHO_MSG} "		Support JACK driver"
 	@${ECHO_MSG} ""
+	@${ECHO_MSG} "	WITH_GNOME=esound"
+	@${ECHO_MSG} "		Support EsounD driver"
+	@${ECHO_MSG} ""
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|-ldl||g' ${WRKSRC}/configure
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff -urN /usr/ports/audio/mhwaveedit/distinfo audio/mhwaveedit/distinfo
--- /usr/ports/audio/mhwaveedit/distinfo	Mon Jun 28 22:56:27 2004
+++ audio/mhwaveedit/distinfo	Fri Oct  8 21:13:13 2004
@@ -1,2 +1,2 @@
-MD5 (mhwaveedit-1.3.0.tar.gz) = ea17d4639af5983d2a2b33e343c41fb3
-SIZE (mhwaveedit-1.3.0.tar.gz) = 292965
+MD5 (mhwaveedit-1.3.3.tar.gz) = 6fa2198e0cebdf863beeafba6fcfa29f
+SIZE (mhwaveedit-1.3.3.tar.gz) = 307576
diff -urN /usr/ports/audio/mhwaveedit/files/patch-src::gtkfiles.h audio/mhwaveedit/files/patch-src::gtkfiles.h
--- /usr/ports/audio/mhwaveedit/files/patch-src::gtkfiles.h	Thu Jan  1 09:00:00 1970
+++ audio/mhwaveedit/files/patch-src::gtkfiles.h	Fri Oct  8 21:40:22 2004
@@ -0,0 +1,10 @@
+--- src/gtkfiles.h.orig	Wed Sep 15 23:25:47 2004
++++ src/gtkfiles.h	Fri Oct  8 21:39:16 2004
+@@ -26,6 +26,7 @@
+ 
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <unistd.h>
+ 
+ #include <gtk/gtk.h>
+ 
>Release-Note:
>Audit-Trail:
>Unformatted:



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