diff options
author | nros <nros@pkgsrc.org> | 2016-04-23 12:32:47 +0000 |
---|---|---|
committer | nros <nros@pkgsrc.org> | 2016-04-23 12:32:47 +0000 |
commit | aee78c41eccc7612425c369e60437d56ec3fec2e (patch) | |
tree | 21ca0acd79d9dac306398e3d86031b756e3da5d9 /audio/qsynth | |
parent | 47a198f119b45151887bc9c22b5590b709cdf4f4 (diff) | |
download | pkgsrc-aee78c41eccc7612425c369e60437d56ec3fec2e.tar.gz |
Updated qsynth to version 0.4.1.
This version depends on qt4 or qt5 instead of qt3.
ChangeLog
0.4.1 2016-04-05 Spring'16 release frenzy.
- Dropped old "Start minimized to system tray" option from setup.
- CMake script lists update (patch by Orcan Ogetbil, thanks).
- Added application keywords to freedesktop.org's AppData.
- System-tray icon context menu has been fixed/hacked to show up
again on Plasma 5 (aka. KDE5) notifications status area.
- Prevent x11extras module from use on non-X11/Unix plaforms.
- Messages standard output capture has been improved in both ways
a non-blocking pipe may get.
- Regression fix for invalid system-tray icon dimensions reported
by some desktop environment frameworks.
0.4.0 2015-09-07 Summer'15 release frenzy.
- Desktop environment session shutdown/logout management has been
also adapted to Qt5 framework.
- Single/unique application instance control adapted to Qt5/X11.
- Output meter scale text color fixed on dark color schemes.
- Prefer Qt5 over Qt4 by default with configure script.
- Complete rewrite of Qt4 vs. Qt5 configure builds.
- A new top-level widget window geometry state save and restore
sub-routine is now in effect.
- Fixed for some strict tests for Qt4 vs. Qt5 configure builds.
- German (de) translation update (by Guido Scholz, thanks).
0.3.9 2015-03-25 Pre-LAC2015 release frenzy.
- Added application description as freedesktop.org's AppData.
- New user preference option on whether to show the nagging
'program will keep running in the system tray' message, on
main window close.
- Application close confirm warning is now raising the main
window as visible and active for due top level display,
especially applicable when minimized to the system tray.
- A man page has been added.
- Translations install directory change.
- Allow the build system to include an user specified LDFLAGS.
- Czech (cs) translation updated (by Pavel Fric, thanks).
0.3.8 2013-12-31 A fifth of a Jubilee.
- More preparations for Qt5 configure build.
- Serbian (sr) translation added (by Jay Alexander Fleming,
thanks).
0.3.7 2013-04-16 Spring cleaning sale.
- New French (fr) translation added (by Yann Collette, thanks).
- Reversed (mouse) scroll-wheel effect on dial knob widgets.
- Preparations for Qt5 migration.
- MIDI bank select mode control added to engine setup dialog
(after a clean patch ticket by Kurt Stephens, thanks).
- Added include <unistd.h> to shut up gcc 4.7 build failures.
- Make(ing) -jN parallel builds now available to the masses
(an awesome patch by kensington, thanks).
- Fixed Makefile.in handling of installation directories to
the configure script eg. --datadir, --localedir.
- Main window is now brought to front and (re)activated when
clicking on the system tray icon instead of just hiding it.
- Debugging stacktrace now applies to all working threads.
0.3.6 2011-04-07 Slip release.
- Main window layout fixing with regard to its user preferred
size and recall when system-tray icon is not enabled.
- Channels list preset items now activated on double-click.
- Desktop environment session shutdown (eg. logout) is now
tapped for graceful application exit, even though the main
window is active (visible) and minimizing to system tray
is enabled. Both were causing first shutdown/logout attempt
to abort. Not anymore, hopefully ;).
- libX11 is now being added explicitly to the build link phase,
as seen necessary on some bleeding-edge distros eg. Fedora 13,
Debian 6.
- General standard dialog buttons layout is now in place.
- CMake build system. It was silently available in 0.3.5, but
now it is officially unveiled.
- Fixed a couple of dangling pointers.
- Mac OSX: Enabled the MIDI name Id option for CoreMIDI driver
ports, added the icon to the app bundle.
0.3.5 2010-04-27 Overdue release.
- Initial widget geometry and visibility persistence logic has
been slightly revised as much to avoid crash failures due to
wrong main widget hidden state.
- General source tree layout and build configuration change.
- Most modal message dialog boxes (eg. critical errors) are now
replaced by system tray icon bubble messages where available.
- Reverb and Chorus parameter ranges have been revised to match
and comply with fluidsynth back-end (libfluidsynth).
- Fluidsynth channel info and unset program interfaces are now in
use where available (libfluidsynth >= 1.1.1).
- Global configuration state is now explicitly saved/committed to
disk when Options dialog changes are accepted and applied.
- Output peak level meters get their long deserved gradient look.
- Automatic crash-dump reports, debugger stack-traces (gdb), back-
traces, whatever, are being introduced as a brand new configure
option (--enable-stacktrace) and default enabled on debug build
targets (--enable-debug).
- Added Czech (cs) translation, contributed by Pavel Fric.
- The channel preset selector (Channels/Edit...) has been seriously
crippled for ages, only showing the presets of the last loaded
soundfont, now fixed.
- Minimum number of MIDI channels allowed on engine setup has been
dropped from the old value 16 to as low as 1 (one), not that it
makes a difference, as (lib)fluidsynth internals just rounds it
to the nearest multiple of 16 anyway.
- Cleanup to knobs source, simplified from redundant stuff.
0.3.4 2009-05-10 New release.
- Command line option parsing has been slightly refactored to allow
custom override through extraordinary fluidsynth option settings
(eg. -o name=value; fixes bug #2781579).
- Main form layout has been given a little bit more slack space, just
to accommodate some longer text label translations (eg. German).
- Converted obsolete QMessageBox forms to standard buttons.
- Saved channel presets are now effectively loaded on engine startup.
- Russian translation added (thanks to Alexandre Prokoudine).
- Grayed/disabled palette color group fix for dark color themes.
- Qt Software logo update.
- Fait-divers: desktop menu file touched to openSUSE conventions.
- Slight optimizations to the output peak meters refresh rate.
- MIDI and audio device names are now user selectable options through
respective drop-down lists on each engine setup dialog.
- New knob style: Skulpture.
0.3.3 2008-07-10 Knobs galore.
- Due to some trouble with newer Qt >= 4.4 applications regarding font
size configuration, a new global user option is now available to the
rescue: Options.../Other/Base font size (default is no-op).
- Knobs: graphic styles are now QStyle derived classes, which are
assigned to the knobs using QWidget::setStyle(). Three styles
are implemented in this way, supporting also the legacy QDial:
* Our former look, tweaked and ported from Sonic Visualiser.
* A port of the new look implemented by David Garcia.
* Another ported widget style, designed by Giuseppe Cigala.
- Spanish translation added.
- Attempt to load Qt's own translation support and get rid of
the ever warning startup message, unless built in debug moderr;
also introducing the very first and complete German translation
(patching transaction by Guido Scholz, thanks).
- Messages file logging makes its first long overdue appearance,
with user configurable settings in Options/Logging.
- Only one application instance is now allowed to be up and running,
with immediate but graceful termination upon startup iif an already
running instance is detected, which will see its main widget shown
up and all engines started automatically (Qt/X11 platform only).
0.3.2 2007-12-19 Minor stealth fixes and season greetings.
- A new option to start the program minimized when the system tray
icon is enabled, is now available from Setup/Misc/Start minimized
to system tray.
- Regression from QSystemTrayIcon (Qt4 >= 4.2) implementation, at
least on X11 environments: while the main application widget was
minimized to the system-tray, closing any other top-level widget
was causing the immediate and unexpected application shutdown.
- Minor corrections on the output peak meter scale aesthetics.
- Tool/child windows position and size preservation fixed.
- Orphaned MIDI device name no longer mistaken when switching
between MIDI drivers on engine setup.
- A bit more of precision is achieved over the output peak meters.
- Messages line limit was not being checked, now honored.
- Simple as it could ever be, the build executive summary report
is now given on configure.
- Get configure to try and detect the correct qmake location and
insert it the search order, so let the qt4 tools take precedence
when --with-qt option is given and older qt3 ones coexist and
are found located ahead in the PATH.
- The infamous "Keep child windows always on top" global option is
now supposed to behave a little better when disabled, layering
child windows as naturally as far the window manager dictates.
- Inspired on Andreas Persson patch, while on qjackctl-devel, which
made it possible to compile and run with older Qt 4.1, similar
arrangements were carried out on qsynth too, without hesitation.
- Main panel spin-boxes gets accelerated when stressed (Qt >= 4.2).
0.3.1 2007-07-16 Shallowed bug-fix release.
- Now using QSystemTrayIcon class facility if available (Qt4 >= 4.2)
making the system-tray option available on most platforms, notably
on Windows and Mac OS X.
- Combo-box setup history has been corrected on restore, which was
discarding the very initial default (factory) contents.
- One programming error has been corrected, which was affecting
the editable preset combo-boxes usability.
- Soundfont context menu is now available again even when the
setup dialog soundfont list is empty.
- About form link is now browseable externally.
- Updated README-OSX (thanks to Ebrahim Mayat again).
0.3.0 2007-07-03 Qt4 migration was complete.
- Qt4 migration has comenced and is now complete. Care must be
taken with this new configuration file and location: this
release starts a new one from scratch and won't reuse any of
the previous existing ones, although cut and paste might help
if you know what you'll be doing :)
- Application icon is now installed to ${prefix}/share/pixmaps;
application desktop entry file is now included in installation;
spec file (RPM) is now a bit more openSUSE compliant; initial
debianization.
- Default font option names were adjusted to "Sans Serif" and
"Monospace", wherever available.
- The "keep child windows always on top" option is not set as
default anymore, because window focus behavior gets tricky
on some desktop environments (eg. Mac OS X, Gnome).
- Autoconf (configure) scripting gets an update.
0.2.6 2007-04-14 Nitpicking season closed :)
- Main panel window now keeps its previous iconic state on system tray,
on application restart (thanks to Chris Cannam for hinting this one).
- Minor optimization in peak level meters update rate. Alternate but
faster inline lroundf() function implementation is now used.
- Most top-level widgets were missing the normal-widget flag, which
were causing some sticky size behavior on some window managers.
- Messages and channels window captions can now be set smaller as
tool-widgets, in effect when child windows are kept always on top.
- While on the engine setup dialog, the ALSA sequencer client identifier
is now also disabled depending on the MIDI input option setting.
- Experimental soundfont loader which prevents RAM image duplication
if more than one engine loads the same soundfont file. Server-mode is
now supported on multi-engine configurations by auto-increnmenting the
shell socket listening port (both patches handed by Dave Searls, thanks).
- Engine name gets through the respective tab title when created. Fixed
engine delete button enabling on the main window.
- Changed deprecated copyright attribute to license, on qsynth.spec (RPM).
- Added configure support for x86_64 libraries (Pedro Lopez-Cabanillas).
- GPL address update.
0.2.5 2006-03-05 Fancy dial knobs and effective bank-offsets.
- New dial-knob behavior now follows mouse pointer angular position,
almost similar to old QDial, but this time avoiding that nasty and
rather abrupt change on first mouse click.
- By simple use of widget subclassing, the value/position of any dial
knob can now be reset to its default or original position at any time,
by simply pressing the mouse mid-button. These default value positions
are just committed to current dial values when switching engines and/or
closing the application.
- Optional specification of alternate fluidsynth installation path
has been added to configure command arguments (--with-fluidsynth).
- After some source code tweaks, a win32 build is now possible.
(instructions will be provided on demand :)
- Bank offset finally gets its due effect, while on the channels and
channel preset selection dialogs. Regretfully, the soundfont bank
offset feature has been lurking ever since its inception, but now
its live and hopefully effective.
- A new fancy widget has arrived, qsynthKnob, with some modifications to
replace the actual *ugly* QDial widgets in the main window. This widget
is based on a design by Thorsten Wilms, formerly implemented by Chris
Cannam in Rosegarden, and finally adapted and brought to Qsynth by
Pedro Lopez-Cabanillas. Thankyou all.
Diffstat (limited to 'audio/qsynth')
-rw-r--r-- | audio/qsynth/Makefile | 25 | ||||
-rw-r--r-- | audio/qsynth/PLIST | 12 | ||||
-rw-r--r-- | audio/qsynth/distinfo | 11 | ||||
-rw-r--r-- | audio/qsynth/options.mk | 22 | ||||
-rw-r--r-- | audio/qsynth/patches/patch-Makefile.in | 20 |
5 files changed, 65 insertions, 25 deletions
diff --git a/audio/qsynth/Makefile b/audio/qsynth/Makefile index 3ba39f49acc..2f0e37e4548 100644 --- a/audio/qsynth/Makefile +++ b/audio/qsynth/Makefile @@ -1,9 +1,9 @@ -# $NetBSD: Makefile,v 1.30 2016/04/20 12:10:30 nros Exp $ +# $NetBSD: Makefile,v 1.31 2016/04/23 12:32:47 nros Exp $ -DISTNAME= qsynth-0.2.4 -PKGREVISION= 21 +DISTNAME= qsynth-0.4.1 CATEGORIES= audio MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=qsynth/} +EXTRACT_USING= bsdtar MAINTAINER= adam@NetBSD.org HOMEPAGE= http://qsynth.sourceforge.net/ @@ -12,26 +12,15 @@ LICENSE= gnu-gpl-v2 USE_LANGUAGES= c c++ USE_LIBTOOL= yes +USE_TOOLS+= gmake GNU_CONFIGURE= yes PTHREAD_AUTO_VARS= yes -# a fix for qt-3.3.5, please remove if qt-3.3.6 (or newer) solves the problem -SUBST_CLASSES+= hints -SUBST_STAGE.hints= post-patch -SUBST_MESSAGE.hints= Fix includehints. -SUBST_FILES.hints= src/*.ui -SUBST_FILTER_CMD.hints= ${GREP} -v includehint - -INSTALLATION_DIRS= bin - -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/qsynth ${DESTDIR}${PREFIX}/bin - ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/icons - ${INSTALL_DATA} ${WRKSRC}/icons/qsynth.png \ - ${DESTDIR}${PREFIX}/share/icons +.include "options.mk" .include "../../audio/fluidsynth/buildlink3.mk" -.include "../../x11/qt3-tools/buildlink3.mk" +.include "../../graphics/hicolor-icon-theme/buildlink3.mk" +.include "../../sysutils/desktop-file-utils/desktopdb.mk" .include "../../mk/pthread.buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/audio/qsynth/PLIST b/audio/qsynth/PLIST index 055df4e3ecd..e3d7e07b341 100644 --- a/audio/qsynth/PLIST +++ b/audio/qsynth/PLIST @@ -1,3 +1,11 @@ -@comment $NetBSD: PLIST,v 1.1.1.1 2005/10/19 15:13:38 adam Exp $ +@comment $NetBSD: PLIST,v 1.2 2016/04/23 12:32:47 nros Exp $ bin/qsynth -share/icons/qsynth.png +man/man1/qsynth.1 +share/appdata/qsynth.appdata.xml +share/applications/qsynth.desktop +share/icons/hicolor/32x32/apps/qsynth.png +share/qsynth/translations/qsynth_cs.qm +share/qsynth/translations/qsynth_de.qm +share/qsynth/translations/qsynth_fr.qm +share/qsynth/translations/qsynth_ru.qm +share/qsynth/translations/qsynth_sr.qm diff --git a/audio/qsynth/distinfo b/audio/qsynth/distinfo index ee2c667b3b9..a4b74fbd762 100644 --- a/audio/qsynth/distinfo +++ b/audio/qsynth/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.2 2015/11/03 01:12:48 agc Exp $ +$NetBSD: distinfo,v 1.3 2016/04/23 12:32:47 nros Exp $ -SHA1 (qsynth-0.2.4.tar.gz) = 280ce73c6f3d3f127dd14201eb190edfb7eabcaf -RMD160 (qsynth-0.2.4.tar.gz) = eb048cb1a8d46cdb4c2ac44a30803f9b2067fa20 -SHA512 (qsynth-0.2.4.tar.gz) = 53ddd605c590e6ee0361a7bf9738ba36abde83bfddbd68e78dfd04b6a58a5a8da71ec07d122f47649288e210f264ffc398b04e181f4fa55ec88772268ee7f7f3 -Size (qsynth-0.2.4.tar.gz) = 127895 bytes +SHA1 (qsynth-0.4.1.tar.gz) = 7b394dab4182136cdd9dd6e314b9976582f0113c +RMD160 (qsynth-0.4.1.tar.gz) = ac79db014c9282fc8735b1c8cb270f7b762d1f45 +SHA512 (qsynth-0.4.1.tar.gz) = 0a4e2dacc9116a9c52a50af39f0838a0c97d0e2f0ba75f8c3f07a219810299c5dd650ad7cd5ba337e497f83537b7cb94a181c9e3a5ba641febe1a0179d6c8620 +Size (qsynth-0.4.1.tar.gz) = 251821 bytes +SHA1 (patch-Makefile.in) = 3f2d0e2883327de7fa0dabb25524287d04552db3 diff --git a/audio/qsynth/options.mk b/audio/qsynth/options.mk new file mode 100644 index 00000000000..075be40f233 --- /dev/null +++ b/audio/qsynth/options.mk @@ -0,0 +1,22 @@ +# $NetBSD: options.mk,v 1.1 2016/04/23 12:32:47 nros Exp $ + +PKG_OPTIONS_VAR= PKG_OPTIONS.qsynth +PKG_OPTIONS_REQUIRED_GROUPS= qt +PKG_OPTIONS_GROUP.qt = qt4 qt5 +PKG_SUGGESTED_OPTIONS= qt4 +.include "../../mk/bsd.options.mk" + +.if !empty(PKG_OPTIONS:Mqt5) +CONFIGURE_ARGS+= --with-qt5=${QTDIR:Q} +.include "../../x11/qt5-qtbase/buildlink3.mk" +.include "../../x11/qt5-qttools/buildlink3.mk" +.if ${OPSYS} != "Darwin" +. include "../../x11/qt5-qtx11extras/buildlink3.mk" +.endif +.endif + +.if !empty(PKG_OPTIONS:Mqt4) +CONFIGURE_ARGS+= --with-qt4=${QTDIR:Q} +.include "../../x11/qt4-libs/buildlink3.mk" +.include "../../x11/qt4-tools/buildlink3.mk" +.endif diff --git a/audio/qsynth/patches/patch-Makefile.in b/audio/qsynth/patches/patch-Makefile.in new file mode 100644 index 00000000000..98fd9c4d9c3 --- /dev/null +++ b/audio/qsynth/patches/patch-Makefile.in @@ -0,0 +1,20 @@ +$NetBSD: patch-Makefile.in,v 1.1 2016/04/23 12:32:47 nros Exp $ +* pkgsrc install does not have -v +--- Makefile.in.orig 2016-04-05 15:57:45.000000000 +0000 ++++ Makefile.in +@@ -104,11 +104,10 @@ translations_lrelease: translations_lupd + + 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 -vf $(DESTDIR)$(mandir)/man1/$(name).1 ++ @$(BSD_INSTALL_DATA_DIR) $(DESTDIR)$(translations_dir) ++ @$(BSD_INSTALL_MAN_DIR) $(DESTDIR)$(mandir)/man1 ++ @$(BSD_INSTALL_DATA) $(translations_targets) $(DESTDIR)$(translations_dir) ++ @$(BSD_INSTALL_MAN) $(name).1 $(DESTDIR)$(mandir)/man1 + + uninstall: $(DESTDIR)$(prefix)/bin/$(name) + @$(MAKE) INSTALL_ROOT=$(DESTDIR) -f $(name).mak uninstall |