debian/0000755000000000000000000000000011713561536007176 5ustar debian/compat0000644000000000000000000000000211713526333010370 0ustar 9 debian/patches/0000755000000000000000000000000011713557177010633 5ustar debian/patches/multiarch.patch0000644000000000000000000000377411713556171013650 0ustar Description: Add Multi-Arch support. Author: Alessio Treglia Forwarded: no --- CMakeLists.txt | 2 +- drumstick-alsa.pc.in | 2 +- drumstick-file.pc.in | 2 +- library/CMakeLists.txt | 8 ++++---- 4 files changed, 7 insertions(+), 7 deletions(-) --- libdrumstick.orig/CMakeLists.txt +++ libdrumstick/CMakeLists.txt @@ -161,7 +161,7 @@ CONFIGURE_FILE(drumstick.spec.in drumsti INSTALL( FILES ${CMAKE_CURRENT_BINARY_DIR}/drumstick-file.pc ${CMAKE_CURRENT_BINARY_DIR}/drumstick-alsa.pc - DESTINATION lib${LIB_SUFFIX}/pkgconfig ) + DESTINATION ${LIBDIR}/pkgconfig ) # XML mime types set( SHARED_MIME_INFO_MINIMUM_VERSION "0.30" ) --- libdrumstick.orig/drumstick-alsa.pc.in +++ libdrumstick/drumstick-alsa.pc.in @@ -1,6 +1,6 @@ prefix=@CMAKE_INSTALL_PREFIX@ exec_prefix=${prefix} -libdir=${prefix}/@LIB@ +libdir=${prefix}/@LIBDIR@ includedir=${prefix}/include/drumstick Name: drumstick-alsa --- libdrumstick.orig/drumstick-file.pc.in +++ libdrumstick/drumstick-file.pc.in @@ -1,6 +1,6 @@ prefix=@CMAKE_INSTALL_PREFIX@ exec_prefix=${prefix} -libdir=${prefix}/@LIB@ +libdir=${prefix}/@LIBDIR@ includedir=${prefix}/include/drumstick Name: drumstick-file --- libdrumstick.orig/library/CMakeLists.txt +++ libdrumstick/library/CMakeLists.txt @@ -147,8 +147,8 @@ IF(ALSA_FOUND) INSTALL(TARGETS drumstick-alsa RUNTIME DESTINATION bin - ARCHIVE DESTINATION lib${LIB_SUFFIX} - LIBRARY DESTINATION lib${LIB_SUFFIX}) + ARCHIVE DESTINATION ${LIBDIR} + LIBRARY DESTINATION ${LIBDIR}) INSTALL(FILES ${drumstick-alsa_HEADERS} DESTINATION include/drumstick) INSTALL(FILES include/drumstick.h @@ -157,8 +157,8 @@ ENDIF(ALSA_FOUND) INSTALL(TARGETS drumstick-file RUNTIME DESTINATION bin - ARCHIVE DESTINATION lib${LIB_SUFFIX} - LIBRARY DESTINATION lib${LIB_SUFFIX}) + ARCHIVE DESTINATION ${LIBDIR} + LIBRARY DESTINATION ${LIBDIR}) INSTALL(FILES ${drumstick-file_HEADERS} DESTINATION include/drumstick) debian/patches/series0000644000000000000000000000006611713555125012041 0ustar no-lib-suffix.patch linker-gold.patch multiarch.patch debian/patches/no-lib-suffix.patch0000644000000000000000000000143011713556321014322 0ustar Description: Install in /usr/lib instead of /usr/lib64, even on 64-bit archs Origin: Debian --- CMakeLists.txt | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) --- libdrumstick.orig/CMakeLists.txt +++ libdrumstick/CMakeLists.txt @@ -27,11 +27,8 @@ IF(COMMAND CMAKE_POLICY) CMAKE_POLICY(SET CMP0003 NEW) ENDIF(COMMAND CMAKE_POLICY) -IF(CMAKE_SIZEOF_VOID_P MATCHES "8") - SET(_INIT_LIB_SUFFIX "64") -ELSE(CMAKE_SIZEOF_VOID_P MATCHES "8") - SET(_INIT_LIB_SUFFIX "") -ENDIF(CMAKE_SIZEOF_VOID_P MATCHES "8") +# Debian, unlike the FHS, does not use a '64' suffix like 'lib64' +SET(_INIT_LIB_SUFFIX "") SET(LIB_SUFFIX ${_INIT_LIB_SUFFIX} CACHE STRING "optional library install directory suffix: 32, 64, none") #Comment out if relative paths break the link scripts debian/patches/linker-gold.patch0000644000000000000000000000125111713557014014050 0ustar Description: Fix FTBFS with GNU's gold ld. From: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=615742 --- utils/vpiano/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) --- libdrumstick.orig/utils/vpiano/CMakeLists.txt +++ libdrumstick/utils/vpiano/CMakeLists.txt @@ -7,6 +7,8 @@ SET(vpiano_forms_SRCS QT4_WRAP_UI(vpiano_ui_SRCS ${vpiano_forms_SRCS}) +FIND_PACKAGE(X11) + SET(vpiano_SRCS pianokey.cpp pianokey.h @@ -52,7 +54,7 @@ ADD_EXECUTABLE(drumstick-vpiano TARGET_LINK_LIBRARIES(drumstick-vpiano ${QT_LIBRARIES} ${ALSA_LIBS} - ${QT_X11_X11_LIBRARY} + ${X11_X11_LIB} drumstick-common drumstick-alsa ) debian/libdrumstick0.lintian-overrides0000644000000000000000000000006111713560601015317 0ustar libdrumstick0: package-name-doesnt-match-sonames debian/drumstick-tools.manpages0000644000000000000000000000004211713525242014044 0ustar debian/tmp/usr/share/man/man1/*.1 debian/rules0000755000000000000000000000051111713561343010247 0ustar #!/usr/bin/make -f DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) LDFLAGS+=-Wl,--as-needed %: dh $@ -S cmake override_dh_auto_configure: dh_auto_configure -- -DLIBDIR=lib/$(DEB_HOST_MULTIARCH) override_dh_strip: dh_strip -plibdrumstick0 --dbg-package=libdrumstick-dbg dh_strip --remaining-packages debian/docs0000644000000000000000000000004011713525242010035 0ustar CMakeLists.txt NEWS README TODO debian/control0000644000000000000000000000633111713561353010601 0ustar Source: libdrumstick Section: libs Priority: optional Maintainer: Debian Multimedia Maintainers Uploaders: Alessio Treglia , Adrian Knoth , Arnout Engelen DM-Upload-Allowed: yes Build-Depends: autotools-dev, cmake, debhelper (>= 7.0.50~), docbook-xsl, libasound2-dev, libqt4-dev, libx11-dev, pkg-config, xsltproc Standards-Version: 3.9.2 Homepage: http://drumstick.sourceforge.net/ Vcs-Git: git://git.debian.org/pkg-multimedia/libdrumstick.git Vcs-Browser: http://git.debian.org/?p=pkg-multimedia/libdrumstick.git Package: libdrumstick-dev Section: libdevel Architecture: any Multi-Arch: same Depends: libdrumstick0 (= ${binary:Version}), ${misc:Depends} Description: Qt4/C++ wrapper for ALSA Sequencer - development files This library is a C++ wrapper around the ALSA library sequencer interface, using Qt4 objects, idioms and style. ALSA sequencer provides software support for MIDI technology on Linux. Complementary classes for SMF and WRK file processing are also included. . This package provides the development files. Package: libdrumstick0 Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${misc:Depends}, ${shlibs:Depends} Description: Qt4/C++ wrapper for ALSA Sequencer This library is a C++ wrapper around the ALSA library sequencer interface, using Qt4 objects, idioms and style. ALSA sequencer provides software support for MIDI technology on Linux. Complementary classes for SMF and WRK file processing are also included. Package: libdrumstick-dbg Section: debug Priority: extra Architecture: any Multi-Arch: same Depends: libdrumstick0 (= ${binary:Version}), ${misc:Depends} Description: Qt4/C++ wrapper for ALSA Sequencer - debugging symbols This library is a C++ wrapper around the ALSA library sequencer interface, using Qt4 objects, idioms and style. ALSA sequencer provides software support for MIDI technology on Linux. Complementary classes for SMF and WRK file processing are also included. . This package provides the debugging symbols. Package: drumstick-tools Section: sound Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends} Description: Qt4/C++ wrapper for ALSA Sequencer - utilities This library is a C++ wrapper around the ALSA library sequencer interface, using Qt4 objects, idioms and style. ALSA sequencer provides software support for MIDI technology on Linux. Complementary classes for SMF and WRK file processing are also included. . This package provides utilities shipped with the library: - drumstick-buildsmf: Standard MIDI File creation from scratch. - drumstick-dumpgrid: Simple Qt drum sequencer. - drumstick-dumpmid: Write ALSA MIDI events to STDOUT. - drumstick-dumpsmf: Write MIDI events from a MIDI file to STDOUT. - drumstick-dumpwrk: Write MIDI events from a Cakewalk WRK file to STDOUT. - drumstick-guiplayer: Simple Qt MIDI file player. - drumstick-metronome: Headless MIDI metronome. - drumstick-playsmf: Headless MIDI file player. - drumstick-sysinfo: Display information about ALSA MIDI. - drumstick-timertest: Test performance of the ALSA timer. - drumstick-vpiano: Virtual Piano Keyboard GUI application. debian/drumstick-tools.install0000644000000000000000000000012711713525401013720 0ustar drumstick.xml usr/share/mime/packages usr/bin/* usr/share/applications usr/share/icons debian/drumstick-tools.dirs0000644000000000000000000000001011713525242013205 0ustar usr/bin debian/changelog0000644000000000000000000000274511713561536011060 0ustar libdrumstick (0.5.0-3) unstable; urgency=low [ Adrian Knoth ] * Replace old binutils patch with new one: - The cmake maintainer suggested a different fix, so here's the new approach. For details, see #615742. [ Alessio Treglia ] * Build for Multi-Arch. * Remove missing_libs.patch, superseded by Adrian's new patch. * Refresh patches. * Bump Standards. * Rewrite debian/copyright to comply with DEP-5. * Add override to avoid Lintian's package-name-doesnt-match-sonames warning. * Include in libdrumstick-dbg only symbols coming from libdrumstick0; this avoids installing drumstick-tools when one needs the -DBG just to debug the libraries. -- Alessio Treglia Sun, 05 Feb 2012 21:13:53 +0100 libdrumstick (0.5.0-2) unstable; urgency=low [ Arnout ] * Add Rui Fan as copyright holder to the OVE file format support. [ Alessio Treglia ] * Add patch to prevent FTBFS with newest toolchain (Closes: #615742). -- Alessio Treglia Mon, 28 Feb 2011 12:07:20 +0100 libdrumstick (0.5.0-1) unstable; urgency=low [ Adrian Knoth ] * New upstream release. * Include mime-type definition file. [ Alessio Treglia ] * Add Adrian to the Uploaders list. * Allow DM uploads. -- Adrian Knoth Thu, 09 Sep 2010 14:01:04 +0200 libdrumstick (0.4.1-1) unstable; urgency=low * Initial release (Closes: #579153) -- Arnout Engelen Sat, 04 Sep 2010 17:50:31 +0200 debian/gbp.conf0000644000000000000000000000003611713525313010605 0ustar [DEFAULT] pristine-tar = True debian/libdrumstick-dev.dirs0000644000000000000000000000002411713525242013317 0ustar usr/lib usr/include debian/libdrumstick0.dirs0000644000000000000000000000001011713525242012616 0ustar usr/lib debian/copyright0000644000000000000000000000236611713560264011135 0ustar Format: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=204 Upstream-Name: Drumstick Upstream-Contact: Pedro Lopez-Cabanillas Rui Fan Source: https://sourceforge.net/projects/drumstick/files/ Files: * Copyright: 2006-2010 Pedro Lopez-Cabanillas 2006-2010 Rui Fan (OVE file format support) License: GPL-2+ Files: debian/* Copyright: 2012 Alessio Treglia 2010 Arnout Engelen License: GPL-2+ 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: You should have received a copy of the GNU General Public License along with this program. If not, see . . On Debian systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-2'. debian/libdrumstick-dev.install0000644000000000000000000000006611713530056014031 0ustar usr/include/* usr/lib/*/lib*.so usr/lib/*/pkgconfig/* debian/shlibs.local0000644000000000000000000000011411713525242011464 0ustar liblibdrumstick 0.4.1 libdrumstick (>> 0.4.1-0), libdrumstick (<< 0.4.1-99) debian/source/0000755000000000000000000000000011713525242010470 5ustar debian/source/format0000644000000000000000000000001411713525242011676 0ustar 3.0 (quilt) debian/libdrumstick0.install0000644000000000000000000000002411713530067013331 0ustar usr/lib/*/lib*.so.* debian/watch0000644000000000000000000000007211713525242010220 0ustar version=3 http://sf.net/drumstick/drumstick-(.*)\.tar\.gz