summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorJongkyu Koo <jk.koo@samsung.com>2017-08-21 14:51:18 +0900
committerWoo Chang Kim <wchang.kim@samsung.com>2017-08-21 06:24:48 +0000
commit662547036110e8c9adc64572b560d3d9cecb646c (patch)
treefea8aef6f7fccb408811c6ed21093b58bdec78b2 /packaging
parent59ce9762e7da97625b5832a365bc1358e507f069 (diff)
downloadbuilding-blocks-662547036110e8c9adc64572b560d3d9cecb646c.tar.gz
building-blocks-662547036110e8c9adc64572b560d3d9cecb646c.tar.bz2
building-blocks-662547036110e8c9adc64572b560d3d9cecb646c.zip
Add feature key for contact, calendar, email and message
Change-Id: Iac5555512e49e61f2b3081ac043bb3712bbb499f Signed-off-by: Jongkyu Koo <jk.koo@samsung.com>
Diffstat (limited to 'packaging')
-rw-r--r--packaging/domain-apis.inc10
1 files changed, 10 insertions, 0 deletions
diff --git a/packaging/domain-apis.inc b/packaging/domain-apis.inc
index 9f079f4..807c64f 100644
--- a/packaging/domain-apis.inc
+++ b/packaging/domain-apis.inc
@@ -576,6 +576,8 @@ Wifi would be available when Wifi is selected.
%files sub2-domain_API-Messaging-Email
+%posttrans sub2-domain_API-Messaging-Email
+sed -i 's#\(\"tizen.org/feature/email\".\+>\).\+\(</key>\)#\1true\2#' %{_sysconfdir}/config/model-config.xml
%package sub2-domain_API-Messaging-Messages
Summary:Messages
@@ -590,6 +592,10 @@ Requires:%{name}-sub1-domain_API-Telephony
This block supports managing Message service.
%files sub2-domain_API-Messaging-Messages
+%posttrans sub2-domain_API-Messaging-Messages
+sed -i 's#\(\"tizen.org/feature/network.telephony.sms\".\+>\).\+\(</key>\)#\1true\2#' %{_sysconfdir}/config/model-config.xml
+sed -i 's#\(\"tizen.org/feature/network.telephony.sms.cbs\".\+>\).\+\(</key>\)#\1true\2#' %{_sysconfdir}/config/model-config.xml
+sed -i 's#\(\"tizen.org/feature/network.telephony.mms\".\+>\).\+\(</key>\)#\1true\2#' %{_sysconfdir}/config/model-config.xml
%package sub2-domain_API-Messaging-Push
Summary: Push Client
@@ -1698,6 +1704,8 @@ This logic is not available in TV profile.
%files sub2-domain_API-Social-Calendar
+%posttrans sub2-domain_API-Social-Calendar
+sed -i 's#\(\"tizen.org/feature/calendar\".\+>\).\+\(</key>\)#\1true\2#' %{_sysconfdir}/config/model-config.xml
%package sub2-domain_API-Social-Contacts
Summary: Contacts
@@ -1709,6 +1717,8 @@ Requires:session-utils
This block supports managing Contacts service
%files sub2-domain_API-Social-Contacts
+%posttrans sub2-domain_API-Social-Contacts
+sed -i 's#\(\"tizen.org/feature/contact\".\+>\).\+\(</key>\)#\1true\2#' %{_sysconfdir}/config/model-config.xml
%package sub2-domain_API-Social-Phonenumber_utils
Summary: Phonenumber_utils