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

« back to all changes in this revision

Viewing changes to src/scsi-get-performance.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-get-performance.h
3
 
 *
4
 
 *  Fri Oct 20 11:51:05 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
 
#include "scsi-base.h"
28
 
 
29
 
#ifndef _BURN_GET_PERFORMANCE_H
30
 
#define _BURN_GET_PERFORMANCE_H
31
 
 
32
 
G_BEGIN_DECLS
33
 
 
34
 
#if G_BYTE_ORDER == G_LITTLE_ENDIAN
35
 
 
36
 
struct _BraseroScsiGetPerfHdr {
37
 
        uchar len       [4];
38
 
 
39
 
        uchar except    :1;
40
 
        uchar wrt       :1;
41
 
        uchar reserved0 :6;
42
 
 
43
 
        uchar reserved1 [3];
44
 
};
45
 
 
46
 
struct _BraseroScsiWrtSpdDesc {
47
 
        uchar mrw       :1;
48
 
        uchar exact     :1;
49
 
        uchar rdd       :1;
50
 
        uchar wrc       :1;
51
 
        uchar reserved0 :3;
52
 
 
53
 
        uchar reserved1 [3];
54
 
 
55
 
        uchar capacity  [4];
56
 
        uchar rd_speed  [4];
57
 
        uchar wr_speed  [4];
58
 
};
59
 
 
60
 
#else
61
 
 
62
 
struct _BraseroScsiGetPerfHdr {
63
 
        uchar len       [4];
64
 
 
65
 
        uchar reserved0 :6;
66
 
        uchar wrt       :1;
67
 
        uchar except    :1;
68
 
 
69
 
        uchar reserved1 [3];
70
 
};
71
 
 
72
 
struct _BraseroScsiWrtSpdDesc {
73
 
        uchar reserved0 :3;
74
 
        uchar wrc       :1;
75
 
        uchar rdd       :1;
76
 
        uchar exact     :1;
77
 
        uchar mrw       :1;
78
 
 
79
 
        uchar reserved1 [3];
80
 
 
81
 
        uchar capacity  [4];
82
 
        uchar rd_speed  [4];
83
 
        uchar wr_speed  [4];
84
 
};
85
 
 
86
 
#endif
87
 
 
88
 
typedef struct _BraseroScsiGetPerfHdr BraseroScsiGetPerfHdr;
89
 
typedef struct _BraseroScsiWrtSpdDesc BraseroScsiWrtSpdDesc;
90
 
 
91
 
struct _BraseroScsiGetPerfData {
92
 
        BraseroScsiGetPerfHdr hdr;
93
 
        gpointer data;                  /* depends on the request */
94
 
};
95
 
typedef struct _BraseroScsiGetPerfData BraseroScsiGetPerfData;
96
 
 
97
 
G_END_DECLS
98
 
 
99
 
#endif /* _BURN_GET_PERFORMANCE_H */
100
 
 
101