rpms/xcdroast/devel .cvsignore, 1.7, 1.8 sources, 1.7, 1.8 xcdroast-0.98alpha15-13_cdrecord_to_wodim.patch, 1.1, 1.2 xcdroast-0.98alpha15-prodvd.patch, 1.4, 1.5 xcdroast-0.98alpha15-scan.patch, 1.4, 1.5 xcdroast.spec, 1.33, 1.34 xcdroast-0.98alpha15-01_upstream_configure.patch, 1.1, NONE xcdroast-0.98alpha15-02_upstream_gtk2locale.patch, 1.1, NONE xcdroast-0.98alpha15-03_upstream_64bit_gsize.patch, 1.1, NONE xcdroast-0.98alpha15-04_upstream_read_eagain.patch, 1.1, NONE xcdroast-0.98alpha15-05_upstream_wav.patch, 1.1, NONE xcdroast-0.98alpha15-06_man.patch, 1.1, NONE xcdroast-0.98alpha15-07_case_cmp.patch, 1.1, NONE xcdroast-0.98alpha15-08_desktop.patch, 1.1, NONE xcdroast-0.98alpha15-09_share_dir.patch, 1.1, NONE xcdroast-0.98alpha15-10_cddbtool.patch, 1.1, NONE xcdroast-0.98alpha15-11_mkisofs_options.patch, 1.1, NONE xcdroast-0.98alpha15-12_cdrecord_versions.patch, 1.1, NONE xcdroast-0.98alpha15-frozen_gui.patch, 1.2, NONE

Roman Rakus rrakus at fedoraproject.org
Tue Feb 17 14:17:53 UTC 2009


Author: rrakus

Update of /cvs/extras/rpms/xcdroast/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv16450

Modified Files:
	.cvsignore sources 
	xcdroast-0.98alpha15-13_cdrecord_to_wodim.patch 
	xcdroast-0.98alpha15-prodvd.patch 
	xcdroast-0.98alpha15-scan.patch xcdroast.spec 
Removed Files:
	xcdroast-0.98alpha15-01_upstream_configure.patch 
	xcdroast-0.98alpha15-02_upstream_gtk2locale.patch 
	xcdroast-0.98alpha15-03_upstream_64bit_gsize.patch 
	xcdroast-0.98alpha15-04_upstream_read_eagain.patch 
	xcdroast-0.98alpha15-05_upstream_wav.patch 
	xcdroast-0.98alpha15-06_man.patch 
	xcdroast-0.98alpha15-07_case_cmp.patch 
	xcdroast-0.98alpha15-08_desktop.patch 
	xcdroast-0.98alpha15-09_share_dir.patch 
	xcdroast-0.98alpha15-10_cddbtool.patch 
	xcdroast-0.98alpha15-11_mkisofs_options.patch 
	xcdroast-0.98alpha15-12_cdrecord_versions.patch 
	xcdroast-0.98alpha15-frozen_gui.patch 
Log Message:
New version 0.98alpha16. Some spec file fixes. Resolves: #226550


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/xcdroast/devel/.cvsignore,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- .cvsignore	9 Sep 2004 14:37:51 -0000	1.7
+++ .cvsignore	17 Feb 2009 14:17:22 -0000	1.8
@@ -1 +1 @@
-xcdroast-0.98alpha15.tar.gz
+xcdroast-0.98alpha16.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/xcdroast/devel/sources,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- sources	9 Sep 2004 14:37:51 -0000	1.7
+++ sources	17 Feb 2009 14:17:23 -0000	1.8
@@ -1 +1 @@
-2a9c1d9f2ef58713c453e674b989be3e  xcdroast-0.98alpha15.tar.gz
+bc3d335a30f292067eaaf1ea03ebaf17  xcdroast-0.98alpha16.tar.gz

xcdroast-0.98alpha15-13_cdrecord_to_wodim.patch:

Index: xcdroast-0.98alpha15-13_cdrecord_to_wodim.patch
===================================================================
RCS file: /cvs/extras/rpms/xcdroast/devel/xcdroast-0.98alpha15-13_cdrecord_to_wodim.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- xcdroast-0.98alpha15-13_cdrecord_to_wodim.patch	13 Aug 2007 14:18:22 -0000	1.1
+++ xcdroast-0.98alpha15-13_cdrecord_to_wodim.patch	17 Feb 2009 14:17:23 -0000	1.2
@@ -1,5 +1,27 @@
---- xcdroast-0.98alpha15/src/xcdrdata.h.p23	2003-05-26 22:55:44.000000000 +0200
-+++ xcdroast-0.98alpha15/src/xcdrdata.h	2007-08-13 15:36:40.000000000 +0200
+diff -up xcdroast-0.98alpha16/src/menus.c.p23 xcdroast-0.98alpha16/src/menus.c
+--- xcdroast-0.98alpha16/src/menus.c.p23	2008-08-20 17:41:28.000000000 +0200
++++ xcdroast-0.98alpha16/src/menus.c	2009-02-09 16:55:07.000000000 +0100
+@@ -2701,7 +2701,7 @@ static const gchar *blanktrans[] = BLANK
+ 	gtk_container_set_border_width (GTK_CONTAINER (box1), 5);
+         gtk_container_add(GTK_CONTAINER(dialog),box1);
+ 
+-        if (!curset.isProDVD) {
++        if (!curset.isDVD) {
+ 		f1 = gtk_frame_new(_("Blank CD-RW"));
+         } else {
+ 		f1 = gtk_frame_new(_("Blank CD/DVD+-RW"));
+@@ -2811,7 +2811,7 @@ static const gchar *blanktrans[] = BLANK
+ 	gtk_box_pack_start(GTK_BOX(box1),box3,FALSE,TRUE,5);
+ 	gtk_widget_show(box3);
+ 
+-        if (!curset.isProDVD) {
++        if (!curset.isDVD) {
+ 		button1 = gtk_button_new_with_label(_("Blank CD-RW"));
+         } else {
+ 		button1 = gtk_button_new_with_label(_("Blank CD/DVD+-RW"));
+diff -up xcdroast-0.98alpha16/src/xcdrdata.h.p23 xcdroast-0.98alpha16/src/xcdrdata.h
+--- xcdroast-0.98alpha16/src/xcdrdata.h.p23	2008-08-20 17:57:53.000000000 +0200
++++ xcdroast-0.98alpha16/src/xcdrdata.h	2009-02-09 16:55:07.000000000 +0100
 @@ -60,7 +60,9 @@ typedef struct setup_data {
  	gboolean root_option_change_imagedirs;
  	gboolean root_option_change_logoptions;
@@ -19,414 +41,64 @@
  	gint support_ontheflyaudio;
  	gint writer_devnr;
  	gint reader_devnr;
---- xcdroast-0.98alpha15/src/xcdrwrap.c.p23	2007-08-13 15:36:40.000000000 +0200
-+++ xcdroast-0.98alpha15/src/xcdrwrap.c	2007-08-13 15:36:40.000000000 +0200
-@@ -277,8 +277,8 @@ char tmp[MAXLINE];
- 		strcpy(ret, CDRECORD);
- 		return ret;
- 	}
--	if (strncmp(cmd,"CDRECORDPRODVD",MAXLINE) == 0) {
--		strcpy(ret, CDRECORDPRODVD);
-+	if (strncmp(cmd,"CDRECORDDVD",MAXLINE) == 0) {
-+		strcpy(ret, CDRECORDDVD);
- 		return ret;
- 	}
- 	if (strncmp(cmd,"CDDA2WAV",MAXLINE) == 0) {
-@@ -314,9 +314,9 @@ char tmp[MAXLINE];
- #endif
- 		/* show found paths of helper apps */
- 		get_spawn_path(CDRECORD, tmp, 1);
--		printf("cdrecord found at: %s\n", tmp);
--		get_spawn_path(CDRECORDPRODVD, tmp, 1);
--		printf("cdrecord-ProDVD found at: %s\n", tmp);
-+		printf(CDRECORD_NAME " found at: %s\n", tmp);
-+		get_spawn_path(CDRECORDDVD, tmp, 1);
-+		printf(CDRECORDDVD_NAME " found at: %s\n", tmp);
- 		get_spawn_path(CDDA2WAV, tmp, 1);
- 		printf("cdda2wav found at: %s\n", tmp);
- 		get_spawn_path(READCD, tmp, 1);
---- xcdroast-0.98alpha15/src/create.c.p23	2003-10-30 12:28:10.000000000 +0100
-+++ xcdroast-0.98alpha15/src/create.c	2007-08-13 15:36:40.000000000 +0200
-@@ -523,7 +523,7 @@ GtkWidget *scrolled_win, *list;
-         gtk_widget_show(tbl);
-         vbox = gtk_vbox_new(FALSE,10);
-         gtk_table_attach_defaults(GTK_TABLE(tbl),vbox,1,2,0,1);
--	if (!curset.isProDVD) {
-+	if (!curset.isDVD) {
-         	f1 = gtk_frame_new(_("CD-Information"));
- 	} else {
-         	f1 = gtk_frame_new(_("CD/DVD-Information"));
-@@ -1260,7 +1260,7 @@ GtkWidget *scrolled_win, *img_list;
-         gtk_widget_show(tbl);
-         vbox = gtk_vbox_new(FALSE,10);
-         gtk_table_attach_defaults(GTK_TABLE(tbl),vbox,0,1,0,1);
--	if (!curset.isProDVD) {
-+	if (!curset.isDVD) {
-         	f1 = gtk_frame_new(_("CD-Information"));
- 	} else {
-         	f1 = gtk_frame_new(_("CD/DVD-Information"));
-@@ -2979,7 +2979,7 @@ GtkTargetEntry target_entry[3];
-                 GTK_SIGNAL_FUNC(fixate_clicked), NULL);
-         define_tooltip(b1,_("Just fixate (close) the CD, if for some reason the CD has been written but not fixated."));
- 
--	if (!curset.isProDVD) {
-+	if (!curset.isDVD) {
-         	b1 = gtk_button_new_with_label(_("Blank CD-RW"));
- 	} else {
-         	b1 = gtk_button_new_with_label(_("Blank CD/DVD+-RW"));
-@@ -3086,7 +3086,7 @@ GtkTargetEntry target_entry[3];
-                 gtk_widget_show (menu_item);
-                 i++;
-         }
--        if (curset.isProDVD) {
-+        if (curset.isDVD) {
-                 i = 0;
-                 tmpval = curset.cdrtype;
-                 while (dvdtypes[i] != 0) {
-@@ -5774,7 +5774,7 @@ GtkObject *adj;
- 	bootable_frame1 = NULL;
- 	bootable_frame2 = NULL;
- 
--	if (!curset.isProDVD) {
-+	if (!curset.isDVD) {
- 		f1 = gtk_frame_new(_("Options to create a bootable CD"));
- 	} else {
- 		f1 = gtk_frame_new(_("Options to create a bootable CD/DVD"));
-@@ -5794,7 +5794,7 @@ GtkObject *adj;
- 	gtk_box_pack_start(GTK_BOX(vbox),tbl,FALSE,FALSE,0);
-         gtk_widget_show(tbl);
- 
--	if (!curset.isProDVD) {
-+	if (!curset.isDVD) {
-         	l1 = rightjust_gtk_label_new(_("Make CD bootable?"));
- 	} else {
-         	l1 = rightjust_gtk_label_new(_("Make CD/DVD bootable?"));
+diff -up xcdroast-0.98alpha16/src/create.c.p23 xcdroast-0.98alpha16/src/create.c
+--- xcdroast-0.98alpha16/src/create.c.p23	2008-08-20 17:57:53.000000000 +0200
++++ xcdroast-0.98alpha16/src/create.c	2009-02-09 16:55:07.000000000 +0100
 @@ -6792,7 +6792,7 @@ gint sel, btn;
  			fill_session_available();
  			/* force recalc of session size if dvd */
  			/* so he will get the multisession warning */
--			if (curset.cdrtype >= 1000 && curset.isProDVD == 1 && curset.multisession == 1) {
-+			if (curset.cdrtype >= 1000 && curset.isDVD == 1 && curset.multisession == 1) {
+-			if (curset.cdrtype >= 1000 && ( curset.isProDVD & 1 ) && curset.multisession == 1) {
++			if (curset.cdrtype >= 1000 && ( curset.isDVD & 1 ) && curset.multisession == 1) {
  				set_sessionsize_unknown();	
  			}
  			break;
-@@ -7023,7 +7023,7 @@ gchar tmp2[MAXLINE];
-                 gtk_widget_show (menu_item);
-                 i++;
-         }
--        if (curset.isProDVD) {
-+        if (curset.isDVD) {
-                 i = 0;
-                 tmpval = curset.cdrtype;
-                 while (dvdtypes[i] != 0) {
-@@ -7174,7 +7174,7 @@ gchar tmp2[MAXLINE];
-         gtk_widget_show(b1);
-         define_tooltip(b1,_("Set additional write options for advanced users."));
- 	/* blank button */
--	if (!curset.isProDVD) {
-+	if (!curset.isDVD) {
-         	b1 = gtk_button_new_with_label(_("Blank CD-RW"));
- 	} else {
-         	b1 = gtk_button_new_with_label(_("Blank CD/DVD+-RW"));
---- xcdroast-0.98alpha15/src/xtools.c.p23	2007-08-13 15:36:40.000000000 +0200
-+++ xcdroast-0.98alpha15/src/xtools.c	2007-08-13 15:36:40.000000000 +0200
-@@ -2376,7 +2376,7 @@ struct stat buf;
- 
- /* reroute a command through the wrapper */
- /* cmd is one of "CDRECORD", "MKISOFS", "CDDA2WAV", "READCD" 
--   or "CDRECORDPRODVD" */
-+   or "CDRECORDDVD" */
- 
- gchar *get_wrap_path(gchar *cmd, gchar *ret) {
- gchar tmp[MAXLINE];
-@@ -2388,15 +2388,15 @@ gchar tmp[MAXLINE];
- }
- 
- /* reroute the cdrecord command through the wrapper */
--/* determine automatically if proDVD version is needed or not */
-+/* determine automatically if (pro)DVD version is needed or not */
- 
- gchar *get_wrap_path_cdrecord(gchar *ret) {
- gchar tmp[MAXLINE];
- 
- 	/* use DVD version if installed and media type > 1GB */
--	if (curset.isProDVD && curset.cdrtype > 1000) {
-+	if (curset.isDVD && curset.cdrtype > 1000) {
- 		g_snprintf(tmp,MAXLINE,"%s/%s %s", libdir, WRAPPER, 
--			"CDRECORDPRODVD");
-+			"CDRECORDDVD");
- 	} else {
- 		g_snprintf(tmp,MAXLINE,"%s/%s %s", libdir, WRAPPER, 
- 			"CDRECORD");
-@@ -2411,7 +2411,7 @@ gchar tmp[MAXLINE];
- 
- gint get_gracetime() {
- 
--	if (curset.isProDVD && curset.cdrtype > 1000) {
-+	if (curset.isDVD && curset.cdrtype > 1000) {
- 		/* use 10 seconds for prodvd, because the keycheck
- 		   can take a while... */
- 		return 10;
-@@ -3522,7 +3522,7 @@ gint count;
- 
- /* return whether we have a empty CD-R or DVD-R in the drive */
- /* we are sure that there IS a medium there - but we dont know which type */
--/* check only if device is dvdwriter and we have prodvd installed */
-+/* check only if device is dvdwriter and we have (pro)dvd installed */
- 
- gchar *return_media_type(gint devnr) {
- gchar drvflags[MAXLINE], drvmodes[MAXLINE];
-@@ -3532,7 +3532,7 @@ gint isdvd,i;
- 	isdvd = 0;
- 	i = get_writerreaderdevs_index(devnr);
- 
--	if (i >= 0 && curset.isProDVD && writerreaderdevs[i]->is_dvdwriter) {
-+	if (i >= 0 && curset.isDVD && writerreaderdevs[i]->is_dvdwriter) {
- 	        if (convert_devnr2busid(devnr,tmp) != 0) {
- 	                g_error("non existing cdrom?");
- 	        }
---- xcdroast-0.98alpha15/src/main.c.p23	2007-08-13 15:36:40.000000000 +0200
-+++ xcdroast-0.98alpha15/src/main.c	2007-08-13 15:36:40.000000000 +0200
-@@ -227,7 +227,7 @@ gchar tmp[MAXLINE];
- 	gtk_box_pack_start(GTK_BOX(sidespace), side_t,TRUE,TRUE,0);
- 
- 	side_t_btn1 = gtk_button_new_with_label (_("Setup"));
--	if (!curset.isProDVD) {
-+	if (!curset.isDVD) {
- 		side_t_btn2 = gtk_button_new_with_label (_("Duplicate CD"));
- 		side_t_btn3 = gtk_button_new_with_label (_("Create CD"));
- 	} else {
-@@ -582,18 +582,20 @@ gint stat;
- */
- 
-         /* warn about non-existing LFS support in dvd mode */
--        if (curset.isProDVD == 1 && sizeof(off_t) != 8) {
-+        if (curset.isDVD == 1 && sizeof(off_t) != 8) {
-                 show_dialog(ICO_WARN, _("Warning: Your system is not able to create files larger\nthan 2 GB. Writing DVDs will therefore not possible."), T_OK, NULL, NULL, 0);
-         }
- 
-+#ifndef CDRECORDDVD_IS_FREE
-         /* if we are in DVD mode, check if the security-key is set */
--        if (curset.isProDVD == 1) {
-+        if (curset.isDVD == 1) {
-                 keyenv = getenv("CDR_SECURITY");
-                 if (keyenv == NULL) {
- 			show_dialog(ICO_WARN, _("Warning: You have not entered a cdrecord-ProDVD key in setup.\nPlease see the FAQ on how to obtain your free key.\nYou also have to renew the key every few months because it got an\nexpire date. You will not be able to properly write DVDs without it."), T_OK, NULL, NULL, 0); 
-                 }
- 
- 	}
-+#endif
- 
- 	dolog(1,"Starting X-CD-Roast\n");
- 
---- xcdroast-0.98alpha15/src/main.h.p23	2007-08-13 15:36:40.000000000 +0200
-+++ xcdroast-0.98alpha15/src/main.h	2007-08-13 15:36:40.000000000 +0200
-@@ -194,7 +194,7 @@ gint show_and_start_master();
- gint start_master_action();
- gint start_onthefly_master_action(gint write_devnr);
- 
--gint check_version_cdrecord(gchar *match, gint dvd, gchar *found, gint *isProDVD);
-+gint check_version_cdrecord(gchar *match, gint dvd, gchar *found, gint *isDVD);
- gint check_version_mkisofs(gchar *match, gchar *found);
- gint check_version_cdda2wav(gchar *match, gchar *found);
- gint check_version_readcd(gchar *match, gchar *found);
---- xcdroast-0.98alpha15/src/init.c.p23	2007-08-13 15:36:40.000000000 +0200
-+++ xcdroast-0.98alpha15/src/init.c	2007-08-13 15:36:40.000000000 +0200
-@@ -81,8 +81,10 @@ gint c_locale_is_utf8;
- gchar *language = NULL;
- GdkFont *fixedfont;
- 
-+#ifndef CDRECORDDVD_IS_FREE
- /* ProDVD key in global variable to let solaris-putenv access it */
- gchar security_key[MAXLINE];
-+#endif
- 
- /* give the setupdata-structure valid startvalues */
- 
-@@ -137,7 +139,9 @@ gint fullaccess;
-         setupdata.root_option_change_imagedirs = fullaccess;
-         setupdata.root_option_change_logoptions = fullaccess;
- 
-+#ifndef CDRECORDDVD_IS_FREE
- 	setupdata.ProDVDkey = g_strdup("");	
-+#endif
- 
- 	setupdata.mainwindow.x = -1;
- 	setupdata.mainwindow.y = -1;
-@@ -157,7 +161,7 @@ static void init_curset() {
- gint cdrtypes[] = CDR_TYPES_MIN;
- gint i;
- 
--	curset.isProDVD = 0;
-+	curset.isDVD = 0;
- 	curset.support_ontheflyaudio = 0;
- 	curset.writer_devnr = -1;
- 	curset.reader_devnr = -1;
-@@ -392,16 +396,16 @@ gint second;
- }
- 
- /* check if needed binaries are installed */
--/* return if proDVD version found */
-+/* return if (pro)DVD version found */
- 
- static gint check_binaries(gint noversioncheck) {
- gchar tmp[MAXLINE];
- gchar ver[MAXLINE];
- gchar link[MAXLINE];
- gint stat;
--gint out, isProDVD;
-+gint out, isDVD;
- 	
--	isProDVD = 0;
-+	isDVD = 0;
- 	check_executable(UNAME,UNAME2,0);
- 	check_executable(DF,DF2,0);
- 
-@@ -417,7 +421,7 @@ gint out, isProDVD;
- 	}
- 	stat = check_version_cdrecord(CDRECORD_VERSION, 0, ver, &out);
- 	if (stat == 1 && !noversioncheck) {
--		g_warning("Invalid cdrecord version %s found.\n\tExpecting at least version %s\n\tStart xcdroast with the -n option to override (not recommended!)", ver, CDRECORD_VERSION);	
-+		g_warning("Invalid " CDRECORD_NAME " version %s found.\n\tExpecting at least version %s\n\tStart xcdroast with the -n option to override (not recommended!)", ver, CDRECORD_VERSION);	
- 		gtk_exit(1);
- 	}
- 	if (stat == 2) {
-@@ -425,8 +429,8 @@ gint out, isProDVD;
- 		gtk_exit(1);
- 	}
- 
--	/* check optional installation of ProDVD version */
--	get_spawn_path(CDRECORDPRODVD,tmp);
-+	/* check optional installation of (Pro)DVD version */
-+	get_spawn_path(CDRECORDDVD,tmp);
- 	if (is_file(tmp)) {
- 		if (check_islink(tmp, link)) {
- #if 0
-@@ -435,9 +439,9 @@ gint out, isProDVD;
- 		dodebug(3, "%s is a link to %s\n", tmp, link); 
- #endif
- 		}
--		stat = check_version_cdrecord(CDRECORD_PRODVD_VERSION, 1, ver, &isProDVD);
-+		stat = check_version_cdrecord(CDRECORDDVD_VERSION, 1, ver, &isDVD);
- 		if (stat == 1 && !noversioncheck) {
--			g_warning("Invalid cdrecord-ProDVD version %s found.\n\tExpecting at least version %s\n\tStart xcdroast with the -n option to override (not recommended!)", ver, CDRECORD_PRODVD_VERSION);	
-+			g_warning("Invalid " CDRECORDDVD_NAME " version %s found.\n\tExpecting at least version %s\n\tStart xcdroast with the -n option to override (not recommended!)", ver, CDRECORDDVD_VERSION);	
- 			gtk_exit(1);
- 		}
- 	}
-@@ -509,7 +513,7 @@ gint out, isProDVD;
- 	g_snprintf(tmp,MAXLINE,"%s/%s", libdir, CDDBTOOL);
- 	check_executable(tmp,NULL,1);
- 
--	return isProDVD;
-+	return isDVD;
- }
- 
- 
-@@ -702,7 +706,7 @@ gint nofail;
- 	}
- 
- 	/* check prodvd only when it is installed */
--	get_spawn_path(CDRECORDPRODVD,tmp);
-+	get_spawn_path(CDRECORDDVD,tmp);
- 	if (is_file(tmp)) {
- 		if (check_nonroot_mode_cdrtools(tmp) == 0) {
- 			nofail = 0;
-@@ -769,7 +773,8 @@ static void usage(gchar *cmd) {
- /*	g_print("\t-r <root config-file>  (currently: %s)\n", rootconfig); */
- 	g_print("\t-o : Disable multibyte font support\n");
- 	g_print("\t-n : Disable cdrtools version check (use at own risk)\n");
--	g_print("\t-w : Don't use cdrecord-ProDVD, even when it is available.\n");
-+	if (strcmp(CDRECORD, CDRECORDDVD))
-+		g_print("\t-w : Don't use " CDRECORDDVD_NAME ", even when it is available.\n");
- #if (defined(__MACH__) && defined(__APPLE__)) 
- 	g_print("\t-a : Don't display the autodiskmount daemon handling at startup\n");
- #else
-@@ -797,7 +802,7 @@ gchar *mylocale;
- gchar *p1;
- gchar *alt_dev_string;
- gint c, usercnf, stat;
--gint isProDVD, ignoreProDVD;
-+gint isDVD, ignoreDVD;
- 	
- 	if (!language) 
- 		language = g_strdup("");
-@@ -807,7 +812,7 @@ gint isProDVD, ignoreProDVD;
- 	no_versioncheck = 0;
- 	support_ontheflyaudio = 0;
- 	c_locale_is_utf8 = 0;
--	ignoreProDVD = 0;
-+	ignoreDVD = 0;
- 	alt_dev_string = NULL;
- 	strncpy(configdir, CONFIGDIR, MAXLINE);
- 	g_snprintf(rootconfig, MAXLINE, "%s/%s", SYSCONFDIR, ROOTCONFIG);
-@@ -874,7 +879,7 @@ gint isProDVD, ignoreProDVD;
- 		break;
- 
- 	case 'w':
--		ignoreProDVD = 1;
-+		ignoreDVD = 1;
- 		break;
- 
- 	case 'f':
-@@ -974,17 +979,19 @@ gint isProDVD, ignoreProDVD;
- #endif 
- 
- 	dodebug(3, "Checking for helper binaries (noversioncheck = %d)\n", no_versioncheck);
--	isProDVD = check_binaries(no_versioncheck);
-+	isDVD = check_binaries(no_versioncheck);
- 
--	if (isProDVD) {
--		if (ignoreProDVD) {
--			isProDVD = 0;
--			dodebug(1,"-> cdrecord.ProDVD detected but disabled\n");
--		} else {	
--			dodebug(1,"-> cdrecord.ProDVD detected\n");
-+	if (strcmp(CDRECORD, CDRECORDDVD)) {
-+		if (isDVD) {
-+			if (ignoreDVD) {
-+				isDVD = 0;
-+				dodebug(1,"-> " CDRECORDDVD_NAME " detected but disabled\n");
-+			} else {	
-+				dodebug(1,"-> " CDRECORDDVD_NAME " detected\n");
-+			}
-+		} else {
-+			dodebug(1,"-> " CDRECORDDVD_NAME " not detected\n");
- 		}
--	} else {
--		dodebug(1,"-> cdrecord.ProDVD not detected\n");
- 	}
- 	if (support_ontheflyaudio == 1) {
- 		dodebug(1, "   Enabled support for on-the-fly audio\n");
-@@ -1025,7 +1032,7 @@ gint isProDVD, ignoreProDVD;
- 	tocfiles = (GList *) NULL;
- 	strcpy(xcdroast_version_loaded, "");
- 
--	curset.isProDVD = isProDVD;
-+	curset.isDVD = isDVD;
- 	curset.support_ontheflyaudio = support_ontheflyaudio;
- 
- 	/* load iso-options if available */
-@@ -1149,7 +1156,8 @@ gint isProDVD, ignoreProDVD;
- 	}
- #endif
+diff -up xcdroast-0.98alpha16/src/xcdroast.h.p23 xcdroast-0.98alpha16/src/xcdroast.h
+--- xcdroast-0.98alpha16/src/xcdroast.h.p23	2008-08-21 12:36:52.000000000 +0200
++++ xcdroast-0.98alpha16/src/xcdroast.h	2009-02-09 17:01:08.000000000 +0100
+@@ -112,22 +112,30 @@
+    then in $PREFIX (e.g. /usr/bin/cdrecord instead of 
+    /usr/local/lib/xcdroast-0.98/bin/cdrecord) */
  
--	if (curset.isProDVD == 1) {
-+#ifndef CDRECORDDVD_IS_FREE
-+	if (curset.isDVD == 1) {
- 		/* set key if we got one from the config-file */
- 		if (strcmp(setupdata.ProDVDkey,"")) {
+-#define CDRECORD "bin/cdrecord" 
+-#define CDDA2WAV "bin/cdda2wav"
+-#define READCD "bin/readcd"
+-#define MKISOFS "bin/mkisofs"
++#define CDRECORD "bin/wodim" 
++#define CDDA2WAV "bin/icedax"
++#define READCD "bin/readom"
++#define MKISOFS "bin/genisoimage"
++
++#define CDRECORD_NAME "wodim"
++#define CDRECORDDVD_NAME "wodim"
++#define CDRECORDDVD_IS_FREE
++
++#define CDDA2WAV_NAME "icedax"
++#define READCD_NAME "readom"
++#define MKISOFS_NAME "genisoimage"
  
-@@ -1162,6 +1170,7 @@ gint isProDVD, ignoreProDVD;
- #endif
- 		}
- 	}
-+#endif
+ /* MINIMUM required versions. Greater versions are now silently
+    accepted. 
+    Distribution-Vendors: DO NOT TOUCH THESE!
+    IT WONT WORK WITH LOWER VERSIONS, EVEN WHEN YOU THINK IT DOES! */
+  
+-#define CDRECORD_VERSION "2.01"
+-#define CDRECORD_PRODVD_VERSION "2.01a11"
++#define CDRECORD_VERSION "1.1.9"
++#define CDRECORDDVD_VERSION "2.01a11"
+ #define CDRECORD_VERSION_WITH_ONTHFLYAUDIO "2.01a13"
+-#define MKISOFS_VERSION "2.01"
+-#define CDDA2WAV_VERSION "2.01"
+-#define READCD_VERSION "2.01"
++#define MKISOFS_VERSION "1.1.9"
++#define CDDA2WAV_VERSION "1.1.9"
++#define READCD_VERSION "1.1.9"
  
- 	if (usercnf == 0) {
- 		/* load ok */
---- xcdroast-0.98alpha15/src/duplicate.c.p23	2003-10-26 14:14:19.000000000 +0100
-+++ xcdroast-0.98alpha15/src/duplicate.c	2007-08-13 15:36:40.000000000 +0200
+ /* group to use for non-root-mode */
+ /* #define NONROOTMODEGROUP "xcdwrite"  - HISTORIC */
+diff -up xcdroast-0.98alpha16/src/duplicate.c.p23 xcdroast-0.98alpha16/src/duplicate.c
+--- xcdroast-0.98alpha16/src/duplicate.c.p23	2003-10-26 14:14:19.000000000 +0100
++++ xcdroast-0.98alpha16/src/duplicate.c	2009-02-09 16:55:07.000000000 +0100
 @@ -1156,7 +1156,7 @@ GtkWidget *scrolled_win;
  	gtk_table_set_col_spacings(GTK_TABLE(tbl),10);
  	gtk_box_pack_start(GTK_BOX(actionspace),tbl,TRUE,TRUE,10);
@@ -517,509 +189,15 @@
  		b1 = gtk_toggle_button_new_with_label(_("Write CD"));
  	} else {
  		b1 = gtk_toggle_button_new_with_label(_("Write CD/DVD"));
---- xcdroast-0.98alpha15/src/xcdroast.h.p23	2007-08-13 15:36:40.000000000 +0200
-+++ xcdroast-0.98alpha15/src/xcdroast.h	2007-08-13 15:36:51.000000000 +0200
-@@ -112,11 +112,19 @@
-    then in $PREFIX (e.g. /usr/bin/cdrecord instead of 
-    /usr/local/lib/xcdroast-0.98/bin/cdrecord) */
- 
--#define CDRECORD "bin/cdrecord" 
--#define CDRECORDPRODVD "bin/cdrecord.prodvd" 
--#define CDDA2WAV "bin/cdda2wav"
--#define READCD "bin/readcd"
--#define MKISOFS "bin/mkisofs"
-+#define CDRECORD "bin/wodim" 
-+#define CDRECORDDVD "bin/wodim" 
-+#define CDDA2WAV "bin/icedax"
-+#define READCD "bin/readom"
-+#define MKISOFS "bin/genisoimage"
-+
-+#define CDRECORD_NAME "wodim"
-+#define CDRECORDDVD_NAME "wodim"
-+#define CDRECORDDVD_IS_FREE
-+
-+#define CDDA2WAV_NAME "icedax"
-+#define READCD_NAME "readom"
-+#define MKISOFS_NAME "genisoimage"
- 
- /* MINIMUM required versions. Greater versions are now silently
-    accepted. 
-@@ -124,11 +132,11 @@
-    IT WONT WORK WITH LOWER VERSIONS, EVEN WHEN YOU THINK IT DOES! */
-  
- #define CDRECORD_VERSION "1.11a34"
--#define CDRECORD_PRODVD_VERSION "2.01.01"
-+#define CDRECORDDVD_VERSION "2.01.01"
- #define CDRECORD_VERSION_WITH_ONTHFLYAUDIO "2.01.01"
--#define MKISOFS_VERSION "1.15a17"
--#define CDDA2WAV_VERSION "1.11a34"
--#define READCD_VERSION "1.11a34"
-+#define MKISOFS_VERSION "1.1.0"
-+#define CDDA2WAV_VERSION "1.1.0"
-+#define READCD_VERSION "1.1.0"
- 
- /* group to use for non-root-mode */
- /* #define NONROOTMODEGROUP "xcdwrite"  - HISTORIC */
---- xcdroast-0.98alpha15/src/io.c.p23	2007-08-13 15:36:40.000000000 +0200
-+++ xcdroast-0.98alpha15/src/io.c	2007-08-13 15:36:40.000000000 +0200
-@@ -704,7 +704,7 @@ gint found;
- 	strncpy(tmp2,dev,MAXLINE);
- 	convert_escape(tmp2);
- 
--	g_snprintf(tmp,MAXLINE," -scanbus dev= \"%s\" 2>&1",tmp2);
-+	g_snprintf(tmp,MAXLINE," -scanbus dev= \"%s\" 2>/dev/null",tmp2);
- 	strcat(line,tmp);
- 
- 	dodebug(1, "calling: %s\n", line);
-@@ -923,7 +923,7 @@ scsi_devices_t **scsidevices;
- 
- 	/* traditional scanning first */
- 	get_wrap_path_cdrecord(line);
--	strcat(line," -scanbus 2>&1");
-+	strcat(line," -scanbus 2>/dev/null");
- 
- 	dodebug(1, "calling: %s\n", line);
-         if ((fpin = popen(line,"r")) == NULL) {
-@@ -974,7 +974,7 @@ scsi_devices_t **scsidevices;
- 	scsicount = 0;
- 
- 	get_wrap_path_cdrecord(line);
--	g_snprintf(tmp,MAXLINE," dev=%s -scanbus 2>&1", transport);
-+	g_snprintf(tmp,MAXLINE," dev=%s -scanbus 2>/dev/null", transport);
- 	strcat(line, tmp);
- 	
- 	dodebug(1, "calling: %s\n", line);
-@@ -1284,7 +1284,7 @@ FILE *fpin;
- 	drvcount = 0;
- 
- 	get_wrap_path_cdrecord(line);
--	strcat(line," driver=help 2>&1");
-+	strcat(line," driver=help 2>&1 | sed -n '/Driver types:/,//p'");
- 
- 	dodebug(1, "calling: %s\n", line);
-         if ((fpin = popen(line,"r")) == NULL) {
-@@ -1491,9 +1491,9 @@ gchar *p;
- 
-         if (!dev) return;
- 
--	/* if prodvd available use it to get additional info */
--	if (curset.isProDVD) {
--        	get_wrap_path("CDRECORDPRODVD", tmp);
-+	/* if (pro)dvd available use it to get additional info */
-+	if (curset.isDVD) {
-+        	get_wrap_path("CDRECORDDVD", tmp);
- 	} else {
-         	get_wrap_path("CDRECORD", tmp);
- 	}
-@@ -2111,9 +2111,11 @@ gint count;
- 	g_snprintf(tmp,MAXLINE,"OPTION_SELECTIONMODE = %d\n",setupdata.option_selectionmode);
- 	fputs(tmp,fd);
- 
-+#ifndef CDRECORDDVD_IS_FREE
- 	strcpy(tmp2,setupdata.ProDVDkey);
- 	g_snprintf(tmp,MAXLINE,"PRODVD_KEY = \"%s\"\n",convert_escape(tmp2));
- 	fputs(tmp,fd);
-+#endif
- 
- 	/* save geometry data? */
- 	if (setupdata.option_savepos) {
-@@ -2228,6 +2230,7 @@ gint count, i, newadded;
- 		if (fgets(line,MAXLINE,fd) == NULL)
- 			break;
- 
-+#ifndef CDRECORDDVD_IS_FREE
- 		/* special case here to protect pro-dvd-key */
- 		if (strstr(line, "PRODVD_KEY") && strlen(line) > 50) {
- 			strncpy(tmp,line,50);
-@@ -2236,6 +2239,7 @@ gint count, i, newadded;
- 		} else {
- 			dodebug(10,"config: %s", line);
- 		}
-+#endif
- 
- 		/* skip empty or hashed lines */
- 		strip_string(line);
-@@ -2515,6 +2519,7 @@ gint count, i, newadded;
- 		if (strcmp("OPTION_SELECTIONMODE",id) == 0) {
- 			setupdata.option_selectionmode = atoi(value);
- 		}
-+#ifndef CDRECORDDVD_IS_FREE
- 		if (strcmp("PRODVD_KEY",id) == 0) {
- 			/* dont overwrite evtuelly set value with empty key */
- 			if (strcmp(value,"") != 0) {
-@@ -2522,6 +2527,7 @@ gint count, i, newadded;
- 				setupdata.ProDVDkey = g_strdup(value);
- 			}
- 		}
-+#endif
- 		if (setupdata.option_savepos) {
- 			if (strcmp("GEOMETRY_MAINWINDOW_X",id) == 0) {
- 				setupdata.mainwindow.x = atoi(value);
-@@ -5557,8 +5563,8 @@ gint found_atip,errcount;
- 	}
- 
- 	/* build command line */
--	if (curset.isProDVD) {
--        	get_wrap_path("CDRECORDPRODVD", tmp3);
-+	if (curset.isDVD) {
-+        	get_wrap_path("CDRECORDDVD", tmp3);
- 	} else {
-         	get_wrap_path("CDRECORD", tmp3);
- 	}
-@@ -5867,7 +5873,7 @@ FILE *fpin;
- 	drvcount = 0;
- 
- 	get_wrap_path_cdrecord(line);
--	strcat(line," blank=help 2>&1");
-+	strcat(line," blank=help 2>&1 | sed -n '/Blanking options:/,//p'");
- 
- 	dodebug(1, "calling: %s\n", line);
- 
-@@ -5991,11 +5997,12 @@ gchar tmp[MAXLINE];
- 			dialog_done = -1;
- 		}
- 
-+#ifndef CDRECORDDVD_IS_FREE
- 		/* or cdrecord died by signal? e.g. SIGALRM */
- 		if (WIFSIGNALED(ret) && read_done == 0) {
- 
- 			/* most likely invalid prodvd key */
--			if (curset.isProDVD) {
-+			if (curset.isDVD) {
- 				strncpy(tmp, "\nReceived ALARM from cdrecord-ProDVD. Aborting blank...\nInvalid ProDVD key?\n", MAXLINE);
- 
- 				convert_for_gtk2_textwidget(tmp);
-@@ -6004,6 +6011,7 @@ gchar tmp[MAXLINE];
- 				read_done = 1;
- 			}
- 		}
-+#endif
+diff -up xcdroast-0.98alpha16/src/main.c.p23 xcdroast-0.98alpha16/src/main.c
+--- xcdroast-0.98alpha16/src/main.c.p23	2008-08-21 11:45:34.000000000 +0200
++++ xcdroast-0.98alpha16/src/main.c	2009-02-09 16:55:07.000000000 +0100
+@@ -583,7 +583,7 @@ gint stat;
+ */
  
-                 dodebug(10,"Finished in read_blank_out with status: %d\n", 
-                         read_done);
-@@ -6169,8 +6177,8 @@ gint ret;
-                 strcat(tmp3, tmp4);
+         /* warn about non-existing LFS support in dvd mode */
+-        if ((curset.isProDVD & 1) && sizeof(off_t) != 8) {
++        if ((curset.isDVD & 1) && sizeof(off_t) != 8) {
+                 show_dialog(ICO_WARN, _("Warning: Your system is not able to create files larger\nthan 2 GB. Writing DVDs will therefore not possible."), T_OK, NULL, NULL, 0);
          }
- 	
--	if (curset.isProDVD) {
--        	get_wrap_path("CDRECORDPRODVD", tmp5);
-+	if (curset.isDVD) {
-+        	get_wrap_path("CDRECORDDVD", tmp5);
- 	} else {
-         	get_wrap_path("CDRECORD", tmp5);
- 	}
-@@ -6378,14 +6386,16 @@ gint cdrecord_stderr;
- 			dialog_done = -1;
- 		}
- 
-+#ifndef CDRECORDDVD_IS_FREE
- 		/* or cdrecord died by signal? e.g. SIGALRM */
- 		if (WIFSIGNALED(ret) && read_done == 0) {
- 
- 			/* most likely invalid prodvd key */
--			if (curset.isProDVD && curset.cdrtype > 1000) {
-+			if (curset.isDVD && curset.cdrtype > 1000) {
- 				read_done = 2;
- 			}
- 		}
-+#endif
- 
-                 dodebug(10,"Finished in read_write_out with status: %d\n", 
-                         read_done);
-@@ -6411,8 +6421,9 @@ gint cdrecord_stderr;
- 		return;
- 	}
- 
-+#ifndef CDRECORDDVD_IS_FREE
- 	/* prodvd and beginning to write soon? */
--	if (curset.isProDVD && curset.cdrtype > 1000) {
-+	if (curset.isDVD && curset.cdrtype > 1000) {
- 		if (strstr(line,"Last chance to quit")) {
- 			cdrtimer = gtk_timeout_add(1000, 
- 					cdrtimer_callback, NULL);
-@@ -6427,6 +6438,7 @@ gint cdrecord_stderr;
- 			}
- 		}
- 	}
-+#endif
- 
- 	/* skip all lines that contain "seconds." */
- 	if (n > 8) {
-@@ -6717,6 +6729,7 @@ gchar *p;
- }
  
- 
-+#ifndef CDRECORDDVD_IS_FREE
- /* display an error when useing prodvd and cdrecord aborts */
- 
- static void display_invalid_prodvdkey() {
-@@ -6725,6 +6738,7 @@ static void display_invalid_prodvdkey() 
- 		show_dialog(ICO_WARN, _("cdrecord-ProDVD terminated.\n\nMost likely because you have entered\nan invalid key. Please check if it is correct."), T_OK, NULL, NULL, 0);
- 	}
- }
-+#endif
- 
- 
- /* call cdrecord to write some tracks */
-@@ -6973,10 +6987,12 @@ gint wrmode;
- 	if (read_done != 0 || read_output_ctrl == 5) {
- 		gtk_label_set_text(GTK_LABEL(readtrack_info_label), _("Error writing tracks"));
- 		gtk_label_set_text(GTK_LABEL(readtrack_small_info),_("Write-Error:"));
-+#ifndef CDRECORDDVD_IS_FREE
- 		if (read_done == 2) {
- 			/* invalid cdrecord key - show window */
- 			display_invalid_prodvdkey();
- 		}
-+#endif
- 		return 1;
- 	} else {
- 		/* all ok */
-@@ -7571,10 +7587,12 @@ gfloat per;
- 	if (read_done != 0 || read_output_ctrl == 5) {
- 		gtk_label_set_text(GTK_LABEL(readtrack_info_label), _("Error writing tracks"));
- 		gtk_label_set_text(GTK_LABEL(readtrack_small_info),_("Write-Error:"));
-+#ifndef CDRECORDDVD_IS_FREE
-                 if (read_done == 2) {
-                         /* invalid cdrecord key - show window */
- 			display_invalid_prodvdkey();
-                 }
-+#endif
- 		return 1;
- 	} else {
- 		/* all ok */
-@@ -7740,10 +7758,12 @@ gint wrmode;
- 	if (read_done != 0 || read_output_ctrl == 5) {
- 		gtk_label_set_text(GTK_LABEL(readtrack_info_label), _("Error writing tracks"));
- 		gtk_label_set_text(GTK_LABEL(readtrack_small_info),_("Write-Error:"));
-+#ifndef CDRECORDDVD_IS_FREE
-                 if (read_done == 2) {
-                         /* invalid cdrecord key - show window */
- 			display_invalid_prodvdkey();
-                 }
-+#endif
- 		return 1;
- 	} else {
- 		/* all ok */
-@@ -9893,10 +9913,12 @@ gint wrmode;
- 	if (read_done != 0 || read_output_ctrl == 5) {
- 		gtk_label_set_text(GTK_LABEL(readtrack_info_label), _("Error writing tracks"));
- 		gtk_label_set_text(GTK_LABEL(readtrack_small_info),_("Write-Error:"));
-+#ifndef CDRECORDDVD_IS_FREE
-                 if (read_done == 2) {
-                         /* invalid cdrecord key - show window */
- 			display_invalid_prodvdkey();
-                 }
-+#endif
- 		return 1;
- 	} else {
- 		/* all ok */
-@@ -9910,21 +9932,21 @@ gint wrmode;
- /* check the version of cdrecord */
- /* return 1 if not correct (to old) */
- 
--gint check_version_cdrecord(gchar *match, gint dvd, gchar *found, gint *isProDVD) {
-+gint check_version_cdrecord(gchar *match, gint dvd, gchar *found, gint *isDVD) {
- gchar line[MAXLINE];
- gchar vline[MAXLINE];
- gchar ver[MAXLINE];
- FILE *fpin;
- gchar *p;
- 
--	*isProDVD = 0;
-+	*isDVD = 0;
- 	strcpy(ver,"");
- 	if (dvd) {
--		get_wrap_path("CDRECORDPRODVD",line);
-+		get_wrap_path("CDRECORDDVD",line);
- 	} else {
- 		get_wrap_path("CDRECORD",line);
- 	}
--	strcat(line," -version 2>/dev/null");
-+	strcat(line," -version 2>&1");
- 
- 	dodebug(1, "calling: %s\n", line);
-         if ((fpin = popen(line,"r")) == NULL) {
-@@ -9965,7 +9987,7 @@ gchar *p;
- 	} else {
- 		p = strstr(vline, "Cdrecord-ProDVD-Clone");
- 		if (p != NULL) {
--			*isProDVD = 1;
-+			*isDVD = 1;
- 			p = strtok(p+22, " ");
- 			if (p != NULL) {
- 				strcpy(ver,p);
-@@ -9979,6 +10001,9 @@ gchar *p;
- 					p = strtok(NULL, " ");
- 					if (p) {
- 						strcpy(ver,p);
-+						if (strstr(ver,"-dvd")) {
-+							*isDVD = 1;
-+						}
- 					}
- 				}
- 			}
-@@ -10045,9 +10070,9 @@ gchar *p;
- 	/* now line contains the version string of mkisofs */
- 	/* try to extract the version number */
- 
--	p = strstr(line,"mkisofs");
-+	p = strstr(line, MKISOFS_NAME);
- 	if (p != NULL) {
--		p = strtok(p+8, " ");
-+		p = strtok(p + (sizeof(MKISOFS_NAME) - 1) + 1, " ");
- 		if (p != NULL) {
- 			strcpy(ver,p);
- 		}
-@@ -10148,7 +10173,7 @@ gchar *p;
- 
- 	strcpy(ver,"");
- 	get_wrap_path("READCD",line);
--	strcat(line," -version 2>/dev/null");
-+	strcat(line," -version 2>/dev/null | head -n 1");
- 
- 	dodebug(1, "calling: %s\n", line);
-         if ((fpin = popen(line,"r")) == NULL) {
-@@ -10175,9 +10200,9 @@ gchar *p;
- 	/* now line contains the version string of readcd */
- 	/* try to extract the version number */
- 
--	p = strstr(line,"readcd");
-+	p = strstr(line, READCD_NAME);
- 	if (p != NULL) {
--		p = strtok(p+7, " ");
-+		p = strtok(p + (sizeof(READCD_NAME) - 1) + 1, " ");
- 		if (p != NULL) {
- 			strcpy(ver,p);
- 		}
---- xcdroast-0.98alpha15/src/menus.c.p23	2007-08-13 15:36:40.000000000 +0200
-+++ xcdroast-0.98alpha15/src/menus.c	2007-08-13 15:36:40.000000000 +0200
-@@ -2702,7 +2702,7 @@ static const gchar *blanktrans[] = BLANK
- 	gtk_container_set_border_width (GTK_CONTAINER (box1), 5);
-         gtk_container_add(GTK_CONTAINER(dialog),box1);
- 
--        if (!curset.isProDVD) {
-+        if (!curset.isDVD) {
- 		f1 = gtk_frame_new(_("Blank CD-RW"));
-         } else {
- 		f1 = gtk_frame_new(_("Blank CD/DVD+-RW"));
-@@ -2812,7 +2812,7 @@ static const gchar *blanktrans[] = BLANK
- 	gtk_box_pack_start(GTK_BOX(box1),box3,FALSE,TRUE,5);
- 	gtk_widget_show(box3);
- 
--        if (!curset.isProDVD) {
-+        if (!curset.isDVD) {
- 		button1 = gtk_button_new_with_label(_("Blank CD-RW"));
-         } else {
- 		button1 = gtk_button_new_with_label(_("Blank CD/DVD+-RW"));
---- xcdroast-0.98alpha15/src/setup.c.p23	2007-08-13 15:36:40.000000000 +0200
-+++ xcdroast-0.98alpha15/src/setup.c	2007-08-13 15:36:40.000000000 +0200
-@@ -135,8 +135,10 @@ gint i,j;
- 	g_free(bak_setupdata.cddb_proxy_host);
- 	setupdata.logfile = g_strdup(bak_setupdata.logfile);
- 	g_free(bak_setupdata.logfile);
-+#ifndef CDRECORDDVD_IS_FREE
- 	setupdata.ProDVDkey = g_strdup(bak_setupdata.ProDVDkey);
- 	g_free(bak_setupdata.ProDVDkey);
-+#endif
- 
- 	/* restore and free also writerreader structure copy */
- 	if (bak_writerreader) {
-@@ -266,6 +268,7 @@ gchar *buf, *locreturn, *p;
- 	/* check_tilde(tmp); */
- 	setupdata.logfile = g_strdup(tmp);
- 
-+#ifndef CDRECORDDVD_IS_FREE
- 	g_free(setupdata.ProDVDkey);
- 	n = gtk_text_get_length(GTK_TEXT(prodvdkey_txt));
- 	buf = gtk_editable_get_chars(GTK_EDITABLE(prodvdkey_txt),0,n);
-@@ -284,6 +287,7 @@ gchar *buf, *locreturn, *p;
- #else  
-         putenv(security_key);
- #endif
-+#endif
- 
- 	/* save the current window size if we are asked to */
- 	if (setupdata.option_savepos) {
-@@ -308,8 +312,8 @@ gchar tmp[MAXLINE];
- 	dolog(2, "Confirm setup\n");
- 
- 	/* some lasts checks and warnings */
--	if (is_dvdwriter(setupdata.writer_devnr) && !curset.isProDVD) {
--		ret = show_dialog(ICO_WARN, _("Please note that you have to install ProDVD support before\nyou can write DVDs. Currently you will only be able to\nwrite regular CDs with your DVD-Writer."), T_OK,T_CANCEL, NULL, 0);
-+	if (is_dvdwriter(setupdata.writer_devnr) && !curset.isDVD) {
-+		ret = show_dialog(ICO_WARN, _("Please note that you have to install DVD support before\nyou can write DVDs. Currently you will only be able to\nwrite regular CDs with your DVD-Writer."), T_OK,T_CANCEL, NULL, 0);
- 		if (ret == 1) {
- 			/* abort */
- 			return;
-@@ -333,7 +337,9 @@ gchar tmp[MAXLINE];
- 		return;
- 
- 	/* free memory of backup-config */
-+#ifndef CDRECORDDVD_IS_FREE
- 	g_free(bak_setupdata.ProDVDkey);
-+#endif
- 	g_free(bak_setupdata.logfile);
- 	g_free(bak_setupdata.cddb_host);
- 	g_free(bak_setupdata.cddb_proxy_host);
-@@ -1140,7 +1146,7 @@ static const gchar *helpwritemodes[] = H
- 	gtk_box_pack_start(GTK_BOX(vbox2),tbl,FALSE,TRUE,0);
- 	gtk_widget_show(tbl);
- 
--	if (!curset.isProDVD) {
-+	if (!curset.isDVD) {
- 		l1 = rightjust_gtk_label_new(_("CD Writer Device:"));
- 	} else {
- 		l1 = rightjust_gtk_label_new(_("CD/DVD Writer Device:"));
-@@ -2740,6 +2746,7 @@ GtkWidget *check;
- 	define_tooltip(check, _("When enabled, then multiple selections in lists are handled like the lists in Windows (hold CTRL-Key to select more than one entry and use SHIFT to select a whole range of entries)."));
- 
- 
-+#ifndef CDRECORDDVD_IS_FREE
- 	f1 = gtk_frame_new(_("cdrecord-ProDVD key"));
- 	set_font_and_color_frame(f1,BOLDFONT,NULL);
- 	gtk_box_pack_start(GTK_BOX(vbox),f1,TRUE,TRUE,10);
-@@ -2782,6 +2789,7 @@ GtkWidget *check;
- 		gtk_widget_set_sensitive(l1, FALSE);
- 		gtk_widget_set_sensitive(txt, FALSE);
- 	}
-+#endif // !defined(CDRECORDDVD_IS_FREE)
- }
- 
- 
-@@ -3186,7 +3194,7 @@ gchar tmp[MAXLINE];
- 	gtk_container_add (GTK_CONTAINER (f1), tbl);
- 	gtk_widget_show(tbl);
- 
--	if (!curset.isProDVD) {
-+	if (!curset.isDVD) {
- 		check = gtk_check_button_new_with_label(_("change CD Writer Device"));
- 	} else {
- 		check = gtk_check_button_new_with_label(_("change CD/DVD Writer Device"));
-@@ -3208,7 +3216,7 @@ gchar tmp[MAXLINE];
- 	gtk_widget_show(check);
- 	define_tooltip(check, _("If enabled, then the user is allowed the change the write parameters for the CD Writer (e.g. Speed and FIFO-Buffer-Size)."));
- 
--	if (!curset.isProDVD) {
-+	if (!curset.isDVD) {
- 		check = gtk_check_button_new_with_label(_("change CD Reader Device"));
- 	} else {
- 		check = gtk_check_button_new_with_label(_("change CD/DVD Reader Device"));
-@@ -3290,7 +3298,9 @@ gint i;
- 	bak_setupdata.cddb_host = g_strdup(setupdata.cddb_host);
- 	bak_setupdata.cddb_proxy_host = g_strdup(setupdata.cddb_proxy_host);
- 	bak_setupdata.logfile = g_strdup(setupdata.logfile);
-+#ifndef CDRECORDDVD_IS_FREE
- 	bak_setupdata.ProDVDkey = g_strdup(setupdata.ProDVDkey);
-+#endif
- 
- 	/* backup the dynamic part of the readerwriter structure too */
- 	bak_writerreader = g_new0(writerreader_bak_t *, MAXDEVICES);
-@@ -3375,7 +3385,7 @@ gint i;
- 	gtk_notebook_append_page(GTK_NOTEBOOK (notebook),f1,l1);
- 	draw_scsi_scan(f1);
- 
--	if (!curset.isProDVD) {
-+	if (!curset.isDVD) {
- 		l2 = gtk_label_new(_("CD Settings"));
- 	} else {
- 		l2 = gtk_label_new(_("CD/DVD Settings"));

xcdroast-0.98alpha15-prodvd.patch:

Index: xcdroast-0.98alpha15-prodvd.patch
===================================================================
RCS file: /cvs/extras/rpms/xcdroast/devel/xcdroast-0.98alpha15-prodvd.patch,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- xcdroast-0.98alpha15-prodvd.patch	13 Aug 2007 14:56:27 -0000	1.4
+++ xcdroast-0.98alpha15-prodvd.patch	17 Feb 2009 14:17:23 -0000	1.5
@@ -1,6 +1,112 @@
---- xcdroast-0.98alpha15/src/io.c.cdrkit	2007-08-13 16:52:35.000000000 +0200
-+++ xcdroast-0.98alpha15/src/io.c	2007-08-13 16:53:28.000000000 +0200
-@@ -4736,7 +4736,7 @@
+diff -up xcdroast-0.98alpha16/src/create.c.cdrkit xcdroast-0.98alpha16/src/create.c
+--- xcdroast-0.98alpha16/src/create.c.cdrkit	2009-02-17 06:34:16.000000000 -0500
++++ xcdroast-0.98alpha16/src/create.c	2009-02-17 06:34:16.000000000 -0500
+@@ -523,7 +523,7 @@ GtkWidget *scrolled_win, *list;
+         gtk_widget_show(tbl);
+         vbox = gtk_vbox_new(FALSE,10);
+         gtk_table_attach_defaults(GTK_TABLE(tbl),vbox,1,2,0,1);
+-	if (!curset.isProDVD) {
++	if (!curset.isDVD) {
+         	f1 = gtk_frame_new(_("CD-Information"));
+ 	} else {
+         	f1 = gtk_frame_new(_("CD/DVD-Information"));
+@@ -1260,7 +1260,7 @@ GtkWidget *scrolled_win, *img_list;
+         gtk_widget_show(tbl);
+         vbox = gtk_vbox_new(FALSE,10);
+         gtk_table_attach_defaults(GTK_TABLE(tbl),vbox,0,1,0,1);
+-	if (!curset.isProDVD) {
++	if (!curset.isDVD) {
+         	f1 = gtk_frame_new(_("CD-Information"));
+ 	} else {
+         	f1 = gtk_frame_new(_("CD/DVD-Information"));
+@@ -2979,7 +2979,7 @@ GtkTargetEntry target_entry[3];
+                 GTK_SIGNAL_FUNC(fixate_clicked), NULL);
+         define_tooltip(b1,_("Just fixate (close) the CD, if for some reason the CD has been written but not fixated."));
+ 
+-	if (!curset.isProDVD) {
++	if (!curset.isDVD) {
+         	b1 = gtk_button_new_with_label(_("Blank CD-RW"));
+ 	} else {
+         	b1 = gtk_button_new_with_label(_("Blank CD/DVD+-RW"));
+@@ -3086,7 +3086,7 @@ GtkTargetEntry target_entry[3];
+                 gtk_widget_show (menu_item);
+                 i++;
+         }
+-        if (curset.isProDVD) {
++        if (curset.isDVD) {
+                 i = 0;
+                 tmpval = curset.cdrtype;
+                 while (dvdtypes[i] != 0) {
+@@ -5774,7 +5774,7 @@ GtkObject *adj;
+ 	bootable_frame1 = NULL;
+ 	bootable_frame2 = NULL;
+ 
+-	if (!curset.isProDVD) {
++	if (!curset.isDVD) {
+ 		f1 = gtk_frame_new(_("Options to create a bootable CD"));
+ 	} else {
+ 		f1 = gtk_frame_new(_("Options to create a bootable CD/DVD"));
+@@ -5794,7 +5794,7 @@ GtkObject *adj;
+ 	gtk_box_pack_start(GTK_BOX(vbox),tbl,FALSE,FALSE,0);
+         gtk_widget_show(tbl);
+ 
+-	if (!curset.isProDVD) {
++	if (!curset.isDVD) {
+         	l1 = rightjust_gtk_label_new(_("Make CD bootable?"));
+ 	} else {
+         	l1 = rightjust_gtk_label_new(_("Make CD/DVD bootable?"));
+@@ -7023,7 +7023,7 @@ gchar tmp2[MAXLINE];
+                 gtk_widget_show (menu_item);
+                 i++;
+         }
+-        if (curset.isProDVD) {
++        if (curset.isDVD) {
+                 i = 0;
+                 tmpval = curset.cdrtype;
+                 while (dvdtypes[i] != 0) {
+@@ -7174,7 +7174,7 @@ gchar tmp2[MAXLINE];
+         gtk_widget_show(b1);
+         define_tooltip(b1,_("Set additional write options for advanced users."));
+ 	/* blank button */
+-	if (!curset.isProDVD) {
++	if (!curset.isDVD) {
+         	b1 = gtk_button_new_with_label(_("Blank CD-RW"));
+ 	} else {
+         	b1 = gtk_button_new_with_label(_("Blank CD/DVD+-RW"));
+diff -up xcdroast-0.98alpha16/src/init.c.cdrkit xcdroast-0.98alpha16/src/init.c
+--- xcdroast-0.98alpha16/src/init.c.cdrkit	2009-02-17 06:34:16.000000000 -0500
++++ xcdroast-0.98alpha16/src/init.c	2009-02-17 06:34:16.000000000 -0500
+@@ -156,7 +156,7 @@ static void init_curset() {
+ gint cdrtypes[] = CDR_TYPES_MIN;
+ gint i;
+ 
+-	curset.isProDVD = 0;
++	curset.isDVD = 0;
+ 	curset.support_ontheflyaudio = 0;
+ 	curset.writer_devnr = -1;
+ 	curset.reader_devnr = -1;
+@@ -1005,7 +1005,7 @@ gint isProDVD, ignoreProDVD;
+ 	tocfiles = (GList *) NULL;
+ 	strcpy(xcdroast_version_loaded, "");
+ 
+-	curset.isProDVD = isProDVD;
++	curset.isDVD = isProDVD;
+ 	curset.support_ontheflyaudio = support_ontheflyaudio;
+ 
+ 	/* load iso-options if available */
+@@ -1129,7 +1129,7 @@ gint isProDVD, ignoreProDVD;
+ 	}
+ #endif
+ 
+-	if (curset.isProDVD == 1) {
++	if (curset.isDVD == 1) {
+ 		/* set key if we got one from the config-file */
+ 		if (strcmp(setupdata.ProDVDkey,"")) {
+ 
+diff -up xcdroast-0.98alpha16/src/io.c.cdrkit xcdroast-0.98alpha16/src/io.c
+--- xcdroast-0.98alpha16/src/io.c.cdrkit	2009-02-17 06:34:16.000000000 -0500
++++ xcdroast-0.98alpha16/src/io.c	2009-02-17 08:39:07.000000000 -0500
+@@ -4725,7 +4725,7 @@ gint fd;
  	dolog(3, "Saving extended output to %s\n", fname);
  
  	/* write to file */
@@ -9,7 +115,82 @@
  	if (fd < 0) {
  		g_warning("Can't open file %s for writing\n",fname);
  		return 1;
-@@ -10041,6 +10041,7 @@
+@@ -5989,7 +5989,7 @@ gchar tmp[MAXLINE];
+ 		if (WIFSIGNALED(ret) && read_done == 0) {
+ 
+ 			/* most likely invalid prodvd key */
+-			if (curset.isProDVD) {
++			if (curset.isDVD) {
+ 				strncpy(tmp, "\nReceived ALARM from cdrecord-ProDVD. Aborting blank...\nInvalid ProDVD key?\n", MAXLINE);
+ 
+ 				convert_for_gtk2_textwidget(tmp);
+@@ -6372,7 +6372,7 @@ gint cdrecord_stderr;
+ 		if (WIFSIGNALED(ret) && read_done == 0) {
+ 
+ 			/* most likely invalid prodvd key */
+-			if (curset.isProDVD && curset.cdrtype > 1000) {
++			if (curset.isDVD && curset.cdrtype > 1000) {
+ 				read_done = 2;
+ 			}
+ 		}
+@@ -6402,7 +6402,7 @@ gint cdrecord_stderr;
+ 	}
+ 
+ 	/* prodvd and beginning to write soon? */
+-	if (curset.isProDVD && curset.cdrtype > 1000) {
++	if (curset.isDVD && curset.cdrtype > 1000) {
+ 		if (strstr(line,"Last chance to quit")) {
+ 			cdrtimer = gtk_timeout_add(1000, 
+ 					cdrtimer_callback, NULL);
+@@ -6711,7 +6711,7 @@ gchar *p;
+ 
+ static void display_invalid_prodvdkey() {
+ 
+-	if (curset.isProDVD && curset.cdrtype > 1000) {
++	if (curset.isDVD && curset.cdrtype > 1000) {
+ 		show_dialog(ICO_WARN, _("cdrecord-ProDVD terminated.\n\nMost likely because you have entered\nan invalid key. Please check if it is correct."), T_OK, NULL, NULL, 0);
+ 	}
+ }
+@@ -9900,17 +9900,17 @@ gint wrmode;
+ /* check the version of cdrecord */
+ /* return 1 if not correct (to old) */
+ 
+-gint check_version_cdrecord(gchar *match, gchar *found, gint *isProDVD) {
++gint check_version_cdrecord(gchar *match, gchar *found, gint *isDVD) {
+ gchar line[MAXLINE];
+ gchar vline[MAXLINE];
+ gchar ver[MAXLINE];
+ FILE *fpin;
+ gchar *p;
+ 
+-	*isProDVD = 0;
++	*isDVD = 0;
+ 	strcpy(ver,"");
+ 	get_wrap_path("CDRECORD",line);
+-	strcat(line," -version 2>/dev/null");
++	strcat(line," -version 2>&1");
+ 
+ 	dodebug(1, "calling: %s\n", line);
+         if ((fpin = popen(line,"r")) == NULL) {
+@@ -9930,7 +9930,7 @@ gchar *p;
+ 		}
+ 		if (strstr(line, "This version is an unofficial (modified) version with DVD support")) {
+ 			dodebug(1, "WARNING: Inoffical cdrecord version found!\n", line);
+-			*isProDVD = 1;
++			*isDVD = 1;
+ 		}
+         }
+ 
+@@ -9955,7 +9955,7 @@ gchar *p;
+ 	} else {
+ 		p = strstr(vline, "ProDVD");
+ 		if (p != NULL) {
+-			*isProDVD = 1;
++			*isDVD = 1;
+ 			p = strtok(p, " ");
+ 			if (p != NULL) {
+ 			  p = strtok(NULL, " ");
+@@ -10005,6 +10005,7 @@ gchar *p;
  
  gint check_version_mkisofs(gchar *match, gchar *found) {
  gchar line[MAXLINE];
@@ -17,7 +198,7 @@
  gchar ver[MAXLINE];
  FILE *fpin;
  gchar *p;
-@@ -10055,17 +10056,22 @@
+@@ -10019,17 +10020,22 @@ gchar *p;
          }
  
  	strcpy(line,"");
@@ -41,7 +222,19 @@
  		/* failed to open - permission denied */
  		return 2;
  	}
-@@ -10107,7 +10113,7 @@
+@@ -10038,9 +10044,9 @@ gchar *p;
+ 	/* now line contains the version string of mkisofs */
+ 	/* try to extract the version number */
+ 
+-	p = strstr(line,"mkisofs");
++	p = strstr(line,"genisoimage");
+ 	if (p != NULL) {
+-		p = strtok(p+8, " ");
++		p = strtok(p+11, " ");
+ 		if (p != NULL) {
+ 			strcpy(ver,p);
+ 		}
+@@ -10070,7 +10076,7 @@ gchar line[MAXLINE];
  gchar ver[MAXLINE];
  FILE *fpin;
  gchar *p;
@@ -49,29 +242,30 @@
 + int icedax=0;
  	strcpy(ver,"");
  	get_wrap_path("CDDA2WAV",line);
- 	strcat(line," -h 2>&1");
-@@ -10126,6 +10132,9 @@
+ 	strcat(line," -version 2>&1");
+@@ -10085,6 +10091,9 @@ gchar *p;
                  if (fgets(line,MAXLINE,fpin) == NULL) 
                          break;
- 		dodebug(11,"got: %s",line);
+ 		dodebug(10,"got: %s",line);
 +		if (strstr(line, "icedax") != NULL) {
 +		  icedax=1;
-+		}	 
- 		if (strncmp(line, "Version", 7) == 0) {
- 			strcpy(line2, line);
- 			dodebug(10,"got version: %s",line);
-@@ -10141,6 +10150,10 @@
++		}	
+         }
+ 
+         if (pclose(fpin) == -1) {
+@@ -10096,6 +10105,11 @@ gchar *p;
  		return 2;
  	}
  
 +	if (icedax) {
 +	  strcpy(found, CDDA2WAV_VERSION);
 +	  return 0;
-+	}	 
- 
- 	/* now line2 contains the version string of cdda2wav */
++	}	
++
+ 	/* now line contains the version string of cdda2wav */
  	/* try to extract the version number */
-@@ -10176,13 +10189,14 @@
+ 
+@@ -10137,13 +10151,14 @@ gchar *p;
  
  gint check_version_readcd(gchar *match, gchar *found) {
  gchar line[MAXLINE];
@@ -82,14 +276,14 @@
  
  	strcpy(ver,"");
  	get_wrap_path("READCD",line);
--	strcat(line," -version 2>/dev/null | head -n 1");
+-	strcat(line," -version 2>/dev/null");
 +	strcat(line," -version 2>/dev/null | fgrep " READCD_NAME);
  
  	dodebug(1, "calling: %s\n", line);
          if ((fpin = popen(line,"r")) == NULL) {
-@@ -10190,17 +10204,22 @@
-         }
- 
+@@ -10155,17 +10170,22 @@ gchar *p;
+ 	
+ #if 0
  	strcpy(line,"");
 +	strcpy(vline,"");
          for (;;) {
@@ -111,3 +305,93 @@
  		/* failed to open - permission denied */
  		return 2;
  	}
+diff -up xcdroast-0.98alpha16/src/main.c.cdrkit xcdroast-0.98alpha16/src/main.c
+--- xcdroast-0.98alpha16/src/main.c.cdrkit	2009-02-17 06:34:16.000000000 -0500
++++ xcdroast-0.98alpha16/src/main.c	2009-02-17 06:34:16.000000000 -0500
+@@ -226,7 +226,7 @@ gchar tmp[MAXLINE];
+ 	gtk_box_pack_start(GTK_BOX(sidespace), side_t,TRUE,TRUE,0);
+ 
+ 	side_t_btn1 = gtk_button_new_with_label (_("Setup"));
+-	if (!curset.isProDVD) {
++	if (!curset.isDVD) {
+ 		side_t_btn2 = gtk_button_new_with_label (_("Duplicate CD"));
+ 		side_t_btn3 = gtk_button_new_with_label (_("Create CD"));
+ 	} else {
+diff -up xcdroast-0.98alpha16/src/setup.c.cdrkit xcdroast-0.98alpha16/src/setup.c
+--- xcdroast-0.98alpha16/src/setup.c.cdrkit	2009-02-17 06:34:16.000000000 -0500
++++ xcdroast-0.98alpha16/src/setup.c	2009-02-17 06:34:16.000000000 -0500
+@@ -316,7 +316,7 @@ gchar tmp[MAXLINE];
+ 	dolog(2, "Confirm setup\n");
+ 
+ 	/* some lasts checks and warnings */
+-	if (is_dvdwriter(setupdata.writer_devnr) && !curset.isProDVD) {
++	if (is_dvdwriter(setupdata.writer_devnr) && !curset.isDVD) {
+ 		ret = show_dialog(ICO_WARN, _("Please note that you have to install ProDVD support before\nyou can write DVDs. Currently you will only be able to\nwrite regular CDs with your DVD-Writer."), T_OK,T_CANCEL, NULL, 0);
+ 		if (ret == 1) {
+ 			/* abort */
+@@ -1148,7 +1148,7 @@ static const gchar *helpwritemodes[] = H
+ 	gtk_box_pack_start(GTK_BOX(vbox2),tbl,FALSE,TRUE,0);
+ 	gtk_widget_show(tbl);
+ 
+-	if (!curset.isProDVD) {
++	if (!curset.isDVD) {
+ 		l1 = rightjust_gtk_label_new(_("CD Writer Device:"));
+ 	} else {
+ 		l1 = rightjust_gtk_label_new(_("CD/DVD Writer Device:"));
+@@ -2788,7 +2788,7 @@ GtkWidget *check;
+ 	gtk_text_set_point(GTK_TEXT(txt),0);
+ 	gtk_text_thaw(GTK_TEXT(txt));
+ 
+-	if (curset.isProDVD == 0) {
++	if (curset.isDVD == 0) {
+ 		gtk_widget_set_sensitive(f1, FALSE);
+ 		gtk_widget_set_sensitive(l1, FALSE);
+ 		gtk_widget_set_sensitive(txt, FALSE);
+@@ -3198,7 +3198,7 @@ gchar tmp[MAXLINE];
+ 	gtk_container_add (GTK_CONTAINER (f1), tbl);
+ 	gtk_widget_show(tbl);
+ 
+-	if (!curset.isProDVD) {
++	if (!curset.isDVD) {
+ 		check = gtk_check_button_new_with_label(_("change CD Writer Device"));
+ 	} else {
+ 		check = gtk_check_button_new_with_label(_("change CD/DVD Writer Device"));
+@@ -3220,7 +3220,7 @@ gchar tmp[MAXLINE];
+ 	gtk_widget_show(check);
+ 	define_tooltip(check, _("If enabled, then the user is allowed the change the write parameters for the CD Writer (e.g. Speed and FIFO-Buffer-Size)."));
+ 
+-	if (!curset.isProDVD) {
++	if (!curset.isDVD) {
+ 		check = gtk_check_button_new_with_label(_("change CD Reader Device"));
+ 	} else {
+ 		check = gtk_check_button_new_with_label(_("change CD/DVD Reader Device"));
+@@ -3387,7 +3387,7 @@ gint i;
+ 	gtk_notebook_append_page(GTK_NOTEBOOK (notebook),f1,l1);
+ 	draw_scsi_scan(f1);
+ 
+-	if (!curset.isProDVD) {
++	if (!curset.isDVD) {
+ 		l2 = gtk_label_new(_("CD Settings"));
+ 	} else {
+ 		l2 = gtk_label_new(_("CD/DVD Settings"));
+diff -up xcdroast-0.98alpha16/src/xtools.c.cdrkit xcdroast-0.98alpha16/src/xtools.c
+--- xcdroast-0.98alpha16/src/xtools.c.cdrkit	2008-08-20 12:10:28.000000000 -0400
++++ xcdroast-0.98alpha16/src/xtools.c	2009-02-17 06:34:16.000000000 -0500
+@@ -2403,7 +2403,7 @@ gchar tmp[MAXLINE];
+ 
+ gint get_gracetime() {
+ 
+-	if (curset.isProDVD && curset.cdrtype > 1000) {
++	if (curset.isDVD && curset.cdrtype > 1000) {
+ 		/* use 10 seconds for prodvd, because the keycheck
+ 		   can take a while... */
+ 		return 10;
+@@ -3521,7 +3521,7 @@ gint isdvd,i;
+ 	isdvd = 0;
+ 	i = get_writerreaderdevs_index(devnr);
+ 
+-	if (i >= 0 && curset.isProDVD && writerreaderdevs[i]->is_dvdwriter) {
++	if (i >= 0 && curset.isDVD && writerreaderdevs[i]->is_dvdwriter) {
+ 	        if (convert_devnr2busid(devnr,tmp) != 0) {
+ 	                g_error("non existing cdrom?");
+ 	        }

xcdroast-0.98alpha15-scan.patch:

Index: xcdroast-0.98alpha15-scan.patch
===================================================================
RCS file: /cvs/extras/rpms/xcdroast/devel/xcdroast-0.98alpha15-scan.patch,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- xcdroast-0.98alpha15-scan.patch	13 Aug 2007 14:18:22 -0000	1.4
+++ xcdroast-0.98alpha15-scan.patch	17 Feb 2009 14:17:23 -0000	1.5
@@ -1,36 +1,5 @@
 --- xcdroast-0.98alpha15/src/io.c.scan	2003-10-26 15:24:48.000000000 +0100
 +++ xcdroast-0.98alpha15/src/io.c	2004-09-20 16:36:03.841108264 +0200
-@@ -330,16 +330,26 @@
- 	if (strncmp(line,"Cdrecord",8) == 0) {
- 		return;
- 	}
--
--	if (strncmp(line,"scsibus",7) == 0 ) {
-+#if 0
-+	if (strncmp(line,"devname",7) == 0 ) {
- 		/* set current scsibus nr */
- 		strcpy(tmp,line+7);
- 		p1=strtok(tmp,":");
--		strcpy(tmp2,p1);	
- 		/* now tmp2 contains the current busnr as string */
--		busnr = atoi(tmp2);
-+		devname = strdup(p1);
- 		return;
- 	}
-+#endif
-+       if (strncmp(line,"scsibus",7) == 0 ) {
-+                /* set current scsibus nr */
-+                strcpy(tmp,line+7);
-+                p1=strtok(tmp,":");
-+                strcpy(tmp2,p1);
-+                /* now tmp2 contains the current busnr as string */
-+                busnr = atoi(tmp2);
-+                return;
-+        }
-+
- 
- 	/* a line with an error message? */
- 	/* get_spawn_path(CDRECORD,tmp); */
 @@ -1061,17 +1071,18 @@
  
  	if (doscanbus) {
@@ -41,8 +10,8 @@
  		/* scan for alternatives */
  #if defined(linux)
  		if (scanparam) {
--			scan_other("ATAPI", 1, txt);
-+			scan_other("ATAPI", 2, txt);
+-			scan_other("ATA", 1, txt);
++			scan_other("ATA", 2, txt);
  		}
  #endif
  #if defined(sun)


Index: xcdroast.spec
===================================================================
RCS file: /cvs/extras/rpms/xcdroast/devel/xcdroast.spec,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -r1.33 -r1.34
--- xcdroast.spec	19 Feb 2008 04:43:41 -0000	1.33
+++ xcdroast.spec	17 Feb 2009 14:17:23 -0000	1.34
@@ -1,33 +1,35 @@
-Summary: An X Window System based tool for creating CDs.
+%define alphatag alpha16
+Summary: An X Window System based tool for creating CDs
 Name: xcdroast
-Version: 0.98a15
-Release: 17%{?dist}
+Version: 0.98
+Release: 0.1.%{?alphatag}%{?dist}
+Epoch: 1
 License: LGPLv2+
 Group: Applications/Multimedia
-Source: http://xcdroast.sourceforge.net/RPMS/a15/src/xcdroast-0.98alpha15.tar.gz
+Source: http://prdownloads.sourceforge.net/%{name}/%{name}-%{version}%{alphatag}.tar.gz
 Source1: xcdroast.desktop
 Patch1: xcdroast-0.98alpha15-linebuffer.patch
 Patch2: xcdroast-0.98alpha15-nowarn.patch
 Patch3: xcdroast-0.98alpha15-scan.patch
 
-Patch11: xcdroast-0.98alpha15-01_upstream_configure.patch
-Patch12: xcdroast-0.98alpha15-02_upstream_gtk2locale.patch
-Patch13: xcdroast-0.98alpha15-03_upstream_64bit_gsize.patch
-Patch14: xcdroast-0.98alpha15-04_upstream_read_eagain.patch
-Patch15: xcdroast-0.98alpha15-05_upstream_wav.patch
-Patch16: xcdroast-0.98alpha15-06_man.patch
-Patch17: xcdroast-0.98alpha15-07_case_cmp.patch
-Patch18: xcdroast-0.98alpha15-08_desktop.patch
-Patch19: xcdroast-0.98alpha15-09_share_dir.patch
-Patch20: xcdroast-0.98alpha15-10_cddbtool.patch
-Patch21: xcdroast-0.98alpha15-11_mkisofs_options.patch
-Patch22: xcdroast-0.98alpha15-12_cdrecord_versions.patch
+#Patch11: xcdroast-0.98alpha15-01_upstream_configure.patch
+#Patch12: xcdroast-0.98alpha15-02_upstream_gtk2locale.patch
+#Patch13: xcdroast-0.98alpha15-03_upstream_64bit_gsize.patch
+#Patch14: xcdroast-0.98alpha15-04_upstream_read_eagain.patch
+#Patch15: xcdroast-0.98alpha15-05_upstream_wav.patch
+#Patch16: xcdroast-0.98alpha15-06_man.patch
+#Patch17: xcdroast-0.98alpha15-07_case_cmp.patch
+#Patch18: xcdroast-0.98alpha15-08_desktop.patch
+#Patch19: xcdroast-0.98alpha15-09_share_dir.patch
+#Patch20: xcdroast-0.98alpha15-10_cddbtool.patch
+#Patch21: xcdroast-0.98alpha15-11_mkisofs_options.patch
+#Patch22: xcdroast-0.98alpha15-12_cdrecord_versions.patch
 Patch23: xcdroast-0.98alpha15-13_cdrecord_to_wodim.patch
 Patch24: xcdroast-0.98alpha15-14_atapi_to_oldatapi.patch
 Patch25: xcdroast-0.98alpha15-15_no_readcd_version.patch
 
 Patch30: xcdroast-0.98alpha15-prodvd.patch
-Patch31: xcdroast-0.98alpha15-frozen_gui.patch
+#Patch31: xcdroast-0.98alpha15-frozen_gui.patch
 Patch32: xcdroast-0.98alpha15-nogtk1.patch
 
 Url: http://www.xcdroast.org/
@@ -46,41 +48,42 @@
 copying of CDs without hard disk buffering, and a logfile option.
 
 %prep
-%setup -q -n xcdroast-0.98alpha15
+%setup -q -n %{name}-%{version}%{alphatag}
 %patch1 -p1 -b .linebuffer
 %patch2 -p1 -b .nowarn
 %patch3 -p1 -b .scan
 
-%patch11 -p1 -b .p11
-%patch12 -p1 -b .p12
-%patch13 -p1 -b .p13
-%patch14 -p1 -b .p14
-%patch15 -p1 -b .p15
-%patch16 -p1 -b .p16
-%patch17 -p1 -b .p17
-%patch18 -p1 -b .p18
-%patch19 -p1 -b .p19
-%patch20 -p1 -b .p20
-%patch21 -p0 -b .p21
-%patch22 -p1 -b .p22
+#%patch11 -p1 -b .p11
+#%patch12 -p1 -b .p12
+#%patch13 -p1 -b .p13
+#%patch14 -p1 -b .p14
+#%patch15 -p1 -b .p15
+#%patch16 -p1 -b .p16
+#%patch17 -p1 -b .p17
+#%patch18 -p1 -b .p18
+#%patch19 -p1 -b .p19
+#%patch20 -p1 -b .p20
+#%patch21 -p0 -b .p21
+#%patch22 -p1 -b .p22
 %patch23 -p1 -b .p23
 %patch24 -p0 -b .p24
 %patch25 -p1 -b .p25
 
 %patch30 -p1 -b .cdrkit
-%patch31 -p1 -b .frozen
+#%patch31 -p1 -b .frozen
 %patch32 -p1 -b .nogtk1
 
 
 %build
 export CFLAGS="$RPM_OPT_FLAGS -g"
 %configure --enable-gtk2 --disable-nonrootmode
-make
+make %{?_smp_mflags}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 mkdir -p $RPM_BUILD_ROOT/{etc/{X11/applnk/Multimedia,pam.d,security/console.apps},usr/sbin}
-make install PREFIX=/usr DESTDIR=$RPM_BUILD_ROOT
+#make install PREFIX=/usr DESTDIR=$RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT
 
 mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
 desktop-file-install --vendor xcdroast \
@@ -95,18 +98,23 @@
 rm -rf $RPM_BUILD_ROOT
 
 %files -f %{name}.lang
-%defattr(-,root,root)
+%defattr(-,root,root,-)
 %doc ChangeLog doc/DOCUMENTATION doc/FAQ doc/README* doc/TRANSLATION.HOWTO 
-%dir /usr/lib/xcdroast-0.98
-%dir /usr/lib/xcdroast-0.98/bin
-%dir /usr/lib/xcdroast-0.98/icons
-%dir /usr/lib/xcdroast-0.98/sound
-%{_mandir}/man?/xcdroast*
+%dir /usr/lib/%{name}-%{version}
+%dir /usr/lib/%{name}-%{version}/bin
+%dir /usr/lib/%{name}-%{version}/icons
+%dir /usr/lib/%{name}-%{version}/sound
+%{_mandir}/man?/%{name}*
 /usr/bin/*
-/usr/lib/xcdroast-0.98/*/*
+/usr/lib/%{name}-%{version}/*/*
 %{_datadir}/applications/*
  
 %changelog
+* Mon Feb 09 2009 Roman Rakus <rrakus at redhat.com> - 0.98-0.1.alpha16
+- New version 0.98alpha16
+- some spec file fixes
+  Resolves: #226550
+
 * Mon Feb 18 2008 Fedora Release Engineering <rel-eng at fedoraproject.org> - 0.98a15-17
 - Autorebuild for GCC 4.3
 


--- xcdroast-0.98alpha15-01_upstream_configure.patch DELETED ---


--- xcdroast-0.98alpha15-02_upstream_gtk2locale.patch DELETED ---


--- xcdroast-0.98alpha15-03_upstream_64bit_gsize.patch DELETED ---


--- xcdroast-0.98alpha15-04_upstream_read_eagain.patch DELETED ---


--- xcdroast-0.98alpha15-05_upstream_wav.patch DELETED ---


--- xcdroast-0.98alpha15-06_man.patch DELETED ---


--- xcdroast-0.98alpha15-07_case_cmp.patch DELETED ---


--- xcdroast-0.98alpha15-08_desktop.patch DELETED ---


--- xcdroast-0.98alpha15-09_share_dir.patch DELETED ---


--- xcdroast-0.98alpha15-10_cddbtool.patch DELETED ---


--- xcdroast-0.98alpha15-11_mkisofs_options.patch DELETED ---


--- xcdroast-0.98alpha15-12_cdrecord_versions.patch DELETED ---


--- xcdroast-0.98alpha15-frozen_gui.patch DELETED ---




More information about the fedora-extras-commits mailing list