~ubuntu-branches/ubuntu/lucid/brasero/lucid-updates

« back to all changes in this revision

Viewing changes to debian/patches/93_git_new_caps_function_definition.patch

  • Committer: Bazaar Package Importer
  • Author(s): Didier Roche
  • Date: 2010-06-24 11:22:46 UTC
  • mfrom: (1.3.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20100624112246-s5ubbf8tafqkir0m
Tags: 2.30.2-0ubuntu1
* New upstream release
  - Lot's of memleak fixes
  - Fixed a runtime warning related to cancelling tracker searches
  - Crash in brasero_data_project_node_removed at
    brasero-data-project.c:1163
  - brasero crashed with SIGSEGV in brasero_data_project_remove_node()
    (LP: #561319)
  - Fix a few runtime warnings with the Cover Editor
  - Text in cover editor does not show up automatically (LP: #469459)
  - Removed use of deprecated flags
  - Use accessor functions instead direct access (use GSEAL GnomeGoal)
  - Fix a bug in the layout on first start (side pane was hidden and
    remained so until the user moved it)
  - Save printer settings for cover printing
  - Write the contents of the GtkTextBuffer displayed line by displayed
    line which should improve the layout
  - "Write to Disc" button sensitivity regression
  - Fix flaw in mask that led libburn plugin not to work (not to be picked
    up actually) in some circumstances
  - Fails to burn ANY audio project
  - Move columns doesn't work (LP: #581759)
  - Brasero does not correctly handle double clicking on column separators
    (LP: #581885)
  - Bad info when burning, high CPU usage and slow burn
  - Change the priority for cdrdao and raised the one of cdda2wav plugin
  - brasero crashed with SIGSEGV in
    brasero_mmc3_get_performa nce_wrt_spd_desc() (LP: #564766)
  - brasero crashed with SIGSEGV in brasero_scsi_command_issue_sync()
    (LP: #444832)
  - Do not check for symlinks on cdda2wav so the plugin can use icedax.
  - Brasero's failure with some file names (LP: #380643)
  - Pressing create audio cd does nothing
  - Empty project not available
  - can't actually save error logs
  - doesn't handle incorrect temp dirs properly
  - Fix multi DND in GtkFileChooser
  - Displays "starting to record" during whole burn process
  - Fix wrong report of speed with both cdrecord and wodim
  - Disk project doesn't save the disk title (LP: #587924)
  - Brasero reports outdated cdrtools on cdrtools-3.00 (LP: #592075)
  - misc bug fixes
  - Updated Translations
* Removed upstream patches:
  - debian/patches/90_git_audio_project_creation.patch,
    debian/patches/91_git_audio_project_creation.patch,
    debian/patches/92_git_audio_cd_recording.patch,
    debian/patches/93_git_new_caps_function_definition.patch
* debian/patches/99_autoconf.patch:
  - refreshed

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
From efc2d3b5f40c727f4eef433d4125a232201cac2a Mon Sep 17 00:00:00 2001
2
 
From: Philippe Rouquier <bonfire-app@wanadoo.fr>
3
 
Date: Sat, 15 May 2010 16:04:07 +0000
4
 
Subject: Introduces a function to check flags according to input for a recording link
5
 
 
6
 
---
7
 
diff --git a/libbrasero-burn/burn-caps.c b/libbrasero-burn/burn-caps.c
8
 
index 5f619e3..50e5f3f 100644
9
 
--- a/libbrasero-burn/burn-caps.c
10
 
+++ b/libbrasero-burn/burn-caps.c
11
 
@@ -67,6 +67,29 @@ brasero_caps_link_free (BraseroCapsLink *link)
12
 
        g_free (link);
13
 
 }
14
 
 
15
 
+BraseroBurnResult
16
 
+brasero_caps_link_check_recorder_flags_for_input (BraseroCapsLink *link,
17
 
+                                                  BraseroBurnFlag session_flags)
18
 
+{
19
 
+       if (brasero_track_type_get_has_image (&link->caps->type)) {
20
 
+               BraseroImageFormat format;
21
 
+
22
 
+               format = brasero_track_type_get_image_format (&link->caps->type);
23
 
+               if (format == BRASERO_IMAGE_FORMAT_CUE
24
 
+               ||  format == BRASERO_IMAGE_FORMAT_CDRDAO) {
25
 
+                       if ((session_flags & BRASERO_BURN_FLAG_DAO) == 0)
26
 
+                               return BRASERO_BURN_NOT_SUPPORTED;
27
 
+               }
28
 
+               else if (format == BRASERO_IMAGE_FORMAT_CLONE) {
29
 
+                       /* RAW write mode should (must) only be used in this case */
30
 
+                       if ((session_flags & BRASERO_BURN_FLAG_RAW) == 0)
31
 
+                               return BRASERO_BURN_NOT_SUPPORTED;
32
 
+               }
33
 
+       }
34
 
+
35
 
+       return BRASERO_BURN_OK;
36
 
+}
37
 
+
38
 
 gboolean
39
 
 brasero_caps_link_active (BraseroCapsLink *link,
40
 
                           gboolean ignore_plugin_errors)
41
 
diff --git a/libbrasero-burn/burn-caps.h b/libbrasero-burn/burn-caps.h
42
 
index d2737e1..d51f72d 100644
43
 
--- a/libbrasero-burn/burn-caps.h
44
 
+++ b/libbrasero-burn/burn-caps.h
45
 
@@ -113,6 +113,10 @@ gboolean
46
 
 brasero_caps_is_compatible_type (const BraseroCaps *caps,
47
 
                                 const BraseroTrackType *type);
48
 
 
49
 
+BraseroBurnResult
50
 
+brasero_caps_link_check_recorder_flags_for_input (BraseroCapsLink *link,
51
 
+                                                  BraseroBurnFlag session_flags);
52
 
+
53
 
 G_END_DECLS
54
 
 
55
 
 #endif /* BURN_CAPS_H */
56
 
--
57
 
cgit v0.8.3.1
58