Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Feb 2002 03:45:37 +0800 (CST)
From:      Leland Wang <llwang@infor.org>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/34937: Update-port: www/ump (by maintainer)
Message-ID:  <200202141945.g1EJjbs23910@leland.infor.org>

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

>Number:         34937
>Category:       ports
>Synopsis:       Update-port: www/ump (by maintainer)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 14 11:50:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Leland Wang
>Release:        FreeBSD 4.5-STABLE i386
>Organization:
National Taiwan University
>Environment:
System: FreeBSD leland.infor.org 4.5-STABLE FreeBSD 4.5-STABLE #1: Wed Jan 30 17:25:42 CST 2002 llwang@leland.infor.org:/home/mp3/obj/usr/src/sys/LELAND i386


	
>Description:
Make this port keep up with the version of audio/timidity++.
Also make the esound device work.
Still can't get the MOTIF interface work; any help on this will be
highly appreciated.
	
>How-To-Repeat:
	
>Fix:
diff -Nru ump.orig/Makefile ump/Makefile
--- ump.orig/Makefile	Fri Feb 15 02:36:46 2002
+++ ump/Makefile	Fri Feb 15 03:40:38 2002
@@ -7,6 +7,7 @@
 
 PORTNAME=	ump
 PORTVERSION=	1.10
+PORTREVISION=	1
 CATEGORIES=	www
 MASTER_SITES=	http://www.goice.co.jp/member/mo/timidity/dist/	\
 		http://www.geocities.com/SiliconValley/Lab/2826/1-10/	\
@@ -23,9 +24,11 @@
 RUN_DEPENDS=	${LOCALBASE}/bin/timidity:${PORTSDIR}/audio/timidity++	\
 		${X11BASE}/bin/mozilla:${PORTSDIR}/www/mozilla
 
-BZ2DIST=	TiMidity++-2.10.4.tar.bz2
+BZ2DIST=	TiMidity++-${TIMIDITY_VERSION}.tar.bz2
 ZDIST=		unix-sdk-3.0b5.tar.Z ump_with_volume.tar.Z timdiffs.tar.Z
 
+TIMIDITY_VERSION=	2.11.3
+
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--enable-ump
 USE_GMAKE=	yes
@@ -35,7 +38,7 @@
 EXTRA_PATCHES=	${.CURDIR}/../../audio/timidity++/files/*
 PKGDIR=		${.CURDIR}
 DIST_SUBDIR=	timidity
-WRKSRC=		${WRKDIR}/TiMidity++-2.10.4
+WRKSRC=		${WRKDIR}/TiMidity++-${TIMIDITY_VERSION}
 
 # USE_MOTIF=	yes
 # CONFIGURE_ENV=	MOTIFLIB="${MOTIFLIB}"
diff -Nru ump.orig/distinfo ump/distinfo
--- ump.orig/distinfo	Fri Feb 15 02:36:46 2002
+++ ump/distinfo	Fri Feb 15 02:38:32 2002
@@ -1,4 +1,4 @@
-MD5 (timidity/TiMidity++-2.10.4.tar.bz2) = 8e69753b7e71055e61aeb3c234048f1e
+MD5 (timidity/TiMidity++-2.11.3.tar.bz2) = 72f6624d467b61c69b8ec9ce002c21a8
 MD5 (timidity/unix-sdk-3.0b5.tar.Z) = 1e43785d5697c60937e8d6236e7d7d7e
 MD5 (timidity/ump_with_volume.tar.Z) = 73c429e79e23b2d43906dddc594cc53b
 MD5 (timidity/timdiffs.tar.Z) = efe668b0f7093d21294d6b03cec37b85
diff -Nru ump.orig/files/patch-timidity::Makefile.in ump/files/patch-timidity::Makefile.in
--- ump.orig/files/patch-timidity::Makefile.in	Thu Jan  1 08:00:00 1970
+++ ump/files/patch-timidity::Makefile.in	Fri Feb 15 03:11:50 2002
@@ -0,0 +1,10 @@
+--- timidity/Makefile.in.orig	Fri Jan 18 07:43:16 2002
++++ timidity/Makefile.in	Fri Feb 15 03:08:51 2002
+@@ -291,6 +291,7 @@
+ @ENABLE_W32GUI_TRUE@	$(top_builddir)/utils/libutils.a \
+ @ENABLE_W32GUI_TRUE@	$(top_builddir)/interface/w32g_res.res
+ @ENABLE_W32GUI_FALSE@timidity_DEPENDENCIES = \
++@ENABLE_W32GUI_FALSE@	$(SYSEXTRAS:.c=.o) \
+ @ENABLE_W32GUI_FALSE@	$(top_builddir)/interface/libinterface.a \
+ @ENABLE_W32GUI_FALSE@	$(top_builddir)/libarc/libarc.a \
+ @ENABLE_W32GUI_FALSE@	$(top_builddir)/libunimod/libunimod.a \
diff -Nru ump.orig/files/patch-ump::UnixShell.c ump/files/patch-ump::UnixShell.c
--- ump.orig/files/patch-ump::UnixShell.c	Fri Feb 15 02:36:46 2002
+++ ump/files/patch-ump::UnixShell.c	Fri Feb 15 03:22:32 2002
@@ -1,4 +1,4 @@
---- ump/UnixShell.c.orig.1	Thu Nov 15 20:47:15 2001
+--- ump/UnixShell.c.orig	Thu Nov 15 20:47:15 2001
 +++ ump/UnixShell.c	Thu Nov 15 20:50:37 2001
 @@ -38,7 +38,7 @@
  /*
@@ -9,6 +9,28 @@
  #include <X11/Xlib.h>                            /* Xlib */
  #include <X11/Intrinsic.h>                       /* Xt */
  #include <X11/StringDefs.h>                      /* "callback" */
+--- ump/UnixShell.c.orig	Fri Feb 15 02:42:28 2002
++++ ump/UnixShell.c	Fri Feb 15 02:42:48 2002
+@@ -144,8 +144,8 @@
+ 	int argc = 0;
+ 
+ 	argv[argc++] = "timidity";
+-#ifdef AU_ALSA
+-	argv[argc++] = "-Os";
++#ifdef AU_ESD
++	argv[argc++] = "-Oe";
+ #else
+ 	argv[argc++] = "-Od";
+ #endif
+@@ -151,7 +151,7 @@
+ #endif
+ 
+ 	if(timid_ump_rate <= 0)
+-		argv[argc++] = eightKFlag ? "-s8000": "-s22050"; /* check if the user specified 8K rate */
++		argv[argc++] = eightKFlag ? "-s8000": "-s44100"; /* check if the user specified 8K rate */
+ 	else
+ 	{
+ 	  sprintf(opt_rate, "-s%d", timid_ump_rate);
 @@ -230,7 +230,7 @@
    int loop; /* 0 means play only once, non-zero means loop forever */
    

	


>Release-Note:
>Audit-Trail:
>Unformatted:

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?200202141945.g1EJjbs23910>