Hi,

emacs is able to play sound files, which currently uses
libossaudio. It can play certain .wav and .au files but it blocks
during playback (means that you can't edit files during playback).

Is someone using this feature? or is it there because it compiled
by accident?

Some suggested to disable it rather than writing the missing sndio
bits. I agree. As an emacs user, I couldn't convince myself that it
could be useful, neither I see the point of spending time on
maintaining it.

OK to disable it?

Thanks to jca@ for the diff below.

-- Alexandre

Index: Makefile
===================================================================
RCS file: /cvs/ports/editors/emacs/Makefile,v
retrieving revision 1.45
diff -u -p -r1.45 Makefile
--- Makefile    10 Sep 2014 19:47:17 -0000      1.45
+++ Makefile    25 Oct 2014 11:08:47 -0000
@@ -15,7 +15,7 @@ MAINTAINER=           Jeremie Courreges-Anglas <j
 # GPLv3+
 PERMIT_PACKAGE_CDROM=  Yes
 
-WANTLIB=               c m ncurses ossaudio pthread execinfo gnutls xml2
+WANTLIB=               c m ncurses pthread execinfo gnutls xml2
 
 MASTER_SITES=          ${MASTER_SITE_GNU:=emacs/}
 
@@ -30,9 +30,10 @@ CONFIGURE_STYLE=     autoconf
 AUTOCONF_VERSION=      2.69
 MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/build-aux
 CONFIGURE_ARGS=                --build="${GCCARCH}" \
-                       --without-compress-info
+                       --without-compress-info \
+                       --without-sound
 
-CONFIGURE_ENV=         CPPFLAGS="-I${LOCALBASE}/include -DHAVE_SOUND" \
+CONFIGURE_ENV=         CPPFLAGS="-I${LOCALBASE}/include" \
                        LDFLAGS="-L${LOCALBASE}/lib -nopie"
 CFLAGS+=               -fno-pie
 


Reply via email to