~mfisch/brasero/update-to-3.8.0

« back to all changes in this revision

Viewing changes to plugins/cdrtools/burn-cdda2wav.c

  • Committer: Bazaar Package Importer
  • Author(s): Michael Biebl
  • Date: 2010-07-04 15:14:24 UTC
  • mfrom: (1.3.7 upstream)
  • mto: (1.4.2 experimental)
  • mto: This revision was merged to the branch mainline in revision 74.
  • Revision ID: james.westby@ubuntu.com-20100704151424-yg69h5sc55xgjp6h
Tags: 2.30.2-1
* New upstream release.
  - Fixes incorrectly reported size by passing correct arguments to
    g_signal_emit(). Closes: #568606
  - Fixes tracker search support. Closes: #465238
* debian/patches/90_relibtoolize.patch
  - Refresh for new upstream release.
* Switch to source formate 3.0 (quilt)
  - Add debian/source/format.
  - Drop Build-Depends on quilt.
  - Remove /usr/share/cdbs/1/rules/patchsys-quilt.mk from debian/rules.
* Bump-Standards-Version to 3.9.0
  - Use architecture wildcard kfreebsd-any for the libcam-dev Build-Depends.
  - Use Breaks instead of Conflicts as recommended by the new policy.

Show diffs side-by-side

added added

removed removed

Lines of Context:
409
409
                               "cdda2wav",
410
410
                               _("Copy tracks from an audio CD with all associated information"),
411
411
                               "Philippe Rouquier",
412
 
                               0);
 
412
                               1);
413
413
 
414
414
        output = brasero_caps_audio_new (BRASERO_PLUGIN_IO_ACCEPT_FILE /*|BRASERO_PLUGIN_IO_ACCEPT_PIPE*/, /* Keep on the fly on hold until it gets proper testing */
415
415
                                         BRASERO_AUDIO_FORMAT_RAW|
432
432
G_MODULE_EXPORT void
433
433
brasero_plugin_check_config (BraseroPlugin *plugin)
434
434
{
435
 
        gint version [3] = { 2, 0, 0};
 
435
        gchar *prog_path;
 
436
 
 
437
        /* Just check that the program is in the path and executable. */
 
438
        prog_path = g_find_program_in_path ("cdda2wav");
 
439
        if (!prog_path) {
 
440
                brasero_plugin_add_error (plugin,
 
441
                                          BRASERO_PLUGIN_ERROR_MISSING_APP,
 
442
                                          "cdda2wav");
 
443
                return;
 
444
        }
 
445
 
 
446
        if (!g_file_test (prog_path, G_FILE_TEST_IS_EXECUTABLE)) {
 
447
                g_free (prog_path);
 
448
                brasero_plugin_add_error (plugin,
 
449
                                          BRASERO_PLUGIN_ERROR_MISSING_APP,
 
450
                                          "cdda2wav");
 
451
                return;
 
452
        }
 
453
        g_free (prog_path);
 
454
 
 
455
        /* This is what it should be. Now, as I did not write and icedax plugin
 
456
         * the above is enough so that cdda2wav can use a symlink to icedax.
 
457
         * As for the version checking, it becomes impossible given that with
 
458
         * icedax the string would not start with cdda2wav. So ... */
 
459
        /*
 
460
        gint version [3] = { 2, 0, -1};
436
461
        brasero_plugin_test_app (plugin,
437
462
                                 "cdda2wav",
438
463
                                 "--version",
439
 
                                 "cdda2wav %d.%d.%da64 (x86_64-unknown-linux-gnu) Copyright (C) 1993-2004 Heiko Ei�feldt (C) 2004-2009 J�rg Schilling",
 
464
                                 "cdda2wav %d.%d",
440
465
                                 version);
 
466
        */
441
467
}