summaryrefslogtreecommitdiff
path: root/audio/gdcd
diff options
context:
space:
mode:
authorrh <rh@pkgsrc.org>1999-09-03 22:15:46 +0000
committerrh <rh@pkgsrc.org>1999-09-03 22:15:46 +0000
commitc86bf95ffada0b04b97444a273ccc68cdac97e40 (patch)
treed231d83c408aa63f6eeeb15a24d63e345c3229bd /audio/gdcd
parent6529df91980d81052a28933b52f58d9c363d53b5 (diff)
downloadpkgsrc-c86bf95ffada0b04b97444a273ccc68cdac97e40.tar.gz
Initial import of gdcd-0.0.2, a GTK CD player supporting CDDB, CD Index,
and Cover Art Index.
Diffstat (limited to 'audio/gdcd')
-rw-r--r--audio/gdcd/Makefile22
-rw-r--r--audio/gdcd/files/md53
-rw-r--r--audio/gdcd/patches/patch-aa17
-rw-r--r--audio/gdcd/patches/patch-ab13
-rw-r--r--audio/gdcd/patches/patch-ac35
-rw-r--r--audio/gdcd/pkg/COMMENT1
-rw-r--r--audio/gdcd/pkg/DESCR23
-rw-r--r--audio/gdcd/pkg/PLIST14
8 files changed, 128 insertions, 0 deletions
diff --git a/audio/gdcd/Makefile b/audio/gdcd/Makefile
new file mode 100644
index 00000000000..1927fae2429
--- /dev/null
+++ b/audio/gdcd/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1.1.1 1999/09/03 22:15:46 rh Exp $
+#
+
+DISTNAME= gdcd-0.0.2
+CATEGORIES= audio
+MASTER_SITES= http://cdcd.undergrid.net/gdcd/source_archive/
+
+MAINTAINER= rh@netbsd.org
+HOMEPAGE= http://cdcd.undergrid.net/gdcd/
+
+DEPENDS+= gtk+-1.2.4:../../x11/gtk
+DEPENDS+= imlib-1.9.4:../../graphics/imlib
+DEPENDS+= pth-1.1.5:../../devel/pth
+DEPENDS+= libcdaudio-0.99.1:../../audio/libcdaudio
+
+GNU_CONFIGURE= YES
+USE_X11BASE= YES
+LDFLAGS+= -ltiff -ljpeg -lpng -lgif -lz -lm
+
+CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include -I${PREFIX}/include"
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/audio/gdcd/files/md5 b/audio/gdcd/files/md5
new file mode 100644
index 00000000000..ee0768be90a
--- /dev/null
+++ b/audio/gdcd/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 1999/09/03 22:15:46 rh Exp $
+
+MD5 (gdcd-0.0.2.tar.gz) = 2c2fee796bd05fcdbacceab099826962
diff --git a/audio/gdcd/patches/patch-aa b/audio/gdcd/patches/patch-aa
new file mode 100644
index 00000000000..719376a9e08
--- /dev/null
+++ b/audio/gdcd/patches/patch-aa
@@ -0,0 +1,17 @@
+$NetBSD: patch-aa,v 1.1.1.1 1999/09/03 22:15:46 rh Exp $
+
+--- source/thread.c.orig Mon Aug 30 03:10:11 1999
++++ source/thread.c Fri Sep 3 19:00:27 1999
+@@ -86,7 +86,12 @@
+ return -1;
+ }
+
++#ifdef HAVE_STRERROR_R
+ strerror_r(rc, message, 64);
++#else
++ strncpy (message, strerror (rc), 64);
++ message[63]='\0';
++#endif
+ fputs("Error invoking pthread_create: ", stderr);
+ fputs(message, stderr);
+ fputc('\n', stderr);
diff --git a/audio/gdcd/patches/patch-ab b/audio/gdcd/patches/patch-ab
new file mode 100644
index 00000000000..3d6e3ab8454
--- /dev/null
+++ b/audio/gdcd/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 1999/09/03 22:15:46 rh Exp $
+
+--- configure.orig Fri Sep 3 19:11:40 1999
++++ configure Fri Sep 3 19:11:56 1999
+@@ -1145,7 +1145,7 @@
+ echo "$ac_t""$host" 1>&6
+
+
+-IMAGE_PATH='${prefix}/share/gdcd'
++IMAGE_PATH='${prefix}/share/pixmaps/gdcd'
+
+
+ trap '' 1 2 15
diff --git a/audio/gdcd/patches/patch-ac b/audio/gdcd/patches/patch-ac
new file mode 100644
index 00000000000..fd36d8ec384
--- /dev/null
+++ b/audio/gdcd/patches/patch-ac
@@ -0,0 +1,35 @@
+$NetBSD: patch-ac,v 1.1.1.1 1999/09/03 22:15:46 rh Exp $
+
+--- images/Makefile.in.orig Fri Sep 3 03:56:10 1999
++++ images/Makefile.in Fri Sep 3 19:15:08 1999
+@@ -166,18 +166,18 @@
+
+
+ install-data-am:
+- $(mkinstalldirs) ${prefix}/share/gdcd
+- $(INSTALL) -m 644 blues.png ${prefix}/share/gdcd
+- $(INSTALL) -m 644 data.png ${prefix}/share/gdcd
+- $(INSTALL) -m 644 folk.png ${prefix}/share/gdcd
+- $(INSTALL) -m 644 jazz.png ${prefix}/share/gdcd
+- $(INSTALL) -m 644 misc.png ${prefix}/share/gdcd
+- $(INSTALL) -m 644 newage.png ${prefix}/share/gdcd
+- $(INSTALL) -m 644 nodisc.png ${prefix}/share/gdcd
+- $(INSTALL) -m 644 reggae.png ${prefix}/share/gdcd
+- $(INSTALL) -m 644 rock.png ${prefix}/share/gdcd
+- $(INSTALL) -m 644 soundtrack.png ${prefix}/share/gdcd
+- $(INSTALL) -m 644 unknown.png ${prefix}/share/gdcd
++ $(mkinstalldirs) ${prefix}/share/pixmaps/gdcd
++ ${BSD_INSTALL_DATA} blues.png ${prefix}/share/pixmaps/gdcd
++ ${BSD_INSTALL_DATA} data.png ${prefix}/share/pixmaps/gdcd
++ ${BSD_INSTALL_DATA} folk.png ${prefix}/share/pixmaps/gdcd
++ ${BSD_INSTALL_DATA} jazz.png ${prefix}/share/pixmaps/gdcd
++ ${BSD_INSTALL_DATA} misc.png ${prefix}/share/pixmaps/gdcd
++ ${BSD_INSTALL_DATA} newage.png ${prefix}/share/pixmaps/gdcd
++ ${BSD_INSTALL_DATA} nodisc.png ${prefix}/share/pixmaps/gdcd
++ ${BSD_INSTALL_DATA} reggae.png ${prefix}/share/pixmaps/gdcd
++ ${BSD_INSTALL_DATA} rock.png ${prefix}/share/pixmaps/gdcd
++ ${BSD_INSTALL_DATA} soundtrack.png ${prefix}/share/pixmaps/gdcd
++ ${BSD_INSTALL_DATA} unknown.png ${prefix}/share/pixmaps/gdcd
+
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
diff --git a/audio/gdcd/pkg/COMMENT b/audio/gdcd/pkg/COMMENT
new file mode 100644
index 00000000000..92ce49b8b60
--- /dev/null
+++ b/audio/gdcd/pkg/COMMENT
@@ -0,0 +1 @@
+a CD player for the X Window System using the GIMP Tool Kit (GTK).
diff --git a/audio/gdcd/pkg/DESCR b/audio/gdcd/pkg/DESCR
new file mode 100644
index 00000000000..c48aa7091f6
--- /dev/null
+++ b/audio/gdcd/pkg/DESCR
@@ -0,0 +1,23 @@
+ gdcd is a CD player for the X Window System which uses the GIMP Tool
+Kit (GTK) and libcdaudio. It is in quite early development at this point,
+but should become quite a bit more functional as time goes on.
+
+There are currently 3 working parts of gdcd:
+
+Button Panel:
+ The button panel provides 8 buttons for controlling CD-ROM operations.
+ Ideas for the cosmetic design of these buttons are quite obviously
+ borrowed from another excellent GTK-based X CD player, XfreeCD. Every
+ single one of them is working in this release, though extended
+ functionality to them will appear in future releases (such as
+ customizable seek control with the forward/reverse buttons.)
+
+Status Bar:
+ The status bar is gdcd's only method of output in this release. It
+ displays the status of network and CD-ROM operations, as well as the
+ track being played when play is started.
+
+Cover Art Display:
+ The cover art display shows the art from the cover of the album
+ currently in the CD-ROM, or if it can't be located, a splash screen
+ for the disc's genre.
diff --git a/audio/gdcd/pkg/PLIST b/audio/gdcd/pkg/PLIST
new file mode 100644
index 00000000000..7bbab288fe0
--- /dev/null
+++ b/audio/gdcd/pkg/PLIST
@@ -0,0 +1,14 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 1999/09/03 22:15:46 rh Exp $
+bin/gdcd
+share/pixmaps/gdcd/blues.png
+share/pixmaps/gdcd/data.png
+share/pixmaps/gdcd/folk.png
+share/pixmaps/gdcd/jazz.png
+share/pixmaps/gdcd/misc.png
+share/pixmaps/gdcd/newage.png
+share/pixmaps/gdcd/nodisc.png
+share/pixmaps/gdcd/reggae.png
+share/pixmaps/gdcd/rock.png
+share/pixmaps/gdcd/soundtrack.png
+share/pixmaps/gdcd/unknown.png
+@dirrm share/pixmaps/gdcd