summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2001-05-19 13:02:23 +0000
committerdrochner <drochner@pkgsrc.org>2001-05-19 13:02:23 +0000
commitae3a2b4922446611002049806f475946cf3d3ae0 (patch)
tree61245dbe7c2566ce1e1cd75c5bbbf4a2587647bf /sysutils
parent923135d492216f1107eb2823ea62087d057688df (diff)
downloadpkgsrc-ae3a2b4922446611002049806f475946cf3d3ae0.tar.gz
initial import of gcdmaster-1.1.5:
graphical frontend for cdrdao-1.1.5 with some editing capability
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/gcdmaster/Makefile38
-rw-r--r--sysutils/gcdmaster/distinfo10
-rw-r--r--sysutils/gcdmaster/patches/patch-ab18
-rw-r--r--sysutils/gcdmaster/patches/patch-ac20
-rw-r--r--sysutils/gcdmaster/patches/patch-ad15
-rw-r--r--sysutils/gcdmaster/patches/patch-ae13
-rw-r--r--sysutils/gcdmaster/patches/patch-af24
-rw-r--r--sysutils/gcdmaster/patches/patch-ag13
-rw-r--r--sysutils/gcdmaster/pkg/DESCR12
-rw-r--r--sysutils/gcdmaster/pkg/PLIST13
10 files changed, 176 insertions, 0 deletions
diff --git a/sysutils/gcdmaster/Makefile b/sysutils/gcdmaster/Makefile
new file mode 100644
index 00000000000..a021e816515
--- /dev/null
+++ b/sysutils/gcdmaster/Makefile
@@ -0,0 +1,38 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/05/19 13:02:23 drochner Exp $
+#
+
+DISTNAME= cdrdao-1.1.5.src
+PKGNAME= gcdmaster-1.1.5
+WRKSRC= ${WRKDIR}/cdrdao-1.1.5
+CATEGORIES= sysutils
+MASTER_SITES= http://prdownloads.sourceforge.net/cdrdao/
+
+MAINTAINER= David Maxwell <david@maxwell.net>
+HOMEPAGE= http://cdrdao.sourceforge.net/gcdmaster/index.html
+COMMENT= GUI for cdrdao with some editing capability
+
+BUILD_DEPENDS+= pccts-1.33.22:../../devel/pccts
+DEPENDS+= cdrdao-1.1.5:../../sysutils/cdrdao
+DEPENDS+= gtk---*:../../x11/gtk--
+DEPENDS+= gnome---*:../../x11/gnome--
+DEPENDS+= libglade-*:../../devel/libglade
+
+USE_X11BASE= yes
+GNU_CONFIGURE= YES
+USE_GMAKE= YES
+CONFIGURE_ARGS+= --with-pcctsbin=${LOCALBASE}/bin
+CONFIGURE_ARGS+= --with-pcctsinc=${LOCALBASE}/include/pccts
+CONFIGURE_ARGS+= --without-posix-threads
+LDFLAGS+= -L../paranoia
+
+#override ARCH to avoid picking up a bad ${ARCH} during the build
+MAKE_ENV+= ARCH=""
+
+post-configure:
+ cd ${WRKSRC}/scsilib/RULES ; \
+ ${TEST} -f netbsd-cc.rul || ${MV} i386-netbsd-cc.rul netbsd-cc.rul; \
+ ${TEST} -f netbsd-gcc.rul || ${MV} i386-netbsd-gcc.rul netbsd-gcc.rul; \
+ ${LN} -sf netbsd-gcc.rul ${MACHINE}-netbsd-gcc.rul; \
+ ${LN} -sf netbsd-cc.rul ${MACHINE}-netbsd-cc.rul;
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/gcdmaster/distinfo b/sysutils/gcdmaster/distinfo
new file mode 100644
index 00000000000..ead5fe880d2
--- /dev/null
+++ b/sysutils/gcdmaster/distinfo
@@ -0,0 +1,10 @@
+$NetBSD: distinfo,v 1.1.1.1 2001/05/19 13:02:23 drochner Exp $
+
+SHA1 (cdrdao-1.1.5.src.tar.gz) = f766277957b8d4eeaa7ec1162ded9b0bf04c4c79
+Size (cdrdao-1.1.5.src.tar.gz) = 868001 bytes
+SHA1 (patch-ab) = 071fedfbc598400d9d41e050aa01c5902e97caaa
+SHA1 (patch-ac) = 92e971a906662feea0311c4f274743bbf9667b47
+SHA1 (patch-ad) = 06fbb3835e49718f90649f3043f72aca1fbdb944
+SHA1 (patch-ae) = b1b22431e6beefb32807ffcedf2b266f761ad4f2
+SHA1 (patch-af) = 51df1d3323a238280bb218a124db583a5c70345f
+SHA1 (patch-ag) = 1f98efd2c8ea46bc4ec148fb7170e192d94b7780
diff --git a/sysutils/gcdmaster/patches/patch-ab b/sysutils/gcdmaster/patches/patch-ab
new file mode 100644
index 00000000000..485c964d209
--- /dev/null
+++ b/sysutils/gcdmaster/patches/patch-ab
@@ -0,0 +1,18 @@
+$NetBSD: patch-ab,v 1.1.1.1 2001/05/19 13:02:23 drochner Exp $
+
+have a default scsi device which is likely to be correct (at least
+on single CD systems).
+
+--- dao/main.cc.orig Tue Oct 26 12:13:46 1999
++++ dao/main.cc Fri Jul 7 12:20:08 2000
+@@ -157,5 +157,9 @@
+ #else
+
+-static const char *SCSI_DEVICE = "0,0,0";
++#if defined (__i386__)
++static const char *SCSI_DEVICE = "/dev/rcd0d";
++#else
++static const char *SCSI_DEVICE = "/dev/rcd0c";
++#endif /* __i386__ */
+ static int FIFO_BUFFERS = 32;
+
diff --git a/sysutils/gcdmaster/patches/patch-ac b/sysutils/gcdmaster/patches/patch-ac
new file mode 100644
index 00000000000..b14b4e5f06e
--- /dev/null
+++ b/sysutils/gcdmaster/patches/patch-ac
@@ -0,0 +1,20 @@
+$NetBSD: patch-ac,v 1.1.1.1 2001/05/19 13:02:23 drochner Exp $
+
+--- scsilib/include/btorder.h.orig Sun Apr 29 11:28:21 2001
++++ scsilib/include/btorder.h Fri May 18 19:04:13 2001
+@@ -54,6 +54,15 @@
+ /*
+ * Bitorder is already known.
+ */
++
++#elif defined(__NetBSD__)
++#include <machine/endian.h>
++#if BYTE_ORDER == LITTLE_ENDIAN
++#define _BIT_FIELDS_LTOH
++#else
++#define _BIT_FIELDS_HTOL
++#endif /* BYTE_ORDER == LITTLE_ENDIAN */
++
+ #else
+ /*
+ * Bitorder not yet known.
diff --git a/sysutils/gcdmaster/patches/patch-ad b/sysutils/gcdmaster/patches/patch-ad
new file mode 100644
index 00000000000..a612f5f931d
--- /dev/null
+++ b/sysutils/gcdmaster/patches/patch-ad
@@ -0,0 +1,15 @@
+$NetBSD: patch-ad,v 1.1.1.1 2001/05/19 13:02:23 drochner Exp $
+
+--- Makefile.in.orig Sun Apr 29 15:42:08 2001
++++ Makefile.in Sat May 19 13:48:00 2001
+@@ -41,8 +41,8 @@
+ #
+ #
+ #
+-SUBDIRS = @scsilib_dir@ edc_ecc trackdb paranoia dao utils @xdao@
+-SUBDIRSINST = trackdb dao utils @xdao@
++SUBDIRS = @scsilib_dir@ edc_ecc trackdb paranoia dao @xdao@
++SUBDIRSINST = @xdao@
+
+ all:
+ for d in $(SUBDIRS) ; do \
diff --git a/sysutils/gcdmaster/patches/patch-ae b/sysutils/gcdmaster/patches/patch-ae
new file mode 100644
index 00000000000..b148f837795
--- /dev/null
+++ b/sysutils/gcdmaster/patches/patch-ae
@@ -0,0 +1,13 @@
+$NetBSD: patch-ae,v 1.1.1.1 2001/05/19 13:02:23 drochner Exp $
+
+--- xdao/Makefile.in.orig Sat May 19 13:04:18 2001
++++ xdao/Makefile.in Sat May 19 13:04:58 2001
+@@ -57,7 +57,7 @@
+ RecordHDTarget.cc AudioCDView.cc TocEditView.cc GenericChild.cc \
+ GenericView.cc CdTextDialog.cc \
+ gcdmaster.cc Project.cc ProjectChooser.cc ViewSwitcher.cc \
+- @sound_if_src@
++ SoundIF-linux.cc
+
+ OBJ = $(SRC:%.cc=%.o)
+
diff --git a/sysutils/gcdmaster/patches/patch-af b/sysutils/gcdmaster/patches/patch-af
new file mode 100644
index 00000000000..475fb17d7a8
--- /dev/null
+++ b/sysutils/gcdmaster/patches/patch-af
@@ -0,0 +1,24 @@
+$NetBSD: patch-af,v 1.1.1.1 2001/05/19 13:02:23 drochner Exp $
+
+--- xdao/SoundIF-linux.cc.orig Sat May 19 00:12:28 2001
++++ xdao/SoundIF-linux.cc Sat May 19 00:16:47 2001
+@@ -34,7 +34,7 @@
+ *
+ */
+
+-#include <linux/soundcard.h>
++#include <soundcard.h>
+
+ #include <stdio.h>
+ #include <assert.h>
+@@ -167,8 +167,8 @@
+ if (dspFd_ >= 0)
+ return 0; // already open
+
+- if ((dspFd_ = open("/dev/dsp", O_WRONLY | O_NONBLOCK)) < 0) {
+- message(-1, "Cannot open \"/dev/dsp\": %s", strerror(errno));
++ if ((dspFd_ = open("/dev/sound", O_WRONLY | O_NONBLOCK)) < 0) {
++ message(-1, "Cannot open \"/dev/sound\": %s", strerror(errno));
+ return 1;
+ }
+
diff --git a/sysutils/gcdmaster/patches/patch-ag b/sysutils/gcdmaster/patches/patch-ag
new file mode 100644
index 00000000000..50d0a8f30ea
--- /dev/null
+++ b/sysutils/gcdmaster/patches/patch-ag
@@ -0,0 +1,13 @@
+$NetBSD: patch-ag,v 1.1.1.1 2001/05/19 13:02:23 drochner Exp $
+
+--- dao/Makefile.in.orig Sat May 19 14:32:30 2001
++++ dao/Makefile.in Sat May 19 14:34:00 2001
+@@ -16,7 +16,7 @@
+ # Installation directories for binaries and manual pages
+ #
+ bindir = @bindir@
+-datadir = @datadir@
++datadir = ${LOCALBASE}/share
+ mandir = @mandir@
+ man1dir = $(mandir)/man1
+ #
diff --git a/sysutils/gcdmaster/pkg/DESCR b/sysutils/gcdmaster/pkg/DESCR
new file mode 100644
index 00000000000..65486d2b52f
--- /dev/null
+++ b/sysutils/gcdmaster/pkg/DESCR
@@ -0,0 +1,12 @@
+Focus
+ Gnome CD Master is a GUI frontend for creating audio CDs and burning
+ them using cdrdao.
+Features
+ Easy to use graphical interface
+ Multiple project support
+ Playing of Audio CD images
+ Easy dump of CDs to disk
+ CD to CD copy
+ Composition of new Audio CDs from wav files
+ Graphical insertion of Track Marks (to divide live recordings)
+ Easy CD-TEXT modification
diff --git a/sysutils/gcdmaster/pkg/PLIST b/sysutils/gcdmaster/pkg/PLIST
new file mode 100644
index 00000000000..3514981737c
--- /dev/null
+++ b/sysutils/gcdmaster/pkg/PLIST
@@ -0,0 +1,13 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/05/19 13:02:23 drochner Exp $
+bin/gcdmaster
+man/man1/xcdrdao.1
+share/pixmaps/gcdmaster/gcdmaster.png
+share/pixmaps/gcdmaster/pixmap_audiocd.png
+share/pixmaps/gcdmaster/pixmap_copycd.png
+share/pixmaps/gcdmaster/pixmap_datacd.png
+share/pixmaps/gcdmaster/pixmap_dumpcd.png
+share/pixmaps/gcdmaster/pixmap_help.png
+share/pixmaps/gcdmaster/pixmap_mixedcd.png
+share/pixmaps/gcdmaster/pixmap_open.png
+share/gnome/apps/Applications/gcdmaster.desktop
+@dirrm share/pixmaps/gcdmaster