From b27dc86169ef423c8a45ffa5df649474d8db775c Mon Sep 17 00:00:00 2001 From: Thiago Santos Date: Mon, 22 Jun 2015 21:29:49 -0300 Subject: [PATCH] meta-tizen: pkgmgr: do not use absolute path for msgfmt Let it use the $PATH variable instead. Change-Id: Ie2b2060544ac8fc581508a75c43cdeaa49b0bde8 (From meta-tizen rev: 6c6d421db118875fcd0b834e7c3b8ab9de1a840c) Signed-off-by: Mauro Carvalho Chehab Reviewed-By: Derek Foreman --- ...mgr-do-not-set-an-absolute-path-to-msgfmt.patch | 25 ++++++++++++++++++++++ .../pkgmgr/pkgmgr-extraconf.inc | 1 + 2 files changed, 26 insertions(+) create mode 100644 meta-tizen/meta-tizen-common-base/recipes-application-framework/pkgmgr/files/0001-pkgmgr-do-not-set-an-absolute-path-to-msgfmt.patch diff --git a/meta-tizen/meta-tizen-common-base/recipes-application-framework/pkgmgr/files/0001-pkgmgr-do-not-set-an-absolute-path-to-msgfmt.patch b/meta-tizen/meta-tizen-common-base/recipes-application-framework/pkgmgr/files/0001-pkgmgr-do-not-set-an-absolute-path-to-msgfmt.patch new file mode 100644 index 0000000..ff1b4c2 --- /dev/null +++ b/meta-tizen/meta-tizen-common-base/recipes-application-framework/pkgmgr/files/0001-pkgmgr-do-not-set-an-absolute-path-to-msgfmt.patch @@ -0,0 +1,25 @@ +From 26b485036d8a4b9261f8da5677ceab87b654448e Mon Sep 17 00:00:00 2001 +From: Thiago Santos +Date: Mon, 22 Jun 2015 21:27:02 -0300 +Subject: [PATCH] pkgmgr: do not set an absolute path to msgfmt + +--- + server/po/CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/server/po/CMakeLists.txt b/server/po/CMakeLists.txt +index e3aebb4..340f706 100644 +--- a/server/po/CMakeLists.txt ++++ b/server/po/CMakeLists.txt +@@ -2,7 +2,7 @@ + + SET(POFILES en_US.po en_GB.po ja_JP.po ko_KR.po zh_CN.po) + +-SET(MSGFMT "/usr/bin/msgfmt") ++SET(MSGFMT "msgfmt") + + FOREACH(pofile ${POFILES}) + SET(pofile ${CMAKE_CURRENT_SOURCE_DIR}/${pofile}) +-- +2.1.4 + diff --git a/meta-tizen/meta-tizen-common-base/recipes-application-framework/pkgmgr/pkgmgr-extraconf.inc b/meta-tizen/meta-tizen-common-base/recipes-application-framework/pkgmgr/pkgmgr-extraconf.inc index 3bbd50e..06fcabe 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-application-framework/pkgmgr/pkgmgr-extraconf.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-application-framework/pkgmgr/pkgmgr-extraconf.inc @@ -1,4 +1,5 @@ SRC_URI += "file://Add_extralib.diff" +SRC_URI += "file://0001-pkgmgr-do-not-set-an-absolute-path-to-msgfmt.patch" SRC_URI_append_class-native = " file://remove-dlog-for-native-build.patch" do_compile_prepend_class-native() { -- 2.7.4