diff options
author | Jaeyun Jeong <jyjeong@samsung.com> | 2012-09-06 19:09:00 +0900 |
---|---|---|
committer | Jaeyun Jeong <jyjeong@samsung.com> | 2012-09-06 19:09:00 +0900 |
commit | 360deb71c5b596c71ba2b261ac0e3acef38737e6 (patch) | |
tree | 56153b803bd3ea400982cf96109edd1c29377ea0 | |
parent | 4f5c8574e08e9e230f81e0c9285173d1c7b60e12 (diff) | |
download | message-app-360deb71c5b596c71ba2b261ac0e3acef38737e6.tar.gz message-app-360deb71c5b596c71ba2b261ac0e3acef38737e6.tar.bz2 message-app-360deb71c5b596c71ba2b261ac0e3acef38737e6.zip |
Not support appservice from message application in case of emulator.
Change-Id: I483e381aef12c8abcdeb05595b6ec5f11ac05602
-rwxr-xr-x | main/CMakeLists.txt | 10 | ||||
-rwxr-xr-x | org.tizen.message.xml.emul | 35 | ||||
-rwxr-xr-x | org.tizen.message.xml.target (renamed from org.tizen.message.xml) | 0 |
3 files changed, 43 insertions, 2 deletions
diff --git a/main/CMakeLists.txt b/main/CMakeLists.txt index 542925f..53b3bc4 100755 --- a/main/CMakeLists.txt +++ b/main/CMakeLists.txt @@ -34,10 +34,11 @@ SET(CMAKE_C_FLAGS_DEBUG "-O0 -g") FIND_PROGRAM(UNAME NAMES uname) EXEC_PROGRAM("${UNAME}" ARGS "-m" OUTPUT_VARIABLE "ARCH") -IF("${ARCH}" STREQUAL "arm") + +IF("${ARCH}" MATCHES "^arm.*") ADD_DEFINITIONS("-DTARGET") MESSAGE("add -DTARGET") -ENDIF("${ARCH}" STREQUAL "arm") +ENDIF("${ARCH}" MATCHES "^arm.*") ADD_DEFINITIONS("-DDEBUG") ADD_DEFINITIONS("-DDEBUG_ON") @@ -50,6 +51,11 @@ TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${pkgs_LDFLAGS} ${CMAKE_LDFLAGS} msg-commo #Install desktop file & icon. INSTALL(TARGETS message DESTINATION bin) +IF("${ARCH}" MATCHES "^arm.*") + CONFIGURE_FILE(${CMAKE_SOURCE_DIR}/${PKGNAME}.xml.target ${CMAKE_SOURCE_DIR}/${PKGNAME}.xml) +ELSE("${ARCH}" MATCHES "^arm.*") + CONFIGURE_FILE(${CMAKE_SOURCE_DIR}/${PKGNAME}.xml.emul ${CMAKE_SOURCE_DIR}/${PKGNAME}.xml) +ENDIF("${ARCH}" MATCHES "^arm.*") INSTALL(FILES ${CMAKE_SOURCE_DIR}/${PKGNAME}.xml DESTINATION /opt/share/packages) INSTALL(FILES ${CMAKE_SOURCE_COMMON_DIR}/data/image/${PKGNAME}.png DESTINATION ${ICONDIR}) INSTALL(FILES ${CMAKE_SOURCE_COMMON_DIR}/data/image/${PKGNAME}.voice.png DESTINATION ${ICONDIR}) diff --git a/org.tizen.message.xml.emul b/org.tizen.message.xml.emul new file mode 100755 index 0000000..2fb2182 --- /dev/null +++ b/org.tizen.message.xml.emul @@ -0,0 +1,35 @@ +<?xml version="1.0" encoding="utf-8"?> +<manifest xmlns="http://tizen.org/ns/packages" package="org.tizen.message" version="0.8.15" install-location="internal-only"> + <label>Message</label> + <author email="jyjeong@samsung.com" href="www.samsung.com">Jaeyun Jeong</author> + <description>Message Application</description> + <ui-application appid="org.tizen.message" exec="/opt/apps/org.tizen.message/bin/message" nodisplay="false" multiple="false" type="capp" taskmanage="true"> + <icon>org.tizen.message.png</icon> + <label>Messages</label> + <label xml:lang="en-us">Messages</label> + <label xml:lang="nl-nl">Berichten</label> + <label xml:lang="de-de">Nachrichten</label> + <label xml:lang="zh-hk">訊息</label> + <label xml:lang="zh-cn">信息</label> + <label xml:lang="ru-ru">Сообщения</label> + <label xml:lang="zh-tw">訊息</label> + <label xml:lang="ja-jp">メール</label> + <label xml:lang="es-es">Mensajes</label> + <label xml:lang="el-gr">Μηνύματα</label> + <label xml:lang="it-it">Messaggi</label> + <label xml:lang="tr-tr">Mesajlar</label> + <label xml:lang="pt-pt">Mensagem</label> + <label xml:lang="fr-fr">Messages</label> + <label xml:lang="ko-kr">메시지</label> + </ui-application> + <ui-application appid="org.tizen.msg-ui-class0" exec="/opt/apps/org.tizen.message/bin/msg-ui-class0" nodisplay="true" multiple="false" type="capp" taskmanage="true"> + <label>Msg-ui-class0</label> + <label xml:lang="en-us">Class0 message viewer</label> + <label xml:lang="ko-kr">메시지</label> + </ui-application> + <ui-application appid="msg-composer-efl" exec="/opt/ug/bin/msg-composer-efl" nodisplay="true" multiple="true" type="capp" taskmanage="false"> + <icon>org.tizen.message.png</icon> + <label>Message</label> + <label xml:lang="en-us">Message</label> + </ui-application> +</manifest> diff --git a/org.tizen.message.xml b/org.tizen.message.xml.target index d9758e8..d9758e8 100755 --- a/org.tizen.message.xml +++ b/org.tizen.message.xml.target |