diff options
author | wiz <wiz> | 2001-03-12 21:10:25 +0000 |
---|---|---|
committer | wiz <wiz> | 2001-03-12 21:10:25 +0000 |
commit | ef5ae0c4a7f8cf31e197657adcd02c23e4c90f80 (patch) | |
tree | d8583e4a116bc3c5070175cda7ff9ee5111df210 /audio/wsoundserver | |
parent | 05fe293d6995c352c00c070d41d86fd5b78657dc (diff) | |
download | pkgsrc-ef5ae0c4a7f8cf31e197657adcd02c23e4c90f80.tar.gz |
Initial import of WSoundServer, a sound server for window maker, reacting
to window manager events (like starting/exiting applications, hiding,
maximizing, ...).
Supersedes audio/wmsound, thus closing pkg/9523.
Diffstat (limited to 'audio/wsoundserver')
-rw-r--r-- | audio/wsoundserver/Makefile | 39 | ||||
-rw-r--r-- | audio/wsoundserver/files/WMSound | 27 | ||||
-rw-r--r-- | audio/wsoundserver/files/md5 | 3 | ||||
-rw-r--r-- | audio/wsoundserver/files/patch-sum | 8 | ||||
-rw-r--r-- | audio/wsoundserver/patches/patch-aa | 13 | ||||
-rw-r--r-- | audio/wsoundserver/patches/patch-ab | 25 | ||||
-rw-r--r-- | audio/wsoundserver/patches/patch-ac | 13 | ||||
-rw-r--r-- | audio/wsoundserver/patches/patch-ad | 13 | ||||
-rw-r--r-- | audio/wsoundserver/patches/patch-ae | 13 | ||||
-rw-r--r-- | audio/wsoundserver/patches/patch-af | 36 | ||||
-rw-r--r-- | audio/wsoundserver/pkg/DESCR | 4 | ||||
-rw-r--r-- | audio/wsoundserver/pkg/PLIST | 18 |
12 files changed, 212 insertions, 0 deletions
diff --git a/audio/wsoundserver/Makefile b/audio/wsoundserver/Makefile new file mode 100644 index 00000000000..c41973e9896 --- /dev/null +++ b/audio/wsoundserver/Makefile @@ -0,0 +1,39 @@ +# $NetBSD: Makefile,v 1.1.1.1 2001/03/12 21:10:25 wiz Exp $ +# + +DISTNAME= WSoundServer-0.4.0 +PKGNAME= wsoundserver-0.4.0 +CATEGORIES= audio wm +MASTER_SITES= ftp://shadowmere.student.utwente.nl/pub/WindowMaker/ + +MAINTAINER= packages@netbsd.org +HOMEPAGE= http://shadowmere.student.utwente.nl/ +COMMENT= sound server for windowmaker + +DEPENDS+= libaudiofile>=0.2.1:../../audio/libaudiofile +DEPENDS+= libdockapp>=0.4:../../devel/libdockapp +DEPENDS+= libproplist>=0.10.1:../../devel/libproplist +DEPENDS+= windowmaker>=0.64.0:../../wm/windowmaker + +GNU_CONFIGURE= YES +USE_LIBTOOL= YES +LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig +USE_X11BASE= YES + +CONFIGURE_ARGS+= --with-incs-from=-I${LOCALBASE}/include + +post-patch: + @cd ${WRKSRC}/doc && for f in *; do \ + ${SED} "s/1x/1/g" $$f > $$f.tmp && ${MV} $$f.tmp $$f; \ + done && \ + for f in get-wsound-flags.1x getsoundset.1x setsoundset.1x \ + wsoundplay.1x wsoundserver.1x; do \ + g=`${ECHO} $$f | ${SED} "s/x$$//"`; \ + ${MV} $$f $$g; \ + done + ${SED} "s|@PREFIX@|${PREFIX}|" ${FILESDIR}/WMSound > ${WRKSRC}/WMSound + +post-install: + ${INSTALL_DATA} ${WRKSRC}/WMSound ${PREFIX}/etc/WindowMaker + +.include "../../mk/bsd.pkg.mk" diff --git a/audio/wsoundserver/files/WMSound b/audio/wsoundserver/files/WMSound new file mode 100644 index 00000000000..c604556f195 --- /dev/null +++ b/audio/wsoundserver/files/WMSound @@ -0,0 +1,27 @@ +{ + SoundPath = ( + "~/GNUstep/Library/WindowMaker/Sounds", + "@PREFIX@/share/WindowMaker/Sounds" + ); + SoundSetPath = ( + "~/GNUstep/Library/WindowMaker/SoundSets", + "@PREFIX@/share/WindowMaker/SoundSets" + ); + Device = "/dev/audio"; + AppExit = appexit.wav; + AppStart = appstart.wav; + DeIconify = deiconify.wav; + Dock = dock.wav; + Hide = hide.wav; + Iconify = iconify.wav; + Kaboom = kaboom.wav; + Maximize = maximize.wav; + Shade = shade.wav; + Shutdown = shutdown.wav; + Startup = startup.wav; + UnDock = undock.wav; + UnHide = unhide.wav; + UnMaximize = unmaximize.wav; + UnShade = unshade.wav; + UserDefined = replaceme.wav; +} diff --git a/audio/wsoundserver/files/md5 b/audio/wsoundserver/files/md5 new file mode 100644 index 00000000000..aeb331c504e --- /dev/null +++ b/audio/wsoundserver/files/md5 @@ -0,0 +1,3 @@ +$NetBSD: md5,v 1.1.1.1 2001/03/12 21:10:25 wiz Exp $ + +SHA1 (WSoundServer-0.4.0.tar.gz) = b414025f0f19e66cd9146546ecf634564941b1e4 diff --git a/audio/wsoundserver/files/patch-sum b/audio/wsoundserver/files/patch-sum new file mode 100644 index 00000000000..0a2492ac8d9 --- /dev/null +++ b/audio/wsoundserver/files/patch-sum @@ -0,0 +1,8 @@ +$NetBSD: patch-sum,v 1.1.1.1 2001/03/12 21:10:25 wiz Exp $ + +SHA1 (patch-aa) = 8613c67a3b87007255cd075128c7c5a62cdaf4a3 +SHA1 (patch-ab) = 93853707636168459e842c90c6dc313ded1cb02a +SHA1 (patch-ac) = f93b9bb268af157e443cb87a4621081de79eee1b +SHA1 (patch-ad) = 998cc4b2f87c4bce4d8c32e42aa9c06134633252 +SHA1 (patch-ae) = 3a008dc50f6e78070ceb78b1f564d7c94be2dfea +SHA1 (patch-af) = 1ea20d0e00d19a2c23bb8e07cdf182e43db28ca8 diff --git a/audio/wsoundserver/patches/patch-aa b/audio/wsoundserver/patches/patch-aa new file mode 100644 index 00000000000..c09bc0b74fe --- /dev/null +++ b/audio/wsoundserver/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1.1.1 2001/03/12 21:10:25 wiz Exp $ + +--- src/Makefile.in.orig Fri Mar 31 22:10:25 2000 ++++ src/Makefile.in +@@ -106,7 +106,7 @@ + INCLUDES = -I$(top_srcdir)/wslib @HEADER_SEARCH_PATH@ + + +-wsoundserver_LDADD = $(top_builddir)/wslib/libwsound.la @LIBRARY_SEARCH_PATH@ @LIBPL@ @XLIBS@ @LIBDA@ ++wsoundserver_LDADD = $(top_builddir)/wslib/libwsound.la @LIBRARY_SEARCH_PATH@ @LIBPL@ -Wl,-R${X11BASE}/lib @XLIBS@ @LIBDA@ + + mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs + CONFIG_CLEAN_FILES = diff --git a/audio/wsoundserver/patches/patch-ab b/audio/wsoundserver/patches/patch-ab new file mode 100644 index 00000000000..ccbf643ced0 --- /dev/null +++ b/audio/wsoundserver/patches/patch-ab @@ -0,0 +1,25 @@ +$NetBSD: patch-ab,v 1.1.1.1 2001/03/12 21:10:25 wiz Exp $ + +--- util/Makefile.in.orig Fri Mar 31 22:10:25 2000 ++++ util/Makefile.in +@@ -103,17 +103,17 @@ + # X_EXTRA_LIBS is for libproplist in systems that need -lsocket + liblist = @LIBRARY_SEARCH_PATH@ @LIBPL@ @X_EXTRA_LIBS@ + +-wsoundplay_LDADD = $(top_builddir)/wslib/libwsound.la @LIBRARY_SEARCH_PATH@ @LIBPL@ @XLIBS@ ++wsoundplay_LDADD = $(top_builddir)/wslib/libwsound.la @LIBRARY_SEARCH_PATH@ @LIBPL@ -Wl,-R${X11BASE}/lib @XLIBS@ + + + wsoundplay_SOURCES = wsoundplay.c + +-getsoundset_LDADD = $(top_builddir)/wslib/libwsound.la @LIBRARY_SEARCH_PATH@ @LIBPL@ @XLIBS@ ++getsoundset_LDADD = $(top_builddir)/wslib/libwsound.la @LIBRARY_SEARCH_PATH@ @LIBPL@ -Wl,-R${X11BASE}/lib @XLIBS@ + + + getsoundset_SOURCES = getsoundset.c + +-setsoundset_LDADD = $(top_builddir)/wslib/libwsound.la @LIBRARY_SEARCH_PATH@ @LIBPL@ @XLIBS@ ++setsoundset_LDADD = $(top_builddir)/wslib/libwsound.la @LIBRARY_SEARCH_PATH@ @LIBPL@ -Wl,-R${X11BASE}/lib @XLIBS@ + + + setsoundset_SOURCES = setsoundset.c diff --git a/audio/wsoundserver/patches/patch-ac b/audio/wsoundserver/patches/patch-ac new file mode 100644 index 00000000000..6a916a949a9 --- /dev/null +++ b/audio/wsoundserver/patches/patch-ac @@ -0,0 +1,13 @@ +$NetBSD: patch-ac,v 1.1.1.1 2001/03/12 21:10:25 wiz Exp $ + +--- wslib/Makefile.in.orig Fri Mar 31 22:10:25 2000 ++++ wslib/Makefile.in +@@ -227,7 +227,7 @@ + maintainer-clean-libtool: + + libwsound.la: $(libwsound_la_OBJECTS) $(libwsound_la_DEPENDENCIES) +- $(LINK) -rpath $(libdir) $(libwsound_la_LDFLAGS) $(libwsound_la_OBJECTS) $(libwsound_la_LIBADD) $(LIBS) ++ $(LINK) -rpath $(libdir) $(libwsound_la_LDFLAGS) $(libwsound_la_OBJECTS) $(libwsound_la_LIBADD) $(LIBS) -lossaudio + + mostlyclean-noinstPROGRAMS: + diff --git a/audio/wsoundserver/patches/patch-ad b/audio/wsoundserver/patches/patch-ad new file mode 100644 index 00000000000..33b12344616 --- /dev/null +++ b/audio/wsoundserver/patches/patch-ad @@ -0,0 +1,13 @@ +$NetBSD: patch-ad,v 1.1.1.1 2001/03/12 21:10:25 wiz Exp $ + +--- wslib/audio_voxware.c.orig Fri Mar 31 22:14:40 2000 ++++ wslib/audio_voxware.c +@@ -106,7 +106,7 @@ + { + assert(audiofd > 0); + +- if (ioctl(audiofd, SNDCTL_DSP_RESET) == -1) { ++ if (ioctl(audiofd, SNDCTL_DSP_RESET, NULL) == -1) { + perror("SNDCTL_DSP_RESET"); + SErrorCode = SERR_DEVRESET; + return -1; diff --git a/audio/wsoundserver/patches/patch-ae b/audio/wsoundserver/patches/patch-ae new file mode 100644 index 00000000000..308ad5983f6 --- /dev/null +++ b/audio/wsoundserver/patches/patch-ae @@ -0,0 +1,13 @@ +$NetBSD: patch-ae,v 1.1.1.1 2001/03/12 21:10:25 wiz Exp $ + +--- wslib/config.c.orig Fri Mar 31 22:10:25 2000 ++++ wslib/config.c +@@ -37,7 +37,7 @@ + #include <limits.h> + #include "wsound.h" + +-#include <WUtil.h> ++#include <WINGs/WUtil.h> + #include <assert.h> + + diff --git a/audio/wsoundserver/patches/patch-af b/audio/wsoundserver/patches/patch-af new file mode 100644 index 00000000000..77bf4b7531a --- /dev/null +++ b/audio/wsoundserver/patches/patch-af @@ -0,0 +1,36 @@ +$NetBSD: patch-af,v 1.1.1.1 2001/03/12 21:10:25 wiz Exp $ + +--- wslib/info.c.orig Fri Mar 31 22:10:25 2000 ++++ wslib/info.c +@@ -138,12 +138,6 @@ + case AF_COMPRESSION_APPLE_MAC6: + fprintf(stderr, "Apple MAC6\n"); + break; +- case AF_COMPRESSION_MPEG1: +- fprintf(stderr, "MPEG 1\n"); +- break; +- case AF_COMPRESSION_AWARE_MULTIRATE: +- fprintf(stderr, "Aware MultiRate\n"); +- break; + case AF_COMPRESSION_G726: + fprintf(stderr, "G726\n"); + break; +@@ -158,18 +152,6 @@ + break; + case AF_COMPRESSION_FS1016: + fprintf(stderr, "FS1016\n"); +- break; +- case AF_COMPRESSION_DEFAULT_MPEG_I: +- fprintf(stderr, "MPEG 1 Layer 1\n"); +- break; +- case AF_COMPRESSION_DEFAULT_MPEG_II: +- fprintf(stderr, "MPEG 1 Layer 2\n"); +- break; +- case AF_COMPRESSION_DEFAULT_MULTIRATE: +- fprintf(stderr, "MultiRate\n"); +- break; +- case AF_COMPRESSION_DEFAULT_LOSSLESS: +- fprintf(stderr, "Lossless\n"); + break; + default: + fprintf(stderr, "Unknown\n"); diff --git a/audio/wsoundserver/pkg/DESCR b/audio/wsoundserver/pkg/DESCR new file mode 100644 index 00000000000..6459acbf0a3 --- /dev/null +++ b/audio/wsoundserver/pkg/DESCR @@ -0,0 +1,4 @@ +WSoundServer is a dockapp which interprets WindowMaker events (such as +shading a window or minimizing an application) and plays a sound associated +with that event. Since it's dockable, you can have it automatically launch +on startup, or "kill" it off if it becomes too noisy. diff --git a/audio/wsoundserver/pkg/PLIST b/audio/wsoundserver/pkg/PLIST new file mode 100644 index 00000000000..4f25d3aead5 --- /dev/null +++ b/audio/wsoundserver/pkg/PLIST @@ -0,0 +1,18 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2001/03/12 21:10:25 wiz Exp $ +bin/get-wsound-flags +bin/getsoundset +bin/setsoundset +bin/wsoundplay +bin/wsoundserver +include/wsound.h +lib/libwsound.a +lib/libwsound.la +lib/libwsound.so +lib/libwsound.so.1 +lib/libwsound.so.1.3 +man/man1/get-wsound-flags.1 +man/man1/getsoundset.1 +man/man1/setsoundset.1 +man/man1/wsoundplay.1 +man/man1/wsoundserver.1 +etc/WindowMaker/WMSound |