Simple update qsynth to 0.9.11. This update need audio/fluidsynth>=2.3.2 (checkout ports@) and runtime tests.
Looking forward to read positive feedback. Cheers Rafael Index: Makefile =================================================================== RCS file: /cvs/ports/audio/qsynth/Makefile,v retrieving revision 1.18 diff -u -p -u -p -r1.18 Makefile --- Makefile 24 Apr 2023 11:40:35 -0000 1.18 +++ Makefile 31 Aug 2023 12:43:42 -0000 @@ -1,7 +1,6 @@ COMMENT = Qt GUI Interface for FluidSynth -DISTNAME = qsynth-0.6.3 -REVISION = 0 +DISTNAME = qsynth-0.9.11 CATEGORIES = audio @@ -14,24 +13,19 @@ PERMIT_PACKAGE = Yes MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=qsynth/} -WANTLIB += ${COMPILER_LIBCXX} Qt5Core Qt5Gui Qt5Widgets c -WANTLIB += m fluidsynth GL Qt5Network curses readline +WANTLIB += ${COMPILER_LIBCXX} GL Qt6Core Qt6Gui Qt6Network Qt6Svg +WANTLIB += Qt6Widgets c fluidsynth m -MODULES = x11/qt5 +MODULES = x11/qt6 \ + devel/cmake -LIB_DEPENDS += audio/fluidsynth +LIB_DEPENDS += audio/fluidsynth>=2.3.2 \ + x11/qt6/qtsvg RUN_DEPENDS += devel/desktop-file-utils \ x11/gtk+4,-guic -USE_GMAKE = Yes NO_TEST = Yes - -CONFIGURE_STYLE = gnu - -CONFIGURE_ENV += CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \ - LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib -L${X11BASE}/lib" \ - ac_cv_path_ac_qmake="${MODQT_QMAKE}" .if ${MACHINE_ARCH} == "hppa" WANTLIB += atomic Index: distinfo =================================================================== RCS file: /cvs/ports/audio/qsynth/distinfo,v retrieving revision 1.11 diff -u -p -u -p -r1.11 distinfo --- distinfo 17 Aug 2020 19:39:40 -0000 1.11 +++ distinfo 31 Aug 2023 12:43:42 -0000 @@ -1,2 +1,2 @@ -SHA256 (qsynth-0.6.3.tar.gz) = G1cz01tLJGedWYEs+aXzFSrAx4BGuh23GHDLfv+tOHY= -SIZE (qsynth-0.6.3.tar.gz) = 382990 +SHA256 (qsynth-0.9.11.tar.gz) = KTMN2e9Sssb+V48k8b2b6IFE6qO6yXxGdtYwkULX7Bs= +SIZE (qsynth-0.9.11.tar.gz) = 333402 Index: patches/patch-Makefile_in =================================================================== RCS file: patches/patch-Makefile_in diff -N patches/patch-Makefile_in --- patches/patch-Makefile_in 11 Mar 2022 18:20:29 -0000 1.3 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,27 +0,0 @@ -Don't compress manpages, also install(1) has no -v option - -Index: Makefile.in ---- Makefile.in.orig -+++ Makefile.in -@@ -109,16 +109,15 @@ translations_lrelease: translations_lupdate $(translat - - install: $(target) translations_lrelease $(name).1 - @$(MAKE) INSTALL_ROOT=$(DESTDIR) -f $(name).mak install -- @install -d -v -m 0755 $(DESTDIR)$(translations_dir) -- @install -d -v -m 0755 $(DESTDIR)$(mandir)/man1 -- @install -v -m 0644 $(translations_targets) $(DESTDIR)$(translations_dir) -- @install -v -m 0644 $(name)*.1 $(DESTDIR)$(mandir)/man1 -- @gzip -nvf $(DESTDIR)$(mandir)/man1/$(name)*.1 -+ @install -d -m 0755 $(DESTDIR)$(translations_dir) -+ @install -d -m 0755 $(DESTDIR)$(mandir)/man1 -+ @install -m 0644 $(translations_targets) $(DESTDIR)$(translations_dir) -+ @install -m 0644 $(name)*.1 $(DESTDIR)$(mandir)/man1 - - uninstall: $(DESTDIR)$(prefix)/bin/$(name) - @$(MAKE) INSTALL_ROOT=$(DESTDIR) -f $(name).mak uninstall - @rm -rvf $(DESTDIR)$(translations_dir) -- @rm -vf $(DESTDIR)$(mandir)/man1/$(name)*.1.gz -+ @rm -vf $(DESTDIR)$(mandir)/man1/$(name)*.1 - - - clean: $(name).mak Index: patches/patch-src_qsynthChannelsForm_cpp =================================================================== RCS file: patches/patch-src_qsynthChannelsForm_cpp diff -N patches/patch-src_qsynthChannelsForm_cpp --- patches/patch-src_qsynthChannelsForm_cpp 11 Mar 2022 18:20:29 -0000 1.3 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,16 +0,0 @@ -Index: src/qsynthChannelsForm.cpp ---- src/qsynthChannelsForm.cpp.orig -+++ src/qsynthChannelsForm.cpp -@@ -281,10 +281,12 @@ void qsynthChannelsForm::updateChannel ( int iChan ) - pItem->setText(QSYNTH_CHANNELS_PROG, - QString::number(iProg)); - pItem->setText(QSYNTH_CHANNELS_NAME, sName); -+ #ifdef CONFIG_FLUID_BANK_OFFSET - pItem->setText(QSYNTH_CHANNELS_SFID, - QString::number(iSFID)); - pItem->setText(QSYNTH_CHANNELS_SFNAME, - QFileInfo(sSFName).baseName()); -+ #endif - // Make this a dirty-operation. - m_iDirtyCount++; - } Index: pkg/PLIST =================================================================== RCS file: /cvs/ports/audio/qsynth/pkg/PLIST,v retrieving revision 1.7 diff -u -p -u -p -r1.7 PLIST --- pkg/PLIST 11 Mar 2022 18:20:29 -0000 1.7 +++ pkg/PLIST 31 Aug 2023 12:43:42 -0000 @@ -1,11 +1,14 @@ @bin bin/qsynth +man/fr/ +man/fr/man1/ +@man man/fr/man1/qsynth.1 @man man/man1/qsynth.1 @comment @man man/man1/qsynth.fr.1 -share/applications/qsynth.desktop -share/icons/hicolor/32x32/apps/qsynth.png -share/icons/hicolor/scalable/apps/qsynth.svg +share/applications/org.rncbc.qsynth.desktop +share/icons/hicolor/32x32/apps/org.rncbc.qsynth.png +share/icons/hicolor/scalable/apps/org.rncbc.qsynth.svg share/metainfo/ -share/metainfo/qsynth.appdata.xml +share/metainfo/org.rncbc.qsynth.metainfo.xml share/qsynth/ share/qsynth/translations/ share/qsynth/translations/qsynth_cs.qm