diff options
author | marcus <marcus@FreeBSD.org> | 2003-10-02 17:13:39 +0000 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2003-10-02 17:13:39 +0000 |
commit | 64649b26bd1dad765b98b7386be287b10e42999f (patch) | |
tree | 82c3f607efc476e86fe85d5b98d97aab4eac1511 /sysutils | |
parent | f261c8bbc29535db87510b89592e3e7f2bdbfed3 (diff) | |
download | FreeBSD-ports-64649b26bd1dad765b98b7386be287b10e42999f.zip FreeBSD-ports-64649b26bd1dad765b98b7386be287b10e42999f.tar.gz |
* Treat all CD burners as RW to allow for blanking disks
* Burn all disks in DAO mode since n-c-b doesn't support multi-session, and
adding this allows one to burn DVD.
Submitted by: Pav Lucistnik <pav@oook.cz>
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/nautilus-cd-burner/Makefile | 2 | ||||
-rw-r--r-- | sysutils/nautilus-cd-burner/files/patch-cd-drive.c | 13 | ||||
-rw-r--r-- | sysutils/nautilus-cd-burner/files/patch-cd-record.c | 16 |
3 files changed, 28 insertions, 3 deletions
diff --git a/sysutils/nautilus-cd-burner/Makefile b/sysutils/nautilus-cd-burner/Makefile index f073bb0..7e43cd0 100644 --- a/sysutils/nautilus-cd-burner/Makefile +++ b/sysutils/nautilus-cd-burner/Makefile @@ -7,7 +7,7 @@ PORTNAME= nautilus-cd-burner PORTVERSION= 0.5.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= sysutils gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/${PORTNAME}/0.5 diff --git a/sysutils/nautilus-cd-burner/files/patch-cd-drive.c b/sysutils/nautilus-cd-burner/files/patch-cd-drive.c index 1387916..3d6e63b 100644 --- a/sysutils/nautilus-cd-burner/files/patch-cd-drive.c +++ b/sysutils/nautilus-cd-burner/files/patch-cd-drive.c @@ -1,5 +1,5 @@ ---- cd-drive.c.orig Sat Sep 20 00:07:14 2003 -+++ cd-drive.c Sat Sep 20 00:14:56 2003 +--- cd-drive.c.orig Mon Sep 8 15:24:07 2003 ++++ cd-drive.c Thu Oct 2 13:09:02 2003 @@ -702,6 +702,7 @@ int speed = 16; /* XXX Hardcode the write speed for now. */ int max_speed = CDR_MAX_SPEED; @@ -35,3 +35,12 @@ } else { dev = g_strdup (cam_path); } +@@ -742,7 +752,7 @@ + type |= CDDRIVE_TYPE_CD_DRIVE; + if (ioctl (fd, CDRIOCWRITESPEED, &max_speed) >= 0) { + /* XXX is it CD-R or CD-RW ? */ +- type |= CDDRIVE_TYPE_CD_RECORDER; ++ type |= CDDRIVE_TYPE_CDRW_RECORDER; + } + + close (fd); diff --git a/sysutils/nautilus-cd-burner/files/patch-cd-record.c b/sysutils/nautilus-cd-burner/files/patch-cd-record.c new file mode 100644 index 0000000..e7b501b --- /dev/null +++ b/sysutils/nautilus-cd-burner/files/patch-cd-record.c @@ -0,0 +1,16 @@ +--- cd-recorder.c.orig Thu Oct 2 13:09:26 2003 ++++ cd-recorder.c Thu Oct 2 13:10:27 2003 +@@ -334,12 +334,9 @@ + cdrecorder->priv->music_count = build_list_of_music_arguments ("burn:///", &i, argv, 200-i-5); + } else { + cdrecorder->priv->music_count = 0; ++ argv[i++] = "-dao"; /* XXX, this is a hack. */ + argv[i++] = "-data"; + argv[i++] = filename; +- } +- +- if (needs_dvd_writer) { +- argv[i++] = "-dao"; + } + + argv[i++] = NULL; |