Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Aug 2005 02:52:59 +0200
From:      "Andreas Kohn" <andreas@syndrom23.de>
To:        "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org>
Subject:   ports/85238: [MAINTAINER-UPDATE] devel/dumb to 0.9.3
Message-ID:  <1124758379.0@klamath.syndrom23.de>
Resent-Message-ID: <200508230100.j7N10cZ6042138@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         85238
>Category:       ports
>Synopsis:       [MAINTAINER-UPDATE] devel/dumb to 0.9.3
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 23 01:00:38 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Andreas Kohn
>Release:        FreeBSD 7.0-CURRENT i386
>Organization:
>Environment:


System: FreeBSD 7.0-CURRENT #20: Mon Aug 22 20:25:19 CEST 2005
    root@klamath.syndrom23.de:/usr/obj/usr/src/sys/KLAMATH



>Description:


New to this release are 
- lower memory usage, 
- faster mixing loops which are now on a par with ModPlug's, 
- loading of text fields in the module files, 
- faster load functions for projects that don't need to seek within the module or know its length, 
- a dumb2wav tool, 
- many small playback fixes.
- 100% accurate length calculation

(adapted from the webpage release announcement)

Note to committer: 
I'm not 100% sure if doing 
MAKE_ARGS=      _PORT_ALLEGRO_CFLAGS="`allegro-config --cflags`"
is correct (is allegro-config supposed to be in the PATH? Should I use ${LOCALBASE}/bin or ${PREFIX}/bin?
As it is, it works as long as allegro-config is in the path. The dumb Makefiles also expect that.





>How-To-Repeat:





>Fix:


--- dumb-0.9.2-0.9.3.diff begins here ---
Index: distinfo
===================================================================
--- distinfo	(revision 296)
+++ distinfo	(working copy)
@@ -1,2 +1,2 @@
-MD5 (dumb-0.9.2-fixed.tar.gz) = 0ce45f64934e6d5d7b82a55108596680
-SIZE (dumb-0.9.2-fixed.tar.gz) = 145722
+MD5 (dumb-0.9.3.tar.gz) = f48da5b990aa8aa822d3b6a951baf5c2
+SIZE (dumb-0.9.3.tar.gz) = 167379
Index: files/patch-Makefile
===================================================================
--- files/patch-Makefile	(revision 296)
+++ files/patch-Makefile	(working copy)
@@ -1,16 +1,23 @@
---- Makefile.orig	Sat Feb 26 15:24:14 2005
-+++ Makefile	Sat Feb 26 15:25:07 2005
-@@ -186,10 +186,10 @@
- OFLAGS := -O2 -ffast-math -fomit-frame-pointer
- DBGFLAGS := -DDEBUGMODE=1 -g3
+--- Makefile.orig	Mon Aug  8 02:18:41 2005
++++ Makefile	Tue Aug 23 02:21:13 2005
+@@ -22,7 +22,7 @@
+ #                    (Note that this is unable to delete the dumbask
+ #                    executable if the configuration is absent.)
  
+-MAKEFILE = Makefile.rdy
++MAKEFILE = Makefile
+ 
+ .PHONY: all install uninstall clean veryclean distclean config config-if-necessary make-outdirs
+ 
+@@ -231,10 +231,10 @@
+ endif
+ endif
+ 
 -CFLAGS_RELEASE := -Iinclude $(WFLAGS) $(OFLAGS)
 -CFLAGS_DEBUG := -Iinclude $(WFLAGS) $(DBGFLAGS)
-+CFLAGS_RELEASE := -Iinclude -I$(PREFIX)/include $(WFLAGS) $(OFLAGS) 
-+CFLAGS_DEBUG := -Iinclude -I$(PREFIX)/include $(WFLAGS) $(DBGFLAGS)
++CFLAGS_RELEASE := -Iinclude -I$(PREFIX)/include $(_PORT_ALLEGRO_CFLAGS) $(WFLAGS) $(OFLAGS) 
++CFLAGS_DEBUG := -Iinclude -I$(PREFIX)/include $(_PORT_ALLEGRO_CFLAGS) $(WFLAGS) $(DBGFLAGS)
  
--LDFLAGS := -s
-+LDFLAGS := -s -L$(PREFIX)/lib
+ LDFLAGS := -s
  
- 
- CORE_EXAMPLES_OBJ := $(addprefix examples/, $(notdir $(patsubst %.c, %.o, $(CORE_EXAMPLES))))
+
Index: pkg-plist
===================================================================
--- pkg-plist	(revision 296)
+++ pkg-plist	(working copy)
@@ -1,5 +1,6 @@
 %%ALLEGRO%%bin/dumbplay
 bin/dumbout
+bin/dumb2wav
 include/dumb.h
 %%ALLEGRO%%include/aldumb.h
 lib/libdumb.a
Index: Makefile
===================================================================
--- Makefile	(revision 296)
+++ Makefile	(working copy)
@@ -6,11 +6,10 @@
 #
 
 PORTNAME=	dumb
-PORTVERSION=	0.9.2
+PORTVERSION=	0.9.3
 CATEGORIES=	devel audio
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	dumb
-DISTNAME=	dumb-${PORTVERSION}-fixed
 
 MAINTAINER=	andreas@syndrom23.de
 COMMENT=	IT, XM, S3M and MOD player library
@@ -19,12 +18,12 @@
 LIB_DEPENDS=	alleg.41:${PORTSDIR}/devel/allegro
 
 PLIST_SUB+=	ALLEGRO=
+MAKE_ARGS=	_PORT_ALLEGRO_CFLAGS="`allegro-config --cflags`"
 .else
 PLIST_SUB+=	ALLEGRO='@comment '
+MAKE_ARGS=	_PORT_ALLEGRO_CFLAGS=
 .endif
 
-WRKSRC=		${WRKDIR}/dumb
-
 USE_REINPLACE=	yes
 USE_GMAKE=	yes
 
--- dumb-0.9.2-0.9.3.diff ends here ---



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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1124758379.0>