debian/0000755000000000000000000000000011737533017007175 5ustar debian/changelog0000644000000000000000000001336011737414030011043 0ustar mikmod (3.2.1-4) unstable; urgency=low * Bump debhelper compat level to 9. * Update Standards-Version to 3.9.3 (no changes required) * Recommend oss-compat. -- Gergely Nagy Fri, 06 Apr 2012 00:07:30 +0200 mikmod (3.2.1-3) unstable; urgency=low * New maintainer. (Closes: #628163). * Convert to dh(7) short-form. + As a result, don't strip binaries when nostrip is specified in DEB_BUILD_OPTIONS. (Closes: #437566) * Update Standards-Version to 3.9.2. * Add Homepage and VCS-* fields. * Convert to Format: 3.0 (quilt). * Use autotools-dev to refresh config.sub/config.guess. -- Gergely Nagy Sat, 29 Oct 2011 21:19:22 +0200 mikmod (3.2.1-2) unstable; urgency=low * Fix playmode documentation in the manpage. The default: output of mikmod -h does depend on your actual mikmod configuration, and is correct for an unconfigured mikmod. (Closes: #305445) * Fix manpage to use HYPHEN-MINUS ("\-") instead of HYPHEN ("-"), which would be rendered differently on unicode terminals. -- Ingo Saitz Thu, 28 Apr 2005 18:52:14 +0200 mikmod (3.2.1-1) unstable; urgency=low * New upstream version from Raphael Assenat (Closes: #214431) + New upstream maintainer + Includes all patches from the previous debian version + Now uses color on capable terminals * Eliminate some compile warnings. * Document --color in the manpage. * Preventively fix Bug #104980 again. * Package complies to debian policy 3.6.1: no changes. -- Ingo Saitz Wed, 31 Dec 2003 03:57:34 +0100 mikmod (3.1.6-7) unstable; urgency=low * Fixed va_arg handling in mconfedit.c (FTBFS on hppa) (Closes: #196012) -- Ingo Saitz Wed, 4 Jun 2003 12:19:43 +0200 mikmod (3.1.6-6) unstable; urgency=medium * Fix possible (?) buffer overflow and malicious filename in marchiver.c * Can use filenames with spaces in archives now, and * Added additional prefixes found on aminet (Closes: #193634) * Added archivers as Suggests (all but gzip and tar, those are Essential). * Package complies to debian policy 3.5.10 -- Ingo Saitz Mon, 2 Jun 2003 11:26:11 +0200 mikmod (3.1.6-5) unstable; urgency=low * Debian Policy 3.5.8: Adapt to new DEB_BUILD_OPTIONS. * Most probably the old bug fixed in libmikmod2 3.1.9-4. Since I never heard from the reporter, I close it (Closes: #81000) * Split patches from the source into debian/patches/. * Remove use of dh_testversion. * Point to /usr/share/common-licenses/GPL-2 in copyright. -- Ingo Saitz Thu, 23 Jan 2003 14:07:28 +0100 mikmod (3.1.6-4) unstable; urgency=low * fix compiling with gcc 3.0 (printf is a macro, Closes: #104980). * fix broken autoconf on new architectures (no bug yet :) * more documentation fixes (mikmod --help) and cleanup. * Package complies with Policy 3.5.5: no changes. -- Ingo Saitz Fri, 20 Jul 2001 22:29:24 +0200 mikmod (3.1.6-3) unstable; urgency=low * New Maintainer * Recompiled package (Closes: #64698, #91589) * Policy 3.5.2: - added Build-Depends: (Closes: #85249, #88570) - parse DEB_BUILD_OPTIONS for "debug" * Fixed getopt processing and documentation (manpage, Closes: #88867) -- Ingo Saitz Sat, 31 Mar 2001 00:16:50 +0200 mikmod (3.1.6-2) unstable; urgency=low * Applied upstream -a level patch -- Joseph Carter Thu, 5 Aug 1999 06:38:17 -0700 mikmod (3.1.6-1) unstable; urgency=low * New upstream version * Policy 3.0.0, debhelper v2 (hi joeyh!) * Removed Suggests line for non-free archivers since if you have tracks that are compressed with an archiver you know you need the archiver. -- Joseph Carter Thu, 8 Jul 1999 06:22:27 -0700 mikmod (3.1.5-1) unstable; urgency=low * New upstream version (Closes: #34493, #39421) * libmikmod is now a seperate package which will only use ALSA or EsounD if they are available (Closes: #38242, #29133) -- Joseph Carter Sun, 13 Jun 1999 15:14:32 -0700 mikmod (3.1.2-2) unstable; urgency=low * Rebuilt for potato's ALSA -- Joseph Carter Thu, 28 Jan 1999 12:21:21 -0800 mikmod (3.1.2-1) unstable; urgency=low * New upstream version -- Joseph Carter Fri, 18 Dec 1998 23:58:33 -0800 mikmod (3.0.4-2) unstable; urgency=low * Applied 3 upstream patches to fix bugs and add ALSA support * Built also with ALSA support -- Joseph Carter Tue, 13 Oct 1998 09:38:22 -0700 mikmod (3.0.4-1) unstable; urgency=low * New maintainer. * New upstream version. * This package is now DFSG free (GPL and LGPL). * Massive upstream revisions including both non-compressed and compressed sample Impulse Tracker support. * Built with both OSS and EsounD driver support. -- Joseph Carter Fri, 9 Oct 1998 09:14:53 -0700 mikmod (2.14-3) unstable; urgency=low * Libc 6 release - replaces non-maintainer release (fixes bug #14933) * Back to my non-debstd rules file, so changelog.Debian compressed again (fixes bug #15436) * Removed surplus documentation (fixes bug #18111) * Next release (v3.0) due soon, should be DFSG. -- Steve McIntyre Thu, 12 Mar 1998 23:31:32 +0000 mikmod (2.14-2) unstable; urgency=low * Oops! Changed banner message from development version... -- Steve McIntyre Wed, 1 Jan 1997 16:40:39 +0000 mikmod (2.14-1) unstable; urgency=low * New upstream version. * Fixes Bug#6276 - mikcvt now has a man page. * Fixes Bug#5671 - errors now re-displayed on exit. -- Steve McIntyre Wed, 1 Jan 1997 14:10:39 +0000 debian/control0000644000000000000000000000141311737414030010570 0ustar Source: mikmod Section: sound Priority: optional Maintainer: Gergely Nagy Build-Depends: debhelper (>= 9~), autotools-dev, libmikmod2-dev, libncurses5-dev Standards-Version: 3.9.3 Homepage: http://mikmod.raphnet.net Vcs-Git: git://git.madhouse-project.org/debian/mikmod.git Vcs-Browser: http://git.madhouse-project.org/debian/mikmod/ Package: mikmod Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Recommends: oss-compat Suggests: bzip2, lha, unrar, unzip, zoo Description: Portable tracked music player Mikmod is a very portable tracked music player which supports a wide variety of module formats including compressed sample Impulse Tracker modules. It also supports many archive formats, as well as on the fly decompression. debian/source/0000755000000000000000000000000011653050040010460 5ustar debian/source/format0000644000000000000000000000001411653050040011666 0ustar 3.0 (quilt) debian/mikmod.examples0000644000000000000000000000002211652750105012202 0ustar convert_playlist debian/rules0000755000000000000000000000027211653054675010263 0ustar #! /usr/bin/make -f export DH_OPTIONS += -O-Bbuild override_dh_auto_configure: dh_auto_configure -- --enable-color-interface override_dh_auto_test: ; %: dh $@ --with autotools_dev debian/mikmod.docs0000644000000000000000000000002411652750105011316 0ustar README AUTHORS NEWS debian/patches/0000755000000000000000000000000011737414075010626 5ustar debian/patches/series0000644000000000000000000000024311737414035012036 0ustar 0001-Eliminate-compile-warnings.patch 0002-Document-the-color-option.patch 0003-Correct-the-playmode-documentation.patch 0004-Fix-hypens-in-the-manual-pages.patch debian/patches/0004-Fix-hypens-in-the-manual-pages.patch0000644000000000000000000001730311737414075020020 0ustar From: Ingo Saitz Date: Thu, 28 Apr 2005 18:52:14 +0200 Subject: Fix hypens in the manual pages Use "\-" instead of "-" so groff wont change that into some locale sign-character --- src/mikmod.1 | 88 +++++++++++++++++++++++++++++----------------------------- 1 files changed, 44 insertions(+), 44 deletions(-) diff --git a/src/mikmod.1 b/src/mikmod.1 index f5c80db..c9e90dc 100644 --- a/src/mikmod.1 +++ b/src/mikmod.1 @@ -6,7 +6,7 @@ mikmod - play soundtracker etc. modules on a Unix machine. .SH SYNOPSIS -.B mikmod [\fB-options\fR]... [\fBmodule\fR|\fBplaylist\fR]... +.B mikmod [\fB\-options\fR]... [\fBmodule\fR|\fBplaylist\fR]... .SH DESCRIPTION @@ -32,33 +32,33 @@ defaults shown in this man page. .SH OUTPUT OPTIONS -.IP "\fB-d\fR, \fB--driver \fIn\fR" +.IP "\fB\-d\fR, \fB\-\-driver \fIn\fR" Use the specified device driver for output, 0 is autodetect. The default is 0. If your installed libmikmod engine is recent enough (>=3.1.7), you can also specify the driver with an alias, as well as driver options separated by commas. The list and driver aliases and recognized options can be found in libmikmod's documentation. -.IP "\fB-o\fR, \fB--output \fI8m\fR|\fI8s\fR|\fI16m\fR|\fI16s\fR" +.IP "\fB\-o\fR, \fB\-\-output \fI8m\fR|\fI8s\fR|\fI16m\fR|\fI16s\fR" Output settings, 8 or 16 bit in stereo or mono. The default is "16s". -.IP "\fB-f\fR, \fB--frequency \fIfreq\fR" +.IP "\fB\-f\fR, \fB\-\-frequency \fIfreq\fR" Set mixing frequency in hertz. The default is 44100. -.IP "\fB-i\fR, \fB--interpolate\fR" +.IP "\fB\-i\fR, \fB\-\-interpolate\fR" Use interpolated mixing. This will generally improve audio quality, at the expense of a bit more CPU usage. Note that this option alters the behaviour of software drivers only ; hardware drivers are not affected. -.IP "\fB--nointerpolate\fR" +.IP "\fB\-\-nointerpolate\fR" Do not use interpolated mixing (default). -.IP "\fB--hqmixer\fR" +.IP "\fB\-\-hqmixer\fR" Use high quality software mixer. This improves audio quality, but requires a lot more CPU power. Note that this option alters the behaviour of software drivers only ; hardware drivers are not affected. -.IP "\fB--nohqmixer" +.IP "\fB\-\-nohqmixer" Do not use high quality software mixer (default). -.IP "\fB--surround\fR" +.IP "\fB\-\-surround\fR" Use surround mixing. -.IP "\fB--nosurround\fR" +.IP "\fB\-\-nosurround\fR" Do not use surround mixing (default). -.IP "\fB-r\fR, \fB--reverb \fIn\fR" +.IP "\fB\-r\fR, \fB\-\-reverb \fIn\fR" Sets reverb amount from 0 (no reverb) to 15 (max reverb). The default is 0 (no reverb). @@ -66,43 +66,43 @@ reverb). .SH PLAYBACK OPTIONS -.IP "\fB-v\fR, \fB--volume \fIvolume\fR" +.IP "\fB\-v\fR, \fB\-\-volume \fIvolume\fR" Set volume from 0% (silence) to 100%. The default is 100%. -.IP "\fB-F\fR, \fB--fadeout\fR" +.IP "\fB\-F\fR, \fB\-\-fadeout\fR" Fade out the volume during the last pattern of each module. -.IP "\fB--nofadeout\fR" +.IP "\fB\-\-nofadeout\fR" Do not fade out the volume during the last pattern of each module (default). -.IP "\fB-l\fR, \fB--loops\fR" +.IP "\fB\-l\fR, \fB\-\-loops\fR" Enable in-module backwards loops. -.IP "\fB--noloops\fR" +.IP "\fB\-\-noloops\fR" Disable in-module backwards loops (default). -.IP "\fB-a\fR, \fB--panning\fR" -Process panning effects (default). This should be disabled (using --nopanning) +.IP "\fB\-a\fR, \fB\-\-panning\fR" +Process panning effects (default). This should be disabled (using \-\-nopanning) for very old demo modules which use the panning effects for synchronization purposes. -.IP "\fB--nopanning\fR" +.IP "\fB\-\-nopanning\fR" Do not process panning effects. -.IP "\fB-x\fR, \fB--protracker\fR" +.IP "\fB\-x\fR, \fB\-\-protracker\fR" Enable protracker extended speed effect (default). This should be disabled -(using --noprotracker) for very old demo modules which use the extended speed +(using \-\-noprotracker) for very old demo modules which use the extended speed effect for synchronization purposes. -.IP "\fB--noprotracker\fR" +.IP "\fB\-\-noprotracker\fR" Disable protracker extended speed effect. -.IP "\fB-X\fR, \fB--exitafter\fR" +.IP "\fB\-X\fR, \fB\-\-exitafter\fR" Exit MikMod upon playlist completion. If there is nothing in the playlist, -MikMod will not exit. Can be disabled with --noexitafter. -.IP "\fB--noexitafter\fR" +MikMod will not exit. Can be disabled with \-\-noexitafter. +.IP "\fB\-\-noexitafter\fR" Do not exit MikMod upon playlist completion. .SH LOADING OPTIONS -.IP "\fB-c\fR, \fB--curious\fR" +.IP "\fB\-c\fR, \fB\-\-curious\fR" Look for hidden patterns in module. Most modules don't have hidden patterns, but you can find "bonus" patterns (or just silence) in some modules. -.IP "\fB--nocurious\fR" +.IP "\fB\-\-nocurious\fR" Do not look for hidden patterns in module (default). -.IP "\fB-p\fR, \fB--playmode \fIn\fR" +.IP "\fB\-p\fR, \fB\-\-playmode \fIn\fR" Playlist mode. The possible values here are 1, to loop the current module; 2, to loop the whole playlist; @@ -110,9 +110,9 @@ Playlist mode. The possible values here are 8, to walk the playlist in random order. These values can be added; 0 plays the whole playlist once. The default is 2, depending on your mikmod configuration. -.IP "\fB-t\fR, \fB--tolerant\fR" +.IP "\fB\-t\fR, \fB\-\-tolerant\fR" Don't halt MikMod if a module cannot be read or is an unknown format. -.IP "\fB--notolerant\fR" +.IP "\fB\-\-notolerant\fR" Halt MikMod if a module cannot be read or is an unknown format (default). @@ -121,47 +121,47 @@ Halt MikMod if a module cannot be read or is an unknown format (default). The following options need root privileges (or a setuid root binary), and don't work under all systems. -.IP "\fB-s\fR, \fB--renice\fR" -Renice to -20 if possible to gain more CPU priority. This option is only +.IP "\fB\-s\fR, \fB\-\-renice\fR" +Renice to \-20 if possible to gain more CPU priority. This option is only available under FreeBSD, Linux, NetBSD, OpenBSD and OS/2. -.IP "\fB--norenice\fR" +.IP "\fB\-\-norenice\fR" Do not renice to -20 (default). -.IP "\fB-S\fR, \fB--realtime\fR" +.IP "\fB\-S\fR, \fB\-\-realtime\fR" Reschedule mikmod to gain real-time priority (and thus more CPU time). \fBDANGEROUS! USE WITH CAUTION!\fR This option is only available under FreeBSD, Linux and OS/2. -.IP "\fB--norealtime\fR" +.IP "\fB\-\-norealtime\fR" Do not reschedule MikMod to gain real-time priority (default). .SH DISPLAY OPTIONS -.IP "\fB-q\fR, \fB--quiet\fR" +.IP "\fB\-q\fR, \fB\-\-quiet\fR" Quiet mode. Disables interactive commands and displays only errors. -.IP "\fB--terse\fR" +.IP "\fB\-\-terse\fR" Terse display like MikMod 2, i.e. without the information panels. -.IP "\fB-C\fR, \fB--color\fR" +.IP "\fB\-C\fR, \fB\-\-color\fR" Enable colors in interface (default). -.IP "\fB--nocolor\fR" +.IP "\fB\-\-nocolor\fR" Disable colors in interface. .SH INFORMATION OPTIONS -.IP "\fB-n\fR, \fB--information\fR" +.IP "\fB\-n\fR, \fB\-\-information\fR" Display the list of the known drivers and module loaders. -.IP "\fB-V\fR, \fB--version\fR" +.IP "\fB\-V\fR, \fB\-\-version\fR" Display MikMod version. -.IP "\fB-h\fR, \fB--help\fR" +.IP "\fB\-h\fR, \fB\-\-help\fR" Display a summary of the options. .SH CONFIGURATION OPTION -.IP "\fB--norc\fR" +.IP "\fB\-\-norc\fR" Do not parse the $HOME/.mikmodrc configuration file. This file contains your default settings, so that you don't have to specify them each time you run MikMod. The file is read when you run MikMod and updated on exit. Using this @@ -190,7 +190,7 @@ Set volume from 10% (digit 1) to 100% (digit 0). Decrease volume. .IP "\fB>\fR" Increase volume. -.IP "\fB-\fR, \fBLeft\fR" +.IP "\fB\-\fR, \fBLeft\fR" Restart current pattern / skip to previous pattern. .IP "\fB+\fR, \fBRight\fR" Skip to next pattern in current module. -- debian/patches/0001-Eliminate-compile-warnings.patch0000644000000000000000000000311611737414075017411 0ustar From: Ingo Saitz Date: Wed, 31 Dec 2003 03:57:34 +0100 Subject: Eliminate compile-warnings. --- src/attr.h | 12 ++++++++++++ src/display.c | 10 +++------- 2 files changed, 15 insertions(+), 7 deletions(-) diff --git a/src/attr.h b/src/attr.h index b4eaf99..4145d38 100644 --- a/src/attr.h +++ b/src/attr.h @@ -45,6 +45,18 @@ void attr_type2(void); void attr_type3(void); void attr_type4(void); void attr_type5(void); +void attr_status_line1(void); +void attr_status_line2(void); +void attr_status_line3(void); +void attr_status_line4(void); +void attr_status_line5(void); +void attr_status_line6(void); +void attr_status_line7(void); +void attr_status_line8(void); +void attr_status_line9(void); +void attr_status_line10(void); +void attr_status_line11(void); +void attr_status_line12(void); void attr_info1(void); void attr_info2(void); void attr_info3(void); diff --git a/src/display.c b/src/display.c index eaaa61b..6c0ecb6 100644 --- a/src/display.c +++ b/src/display.c @@ -528,9 +528,9 @@ void display_status(void) /* pos field */ #ifdef HAVE_SNPRINTF - snprintf(storage, STORAGELEN, "%02.2X ",mf->patpos); + snprintf(storage, STORAGELEN, "%2.2X ",mf->patpos); #else - sprintf(storage, "%02.2X ",mf->patpos); + sprintf(storage, "%2.2X ",mf->patpos); #endif attr_status_line4(); win_print_root(pos, 5, storage); @@ -1571,11 +1571,7 @@ void set_term_title(char *songname) } else { -#ifdef HAVE_SNPRINTF - snprintf(storage,STORAGELEN,""); -#else - sprintf(storage,""); -#endif + storage[0] = '\0'; } if ( strcmp(env_term, "xterm")==0 || -- debian/patches/0002-Document-the-color-option.patch0000644000000000000000000000414611737414075017211 0ustar From: Ingo Saitz Date: Wed, 31 Dec 2003 03:57:34 +0100 Subject: Document the --color option This patch includes the following fixes: - Document --color in the manpage - Add * to the output of --help for --color since it has a negative form - Also split the #ifdef outside the printf() call, see old Bug #104980. It's strange that gcc does build this code again. --- src/mikmod.1 | 4 ++++ src/mikmod.c | 13 ++++++------- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/src/mikmod.1 b/src/mikmod.1 index 41f1856..c78babe 100644 --- a/src/mikmod.1 +++ b/src/mikmod.1 @@ -137,6 +137,10 @@ Do not reschedule MikMod to gain real-time priority (default). Quiet mode. Disables interactive commands and displays only errors. .IP "\fB--terse\fR" Terse display like MikMod 2, i.e. without the information panels. +.IP "\fB-C\fR, \fB--color\fR" +Enable colors in interface (default). +.IP "\fB--nocolor\fR" +Disable colors in interface. .SH INFORMATION OPTIONS diff --git a/src/mikmod.c b/src/mikmod.c index fec2dd9..d5775e3 100644 --- a/src/mikmod.c +++ b/src/mikmod.c @@ -233,13 +233,15 @@ static void help(CONFIG *c) #endif - printf( - "Display options:\n" + puts( "Display options:\n" " -q, --quiet Quiet mode, no interface, displays only errors.\n" - " --terse Terse output : status line only.\n" + " --terse Terse output : status line only."); #ifdef ENABLE_COLOR_INTERFACE - " -C, --color Enable color interface. default: %s\n" + printf( + "* -C, --color Enable color interface. default: %s\n", + S_B(c->color)); #endif + printf( "Information options:\n" " -n, --information List all available drivers and module loaders.\n" " -V, --version Display MikMod version.\n" @@ -250,9 +252,6 @@ static void help(CONFIG *c) "\n" "Options marked with '*' also exist in negative form (eg --nointerpolate)\n" "F1 or H while playing: Display help panel.\n", -#ifdef ENABLE_COLOR_INTERFACE - S_B(c->color), -#endif conf_name); if (conf_name) -- debian/patches/0003-Correct-the-playmode-documentation.patch0000644000000000000000000000233511737414075021070 0ustar From: Ingo Saitz Date: Thu, 28 Apr 2005 18:52:14 +0200 Subject: Correct the playmode documentation Correct the playmode documentation in the manpage, fixes #305445 --- src/mikmod.1 | 10 +++++++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/mikmod.1 b/src/mikmod.1 index c78babe..f5c80db 100644 --- a/src/mikmod.1 +++ b/src/mikmod.1 @@ -103,9 +103,13 @@ but you can find "bonus" patterns (or just silence) in some modules. .IP "\fB--nocurious\fR" Do not look for hidden patterns in module (default). .IP "\fB-p\fR, \fB--playmode \fIn\fR" -Playlist mode. The allowed values here are 0, to loop the current module ; 1, -to play the whole playlist once ; 2, to play the whole playlist repeatedly, -and 3, to play the whole playlist randomly. The default is 2. +Playlist mode. The possible values here are +1, to loop the current module; +2, to loop the whole playlist; +4, to shuffle the playlist; and +8, to walk the playlist in random order. +These values can be added; 0 plays the whole playlist once. +The default is 2, depending on your mikmod configuration. .IP "\fB-t\fR, \fB--tolerant\fR" Don't halt MikMod if a module cannot be read or is an unknown format. .IP "\fB--notolerant\fR" -- debian/compat0000644000000000000000000000000211737414030010364 0ustar 9 debian/copyright0000644000000000000000000000206311653050040011114 0ustar This package was debianized by Steve McIntyre on Wed, 1 Jan 1997. It was maintained by Joseph Carter between 1998 and 1999, followed by Ingo Saitz between 2001 and 2005. It is currently maintained by Gergely Nagy . The current upstream maintainer is Raphael Assenat . The current homepage is http://mikmod.raphnet.net/ Copyright (C) 2003 Raphael Assenat and others Copyright (C) 1998, 1999 Miodrag Vallat and others Upstream Authors are listed in the file AUTHORS.gz including - Jean-Paul Mikkers (MikMak) - Jake Stine (Air Richter) - Frank Loemker - Steve McIntyre - Peter Amstutz - Miodrag Vallat ((C) 1998, 1999) - Raphael Assenat ((C) 2003) - and various contributors The libmikmod sound library is covered by the GNU Library General Public License as published by the Free Software Fundation (you'll find it in the file /usr/share/common-licenses/GPL-2); either version 2 of the licence, or (at your option) any later version.