~ubuntu-branches/debian/wheezy/brasero/wheezy

« back to all changes in this revision

Viewing changes to src/scsi-status-page.h

  • Committer: Bazaar Package Importer
  • Author(s): Josselin Mouette, Pedro Fragoso, Luca Bruno, Josselin Mouette, Emilio Pozuelo Monfort
  • Date: 2009-06-24 18:59:46 UTC
  • mfrom: (1.2.13 upstream)
  • Revision ID: james.westby@ubuntu.com-20090624185946-iyxkgf3gjptir5y3
Tags: 2.26.2-1
[ Pedro Fragoso ]
* Add myself to Maintainer field
  - Thanks Ondřej Surý
* New upstream version (Closes: #528945)
  - Split package into brasero, libbrasero-media0 and libbrasero-dev
  - Add Replaces to libbrasero-media0
  - Bump libgtk to 2.14.0
  - Remove libnotify Build-dep
  - Add Build-dep libnautilus-extension-dev (>= 2.22.2)
    and install it.
  - Add Build-dep to libsm-dev
  - Add Build-dep on intltool
* Install omf files to prevent crash on Help
* Move gstreamer0.10-plugins-bad to Suggests, and add
  dvdauthor and vcdimager
* Recommends gvfs (Closes: #491827)
* Pass --disable-scrollkeeper in DEB_CONFIGURE_EXTRA_FLAGS
* debian/patches/007-fix-gnome-doc-utils-path.patch:
  - Removed, not needed anymore
* debian/patches/008-fix-volume-identifier-crash.patch:
  - Removed, merged upstream
* debian/patches/011_nautilus_menu_move.patch:
 - Move CD/DVD Creator Menu to Acessories, taken from Ubuntu

[ Luca Bruno ]
* debian/control.in:
  - Add Build-Depend gtk-doc-tools 1.9.
* debian/patches/006-fix-libdvdcss.patch:
  - Removed as applied upstream.

[ Josselin Mouette ]
* New upstream release.
* Update build-dependencies.
* Move the translations and data to a new brasero-common package.
* Rewrite the descriptions.
* Add -dev depends to the development package.
* Remove inappropriate recommends in the library package.
* Let’s not forget dvd+rw-tools so that we can write DVDs too.
* Rework dependencies accordingly.
* Put the nautilus extension in brasero.
* Conflict against nautilus-cd-burner to avoid having two burning 
  extensions.
* Include clean-la.mk and gnome-version.mk; build-depend on 
  gnome-pkg-tools 0.7.
* Don’t run dh_makeshlibs on brasero and libbrasero-plugins.
* 011_nautilus_menu_move.patch: add NoDisplay=true, this icon is 
  duplicating existing functionality (brasero icon in sound&video 
  menu, and nautilus autorun).
* Update list of copyright holders.

[ Emilio Pozuelo Monfort ]
* debian/copyright: updated.

[ Josselin Mouette ]
* copyright: improve indentation, and point to versioned LGPL.
* 090_relibtoolize.patch: add a relibtoolization patch to avoid the 
  rpath crap.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/***************************************************************************
2
 
 *            burn-status-page.h
3
 
 *
4
 
 *  Fri Oct 20 11:20:04 2006
5
 
 *  Copyright  2006  algernon
6
 
 *  <algernon@localhost.localdomain>
7
 
 ****************************************************************************/
8
 
 
9
 
/*
10
 
 * This program is free software; you can redistribute it and/or modify
11
 
 * it under the terms of the GNU General Public License as published by
12
 
 * the Free Software Foundation; either version 2 of the License, or
13
 
 * (at your option) any later version.
14
 
 * 
15
 
 * This program is distributed in the hope that it will be useful,
16
 
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17
 
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18
 
 * GNU Library General Public License for more details.
19
 
 * 
20
 
 * You should have received a copy of the GNU General Public License
21
 
 * along with this program; if not, write to the Free Software
22
 
 * Foundation, Inc., 51 Franklin Street, Fifth Floor Boston, MA 02110-1301,  USA
23
 
 */
24
 
 
25
 
#include <glib.h>
26
 
 
27
 
#ifndef _BURN_STATUS_PAGE_H
28
 
#define _BURN_STATUS_PAGE_H
29
 
 
30
 
#ifdef __cplusplus
31
 
extern "C"
32
 
{
33
 
#endif
34
 
 
35
 
/**
36
 
 * Status page
37
 
 */
38
 
 
39
 
typedef struct _BraseroScsiStatusWrSpdDesc BraseroScsiStatusWrSpdDesc;
40
 
 
41
 
#if G_BYTE_ORDER == G_LITTLE_ENDIAN
42
 
 
43
 
struct _BraseroScsiStatusWrSpdDesc {
44
 
        uchar reserved0                 :8;
45
 
 
46
 
        uchar rot_ctl                   :3;
47
 
        uchar reserved1                 :5;
48
 
 
49
 
        uchar speed                     [2];
50
 
};
51
 
 
52
 
struct _BraseroScsiStatusPage {
53
 
        uchar code                      :6;                     /* 0 */
54
 
        uchar reserved0                 :1;
55
 
        uchar ps                        :1;
56
 
 
57
 
        uchar len                       :8;                     /* 1 */
58
 
 
59
 
        uchar rd_CDR                    :1;                     /* 2 */
60
 
        uchar rd_CDRW                   :1;
61
 
        uchar method2                   :1;
62
 
        uchar rd_DVDROM                 :1;
63
 
        uchar rd_DVDR                   :1;
64
 
        uchar rd_DVDRAM                 :1;
65
 
        uchar reserved1                 :2;
66
 
 
67
 
        uchar wr_CDR                    :1;                     /* 3 */
68
 
        uchar wr_CDRW                   :1;
69
 
        uchar dummy                     :1;
70
 
        uchar reserved3                 :1;
71
 
        uchar wr_DVDR                   :1;
72
 
        uchar wr_DVDRAM                 :1;
73
 
        uchar reserved2                 :2;
74
 
 
75
 
        uchar play_audio                :1;                     /* 4 */
76
 
        uchar composite                 :1;
77
 
        uchar digital_port_2            :1;
78
 
        uchar digital_port_1            :1;
79
 
        uchar mode2_1                   :1;
80
 
        uchar mode2_2                   :1;
81
 
        uchar multisession              :1;
82
 
        uchar buffer                    :1;
83
 
 
84
 
        uchar CDDA_support              :1;                     /* 5 */
85
 
        uchar CDDA_accuracy             :1;
86
 
        uchar support_RW                :1;
87
 
        uchar RW_interleace             :1;
88
 
        uchar c2_pointers               :1;
89
 
        uchar isrc                      :1;
90
 
        uchar upc                       :1;
91
 
        uchar barcode                   :1;
92
 
 
93
 
        uchar lock                      :1;                     /* 6 */
94
 
        uchar lock_state                :1;
95
 
        uchar jumper                    :1;
96
 
        uchar eject                     :1;
97
 
        uchar reserved4                 :1;
98
 
        uchar load_type                 :3;
99
 
 
100
 
        uchar separate_vol_level        :1;                     /* 7 */
101
 
        uchar separate_chnl_mute        :1;
102
 
        uchar changer_support           :1;
103
 
        uchar slot_selection            :1;
104
 
        uchar side_change               :1;
105
 
        uchar RW_leadin                 :1;
106
 
        uchar reserved5                 :2;
107
 
 
108
 
        uchar rd_current_speed          [2];                    /* 8 */
109
 
        uchar max_buf_size              [2];
110
 
        uchar volume_lvl_num            [2];
111
 
        uchar rd_max_speed              [2];
112
 
 
113
 
        uchar reserved6                 :8;                     /* 16 */
114
 
 
115
 
        uchar reserved8                 :1;                     /* 17 */
116
 
        uchar bck                       :1;
117
 
        uchar rck                       :1;
118
 
        uchar lsbf                      :1;
119
 
        uchar length                    :2;
120
 
        uchar reserved7                 :2;
121
 
 
122
 
        uchar wr_max_speed              [2];                    /* 18 */
123
 
        uchar wr_current_speed          [2];
124
 
 
125
 
        uchar copy_mngt_rev             [2];                    /* 22 */
126
 
 
127
 
        uchar reserved9                 [3];
128
 
 
129
 
        uchar current_rot_ctl           :2;                     /* 27 */
130
 
        uchar reserved10                :6;
131
 
 
132
 
        uchar wr_selected_speed         [2];
133
 
        uchar wr_speed_desc_num         [2];
134
 
 
135
 
        BraseroScsiStatusWrSpdDesc wr_spd_desc [0];             /* 32 */
136
 
};
137
 
 
138
 
#else
139
 
 
140
 
struct _BraseroScsiStatusWrSpdDesc {
141
 
        uchar reserved0                 :8;
142
 
 
143
 
        uchar reserved1                 :5;
144
 
        uchar rot_ctl                   :3;
145
 
 
146
 
        uchar speed                     [2];
147
 
};
148
 
 
149
 
struct _BraseroScsiStatusPage {
150
 
        uchar ps                        :1;                     /* 0 */
151
 
        uchar reserved0                 :1;
152
 
        uchar code                      :6;
153
 
 
154
 
        uchar len                       :8;                     /* 1 */
155
 
 
156
 
        uchar reserved1                 :2;                     /* 2 */
157
 
        uchar rd_DVDRAM                 :1;
158
 
        uchar rd_DVDR                   :1;
159
 
        uchar rd_DVDROM                 :1;
160
 
        uchar method2                   :1;
161
 
        uchar rd_CDRW                   :1;
162
 
        uchar rd_CDR                    :1;
163
 
 
164
 
        uchar reserved2                 :2;                     /* 3 */
165
 
        uchar wr_DVDRAM                 :1;
166
 
        uchar wr_DVDR                   :1;
167
 
        uchar reserved3                 :1;
168
 
        uchar dummy                     :1;
169
 
        uchar wr_CDRW                   :1;
170
 
        uchar wr_CDR                    :1;
171
 
 
172
 
        uchar buffer                    :1;                     /* 4 */
173
 
        uchar multisession              :1;
174
 
        uchar mode2_2                   :1;
175
 
        uchar mode2_1                   :1;
176
 
        uchar digital_port_1            :1;
177
 
        uchar digital_port_2            :1;
178
 
        uchar composite                 :1;
179
 
        uchar play_audio                :1;
180
 
 
181
 
        uchar barcode                   :1;                     /* 5 */
182
 
        uchar upc                       :1;
183
 
        uchar isrc                      :1;
184
 
        uchar c2_pointers               :1;
185
 
        uchar RW_interleace             :1;
186
 
        uchar support_RW                :1;
187
 
        uchar CDDA_accuracy             :1;
188
 
        uchar CDDA_support              :1;
189
 
 
190
 
        uchar load_type                 :3;                     /* 6 */
191
 
        uchar reserved4                 :1;
192
 
        uchar eject                     :1;
193
 
        uchar jumper                    :1;
194
 
        uchar lock_state                :1;
195
 
        uchar lock                      :1;
196
 
 
197
 
        uchar reserved5                 :2;                     /* 7 */
198
 
        uchar RW_leadin                 :1;
199
 
        uchar side_change               :1;
200
 
        uchar slot_selection            :1;
201
 
        uchar changer_support           :1;
202
 
        uchar separate_chnl_mute        :1;
203
 
        uchar separate_vol_level        :1;
204
 
 
205
 
        uchar rd_max_speed              [2];                    /* 8 */
206
 
        uchar volume_lvl_num            [2];
207
 
        uchar max_buf_size              [2];
208
 
        uchar rd_current_speed          [2];
209
 
 
210
 
        uchar reserved6                 :8;                     /* 16 */
211
 
 
212
 
        uchar reserved7                 :2;                     /* 17 */
213
 
        uchar length                    :2;
214
 
        uchar lsbf                      :1;
215
 
        uchar rck                       :1;
216
 
        uchar bck                       :1;
217
 
        uchar reserved8                 :1;
218
 
 
219
 
        uchar wr_max_speed              [2];                    /* 18 */
220
 
        uchar wr_current_speed          [2];
221
 
 
222
 
        uchar copy_mngt_rev             [2];                    /* 22 */
223
 
 
224
 
        uchar reserved9                 [3];
225
 
 
226
 
        uchar reserved10                :6;                     /* 27 */
227
 
        uchar current_rot_ctl           :2;
228
 
 
229
 
        uchar wr_selected_speed         [2];
230
 
        uchar wr_speed_desc_num         [2];
231
 
 
232
 
        BraseroScsiStatusWrSpdDesc wr_spd_desc [0];     /* 32 */
233
 
};
234
 
 
235
 
#endif
236
 
 
237
 
typedef struct _BraseroScsiStatusPage BraseroScsiStatusPage;
238
 
 
239
 
#ifdef __cplusplus
240
 
}
241
 
#endif
242
 
 
243
 
#endif /* _BURN_STATUS_PAGE_H */
244
 
 
245