aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/nautilus-cd-burner
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2003-10-03 01:13:39 +0800
committermarcus <marcus@FreeBSD.org>2003-10-03 01:13:39 +0800
commit64649b26bd1dad765b98b7386be287b10e42999f (patch)
tree82c3f607efc476e86fe85d5b98d97aab4eac1511 /sysutils/nautilus-cd-burner
parentf261c8bbc29535db87510b89592e3e7f2bdbfed3 (diff)
downloadfreebsd-ports-gnome-64649b26bd1dad765b98b7386be287b10e42999f.tar.gz
freebsd-ports-gnome-64649b26bd1dad765b98b7386be287b10e42999f.tar.zst
freebsd-ports-gnome-64649b26bd1dad765b98b7386be287b10e42999f.zip
* 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/nautilus-cd-burner')
-rw-r--r--sysutils/nautilus-cd-burner/Makefile2
-rw-r--r--sysutils/nautilus-cd-burner/files/patch-cd-drive.c13
-rw-r--r--sysutils/nautilus-cd-burner/files/patch-cd-record.c16
3 files changed, 28 insertions, 3 deletions
diff --git a/sysutils/nautilus-cd-burner/Makefile b/sysutils/nautilus-cd-burner/Makefile
index f073bb075ebf..7e43cd016dc6 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 138791648f5f..3d6e63b6f500 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 000000000000..e7b501be0227
--- /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;