Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Apr 2013 02:50:50 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/178028: audio/qsynth: Update to version 0.3.7
Message-ID:  <20130422025050.350dfa0d704f6a792bc583fd@yahoo.com>
Resent-Message-ID: <201304211810.r3LIA1lk084634@freefall.freebsd.org>

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

>Number:         178028
>Category:       ports
>Synopsis:       audio/qsynth: Update to version 0.3.7
>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:   Sun Apr 21 18:10:01 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.4-RELEASE-p11 i386
>Organization:
>Environment:
>Description:
- version 0.3.7

New file:
files/patch-Makefile.in

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/audio/qsynth/Makefile audio/qsynth/Makefile
--- /usr/ports/audio/qsynth/Makefile	2012-12-01 17:12:38.000000000 +0900
+++ audio/qsynth/Makefile	2013-04-22 02:44:09.000000000 +0900
@@ -2,34 +2,46 @@
 # $FreeBSD: head/audio/qsynth/Makefile 308039 2012-11-30 23:51:30Z sperber $
 
 PORTNAME=	qsynth
-PORTVERSION=	0.3.6
+PORTVERSION=	0.3.7
 CATEGORIES=	audio
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}%20%28stable%29/${PORTVERSION}
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Qt fluidsynth front-end application
 
+LICENSE=	GPLv2 # (or later)
+
 LIB_DEPENDS=	fluidsynth:${PORTSDIR}/audio/fluidsynth
 
-USE_QT4=	gui qmake_build moc_build uic_build rcc_build linguist_build
+OPTIONS_DEFINE=	GRADIENT SYSTEM_TRAY
+OPTIONS_DEFAULT=	GRADIENT SYSTEM_TRAY
+GRADIENT_DESC=		Gradient eye-candy
+SYSTEM_TRAY_DESC=	System-tray icon
+
+USE_QT4=	gui linguist_build moc_build qmake_build rcc_build uic_build
 QT_NONSTANDARD=	yes
 USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	ac_cv_path_ac_moc=${MOC} \
+CONFIGURE_ENV=	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
+CONFIGURE_ARGS=	--localedir=${DATADIR} \
+		--with-qt=${QT_PREFIX} \
+		--with-fluidsynth=${LOCALBASE}
 INSTALLS_ICONS=	yes
-MAKE_JOBS_UNSAFE=yes
+MAKE_JOBS_SAFE=	yes
+
+.include <bsd.port.options.mk>
 
-CPPFLAGS+=	-I${QT_INCDIR} ${PTHREAD_CFLAGS}
-LDFLAGS+=	-L${QT_LIBDIR} ${PTHREAD_LIBS}
+.if empty(PORT_OPTIONS:MGRADIENT)
+CONFIGURE_ARGS+=--disable-gradient
+.endif
 
-post-patch:
-	@${REINPLACE_CMD} -e \
-		's|@make |@$$(MAKE) | ; \
-		 /man1/s|^|#|' ${WRKSRC}/Makefile.in
+.if empty(PORT_OPTIONS:MSYSTEM_TRAY)
+CONFIGURE_ARGS+=--disable-system-tray
+.endif
 
 post-configure:
 	@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${QMAKE} -o qsynth.mak \
diff -urN /usr/ports/audio/qsynth/distinfo audio/qsynth/distinfo
--- /usr/ports/audio/qsynth/distinfo	2012-12-01 17:12:38.000000000 +0900
+++ audio/qsynth/distinfo	2013-04-19 19:06:34.000000000 +0900
@@ -1,2 +1,2 @@
-SHA256 (qsynth-0.3.6.tar.gz) = b5968da98661bac5c9fcc93d3a15851594dfbf3bb7d01ace15fbe8779d53fb3c
-SIZE (qsynth-0.3.6.tar.gz) = 223774
+SHA256 (qsynth-0.3.7.tar.gz) = 5f6c40179285a2be54ecbed4956525d8c2a3e16c6343024e558e22920c5147fe
+SIZE (qsynth-0.3.7.tar.gz) = 243979
diff -urN /usr/ports/audio/qsynth/files/patch-Makefile.in audio/qsynth/files/patch-Makefile.in
--- /usr/ports/audio/qsynth/files/patch-Makefile.in	1970-01-01 09:00:00.000000000 +0900
+++ audio/qsynth/files/patch-Makefile.in	2013-04-19 19:58:08.000000000 +0900
@@ -0,0 +1,18 @@
+--- Makefile.in.orig	2013-02-20 01:37:32.082725000 +0900
++++ Makefile.in	2013-04-19 19:57:44.000000000 +0900
+@@ -60,6 +60,7 @@
+ 	src/qsynthSetupForm.ui
+ 
+ translations_sources = \
++	src/translations/qsynth_cs.ts \
+ 	src/translations/qsynth_de.ts \
+ 	src/translations/qsynth_es.ts \
+ 	src/translations/qsynth_fr.ts \
+@@ -68,6 +69,7 @@
+ translations_targets = \
+ 	src/translations/qsynth_cs.qm \
+ 	src/translations/qsynth_de.qm \
++	src/translations/qsynth_es.qm \
+ 	src/translations/qsynth_fr.qm \
+ 	src/translations/qsynth_ru.qm
+ 
diff -urN /usr/ports/audio/qsynth/pkg-plist audio/qsynth/pkg-plist
--- /usr/ports/audio/qsynth/pkg-plist	2012-12-01 17:12:38.000000000 +0900
+++ audio/qsynth/pkg-plist	2013-04-19 20:02:56.000000000 +0900
@@ -1,8 +1,10 @@
 bin/qsynth
 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
+%%DATADIR%%/qsynth_cs.qm
+%%DATADIR%%/qsynth_de.qm
+%%DATADIR%%/qsynth_es.qm
+%%DATADIR%%/qsynth_fr.qm
+%%DATADIR%%/qsynth_ru.qm
+@dirrm %%DATADIR%%
 @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?20130422025050.350dfa0d704f6a792bc583fd>