Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Sep 2012 02:20:50 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/171967: audio/qsynth: Update to version 0.3.6
Message-ID:  <20120926022050.a1edf87281d3ef222b4e119e@yahoo.com>
Resent-Message-ID: <201209251810.q8PIACjG017500@freefall.freebsd.org>

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

>Number:         171967
>Category:       ports
>Synopsis:       audio/qsynth: Update to version 0.3.6
>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:   Tue Sep 25 18:10:11 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.4-RELEASE-p10 i386
>Organization:
>Environment:
>Description:
- Update to version 0.3.6

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/audio/qsynth/Makefile audio/qsynth/Makefile
--- /usr/ports/audio/qsynth/Makefile	2012-09-24 07:20:55.000000000 +0900
+++ audio/qsynth/Makefile	2012-09-25 21:45:38.000000000 +0900
@@ -2,8 +2,7 @@
 # $FreeBSD: ports/audio/qsynth/Makefile,v 1.14 2012/09/23 22:20:55 tabthorpe Exp $
 
 PORTNAME=	qsynth
-PORTVERSION=	0.3.4
-PORTREVISION=	3
+PORTVERSION=	0.3.6
 CATEGORIES=	audio
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}%20%28stable%29/${PORTVERSION}
 
@@ -12,15 +11,31 @@
 
 LIB_DEPENDS=	fluidsynth:${PORTSDIR}/audio/fluidsynth
 
-GNU_CONFIGURE=	yes
-USE_GMAKE=	yes
 USE_QT4=	gui qmake_build moc_build uic_build rcc_build linguist_build
-CFLAGS+=	-I${QT_INCDIR} ${PTHREAD_CFLAGS} ${PTHREAD_LIBS}
-LDFLAGS+=	-L${QT_LIBDIR}
-CONFIGURE_ARGS+=ac_cv_path_ac_moc=${MOC} ac_cv_path_ac_uic=${UIC} \
+QT_NONSTANDARD=	yes
+USE_GMAKE=	yes
+GNU_CONFIGURE=	yes
+CONFIGURE_ARGS=	ac_cv_path_ac_moc=${MOC} \
+		ac_cv_path_ac_uic=${UIC} \
 		ac_cv_path_ac_qmake=${QMAKE} \
 		ac_cv_path_ac_lupdate=${LOCALBASE}/bin/lupdate-qt4 \
 		ac_cv_path_ac_lrelease=${LOCALBASE}/bin/lrelease-qt4
-MAKE_JOBS_UNSAFE=	yes
+INSTALLS_ICONS=	yes
+MAKE_JOBS_UNSAFE=yes
+
+CPPFLAGS+=	-I${QT_INCDIR} ${PTHREAD_CFLAGS}
+LDFLAGS+=	-L${QT_LIBDIR} ${PTHREAD_LIBS}
+
+post-patch:
+	@${REINPLACE_CMD} -e \
+		's|@make |@$$(MAKE) | ; \
+		 /man1/s|^|#|' ${WRKSRC}/Makefile.in
+
+post-configure:
+	@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${QMAKE} -o qsynth.mak \
+		${QMAKEFLAGS})
+
+post-install:
+	@${STRIP_CMD} ${PREFIX}/bin/qsynth
 
 .include <bsd.port.mk>
diff -urN /usr/ports/audio/qsynth/distinfo audio/qsynth/distinfo
--- /usr/ports/audio/qsynth/distinfo	2011-03-19 21:28:57.000000000 +0900
+++ audio/qsynth/distinfo	2012-09-25 21:05:28.000000000 +0900
@@ -1,2 +1,2 @@
-SHA256 (qsynth-0.3.4.tar.gz) = 87542acdd2d238d60d1fd26a61157fcdd34c1ce667543f564f31fd027ced8b07
-SIZE (qsynth-0.3.4.tar.gz) = 190655
+SHA256 (qsynth-0.3.6.tar.gz) = b5968da98661bac5c9fcc93d3a15851594dfbf3bb7d01ace15fbe8779d53fb3c
+SIZE (qsynth-0.3.6.tar.gz) = 223774
diff -urN /usr/ports/audio/qsynth/files/patch-src-qsynthOptions.cpp audio/qsynth/files/patch-src-qsynthOptions.cpp
--- /usr/ports/audio/qsynth/files/patch-src-qsynthOptions.cpp	2010-01-26 18:25:07.000000000 +0900
+++ audio/qsynth/files/patch-src-qsynthOptions.cpp	2012-09-25 21:29:39.000000000 +0900
@@ -1,6 +1,6 @@
---- 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 
+--- src/qsynthOptions.cpp.orig	2011-03-30 20:53:04.000000000 +0900
++++ src/qsynthOptions.cpp	2012-09-25 21:29:15.000000000 +0900
+@@ -172,11 +172,11 @@
  	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 +
@@ -14,12 +14,12 @@
  	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();
+@@ -477,7 +477,7 @@
+ 	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();
+ 	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 -urN /usr/ports/audio/qsynth/pkg-plist audio/qsynth/pkg-plist
--- /usr/ports/audio/qsynth/pkg-plist	2010-01-26 18:25:06.000000000 +0900
+++ audio/qsynth/pkg-plist	2012-09-25 21:19:58.000000000 +0900
@@ -1,7 +1,8 @@
 bin/qsynth
-share/pixmaps/qsynth.png
 share/applications/qsynth.desktop
+share/locale/qsynth_cs.qm
 share/locale/qsynth_de.qm
 share/locale/qsynth_es.qm
 share/locale/qsynth_ru.qm
+share/icons/hicolor/32x32/apps/qsynth.png
 @dirrmtry share/applications
>Release-Note:
>Audit-Trail:
>Unformatted:



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