1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
|
diff -Nur -x '*.orig' -x '*~' nautilus-cd-burner-2.21.5/src/make-iso.c nautilus-cd-burner-2.21.5.new/src/make-iso.c
--- nautilus-cd-burner-2.21.5/src/make-iso.c 2008-01-22 09:53:29.000000000 +0000
+++ nautilus-cd-burner-2.21.5.new/src/make-iso.c 2008-01-22 09:54:50.000000000 +0000
@@ -837,22 +837,8 @@
static gboolean
ncb_mkisofs_supports_utf8 (void)
{
- static gboolean first = TRUE;
- static gboolean supported;
-
- if (first) {
- char *standard_error;
- gboolean res;
- res = g_spawn_command_line_sync ("mkisofs -input-charset utf8", NULL, &standard_error, NULL, NULL);
- if (res && !g_strrstr (standard_error, "Unknown charset")) {
- supported = TRUE;
- } else {
- supported = FALSE;
- }
- g_free (standard_error);
- }
-
- return supported;
+ /* genisoimage always supports utf8 */
+ return TRUE;
}
static char *
@@ -972,7 +958,7 @@
}
argv = g_ptr_array_new ();
- g_ptr_array_add (argv, "mkisofs");
+ g_ptr_array_add (argv, "genisoimage");
g_ptr_array_add (argv, "-r");
if (use_joliet) {
g_ptr_array_add (argv, "-J");
@@ -1139,7 +1125,7 @@
utf8_filename = ncb_make_valid_utf8 (filename->str);
msg = g_strdup_printf (_("Some files have invalid filenames: \n%s"), utf8_filename);
if (iso->priv->debug) {
- g_print ("mkisofs error: %s\n", msg);
+ g_print ("genisoimage error: %s\n", msg);
}
process_error (iso, msg);
@@ -1253,7 +1239,7 @@
}
argv = g_ptr_array_new ();
- g_ptr_array_add (argv, "mkisofs");
+ g_ptr_array_add (argv, "genisoimage");
g_ptr_array_add (argv, "-r");
if (use_joliet) {
g_ptr_array_add (argv, "-J");
diff -Nur -x '*.orig' -x '*~' nautilus-cd-burner-2.21.5/src/nautilus-burn-recorder.c nautilus-cd-burner-2.21.5.new/src/nautilus-burn-recorder.c
--- nautilus-cd-burner-2.21.5/src/nautilus-burn-recorder.c 2008-01-22 09:53:29.000000000 +0000
+++ nautilus-cd-burner-2.21.5.new/src/nautilus-burn-recorder.c 2008-01-22 09:54:00.000000000 +0000
@@ -1069,22 +1069,8 @@
static gboolean
ncb_mkisofs_supports_utf8 (void)
{
- static gboolean first = TRUE;
- static gboolean supported;
-
- if (first) {
- char *standard_error;
- gboolean res;
- res = g_spawn_command_line_sync ("mkisofs -input-charset utf8", NULL, &standard_error, NULL, NULL);
- if (res && !g_strrstr (standard_error, "Unknown charset")) {
- supported = TRUE;
- } else {
- supported = FALSE;
- }
- g_free (standard_error);
- }
-
- return supported;
+ /* genisoimage always supports utf8 */
+ return TRUE;
}
static int
|