Alexandre Ratchov <a...@caoua.org> writes: > On Sun, Oct 26, 2014 at 04:01:03PM +0100, Alexandre Ratchov wrote: >> 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? >> > > As we maintain two versions of emacs, the question holds for both > ;)
I am ok to remove ossaudio from emacs 24. emacs 21 doesn't actually support playing audio files (look for HAVE_SOUND in src/config.in and src/sound.c, OpenBSD is not whitelisted). emacs 21 is merely linked against libossaudio. Here's a diff to stop linking against it, even though this port shouldn't get in your (Alexandre's) way if it stays as is. Unless you plan to remove libossaudio completely? Index: Makefile =================================================================== RCS file: /cvs/ports/editors/emacs21/Makefile,v retrieving revision 1.74 diff -u -p -r1.74 Makefile --- Makefile 16 Jul 2014 09:11:43 -0000 1.74 +++ Makefile 26 Oct 2014 21:20:48 -0000 @@ -11,7 +11,7 @@ FULLPKGNAME-el= emacs-el-${VERSION} FULLPKGPATH-el= editors/emacs21,-el FULLPKGNAME-leim= emacs-leim-${VERSION} FULLPKGPATH-leim= editors/emacs21,-leim -REVISION-main= 28 +REVISION-main= 29 REVISION-el= 7 REVISION-leim= 7 @@ -40,13 +40,14 @@ LDFLAGS= -Z -L${LOCALBASE}/lib -nopie CFLAGS += -fno-pie CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ - LDFLAGS="${LDFLAGS}" + LDFLAGS="${LDFLAGS}" \ + ac_cv_lib_ossaudio__oss_ioctl=no MAKE_ENV= INSTALL_EMACS="${INSTALL_SCRIPT}" SUBST_VARS= GCCARCH VERSION -WANTLIB-main= c m ncurses ossaudio +WANTLIB-main= c m ncurses .if ${FLAVOR:Mno_x11} CONFIGURE_ARGS+= --with-x=no -- jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF DDCC 0DFA 74AE 1524 E7EE