summaryrefslogtreecommitdiffstats
path: root/audio/xmixer
diff options
context:
space:
mode:
authorcpiazza <cpiazza@FreeBSD.org>1999-11-14 03:17:42 +0000
committercpiazza <cpiazza@FreeBSD.org>1999-11-14 03:17:42 +0000
commit7e2a4bdfb9da80df82d22d46ad881b75d28dbcfd (patch)
treebdabc100cdadab81ae944c13209648b0e4c06e3d /audio/xmixer
parent1ea3b1b71eabc0a38ed703533d9147d53573879b (diff)
downloadFreeBSD-ports-7e2a4bdfb9da80df82d22d46ad881b75d28dbcfd.zip
FreeBSD-ports-7e2a4bdfb9da80df82d22d46ad881b75d28dbcfd.tar.gz
Import of xmixer.
Xmixer includes two programs, xmixer and gmixer. xmixer uses Athena widgets and gmixer uses GTK+. It can change the volume for multiple devices, select input device(s) for recording, hide devices you don't want to see, and has batch support. PR: 14555 Submitted by: Trevor Johnson <trevor@jpj.net>
Diffstat (limited to 'audio/xmixer')
-rw-r--r--audio/xmixer/Makefile26
-rw-r--r--audio/xmixer/distinfo1
-rw-r--r--audio/xmixer/files/patch-aa36
-rw-r--r--audio/xmixer/files/patch-ab28
-rw-r--r--audio/xmixer/files/patch-ad16
-rw-r--r--audio/xmixer/files/patch-ae22
-rw-r--r--audio/xmixer/files/patch-af16
-rw-r--r--audio/xmixer/pkg-comment1
-rw-r--r--audio/xmixer/pkg-descr19
-rw-r--r--audio/xmixer/pkg-plist2
10 files changed, 167 insertions, 0 deletions
diff --git a/audio/xmixer/Makefile b/audio/xmixer/Makefile
new file mode 100644
index 0000000..4ca6487
--- /dev/null
+++ b/audio/xmixer/Makefile
@@ -0,0 +1,26 @@
+# New ports collection makefile for: xmixer
+# Version required: 0.9.3
+# Date created: 27 October 1999
+# Whom: trevor@jpj.net
+#
+# $FreeBSD$
+#
+
+DISTNAME= xmixer-0.9.3
+CATEGORIES= audio
+MASTER_SITES= http://www.hdk-berlin.de/~rasca/
+MASTER_SITE_SUBDIR= apps/sound/mixers
+
+MAINTAINER= trevor@jpj.net
+
+WRKSRC= ${WRKDIR}/xmixer
+
+GNU_CONFIGURE= yes
+USE_GMAKE= yes
+
+MAN1= xmixer.1
+
+post-extract:
+ @${RM} ${WRKSRC}/config.cache
+
+.include <bsd.port.mk>
diff --git a/audio/xmixer/distinfo b/audio/xmixer/distinfo
new file mode 100644
index 0000000..9ce0d12
--- /dev/null
+++ b/audio/xmixer/distinfo
@@ -0,0 +1 @@
+MD5 (xmixer-0.9.3.tar.gz) = 61afafb8604bf1bbbd050df990a0e387
diff --git a/audio/xmixer/files/patch-aa b/audio/xmixer/files/patch-aa
new file mode 100644
index 0000000..98a2fd7
--- /dev/null
+++ b/audio/xmixer/files/patch-aa
@@ -0,0 +1,36 @@
+--- Makefile.in.orig Sat Aug 21 15:25:07 1999
++++ Makefile.in Wed Oct 27 06:02:28 1999
+@@ -33,16 +33,18 @@
+ mkfb.pl < XMixer.ad > fallback.h
+
+ gui_gtk.o: gui_gtk.c
+- $(CC) $(CFLAGS) $(INCS) `gtk-config --cflags` -c $<
++ $(CC) $(CFLAGS) $(INCS) `gtk12-config --cflags` -c $<
+
+ %.o: %.c
+ $(CC) $(CFLAGS) $(INCS) -c $<
+
++all: gmixer xmixer
++
+ xmixer: Xw/libXw.a $(OBJS)
+ $(LD) $(LDFLAGS) -o $@ $(OBJS) $(LIBS)
+
+ gmixer: $(G_OBJS)
+- $(LD) $(LDFLAGS) -o $@ $(G_OBJS) `gtk-config --libs`
++ $(LD) $(LDFLAGS) -o $@ $(G_OBJS) `gtk12-config --libs`
+
+ Xw/libXw.a:
+ cd Xw && make libXw.a
+@@ -51,9 +53,9 @@
+ lynx -dump http://www/~rasca/xmixer/index.html | sed "s%//www/%//home.pages.de/%" > README
+
+ install: $(PROGS)
+- install -o bin xmixer $(bindir)
+- install xmixer.man $(mandir)/xmixer.1
+- install -o bin gmixer $(bindir)
++ install -c -o bin xmixer $(bindir)
++ install -c xmixer.man $(mandir)/xmixer.1
++ install -c -o bin gmixer $(bindir)
+
+ install.lib: libmixer.a
+ install libsmixer.a $(LIBDIR)
diff --git a/audio/xmixer/files/patch-ab b/audio/xmixer/files/patch-ab
new file mode 100644
index 0000000..ff41943
--- /dev/null
+++ b/audio/xmixer/files/patch-ab
@@ -0,0 +1,28 @@
+--- configure.in.orig Sat Aug 21 05:46:55 1999
++++ configure.in Tue Oct 26 23:48:36 1999
+@@ -17,21 +17,21 @@
+ AC_PATH_X
+ AC_PATH_XTRA
+ LDFLAGS="$LDFLAGS -L$x_libraries/"
+-CFLAGS="$CFLAGS -I$x_includes/"
++CFLAGS="$CFLAGS -I$x_includes/ -I/usr/X11R6/include/gtk12/"
+
+ AC_CHECK_LIB(Xt, XtVaSetValues)
+ AC_CHECK_LIB(Xaw, XawPanedGetNumSub)
+
+ __cflags=$CFLAGS
+-CFLAGS="$CFLAGS `gtk-config --cflags`"
++CFLAGS="$CFLAGS `gtk12-config --cflags`"
+ __libs=$LIBS
+-LIBS="$LIBS `gtk-config --libs`"
++LIBS="$LIBS `gtk12-config --libs`"
+ AC_CHECK_LIB(gdk, gdk_init)
+ AC_CHECK_LIB(gtk, gtk_main)
+ CFLAGS=$__cflags
+ LIBS=$__libs
+
+-__gtk=`gtk-config --version`
++__gtk=`gtk12-config --version`
+ case "$__gtk" in
+ 1.2*)
+ x_progs="xmixer gmixer"
diff --git a/audio/xmixer/files/patch-ad b/audio/xmixer/files/patch-ad
new file mode 100644
index 0000000..143f3e0
--- /dev/null
+++ b/audio/xmixer/files/patch-ad
@@ -0,0 +1,16 @@
+--- main.c.orig Sat Aug 21 15:26:37 1999
++++ main.c Tue Oct 26 23:47:37 1999
+@@ -22,7 +22,13 @@
+
+ #include <stdio.h>
+ #include <stdlib.h> /* free() */
++#if HAVE_GETOPT_H
+ #include <getopt.h>
++#else
++extern int getopt();
++extern char *optarg;
++extern int optind;
++#endif
+ #include <limits.h>
+ #include "gui.h"
+ #include "mixer.h"
diff --git a/audio/xmixer/files/patch-ae b/audio/xmixer/files/patch-ae
new file mode 100644
index 0000000..08af966
--- /dev/null
+++ b/audio/xmixer/files/patch-ae
@@ -0,0 +1,22 @@
+--- mixer.c.orig Sat Aug 21 15:26:41 1999
++++ mixer.c Tue Oct 26 23:47:37 1999
+@@ -46,7 +46,18 @@
+ # include <sys/asound.h>
+ #endif
+ #ifdef OSS
+-# include <sys/soundcard.h>
++/* "The nice thing about standards..." */
++#if defined (__linux__) || defined (__bsdi__)
++#include <sys/soundcard.h>
++#else
++#if defined (__FreeBSD__)
++#include <machine/soundcard.h>
++#else
++#if defined (__NetBSD__) || defined (__OpenBSD__)
++#include <soundcard.h> /* OSS emulation */
++#endif
++#endif
++#endif
+ #endif
+ #include "mixer.h"
+
diff --git a/audio/xmixer/files/patch-af b/audio/xmixer/files/patch-af
new file mode 100644
index 0000000..8587fbc
--- /dev/null
+++ b/audio/xmixer/files/patch-af
@@ -0,0 +1,16 @@
+--- xmixer.man.orig Sat Aug 21 13:57:37 1999
++++ xmixer.man Wed Oct 27 06:07:12 1999
+@@ -4,9 +4,11 @@
+ .\"
+ .TH XMIXER 1 "Aug 1999" "GNU" "Version 0.9"
+ .SH NAME
+-xmixer - Xaw-based soundcard mixer program for Linux/X11
++
++.Sh NAME
++.Nm xmixer, gmixer
++.Nd Xaw- and GTK+-based soundcard mixer programs for X11
+ .br
+-gmixer - Gtk+-based soundcard mixer program for Linux/X11
+ .SH SYNOPSIS
+ .BI "xmixer [-h?qnVD] [-m "<device> "] [-d "<display> "] [-g "<geom> "]
+
diff --git a/audio/xmixer/pkg-comment b/audio/xmixer/pkg-comment
new file mode 100644
index 0000000..beab6c5
--- /dev/null
+++ b/audio/xmixer/pkg-comment
@@ -0,0 +1 @@
+Audio mixer (gtk and Xlib) for X11R6
diff --git a/audio/xmixer/pkg-descr b/audio/xmixer/pkg-descr
new file mode 100644
index 0000000..72b9eda
--- /dev/null
+++ b/audio/xmixer/pkg-descr
@@ -0,0 +1,19 @@
+This package includes two programs for adjusting sound mixers: xmixer, which
+uses the Athena toolkit, and gmixer, based on GTK+. From the README:
+
+ Features:
+ * For every device which is supported by the soundcard you can
+ change the volume via a slider. Unsupported devices are not shown.
+ * Select the input device(s) for recording.
+ * On startup a configuration file is read which restores device
+ settings.
+ * With a menu option you can save the current settings for the next
+ start up.
+ * Hide devices which you don't want to see.
+ * Batch support - just read and evaluate the settings in the
+ configuration file.
+
+WWW: http://home.pages.de/~rasca/xmixer/
+
+Trevor Johnson
+trevor@jpj.net
diff --git a/audio/xmixer/pkg-plist b/audio/xmixer/pkg-plist
new file mode 100644
index 0000000..76d537b
--- /dev/null
+++ b/audio/xmixer/pkg-plist
@@ -0,0 +1,2 @@
+bin/xmixer
+bin/gmixer
OpenPOWER on IntegriCloud