summaryrefslogtreecommitdiff
path: root/packaging/domain-apis-system.inc
blob: 65852e36fa807a4de3e3d63bafca0a4595105bb8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
# Maintainer: TBD: This is temporary block for TDC Demo. You may proceed with this later anyway.
# You need ACK (+1) from the maintainer to be reviewed by building-blocks maintainers.


############
## System ##
############
%package sub1-domain_API-System
Summary:	System API Group
Suggests: %{name}-sub2-domain_API-System-Device
Suggests: %{name}-sub2-domain_API-System-Device_Haptic
Suggests: %{name}-sub2-domain_API-System-Diagnostics
Suggests: %{name}-sub2-domain_API-System-Feedback
Suggests: %{name}-sub2-domain_API-System-Runtime_Information
Suggests: %{name}-sub2-domain_API-System-Sensor_Listener
Suggests: %{name}-sub2-domain_API-System-Sensor_Recorder
Suggests: %{name}-sub2-domain_API-System-Storage
Suggests: %{name}-sub2-domain_API-System-System_Information
Suggests: %{name}-sub2-domain_API-System-System_Settings
Suggests: %{name}-sub2-domain_API-System-T_Trace
Suggests: %{name}-sub2-domain_API-System-USB_Host
Suggests: %{name}-sub2-domain_API-System-dlog
Suggests: %{name}-sub2-domain_API-System-Update_Control
%description sub1-domain_API-System
Tizen block (set of packages) for Group of domain API-System
%files sub1-domain_API-System

%package sub2-domain_API-System-Device
Summary:  Device
Requires: deviced
Requires: capi-system-device
Requires: hal-api-device
Suggests: hal-backend-device-tm1
Suggests: hal-backend-device-tw3
Suggests: hal-backend-device-rpi
Suggests: hal-backend-device-artik
Suggests: hal-backend-device-emulator
%description sub2-domain_API-System-Device
Tizen block (set of packages) for Group of sub domain Device.
If you do not want to use Device APIs, you do not need to choose.
However, if you want to use them, you have to choose at least one item in each hal-backend-device-xxxx.
Those have a dependancy on Hardware.
So, before you select, you have to make sure that which hardware you have.
Then choose proper combination.
For example, hal-backend-device-tm1 for mobile
             hal-backend-device-rpi for rpi3
%files sub2-domain_API-System-Device

%package sub2-domain_API-System-Device_Haptic
Summary:  Device_Haptic
Requires: feedbackd
Requires: capi-system-device
Requires: hal-api-device
Suggests: hal-backend-device-tm1
Suggests: hal-backend-device-tw3
Suggests: hal-backend-device-rpi
Suggests: hal-backend-device-artik
Suggests: hal-backend-device-emulator
%description sub2-domain_API-System-Device_Haptic
Tizen block (set of packages) for Group of sub domain Device_Haptic.
If you do not want to use Device_Haptic APIs, you do not need to choose.
However, if you want to use them, you have to choose at least one item in feedbackd-driver-xxxx.
Haptic has a dependancy on Profile.
Before you select, you have to make sure that which Profile you have.
Then choose proper one.
For example, feedbackd-driver-circle for tw1
%files sub2-domain_API-System-Device_Haptic
%posttrans sub2-domain_API-System-Device_Haptic
%tizen_feature tizen.org/feature/feedback.vibration true

%package sub2-domain_API-System-Feedback
Summary:  Feedback
Requires: %{name}-sub2-domain_API-Multimedia-Audio_IO
Requires: feedbackd
Requires: libfeedback
Requires: hal-api-device
Suggests: hal-backend-device-tm1
Suggests: hal-backend-device-tw3
Suggests: hal-backend-device-rpi
Suggests: hal-backend-device-artik
Suggests: hal-backend-device-emulator
Suggests: svi-data-profile_common
Suggests: svi-data-profile_mobile
Suggests: svi-data-profile_wearable
%description sub2-domain_API-System-Feedback
Tizen block (set of packages) for Group of sub domain Feedback.
Feedback is only available for mobile, wearable and common.
If you do not want to use Feedback APIs, you do not need to choose.
However, if you want to use them, you have to choose at least one item in feedbackd-driver-xxxx.
Those have a dependancy on Profile.
Before you select, you have to make sure that which Profile you have.
Then choose proper combination.
For example, svi-data-profile_common for common
%files sub2-domain_API-System-Feedback
%posttrans sub2-domain_API-System-Feedback

%package sub2-domain_API-System-Runtime_Information
Summary:    Runtime information
Requires:   capi-system-runtime-info
Suggests:   %{name}-sub1-domain_Feature-Resource_manager
Suggests:   %{name}-sub1-domain_Feature-Resource_manager_Light
Suggests:   %{name}-sub1-domain_Feature-Resource_manager_Headless
%description sub2-domain_API-System-Runtime_Information
capi-system-runtime-info provides the current system state.<br>
To get the process information, you need to add one of these resource manager features below;<br>
  * Tizen Resource Manager - Full Featured<br>
  * Tizen Resource Manager - For Headless Devices<br>
  * Tizen Resource Manager - Light-Weight
%files sub2-domain_API-System-Runtime_Information

%package sub2-domain_API-System-Sensor_Listener
Summary:    Sensor_Listener
Requires:   capi-system-sensor
Requires:   hal-api-sensor
Requires:   sensord
Suggests:   sensor-hal-tm1
Suggests:   sensor-hal-tm2
Suggests:   sensor-hal-tw1
Suggests:   sensor-hal-tw2

%description sub2-domain_API-System-Sensor_Listener
This block supports sensor listener API to detect sensors and monitor sensor events.<br>
You should choose HAL packages depends on target and hardware.
For example, if you want to make a binary for TM1, you can choose the sensor-hal-tm1 package.<br>

%files sub2-domain_API-System-Sensor_Listener

%package sub2-domain_API-System-Sensor_Recorder
Summary:    Sensor_Recorder
Requires:   context-sensor-recorder
Requires:   %{name}-sub2-domain_API-System-Sensor_Listener

%description sub2-domain_API-System-Sensor_Recorder
This block supports sensor recorder API to record sensor data.<br>
You should choose HAL packages depends on target and hardware. HAL packages are listed in the Sensor_Listener block.
For example, if you want to make a binary for TM1, you can choose the sensor-hal-tm1 package.<br>

%files sub2-domain_API-System-Sensor_Recorder

%package sub2-domain_API-System-Storage
Summary:    Storage
Requires: storaged
Requires: storaged-module_block
Requires: storaged-module_storage
%description sub2-domain_API-System-Storage
Tizen block (set of packages) for Group of sub domain Storage
%files sub2-domain_API-System-Storage

%package sub2-domain_API-System-System_Information
Summary:    System information
Requires:   capi-system-info
%description sub2-domain_API-System-System_Information
capi-system-info provides a (fixed) device capability.
%files sub2-domain_API-System-System_Information

%package sub2-domain_API-System-System_Settings
Summary:    System_Settings
Requires:   capi-system-system-settings
%description sub2-domain_API-System-System_Settings
System setting api for get,set configuration
%files sub2-domain_API-System-System_Settings

%posttrans sub2-domain_API-System-System_Settings

%tizen_feature tizen.org/feature/systemsetting true
%tizen_feature tizen.org/feature/systemsetting.notification_email true

%package sub2-domain_API-System-T_Trace
Summary:    T_Trace
Requires: ttrace
%description sub2-domain_API-System-T_Trace
This block is possible to use ttrace.

%files sub2-domain_API-System-T_Trace

%package sub2-domain_API-System-USB_Host
Summary:    USB_Host
Requires: capi-system-usbhost
Requires: libusb
%description sub2-domain_API-System-USB_Host
Tizen block (set of packages) for Group of sub domain USB_Host
%files sub2-domain_API-System-USB_Host
%posttrans sub2-domain_API-System-USB_Host
%tizen_feature tizen.org/feature/usb.host true

%package sub2-domain_API-System-Diagnostics
Summary: Diagnostics API
Requires: diagnostics
Requires: crash-worker
Requires: dumpsys
Requires: libdumpsys-user
%description sub2-domain_API-System-Diagnostics
Diagnostics API provides functions to receive crash reports and request logs from other apps.
%files sub2-domain_API-System-Diagnostics
%posttrans sub2-domain_API-System-Diagnostics
%tizen_feature tizen.org/feature/diagnostics true

%package sub2-domain_API-System-dlog
Summary:    dlog
Requires: libdlog
Requires: dlogutil
%description sub2-domain_API-System-dlog
Tizen block (set of packages) for Group of sub domain dlog
%files sub2-domain_API-System-dlog

%package sub2-domain_API-System-Update_Control
Summary:    Update Control
Requires: update-control
Requires: update-control-daemon
%description sub2-domain_API-System-Update_Control
Tizen block (set of packages) for Group of sub domain Update_Control
%files sub2-domain_API-System-Update_Control
%posttrans sub2-domain_API-System-Update_Control
%tizen_feature tizen.org/feature/device_update true