ports/68872: audio/libmikmod update to 3.2.0-beta2 ; audio/mikmod update to 3.2.2-beta1

Paul Seniura pdseniura at techie.com
Fri Jul 9 17:20:22 UTC 2004


>Number:         68872
>Category:       ports
>Synopsis:       audio/libmikmod update to 3.2.0-beta2 ; audio/mikmod update to 3.2.2-beta1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 09 17:20:21 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     "Paul Seniura" <pdseniura at techie.com>
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
not much ;)
>Environment:
System: FreeBSD techpc04.okladot.state.ok.us 5.2-CURRENT FreeBSD 5.2-CURRENT #2: Fri Jul 9 10:14:37 CDT 2004 root at techpc04.okladot.state.ok.us:/usr/obj/src/sys/IBM300SY_4BSD_Os i386


>Description:

The [Lib]MikMod project was updated in February 2004. 
The new app & lib have been working fine on my home OSX
Jaguar (10.2.8) and Panther (10.3.4) G4 Sawtooth system. 
They seem to be working fine under FreeBSD/i386-Current
on this IBM 300PL (aka "puny pentium2 box"), too.  ;)


>How-To-Repeat:

Try the following patches to build the new versions. 
Please read the discussion below them, too.


>Fix:


Patches for audio/libmikmod (build this first):

===cut-here===
--- Makefile_orig	Mon Jun 14 00:53:39 2004
+++ Makefile	Thu Jul  8 14:53:56 2004
@@ -6,9 +6,10 @@
 #
 
 PORTNAME=	libmikmod
-PORTVERSION=	3.1.11
+PORTVERSION=	3.2.0
 CATEGORIES=	audio
 MASTER_SITES=	http://mikmod.raphnet.net/files/
+DISTNAME=	${PORTNAME}-${PORTVERSION}-beta2
 
 MAINTAINER=	david at dyn-ns.net
 COMMENT=	MikMod Sound Library
@@ -24,6 +25,8 @@
 
 MAN1=		libmikmod-config.1
 INFO=		mikmod
+
+CFLAGS+=	-O3	
 
 .include <bsd.port.pre.mk>
 
--- distinfo_orig	Mon Jun 14 00:53:39 2004
+++ distinfo	Thu Jul  8 14:04:24 2004
@@ -1,2 +1,2 @@
-MD5 (libmikmod-3.1.11.tar.gz) = 705106da305e8de191549f1e7393185c
-SIZE (libmikmod-3.1.11.tar.gz) = 611590
+MD5 (libmikmod-3.2.0-beta2.tar.gz) = 19fc0879aebd1610813a23bd84726362
+SIZE (libmikmod-3.2.0-beta2.tar.gz) = 760967
===cut-here===


The libmikmod files/patch-ad still fits and
seems to still be required.


Patches for audio/mikmod (the main app):

===cut-here===
--- Makefile_orig	Mon Jun 14 00:53:39 2004
+++ Makefile	Thu Jul  8 15:26:51 2004
@@ -6,15 +6,18 @@
 #
 
 PORTNAME=	mikmod
-PORTVERSION=	3.2.1
-PORTREVISION=	1
+PORTVERSION=	3.2.2
+#PORTREVISION=	1
 CATEGORIES=	audio
 MASTER_SITES=	http://mikmod.raphnet.net/files/
+DISTNAME=	${PORTNAME}-${PORTVERSION}-beta1
 
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	Mod player which plays MTM, STM, XM, MOD, S3M, ULT, UNI and IT mods
 
-LIB_DEPENDS=	mikmod.2:${PORTSDIR}/audio/libmikmod
+LIB_DEPENDS=	mikmod.3:${PORTSDIR}/audio/libmikmod
+
+CFLAGS+=	-O3	
 
 USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
--- distinfo_orig	Mon Jun 14 00:53:39 2004
+++ distinfo	Thu Jul  8 15:06:15 2004
@@ -1,2 +1,2 @@
-MD5 (mikmod-3.2.1.tar.gz) = a60c3221ca48aed301f4b62b4741eebe
-SIZE (mikmod-3.2.1.tar.gz) = 148919
+MD5 (mikmod-3.2.2-beta1.tar.gz) = 9a9534a054afe8d28cc784041e6d1519
+SIZE (mikmod-3.2.2-beta1.tar.gz) = 285630
===cut-here===



Some notes about this update:


(1)  A big one concerning libmikmod:

The FreeBSD LIB_DEPENDS system changes its designation
from 'mikmod.2' to 'mikmod.3'.  I don't know why; I'm not
very experienced in this.  ;)  If this is correct, many
other ports are going to need to follow this change. 
According to the latest CTM deltas available at the time
of this writing for src-cur and ports-cur (company firewall
here blocks CVS/CVSup), a grep for 'mikmod.2' under the
ports tree shows the following apps needing changing:
	audio/alsaplayer
	audio/musicpd
	audio/sdl_sound
	audio/simplemod
	devel/clanlib-devel
	games/xpuyopuyo
	games/xscorch
	games/stratagus
	misc/bb
	multimedia/beep-media-player
	multimedia/gstreamer-plugins
	multimedia/xmms
I haven't tested any of these apps with the updated lib.


(2)  The mikmod WITH_COLOR knob will specify
'--enable-color-interface' for the configure step. 
This parm did not show up on the updated app's
"./configure --help" list.  It may be an automatic setting
now; I don't know.  Turning on this knob seems to not
affect the configure step, tho, so I left this intact in
the FreeBSD Makefile.  I did turn this on for building and
testing these updates.


(3)  The original project's makefiles set -O2 and also
specify several related -f parms.  The -O3 patches included
above are optional and seem to work fine with -Current's
system compiler in order to activate those -f parms also.



  --  thx, Paul Seniura.

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list