Fix installation path for multi-language
authorDuyoung Jang <duyoung.jang@samsung.com>
Wed, 24 Apr 2013 11:52:02 +0000 (20:52 +0900)
committerDuyoung Jang <duyoung.jang@samsung.com>
Wed, 24 Apr 2013 11:55:29 +0000 (20:55 +0900)
Change-Id: Ib55d9cf74e753088f8020619f1fa207b8cf5dd68
Signed-off-by: Duyoung Jang <duyoung.jang@samsung.com>
.cproject
CMakeLists.txt
inc/InstallerDefs.h
packaging/osp-installer.spec
src/backend/backend.cpp

index 0a69562..9e7631d 100755 (executable)
--- a/.cproject
+++ b/.cproject
@@ -49,6 +49,7 @@
                                                                        <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/lib/glib-2.0/include&quot;"/>
                                                                        <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/glib-2.0&quot;"/>
                                                                        <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/system&quot;"/>
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/appcore&quot;"/>
                                                                        <listOptionValue builtIn="false" value="&quot;../../osp-appfw/src/base/inc&quot;"/>
                                                                        <listOptionValue builtIn="false" value="&quot;../../osp-appfw/src/app/inc&quot;"/>
                                                                        <listOptionValue builtIn="false" value="&quot;../../osp-appfw/src/system/inc&quot;"/>
index 502c3db..b8b0e4e 100755 (executable)
@@ -29,6 +29,7 @@ INCLUDE_DIRECTORIES(
        /usr/include/system
        /usr/include/cert-svc
        /usr/include/dpl-efl
+       /usr/include/appcore
 )
 
 SET (${this_target}_SOURCE_FILES
@@ -80,7 +81,7 @@ SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fexceptions -fvisibility=hidden")
 SET(CMAKE_CXX_FLAGS "${OSP_DEBUG_FLAGS} ${OSP_OPT_FLAGS} ${CMAKE_CXX_FLAGS} ${EXTRA_CFLAGS} ${OSP_COMPILER_FLAGS}")
 
 TARGET_LINK_LIBRARIES(${this_target} "-L/usr/lib/osp -losp-appfw -lxml2 -lpkgmgr_installer -lpkgmgr_parser -lglib-2.0 -lapp2ext -ldl" -Wl,--allow-shlib-undefined)
-TARGET_LINK_LIBRARIES(${this_target} "-L/usr/lib -lcert-svc-vcore -ldpl-efl -lcert-svc -lcapi-system-info")
+TARGET_LINK_LIBRARIES(${this_target} "-L/usr/lib -lcert-svc-vcore -ldpl-efl -lcert-svc -lcapi-system-info -lappcore-common")
 
 ADD_SUBDIRECTORY(plugin)
 
index 513d278..a322713 100755 (executable)
@@ -23,7 +23,7 @@
 
 #include "InstallerUtil.h"
 
-#define OSP_INSTALLER_VERSION "version=[20130424.1]"
+#define OSP_INSTALLER_VERSION "version=[20130424.2]"
 
 #define DIR_BIN                                L"/bin"
 #define DIR_INFO                       L"/info"
index b797c0c..95d1c39 100755 (executable)
@@ -19,13 +19,15 @@ BuildRequires:  pkgconfig(osp-appfw)
 BuildRequires:  pkgconfig(dpl-efl)
 BuildRequires:  pkgconfig(cert-svc)
 BuildRequires:  pkgconfig(cert-svc-vcore)
+BuildRequires:  pkgconfig(appcore-common)
 
 BuildRequires:  osp-appfw-internal-devel
 
 
 # runtime requires
 Requires: osp-appfw
-Requires: osp-loader  
+Requires: osp-loader
+Requires: appcore-common
 
 %description
 osp application installer
index bb0633f..c04ec68 100755 (executable)
@@ -25,6 +25,7 @@
 #include <string.h>
 #include <errno.h>
 
+#include <appcore-common.h>
 #include <pkgmgr_installer.h>
 
 #include <FIoFile.h>
@@ -57,6 +58,8 @@ main(int argc, char **argv)
        pkgmgr_installer *pi = null;
        int req_type = 0;
 
+       appcore_set_i18n(null, null);
+
        Osp_Initialize();
 
        String buf;