ports/58802: [PATCH] multimedia/xmms: Enable x86 SIMD (3DNow!/MMX) instructions support
Hideyuki KURASHINA
rushani at FreeBSD.org
Sat Nov 1 12:20:20 UTC 2003
>Number: 58802
>Category: ports
>Synopsis: [PATCH] multimedia/xmms: Enable x86 SIMD (3DNow!/MMX) instructions support
>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: Sat Nov 01 04:20:18 PST 2003
>Closed-Date:
>Last-Modified:
>Originator: Hideyuki KURASHINA
>Release: FreeBSD 5.1-RELEASE-p10 i386
>Organization:
>Environment:
System: FreeBSD ***.********.jp 5.1-RELEASE-p10 FreeBSD 5.1-RELEASE-p10 #1: Sat Nov 1 10:00:21 JST 2003
>Description:
From version 1.2.8, XMMS supports MMX as well as 3DNow! for x86 SIMD
instructions in its MPG123 engine. With this change, configure
argument has changed from
--enable-3dnow
to
--enable-simd
>How-To-Repeat:
% fetch ftp://ftp.xmms.org/pub/xmms/1.2.x/xmms-1.2.7.tar.gz
% pax -zrvf xmms-1.2.7.tar.gz
% xmms-1.2.7/configure --help
% fetch ftp://ftp.xmms.org/pub/xmms/1.2.x/xmms-1.2.8.tar.bz2
% bzip2 -dc xmms-1.2.8.tar.bz2 | pax -rv
% xmms-1.2.8/configure --help
% less xmms-1.2.8/ChangeLog
>Fix:
Apply following patch.
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/multimedia/xmms/Makefile,v
retrieving revision 1.54
diff -u -r1.54 Makefile
--- Makefile 3 Oct 2003 11:11:03 -0000 1.54
+++ Makefile 1 Nov 2003 12:05:36 -0000
@@ -7,7 +7,7 @@
PORTNAME= xmms
PORTVERSION= 1.2.8
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES+= multimedia audio ipv6
MASTER_SITES= ftp://ftp.xmms.org/pub/xmms/1.2.x/ \
http://www.xmms.org/files/1.2.x/ \
@@ -76,14 +76,14 @@
.endif
.if ${MACHINE_ARCH} != "i386"
-WITHOUT_3DNOW= yes
+WITHOUT_SIMD= yes
.endif
-.if !defined(WITHOUT_3DNOW) && ${OSVERSION} >= 400021
-CONFIGURE_ARGS+= --enable-3dnow
+.if !defined(WITHOUT_SIMD) && ${OSVERSION} >= 400021
+CONFIGURE_ARGS+= --enable-simd
.endif
-.if defined(WITHOUT_3DNOW) || ${OSVERSION} < 400021
+.if defined(WITHOUT_SIMD) || ${OSVERSION} < 400021
post-extract:
(cd ${WRKSRC}/Input/mpg123 && ${MV} decode_i586.s decode_i586.S && \
cd ${WRKSRC}/Visualization/blur_scope && ${MV} blur_8.s blur_8.S);
@@ -93,7 +93,7 @@
.endif
pre-extract:
-.if !defined(WITHOUT_MIKMOD) || !defined(WITHOUT_VORBIS) || ( !defined(WITHOUT_3DNOW) && ${OSVERSION} >= 400021 ) || ${HAVE_GNOME:Mesound}!=""
+.if !defined(WITHOUT_MIKMOD) || !defined(WITHOUT_VORBIS) || ( !defined(WITHOUT_SIMD) && ${OSVERSION} >= 400021 ) || ${HAVE_GNOME:Mesound}!=""
@${ECHO_MSG}
.if !defined(WITHOUT_MIKMOD)
@${ECHO_MSG} "You can disable support for mikmod by defining WITHOUT_MIKMOD."
@@ -101,8 +101,8 @@
.if !defined(WITHOUT_VORBIS)
@${ECHO_MSG} "You can disable support for vorbis by defining WITHOUT_VORBIS."
.endif
-.if !defined(WITHOUT_3DNOW) && ${OSVERSION} >= 400021
- @${ECHO_MSG} "You can disable 3DNow! optimized decoding routines by defining WITHOUT_3DNOW."
+.if !defined(WITHOUT_SIMD) && ${OSVERSION} >= 400021
+ @${ECHO_MSG} "You can disable x86 SIMD (3DNow!/MMX) optimized decoding routines by defining WITHOUT_SIMD."
.endif
.if ${HAVE_GNOME:Mesound}!=""
@${ECHO_MSG} "You can disable support for esound by defining WITHOUT_GNOME=esound."
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list