debian/0000755000000000000000000000000011764373413007177 5ustar debian/compat0000644000000000000000000000000211764373375010404 0ustar 7 debian/gbp.conf0000644000000000000000000000036011764373375010624 0ustar # Configuration file for git-buildpackage and friends [DEFAULT] # the default branch for upstream sources: upstream-branch = upstream # the default branch for the debian patch: debian-branch = master # use pristine-tar: pristine-tar = True debian/dirs0000644000000000000000000000005611764373375010073 0ustar usr/bin usr/share/vmpk usr/share/applications debian/copyright0000644000000000000000000001764311764373375011154 0ustar Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat Packaged-By: Mehdi Dogguy Files: debian/* Files: man/* Copyright: © 2009 Mehdi Dogguy License: GPL-3+ Files: cmake_admin/FindLibXslt.cmake Copyright: © 2006 Alexander Neundorf License: BSD-2 Copyright (c) The Regents of the University of California. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of the University nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Files: src/qticonloader.cpp Files: src/qticonloader.h Copyright: © 2009 Nokia Corporation and/or its subsidiary(-ies). License: GPL-3+ See `/usr/share/common-licenses/GPL-3'. Files: cmake_admin/FindPkgConfig.cmake Copyright: © 2006 Enrico Scholz © 2008-2009 Pedro Lopez-Cabanillas License: BSD-2 Copyright (c) The Regents of the University of California. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of the University nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Files: cmake_admin/FindPkgConfig.cmake Copyright: © 2006 Enrico Scholz License: BSD-2 Copyright (c) The Regents of the University of California. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of the University nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Files: src/instrument.cpp Files: src/instrument.h Files: src/knob.h Files: src/knob.cpp Copyright: © 2005-2009 rncbc aka Rui Nuno Capela © 2008-2009 Pedro Lopez-Cabanillas License: GPL-3+ See `/usr/share/common-licenses/GPL-3'. Files: src/RtMidi.h Files: src/RtMidi.cpp Copyright: © 2003-2009 Gary P. Scavone License: MIT/X11 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. Any person wishing to distribute modifications to the Software is requested to send the modifications to the original developer so that they can be incorporated into the canonical version. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. Files: src/classicstyle.h Files: src/classicstyle.cpp Copyright: © 2003-2006 Chris Cannam © 2005,2008 Pedro Lopez-Cabanillas © 2006 Queen Mary, University of London © 2008-2009 Pedro Lopez-Cabanillas Files: translations/vmpk_tr.ts Copyright: © 2009 Serdar Soytetir License: GPL-3+ Files: data/TheresaKnott_piano.svg Files: data/TheresaKnott_piano.png Files: data/vmpk.icns Files: data/vmpk_16x16.png Files: data/vmpk_32x32.png Files: data/vmpk_48x48.png Files: data/vmpk_64x64.png Files: src/vmpk.ico Copyright: © 2008 Theresa Knott License: PD See `http://openclipart.org/media/files/TheresaKnott/346' Files: * Copyright: © 2008-2009 Pedro Lopez-Cabanillas License: GPL-3+ See `/usr/share/common-licenses/GPL-3'. debian/watch0000644000000000000000000000006111764373375010234 0ustar version=3 http://sf.net/vmpk/vmpk-(.+)\.tar\.gz debian/changelog0000644000000000000000000000604511764373413011056 0ustar vmpk (0.4.0-3) unstable; urgency=low * Revert last change that selected JACK as the RtMIDI backend (Reopens: 629300) (Closes: #663487). * Bump Standards-Version to 3.9.3, no changes needed. * Correctly load saved preferences (Closes: #663513). - add 0002-Correctly-load-saved-preferences.patch -- Mehdi Dogguy Fri, 08 Jun 2012 14:41:21 +0200 vmpk (0.4.0-2) unstable; urgency=low * Add GenericNames entries to .desktop file (Closes: #640993). - add 0001-Add-GenericName-entries-to-.desktop-file.patch * Select JACK for the RtMIDI backend (Closes: #629300). - add libjack-dev in Build-Depends. -- Mehdi Dogguy Tue, 03 Jan 2012 23:25:35 +0100 vmpk (0.4.0-1) unstable; urgency=low * New upstream release. - remove 0001-Fix-to-build-with-ld-no-add-needed.patch * Bump Standards-Version to 3.9.2, no changes needed. * Fix copyright-refers-to-deprecated-bsd-license-file * Fix package-contains-empty-directory usr/share/locale/ * Fix duplicate-changelog-files (changelog.gz vs. ChangeLog.gz) -- Mehdi Dogguy Tue, 03 Jan 2012 23:03:48 +0100 vmpk (0.3.3-1) unstable; urgency=low * New upstream release. * Convert to 3.0 (quilt) source format. * Fix FTBFS with "ld --no-add-needed" (Closes: #615793) -- Mehdi Dogguy Fri, 04 Mar 2011 15:03:41 +0100 vmpk (0.3.2-1) unstable; urgency=low * New upstream release. * Bump Standards Version to 3.9.0. -- Mehdi Dogguy Wed, 07 Jul 2010 17:45:39 +0200 vmpk (0.3.1-1) unstable; urgency=low * New upstream release * Remove 0001-Look-for-xslproc-instead-of-libxslt, integrated upstream. * vmpk is linux specific (Closes: #557899) - Added to p-a-s -- Mehdi Dogguy Mon, 26 Apr 2010 12:44:41 +0200 vmpk (0.3.0-2) unstable; urgency=low * Build-depend on xsltproc, docbook-xsl and docbook-xml to be able to build the manpage and look for xslrproc instead of libxslt in man/CMakeLists.txt: Fixes issues when generating the manpage. - Add a debian/README.source -- Mehdi Dogguy Sun, 01 Nov 2009 14:46:38 +0100 vmpk (0.3.0-1) unstable; urgency=low * New upstream release * Add VCS-* flags * Update debian/copyright * Build-depend on debhelper (7.0.50~) * Bump standards to 3.8.3 * Buil-depend on libx11-dev -- Mehdi Dogguy Sun, 27 Sep 2009 19:40:28 +0200 vmpk (0.2.6-1) unstable; urgency=low * Initial release (Closes: #522884) * New Upstream Version + Remove debian/man: integrated by upstream. + Remove 0001-Do-not-install-doc-packages-in-the-wrong-place.patch which is now integrated upstream. + Remove 0002-data-txt2ins.awk-should-be-executable.patch which also is now fixed upstream. * Bump standards version to 3.8.2 * Update copyright file * Use my Debian address -- Mehdi Dogguy Sun, 06 Sep 2009 15:12:01 +0200 vmpk (0.2.5-1) unstable; urgency=low * Initial packaging -- Mehdi Dogguy Fri, 05 Jun 2009 23:20:54 +0200 debian/patches/0000755000000000000000000000000011764373413010626 5ustar debian/patches/series0000644000000000000000000000014011764373413012036 0ustar 0001-Add-GenericName-entries-to-.desktop-file.patch 0002-Correctly-load-saved-preferences.patch debian/patches/0001-Add-GenericName-entries-to-.desktop-file.patch0000644000000000000000000000067411764373413021630 0ustar From: Mehdi Dogguy Date: Tue, 3 Jan 2012 23:18:19 +0100 Subject: Add GenericName entries to .desktop file --- vmpk.desktop | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vmpk.desktop b/vmpk.desktop index 745e591..6f8ac99 100644 --- a/vmpk.desktop +++ b/vmpk.desktop @@ -1,5 +1,7 @@ [Desktop Entry] Name=VMPK +GenericName=Virtual Piano +GenericName[de]=Virtuelles Piano Exec=vmpk Icon=vmpk Terminal=false -- debian/patches/0002-Correctly-load-saved-preferences.patch0000644000000000000000000000253511764373413020515 0ustar From: Mehdi Dogguy Date: Fri, 8 Jun 2012 14:56:34 +0200 Subject: Correctly load saved preferences Cherry-picked from upstream's SVN repository (r335). --- src/vpiano.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/vpiano.cpp b/src/vpiano.cpp index b100b87..1075451 100644 --- a/src/vpiano.cpp +++ b/src/vpiano.cpp @@ -632,7 +632,10 @@ void VPiano::readSettings() dlgPreferences()->setVelocityColor(velocityColor); ui.actionNoteNames->setChecked(showNames); ui.actionStatusBar->setChecked(showStatusBar); - ui.pianokeybd->setVelocity( velocityColor ? m_velocity : MIDIVELOCITY ); + ui.pianokeybd->setVelocity(velocityColor ? m_velocity : MIDIVELOCITY); + ui.pianokeybd->setTranspose(m_transpose); + ui.pianokeybd->setBaseOctave(m_baseOctave); + ui.pianokeybd->setNumOctaves(num_octaves); slotShowNoteNames(); if (!insFileName.isEmpty()) { dlgPreferences()->setInstrumentsFileName(insFileName); @@ -1339,9 +1342,6 @@ void VPiano::applyPreferences() { ui.pianokeybd->allKeysOff(); - if (ui.pianokeybd->baseOctave() != m_baseOctave) { - ui.pianokeybd->setBaseOctave(m_baseOctave); - } if (ui.pianokeybd->numOctaves() != dlgPreferences()->getNumOctaves()) { ui.pianokeybd->setNumOctaves(dlgPreferences()->getNumOctaves()); } -- debian/docs0000644000000000000000000000002111764373375010052 0ustar NEWS README TODO debian/control0000644000000000000000000000170711764373375010616 0ustar Source: vmpk Section: sound Priority: extra Maintainer: Mehdi Dogguy Build-Depends: debhelper (>= 7.0.50~), cmake, pkg-config, xsltproc, docbook-xsl, docbook-xml, libasound2-dev, libx11-dev, libqt4-dev Standards-Version: 3.9.3 Homepage: http://vmpk.sourceforge.net/ Vcs-Browser: http://git.debian.org/?p=collab-maint/vmpk.git Vcs-Git: git://git.debian.org/git/collab-maint/vmpk.git Package: vmpk Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Recommends: qjackctl, qsynth Description: Virtual MIDI Piano Keyboard Virtual MIDI Piano Keyboard is a MIDI events generator and receiver. It doesn't produce any sound by itself, but can be used to drive a MIDI synthesizer (either hardware or software, internal or external). You can use the computer's keyboard to play MIDI notes, and also the mouse. You can use the Virtual MIDI Piano Keyboard to display the played MIDI notes from another instrument or MIDI file player. debian/rules0000755000000000000000000000044211764373375010266 0ustar #!/usr/bin/make -f # -*- makefile -*- #export DH_VERBOSE=1 export LDFLAGS=-Wl,-z,defs override_dh_auto_configure: cmake . -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_C_FLAGS="$(CFLAGS)" \ -DCMAKE_CXX_FLAGS="$(CXXFLAGS)" \ -DCMAKE_SKIP_RPATH=ON \ -DCMAKE_VERBOSE_MAKEFILE=ON %: dh $@ debian/source/0000755000000000000000000000000011764373375010506 5ustar debian/source/format0000644000000000000000000000001411764373375011714 0ustar 3.0 (quilt)