[TRE-2590] Add hal-api-common package to all profiles 12/251112/4 accepted/tizen/unified/20210112.040720 submit/tizen/20210111.093613
authorChanwoo Choi <cw00.choi@samsung.com>
Fri, 8 Jan 2021 06:12:56 +0000 (15:12 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Mon, 11 Jan 2021 07:56:10 +0000 (16:56 +0900)
Add hal-api-common package to all profiles
- TRE-2590 for hal-api-common pakcage for common HAL API

Change-Id: Ib2c84fc31f3ad4da96d08cf7eb3a0277b5357736
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
packaging/building-blocks.spec
packaging/domain-halapis-common.inc [new file with mode: 0644]
packaging/domain-halapis.inc [new file with mode: 0644]
packaging/platform-preset-iot.inc

index 642f2fba08f4aadda3e848b34d585bea46095627..6bea2d2d84666bd84d2bf785f47644f25adeef49 100644 (file)
@@ -73,6 +73,9 @@ Source1416:   domain-csapis-web.inc
 Source1417:    domain-csapis-machinelearning.inc
 %endif
 
+Source1500:    domain-halapis.inc
+Source1501:    domain-halapis-common.inc
+
 Source2010:    epicfeature-development.inc
 Source2020:    epicfeature-application.inc
 
@@ -123,6 +126,7 @@ Suggests:   %{name}-root-domain_Feature
 Suggests:      %{name}-root-domain_CSAPI
 %endif
 #Suggests:     %{name}-root-domain_WebAPI
+Suggests:      %{name}-root-domain_HALAPI
 %description   category-domains
 This meta package lists all Tizen blocks (meta packages) designating
 technical domains.
@@ -390,6 +394,8 @@ python ./rule_checker.py
 %{include_if_mainbuild %{SOURCE1417}}
 %endif
 
+%{include_if_mainbuild %{SOURCE1500}}
+%{include_if_mainbuild %{SOURCE1501}}
 ############## EPIC FEATURES ######################
 
 # Dev tools
diff --git a/packaging/domain-halapis-common.inc b/packaging/domain-halapis-common.inc
new file mode 100644 (file)
index 0000000..5ab2569
--- /dev/null
@@ -0,0 +1,18 @@
+# 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.
+
+####################
+## Common HAL API ##
+####################
+%package sub1-domain_HALAPI-Common
+Summary: Common HAL API
+Requires: hal-api-common
+
+%description sub1-domain_HALAPI-Common
+Common HAL API supports the helper functions for all HAL API packages.
+All HAL API packages must need the same operation to handle the shared library
+of HAL backend. So that common HAL API provides the helper functions in order
+to remove the duplicate code and reduce the code fragmentation. By using the
+consistent coding style on HAL API packages, it improves the readability
+and makes it easy understanding.
+%files sub1-domain_HALAPI-Common
diff --git a/packaging/domain-halapis.inc b/packaging/domain-halapis.inc
new file mode 100644 (file)
index 0000000..245d618
--- /dev/null
@@ -0,0 +1,14 @@
+# 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.
+
+%package root-domain_HALAPI
+Summary:       Tizen HAL API Sets
+Requires:      %{name}-sub1-domain_HALAPI-Common
+
+%description root-domain_HALAPI
+__EXPAND__: domains
+Tizen provides HAL API layer for Tizen porting to various devices.
+HAL API packages provide their own HAL API interface such as tbm, audio, location,
+bluetooth, sensor and so on. In order to use Tizen on new h/w device, please implment
+the HAL backend packages according to HAL API interface provided by HAL API packages.
+%files root-domain_HALAPI
index aa251f436908d3664054ae5f5e5ebb057e7d47d5..d596b07e503f96b9b1040eabbf5206ce889d8e58 100644 (file)
@@ -65,6 +65,8 @@ Requires: dbus-tools
 Requires: amd-mod-boost
 Requires: libopenssl
 Requires: building-blocks-mapping-files
+#From TRE-2590
+Requires: %{name}-root-domain_HALAPI
 
 %description root-Preset_iot_core
 The packages of Tizen IoT Core.