Commit graph

89 commits

Author SHA1 Message Date
asau
2fead99d50 "user-destdir" is default these days 2012-09-11 23:59:21 +00:00
wiz
e0c56a8453 Recursive bump for libmikmod shlib major ++
Noted by dholland.
2012-06-04 09:29:53 +00:00
wiz
1d71e470bf Update to 3.2.0:
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-06-03 21:44:59 +00:00
obache
615c758c19 Recursive bump from audio/libaudiofile, x11/qt4-libs and x11/qt4-tools ABI bump. 2012-01-13 10:54:43 +00:00
adam
d73787723d * Use autoconf, so other compilers, like Clang, are configured correctly.
* pkglint clean-up.
2011-01-27 13:56:49 +00:00
wiz
55df6982f9 Update to 3.1.12:
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-05-02 11:42:17 +00:00
obache
84f1a5db5b pkglint clean. 2010-03-22 11:22:23 +00:00
heinz
f0ce54c4b5 Added LICENSE information. 2010-02-07 21:02:15 +00:00
joerg
2d1ba244e9 Simply and speed up buildlink3.mk files and processing.
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-03-20 19:23:50 +00:00
kefren
881024f8b9 Maintainer address is not reacheable, reset back to pkgsrc-users@netbsd.org 2009-01-23 20:25:28 +00:00
dholland
2ce0e96015 Fix a configure botchup that breaks the build of mikmod if libmikmod is
built with esound support. PR 35992.
PKGREVISION -> 3.
2008-06-02 08:20:04 +00:00
heinz
2150222b93 The package supports installation to DESTDIR. 2007-12-16 14:25:35 +00:00
rillig
7f125459d8 Removed some code duplication from the buildlink3 files by using the new
pkg-build-options.mk procedure.
2007-05-30 08:54:28 +00:00
joerg
5e43280b23 Replace mk/bsd.prefs.mk includes with bsd.fast.prefs.mk includes.
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-12-12 21:52:34 +00:00
jlam
c16221a4db Change the format of BUILDLINK_ORDER to contain depth information as well,
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-08 23:10:35 +00:00
jlam
9430e49307 Track information in a new variable BUILDLINK_ORDER that informs us
of the order in which buildlink3.mk files are (recursively) included
by a package Makefile.
2006-07-08 22:38:58 +00:00
rillig
0f49650ef3 Fixed pkglint warnings. 2006-06-08 14:44:21 +00:00
rillig
96fc47c14f Aligned the last line of the buildlink3.mk files with the first line, so
that they look nicer.
2006-04-12 10:26:59 +00:00
reed
5abef9be14 Over 1200 files touched but no revisions bumped :)
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-04-06 06:21:32 +00:00
jlam
792529759b * Honor PKGINFODIR.
* List the info files directly in the PLIST.
2006-03-30 03:44:41 +00:00
jlam
0f7f5270e5 Remove unnecessary patch since pkgsrc handles split info files
automatically.
2006-03-17 22:37:34 +00:00
jlam
6ad6aef9d4 Replace references to ossaudio.buildlink3.mk with oss.buildlink3.mk.
Remove deprecated ossaudio.buildlink3.mk.
2006-03-09 21:04:39 +00:00
jlam
6e0c050321 * Teach the tools framework how to supply the pkgsrc version of
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-03-05 16:27:22 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
wiz
fd78c59622 On Linux, libmikmod also dynamically loads esound support.
Update conditional. Tested by reed@.
2005-06-04 09:31:10 +00:00
wiz
3dd599d89b Convert away from using USE_ESOUND.
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-06-03 13:19:22 +00:00
rillig
f382a671ad Changed #defined to yes in GNU_CONFIGURE and USE_LIBTOOL. 2005-05-31 21:58:36 +00:00
wiz
7ac375dceb Convert to options framework. 2005-05-31 16:10:19 +00:00
jlam
585534220c Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:
USE_GNU_TOOLS	-> USE_TOOLS
	awk		-> gawk
	m4		-> gm4
	make		-> gmake
	sed		-> gsed
	yacc		-> bison
2005-05-22 20:07:36 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
agc
71c8259803 Add RMD160 digests to the SHA1 ones. 2005-02-23 20:39:42 +00:00
minskim
b1946f84a6 Enable pkgviews installation. Patches provided by Joachim Kuebart on
tech-pkg@.
2005-02-23 03:28:49 +00:00
tv
c487cb967a Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10
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-10-03 00:12:51 +00:00
jlam
1a280185e1 Mechanical changes to package PLISTs to make use of LIBTOOLIZE_PLIST.
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-22 08:09:14 +00:00
wiz
94b7275b5f Update to 3.1.11.1:
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-09-21 08:41:15 +00:00
snj
c8379bcb2f No longer used. 2004-04-12 22:39:35 +00:00
jlam
a4fbec96a6 Don't use PKGNAME when setting WRKSRC; use PKGNAME_NOREV instead. 2004-03-30 18:32:32 +00:00
jlam
326169077a USE_BUILDLINK3 must be set to "yes" or "no", not defined/undefined. 2004-03-23 04:40:59 +00:00
jlam
7db11b582a Fix serious bug where BUILDLINK_PACKAGES wasn't being ordered properly
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-18 09:12:08 +00:00
jlam
9ff0e10340 Reorder location and setting of BUILDLINK_PACKAGES to match template
buildlink3.mk file in revision 1.101 of bsd.buildlink3.mk.
2004-03-05 19:25:06 +00:00
jlam
8840bcd45e Clean up this buildlink3.mk file and check for USE_ESOUND before including
the esound/buildlink3.mk file.  Fixes PR 24485.
2004-02-19 06:41:21 +00:00
jlam
ec993afa1a LIBTOOL_OVERRIDE and SHLIBTOOL_OVERRIDE are now lists of shell globs
relative to ${WRKSRC}.  Remove redundant LIBTOOL_OVERRIDE settings that
are automatically handled by the default setting in bsd.pkg.mk.
2004-02-14 17:21:32 +00:00
xtraeme
aa7f90d1a8 bl3ify and replace obsolete LTCONFIG_OVERRIDE with LIBTOOL_OVERRIDE. 2004-02-11 08:36:17 +00:00
grant
ed16993a08 replace deprecated USE_GMAKE with USE_GNU_TOOLS+=make. 2004-01-22 07:14:59 +00:00
agc
dc52048e01 Move WRKSRC definition away from the first paragraph in a Makefile. 2004-01-20 12:07:06 +00:00
kristerw
9c94ebaa05 Update to a more official home page and master site, and adjust for
the distfile having a different name there.
2004-01-17 19:59:07 +00:00
kristerw
2ae63ec793 www.mikmod.org has been taken over by "Girls In Underwear Pics".
Update MASTER_SITE and HOMEPAGE.
From Michal Pasternak in PR pkg/23824.
2004-01-17 19:32:38 +00:00
seb
ab624bc4d4 Remove info files from PLIST. 2004-01-02 18:06:56 +00:00
jmmv
5e9a1d4886 Make esound support optional, through USE_ESOUND. 2003-09-14 18:00:30 +00:00
seb
0d7159e7bd USE_NEW_TEXINFO is unnecessary now. 2003-08-09 10:27:40 +00:00