Subject: pkg/30330: SDL_mixer can not play midi file
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <ishit@oak.dti.ne.jp>
List: pkgsrc-bugs
Date: 05/25/2005 01:37:00
>Number:         30330
>Category:       pkg
>Synopsis:       SDL_mixer can not play midi file
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed May 25 01:37:00 +0000 2005
>Originator:     ISIHARA Takanori
>Release:        NetBSD 2.0.2
>Organization:
Nagoya *BSD Users' Group
>Environment:
NetBSD ishitPc4.home 2.0.2_STABLE NetBSD 2.0.2_STABLE (GENERIC_LAPTOP.user64) #0: Sat Apr  9 09:38:45 JST 2005  sysbuild@ishitPc4.home:/mnt/sysbuild/i386/obj/sys/arch/i386/compile/GENERIC_LAPTOP.user64 i386

>Description:
* SDL_mixier can not play midi file.
** timidity/config.h modified.
** MESSAGES modified.
* --enable-music-ogg configure option default=yes.
** delete this line at Makefile.

>How-To-Repeat:

>Fix:
Index: MESSAGE
===================================================================
RCS file: /cvsroot/pkgsrc/audio/SDL_mixer/MESSAGE,v
retrieving revision 1.2
diff -u -r1.2 MESSAGE
--- MESSAGE	12 May 2004 18:38:07 -0000	1.2
+++ MESSAGE	25 May 2005 01:28:14 -0000
@@ -2,6 +2,10 @@
 $NetBSD: MESSAGE,v 1.2 2004/05/12 18:38:07 reed Exp $
 
 To make use of the MIDI capabilities in the SDL_mixer package, you
-must install either the audio/eawpatches or audio/guspatches packages.
+must install any of these packages.
+
+	audio/freepats
+	audio/eawpatches
+	audio/guspatches
 
 ===========================================================================
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/audio/SDL_mixer/Makefile,v
retrieving revision 1.21
diff -u -r1.21 Makefile
--- Makefile	11 Apr 2005 21:44:51 -0000	1.21
+++ Makefile	25 May 2005 01:28:14 -0000
@@ -1,7 +1,7 @@
 # $NetBSD: Makefile,v 1.21 2005/04/11 21:44:51 tv Exp $
 
 DISTNAME=	SDL_mixer-1.2.6
-PKGREVISION=	1
+PKGREVISION=	2
 CATEGORIES=	audio
 MASTER_SITES=	http://www.libsdl.org/projects/SDL_mixer/release/
 
@@ -16,7 +16,6 @@
 USE_LIBTOOL=		YES
 USE_X11=		YES
 GNU_CONFIGURE=		YES
-CONFIGURE_ARGS+=        --enable-music-ogg
 
 CPPFLAGS=		-Dunix=1
 CFLAGS=			-DPREFIX="\"${PREFIX}\""
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/audio/SDL_mixer/distinfo,v
retrieving revision 1.6
diff -u -r1.6 distinfo
--- distinfo	23 Feb 2005 20:39:42 -0000	1.6
+++ distinfo	25 May 2005 01:28:14 -0000
@@ -3,4 +3,4 @@
 SHA1 (SDL_mixer-1.2.6.tar.gz) = d8e09d87a750c4bd989f0a3e4f1b6baff601b8f1
 RMD160 (SDL_mixer-1.2.6.tar.gz) = f20e3b7db266d9a0da75f2319dcc403d869907e6
 Size (SDL_mixer-1.2.6.tar.gz) = 1147838 bytes
-SHA1 (patch-aa) = 8f6b53ee69251e666538dfdbaf1ff481c73eb7ef
+SHA1 (patch-aa) = 1b2cd9d37e4fbc4ab9f83a248001ffd9f8cd1a92
Index: patches/patch-aa
===================================================================
RCS file: /cvsroot/pkgsrc/audio/SDL_mixer/patches/patch-aa,v
retrieving revision 1.3
diff -u -r1.3 patch-aa
--- patches/patch-aa	5 Jan 2005 12:20:37 -0000	1.3
+++ patches/patch-aa	25 May 2005 01:28:14 -0000
@@ -7,7 +7,7 @@
  /* You could specify a complete path, e.g. "/etc/timidity.cfg", and
     then specify the library directory in the configuration file. */
 -#define CONFIG_FILE	"timidity.cfg"
-+#define CONFIG_FILE	PREFIX"/share/timidity/timidity.cfg"
++#define CONFIG_FILE	PREFIX"/etc/timidity.cfg"
  #ifdef __WIN32__
  #define DEFAULT_PATH	"\\TIMIDITY"
  #else