debian/0000755000000000000000000000000012255354524007175 5ustar debian/libsdl-mixer1.2.lintian-overrides0000644000000000000000000000010611745607023015364 0ustar libsdl-mixer1.2: package-name-doesnt-match-sonames libSDL-mixer-1.2-0 debian/source/0000755000000000000000000000000011706304064010467 5ustar debian/source/format0000644000000000000000000000001411706304064011675 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000006352212255354363011060 0ustar sdl-mixer1.2 (1.2.12-10) unstable; urgency=medium * Bump Policy Standards-Version to 3.9.5 (no changes needed) * Regenerate with dh_autoreconf without using upstream's autogen.sh * debian/patches: - Disable bug-694260-freedink_stack_corruption.patch, it is not fixing #694260 while introducing new problems (Closes: #726912) * Build-depend on libsmpeg-dev even if not using it, to avoid having to use possibly obsolete local smpeg.m4 file -- Manuel A. Fernandez Montecelo Sat, 21 Dec 2013 18:07:43 +0000 sdl-mixer1.2 (1.2.12-9) unstable; urgency=low * Modify bug-715461-soundfont_paths.patch again to delete memory allocated dynamically, otherwise it leaks memory when Mix_Init() is called repeatedly (not the normal way in which the library is used, but it happens for example with test cases in libsdl-perl, see #718129 and #715461). Thanks Fabian Greffrath for keeping track of this and suggesting the new fix. -- Manuel A. Fernandez Montecelo Wed, 09 Oct 2013 19:22:03 +0100 sdl-mixer1.2 (1.2.12-8) unstable; urgency=low * Modify bug-715461-soundfont_paths.patch to add a string as dynamic memory, and so bug-718129-rm-bad-free.patch is unnecessary (removed). -- Manuel A. Fernandez Montecelo Mon, 12 Aug 2013 00:08:29 +0100 sdl-mixer1.2 (1.2.12-7) unstable; urgency=low * Team upload. * Added patch to remove bad call to SDL_free that triggered test failure and FTBS for libsdl-perl (Closes: #718129) -- Dominique Dumont Wed, 07 Aug 2013 19:16:25 +0200 sdl-mixer1.2 (1.2.12-6) unstable; urgency=low * MIDI enhancements (Thanks Fabian Greffrath for the reports and the fixes): - Add the "--disable-music-fluidsynth-shared" parameter to ./configure so the library is linked to libfluidsynth instead of loaded through dlopen() at runtime (Closes: #715447). - Add patch bug-715461-soundfont_paths.patch and depend on "sf2" sound fonts to have good MIDI sounds by default (Closes: #715461). -- Manuel A. Fernandez Montecelo Thu, 11 Jul 2013 12:17:15 +0100 sdl-mixer1.2 (1.2.12-5) unstable; urgency=low * Adding patch (bug-694260-freedink_stack_corruption.patch) backported from upstream, to protect against stack corruption when midi file has more than 16 channels (Closes: #694260). Thanks Bas Wijnen for the report and analysis. * Recommend midi patch set (Closes: #700375). Thanks Fabian Greffrath. -- Manuel A. Fernandez Montecelo Sun, 09 Jun 2013 16:41:16 +0100 sdl-mixer1.2 (1.2.12-4) unstable; urgency=low * Bump Policy Standards-Version to 3.9.4 (no changes needed) * Add package -dbg with debugging information * Remove field "DM-Upload-Allowed: yes", obsolete * Change maintainer address -- Manuel A. Fernandez Montecelo Wed, 08 May 2013 23:33:19 +0100 sdl-mixer1.2 (1.2.12-3) unstable; urgency=low * Bring back the unnecessary dependencies previously dropped by Felix Geyer, only present in experimental. This solution is preferred for the time being, rather than start branching because of this kind of changes. We submitted bugs and provided experimental packages well before the freeze in order to help maintainers to fix the problems, but most packages depending and relying on this one to include these dependencies were not fixed in time. Dependencies will be removed for good just after Wheezy is released. * Added patches: - bug-688369-double_free_crash.patch: Backport patch from upstream to fix crash caused by freeing the same memory region twice. Thanks Philipp Klaus Krause for reporting and pointing to the fix (Closes: #688369). -- Manuel A. Fernandez Montecelo Sun, 23 Sep 2012 15:00:38 +0100 sdl-mixer1.2 (1.2.12-3~exp1) experimental; urgency=low [ Felix Geyer ] * Drop unnecessary dependencies of libsdl-mixer1.2-dev [ Manuel A. Fernandez Montecelo ] * Upload to experimental, so people can check if their packages continue to build with the removed dependencies -- Manuel A. Fernandez Montecelo Wed, 09 May 2012 17:53:36 +0100 sdl-mixer1.2 (1.2.12-2) unstable; urgency=low * Bump Policy Standards-Version to 3.9.3 (no changes needed) * Build-Depends on debhelper>=9~, quells lintian warning "package-needs-versioned-debhelper-build-depends 9" * Build-Depends and Depends on SDL with added ~ to the version number, in order to allow to work with backported/local versions * Adding lintian overrides for the slightly different names "libsdl-mixer1.2" and "libSDL-mixer-1.2-0" -- the package names are not going to change by now for the 1.2 series * Update debian/copyright format now that 1.0 is approved (quells lintian unversioned-copyright-format-uri) -- Manuel A. Fernandez Montecelo Tue, 01 May 2012 20:21:27 +0100 sdl-mixer1.2 (1.2.12-1) unstable; urgency=low * New upsteam release - debian/copyright: Switch from LGPL to zlib/libpng license, and better document timidity (which is under 3 licenses, but primarily Artistic) - Native MIDI code removed upstream, making some bug reports not applicable now (Closes: #298982 #526908) - Incorporates patch to fix bug "timidity MIDI playback plays drums that should be musical notes" (Closes: #575575). Thanks Matthew W. Miller for the patch. - Supports fluidsynth and modplug, add to dependencies * Removed patches obsolete now (because of the removal of Native GPL MIDI code) - 03_awe_voice.patch - 06_dev_snd_seq.patch * Removed patches picked from/incorporated upstream: - 00_link_libm_hgdb31b63abab9.patch: "link libm with sdl-mixer" - 07_FLAC_SDL_RWops_memory_leaks.patch: "Fix memory leaks with FLAC" * Documented and refreshed the remaining patches: - 01_no_lvorbis_logg.patch - 02_hurd.patch - 04_timidity_cfg_opts.patch - 05_fallback_to_freepats.patch -- Manuel A. Fernandez Montecelo Fri, 20 Jan 2012 23:08:15 +0000 sdl-mixer1.2 (1.2.11-7) unstable; urgency=low * Improve description and reorganise a bit the control file * Use "Multi-Arch: same" also for the -dev package, following the change in sdl-net1.2 at revision 1.2.7-5 -- Manuel A. Fernandez Montecelo Wed, 21 Dec 2011 19:06:12 +0000 sdl-mixer1.2 (1.2.11-6) unstable; urgency=low [ Felix Geyer ] * Switch to debhelper compat level v9. - Build for multiarch. [ Manuel A. Fernandez Montecelo ] * Correct watch file, the previous one was detecting versions wrongly * Quell lintian warnings: - binary-control-field-duplicates-source (remove field from binary package libsdl-mixer1.2) - unused-license-paragraph-in-dep5-copyright (remove GPL-2 paragraph) -- Manuel A. Fernandez Montecelo Mon, 19 Dec 2011 00:04:34 +0000 sdl-mixer1.2 (1.2.11-5) unstable; urgency=low [ Felix Geyer ] * Fix Vcs-Browser link. [ Manuel A. Fernandez Montecelo ] * debian/rules: - Issue "disable-*-shared" flags for 'configure' again, otherwise SDL_mixer library opens those libraries in a plugin-like way (with SDL_LoadObject), and dpkg-shlibdeps doesn't seem to generate the needed dependencies in the binary library package. -- Manuel A. Fernandez Montecelo Sun, 04 Dec 2011 12:59:09 +0000 sdl-mixer1.2 (1.2.11-4) unstable; urgency=low * Upload to unstable * Improvements in debian/rules: - Remove support for setting some autoconf options directly, newer debhelper takes care of this - Using dpkg-buildflags's options as base, and hardening on top, before preferred flags * Modifications to dependencies and build options: - Depending on newer dpkg-dev (quells lintian warning when using build hardening flags) - Removed Conflict-like dependencies (Breaks, Replaces) on libsdl-mixer{,1.0,1.1}-dev. They are more than 10 years old and not present in any of the last Debian releases, long unsupported. - Use libmad (GPL) instead of unmaintained smpeg (LGPL) for mp3 support - Stating more explicitly in debian/rules the options that we use to build the project - Drop --disable-shared options for the different plugins. I couldn't find any reason for or against in the changelog, and the default is to enable this support. * Bump Standards-Version to 3.9.2 (no changes needed) * Remove previous Uploaders, all of them not active for years * Removed duplicated entry in previous version's changelog: - "debian/copyright: updated and converted to DEP-5 (dod)" -- Manuel A. Fernandez Montecelo Sat, 03 Dec 2011 16:42:24 +0000 sdl-mixer1.2 (1.2.11-3) experimental; urgency=low * New upstream release (Closes: #568445 #600467) * New maintainer - Add myself to uploaders, and setting DM-Upload-Allowed: yes * Incorporating changes from different sources, unreleased - Changing "Closes" lines to "Closes_in_1.2.11-3" * Changed debhelper compat to level 8 (level 5 before): - Updated dependency on debhelper to (>= 8.0.0) - Removed dependency on quilt - Simplify a lot debian/rules file by leveraging debhelper capabilities, only acting when deviating from auto behaviour * Added 'source/format', with '3.0 (quilt)' - Consequently, removed README.source * Added 'watch' file * Added Vcs-Git and Vcs-Browser in 'control' file * Shipping pkg-config files * Added FLAC support * Updated dependencies: - libsdl1.2-dev (>= 1.2.14) -- was (>= 1.2.4) - libsmpeg-dev (>= 0.4.5+cvs20030824-2.2) -- was (>= 0.4.5+cvs20030824-1.3) - libogg-dev (>= 1.2.0) -- was none - libvorbis-dev (>= 1.2.0) -- was (>= 1.0.0-3) - libmikmod2-dev (>= 3.1.11) -- was none - libflac-dev (>= 1.2.1) -- was none * Patches dropped: - 220_mixer_segfaults.diff (applied upstream) - 200_channel_segfaults.diff (now libmikmod ships in a zip, and it uses system's one anyway) - 00_mikmod_syslibs.patch (seemed to be related to remove tests in SDL_mixer of mikmod versions, probably this restriction is not applicable now, and it's safer to know what's SDL_mixer opinion about it anyway) - 00_link-libm.patch (substituted from another one from upstream) - 01_autoreconf.patch and 01_relibtoolize.patch (handled with dh_autoreconf) - 230_racecondition_hg884a700fb3ff.diff (applied upstream) * Patches added: - 00_link_libm_hgdb31b63abab9.patch (backport from upstream, grabbed by Roman Vasiyarov on #600467, 1.2.11-2 UNRELEASED) - 07_FLAC_SDL_RWops_memory_leaks.patch (Jon Dowland , 1.2.11-1 UNRELEASED) * Patches renamed: - 00_no_lvorbis_logg.diff -> 01_no_lvorbis_logg.patch - 04_timidity_cfg_opts.diff -> 04_timidity_cfg_opts.patch - 05_fallback_to_freepats.diff -> 05_fallback_to_freepats.patch - 210_dev_snd_seq.patch -> 06_dev_snd_seq.patch * All patches refreshed * debian/copyright: updated and converted to DEP-5 (dod) -- Manuel A. Fernandez Montecelo Wed, 30 Nov 2011 10:39:07 +0100 sdl-mixer1.2 (1.2.8-6.4) unstable; urgency=low * Non-maintainer upload. * Stop shipping la file. Closes: #633326. -- Regis Boudin Sat, 24 Sep 2011 16:55:30 +0100 sdl-mixer1.2 (1.2.8-6.3) unstable; urgency=low * Non-maintainer upload. * *really* upload to unstable. -- Jon Dowland Sat, 11 Dec 2010 09:11:33 +0000 sdl-mixer1.2 (1.2.8-6.2) experimental; urgency=low * Non-maintainer upload. * Upload to unstable. -- Jon Dowland Fri, 10 Dec 2010 22:55:16 +0000 sdl-mixer1.2 (1.2.8-6.1) experimental; urgency=low * Non-maintainer upload. * Backport a fix for a race condition in positional effects. Closes: #605504. -- Jon Dowland Wed, 08 Dec 2010 20:07:08 +0000 sdl-mixer1.2 (1.2.8-6) unstable; urgency=low [ Barry deFreese ] * Add myself to uploaders. * 04_timidity_cfg_opts.diff - (Closes: #398805). + Ignore unknown options in timidity.cfg. + Thanks to Brandon Barnes for the patch. * 05_fallback_to_freepats.diff - (Closes: #453308). + Use freepats config if timidity isn't present. + Thanks to Fabian Greffrath for the patch. * Bump debhelper build-dep and compat to 5. * Bump Standards Version to 3.8.1. + Move Homepage from package description to source stanza. -- Barry deFreese Fri, 22 May 2009 10:33:13 -0400 sdl-mixer1.2 (1.2.8-5) unstable; urgency=low * debian/README.source: + New file. * debian/control + Standards-version is 3.8.0. * debian/copyright: + Add a copyright entry. * 220_mixer_segfaults.diff: + New patch from upstream to fix a crash when the mixer is closed and reopened (Closes: bug#502006, bug#480569). -- Aurelien Jarno Sun, 12 Oct 2008 19:30:42 +0200 sdl-mixer1.2 (1.2.8-4) unstable; urgency=low * debian/rules: + Properly link the library with -lvorbisfile and -lsmpeg instead of dynamically opening them at runtime. * 00_no_lvorbis_logg.diff: + New patch. Do not uselessly link with -lvorbis -logg. -- Sam Hocevar (Debian packages) Wed, 21 May 2008 11:54:21 +0000 sdl-mixer1.2 (1.2.8-3) unstable; urgency=low * debian/control: + libsdl-mixer1.2-dev: on libmikmod-dev. -- Aurelien Jarno Fri, 04 Jan 2008 10:49:21 +0100 sdl-mixer1.2 (1.2.8-2) unstable; urgency=low * debian/rules: + Fix build with dpkg-buildpackage -j. + Pass --enable-music-libmikmod to the configure script to enable external libmikmod (Closes: #428348). * debian/control: + Standards-version is 3.7.3 (no changes). -- Aurelien Jarno Wed, 02 Jan 2008 15:27:33 +0100 sdl-mixer1.2 (1.2.8-1) unstable; urgency=low * New upstream release (Closes: #437004). * Use quilt instead of CDBS. * debian/control: + Cleaned up the uploaders field. * debian/patches/00_correct_linking.patch: + This patch is now irrelevant. Dropped. * debian/patches/00_maintainer_mode.patch: + Upstream no longer uses automake. Dropped. * debian/patches/03_awe_voice.patch: + Use the local awe_voice.h file because nothing guarantees its presence. * debian/patches/200_channel_segfaults.diff: + Fix a nasty corruption bug when loading songs with varying number of channels (Closes: #422021). Patch courtesy of Brandon Barnes. * debian/patches/210_dev_snd_seq.diff: + Autodetect /dev/sequencer or /dev/snd/seq depending on the system (Closes: #437793). * debian/patches/timidity_cfg.patch: + Patch implemented upstream. Dropped. -- Sam Hocevar (Debian packages) Sun, 07 Oct 2007 22:52:58 +0200 sdl-mixer1.2 (1.2.6-3) unstable; urgency=low [ Aurelien Jarno ] * debian/rules: + change DEB_CONFIGURE_SCRIPT_ENV += LDFLAGS= into LDFLAGS+= + prepend -Wl,-z,defs before --as-needed in LDFLAGS + don't remove acinclude.m4 in the clean rule (closes: bug#413656, bug#424268, bug#422522). * debian/control: + depends on cdbs (>= 0.4.41) + depends on autotools-dev (closes: bug#413655). * patches/00_link-libm.patch: + new patch from Loïc Minier to link against libm (closes: bug#413662). * patches/01_relibtoolize.patch: + update * patches/02_hurd.patch: + new patch from Samuel Thibault to fix FTBFS on Hurd (closes: bug#428892). * patches/03_awe_voice.patch: + new patch to fix FTBFS with linux-libc-dev (>= 2.6.22) (closes: bug#434303). -- Aurelien Jarno Tue, 31 Jul 2007 14:16:36 +0200 sdl-mixer1.2 (1.2.6-2) unstable; urgency=low [Josselin Mouette] * rules: link with -Bsymbolic to avoid symbol name conflicts and with --as-needed to reduce indirect dependencies. * Build-depend on libmikmod-dev to use the system's libmikmod. [ Aurelien Jarno ] * Package now maintained by the SDL team (closes: bug#393108). * debian/control: + Make the package binNMU safe. + Bump Standards-Version to 3.7.2 (no changes). * Acknowledge NMU (closes: #320370). -- Aurelien Jarno Mon, 5 Mar 2007 22:16:56 +0100 sdl-mixer1.2 (1.2.6-1) unstable; urgency=low * New upstream release (closes: #286339). * timidity_cfg.patch: contains patch from 1.2.5-9. * 00_correct_linking.patch: contains the patch for correctly linking playwave and playmus. * 00_maintainer_mode.patch: adds AM_MAINTAINER_MODE to configure.in. * 00_mikmod_syslibs.patch: add libmikmod to SYSTEM_LIBS, not to LIBS. * 01_relibtoolize.patch: the result of libtoolize --force --copy ; aclocal ; automake --force-missing --add-missing --foreign --copy ; autoconf ; rm -rf autom4te.cache with the previous patches applied. * copyright: use "License" instead of "Copyright" (closes: #290200). * Disable libmikmod for now. * rules: add a relibtoolize target. -- Josselin Mouette Sat, 22 Jan 2005 04:38:44 +0100 sdl-mixer1.2 (1.2.5-9) unstable; urgency=low * timidity/config.h: new location for timidity configuration file (closes: #268567). -- Josselin Mouette Tue, 21 Sep 2004 11:46:42 +0200 sdl-mixer1.2 (1.2.5-8) unstable; urgency=low * Makefile.am: only export Mix_.* symbols, to avoid namespace pollution. Yes Sam, that's for you. * Re-run libtoolize --force --copy ; aclocal-1.7 ; automake-1.7 --force-missing --add-missing --foreign --copy ; autoconf ; rm -rf autom4te.cache. * debian/rules: remove acinclude.m4 in clean target. -- Josselin Mouette Wed, 4 Aug 2004 02:35:42 +0200 sdl-mixer1.2 (1.2.5-7) unstable; urgency=low * native_midi_gpl/native_midi_gpl.c: patch from Andreas Jochens to build sdl-mixer with GCC 3.4 (closes: #259834). -- Josselin Mouette Sat, 17 Jul 2004 11:53:30 +0200 sdl-mixer1.2 (1.2.5-6) unstable; urgency=low * debian/control: Require debhelper 4.1 for cdbs. * mikmod/mikmod{,_internals}.h: Fix from Hans-Frieder Vogt for distorted sound on AMD64. -- Josselin Mouette Sat, 10 Jul 2004 07:55:02 +0200 sdl-mixer1.2 (1.2.5-5) unstable; urgency=low * timidity/config.h: look for configuration file in /etc/timidity.cfg (closes: #235238). -- Josselin Mouette Sat, 28 Feb 2004 12:19:03 +0100 sdl-mixer1.2 (1.2.5-4) unstable; urgency=low * Enable timidity again (closes: #222861). -- Josselin Mouette Fri, 20 Feb 2004 12:06:36 +0100 sdl-mixer1.2 (1.2.5-3) unstable; urgency=low * debian/control: + Standards-version is 3.6.1 (no changes). + Don't recommend timidity anymore (closes: #213300). + Section for libsdl-mixer1.2-dev is libdevel. + Build-depend on cdbs. + Remove build-deps on libtool, automake, autoconf. * debian/rules: + Rewrite using cdbs. + Enable native midi (closes: #200735). + Disable timidity, it is not in the distribution anymore. * debian/README.Debian: removed. * debian/compat: new file. * Run libtoolize --force --copy ; aclocal-1.7 ; automake-1.7 --force-missing --add-missing --foreign --copy ; autoconf * Now ship patches to autotools stuff instead of regenerating them. * debian/shlibs.local: removed. * debian/copyright: document that the native midi support is now licensed under the LGPL. -- Josselin Mouette Sun, 26 Oct 2003 13:07:35 +0100 sdl-mixer1.2 (1.2.5-2) unstable; urgency=low * Corrected build dependencies. -- Josselin Mouette Sun, 16 Mar 2003 10:46:40 +0100 sdl-mixer1.2 (1.2.5-1) unstable; urgency=low * New upstream release. * Build against libvorbis0a by build-depending on version 1.0.0-3 (closes: #184712, #184716). * Removed dependencies on xlibs-dev. * Build-depend on debhelper 4.0.4 (closes: #182550). * shlibs.local: removed svgalib, added SDL. * */Makefile.am: don't link sublibs with anything anymore, this should remove unuseful dependencies on libstdc++ and xlibs (closes: #183282). * Makefile.am: SDL_LIBS_FOR_LIBS seems to be deprecated. * configure.in: use AM_MAINTAINER_MODE. * Cleanup in debian/rules. -- Josselin Mouette Sat, 15 Mar 2003 13:48:55 +0100 sdl-mixer1.2 (1.2.4-3) unstable; urgency=low * debian/rules: use dh_install. * debian/control: standards version 3.5.8. * mixer.c, Makefile.am, load_ogg.c, load_ogg.h: stolen from CVS; patch from Vaclav Slavik to support OGG Vorbis samples (closes: #171604). -- Josselin Mouette Tue, 3 Dec 2002 21:37:29 +0100 sdl-mixer1.2 (1.2.4-2) unstable; urgency=low * New maintainer. * Acknowledge Christopher's changes (closes: #154680, #154714). * Lots of cleanings in debian/rules, use debhelper mode 4. * Follow policy version 3.5.7. * Update upstream URL and add it in description. * Run libtoolize and so on at build time, instead of using gross hacks (closes: #168175). It will reduce the diff size and be more easy to maintain. * Removed debian/patches. -- Josselin Mouette Tue, 12 Nov 2002 14:26:48 +0100 sdl-mixer1.2 (1.2.4-1.1) unstable; urgency=low * NMU to fix breakage caused by libvorbis0 split. (closes: #154680, #154714) -- Christopher L Cheney Tue, 30 Jul 2002 00:00:00 -0500 sdl-mixer1.2 (1.2.4-1) unstable; urgency=low * new upstream version -- Christian T. Steigies Tue, 21 May 2002 22:01:00 -0400 sdl-mixer1.2 (1.2.3-1) unstable; urgency=low * new upstream version * build-depend new SDL 1.2.4 * edit acinclude.m4 and configure.in * re-ran libtoolize --force --copy; aclocal; automake --foreign; autoconf -- Christian T. Steigies Tue, 23 Apr 2002 21:45:48 -0400 sdl-mixer1.2 (1.2.1-5) unstable; urgency=low * do not build-depend on aalib1-dev (closes: #143047) -- Christian T. Steigies Mon, 15 Apr 2002 14:22:31 -0400 sdl-mixer1.2 (1.2.1-4) unstable; urgency=low * Ok, I've had enough. To make it build on slower arches as well we now build-conflict with aclocal, autoconf, automake * "missing" has to be executable -- Christian T. Steigies Sat, 13 Apr 2002 22:57:58 -0400 sdl-mixer1.2 (1.2.1-3) unstable; urgency=low * libsdl-mixer1.2-dev should depend on -dev packages (closes: #142733, #142739 ) -- Christian T. Steigies Sat, 13 Apr 2002 19:22:56 -0400 sdl-mixer1.2 (1.2.1-2.2) unstable; urgency=low * NMU * built against smpeg 0.4.4-7 * Makefile.am: remove occurrences of @SDL_LIBS.*@; these are handled by @SMPEG_LIBS.*@ * re-ran libtoolize --force --copy; aclocal; automake --foreign; autoconf * debian/control: updated versioned Build-Depends to libsmpeg-dev (>= 0.4.4-7) -- Branden Robinson Mon, 14 Jan 2002 01:00:58 -0500 sdl-mixer1.2 (1.2.1-2.1) unstable; urgency=low * NMU per maintainer's request * built against libsdl1.2-dev 1.2.2-3.3 and libsmpeg-dev 0.4.4-5 * acinclude.m4: remove AC_DEFUNs for AM_PATH_SDL and AM_PATH_SMPEG so that the ones installed on the system (patched by Debian for static X extension library and SDL plugin support) are used * configure.in: remove LIBS from enable_music_mp3 test, because this should be $SMPEG_LIBS for the executables in this package and $SMPEG_LIBS_FOR_LIBS for the libraries; the proper linkage is hauled in by @SMPEG_LIBS@ and @SMPEG_LIBS_FOR_LIBS@ in Makefile.am anyway, so this bit of code seems redundant, and causes compile problems if left enabled * re-ran libtoolize --force --copy; aclocal; automake --foreign; autoconf * debian/control: - updated versioned Build-Depends to libsdl1.2-dev (>= 1.2.2-3.3) and libsmpeg-dev (>= 0.4.4-5) - updated versioned Depends of libsdl-mixer1.2-dev to libsdl1.2-dev (>= 1.2.2-3.3) -- Branden Robinson Mon, 7 Jan 2002 00:32:46 -0500 sdl-mixer1.2 (1.2.1-2) unstable; urgency=low * set timidity default path to "/etc/" (closes: #126651) -- Christian T. Steigies Thu, 27 Dec 2001 17:01:03 -0500 sdl-mixer1.2 (1.2.1-1) unstable; urgency=low * new upstream version * tried to add Branden's fixes again in Makefile.am, aclocal.m4 and configure.in * re-ran libtoolize --force --copy; aclocal; automake --foreign; autoconf -- Christian T. Steigies Tue, 18 Dec 2001 21:22:33 -0500 sdl-mixer1.2 (1.2.0-2) unstable; urgency=low * fix section in control file, libsdl-mixer1.2 goes in libs, -dev in devel * Build-Depends on xlibs-dev, not xlib6g-dev (closes: #114584) -- Christian T. Steigies Mon, 12 Nov 2001 21:07:15 -0500 sdl-mixer1.2 (1.2.0-1.1) unstable; urgency=low * NMU to fix the Big SDL and X Extension Library Problem (Closes: #115054) * built against libsdl1.2 1.2.2-3.1 and smpeg 0.4.4-2.1 * Thanks to Eric Gillespie, Jr. and Jeff Licquia for help preparing this solution * timidity/config.h: incorporate one-line patch to make "/etc" the DEFAULT_PATH * {,mikmod/,timidity/}Makefile.am: - add @SMPEG_LIBS@ @SDL_LIBS@ to _LDADD targets - add @SMPEG_LIBS_FOR_LIBS@ @SDL_LIBS_FOR_LIBS@ to _LIBADD targets * acinclude.m4: deleted * configure.in: - remove SDL_LIBS line - don't define CFLAGS or LIBS here * re-ran libtoolize --copy --force; aclocal; automake --foreign; autoconf * debian/control: - bumped Standards-Version (lintian-clean) - versioned Build-Depends on libsdl1.2-dev (>= 1.2.2-3.1) - libsdl-mixer1.2-dev Depends on libsdl1.2-dev (>= 1.2.2-3.1) - versioned Build-Depends on libsmpeg-dev (>= 0.4.4-2.1) * debian/postinst: only invoke ldconfig if $1 is "configure" -- Branden Robinson Tue, 9 Oct 2001 16:50:07 -0500 sdl-mixer1.2 (1.2.0-1) unstable; urgency=low * sdl-mixer for SDL1.2. Initial Release. (closes: #94453) -- Christian T. Steigies Fri, 20 Apr 2001 15:19:03 -0400 debian/watch0000644000000000000000000000013011706304064010212 0ustar version=3 http://www.libsdl.org/projects/SDL_mixer/release/SDL_mixer-([\d\.]+)\.tar\..* debian/control0000644000000000000000000000545412255353737010615 0ustar Source: sdl-mixer1.2 Section: libs Priority: optional Maintainer: Debian SDL packages maintainers Uploaders: Manuel A. Fernandez Montecelo Standards-Version: 3.9.5 Build-Depends: debhelper (>= 9~), dh-autoreconf, dpkg-dev (>= 1.16.1~), libflac-dev (>= 1.2.1), libfluidsynth-dev (>= 1.1.1), libmad0-dev (>= 0.15.1b), libmodplug-dev (>= 1:0.8.8), libmikmod2-dev (>= 3.1.11), libogg-dev (>= 1.2.0), libsdl1.2-dev (>= 1.2.14~), libsmpeg-dev, libtool, libvorbis-dev (>= 1.2.0) Homepage: http://www.libsdl.org/projects/SDL_mixer/ Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-sdl/packages/sdl-mixer1.2.git Vcs-Git: git://anonscm.debian.org/pkg-sdl/packages/sdl-mixer1.2.git Package: libsdl-mixer1.2 Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Recommends: musescore-soundfont-gm | fluid-soundfont-gm | freepats Description: Mixer library for Simple DirectMedia Layer 1.2, libraries SDL_mixer is a sample multi-channel audio mixer library. It supports any number of simultaneously playing channels of 16 bit stereo audio, plus a single channel of music, mixed by the popular FLAC, MikMod MOD, Timidity MIDI, Ogg Vorbis, and SMPEG MP3 libraries. . This package contains the shared library. Package: libsdl-mixer1.2-dbg Section: debug Architecture: any Multi-Arch: same Priority: extra Depends: ${misc:Depends}, libsdl-mixer1.2 (= ${binary:Version}) Description: Mixer library for Simple DirectMedia Layer 1.2, debugging SDL_mixer is a sample multi-channel audio mixer library. It supports any number of simultaneously playing channels of 16 bit stereo audio, plus a single channel of music, mixed by the popular FLAC, MikMod MOD, Timidity MIDI, Ogg Vorbis, and SMPEG MP3 libraries. . This package contains the debugging information for the shared library. Package: libsdl-mixer1.2-dev Section: libdevel Architecture: any Multi-Arch: same Depends: ${misc:Depends}, libsdl-mixer1.2 (= ${binary:Version}), libflac-dev (>= 1.2.1), libmad0-dev (>= 0.15.1b), libmikmod2-dev (>= 3.1.11), libogg-dev (>= 1.2.0), libsdl1.2-dev (>= 1.2.14~), libvorbis-dev (>= 1.2.0) Description: Mixer library for Simple DirectMedia Layer 1.2, development files SDL_mixer is a sample multi-channel audio mixer library. It supports any number of simultaneously playing channels of 16 bit stereo audio, plus a single channel of music, mixed by the popular FLAC, MikMod MOD, Timidity MIDI, Ogg Vorbis, and SMPEG MP3 libraries. . This package contains the development files. debian/libsdl-mixer1.2-dev.examples0000644000000000000000000000004511706304064014316 0ustar debian/Makefile playmus.c playwave.c debian/rules0000755000000000000000000000364012255353121010250 0ustar #!/usr/bin/make -f #export DH_VERBOSE=1 export DEB_CFLAGS_MAINT_APPEND := -pipe -Wall # bug #715461, provide default soundfont paths export DEB_CPPFLAGS_MAINT_APPEND := -DMIX_INIT_SOUNDFONT_PATHS=\"/usr/share/sounds/sf2/TimGM6mb.sf2:/usr/share/sounds/sf2/FluidR3_GM.sf2\" export DEB_LDFLAGS_MAINT_APPEND := -Wl,--no-undefined -Wl,-Bsymbolic -Wl,--as-needed # enable external music player confflags = --enable-music-cmd # explicitly enable/disable all supported sound, using libmad instead of # libsmpeg for mp3 (it's much more popular, and smpeg is unmaintained) confflags += --enable-music-wave confflags += --enable-music-mod confflags += --enable-music-ogg confflags += --enable-music-mod confflags += --disable-music-mp3 confflags += --enable-music-mp3-mad-gpl # Explicitly state what we use confflags += --enable-music-timidity-midi confflags += --enable-music-native-midi # mafm 20111203: removed the "disable shared" support from previous versions, I # couldn't find any reason for it in the changelog # # mafm 20111204: issue "disable-*-shared" flags for 'configure' again, otherwise # SDL_mixer library opens those libraries in a plugin-like way (with # SDL_LoadObject), and dpkg-shlibdeps doesn't seem to generate the needed # dependencies in the binary library package confflags += --disable-music-mod-shared confflags += --disable-music-ogg-shared confflags += --disable-music-mp3-shared confflags += --disable-music-flac-shared confflags += --disable-music-fluidsynth-shared %: dh $@ --with autoreconf --parallel autoreconf: autoreconf -f -i cp -fav /usr/share/misc/config.guess /usr/share/misc/config.sub build-scripts/ override_dh_autoreconf: AUTOMAKE="automake --foreign" dh_autoreconf --as-needed debian/rules -- autoreconf override_dh_auto_configure: dh_auto_configure -- $(confflags) override_dh_installchangelogs: dh_installchangelogs -- CHANGES override_dh_strip: dh_strip --dbg-package=libsdl-mixer1.2-dbg debian/Makefile0000644000000000000000000000044611706304064010633 0ustar # Makefile for playmus and playwave CC = gcc CFLAGS = -Wall -O LIBS = -I/usr/include/SDL -lSDL_mixer EXE = playmus playwave all: $(EXE) playmus: playmus.c Makefile $(CC) -o $@ $@.c $(CFLAGS) $(LIBS) playwave: playwave.c Makefile $(CC) -o $@ $@.c $(CFLAGS) $(LIBS) clean: -rm *.o $(EXE) debian/compat0000644000000000000000000000000211706304064010365 0ustar 9 debian/libsdl-mixer1.2-dev.install0000644000000000000000000000012711706304064014147 0ustar usr/include/SDL usr/lib/*/libSDL_mixer.a usr/lib/*/libSDL_mixer.so usr/lib/*/pkgconfig debian/libsdl-mixer1.2.docs0000644000000000000000000000000711706304064012652 0ustar README debian/copyright0000644000000000000000000000722212002600354011114 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: SDL_mixer Upstream-Contact: Sam Lantinga Stephane Peter Ryan Gordon Source: http://www.libsdl.org/projects/SDL_mixer/ Files: * Copyright: 1997-2012 Sam Lantinga License: zlib/libpng Files: native_midi/* Copyright: 2000,2001 Florian 'Proff' Schulze 2001 Max Horn License: zlib/libpng Files: native_midi/native_midi_macosx.c Copyright: 2009 Ryan C. Gordon License: zlib/libpng Files: native_midi/native_midi_haiku.cpp Copyright: 2010 Egor Suvorov License: zlib/libpng Files: timidity/* Copyright: 1995 Tuukka Toivonen License: Artistic or GPL-2+ or LGPL-2.1+ Comment: From README From http://www.cgs.fi/~tt/discontinued.html : . If you'd like to continue hacking on TiMidity, feel free. I'm hereby extending the TiMidity license agreement: you can now select the most convenient license for your needs from (1) the GNU GPL, (2) the GNU LGPL, or (3) the Perl Artistic License. Files: debian/* Copyright: 2011-2012, Manuel A. Fernandez Montecelo 2011, Roman Vasiyarov 2010, Jon Dowland 2009, Barry deFreese 2007-2008, Aurelien Jarno 2007-2008, Sam Hocevar (Debian packages) 2002-2007, Josselin Mouette 2001, Christian T. Steigies 2001, Branden Robinson License: LGPL-2.1+ License: zlib/libpng This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. . Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: . 1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution. 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; version 2 dated June, 1991, or (at your option) any later version. . On Debian systems, the complete text of version 2 of the GNU General Public License can be found in '/usr/share/common-licenses/GPL-2'. License: LGPL-2.1+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. . On Debian systems, the complete text of version 2.1 of the GNU Lesser Public License can be found in '/usr/share/common-licenses/LGPL-2.1'. License: Artistic This program is free software; you can redistribute it and/or modify it under the terms of the Perl Artistic License, available in COPYING. . On Debian systems, the complete text of version 2.1 of the Artistic License can be found in '/usr/share/common-licenses/Artistic'. debian/libsdl-mixer1.2.install0000644000000000000000000000004011706304064013365 0ustar usr/lib/*/libSDL_mixer-1.2.so.* debian/patches/0000755000000000000000000000000012255351003010611 5ustar debian/patches/bug-694260-freedink_stack_corruption.patch0000644000000000000000000000234112155120511020412 0ustar # HG changeset patch # User Sam Lantinga # Date 1370738137 25200 # Node ID 0ff9b7b8ba7bb3eb8d15915dc405f161a3d3fde6 # Parent 669ddc9b26fb253bd529b38f2d6b149353ce8708 Fixed bug 1905 - Stack smashing when playing midi file manuel.montezelo I am forwarding this bug from Debian's bug tracking system. It is difficult to summarise the whole thread, but basically Freedink (a game using SDL) aborts when trying to play a midi file due to stack smashing protection functions, GCC fortifying options. There is more information, including backtraces with files and lines where this is triggered, midi files and instructions on how to reproduce. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=694260 diff -r 669ddc9b26fb -r 0ff9b7b8ba7b timidity/readmidi.c --- a/timidity/readmidi.c Fri Jun 07 21:52:34 2013 -0700 +++ b/timidity/readmidi.c Sat Jun 08 17:35:37 2013 -0700 @@ -673,7 +673,9 @@ meep->event.time, meep->event.channel + 1, meep->event.type, meep->event.a, meep->event.b); - if (meep->event.type==ME_TEMPO) + if (meep->event.channel >= MAXCHAN) + skip_this_event=1; + else if (meep->event.type==ME_TEMPO) { tempo= meep->event.channel + meep->event.b * 256 + meep->event.a * 65536; debian/patches/04_timidity_cfg_opts.patch0000644000000000000000000000073711706317023015670 0ustar Description: Ignore unknown options in timidity.cfg Introduced in 1.2.8-6 (Fri, 22 May 2009 10:33:13 -0400). Author: Brandon Barnes Last-Update: 2012-01-20 Bug-Debian: http://bugs.debian.org/398805 --- a/timidity/timidity.c +++ b/timidity/timidity.c @@ -153,7 +153,7 @@ { ctl->cmsg(CMSG_ERROR, VERB_NORMAL, "%s: line %d: syntax error\n", name, line); - return -2; + continue; } i=atoi(w[0]); if (i<0 || i>127) debian/patches/02_hurd.patch0000644000000000000000000000300711706336403013104 0ustar Description: Fix FTBFS on Hurd Introduced in 1.2.6-3 (Tue, 31 Jul 2007 14:16:36 +0200). Author: Samuel Thibault Last-Update: 2012-01-20 Bug-Debian: http://bugs.debian.org/428892 --- a/music_cmd.c +++ b/music_cmd.c @@ -53,10 +53,8 @@ Mix_SetError("Out of memory"); return(NULL); } - strncpy(music->file, file, (sizeof music->file)-1); - music->file[(sizeof music->file)-1] = '\0'; - strncpy(music->cmd, cmd, (sizeof music->cmd)-1); - music->cmd[(sizeof music->cmd)-1] = '\0'; + music->file = strdup(file); + music->cmd = strdup(cmd); music->pid = 0; /* We're done */ @@ -155,7 +153,7 @@ /* Child process - executes here */ case 0: { - char command[PATH_MAX]; + char *command; char **argv; /* Unblock signals in case we're called from a thread */ @@ -166,11 +164,12 @@ } /* Execute the command */ - strcpy(command, music->cmd); + command = strdup(music->cmd); argv = parse_args(command, music->file); if ( argv != NULL ) { execvp(argv[0], argv); } + SDL_free(command); /* exec() failed */ perror(argv[0]); @@ -219,6 +218,8 @@ /* Close the given music stream */ void MusicCMD_FreeSong(MusicCMD *music) { + SDL_free(music->file); + SDL_free(music->cmd); SDL_free(music); } --- a/music_cmd.h +++ b/music_cmd.h @@ -30,8 +30,8 @@ # include #endif typedef struct { - char file[PATH_MAX]; - char cmd[PATH_MAX]; + char *file; + char *cmd; pid_t pid; } MusicCMD; debian/patches/05_fallback_to_freepats.patch0000644000000000000000000000172111706317277016310 0ustar Description: If timidity.cfg is not present, please try to load freepats.cfg Introduced in 1.2.8-6 (Fri, 22 May 2009 10:33:13 -0400). Author: Fabian Greffrath Last-Update: 2012-01-20 Bug-Debian: http://bugs.debian.org/453308 --- a/timidity/config.h +++ b/timidity/config.h @@ -162,6 +162,7 @@ then specify the library directory in the configuration file. */ #define CONFIG_FILE "timidity.cfg" #define CONFIG_FILE_ETC "/etc/timidity.cfg" +#define CONFIG_FILE_ETC_TIMIDITY_FREEPATS "/etc/timidity/freepats.cfg" #if defined(__WIN32__) || defined(__OS2__) #define DEFAULT_PATH "C:\\TIMIDITY" --- a/timidity/timidity.c +++ b/timidity/timidity.c @@ -286,7 +286,9 @@ if (!env || read_config_file(env)<0) { if (read_config_file(CONFIG_FILE)<0) { if (read_config_file(CONFIG_FILE_ETC)<0) { - return(-1); + if (read_config_file(CONFIG_FILE_ETC_TIMIDITY_FREEPATS)<0) { + return(-1); + } } } } debian/patches/series0000644000000000000000000000032012255351003012021 0ustar #bug-694260-freedink_stack_corruption.patch 01_no_lvorbis_logg.patch 02_hurd.patch 04_timidity_cfg_opts.patch 05_fallback_to_freepats.patch bug-688369-double_free_crash.patch bug-715461-soundfont_paths.patch debian/patches/bug-715461-soundfont_paths.patch0000644000000000000000000000217312225316765016410 0ustar Description: no sf2 sound fonts loaded by default Introduced in 1.2.12-6 (Thu, 11 Jul 2013 12:17:15 +0100) Author: Fabian Greffrath Last-Update: 2013-10-09 Bug-Debian: http://bugs.debian.org/715461 --- a/mixer.c +++ b/mixer.c @@ -148,6 +148,11 @@ { int result = 0; +#ifdef MIX_INIT_SOUNDFONT_PATHS + if (!soundfont_paths) + soundfont_paths = SDL_strdup(MIX_INIT_SOUNDFONT_PATHS); +#endif + if (flags & MIX_INIT_FLUIDSYNTH) { #ifdef USE_FLUIDSYNTH_MIDI if ((initialized & MIX_INIT_FLUIDSYNTH) || Mix_InitFluidSynth() == 0) { --- a/music.c +++ b/music.c @@ -1567,6 +1567,7 @@ { char *context, *path, *paths; const char* cpaths = Mix_GetSoundFonts(); + int soundfonts_found = 0; if (!cpaths) { Mix_SetError("No SoundFonts have been requested"); @@ -1586,12 +1587,16 @@ for (path = strtok_r(paths, ":;", &context); path; path = strtok_r(NULL, ":;", &context)) { #endif if (!function(path, data)) { - SDL_free(paths); - return 0; + continue; + } else { + soundfonts_found++; } } SDL_free(paths); - return 1; + if (soundfonts_found > 0) + return 1; + else + return 0; } #endif debian/patches/bug-688369-double_free_crash.patch0000644000000000000000000000170212027607543016637 0ustar Description: Fix crash on double free if loading WAV file failed Backported from upstream: # HG changeset patch # User Sam Lantinga # Date 1329087437 18000 # Node ID 2d713670db9b832b0c5aa700824900bc1fc3c3cd # Parent df72f22b4b411ad4b08f924329678aabd5ac97d6 Fixed 1418 - crash on double free if loading WAV file failed Author: Sam Lantinga Last-Update: 2012-09-23 Bug-Debian: http://bugs.debian.org/688369 diff -r df72f22b4b41 -r 2d713670db9b mixer.c --- a/mixer.c Mon Jan 30 21:41:45 2012 -0500 +++ b/mixer.c Sun Feb 12 17:57:17 2012 -0500 @@ -610,13 +610,15 @@ break; default: SDL_SetError("Unrecognized sound file type"); - return(0); + if ( freesrc ) { + SDL_RWclose(src); + } + loaded = NULL; + break; } if ( !loaded ) { + /* The individual loaders have closed src if needed */ SDL_free(chunk); - if ( freesrc ) { - SDL_RWclose(src); - } return(NULL); } debian/patches/01_no_lvorbis_logg.patch0000644000000000000000000000215611706316231015326 0ustar Description: Do not uselessly link with -lvorbis -logg. Introduced in 1.2.8-4 (Wed, 21 May 2008 11:54:21 +0000). . Not linked with a bug report. Author: Sam Hocevar Last-Update: 2012-01-20 --- a/configure.in +++ b/configure.in @@ -457,7 +457,7 @@ echo "-- dynamic libvorbisidec -> $ogg_lib" EXTRA_CFLAGS="$EXTRA_CFLAGS -DOGG_DYNAMIC=\\\"$ogg_lib\\\"" else - EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lvorbisidec -lvorbis -logg" + EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lvorbisidec -lvorbis" fi else AC_MSG_WARN([*** Unable to find Ogg Vorbis Tremor library (http://www.xiph.org/)]) @@ -487,7 +487,7 @@ echo "-- dynamic libvorbisfile -> $ogg_lib" EXTRA_CFLAGS="$EXTRA_CFLAGS -DOGG_DYNAMIC=\\\"$ogg_lib\\\"" else - EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lvorbisfile -lvorbis -logg" + EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lvorbisfile -lvorbis" fi else AC_MSG_WARN([*** Unable to find Ogg Vorbis library (http://www.xiph.org/)])