Merge "add system packages such as battery, haptic, storage, usbhost, callback, ir...
authorWoo Chang Kim <wchang.kim@samsung.com>
Fri, 4 Aug 2017 08:04:57 +0000 (08:04 +0000)
committerGerrit Code Review <gerrit@review.ap-northeast-2.compute.internal>
Fri, 4 Aug 2017 08:04:57 +0000 (08:04 +0000)
1  2 
packaging/domain-apis.inc

index a87f22f4ef23c3ac580307d754beb9db80b4c596,7e62b8619f56fbd64a20df9f196eb6ba21117954..d21d9864bae09504acd3caa3f34d17348a4e23ec
mode 100644,100755..100755
@@@ -1501,136 -1281,207 +1500,236 @@@ Suggests: %{name}-sub2-domain_API-Syste
  Tizen block (set of packages) for Group of domain API-System
  %files sub1-domain_API-System
  
- ### TODO - Device_Battery ##
- # Summary, description
  %package sub2-domain_API-System-Device_Battery
  Summary:    Device_Battery
+ Requires: deviced
+ Requires: capi-system-device
+ Suggests: deviced-profile_mobile
+ Suggests: deviced-profile_common
+ Suggests: deviced-profile_wearable
+ Suggests: deviced-profile_tv
+ Suggests: deviced-profile_ivi
+ Suggests: device-manager-plugin-sc7730
+ Suggests: device-manager-plugin-artik
+ Suggests: device-manager-plugin-emul
+ Suggests: device-manager-plugin-exynos3250
+ Suggests: device-manager-plugin-exynos5433
+ Suggests: device-manager-plugin-exynos7270
+ Suggests: device-manager-plugin-odroid
+ Suggests: device-manager-plugin-rpi3
  %description sub2-domain_API-System-Device_Battery
- ### TODO ###
- # packakge list
+ Tizen block (set of packages) for Group of sub domain Device_Battery.
+ If you do not want to use Device_Battery APIs, you do not need to choose.
+ However, if you want to use them, you have to choose at least one item in each deviced-profile_xxxx and device-manager-plugin-xxxx.
+ Those have a dependancy on Profile and Hardware.
+ So, before you select, you have to make sure that which Profile and hardware you have.
+ Then choose proper combination.
+ For example, deviced-profile_mobile and device-manager-plugin-sc7730 for mobile
+              deviced-profile_common and device-manager-plugin-rpi3 for rpi3
  %files sub2-domain_API-System-Device_Battery
  
- ### TODO - Device_Callback ##
- # Summary, description
  %package sub2-domain_API-System-Device_Callback
  Summary:    Device_Callback
+ Requires: deviced
+ Requires: capi-system-device
+ Suggests: deviced-profile_mobile
+ Suggests: deviced-profile_common
+ Suggests: deviced-profile_wearable
+ Suggests: deviced-profile_tv
+ Suggests: deviced-profile_ivi
+ Suggests: device-manager-plugin-sc7730
+ Suggests: device-manager-plugin-artik
+ Suggests: device-manager-plugin-emul
+ Suggests: device-manager-plugin-exynos3250
+ Suggests: device-manager-plugin-exynos5433
+ Suggests: device-manager-plugin-exynos7270
+ Suggests: device-manager-plugin-odroid
+ Suggests: device-manager-plugin-rpi3
  %description sub2-domain_API-System-Device_Callback
- ### TODO ###
- # packakge list
+ Tizen block (set of packages) for Group of sub domain Device_Callback.
+ If you do not want to use Device_Callback APIs, you do not need to choose.
+ However, if you want to use them, you have to choose at least one item in each deviced-profile_xxxx and device-manager-plugin-xxxx.
+ Those have a dependancy on Profile and Hardware.
+ So, before you select, you have to make sure that which Profile and hardware you have.
+ Then choose proper combination.
+ For example, deviced-profile_mobile and device-manager-plugin-sc7730 for mobile
+              deviced-profile_common and device-manager-plugin-rpi3 for rpi3
  %files sub2-domain_API-System-Device_Callback
  
- ### TODO - Device_Haptic ##
- # Summary, description
  %package sub2-domain_API-System-Device_Haptic
  Summary:    Device_Haptic
+ Requires: feedbackd
+ Requires: capi-system-device
+ Suggests: feedbackd-profile_mobile
+ Suggests: feedbackd-profile_wearable
  %description sub2-domain_API-System-Device_Haptic
- ### TODO ###
- # packakge list
+ 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-profile_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-profile_mobile for mobile
  %files sub2-domain_API-System-Device_Haptic
  
- ### TODO - Device_IR ##
- # Summary, description
  %package sub2-domain_API-System-Device_IR
  Summary:    Device_IR
+ Requires: deviced
+ Requires: capi-system-device
+ Suggests: deviced-profile_mobile
+ Suggests: deviced-profile_common
+ Suggests: deviced-profile_wearable
+ Suggests: deviced-profile_tv
+ Suggests: deviced-profile_ivi
+ Suggests: device-manager-plugin-sc7730
+ Suggests: device-manager-plugin-artik
+ Suggests: device-manager-plugin-emul
+ Suggests: device-manager-plugin-exynos3250
+ Suggests: device-manager-plugin-exynos5433
+ Suggests: device-manager-plugin-exynos7270
+ Suggests: device-manager-plugin-odroid
+ Suggests: device-manager-plugin-rpi3
  %description sub2-domain_API-System-Device_IR
- ### TODO ###
- # packakge list
+ Tizen block (set of packages) for Group of sub domain Device_IR.
+ If you do not want to use Device_IR APIs, you do not need to choose.
+ However, if you want to use them, you have to choose at least one item in each deviced-profile_xxxx and device-manager-plugin-xxxx.
+ Those have a dependancy on Profile and Hardware.
+ So, before you select, you have to make sure that which Profile and hardware you have.
+ Then choose proper combination.
+ For example, deviced-profile_mobile and device-manager-plugin-sc7730 for mobile
+              deviced-profile_common and device-manager-plugin-rpi3 for rpi3
  %files sub2-domain_API-System-Device_IR
  
- ### TODO - Device_Led ##
- # Summary, description
  %package sub2-domain_API-System-Device_Led
  Summary:    Device_Led
+ Requires: deviced
+ Requires: capi-system-device
+ Suggests: deviced-profile_mobile
+ Suggests: deviced-profile_common
+ Suggests: deviced-profile_wearable
+ Suggests: deviced-profile_tv
+ Suggests: deviced-profile_ivi
+ Suggests: device-manager-plugin-sc7730
+ Suggests: device-manager-plugin-artik
+ Suggests: device-manager-plugin-emul
+ Suggests: device-manager-plugin-exynos3250
+ Suggests: device-manager-plugin-exynos5433
+ Suggests: device-manager-plugin-exynos7270
+ Suggests: device-manager-plugin-odroid
+ Suggests: device-manager-plugin-rpi3
  %description sub2-domain_API-System-Device_Led
- ### TODO ###
- # packakge list
+ Tizen block (set of packages) for Group of sub domain Device_Led.
+ If you do not want to use Device_Led APIs, you do not need to choose.
+ However, if you want to use them, you have to choose at least one item in each deviced-profile_xxxx and device-manager-plugin-xxxx.
+ Those have a dependancy on Profile and Hardware.
+ So, before you select, you have to make sure that which Profile and hardware you have.
+ Then choose proper combination.
+ For example, deviced-profile_mobile and device-manager-plugin-sc7730 for mobile
+              deviced-profile_common and device-manager-plugin-rpi3 for rpi3
  %files sub2-domain_API-System-Device_Led
  
- ### TODO - Device_Power ##
- # Summary, description
  %package sub2-domain_API-System-Device_Power
  Summary:    Device_Power
+ Requires: deviced
+ Requires: capi-system-device
+ Suggests: deviced-profile_mobile
+ Suggests: deviced-profile_common
+ Suggests: deviced-profile_wearable
+ Suggests: deviced-profile_tv
+ Suggests: deviced-profile_ivi
+ Suggests: device-manager-plugin-sc7730
+ Suggests: device-manager-plugin-artik
+ Suggests: device-manager-plugin-emul
+ Suggests: device-manager-plugin-exynos3250
+ Suggests: device-manager-plugin-exynos5433
+ Suggests: device-manager-plugin-exynos7270
+ Suggests: device-manager-plugin-odroid
+ Suggests: device-manager-plugin-rpi3
  %description sub2-domain_API-System-Device_Power
- ### TODO ###
- # packakge list
+ If you do not want to use Device_Power APIs, you do not need to choose.
+ However, if you want to use them, you have to choose at least one item in each deviced-profile_xxxx and device-manager-plugin-xxxx.
+ Those have a dependancy on Profile and Hardware.
+ So, before you select, you have to make sure that which Profile and hardware you have
+ Then choose proper combination.
+ For example, deviced-profile_mobile and device-manager-plugin-sc7730 for mobile
+              deviced-profile_common and device-manager-plugin-rpi3 for rpi3
  %files sub2-domain_API-System-Device_Power
  
- ### TODO - Feedback ##
- # Summary, description
  %package sub2-domain_API-System-Feedback
  Summary:    Feedback
+ Requires: %{name}-sub2-domain_API-Multimedia-Audio_IO
+ Requires: feedbackd
+ Requires: libfeedback
+ Suggests: feedbackd-profile_mobile
+ Suggests: feedbackd-profile_wearable
+ Suggests: svi-data-profile_common
+ Suggests: svi-data-profile_mobile
+ Suggests: svi-data-profile_wearable
  %description sub2-domain_API-System-Feedback
- ### TODO ###
- # packakge list
+ 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 each feedbackd-profile_xxxx and svi-data-profile_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
+              feedbackd-profile_mobile and svi-data-profile_mobile for mobile
  %files sub2-domain_API-System-Feedback
  
 -### TODO - Runtime_information ##
 -# Summary, description
 -
  %package sub2-domain_API-System-Runtime_information
 -Summary:    Runtime_information
 +Summary:    Runtime information with Resourced
 +Requires:   capi-system-runtime-info
 +Requires:   resourced
 +Conflicts:  %{name}-sub2-domain_API-System-Runtime_information_Light
 +Conflicts:  %{name}-sub2-domain_API-System-Runtime_information_Headless
  %description sub2-domain_API-System-Runtime_information
 -### TODO ###
 -# packakge list
 -
 +capi-system-runtime-info provides the current system state.<br>
 +To get the process information, it needs resourced.<br>
 +This building block uses full-featured resourced.
  %files sub2-domain_API-System-Runtime_information
  
 -### TODO - Sensor_Listener_Utility ##
 -# Summary, description
 -
 -%package sub2-domain_API-System-Sensor_Listener_Utility
 -Summary:    Sensor_Listener_Utility
 -%description sub2-domain_API-System-Sensor_Listener_Utility
 -### TODO ###
 -# packakge list
 -
 -%files sub2-domain_API-System-Sensor_Listener_Utility
 -
 -### TODO - Sensor_Recorder ##
 -# Summary, description
 +%package sub2-domain_API-System-Runtime_information_Light
 +Summary:    Runtime information with Resourced-light
 +Requires:   capi-system-runtime-info
 +Requires:   resourced-light
 +Conflicts:  %{name}-sub2-domain_API-System-Runtime_information
 +Conflicts:  %{name}-sub2-domain_API-System-Runtime_information_Headless
 +%description sub2-domain_API-System-Runtime_information_Light
 +capi-system-runtime-info provides the current system state.<br>
 +To get the process information, it needs resourced.<br>
 +This building block uses light-weight resourced.
 +%files sub2-domain_API-System-Runtime_information_Light
 +
 +%package sub2-domain_API-System-Runtime_information_Headless
 +Summary:    Runtime information with Resourced-headless
 +Requires:   capi-system-runtime-info
 +Requires:   resourced-headless
 +Requires:   resourced-headless-common
 +Requires:   resourced-headless-proc-usage
 +Conflicts:  %{name}-sub2-domain_API-System-Runtime_information
 +Conflicts:  %{name}-sub2-domain_API-System-Runtime_information_Light
 +%description sub2-domain_API-System-Runtime_information_Headless
 +capi-system-runtime-info provides the current system state.<br>
 +To get the process information, it needs resourced.<br>
 +This building block uses the resourced for headless device.
 +%files sub2-domain_API-System-Runtime_information_Headless
 +
 +%package sub2-domain_API-System-Sensor_Listener
 +Summary:    Sensor_Listener
 +Requires:   capi-system-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 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
@@@ -1644,22 -1491,24 +1743,20 @@@ For example, if you want make a binary 
  
  %files sub2-domain_API-System-Sensor_Recorder
  
- ### TODO - Storage ##
- # Summary, description
  %package sub2-domain_API-System-Storage
  Summary:    Storage
+ Requires: storaged
+ Requires: storaged-module_block
+ Requires: storaged-module_storage
  %description sub2-domain_API-System-Storage
- ### TODO ###
- # packakge list
+ Tizen block (set of packages) for Group of sub domain Storage
  %files sub2-domain_API-System-Storage
  
 -### TODO - System_Information ##
 -# Summary, description
 -
  %package sub2-domain_API-System-System_Information
 -Summary:    System_Information
 +Summary:    System information
 +Requires:   capi-system-info
  %description sub2-domain_API-System-System_Information
 -### TODO ###
 -# packakge list
 -
 +capi-system-info provides a (fixed) device capability.
  %files sub2-domain_API-System-System_Information
  
  ### TODO - System_Settings ##