summaryrefslogtreecommitdiff
path: root/audio/xhippo
diff options
context:
space:
mode:
authorhubertf <hubertf>1999-02-04 00:06:38 +0000
committerhubertf <hubertf>1999-02-04 00:06:38 +0000
commitae94ded7bdd043299ddb7396da197c64daf9aa61 (patch)
tree046411dcf686c605caf220daacb43533374a3c20 /audio/xhippo
parent0daf07d6c8ea7c586c7a48b86fd9aa13d4829fd9 (diff)
downloadpkgsrc-ae94ded7bdd043299ddb7396da197c64daf9aa61.tar.gz
A generic playlist manager for UNIX
Diffstat (limited to 'audio/xhippo')
-rw-r--r--audio/xhippo/Makefile26
-rw-r--r--audio/xhippo/files/md53
-rw-r--r--audio/xhippo/patches/patch-aa25
-rw-r--r--audio/xhippo/patches/patch-ab13
-rw-r--r--audio/xhippo/patches/patch-ac20
-rw-r--r--audio/xhippo/pkg/COMMENT1
-rw-r--r--audio/xhippo/pkg/DESCR9
-rw-r--r--audio/xhippo/pkg/PLIST9
8 files changed, 106 insertions, 0 deletions
diff --git a/audio/xhippo/Makefile b/audio/xhippo/Makefile
new file mode 100644
index 00000000000..384bc04a91b
--- /dev/null
+++ b/audio/xhippo/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1.1.1 1999/02/04 00:06:38 hubertf Exp $
+#
+
+DISTNAME= xhippo
+PKGNAME= xhippo-0.3
+CATEGORIES= audio x11
+MASTER_SITES= http://zenchaos.netpedia.net/software/
+
+MAINTAINER= hubertf@netbsd.org
+HOMEPAGE= http://zenchaos.netpedia.net/
+
+DEPENDS= gtk+-1.1.12:../../x11/gtk
+
+NO_WRKSUBDIR= YES
+USE_X11= YES
+
+post-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/xhippo
+ ${MV} ${PREFIX}/etc/xhippo.config ${PREFIX}/share/doc/xhippo/xhippo.config.example
+ ${INSTALL_DATA} ${WRKSRC}/BUGS ${PREFIX}/share/doc/xhippo
+ ${INSTALL_DATA} ${WRKSRC}/ChangeLog ${PREFIX}/share/doc/xhippo
+ ${INSTALL_DATA} ${WRKSRC}/LIESMICH ${PREFIX}/share/doc/xhippo
+ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/xhippo
+ ${INSTALL_DATA} ${WRKSRC}/README.fvwm2 ${PREFIX}/share/doc/xhippo
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/audio/xhippo/files/md5 b/audio/xhippo/files/md5
new file mode 100644
index 00000000000..defeb6f65b6
--- /dev/null
+++ b/audio/xhippo/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 1999/02/04 00:06:38 hubertf Exp $
+
+MD5 (xhippo.tar.gz) = d6694052e05530289c351723024f6cd8
diff --git a/audio/xhippo/patches/patch-aa b/audio/xhippo/patches/patch-aa
new file mode 100644
index 00000000000..2dcea4025fd
--- /dev/null
+++ b/audio/xhippo/patches/patch-aa
@@ -0,0 +1,25 @@
+$NetBSD: patch-aa,v 1.1.1.1 1999/02/04 00:06:38 hubertf Exp $
+
+--- Makefile.orig Sat Jan 9 19:04:10 1999
++++ Makefile Tue Jan 19 03:59:18 1999
+@@ -1,10 +1,10 @@
+ # Makefile for xhippo
+
+ # Where binaries are installed to.
+-BINDEST=/usr/local/bin
++BINDEST=${PREFIX}/bin
+
+ # Where the config file is installed to.
+-ETCDEST=/usr/local/etc
++ETCDEST=${PREFIX}/etc
+
+ CC=gcc
+ CFLAGS=-Wall `gtk-config --cflags`
+@@ -18,6 +18,7 @@
+ $(CC) -o xhippo `gtk-config --libs` $(OBJECTS)
+
+ xhippo.o: xhippo.c xhippo.h
++ ${CC} ${CFLAGS} -c xhippo.c -DSYSTEMXHIPPOCONFIG=\"${PREFIX}/etc/xhippo.config\"
+
+ clean:
+ rm -f *~ $(OBJECTS) xhippo xhippo.tar.gz
diff --git a/audio/xhippo/patches/patch-ab b/audio/xhippo/patches/patch-ab
new file mode 100644
index 00000000000..52cba26cacb
--- /dev/null
+++ b/audio/xhippo/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 1999/02/04 00:06:38 hubertf Exp $
+
+--- xhippo.h.orig Sat Jan 9 19:19:51 1999
++++ xhippo.h Tue Jan 19 03:59:39 1999
+@@ -10,7 +10,7 @@
+ #define MAXFILETYPES 100
+
+ /* The location of the system config file. */
+-#define SYSTEMXHIPPOCONFIG "/usr/local/etc/xhippo.config"
++/* #define SYSTEMXHIPPOCONFIG PREFIX # "/etc/xhippo.config" */
+
+ /*---No user-servicable parts below this line!---*/
+
diff --git a/audio/xhippo/patches/patch-ac b/audio/xhippo/patches/patch-ac
new file mode 100644
index 00000000000..09d0111fc3e
--- /dev/null
+++ b/audio/xhippo/patches/patch-ac
@@ -0,0 +1,20 @@
+$NetBSD: patch-ac,v 1.1.1.1 1999/02/04 00:06:38 hubertf Exp $
+
+I got this patch from Adam Sampson <azz@josstix.demon.co.uk>, the
+author of xhippo.
+
+
+--- xhippo.c.orig Sat Jan 9 21:29:39 1999
++++ xhippo.c Wed Feb 3 01:47:12 1999
+@@ -391,7 +391,11 @@
+
+ /* Create the filelist widget. */
+ filelist = gtk_list_new();
++#if 0
+ gtk_container_add(GTK_CONTAINER(scroll), filelist);
++#else
++ gtk_scrolled_window_add_with_viewport(GTK_SCROLLED_WINDOW(scroll), filelist);
++#endif
+ gtk_signal_connect(GTK_OBJECT(filelist), "selection_changed",
+ GTK_SIGNAL_FUNC(handle_listclick), NULL);
+ gtk_widget_set_name(filelist, "filelist");
diff --git a/audio/xhippo/pkg/COMMENT b/audio/xhippo/pkg/COMMENT
new file mode 100644
index 00000000000..cc8f8122cf9
--- /dev/null
+++ b/audio/xhippo/pkg/COMMENT
@@ -0,0 +1 @@
+A generic playlist manager for UNIX
diff --git a/audio/xhippo/pkg/DESCR b/audio/xhippo/pkg/DESCR
new file mode 100644
index 00000000000..6b036874dd2
--- /dev/null
+++ b/audio/xhippo/pkg/DESCR
@@ -0,0 +1,9 @@
+xhippo is a generic playlist manager program for a variety of UNIX
+sound players. It's been shown to work with mpg123, bplay, mikmod,
+s3mod, tracker, xmp and timidity, and should work with more-or-less
+anything that can take a filename on the command line. It is capable
+of automatically deciding which player to use depending on a file's
+extension; the defaults are set in a config file. It uses textual
+playlist files, which are easily generated with the "find" or "locate"
+utilities. xhippo's interface is very loosely modelled on the
+shareware "HippoPlayer" player for the Amiga.
diff --git a/audio/xhippo/pkg/PLIST b/audio/xhippo/pkg/PLIST
new file mode 100644
index 00000000000..6cc1a71ecc5
--- /dev/null
+++ b/audio/xhippo/pkg/PLIST
@@ -0,0 +1,9 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 1999/02/04 00:06:38 hubertf Exp $
+bin/xhippo
+share/doc/xhippo/BUGS
+share/doc/xhippo/ChangeLog
+share/doc/xhippo/LIESMICH
+share/doc/xhippo/README
+share/doc/xhippo/README.fvwm2
+share/doc/xhippo/xhippo.config.example
+@exec if [ ! -f %D/etc/xhippo.config ]; then cp %D/%F %D/etc/xhippo.config ; fi