summaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils')
-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 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;
OpenPOWER on IntegriCloud