Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Aug 2009 20:06:42 +0200 (CEST)
From:      Edward Tomasz Napierala <trasz@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        lazyklimm@gmail.com
Subject:   ports/138242: [PATCH] audio/qsynth: update to 0.3.4, fix default MIDI input
Message-ID:  <20090827180642.B9A1539BA3@pin.if.uz.zgora.pl>
Resent-Message-ID: <200908271810.n7RIA1jU044700@freefall.freebsd.org>

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

>Number:         138242
>Category:       ports
>Synopsis:       [PATCH] audio/qsynth: update to 0.3.4, fix default MIDI input
>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:   Thu Aug 27 18:10:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Edward Tomasz Napierala
>Release:        FreeBSD 7.2-STABLE i386
>Organization:
>Environment:
System: FreeBSD pin.if.uz.zgora.pl 7.2-STABLE FreeBSD 7.2-STABLE #0: Sat Jul  4 14:25:46 CEST
>Description:
Update to 0.3.4, change default MIDI input from ALSA to JACK.

Added file(s):
- files/patch-src-qsynthOptions.cpp

Port maintainer (lazyklimm@gmail.com) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- qsynth-0.3.4.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/audio/qsynth/Makefile /home/trasz/qsynth/Makefile
--- /usr/ports/audio/qsynth/Makefile	2009-08-22 02:13:19.000000000 +0200
+++ /home/trasz/qsynth/Makefile	2009-08-27 20:05:08.000000000 +0200
@@ -6,10 +6,9 @@
 #
 
 PORTNAME=	qsynth
-DISTVERSION=	0.3.2
-PORTREVISION=	2
+DISTVERSION=	0.3.4
 CATEGORIES=	audio
-MASTER_SITES=	SF/${PORTNAME}/OldFiles
+MASTER_SITES=	SF/${PORTNAME}
 
 MAINTAINER=	lazyklimm@gmail.com
 COMMENT=	Qt fluidsynth front-end application
@@ -19,10 +18,11 @@
 GNU_CONFIGURE=	yes
 USE_GMAKE=	yes
 USE_QT_VER=	4
-QT_COMPONENTS=	qmake_build moc_build uic_build rcc_build gui xml
+QT_COMPONENTS=	qmake_build moc_build uic_build rcc_build gui xml linguist
 CFLAGS+=	-I${QT_INCDIR} ${PTHREAD_CFLAGS} ${PTHREAD_LIBS}
 LDFLAGS+=	-L${QT_LIBDIR}
 CONFIGURE_ARGS+=ac_cv_path_ac_moc=${LOCALBASE}/bin/moc-qt4 ac_cv_path_ac_uic=${LOCALBASE}/bin/uic-qt4 \
-		ac_cv_path_ac_qmake=${LOCALBASE}/bin/qmake-qt4
+		ac_cv_path_ac_qmake=${LOCALBASE}/bin/qmake-qt4 ac_cv_path_ac_lupdate=${LOCALBASE}/bin/lupdate-qt4 \
+		ac_cv_path_ac_lrelease=${LOCALBASE}/bin/lrelease-qt4
 
 .include <bsd.port.mk>
diff -ruN --exclude=CVS /usr/ports/audio/qsynth/distinfo /home/trasz/qsynth/distinfo
--- /usr/ports/audio/qsynth/distinfo	2007-12-30 12:06:06.000000000 +0100
+++ /home/trasz/qsynth/distinfo	2009-08-27 20:05:09.000000000 +0200
@@ -1,3 +1,3 @@
-MD5 (qsynth-0.3.2.tar.gz) = be744e4898d05d1b2db89875abac10ba
-SHA256 (qsynth-0.3.2.tar.gz) = d747e6a3a1437580416a218df213624c2020a82bb261ac59d7bcfb821146d236
-SIZE (qsynth-0.3.2.tar.gz) = 139129
+MD5 (qsynth-0.3.4.tar.gz) = 800ab77b59c947bd8f1c8bb10545a59d
+SHA256 (qsynth-0.3.4.tar.gz) = 87542acdd2d238d60d1fd26a61157fcdd34c1ce667543f564f31fd027ced8b07
+SIZE (qsynth-0.3.4.tar.gz) = 190655
diff -ruN --exclude=CVS /usr/ports/audio/qsynth/files/patch-src-qsynthOptions.cpp /home/trasz/qsynth/files/patch-src-qsynthOptions.cpp
--- /usr/ports/audio/qsynth/files/patch-src-qsynthOptions.cpp	1970-01-01 01:00:00.000000000 +0100
+++ /home/trasz/qsynth/files/patch-src-qsynthOptions.cpp	2009-08-27 20:05:09.000000000 +0200
@@ -0,0 +1,25 @@
+--- src/qsynthOptions.cpp.orig	2009-08-27 18:35:48.000000000 +0200
++++ src/qsynthOptions.cpp	2009-08-27 18:36:39.000000000 +0200
+@@ -155,11 +155,11 @@ void qsynthOptions::print_usage ( const 
+ 	out << "  -n, --no-midi-in" + sEot +
+ 		QObject::tr("Don't create a midi driver to read MIDI input events [default = yes]") + sEol;
+ 	out << "  -m, --midi-driver=[label]" + sEot +
+-		QObject::tr("The name of the midi driver to use [oss,alsa,alsa_seq,...]") + sEol;
++		QObject::tr("The name of the midi driver to use [jack,oss,...]") + sEol;
+ 	out << "  -K, --midi-channels=[num]" + sEot +
+ 		QObject::tr("The number of midi channels [default = 16]") + sEol;
+ 	out << "  -a, --audio-driver=[label]" + sEot +
+-		QObject::tr("The audio driver [alsa,jack,oss,dsound,...]") + sEol;
++		QObject::tr("The audio driver [jack,oss,dsound,...]") + sEol;
+ 	out << "  -j, --connect-jack-outputs" + sEot +
+ 		QObject::tr("Attempt to connect the jack outputs to the physical ports") + sEol;
+ 	out << "  -L, --audio-channels=[num]" + sEot +
+@@ -459,7 +459,7 @@ void qsynthOptions::loadSetup ( qsynthSe
+     pSetup->iAudioBufSize    = m_settings.value("/AudioBufSize", 512).toInt();
+     pSetup->iAudioBufCount   = m_settings.value("/AudioBufCount", 8).toInt();
+ #else
+-	pSetup->sMidiDriver      = m_settings.value("/MidiDriver", "alsa_seq").toString();
++	pSetup->sMidiDriver      = m_settings.value("/MidiDriver", "jack").toString();
+     pSetup->sAudioDriver     = m_settings.value("/AudioDriver", "jack").toString();
+     pSetup->iAudioBufSize    = m_settings.value("/AudioBufSize", 64).toInt();
+     pSetup->iAudioBufCount   = m_settings.value("/AudioBufCount", 2).toInt();
diff -ruN --exclude=CVS /usr/ports/audio/qsynth/pkg-plist /home/trasz/qsynth/pkg-plist
--- /usr/ports/audio/qsynth/pkg-plist	2007-12-19 14:20:22.000000000 +0100
+++ /home/trasz/qsynth/pkg-plist	2009-08-27 20:05:09.000000000 +0200
@@ -1,4 +1,7 @@
 bin/qsynth
 share/pixmaps/qsynth.png
 share/applications/qsynth.desktop
+share/locale/qsynth_de.qm
+share/locale/qsynth_es.qm
+share/locale/qsynth_ru.qm
 @dirrmtry share/applications
--- qsynth-0.3.4.patch ends here ---

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



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