From: Gaurav Gupta Date: Tue, 9 Apr 2024 04:16:03 +0000 (+0530) Subject: emul64: use public init method for gumd service X-Git-Tag: accepted/tizen/9.0/unified/20241030.233114^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;p=platform%2Fupstream%2Fgumd.git emul64: use public init method for gumd service In 64-bit TV emulator gumd service is failed to launch. So, webapps could not be installed. Switch to public tizen gumd init mechanism for 64-bit emulator. Change-Id: I05d0cb8ca76d0f3516a9a0685ad14c3cf8bffd95 Signed-off-by: Gaurav Gupta --- diff --git a/packaging/gumd.spec b/packaging/gumd.spec index 969ad28..082db5c 100644 --- a/packaging/gumd.spec +++ b/packaging/gumd.spec @@ -98,8 +98,11 @@ Requires: libgum = %{version}-%{release} cp -a %{SOURCE1001} %{name}.manifest cp -a %{SOURCE1002} libgum.manifest cp data/gumd.service data/gumd.service.wearable +%ifarch x86_64 +%define emul_arch x86_64 +%endif -%if "%{tizen_profile_name}" == "tv" +%if "%{tizen_profile_name}" == "tv" && "%{emul_arch}" != "x86_64" mv "%{GUMD_DBUS_SERVICE}".vd.in "%{GUMD_DBUS_SERVICE}".in %else mv "%{GUMD_DBUS_SERVICE}".common.in "%{GUMD_DBUS_SERVICE}".in @@ -128,6 +131,9 @@ install -m 755 -d %{buildroot}%{_sysconfdir}/%{name} install -m 644 data/tizen/etc/%{name}/%{name}-tizen-common.conf %{buildroot}%{_sysconfdir}/%{name}/%{name}.conf install -m 755 -d %{buildroot}%{_unitdir} install -m 644 data/gumd.service.wearable %{buildroot}%{_unitdir} +%if "%{tizen_profile_name}" == "tv" && "%{emul_arch}" == "x86_64" +install -m 644 data/gumd.service %{buildroot}%{_unitdir} +%endif %if "%{tizen_profile_name}" != "tv" install -m 644 data/gumd.service %{buildroot}%{_unitdir} %endif @@ -193,6 +199,9 @@ mv %{_unitdir}/gumd.service.wearable %{_unitdir}/gumd.service %dir %{_sysconfdir}/dbus-1 %dir %{_sysconfdir}/dbus-1/system.d %config(noreplace) %{_sysconfdir}/dbus-1/system.d/gumd-dbus.conf +%if "%{tizen_profile_name}" == "tv" && "%{emul_arch}" == "x86_64" +%{_unitdir}/gumd.service +%endif %if "%{tizen_profile_name}" != "tv" %{_unitdir}/gumd.service %endif