summaryrefslogtreecommitdiff
path: root/audio/libmikmod
AgeCommit message (Collapse)AuthorFilesLines
2014-03-31Update to 3.3.6:wiz3-14/+14
libmikmod v3.3.6 was released on 20-Mar-2014. - UMX loader: Minor corrections to the container parse code with relation to upkg file format. (for correctness' sake only...) - ALSA and ESD drivers: Fixed a dlopen() issue. - PulseAudio driver: Simplified its command line parser procedure, so that it always sets server and sink to some value, NULL or otherwise, and fix a very minor memory leak on some occasions. - Configury, OSS driver: Removed useless check for /dev/sndstat presence, added <soundcard.h> check to cover all our bases for less common setups. - Configury, NAS driver: Use the configury detected X header and library locations when necessary, not just hardcoded /usr/X11R6/. - Several configury and makefile clean-ups. - Added Dreamcast driver from the old 3.2.0b2 dreamcast.es port.
2014-01-27Update to 3.3.5:wiz2-6/+6
Summary of changes between libmikmod 3.3.4 and libmikmod 3.3.5 (): ========================================================================== libmikmod v3.3.5 was released on 10-Jan-2014. This is a minor bugfix / maintenance release. - New PulseAudio driver for audio output, using pa_simple_* api. - Improved ALSA driver. - mikmod.texi: Fixed document generation using newer texinfo. - Updates and fixes to configury (autotools) and to cmake support. Cmake support covers more targets and options now. - Made the aiff, wav and raw file writer drivers configurable: the library can be configured and compiled without any audio output drivers if so required, except for drv_nos ('nosound') of course. - DOS (djgpp): fixed the sound blaster SB16 driver. - Fixed a few potential sources of crash, several code clean-ups. - Minor compilation fixes against ancient software versions. - Merged an updated gp32 driver (it is still an untested driver...) Summary of changes between libmikmod 3.3.3 and libmikmod 3.3.4 (): ========================================================================== libmikmod 3.3.4 was released on 08-Dec-2013. - libmikmod.m4: fixed so that it works with C++ compilers. - cmake: fixed a cpack version number issue. - Fix CVE-2006-3879 (Secunia 21196) for Graoumf tracker (gt2) loader. (the loader is non-functional yet but the issue was there.) - Fix memory leaks in the Graoumf tracker (gt2) loader. - UMX loader: Support umx music files from Unreal 1997/98 beta version. - S3M loader: Enforce the 64000 bytes sample length limit, which has been in effect since libmikmod-v3.1.10, only for tracker id 1, i.e. only if setting the S3MIT_SCREAM flag during track conversion. Fixes playback of some rare brokenly prepared files - e.g. Arena2.umx from the unreal game community add-on level decyberduel. - ULT loader: Fix version array size (was 1 less then its initializer.) - ESD driver: Fix signature for esd_playstream function pointer (const) - ALSA driver: Remove unused function pointers. - The library is compilable using C++ compilers.
2013-10-29USE_LANGUAGES=c99, fixes build on SunOS.jperkin1-1/+2
2013-10-19Update to 3.3.3:wiz2-8/+8
This is a stable release with minor bugfixes and a new feature, a new umx file loader. It fixes a memory leak, an invalid read upon backwards position jumps, and documentation problems, and adds cleanups.
2013-10-06Update to 3.3.2:wiz4-13/+15
Summary of changes between libmikmod 3.2.0 and libmikmod 3.3.2 (): ========================================================================== libmikmod 3.3.2 was released on 05-Oct-2013. This is a serious bug fix release after the previous 3.2.0 series, with some additional new features. All who are using libmikmod-3.2.0 (or the interim 3.3.1-beta) must upgrade to the new libmikmod-3.3.2 version. THANKS - Paul Spark <sparkynz74@gmail.com> for Microsoft Visual C 6.0 fixes. - Ozkan Sezer: many changes. NEW FEATURES - New CMake build system. - Updated configury, support for cross-compilation, support for building in a separate directory, support latest autotools. - New SDL driver - works both with SDL-1.2.x and with SDL2, supports floating point output if compiled against SDL2. - New OpenAL driver, originally suggested by 'kervala', with fixes and updates and with floating point output support. - The multi-platform SDL and OpenAL drivers, if they are compiled, have priority over OS-specific hw drivers for MikMod_RegisterAllDrivers(). - New windows xaudio2 driver, originally suggested by 'honza.c', with updates, xaudio2.8 support and with floating point output support. - ALSA driver now supports only the contemporary ALSA 1.0.x versions. All of the ancient ALSA 0.3.x-0.4.x code were removed. - Floating point output mode support for ALSA, OSS, Direct Sound, WinMM drivers and for WAV file writer. - The pipe and stdout drivers are now configurable - Raw file-writer now has the lowest priority among the file-writers. - GCC elf and macho symbol visibility attributes now supported. - Windows: dllexport/dllimport attributes work properly for MinGW[-w64], as well as windows compilers. Static builds using MSVC, LCC, etc are now named mikmod_static.lib. When compiling against static libmikmod, MIKMOD_STATIC should be defined so that dllimport wouldn't be assumed. BUGFIXES - ALSA fixes from Fedora. - ALSA fixes for "Write error: File descriptor in bad state" crashes, e.g. RedHat bug #915121. Now works stable. - ESD (esound) updates from Fedora. Add esd back to configury which was removed in 3.2.0b3, now requiring >= 0.2.18. - Minor OSS fixes. - The NAS driver now actually compiles. - 64 bit detection fixes. - Fix BOOL type use all over the source. - Several const correctness fixes. - Fixes for CVE-2007-6720 and CVE-2009-0179. - mmio: memreader fixes and updates. - Fixes for access violations introduced in 3.2.0b3. - Fixes for broken memory allocation wrappers introduced in 3.2.0b3. - Fix MikMod_strerror() might read beyond end of a static array. - Fix looping volume in Player_SetVolume(), based on an old patch by Yi-Huang Han. - XM loader now reads songlength amount of orders from the file and then seeks to mh->headersize+60 (sf.net bug #10.) - Fix "unclick" code to consider loop lengths shorter than 16: fixes crashes seen with several xm files (sf.net bug #12, mpd bug #3425.) - Mac OS X: new standalone makefile with cross-compilation support. - DJGPP build fixes. - Windows: fixes/updates, win64 fully supported. MinGW[-w64] fully supported along with MSVC and LCC. new standalone MinGW makefile with cross-compilation support. - SIMD (AltiVec and SSE2) option is now disabled by default. Can be enabled by --enable-simd configury option, similarly with cmake. (the standalone makefiles or project files are added instructions on how to enable the feature if required.) - Many compiler warning fixes, other small cleanups.
2013-08-16Remove patch-ab, it would appear to be actively harmful these days, atjperkin2-37/+1
least according to SunOS build reports.
2012-09-11"user-destdir" is default these daysasau1-2/+1
2012-06-04Recursive bump for libmikmod shlib major ++wiz1-2/+2
Noted by dholland.
2012-06-03Update to 3.2.0:wiz4-38/+19
libmikmod 3.2.0 was released on 01-June-2012. THANKS - Axel "awe" Wefers <awe@fruitz-of-dojo.de>, for creating the CoreAudio driver, the new AIFF driver, and fixes for the wav output driver. - Frank Loemker, for sending me his collection of patches for libmikmod. - Anders F Björklund <afb@algonet.se>, for updates, fixes and tests on Mac Platforms and rpm support. - Ivan Shmakov, for the NAS audio driver. - Various downstream patch writers (from Mandriva, SuSE, Red Hat/Fedora, Debian, etc.) - P. Martin - the macports maintainer for some patches. - Stéphan Kochen for two patches: one to change MDRIVER fields to "const", and the other with putting variable declarations at the start of block (which is more C89 compliant and fixes compilation on Microsoft Visual C++). NEW FEATURES - MacOS X CoreAudio driver - Carbon support - Loader for ASYLUM Music Format v1.0 (.amf) modules, as used in crusader games. - New function 'Player_QueryVoices' added, which is used to return dynamic channel information about the module player. (Mikmod 3.2.2 uses it for it's dynamic panels). - Mixing with floating point output. The MacOSX CoreAudio driver uses it. Thanks goes to Anders F Björklund for implementing this. - AIFF disk writer driver. - New NAS driver (Network Audio System). Tested with nasd and NCD X terminals. - MREADERs now have an iobase member (previously was a static variable in mmio.c). This permits to have many MREADERs with different iobase base values. - Created an example/ subdirectory, to hold programming examples. - Added functions to read from memory (Player_LoadMem, Sample_LoadMem...) and a memory reader in mmio.c - renamed internal _mm_malloc function to MikMod_malloc, which is now part of the API. - Raw samples can now be loaded using the new Sample_LoadRaw* family of functions for sound effects. - PowerPC 64 support - ALSA (Advanced Linux Sound Architecture) driver is now working with "recent" (actually a few years back) ALSAs. - Change MDRIVER "char *" fields to "const char *". - Thanks to Stéphan Kochen. - Implement a fix to the ALSA driver in MIKMOD_DYNAMIC mode so it will allow linking against libmikmod when "-Wl,--no-undefined" is passed. - Reported by Andrey Bondrov from Mandriva. - The problem was that we used some snd_... identifiers indirectly in some macro expansions. BUGFIXES - The sun driver now compiles on solaris (Thanks to Nicolas Gros d'Aillon for sending me Jonathan Perkin's fix) - The wav output driver had problems on big endian systems. Thanks to Axel "awe" Wefers for fixing this. - A warning reported by Stéphane LOEUILLET in libmikmod.m4 with autoconf 1.8 was fixed. - The 'card' argument, supported by the OSS driver was not documented via the MDRIVER->CmdLineHelp string. - libmikmod-3.1.11-CVE-2010-2546,2971.diff (from Mandriva/Mageia). - libmikmod-3.1.11-CVE-2009-3995,3996.diff (from Mandriva/Mageia). - Now checking for linking against -lm (from Mandriva/Mageia). - Modified patch of libmikmod-CVE-2009-0179.patch (from Mandriva/Mageia). - Apply the libmikmod-CVE-2007-6720.patch (from Mandriva/Mageia). - Implement a fix for sprintf-of-list - sprintf(list, "%sSOMETHING", list) does not work as expected and suffers from the http://en.wikipedia.org/wiki/Schlemiel_the_Painter%27s_algorithm syndrome. - Apply a patch for non-blocking opening of the OSS driver. (from Mandriva/Mageia). - Fixed the prototypes of vc_callback (thanks to P. Martin). - Cast a vc_callback parameter to "unsigned char *" instead of "char *", becuase the former is what it accepts (thanks to P. Martin). - Check for Samples' validatity in virtch_common.c (thanks to P. Martin). - Fix compilation on MSVC. - Thanks to Stéphan Kochen.
2012-01-13Recursive bump from audio/libaudiofile, x11/qt4-libs and x11/qt4-tools ABI bump.obache2-3/+4
2011-01-27* Use autoconf, so other compilers, like Clang, are configured correctly.adam2-15/+18
* pkglint clean-up.
2010-05-02Update to 3.1.12:wiz2-16/+7
libmikmod-3.1.12 was released on 15/12/2007 This is bugfix release by denis111(keygenmusic). BUGFIXES - libmikmod no more hangs on loading XM modules with incorrect number of instrumens. - modules with more then 255 orders are now supported
2010-03-22pkglint clean.obache1-3/+3
2010-02-07Added LICENSE information.heinz1-1/+2
2009-03-20Simply and speed up buildlink3.mk files and processing.joerg1-13/+6
This changes the buildlink3.mk files to use an include guard for the recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS, BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of enter/exit marker, which can be used to reconstruct the tree and to determine first level includes. Avoiding := for large variables (BUILDLINK_ORDER) speeds up parse time as += has linear complexity. The include guard reduces system time by avoiding reading files over and over again. For complex packages this reduces both %user and %sys time to half of the former time.
2009-01-23Maintainer address is not reacheable, reset back to pkgsrc-users@netbsd.orgkefren1-2/+2
2008-06-02Fix a configure botchup that breaks the build of mikmod if libmikmod isdholland3-9/+18
built with esound support. PR 35992. PKGREVISION -> 3.
2007-12-16The package supports installation to DESTDIR.heinz1-1/+2
2007-05-30Removed some code duplication from the buildlink3 files by using the newrillig1-8/+3
pkg-build-options.mk procedure.
2006-12-12Replace mk/bsd.prefs.mk includes with bsd.fast.prefs.mk includes.joerg1-2/+2
The redundant parsing of bsd.prefs.mk is mostly avoided now and parse time e.g. for x11/kdebase3 gets reduced by up to 10%.
2006-07-08Change the format of BUILDLINK_ORDER to contain depth information as well,jlam1-2/+2
and add a new helper target and script, "show-buildlink3", that outputs a listing of the buildlink3.mk files included as well as the depth at which they are included. For example, "make show-buildlink3" in fonts/Xft2 displays: zlib fontconfig iconv zlib freetype2 expat freetype2 Xrender renderproto
2006-07-08Track information in a new variable BUILDLINK_ORDER that informs usjlam1-1/+2
of the order in which buildlink3.mk files are (recursively) included by a package Makefile.
2006-06-08Fixed pkglint warnings.rillig2-13/+12
2006-04-12Aligned the last line of the buildlink3.mk files with the first line, sorillig1-2/+2
that they look nicer.
2006-04-06Over 1200 files touched but no revisions bumped :)reed1-3/+3
RECOMMENDED is removed. It becomes ABI_DEPENDS. BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo. BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo. BUILDLINK_DEPENDS does not change. IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS which defaults to "yes". Added to obsolete.mk checking for IGNORE_RECOMMENDED. I did not manually go through and fix any aesthetic tab/spacing issues. I have tested the above patch on DragonFly building and packaging subversion and pkglint and their many dependencies. I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I have used IGNORE_RECOMMENDED for a long time). I have been an active user of IGNORE_RECOMMENDED since it was available. As suggested, I removed the documentation sentences suggesting bumping for "security" issues. As discussed on tech-pkg. I will commit to revbump, pkglint, pkg_install, createbuildlink separately. Note that if you use wip, it will fail! I will commit to pkgsrc-wip later (within day).
2006-03-30* Honor PKGINFODIR.jlam2-3/+4
* List the info files directly in the PLIST.
2006-03-17Remove unnecessary patch since pkgsrc handles split info filesjlam3-20/+2
automatically.
2006-03-09Replace references to ossaudio.buildlink3.mk with oss.buildlink3.mk.jlam1-2/+2
Remove deprecated ossaudio.buildlink3.mk.
2006-03-05* Teach the tools framework how to supply the pkgsrc version ofjlam1-3/+2
makeinfo if no native makeinfo executable exists. Honor TEXINFO_REQD when determining whether the native makeinfo can be used. * Remove USE_MAKEINFO and replace it with USE_TOOLS+=makeinfo. * Get rid of all the "split" argument deduction for makeinfo since the PLIST module already handles varying numbers of split info files correctly. NOTE: Platforms that have "makeinfo" in the base system should check that the makeinfo entries of pkgsrc/mk/tools.${OPSYS}.mk are correct.
2006-02-05Recursive revision bump / recommended bump for gettext ABI change.joerg2-4/+4
2005-06-04On Linux, libmikmod also dynamically loads esound support.wiz1-5/+4
Update conditional. Tested by reed@.
2005-06-03Convert away from using USE_ESOUND.wiz1-2/+13
Also: On NetBSD, libmikmod dynamically loads esound, so there is no library dependency -- do not include esound bl3.mk in those cases. XXX: please check other OPSYS if they do the same, and add cases
2005-05-31Changed #defined to yes in GNU_CONFIGURE and USE_LIBTOOL.rillig1-3/+3
2005-05-31Convert to options framework.wiz2-13/+18
2005-05-22Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:jlam1-2/+2
USE_GNU_TOOLS -> USE_TOOLS awk -> gawk m4 -> gm4 make -> gmake sed -> gsed yacc -> bison
2005-04-11Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.tv1-2/+1
2005-02-23Add RMD160 digests to the SHA1 ones.agc1-1/+3
2005-02-23Enable pkgviews installation. Patches provided by Joachim Kuebart onminskim1-1/+3
tech-pkg@.
2004-10-03Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10tv2-2/+4
in the process. (More information on tech-pkg.) Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and installing .la files. Bump PKGREVISION (only) of all packages depending directly on the above via a buildlink3 include.
2004-09-22Mechanical changes to package PLISTs to make use of LIBTOOLIZE_PLIST.jlam1-5/+1
All library names listed by *.la files no longer need to be listed in the PLIST, e.g., instead of: lib/libfoo.a lib/libfoo.la lib/libfoo.so lib/libfoo.so.0 lib/libfoo.so.0.1 one simply needs: lib/libfoo.la and bsd.pkg.mk will automatically ensure that the additional library names are listed in the installed package +CONTENTS file. Also make LIBTOOLIZE_PLIST default to "yes".
2004-09-21Update to 3.1.11.1:wiz2-7/+12
Summary of changes between libmikmod 3.1.11 and libmikmod 3.1.11-a ======================================================================== libmikmod-3.1.11-a was released on 05/03/2004 Most of my work and attention goes on the 3.2.x series, but I still receive occasional bug reports and patchs for the 3.1.11 version. There are not enough changes to make a full release, but many people may find this patch useful. BUGFIXES - libmikmod playback now works correcly on amd64 (type size problem) - fixed warning issued by automake >= 1.8 - config.sub and config.guess updated Summary of changes between libmikmod 3.1.10 and libmikmod 3.1.11 (Thiers): ========================================================================== libmikmod 3.1.11 was released on 01/21/2004. This is a small maintenance release. I know there are not many changes, but since it has been a very long time since the last one, and meanwhile libmikmod changed maintaner, I think it is justified. THANKS - Ingo Saitz, the maintainer of the mikmod packages for debian, for bugfixes. - Frank Loemker, for the lcc-win32 stuff and fixes for the direct sound driver. BUGFIXES - Playback problems in MODs of length >128. This fixes the file beatwave.mod. Thanks to Emmanuel Coirier for pointing this out. - Applied debian patches: - Fix for broken volume fadeouts of IT instruments - Fixed configure test for pthread - devfs support for Linux OSS - Makefile for lcc-win32. To compile libmikmod with lcc-win32 a rather new version is needed. I currently use version 3.7 compiled on Jan 20 2002. A version half a year old did not work. To compile - check that you have the lcc bin directory in the PATH (and no other compiler bin dirs), - change to libmikmod-3.1.11/win32, - check Makefile.lcc for any needed changes, and - use make -f Makefile.lcc. - Different fixes for the direct sound driver: - Pausing did only work for half of the buffer. - Restarting the player did not work as the output thread was removed in DS_PlayStop(). - Removed busy waiting for end of thread. - Sound output is started immediately on the first call to DS_Update() to be consistent with other non threaded drivers. - Different small clean ups. - In MikMod_Reset() the raw output driver driver did not use the filename set via the cmdline.
2004-04-12No longer used.snj1-19/+0
2004-03-30Don't use PKGNAME when setting WRKSRC; use PKGNAME_NOREV instead.jlam1-2/+2
2004-03-23USE_BUILDLINK3 must be set to "yes" or "no", not defined/undefined.jlam1-3/+3
2004-03-18Fix serious bug where BUILDLINK_PACKAGES wasn't being ordered properlyjlam1-3/+2
by moving the inclusion of buildlink3.mk files outside of the protected region. This bug would be seen by users that have set PREFER_PKGSRC or PREFER_NATIVE to non-default values. BUILDLINK_PACKAGES should be ordered so that for any package in the list, that package doesn't depend on any packages to the left of it in the list. This ordering property is used to check for builtin packages in the correct order. The problem was that including a buildlink3.mk file for <pkg> correctly ensured that <pkg> was removed from BUILDLINK_PACKAGES and appended to the end. However, since the inclusion of any other buildlink3.mk files within that buildlink3.mk was in a region that was protected against multiple inclusion, those dependencies weren't also moved to the end of BUILDLINK_PACKAGES.
2004-03-05Reorder location and setting of BUILDLINK_PACKAGES to match templatejlam1-6/+9
buildlink3.mk file in revision 1.101 of bsd.buildlink3.mk.
2004-02-19Clean up this buildlink3.mk file and check for USE_ESOUND before includingjlam1-12/+10
the esound/buildlink3.mk file. Fixes PR 24485.
2004-02-14LIBTOOL_OVERRIDE and SHLIBTOOL_OVERRIDE are now lists of shell globsjlam1-2/+1
relative to ${WRKSRC}. Remove redundant LIBTOOL_OVERRIDE settings that are automatically handled by the default setting in bsd.pkg.mk.
2004-02-11bl3ify and replace obsolete LTCONFIG_OVERRIDE with LIBTOOL_OVERRIDE.xtraeme2-5/+29
2004-01-22replace deprecated USE_GMAKE with USE_GNU_TOOLS+=make.grant1-2/+2