Package: cdrdao
Version: 1:1.2.1-2
Severity: wishlist

Hi,

gcdmaster is included in the cdrdao sources, but is not
shipped by Debian. It's a very useful tool and it would be
nice to have it in the archive.

I attach a patch to the cdrdao source package which adds
an extra binary package for cdrdao.

The patch contains also a debian/patches/04-cdrecorder.patch
file to change the default cdrdao device from

/dev/cdrecorder

to

/dev/cdrom

which makes cdrdao work out of the box on most Debian systems.

Thanks,

Free
diff -Naur cdrdao-1.2.1/debian/cdrdao.install debian/cdrdao.install
--- cdrdao-1.2.1/debian/cdrdao.install  1970-01-01 01:00:00.000000000 +0100
+++ debian/cdrdao.install       2006-05-31 15:36:14.000000000 +0200
@@ -0,0 +1,7 @@
+usr/bin/cdrdao
+usr/bin/toc2cue
+usr/bin/cue2toc
+usr/bin/toc2cddb
+usr/share/man/man1/cdrdao.1
+usr/share/man/man1/cue2toc.1
+usr/share/cdrdao/drivers
diff -Naur cdrdao-1.2.1/debian/control debian/control
--- cdrdao-1.2.1/debian/control 2006-05-31 16:21:56.000000000 +0200
+++ debian/control      2006-05-31 14:20:18.000000000 +0200
@@ -2,7 +2,7 @@
 Section: otherosfs
 Priority: optional
 Maintainer: Daniel Baumann <[EMAIL PROTECTED]>
-Build-Depends: debhelper (>= 4.0.0), dpatch, autotools-dev, pccts
+Build-Depends: debhelper (>= 4.0.0), dpatch, autotools-dev, pccts, 
libgnomeuimm-2.6-dev, libvorbis-dev, libgtkmm2.0-dev, libao-dev
 Standards-Version: 3.6.2
 
 Package: cdrdao
@@ -15,11 +15,12 @@
  .
  Recording in disk-at-once mode writes the complete disc, i.e. lead-in, one or
  more tracks and lead-out, in a single step. The commonly used track-at-once
- (TAO) mode writes each track independently which requires link blocks between
- two tracks. You probably want to use this if you're copying a CD with multiple
- tracks, like most audio CDs.
- .
- cdrdao can also handle the bin/cue format commonly used for VCDs or disks with
- subchannel data.
- .
- If you just want to burn a normal data CD, you probably want cdrecord instead.
+ (TAO) mode writes each tra+Package: gcdmaster
+
+Package: gcdmaster
+Architecture: any
+Section: sound
+Priority: extra
+Depends: ${shlibs:Depends}, cdrdao
+Description: Easy and Powerful CD Mastering
+ Graphical cd mastering tool.
diff -Naur cdrdao-1.2.1/debian/gcdmaster.install debian/gcdmaster.install
--- cdrdao-1.2.1/debian/gcdmaster.install       1970-01-01 01:00:00.000000000 
+0100
+++ debian/gcdmaster.install    2006-05-31 15:37:39.000000000 +0200
@@ -0,0 +1,10 @@
+usr/bin/gcdmaster
+usr/share/application-registry/gcdmaster.applications
+usr/share/applications/gcdmaster.desktop
+usr/share/gcdmaster/glade/ProjectChooser.glade
+usr/share/man/man1/gcdmaster.1
+usr/share/mime/packages/gcdmaster.xml
+usr/share/mime-info/gcdmaster.keys
+usr/share/mime-info/gcdmaster.mime
+usr/share/pixmaps/gcdmaster.png
+usr/share/pixmaps/gcdmaster-doc.png
diff -Naur cdrdao-1.2.1/debian/patches/00list debian/patches/00list
--- cdrdao-1.2.1/debian/patches/00list  2006-05-31 16:21:56.000000000 +0200
+++ debian/patches/00list       2006-05-31 16:22:50.000000000 +0200
@@ -1,3 +1,4 @@
 01-setuid
 02-conffile
 03-manpage
+04-cdrecorder
diff -Naur cdrdao-1.2.1/debian/patches/04-cdrecorder.dpatch 
debian/patches/04-cdrecorder.dpatch
--- cdrdao-1.2.1/debian/patches/04-cdrecorder.dpatch    1970-01-01 
01:00:00.000000000 +0100
+++ debian/patches/04-cdrecorder.dpatch 2006-05-31 16:20:06.000000000 +0200
@@ -0,0 +1,18 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 04-cdrecorder.dpatch by Free Ekanayaka <[EMAIL PROTECTED]>
+##
+## DP: Change default device to /dev/cdrom
+
[EMAIL PROTECTED]@
+diff -urNad cdrdao-1.2.1~/dao/main.cc cdrdao-1.2.1/dao/main.cc
+--- cdrdao-1.2.1~/dao/main.cc  2006-05-31 16:18:55.000000000 +0200
++++ cdrdao-1.2.1/dao/main.cc   2006-05-31 16:19:12.000000000 +0200
+@@ -119,7 +119,7 @@
+ 
+ #elif defined(__linux__)
+ 
+-static const char *SCSI_DEVICE = "/dev/cdrecorder";
++static const char *SCSI_DEVICE = "/dev/cdrom";
+ static int FIFO_BUFFERS = 32;
+ 
+ #else
diff -Naur cdrdao-1.2.1/debian/rules debian/rules
--- cdrdao-1.2.1/debian/rules   2006-05-31 16:21:56.000000000 +0200
+++ debian/rules        2006-05-31 15:41:01.000000000 +0200
@@ -22,7 +22,7 @@
        dh_testdir
 
        # Configuring package
-       CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) 
--build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man 
--without-lame --without-xdao
+       CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) 
--build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man 
--without-lame --with-ogg-support
 
 build: build-stamp
 build-stamp: config.status
@@ -58,7 +58,7 @@
        dh_installdirs
 
        # Installing package
-       $(MAKE) install DESTDIR=$(CURDIR)/debian/cdrdao
+       $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
 
        # Removing double files
        rm -f debian/cdrdao/usr/bin/cue2toc
@@ -72,7 +72,7 @@
        dh_installchangelogs ChangeLog
        dh_installdocs
        dh_installexamples
-       dh_install
+       dh_install --sourcedir=$(CURDIR)/debian/tmp --list-missing
        dh_installman
        dh_link
        dh_strip

Reply via email to