Hello community, here is the log from the commit of package pmidi checked in at Wed Mar 28 02:24:22 CEST 2007. -------- --- pmidi/pmidi.changes 2006-01-25 21:40:27.000000000 +0100 +++ /mounts/work_src_done/STABLE/pmidi/pmidi.changes 2007-03-27 17:18:51.000000000 +0200 @@ -1,0 +2,6 @@ +Tue Mar 27 17:17:35 CEST 2007 - tiwai@suse.de + +- build with included glib support, don't use gtk1-compat +- fix the handle of MTS (MIDI Tuning Standard) + +------------------------------------------------------------------- New: ---- pmidi-link-fix.diff pmidi-mts-fix.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pmidi.spec ++++++ --- /var/tmp/diff_new_pack.i30200/_old 2007-03-28 02:24:06.000000000 +0200 +++ /var/tmp/diff_new_pack.i30200/_new 2007-03-28 02:24:06.000000000 +0200 @@ -1,23 +1,25 @@ # # spec file for package pmidi (Version 1.6.0) # -# Copyright (c) 2005 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # -# Please submit bugfixes or comments via http://www.suse.de/feedback/ +# Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: pmidi -BuildRequires: alsa-devel gtk1-compat-devel +BuildRequires: alsa-devel Summary: A Command Line MIDI Player for ALSA Version: 1.6.0 -Release: 81 -License: GPL +Release: 134 +License: GNU General Public License (GPL) Group: Productivity/Multimedia/Sound/Midi Source: pmidi-%{version}.tar.bz2 +Patch: pmidi-mts-fix.diff +Patch1: pmidi-link-fix.diff URL: http://www.parabola.demon.co.uk/alsa/pmidi.html BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -32,15 +34,16 @@ %prep %setup +%patch +%patch1 %{?suse_update_config:%{suse_update_config -f}} %build autoreconf -fi -CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix} --mandir=%{_mandir} +%configure --with-included-glib make %install -[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT make DESTDIR=$RPM_BUILD_ROOT install %clean @@ -52,7 +55,10 @@ %doc AUTHORS COPYING ChangeLog INSTALL NEWS README %doc %{_mandir}/man*/* -%changelog -n pmidi +%changelog +* Tue Mar 27 2007 - tiwai@suse.de +- build with included glib support, don't use gtk1-compat +- fix the handle of MTS (MIDI Tuning Standard) * Wed Jan 25 2006 - mls@suse.de - converted neededforbuild to BuildRequires * Wed Oct 12 2005 - sbrabec@suse.cz ++++++ pmidi-link-fix.diff ++++++ --- src/Makefile.am-dist 2007-03-27 17:15:38.000000000 +0200 +++ src/Makefile.am 2007-03-27 17:15:43.000000000 +0200 @@ -29,7 +29,7 @@ # Link with the following if specified "included GLIB" support # if GLIB -pmidi_LDADD = glib.o @ALSA_LDFLAGS@ +pmidi_LDADD = glib.o @ALSA_LIBS@ else pmidi_LDADD = @ALSA_LIBS@ endif ++++++ pmidi-mts-fix.diff ++++++ --- src/midiread.c.orig 2001-08-17 08:27:09.000000000 +0900 +++ src/midiread.c 2007-03-08 11:36:51.000000000 +0900 @@ -258,9 +258,9 @@ * Do not set the device if the type is 0xf0 as these commands are * not channel specific */ - device = 0; + device = msp->port<<4; if (type != 0xf0) - device = (msp->port<<4) + ch; + device += ch; msp->device = device; el = NULL; ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org