debian/0000755000000000000000000000000012122613730007163 5ustar debian/patches/0000755000000000000000000000000011552617467010633 5ustar debian/patches/pkgconfig-file.patch0000644000000000000000000000075011526064565014536 0ustar Description: Fix and install pkgconfig file. Author: Benjamin Drung --- a/portSMF.pc.in +++ b/portSMF.pc.in @@ -1,3 +1,5 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ libdir=@libdir@ includedir=@includedir@ --- a/Makefile.am +++ b/Makefile.am @@ -44,3 +44,6 @@ # Documentation files that should be both distributed and installed in the doc # directory, dist_doc_DATA = README.txt license.txt + +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = portSMF.pc debian/patches/libtool-support.patch0000644000000000000000000000135411526064565015031 0ustar Description: Add libtool support for .so file creation. Author: Benjamin Drung --- a/Makefile.am +++ b/Makefile.am @@ -6,10 +6,10 @@ ACLOCAL_AMFLAGS = -I autotools/m4 # define the output library (link with -lportSMF) -lib_LIBRARIES = libportSMF.a +lib_LTLIBRARIES = libportSMF.la # define the source files to use -libportSMF_a_SOURCES = allegro.cpp \ +libportSMF_la_SOURCES = allegro.cpp \ allegrosmfwr.cpp \ allegrord.cpp \ allegrowr.cpp \ --- a/configure.ac +++ b/configure.ac @@ -51,6 +51,8 @@ dnl and ranlib for static libraries AC_PROG_RANLIB +AC_PROG_LIBTOOL + dnl Make the install prefix available to the program so that the pkg-config file dnl can be created correctly AC_PREFIX_DEFAULT(/usr/local) debian/patches/series0000644000000000000000000000011011552617452012032 0ustar libtool-support.patch pkgconfig-file.patch header-in-subdirectory.patch debian/patches/header-in-subdirectory.patch0000644000000000000000000000143711552617467016231 0ustar Description: Put header files into portSMF subdirectory to avoid name clashes. Author: Benjamin Drung Bug-Debian: http://bugs.debian.org/621873 --- a/portSMF.pc.in +++ b/portSMF.pc.in @@ -9,4 +9,4 @@ Version: 0.1 Libs: -L${libdir} -lportSMF @LIBS@ -Cflags: -I${includedir} @CXXFLAGS@ +Cflags: -I${includedir}/portSMF @CXXFLAGS@ --- a/Makefile.am +++ b/Makefile.am @@ -24,7 +24,8 @@ # but that would mean re-organising them here (a subdirectory called portSMF to # keep headers in, add -I$(srcdir)/portSMF/ to AM_CXXFLAGS, change the paths # to the headers here and change the name of the variable to nobase_include_... -include_HEADERS = allegro.h \ +library_includedir = $(includedir)/portSMF +library_include_HEADERS = allegro.h \ mfmidi.h \ strparse.h \ trace.h debian/copyright0000644000000000000000000000267011552620203011122 0ustar Format: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=166 Upstream-Name: Portable Standard Midi File Library Upstream-Contact: Roger B. Dannenberg Source: http://portmedia.sourceforge.net/ Files: * Copyright: 1999-2000, Ross Bencina and Phil Burk 2001-2006, Roger B. Dannenberg License: Expat Files: debian/* Copyright: 2011, Benjamin Drung License: Expat 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 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. debian/gbp.conf0000644000000000000000000000006511526065774010623 0ustar [DEFAULT] compression = bzip2 [git-dch] meta = True debian/control0000644000000000000000000000433212122613427010573 0ustar Source: portsmf Section: libs Priority: optional Maintainer: Debian Multimedia Maintainers Uploaders: Benjamin Drung Build-Depends: debhelper (>= 9), dh-autoreconf Standards-Version: 3.9.4 Homepage: http://portmedia.sourceforge.net/ Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-multimedia/portsmf.git Vcs-Git: git://anonscm.debian.org/pkg-multimedia/portsmf.git Package: libportsmf0 Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${misc:Depends}, ${shlibs:Depends} Description: Portable Standard Midi File Library Portsmf is "Port Standard MIDI File", a cross-platform, C++ library for reading and writing Standard MIDI Files. . Features: . - input and output of Standard MIDI Files - data structures, classes, etc. for representing music data in memory o sequence structure consisting of multiple tracks o track structure consisting of multiple events o events contain note and control data o extensible attribute-value property lists o tempo track and time signature representation - input and output of a text-based representation: Allegro files - extensive editing operations on sequences and tracks - conversion to/from binary buffers for archiving, undo/redo, etc. Package: libportsmf-dev Section: libdevel Architecture: any Multi-Arch: same Depends: libportsmf0 (= ${binary:Version}), ${misc:Depends} Description: Portable Standard Midi File Library (development files) Portsmf is "Port Standard MIDI File", a cross-platform, C++ library for reading and writing Standard MIDI Files. . Features: . - input and output of Standard MIDI Files - data structures, classes, etc. for representing music data in memory o sequence structure consisting of multiple tracks o track structure consisting of multiple events o events contain note and control data o extensible attribute-value property lists o tempo track and time signature representation - input and output of a text-based representation: Allegro files - extensive editing operations on sequences and tracks - conversion to/from binary buffers for archiving, undo/redo, etc. . This package contains the development files. debian/source/0000755000000000000000000000000011526065145010473 5ustar debian/source/format0000644000000000000000000000001411526064565011706 0ustar 3.0 (quilt) debian/rules0000755000000000000000000000112012122612623010235 0ustar #!/usr/bin/make -f %: dh $@ --with autoreconf DEB_SOURCE := $(shell dpkg-parsechangelog | sed -n 's/^Source: //p') UPSTREAM_VERSION := $(shell dpkg-parsechangelog | sed -n 's/^Version: //p' | sed 's/-[^-]*$$//') DIR := $(DEB_SOURCE)-$(UPSTREAM_VERSION) DATE := $(shell echo $(UPSTREAM_VERSION) | sed 's/^.*svn//') get-orig-source: rm -rf /tmp/$(DIR) svn export -r {$(DATE)} https://portmedia.svn.sourceforge.net/svnroot/portmedia/portsmf/trunk /tmp/$(DIR) fromdos $(shell find /tmp/$(DIR) -type f) tar -c -C /tmp $(DIR) | bzip2 -c9 > ../$(DEB_SOURCE)_$(UPSTREAM_VERSION).orig.tar.bz2 debian/libportsmf0.install0000644000000000000000000000003312122612056013010 0ustar usr/lib/*/libportSMF.so.0* debian/compat0000644000000000000000000000000212122611020010347 0ustar 9 debian/libportsmf-dev.install0000644000000000000000000000021212122612623013503 0ustar usr/include usr/lib/*/libportSMF.a usr/lib/*/libportSMF.so usr/lib/*/pkgconfig usr/share/doc/portsmf/README.txt usr/share/doc/portsmf-dev debian/changelog0000644000000000000000000000171012122613530011032 0ustar portsmf (0.1~svn20101010-4) unstable; urgency=low * Switch to debhelper 9 and enable multi-arch. * Use canonical URLs for Vcs fields. * Bump Standards-Version to 3.9.4 (no changes needed). -- Benjamin Drung Thu, 21 Mar 2013 15:17:21 +0100 portsmf (0.1~svn20101010-3) unstable; urgency=low * Drop libportsmf0 symbols file again due to different symbols on different architectures. -- Benjamin Drung Mon, 18 Apr 2011 00:37:08 +0200 portsmf (0.1~svn20101010-2) unstable; urgency=low * Put header files into portSMF subdirectory to avoid name clashes. (Closes: #621873) * Bump Standards-Version to 3.9.2 (no changes required). * Add symbols file to libportsmf0. -- Benjamin Drung Sun, 17 Apr 2011 19:30:55 +0200 portsmf (0.1~svn20101010-1) unstable; urgency=low * Initial release (Closes: #613306). -- Benjamin Drung Mon, 14 Feb 2011 00:29:44 +0100 debian/watch0000644000000000000000000000013411526064565010227 0ustar #version=3 # The source tarball has not yet been released. Use debian/rules get-orig-source