summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorrh <rh>2000-07-14 10:37:18 +0000
committerrh <rh>2000-07-14 10:37:18 +0000
commit9fbb4b919c279c45d92786013f8b91119e927777 (patch)
tree22912a20080006754af0aa0bf1d25ed49e8a9a14 /audio
parent9b3dcc390acaa297f17c21f36dfda419d2704688 (diff)
downloadpkgsrc-9fbb4b919c279c45d92786013f8b91119e927777.tar.gz
Initial import of aumix-2.7, a GTK+ audio mixer.
Diffstat (limited to 'audio')
-rw-r--r--audio/aumix/Makefile25
-rw-r--r--audio/aumix/files/md53
-rw-r--r--audio/aumix/files/patch-sum13
-rw-r--r--audio/aumix/patches/patch-common_h21
-rw-r--r--audio/aumix/patches/patch-src_common.c25
-rw-r--r--audio/aumix/patches/patch-src_curses.c19
-rw-r--r--audio/aumix/patches/patch-src_curses.h13
-rw-r--r--audio/aumix/patches/patch-src_dummy.c13
-rw-r--r--audio/aumix/patches/patch-src_gpm-xterm.c16
-rw-r--r--audio/aumix/patches/patch-src_gpm-xterm.h16
-rw-r--r--audio/aumix/patches/patch-src_gtk.c23
-rw-r--r--audio/aumix/patches/patch-src_interactive.c21
-rw-r--r--audio/aumix/patches/patch-src_mouse.c21
-rw-r--r--audio/aumix/patches/patch-src_mouse.h13
-rw-r--r--audio/aumix/pkg/COMMENT1
-rw-r--r--audio/aumix/pkg/DESCR5
-rw-r--r--audio/aumix/pkg/PLIST21
17 files changed, 269 insertions, 0 deletions
diff --git a/audio/aumix/Makefile b/audio/aumix/Makefile
new file mode 100644
index 00000000000..73eff529511
--- /dev/null
+++ b/audio/aumix/Makefile
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/07/14 10:37:18 rh Exp $
+
+DISTNAME= aumix-2.7
+CATEGORIES= audio
+MASTER_SITES= http://download.sourceforge.net/aumix/ \
+ http://jpj.net/~trevor/aumix/ \
+ ${MASTER_SITE_SUNSITE:=apps/sound/mixers/} \
+ ftp://aumix.sourceforge.net/pub/aumix/stable/ \
+ http://jpj.net/~trevor/aumix/old/
+
+MAINTAINER= trevor@jpj.net
+HOMEPAGE= http://jpj.net/~trevor/aumix.html
+
+BUILD_DEPENDS+= ${LOCALBASE}/bin/msgfmt:../../devel/gettext
+DEPENDS+= gtk+-1.2.*:../../x11/gtk
+DEPENDS+= ncurses>=4.2:../../devel/ncurses
+
+CFLAGS+= -I${WRKSRC}/src -I${LOCALBASE}/include
+
+GNU_CONFIGURE= yes
+
+CONFIGURE_ARGS= --enable-own-labels
+# --libdir="${PREFIX}/lib"
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/audio/aumix/files/md5 b/audio/aumix/files/md5
new file mode 100644
index 00000000000..e5b234b869c
--- /dev/null
+++ b/audio/aumix/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/07/14 10:37:18 rh Exp $
+
+MD5 (aumix-2.7.tar.gz) = 84ecc331bf6d86d3ac925590fee83af7
diff --git a/audio/aumix/files/patch-sum b/audio/aumix/files/patch-sum
new file mode 100644
index 00000000000..eef8a283bbd
--- /dev/null
+++ b/audio/aumix/files/patch-sum
@@ -0,0 +1,13 @@
+$NetBSD: patch-sum,v 1.1.1.1 2000/07/14 10:37:18 rh Exp $
+
+MD5 (patch-common_h) = 149b759ec1cf1508c00dedbbb12d8d82
+MD5 (patch-src_common.c) = 915fa03d2acad8bfba96aaadb353c75e
+MD5 (patch-src_curses.c) = 46edf4445663405553c4d5050703dfab
+MD5 (patch-src_curses.h) = 67cc8cbaa826f66d537c67b4ced0b684
+MD5 (patch-src_dummy.c) = 9cc223fb864a634c588c3b1c2d2399dd
+MD5 (patch-src_gpm-xterm.c) = 03a5ce0e816be00d54cab9c4a3f88167
+MD5 (patch-src_gpm-xterm.h) = eabcb91a3f8183efa0c02c57cbeff996
+MD5 (patch-src_gtk.c) = a9af995d8b31fde31f7f7768fb38b4d8
+MD5 (patch-src_interactive.c) = dc6a64ff8aeb42f1a425dccea01375a7
+MD5 (patch-src_mouse.c) = 7624b99f8861dad4ed30a182728838c4
+MD5 (patch-src_mouse.h) = 028e63aedabcf95a31f3ad1ef548df10
diff --git a/audio/aumix/patches/patch-common_h b/audio/aumix/patches/patch-common_h
new file mode 100644
index 00000000000..0192596d643
--- /dev/null
+++ b/audio/aumix/patches/patch-common_h
@@ -0,0 +1,21 @@
+$NetBSD: patch-common_h,v 1.1.1.1 2000/07/14 10:37:18 rh Exp $
+
+--- src/common.h.orig Mon Jun 26 22:51:42 2000
++++ src/common.h Wed Jul 12 06:22:32 2000
+@@ -61,14 +61,14 @@
+ * Our `LOCAL_TEXT(STRING)' macro stands in for gettext (STRING)' when using
+ * NLS, and simply returns STRING otherwise.
+ */
+-#ifdef HAVE_NLS
++#if 1
+ #define LOCAL_TEXT(string) gettext (string)
+ #ifdef gettext_noop
+ #define LOCAL_TEXT_NOOP(string) gettext_noop(string)
+ #else
+ #define LOCAL_TEXT_NOOP(string) (string)
+ #endif /* gettext_noop */
+-#ifdef HAVE_LIBINTL_H
++#if 1
+ #include <libintl.h>
+ #include <locale.h>
+ #endif /* HAVE_LIBINTL_H */
diff --git a/audio/aumix/patches/patch-src_common.c b/audio/aumix/patches/patch-src_common.c
new file mode 100644
index 00000000000..ff493afdaa6
--- /dev/null
+++ b/audio/aumix/patches/patch-src_common.c
@@ -0,0 +1,25 @@
+$NetBSD: patch-src_common.c,v 1.1.1.1 2000/07/14 10:37:18 rh Exp $
+
+--- src/common.c.orig Thu Jul 6 09:21:24 2000
++++ src/common.c Tue Jul 11 10:01:04 2000
+@@ -17,15 +17,15 @@
+ * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+-#include "common.h"
++#include "./common.h"
+ #ifdef HAVE_CURSES
+-#include "curses.h"
+-#include "gpm-xterm.h"
++#include "./curses.h"
++#include "./gpm-xterm.h"
+ #endif /* HAVE_CURSES */
+ #ifdef HAVE_GTK
+-#include "gtk.h"
++#include "./gtk.h"
+ #endif /* HAVE_GTK */
+-#include "interactive.h"
++#include "./interactive.h"
+
+ FILE *OpenDefaultFile(char *mode);
+ FILE *setfile;
diff --git a/audio/aumix/patches/patch-src_curses.c b/audio/aumix/patches/patch-src_curses.c
new file mode 100644
index 00000000000..82f03aad380
--- /dev/null
+++ b/audio/aumix/patches/patch-src_curses.c
@@ -0,0 +1,19 @@
+$NetBSD: patch-src_curses.c,v 1.1.1.1 2000/07/14 10:37:18 rh Exp $
+
+--- src/curses.c.orig Mon Jun 26 22:51:42 2000
++++ src/curses.c Tue Jul 11 10:01:13 2000
+@@ -1,10 +1,10 @@
+ /* curses.c: functions specific to ncurses mode */
+-#include "common.h"
++#include "./common.h"
+ #ifdef HAVE_CURSES
+ #include <ctype.h> /* tolower() */
+-#include "curses.h"
+-#include "interactive.h"
+-#include "mouse.h"
++#include "./curses.h"
++#include "./interactive.h"
++#include "./mouse.h"
+
+ char *chark, *charl, *charm, *charo, *charq, *chars, *charu, *lang;
+ int current_dev, level_increment, balance_increment, menu_width, level_width, label_width, balance_width, levelbalmode, cols_saved, lines_saved;
diff --git a/audio/aumix/patches/patch-src_curses.h b/audio/aumix/patches/patch-src_curses.h
new file mode 100644
index 00000000000..644fbff8064
--- /dev/null
+++ b/audio/aumix/patches/patch-src_curses.h
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_curses.h,v 1.1.1.1 2000/07/14 10:37:18 rh Exp $
+
+--- src/curses.h.orig Mon Jun 26 22:51:42 2000
++++ src/curses.h Tue Jul 11 09:54:38 2000
+@@ -4,7 +4,7 @@
+ #include <signal.h> /* updates only needed in interactive modes */
+ #define XOFFSET 0 /* blank columns to leave at the left */
+ #define YOFFSET 0 /* blank lines to leave at the top */
+-#if HAVE_NCURSES_H
++#if 1
+ #include <ncurses.h>
+ #else
+ #include <curses.h>
diff --git a/audio/aumix/patches/patch-src_dummy.c b/audio/aumix/patches/patch-src_dummy.c
new file mode 100644
index 00000000000..09f1a08e8d2
--- /dev/null
+++ b/audio/aumix/patches/patch-src_dummy.c
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_dummy.c,v 1.1.1.1 2000/07/14 10:37:18 rh Exp $
+
+--- src/dummy.c.orig Mon Jun 26 22:51:42 2000
++++ src/dummy.c Tue Jul 11 10:01:19 2000
+@@ -1,7 +1,7 @@
+ /* dummy.c: implement a dummy mixer for debugging on machines without
+ * sound card
+ */
+-#include "common.h"
++#include "./common.h"
+ #ifdef DUMMY_MIXER
+ #define DUMMY_DEVMASK 0x01FFFFFF
+ #define DUMMY_RECMASK 0x00000040
diff --git a/audio/aumix/patches/patch-src_gpm-xterm.c b/audio/aumix/patches/patch-src_gpm-xterm.c
new file mode 100644
index 00000000000..9865525747d
--- /dev/null
+++ b/audio/aumix/patches/patch-src_gpm-xterm.c
@@ -0,0 +1,16 @@
+$NetBSD: patch-src_gpm-xterm.c,v 1.1.1.1 2000/07/14 10:37:18 rh Exp $
+
+--- src/gpm-xterm.c.orig Wed Apr 12 08:02:04 2000
++++ src/gpm-xterm.c Tue Jul 11 10:01:31 2000
+@@ -21,9 +21,9 @@
+ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ ********/
+
+-#include "common.h"
++#include "./common.h"
+ #if defined(HAVE_CURSES) && !defined(HAVE_LIBGPM)
+-#include "gpm-xterm.h"
++#include "./gpm-xterm.h"
+
+ #ifdef HAVE_USEKEYPAD
+ int gpm_keypad(WINDOW * win, int new)
diff --git a/audio/aumix/patches/patch-src_gpm-xterm.h b/audio/aumix/patches/patch-src_gpm-xterm.h
new file mode 100644
index 00000000000..9581b2463f3
--- /dev/null
+++ b/audio/aumix/patches/patch-src_gpm-xterm.h
@@ -0,0 +1,16 @@
+$NetBSD: patch-src_gpm-xterm.h,v 1.1.1.1 2000/07/14 10:37:18 rh Exp $
+
+--- src/gpm-xterm.h.orig Wed Apr 12 08:02:04 2000
++++ src/gpm-xterm.h Tue Jul 11 09:54:38 2000
+@@ -24,11 +24,7 @@
+ #ifndef _GPM_XTERM_H_
+ #define _GPM_XTERM_H_
+
+-#ifdef HAVE_NCURSES_H
+ #include <ncurses.h>
+-#else
+-#include <curses.h>
+-#endif /* HAVE_CURSES */
+
+ /* Xtermish stuff */
+ #define GPM_XTERM_ON \
diff --git a/audio/aumix/patches/patch-src_gtk.c b/audio/aumix/patches/patch-src_gtk.c
new file mode 100644
index 00000000000..5acfb0aed23
--- /dev/null
+++ b/audio/aumix/patches/patch-src_gtk.c
@@ -0,0 +1,23 @@
+$NetBSD: patch-src_gtk.c,v 1.1.1.1 2000/07/14 10:37:18 rh Exp $
+
+--- src/gtk.c.orig Mon Jun 26 22:51:42 2000
++++ src/gtk.c Tue Jul 11 10:01:52 2000
+@@ -19,13 +19,13 @@
+ * February 23rd, 2000
+ */
+
+-#include "common.h"
++#include "./common.h"
+ #ifdef HAVE_GTK
+-#include "gtk.h"
++#include "./gtk.h"
+ #include "../data/aumix.xpm"
+-#include "record.xpm"
+-#include "play.xpm"
+-#include "interactive.h"
++#include "./record.xpm"
++#include "./play.xpm"
++#include "./interactive.h"
+ #include <signal.h> /* SIGALRM */
+
+ void SaveSettingsGTK(void)
diff --git a/audio/aumix/patches/patch-src_interactive.c b/audio/aumix/patches/patch-src_interactive.c
new file mode 100644
index 00000000000..18ce318967b
--- /dev/null
+++ b/audio/aumix/patches/patch-src_interactive.c
@@ -0,0 +1,21 @@
+$NetBSD: patch-src_interactive.c,v 1.1.1.1 2000/07/14 10:37:18 rh Exp $
+
+--- src/interactive.c.orig Mon Jun 26 22:51:42 2000
++++ src/interactive.c Tue Jul 11 10:02:03 2000
+@@ -1,12 +1,12 @@
+ /* interactive.c: functions used in all interactive modes */
+-#include "common.h"
++#include "./common.h"
+ #if defined (HAVE_CURSES) || defined (HAVE_GTK)
+-#include "interactive.h"
++#include "./interactive.h"
+ #ifdef HAVE_CURSES
+-#include "curses.h"
++#include "./curses.h"
+ #endif /* HAVE_CURSES */
+ #ifdef HAVE_GTK
+-#include "gtk.h"
++#include "./gtk.h"
+ #endif /* HAVE_GTK */
+
+ void AumixSignalHandler(int signal_number)
diff --git a/audio/aumix/patches/patch-src_mouse.c b/audio/aumix/patches/patch-src_mouse.c
new file mode 100644
index 00000000000..72a7da0678b
--- /dev/null
+++ b/audio/aumix/patches/patch-src_mouse.c
@@ -0,0 +1,21 @@
+$NetBSD: patch-src_mouse.c,v 1.1.1.1 2000/07/14 10:37:18 rh Exp $
+
+--- src/mouse.c.orig Mon Jun 26 22:51:42 2000
++++ src/mouse.c Tue Jul 11 10:02:12 2000
+@@ -1,12 +1,12 @@
+-#include "common.h"
++#include "./common.h"
+ #if HAVE_CURSES
+ #if HAVE_SYSMOUSE
+ #include <machine/console.h>
+ #include <errno.h>
+ #endif /* HAVE_SYSMOUSE */
+-#include "interactive.h"
+-#include "curses.h"
+-#include "mouse.h"
++#include "./interactive.h"
++#include "./curses.h"
++#include "./mouse.h"
+ #if HAVE_SYSMOUSE
+ extern void SysmouseHandler(int sig);
+ extern int Sysm_Wgetch(WINDOW * win);
diff --git a/audio/aumix/patches/patch-src_mouse.h b/audio/aumix/patches/patch-src_mouse.h
new file mode 100644
index 00000000000..320ea6aa2f5
--- /dev/null
+++ b/audio/aumix/patches/patch-src_mouse.h
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_mouse.h,v 1.1.1.1 2000/07/14 10:37:18 rh Exp $
+
+--- src/mouse.h.orig Tue Apr 11 05:50:42 2000
++++ src/mouse.h Tue Jul 11 10:02:18 2000
+@@ -3,7 +3,7 @@
+ #if HAVE_LIBGPM
+ #include <gpm.h>
+ #else
+-#include "gpm-xterm.h"
++#include "./gpm-xterm.h"
+ #endif /* HAVE_LIBGPM */
+
+ /* buttons for DoMouse() */
diff --git a/audio/aumix/pkg/COMMENT b/audio/aumix/pkg/COMMENT
new file mode 100644
index 00000000000..42f9c1140aa
--- /dev/null
+++ b/audio/aumix/pkg/COMMENT
@@ -0,0 +1 @@
+Set mix levels
diff --git a/audio/aumix/pkg/DESCR b/audio/aumix/pkg/DESCR
new file mode 100644
index 00000000000..d7d8f3853e7
--- /dev/null
+++ b/audio/aumix/pkg/DESCR
@@ -0,0 +1,5 @@
+This program adjusts an audio mixer from X, the console, a terminal,
+the command line or a script. Interactive use is with GTK+ and
+ncurses.
+
+Trevor Johnson <trevor@jpj.net>
diff --git a/audio/aumix/pkg/PLIST b/audio/aumix/pkg/PLIST
new file mode 100644
index 00000000000..770e784ee75
--- /dev/null
+++ b/audio/aumix/pkg/PLIST
@@ -0,0 +1,21 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/07/14 10:37:19 rh Exp $
+bin/xaumix
+man/man1/aumix.1
+man/man1/xaumix.1
+share/aumix/ansi
+share/aumix/aumix.xpm
+share/aumix/fadein.set
+share/aumix/fadeout.set
+share/aumix/vt100
+share/aumix/xterm
+share/locale/de/LC_MESSAGES/aumix.mo
+share/locale/es/LC_MESSAGES/aumix.mo
+share/locale/fr/LC_MESSAGES/aumix.mo
+share/locale/gl/LC_MESSAGES/aumix.mo
+share/locale/ja/LC_MESSAGES/aumix.mo
+share/locale/pl/LC_MESSAGES/aumix.mo
+share/locale/pt_BR/LC_MESSAGES/aumix.mo
+share/locale/ru/LC_MESSAGES/aumix.mo
+share/locale/sv/LC_MESSAGES/aumix.mo
+share/locale/uk/LC_MESSAGES/aumix.mo
+@dirrm share/aumix