CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
-SET (this_target osp-livebox-service)
+SET (this_target osp-appwidget-service)
SET (PACKAGEID gi2qxenosh)
SET(CMAKE_EXECUTABLE_SUFFIX ".exe")
--- /dev/null
+<manifest>
+ <define>
+ <domain name="gi2qxenosh" policy="restricted" />
+ <request>
+ <smack request="system::homedir" type="rx"/>
+ <smack request="system::use_internet" type="r"/>
+ <smack request="system::vconf" type="rwx"/>
+ <smack request="sys-assert::core" type="rwxa"/>
+ <smack request="syslogd" type="w"/>
+ <smack request="pkgmgr::db" type="rw"/>
+ <smack request="ail::db" type="rw"/>
+ <smack request="notification::db" type="rw"/>
+ <smack request="xorg" type="w"/>
+ <smack request="isf" type="rx"/>
+ <smack request="data-provider-master" type="w"/>
+ <smack request="data-provider-master::share" type="x"/>
+ </request>
+ </define>
+ <request>
+ <domain name="gi2qxenosh"/>
+ </request>
+ <assign>
+ <filesystem path="/usr/apps/gi2qxenosh/bin/osp-appwidget-service.exe" label="gi2qxenosh" exec_label="gi2qxenosh"/>
+ <filesystem path="/usr/share/license/osp-appwidget-service" label="_"/>
+ </assign>
+</manifest>
+++ /dev/null
-<manifest>
- <define>
- <domain name="gi2qxenosh" policy="restricted" />
- <request>
- <smack request="system::homedir" type="rx"/>
- <smack request="system::use_internet" type="r"/>
- <smack request="system::vconf" type="rwx"/>
- <smack request="sys-assert::core" type="rwxa"/>
- <smack request="syslogd" type="w"/>
- <smack request="pkgmgr::db" type="rw"/>
- <smack request="ail::db" type="rw"/>
- <smack request="notification::db" type="rw"/>
- <smack request="xorg" type="w"/>
- <smack request="isf" type="rx"/>
- <smack request="data-provider-master" type="w"/>
- <smack request="data-provider-master::share" type="x"/>
- </request>
- </define>
- <request>
- <domain name="gi2qxenosh"/>
- </request>
- <assign>
- <filesystem path="/usr/apps/gi2qxenosh/bin/osp-livebox-service.exe" label="gi2qxenosh" exec_label="gi2qxenosh"/>
- <filesystem path="/usr/share/license/osp-livebox-service" label="_"/>
- </assign>
-</manifest>
--- /dev/null
+Name: osp-appwidget-service
+Summary: osp appwidget service
+Version: 1.2.1.0
+Release: 1
+Group: System/Libraries
+License: Apache License, Version 2.0
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: cmake
+BuildRequires: pkgconfig(chromium)
+BuildRequires: pkgconfig(capi-appfw-application)
+BuildRequires: pkgconfig(aul)
+BuildRequires: pkgconfig(bundle)
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(provider)
+BuildRequires: pkgconfig(osp-appfw)
+BuildRequires: pkgconfig(osp-uifw)
+BuildRequires: pkgconfig(osp-image)
+BuildRequires: pkgconfig(osp-shell)
+BuildRequires: osp-shell-internal-devel
+BuildRequires: osp-appfw-internal-devel
+
+# runtime requires
+Requires: chromium
+Requires: osp-appfw
+Requires: osp-shell
+Requires: data-provider-master
+
+%description
+osp appwidget service
+
+%prep
+%setup -q
+
+%build
+MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
+%ifarch %{ix86}
+CXXFLAGS="$CXXFLAGS -D_OSP_DEBUG_ -D_OSP_X86_ -D_OSP_EMUL_" cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix}
+%else
+CXXFLAGS="-O2 -g -pipe -Wall -fno-exceptions -Wformat -Wformat-security -Wl,--as-needed -fmessage-length=0 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -D__SOFTFP__ -mthumb -Wa,-mimplicit-it=thumb -funwind-tables -D_OSP_DEBUG_ -D_OSP_ARMEL_" cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix}
+%endif
+
+# Call make instruction with smp support
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+mkdir -p %{buildroot}/usr/share/license
+cp %{_builddir}/%{name}-%{version}/LICENSE %{buildroot}/usr/share/license/%{name}
+
+%make_install
+
+%post
+
+/bin/rm -fr /opt/apps/gi2qxenosh
+
+/usr/etc/package-manager/backend/tpk -i /usr/apps/gi2qxenosh
+cp -f %{_libdir}/osp/osp-system-service-loader /usr/apps/gi2qxenosh/bin/%{name}
+
+#%postun -p /sbin/ldconfig
+
+%files
+%manifest %{name}.manifest
+/usr/share/license/%{name}
+/usr/apps/*
+#/opt/apps/gi2qxenosh/*
+
+
+++ /dev/null
-Name: osp-livebox-service
-Summary: osp livebox service
-Version: 1.2.1.0
-Release: 1
-Group: System/Libraries
-License: Apache License, Version 2.0
-Source0: %{name}-%{version}.tar.gz
-BuildRequires: cmake
-BuildRequires: pkgconfig(chromium)
-BuildRequires: pkgconfig(capi-appfw-application)
-BuildRequires: pkgconfig(aul)
-BuildRequires: pkgconfig(bundle)
-BuildRequires: pkgconfig(glib-2.0)
-BuildRequires: pkgconfig(provider)
-BuildRequires: pkgconfig(osp-appfw)
-BuildRequires: pkgconfig(osp-uifw)
-BuildRequires: pkgconfig(osp-image)
-BuildRequires: pkgconfig(osp-shell)
-BuildRequires: osp-shell-internal-devel
-BuildRequires: osp-appfw-internal-devel
-
-# runtime requires
-Requires: chromium
-Requires: osp-appfw
-Requires: osp-shell
-Requires: data-provider-master
-
-%description
-osp livebox service
-
-%prep
-%setup -q
-
-%build
-MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
-%ifarch %{ix86}
-CXXFLAGS="$CXXFLAGS -D_OSP_DEBUG_ -D_OSP_X86_ -D_OSP_EMUL_" cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix}
-%else
-CXXFLAGS="-O2 -g -pipe -Wall -fno-exceptions -Wformat -Wformat-security -Wl,--as-needed -fmessage-length=0 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -D__SOFTFP__ -mthumb -Wa,-mimplicit-it=thumb -funwind-tables -D_OSP_DEBUG_ -D_OSP_ARMEL_" cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix}
-%endif
-
-# Call make instruction with smp support
-make %{?jobs:-j%jobs}
-
-%install
-rm -rf %{buildroot}
-mkdir -p %{buildroot}/usr/share/license
-cp %{_builddir}/%{name}-%{version}/LICENSE %{buildroot}/usr/share/license/%{name}
-
-%make_install
-
-%post
-
-/bin/rm -fr /opt/apps/gi2qxenosh
-
-/usr/etc/package-manager/backend/tpk -i /usr/apps/gi2qxenosh
-cp -f %{_libdir}/osp/osp-system-service-loader /usr/apps/gi2qxenosh/bin/%{name}
-
-#%postun -p /sbin/ldconfig
-
-%files
-%manifest %{name}.manifest
-/usr/share/license/%{name}
-/usr/apps/*
-#/opt/apps/gi2qxenosh/*
-
-
r = __handlerThread.Start();
SysTryReturn(NID_APP, IsFailed(r) == false, false, r, "[%s] Event thread Start failure.", GetErrorMessage(r));
- return InitializeMasterDaemonEventReceiver("osp-livebox-service");
+ return InitializeMasterDaemonEventReceiver("osp-appwidget-service");
}
int