debian/0000755000000000000000000000000011747726026007202 5ustar debian/compat0000644000000000000000000000000211604540105010360 0ustar 7 debian/patches/0000755000000000000000000000000011747725767010644 5ustar debian/patches/series0000644000000000000000000000013711643124650012035 0ustar 0001-buildsystem.patch 0002-format_not_a_string_letteral.patch 2001-hide_no_lash_warning.patch debian/patches/0002-format_not_a_string_letteral.patch0000644000000000000000000000156111747725755020176 0ustar Description: Fix "format not a string literal and no format arguments" errors. Author: Alessio Treglia Forwarded: no Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=643412 --- src/jack-keyboard.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- jack-keyboard.orig/src/jack-keyboard.c +++ jack-keyboard/src/jack-keyboard.c @@ -256,7 +256,7 @@ warning_async(gpointer s) { const char *str = (const char *)s; - g_warning(str); + g_warning("%s", str); return (FALSE); } @@ -1678,7 +1678,7 @@ log_handler(const gchar *log_domain, GLo if ((log_level | G_LOG_LEVEL_CRITICAL) == G_LOG_LEVEL_CRITICAL) { dialog = gtk_message_dialog_new(GTK_WINDOW(window), GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_ERROR, - GTK_BUTTONS_CLOSE, message); + GTK_BUTTONS_CLOSE, "%s", message); gtk_dialog_run(GTK_DIALOG(dialog)); debian/patches/2001-hide_no_lash_warning.patch0000644000000000000000000000137111747725767016410 0ustar Description: Don't show an error dialog, just print a warning to the stderr. We're going to drop LASH in favor of ladish, so such dialog will be inappropriate. Author: Alessio Treglia Forwarded: no --- src/jack-keyboard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- jack-keyboard.orig/src/jack-keyboard.c +++ jack-keyboard/src/jack-keyboard.c @@ -947,7 +947,7 @@ init_lash(lash_args_t *args) lash_client = lash_init(args, PACKAGE_NAME, LASH_Config_Data_Set, LASH_PROTOCOL(2, 0)); if (!lash_server_connected(lash_client)) { - g_critical("Cannot initialize LASH. Continuing anyway."); + fprintf(stderr, "jack-keyboard: Cannot initialize LASH. Continuing anyway.\n"); /* exit(EX_UNAVAILABLE); */ return; debian/patches/0001-buildsystem.patch0000644000000000000000000000166111606033145014563 0ustar Description: Add -lgthread-2.0 to linking flags. Install manpages into /usr/share/man Author: Alessio Treglia Forwarded: no --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- jack-keyboard.orig/CMakeLists.txt +++ jack-keyboard/CMakeLists.txt @@ -40,7 +40,7 @@ add_executable(jack-keyboard src/jack-ke find_package(GTK2 2.2 REQUIRED gtk) include_directories(${GTK2_INCLUDE_DIRS}) -target_link_libraries(jack-keyboard ${GTK2_LIBRARIES}) +target_link_libraries(jack-keyboard ${GTK2_LIBRARIES} gthread-2.0) if(JackEnable) find_package(JACK) @@ -66,4 +66,4 @@ endif() install(TARGETS jack-keyboard RUNTIME DESTINATION bin) install(FILES pixmaps/jack-keyboard.png DESTINATION share/pixmaps) install(FILES src/jack-keyboard.desktop DESTINATION share/applications) -install(FILES man/jack-keyboard.1 DESTINATION man/man1) +install(FILES man/jack-keyboard.1 DESTINATION share/man/man1) debian/rules0000755000000000000000000000037111606021762010250 0ustar #!/usr/bin/make -f LDFLAGS+=-Wl,--as-needed DEB_INSTALL_CHANGELOGS_ALL = NEWS include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/cmake.mk include /usr/share/cdbs/1/rules/utils.mk DEB_CMAKE_EXTRA_FLAGS += -DLashEnable=NO debian/docs0000644000000000000000000000001411604540105010030 0ustar README TODO debian/control0000644000000000000000000000215311747725501010603 0ustar Source: jack-keyboard Section: sound Priority: optional Maintainer: Debian Multimedia Maintainers Uploaders: Alessio Treglia , Rosea Grammostola Build-Depends: debhelper, dh-buildinfo, cdbs (>= 0.4.69~), devscripts, cmake, libgtk2.0-dev, libjack-dev Standards-Version: 3.9.3 Homepage: http://jack-keyboard.sourceforge.net Vcs-Git: git://git.debian.org/git/pkg-multimedia/jack-keyboard.git Vcs-Browser: http://git.debian.org/?p=pkg-multimedia/jack-keyboard.git Package: jack-keyboard Architecture: any Depends: jackd, ${misc:Depends}, ${shlibs:Depends} Recommends: a2jmidid Suggests: ghostess, qjackctl, whysynth Description: Virtual MIDI keyboard for JACK MIDI JACK keyboard is a program that allows you to send JACK MIDI events (play ;-) using your PC keyboard. It's somewhat similar to vkeybd, except it uses JACK MIDI instead of ALSA, and the default keyboard mapping is much better - it uses the same layout as trackers (like Impulse Tracker) did, so you have two and half octaves under your fingers. debian/changelog0000644000000000000000000000503211747726026011054 0ustar jack-keyboard (2.7.1-1) unstable; urgency=low * New upstream bugfix release. * Refresh patches. * Re-generate debian/control. * Small improvement to package's description. * Update debian/copyright. * debian/watch: - No need to use uupdate when downloading new tarballs as we use git. * Bump Standards. -- Alessio Treglia Tue, 01 May 2012 11:25:37 +0200 jack-keyboard (2.6-2) unstable; urgency=medium * Fix "format not a string literal and no format arguments" errors. (Closes: #643412) -- Alessio Treglia Wed, 05 Oct 2011 21:15:57 +0200 jack-keyboard (2.6-1) unstable; urgency=low * New upstream release. * Switch buildsystem to cmake. * Don't show an error dialog when LASH is not available, just print a warning to stderr. * Remove patches applied upstream. * Add -lgthread-2.0 to linking flags. * Install manpages into /usr/share/man. -- Alessio Treglia Sat, 09 Jul 2011 13:07:35 +0200 jack-keyboard (2.5-3) unstable; urgency=low * Add patch to fix pianola mode (Closes: #625282). Thanks to Dan Muresan for the report and patch! * Rewrite debian/copyright as per DEP-5 proposal. * Drop lash support. * Demote qjackctl to Suggests. * Bump Standards. * Regenerate debian/control file. -- Alessio Treglia Tue, 03 May 2011 12:37:57 +0200 jack-keyboard (2.5-2) unstable; urgency=low [ Rosea Grammostola ] * Add a2jmidid to Recommends. [ Alessio Treglia ] * Add lashd to the Suggests field. * Take patches from upstream's trunk to achieve the following: - 0001-dvorak_layout.patch: + Add Dvorak layout support. - 0002-document_dvorak_support.patch: + Update manual page with information about Dvorak layout. - 0003-midi_programs.patch: + Set MIDI programs number to 127 as per MIDI spec. - 0004-desktop_file.patch: + Fix desktop file as per spec. * debian/patches/1001-manpage_errors.patch: - Escape hyphen character to be used as minus sign. * debian/control.in: - Remove trailing whitespace. - Remove debhelper from Build-Depends field, it is properly adjusted by regenerating debian/control. * Regenerate debian/control. * debian/README.source: - Document how to re-generate debian/control file. -- Alessio Treglia Mon, 24 Jan 2011 13:38:34 +0100 jack-keyboard (2.5-1) unstable; urgency=low * Initial release (Closes: #594487) -- Rosea Grammostola Thu, 26 Aug 2010 13:43:45 +0200 debian/control.in0000644000000000000000000000207011747725446011216 0ustar Source: jack-keyboard Section: sound Priority: optional Maintainer: Debian Multimedia Maintainers Uploaders: Alessio Treglia , Rosea Grammostola Build-Depends: @cdbs@, cmake, libgtk2.0-dev, libjack-dev Standards-Version: 3.9.3 Homepage: http://jack-keyboard.sourceforge.net Vcs-Git: git://git.debian.org/git/pkg-multimedia/jack-keyboard.git Vcs-Browser: http://git.debian.org/?p=pkg-multimedia/jack-keyboard.git Package: jack-keyboard Architecture: any Depends: jackd, ${misc:Depends}, ${shlibs:Depends} Recommends: a2jmidid Suggests: ghostess, qjackctl, whysynth Description: Virtual MIDI keyboard for JACK MIDI JACK keyboard is a program that allows you to send JACK MIDI events (play ;-) using your PC keyboard. It's somewhat similar to vkeybd, except it uses JACK MIDI instead of ALSA, and the default keyboard mapping is much better - it uses the same layout as trackers (like Impulse Tracker) did, so you have two and half octaves under your fingers. debian/gbp.conf0000644000000000000000000000003611747725141010615 0ustar [DEFAULT] pristine-tar = True debian/copyright0000644000000000000000000001167011747725315011142 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: JACK Keyboard Upstream-Contact: Edward Tomasz Napierala Source: https://sourceforge.net/projects/jack-keyboard/files/ Files: * Copyright: 2007, 2008 Edward Tomasz NapieraƂa License: BSD-2-clause Files: aclocal.m4 Copyright: 1996-1997, 2000-2001, 2003, 2005, 1996-2004, 1997, 1999-2001, 2003-2005, 1997, 2000-2001, 2003-2006, 1999-2005, 1999-2006, 2001, 2003, 2005, Free Software Foundation, Inc 2001-2003, 2005 Free Software Foundation, Inc 2002-2003, 2005-2006, Free Software Foundation, Inc 2003, 2005 Free Software Foundation, Inc 2003-2006, Free Software Foundation, Inc 2004, Scott James Remnant 2004-2005, Free Software Foundation, Inc 2006, Free Software Foundation, Inc License: GPL-2+ Files: install-sh Copyright: 1994, X Consortium License: Expat Files: debian/* Copyright: 2011-2012 Alessio Treglia 2010 rosea grammostola License: GPL-3+ License: BSD-2-clause 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. . THIS SOFTWARE IS PROVIDED BY THE AUTHOR 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 AUTHOR 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. License: GPL-2+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Comment: On Debian systems, the complete text of the GNU General Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". . You should have received a copy of the GNU General Public License along with this program. If not, see . License: Expat 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. . 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 X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. License: GPL-3+ This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Comment: On Debian systems, the complete text of the GNU General Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". . You should have received a copy of the GNU General Public License along with this program. If not, see . debian/source/0000755000000000000000000000000011604540105010462 5ustar debian/source/format0000644000000000000000000000001411604540105011670 0ustar 3.0 (quilt) debian/watch0000644000000000000000000000010211747725103010217 0ustar version=3 http://sf.net/jack-keyboard/jack-keyboard-(.+)\.tar\.gz debian/README.source0000644000000000000000000000043211604540105011340 0ustar jack-keyboard for Debian ------------------------ In order to regenerate 'debian/control' : DEB_AUTO_UPDATE_DEBIAN_CONTROL=yes fakeroot debian/rules clean Then check manually if everything's OK. -- Alessio Treglia Mon, 24 Jan 2011 13:38:34 +0100