TizenRefApp-8201 Remove spec file, cmake files, and private manifest. 56/119856/1 submit/tizen/20170320.155829 tizen_4.0.m1_release
authorDenis Dolzhenko <d.dolzhenko@samsung.com>
Mon, 20 Mar 2017 09:33:12 +0000 (11:33 +0200)
committerDenis Dolzhenko <d.dolzhenko@samsung.com>
Mon, 20 Mar 2017 09:33:12 +0000 (11:33 +0200)
Change-Id: I399afce20e49f7834ef467646589b2d794276dd4
Signed-off-by: Denis Dolzhenko <d.dolzhenko@samsung.com>
CMakeLists.txt [deleted file]
message.efl.in [deleted file]
message.manifest-2.4.in [deleted file]
message.manifest-3.0.in [deleted file]
packaging/message.spec [deleted file]
res/CMakeLists.txt [deleted file]
res/po/CMakeLists.txt [deleted file]
run.sh [deleted file]
tizen-manifest-private.xml [deleted file]

diff --git a/CMakeLists.txt b/CMakeLists.txt
deleted file mode 100644 (file)
index a79f457..0000000
+++ /dev/null
@@ -1,112 +0,0 @@
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
-PROJECT(message CXX)
-
-#source
-FILE(GLOB_RECURSE SRCS RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
-    ${CMAKE_CURRENT_SOURCE_DIR}/src/*.cpp)
-
-#include file
-INCLUDE_DIRECTORIES(${INCLUDE_DIRECTORIES}
-                    ${CMAKE_CURRENT_SOURCE_DIR}/inc/
-                    ${CMAKE_CURRENT_SOURCE_DIR}/src/Common/SystemSettingsManager/inc/
-                    ${CMAKE_CURRENT_SOURCE_DIR}/src/Common/AppControl/inc/
-                    ${CMAKE_CURRENT_SOURCE_DIR}/src/Common/ContactManager/inc/
-                    ${CMAKE_CURRENT_SOURCE_DIR}/src/Common/Controller/inc/
-                    ${CMAKE_CURRENT_SOURCE_DIR}/src/Common/MsgEngine/inc/
-                    ${CMAKE_CURRENT_SOURCE_DIR}/src/Common/Utils/inc/
-                    ${CMAKE_CURRENT_SOURCE_DIR}/src/Common/View/inc/
-                    ${CMAKE_CURRENT_SOURCE_DIR}/src/Conversation/Utils/inc/
-                    ${CMAKE_CURRENT_SOURCE_DIR}/src/Conversation/Main/Controller/inc/
-                    ${CMAKE_CURRENT_SOURCE_DIR}/src/Conversation/Main/View/inc/
-                    ${CMAKE_CURRENT_SOURCE_DIR}/src/Conversation/Body/View/inc/
-                    ${CMAKE_CURRENT_SOURCE_DIR}/src/Conversation/Body/Controller/inc/
-                    ${CMAKE_CURRENT_SOURCE_DIR}/src/Conversation/Recipients/View/inc/
-                    ${CMAKE_CURRENT_SOURCE_DIR}/src/Conversation/Recipients/Controller/inc/
-                    ${CMAKE_CURRENT_SOURCE_DIR}/src/Conversation/ContactList/View/inc/
-                    ${CMAKE_CURRENT_SOURCE_DIR}/src/Conversation/ContactList/Controller/inc/
-                    ${CMAKE_CURRENT_SOURCE_DIR}/src/Conversation/ConvList/View/inc/
-                    ${CMAKE_CURRENT_SOURCE_DIR}/src/Conversation/ConvList/Controller/inc/
-                    ${CMAKE_CURRENT_SOURCE_DIR}/src/Conversation/AppControl/inc/
-                    ${CMAKE_CURRENT_SOURCE_DIR}/src/MsgThread/Controller/inc/
-                    ${CMAKE_CURRENT_SOURCE_DIR}/src/MsgThread/View/inc/
-                    ${CMAKE_CURRENT_SOURCE_DIR}/src/Settings/Controller/inc/
-                    ${CMAKE_CURRENT_SOURCE_DIR}/src/Settings/View/inc/
-                    ${CMAKE_CURRENT_SOURCE_DIR}/src/Viewer/Controller/inc/
-                    ${CMAKE_CURRENT_SOURCE_DIR}/src/Viewer/View/inc/
-                    ${CMAKE_CURRENT_SOURCE_DIR}/src/Viewer/Utils/inc/
-)
-
-INCLUDE(FindPkgConfig)
-pkg_check_modules(pkgs REQUIRED
-            bundle
-            capi-appfw-application
-            capi-appfw-app-manager
-            capi-appfw-preference
-            capi-base-utils-i18n
-            capi-content-media-content
-            capi-content-mime-type
-            capi-media-sound-manager
-            capi-system-device
-            capi-system-info
-            capi-media-image-util
-            capi-media-metadata-extractor
-            capi-media-player
-            capi-system-system-settings
-            capi-telephony
-            capi-system-runtime-info
-            contacts-service2
-            db-util
-            dlog
-            elementary
-            ecore
-            ecore-input
-            ecore-imf
-            ecore-file
-            eina
-            glib-2.0
-            libexif
-            msg-service
-            capi-messaging-messages
-            notification
-            tapi
-            libxml-2.0
-            libpng
-            efl-extension
-            storage
-            attach-panel
-            phonenumber-utils
-            calendar-service2
-            dpm
-            vconf
-            feedback
-)
-
-ADD_DEFINITIONS("-DAPP_DIR=\"${PKGDIR}\"")
-ADD_DEFINITIONS("-DLOCALEDIR=\"${LOCALEDIR}\"")
-
-FOREACH(flag ${pkgs_CFLAGS})
-    SET(EXTRA_CXXFLAGS "${EXTRA_CXXFLAGS} ${flag}")
-ENDFOREACH(flag)
-
-SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${EXTRA_CXXFLAGS} -fPIE -Wall -std=c++11 -fpermissive -flto -fvisibility=hidden")
-SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -pie")
-
-#Set executable
-ADD_EXECUTABLE(${PROJECT_NAME} ${SRCS})
-
-TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${pkgs_LDFLAGS})
-
-ADD_SUBDIRECTORY(res)
-if(DEFINED TIZEN_2_4)
-CONFIGURE_FILE(message.manifest-2.4.in ${PKGNAME}.manifest)
-CONFIGURE_FILE(message.efl.in ${PKGNAME}.efl)
-else(DEFINED TIZEN_2_4)
-CONFIGURE_FILE(message.manifest-3.0.in ${PKGNAME}.manifest)
-endif(DEFINED TIZEN_2_4)
-
-INSTALL(TARGETS ${PROJECT_NAME} DESTINATION ${BINDIR})
-INSTALL(FILES tizen-manifest-private.xml DESTINATION ${MANIFESTDIR} RENAME ${PKGNAME}.xml)
-if(DEFINED TIZEN_2_4)
-INSTALL(FILES ${PKGNAME}.efl DESTINATION ${SMACKDIR})
-endif(DEFINED TIZEN_2_4)
-INSTALL(FILES shared/res/message.png DESTINATION ${ICONDIR})
diff --git a/message.efl.in b/message.efl.in
deleted file mode 100644 (file)
index b3d5cca..0000000
+++ /dev/null
@@ -1,68 +0,0 @@
-${PKGNAME} xorg rw---- ------
-${PKGNAME} xorg::screencapture r----- ------
-${PKGNAME} isf rwx--- ------
-${PKGNAME} efreet r-x--- ------
-${PKGNAME} system::use_internet rw---- ------
-${PKGNAME} contacts-service rwx--- ------
-${PKGNAME} calendar-service rwx--- ------
-${PKGNAME} sound_server rw---- ------
-${PKGNAME} mdm-server -w---- ------
-${PKGNAME} media-server rwx--- ------
-${PKGNAME} media-data::db rwx--- ------
-${PKGNAME} app-svc::db rw---- ------
-${PKGNAME} ims-service::db rw---- ------
-${PKGNAME} org.tizen.memo r-x--- ------
-${PKGNAME} org.tizen.indicator rwx--- ------
-${PKGNAME} org.tizen.contacts rwx--- ------
-${PKGNAME} org.tizen.gallery rwx--- ------
-${PKGNAME} org.tizen.calendar rwx--- ------
-${PKGNAME} org.tizen.music-player rwx--- ------
-${PKGNAME} org.tizen.setting rwx--- ------
-${PKGNAME} org.tizen.videos r----- ------
-${PKGNAME} org.tizen.data-provider-slave r----- ------
-${PKGNAME} data-provider-master rw---- ------
-${PKGNAME} sys-assert::info -wx--- ------
-${PKGNAME} system-server rw-a-- ------
-${PKGNAME} deviced rw-a-- ------
-${PKGNAME} deviced::power rw-a-- ------
-${PKGNAME} ug-launcher rwx--- ------
-${PKGNAME} data-provider-master::shortcut rw---- ------
-${PKGNAME} data-provider-master::shortcut.livebox -w---- ------
-${PKGNAME} tts-server rwx--- ------
-${PKGNAME} sdbd r-x--- ------
-${PKGNAME} telephony_framework::api_call rw---- ------
-${PKGNAME} telephony_framework::api_modem rw---- ------
-${PKGNAME} telephony_framework::api_network rw---- ------
-${PKGNAME} samsung-log-manager::use_app_feature_survey rw---- ------
-${PKGNAME} samsung-log-manager::report_app_status_survey rw---- ------
-${PKGNAME} data-provider-master::notification -w---- ------
-isf ${PKGNAME} --x--- ------
-aul ${PKGNAME} r-x--- ------
-system::use_internet ${PKGNAME} -w---- ------
-ui-gadget::client ${PKGNAME} rwx--l ------
-media-server ${PKGNAME} -w---- ------
-org.tizen.app-tray ${PKGNAME} r-x--- ------
-org.tizen.data-provider-slave ${PKGNAME} r-x--- ------
-org.tizen.quickpanel ${PKGNAME} rwx--- ------
-org.tizen.indicator ${PKGNAME} rwx--- ------
-org.tizen.lockscreen ${PKGNAME} r-x--- ------
-org.tizen.volume ${PKGNAME} --x--- ------
-org.tizen.app-selector ${PKGNAME} r-x--- ------
-org.tizen.data-provider-slave msg-service -w---- ------
-org.tizen.data-provider-slave msg-service::db rw---- ------
-${PKGNAME} msg-service::db rw---- ------
-${PKGNAME} sec_db rwx--- ------
-${PKGNAME} msg-service::wappush rw---- ------
-${PKGNAME} aul::launch --x--- ------
-${PKGNAME} msg-server rwx--- ------
-${PKGNAME} msg-service rwx--- ------
-msg-server ${PKGNAME} rwx--- ------
-msg-service ${PKGNAME} rwx--- ------
-${PKGNAME} org.tizen.setting::default-resources r-x--- ------
-${PKGNAME} tizen::vconf::public::r r----l ------
-${PKGNAME} tizen::vconf::setting::admin r----l ------
-${PKGNAME} tizen::vconf::platform::r r----- ------
-${PKGNAME} tizen::vconf::public::r::platform::rw rw---- ------
-${PKGNAME} tizen::vconf::message r----l ------
-${PKGNAME} ui-gadget::client rwx--- ------
-${PKGNAME} org.tizen.volume rwx--- ------
diff --git a/message.manifest-2.4.in b/message.manifest-2.4.in
deleted file mode 100755 (executable)
index d57f83e..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-<manifest>
-    <define>
-        <domain name="${PKGNAME}" />
-    </define>
-    <assign>
-        <filesystem path="/usr/share/icons/default/small/message.png" label="_" />
-        <filesystem path="${DATADIR}/*" label="${PKGNAME}" />
-    </assign>
-    <request>
-        <domain name="${PKGNAME}"/>
-    </request>
-</manifest>
\ No newline at end of file
diff --git a/message.manifest-3.0.in b/message.manifest-3.0.in
deleted file mode 100755 (executable)
index f23c997..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-<manifest>
-       <request>
-                <domain name="_"/>
-       </request>
-</manifest>
diff --git a/packaging/message.spec b/packaging/message.spec
deleted file mode 100755 (executable)
index ba86465..0000000
+++ /dev/null
@@ -1,154 +0,0 @@
-Name:       org.tizen.message
-Summary:    Message application
-Version:    0.0.2
-Release:    1
-Group:      Applications/Messaging
-License:    Flora-1.1
-Source0:    %{name}-%{version}.tar.gz
-
-%if "%{tizen_version}" == "3.0"
-%define TIZEN_2_4_BUILD 0
-%else
-%define TIZEN_2_4_BUILD 1
-%endif
-
-Requires(post): /bin/touch
-Requires: pkgmgr
-BuildRequires:  pkgconfig(bundle)
-BuildRequires:  pkgconfig(capi-appfw-application)
-BuildRequires:  pkgconfig(capi-appfw-app-manager)
-BuildRequires:  pkgconfig(capi-base-utils-i18n)
-BuildRequires:  pkgconfig(capi-content-media-content)
-BuildRequires:  pkgconfig(capi-content-mime-type)
-BuildRequires:  pkgconfig(capi-media-sound-manager)
-BuildRequires:  pkgconfig(capi-media-image-util)
-BuildRequires:  pkgconfig(capi-media-metadata-extractor)
-BuildRequires:  pkgconfig(capi-media-player)
-BuildRequires:  pkgconfig(capi-system-device)
-BuildRequires:  pkgconfig(capi-system-info)
-BuildRequires:  pkgconfig(capi-system-system-settings)
-BuildRequires:  pkgconfig(capi-telephony)
-BuildRequires:  pkgconfig(contacts-service2)
-BuildRequires:  pkgconfig(db-util)
-BuildRequires:  pkgconfig(dlog)
-BuildRequires:  pkgconfig(elementary)
-BuildRequires:  pkgconfig(ecore)
-BuildRequires:  pkgconfig(ecore-input)
-BuildRequires:  pkgconfig(ecore-imf)
-BuildRequires:  pkgconfig(ecore-file)
-BuildRequires:  pkgconfig(ecore-evas)
-BuildRequires:  pkgconfig(eina)
-BuildRequires:  pkgconfig(evas)
-BuildRequires:  pkgconfig(glib-2.0)
-BuildRequires:  pkgconfig(libexif)
-BuildRequires:  pkgconfig(libxml-2.0)
-BuildRequires:  pkgconfig(libpng)
-BuildRequires:  pkgconfig(notification)
-BuildRequires:  pkgconfig(tapi)
-BuildRequires:  pkgconfig(notification)
-BuildRequires:  pkgconfig(efl-extension)
-BuildRequires:  pkgconfig(capi-system-runtime-info)
-BuildRequires:  pkgconfig(storage)
-BuildRequires:  pkgconfig(attach-panel)
-BuildRequires:  pkgconfig(phonenumber-utils)
-BuildRequires:  pkgconfig(calendar-service2)
-BuildRequires:  pkgconfig(dpm)
-BuildRequires:  pkgconfig(vconf)
-BuildRequires:  pkgconfig(vconf-internal-keys)
-BuildRequires:  pkgconfig(feedback)
-
-%if %TIZEN_2_4_BUILD == 0
-BuildRequires:  pkgconfig(libtzplatform-config)
-%endif
-#private
-BuildRequires:  pkgconfig(msg-service)
-#public
-BuildRequires:  pkgconfig(capi-messaging-messages)
-
-BuildRequires:  cmake
-BuildRequires:  edje-tools
-BuildRequires:  gettext-tools
-
-%description
-message lite application.
-
-%if %TIZEN_2_4_BUILD == 1
-%define PREFIX           /usr/apps/%{name}
-%define OPTPREFIX        /opt/usr/apps/%{name}
-%define DATADIR          %{OPTPREFIX}/data
-%define MANIFESTDIR      /usr/share/packages
-%define SMACKDIR         /etc/smack/accesses.d
-%define ICONDIR          /usr/share/icons/default/small
-%else
-%define PREFIX           %{TZ_SYS_RO_APP}/%{name}
-%define MANIFESTDIR      %{TZ_SYS_RO_PACKAGES}
-%define ICONDIR          %{TZ_SYS_RO_ICONS}/default/small
-%endif
-%define RESDIR           %{PREFIX}/res
-%define EDJDIR           %{RESDIR}/edje
-%define IMGDIR           %{RESDIR}/images
-%define BINDIR           %{PREFIX}/bin
-%define LIBDIR           %{PREFIX}/lib
-%define LOCALEDIR        %{RESDIR}/locale
-
-%prep
-%setup -q
-
-%build
-export CXXFLAGS="$CXXFLAGS -DTIZEN_PRIVATE_API"
-LDFLAGS+="-Wl,--rpath=%{PREFIX}/lib -Wl,--as-needed -Wl,--hash-style=both"; export LDFLAGS
-cmake . \
-    -DPREFIX=%{PREFIX}   \
-    %if %TIZEN_2_4_BUILD == 1
-    -DDATADIR=%{DATADIR} \
-    -DSMACKDIR=%{SMACKDIR}   \
-    -DTIZEN_2_4=%{TIZEN_2_4_BUILD} \
-    %endif
-    -DPKGDIR=%{name}     \
-    -DIMGDIR=%{IMGDIR}   \
-    -DEDJDIR=%{EDJDIR}   \
-    -DPKGNAME=%{name}    \
-    -DBINDIR=%{BINDIR}   \
-    -DMANIFESTDIR=%{MANIFESTDIR}   \
-    -DEDJIMGDIR=%{EDJIMGDIR}   \
-    -DLIBDIR=%{LIBDIR}   \
-    -DICONDIR=%{ICONDIR}   \
-    -DLOCALEDIR=%{LOCALEDIR}
-
-make %{?jobs:-j%jobs}
-
-%install
-rm -rf %{buildroot}
-%make_install
-%if %TIZEN_2_4_BUILD == 1
-mkdir -p %{buildroot}/%{OPTPREFIX}/shared/trusted
-mkdir -p %{buildroot}/%{DATADIR}
-%endif
-mkdir -p %{buildroot}/%{LIBDIR}
-
-
-%post
-%if %TIZEN_2_4_BUILD == 1
-chown -R 5000:5000 %{DATADIR}
-chown -R 5000:5000 %{OPTPREFIX}/shared/trusted
-if [ -f /usr/lib/rpm-plugins/msm.so ]
-then
-    find %{DATADIR} -exec chsmack -a 'org.tizen.message' {} \;
-fi
-%endif
-
-%files
-%manifest %{name}.manifest
-%license LICENSE.Flora
-%defattr(-,root,root,-)
-%dir
-%if %TIZEN_2_4_BUILD == 1
-%{OPTPREFIX}/shared/trusted
-%{DATADIR}
-%{SMACKDIR}/%{name}.efl
-%endif
-%{LIBDIR}
-%{BINDIR}/*
-%{RESDIR}/*
-%{MANIFESTDIR}/*.xml
-%{ICONDIR}/*
diff --git a/res/CMakeLists.txt b/res/CMakeLists.txt
deleted file mode 100644 (file)
index ff02718..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-
-SET(SRC_EDC ${CMAKE_CURRENT_SOURCE_DIR}/edje)
-SET(SRC_IMG ${CMAKE_CURRENT_SOURCE_DIR}/images)
-SET(SRC_EDJ_RES ${CMAKE_SOURCE_DIR}/edje)
-
-FILE(GLOB EDC_FILES ${SRC_EDC}/*.edc)
-
-FOREACH(FILE ${EDC_FILES})
-
-    get_filename_component(FILE_NAME ${FILE} NAME_WE)
-   
-    ADD_CUSTOM_TARGET(${FILE_NAME}.edj
-            COMMAND edje_cc
-            -id ${SRC_EDJ_RES}/images
-            -sd ${SRC_EDJ_RES}/sounds
-            ${SRC_EDC}/${FILE_NAME}.edc ${CMAKE_BINARY_DIR}/${FILE_NAME}.edj
-            DEPENDS ${SRC_EDC}/${FILE_NAME}.edc
-    )
-    
-    ADD_DEPENDENCIES(${PROJECT_NAME} ${FILE_NAME}.edj)
-    INSTALL(FILES ${CMAKE_BINARY_DIR}/${FILE_NAME}.edj DESTINATION ${EDJDIR})
-    
-ENDFOREACH()
-
-INSTALL(DIRECTORY ${SRC_IMG}/ DESTINATION ${IMGDIR})
-
-ADD_SUBDIRECTORY(po)
diff --git a/res/po/CMakeLists.txt b/res/po/CMakeLists.txt
deleted file mode 100755 (executable)
index 7cf4fdf..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-# for i18n
-
-FILE(GLOB POFILES *.po)
-
-SET(MSGFMT "/usr/bin/msgfmt")
-
-FOREACH(pofile ${POFILES})
-       MESSAGE("PO: ${pofile}")
-       GET_FILENAME_COMPONENT(absPofile ${pofile} ABSOLUTE)
-       GET_FILENAME_COMPONENT(lang ${absPofile} NAME_WE)
-       SET(moFile ${CMAKE_CURRENT_BINARY_DIR}/${lang}.mo)
-       ADD_CUSTOM_COMMAND(
-                       OUTPUT ${moFile}
-                       COMMAND ${MSGFMT} -o ${moFile} ${absPofile}
-                       DEPENDS ${absPofile}
-       )
-       INSTALL(FILES ${moFile}
-                       DESTINATION ${LOCALEDIR}/${lang}/LC_MESSAGES RENAME ${PROJECT_NAME}.mo)
-       SET(moFiles ${moFiles} ${moFile})
-ENDFOREACH(pofile)
-
-MESSAGE(".mo files: ${moFiles}")
-ADD_CUSTOM_TARGET(po ALL DEPENDS ${moFiles})
diff --git a/run.sh b/run.sh
deleted file mode 100755 (executable)
index 79d3975..0000000
--- a/run.sh
+++ /dev/null
@@ -1,430 +0,0 @@
-#!/bin/bash
-
-usage()
-{
-echo "
-usage: sh run.sh [-h] [-b] [-i] [-q] [-r] [-t] [-d] [-A ARCH]
-                 [--help] [--build] [--install] [--quick-install] [--run] [--debug] [--arch ARCH]
-
-optional arguments:
-  -h, --help             show this help message and exit
-
-action:
-  -b  --build           build project
-  -i, --install         install to device or emulator
-  -q, --quick-install  quick installation(skips pkg_initdb). DO NOT use it when with manifest changed. Ignored in tizen-2.4 build
-  -r, --run             run application. Don't use with -t option
-  -d, --debug           install debuginfo and debugsource packages
-  -l, --local          local incremental build(with --noinit --incremental kwys)
-
-build configuration options:
-  -A ARCH, --arch ARCH   build target arch. Default - armv7l
-  -b 'Keys', --build 'Keys'  build project with additional gbs build keys
-  !You must specify profiles profile.tizen_2.4 and profile.tizen_3.0 in .gbs.conf to use VERSION options.
-  !You may omit version and default profile will be picked. Notice, that target version is still tizen_3.0 in this case.
-  -v VERSION, --version VERSION build project for target version. Default build on tizen_3.0
-
-  examples:
-  'run.sh -b -i -A armv7l' will build application and try to install it to target-device
-  'run.sh -i -A armv7l[i586|aarch64]' will install latest build for tizen-2.4 device [emulator|tizen-3.0 device]
-  'run.sh -b -A armv7l -v tizen_2.4[tizen_3.0]' will build for tizen-2.4[tizen-3.0] on armv7l arch
-"
-}
-
-##-------------- check options --------------##
-
-if [ -z "$1" ]; then usage; exit 0; fi
-
-BUILDOPTION=false
-BUILDKEYS=""
-INSTALLOPTION=false
-RUNOPTION=false
-DEBUGOPTION=false
-PLATFORM=armv7l
-LOCALBUILD=false
-TIZENVERSION="default"
-QUICKINSTALL=false
-
-##------------- project config -------------##
-PREFIX="org.tizen"
-INSTALLDIR=/usr/apps
-HOMEDIR="$(getent passwd $USER | awk -F ':' '{print $6}')"
-SDB=$HOMEDIR/tizen-sdk/tools/sdb
-TEMPDIR=/home/rpms # for keeping rpm packages on device
-GBSROOT=$HOMEDIR/GBS-ROOT
-RPMSPATH=$GBSROOT/local/BUILD-ROOTS/scratch.$PLATFORM.0/home/abuild/rpmbuild/RPMS/$PLATFORM
-##------------- project config -------------##
-
-SHORTOPTS="hA:b::irdnlvq"
-LONGOPTS="arch:,build::,install,run,debug,help,local,version,quick-install:"
-SCRIPTNAME=`basename $0`
-
-ARGS=$(getopt -q --options "$SHORTOPTS" --longoptions "$LONGOPTS" --name $SCRIPTNAME -- "$@")
-
-while true; do
-   case $1 in
-      -h|--help)
-         usage
-         exit 0
-         ;;
-      -A|--arch)
-         val=`echo $2 | sed -e "s/-//g"`
-         if echo "$SHORTOPTS$LONGOPTS" | grep -q "$val"; then
-           echo "Wrong ARCH"
-           usage
-           exit 0;
-         fi
-         PLATFORM=$2
-         shift
-         ;;
-      -v|--version)
-         val=`echo $2 | sed -e "s/-//g"`
-         if echo "$SHORTOPTS$LONGOPTS" | grep -q "$val"; then
-           echo "Wrong VERSION"
-           usage
-           exit 0;
-         fi
-         TIZENVERSION=$2
-         if [ $TIZENVERSION != "default" ] && [ $TIZENVERSION != "tizen_3.0" ];
-        then
-           GBSROOT="$HOMEDIR/GBS-ROOT-profile.$TIZENVERSION"
-        fi
-        RPMSPATH=$GBSROOT/local/BUILD-ROOTS/scratch.$PLATFORM.0/home/abuild/rpmbuild/RPMS/$PLATFORM
-         shift
-         ;;
-      -b|--build)
-         BUILDOPTION=true
-         key=`echo $2 | sed -e "s/-//g"`
-         if ! echo "$SHORTOPTS$LONGOPTS" | grep -q "$key"; then
-           BUILDKEYS=$2
-           shift
-         fi
-         ;;
-      -i|--install)
-         INSTALLOPTION=true
-         ;;
-      -r|--run)
-         RUNOPTION=true
-         ;;
-      -d|--debug)
-         DEBUGOPTION=true
-         ;;
-      -q|--quick-install)
-        QUICKINSTALL=true
-        ;;
-      -l|--local)
-         LOCALBUILD=true
-         ;;
-      --)
-         break
-         ;;
-      *)
-         if [ ! -z "$1" ]; then usage; exit 0; fi
-         break
-         ;;
-   esac
-   shift
-done
-
-echo "BUILDOPTION=$BUILDOPTION"
-echo "BUILDKEYS=$BUILDKEYS"
-echo "INSTALLOPTION=$INSTALLOPTION"
-echo "RUNOPTION=$RUNOPTION"
-echo "DEBUGOPTION=$DEBUGOPTION"
-echo "PLATFORM=$PLATFORM"
-echo "TIZENVERSION=$TIZENVERSION"
-echo "QUICKINSTALL=$QUICKINSTALL"
-
-##------------------ spec ------------------##
-
-spec_file=`find -name *.spec`
-
-# org.tizen.message
-APPNAME=`cat "$spec_file" | grep ^Name    | awk '{print $2}'`
-# 0.8.52
-VERSION=`cat "$spec_file" | grep ^Version | awk '{print $2}'`
-# 1
-RELEASE=`cat "$spec_file" | grep ^Release | awk '{print $2}'`
-# message
-BINNAME=`echo $APPNAME | sed "s/$PREFIX\.//"`
-
-DEBUGSOURCEPKGNAME=$APPNAME-debugsource-$VERSION-$RELEASE.$PLATFORM
-DEBUGINFOPKGNAME=$APPNAME-debuginfo-$VERSION-$RELEASE.$PLATFORM
-
-##-----------------------------------------##
-
-hasPrefix()
-{
-  if echo "$1" | grep -q "$PREFIX"; then
-    return 0;
-  else
-    return 1;
-  fi
-}
-
-##--------------- sdb shell ---------------##
-
-SdbShell()
-{
-  ShowMessage "$1" -c yellow
-  $SDB shell su -c "$1"
-}
-
-##--------------- color echo --------------##
-
-# arguments:
-# $1 : message text
-# -c|--color : text color (red, green, blue, yellow). Default value - blue
-# -n|--noti : show GUI notification
-# -s|--secondary : secondary message text
-# example: ShowMessage "Message to show" -c red --noti -s "Some additional text"
-
-ShowMessage()
-{
-    show_noti=false
-    color_val=""
-    message_sec=""
-    message=""
-
-    while [[ $# > 0 ]]; do
-      key="$1"
-
-      case $key in
-        -c|--color)
-        color_val="$2"
-        shift # past argument
-        ;;
-        -s|--secondary)
-        message_sec="$2"
-        shift # past argument
-        ;;
-        -n|--noti)
-        show_noti=true
-        ;;
-        *)
-        message="$1"
-        ;;
-      esac
-      shift # past argument or value
-    done
-
-    case "$color_val" in
-    "green")
-      color="32m"
-      noti_icon="-i $PWD/edje/images/icon_emotion_sunglasses.png"
-      ;;
-    "red")
-      color="31m"
-      noti_icon="-i $PWD/edje/images/icon_emotion_angry.png"
-      ;;
-    "blue")
-      color="34m"
-      ;;
-    "yellow")
-      color="33m"
-      ;;
-    *)
-      color="34m"
-      ;;
-    esac
-
-    echo -e "\033[1;"$color$message $message_sec"\033[0m"
-    if [ $show_noti = "true" ]; then
-      notify-send -u critical $noti_icon "$message" "$message_sec"
-    fi
-}
-
-##----------- check connection ------------##
-
-checkConnection()
-{
-    sdbstate=$($SDB get-state)
-    if [ $sdbstate = "unknown" ]
-      then
-        ShowMessage "Connection error." -c red --noti -s "Make sure that only one device or emulator is connected."
-        exit 0
-    fi
-}
-
-##---------------- build ------------------##
-
-build()
-{
-    ShowMessage "Building application..."
-
-    gbsoutput="gbsoutput.log"
-
-    if [ $LOCALBUILD = "true" ];
-    then
-      BUILDKEYS="$BUILDKEYS --noinit --incremental"
-    fi
-
-    if [ $TIZENVERSION != "default" ];
-    then
-      BUILDKEYS+=" -P profile.$TIZENVERSION"
-    fi
-
-    ShowMessage "gbs -v -d build -B $GBSROOT -A $PLATFORM --include-all --keep-packs $BUILDKEYS"
-    gbs -v -d build -B $GBSROOT -A $PLATFORM --include-all --keep-packs $BUILDKEYS 2>&1 | tee $gbsoutput
-
-    if cat "$gbsoutput" | grep -q "gbs:info: Done"; then
-      ShowMessage "Build successfull!" -s "In glory of Tizen!" -c green --noti
-      rm -f $gbsoutput;
-    else
-      comp_error=$(cat "$gbsoutput" | grep "error:"| sed '/Bad exit status/,//d; s/\[.*\/\(.*\) error:/\\nerror in \1/;')
-      ShowMessage "Build failed!" -s "$comp_error" -c red --noti
-      rm -f $gbsoutput
-      exit 0;
-    fi
-}
-
-##-----------------------------------------##
-
-# figure out which packages need to be installed
-
-initPackageList()
-{
-    packages_count=`cat "$spec_file" | grep -c %package`
-
-    # if packages count more then 1
-    if [ $packages_count -gt 1 ]
-      then
-        ShowMessage "When building the project is generated $packages_count (+ debuginfo and debugsource) RPM packages"
-        # case of multipackage project
-        PACKAGELIST=`cat "$spec_file" | grep %package | sed 's/-n//' |awk '{print $2}'`
-      else
-        ShowMessage "one package"
-        # only one package into package list
-        PACKAGELIST=$APPNAME
-    fi
-}
-
-##------------ Uninstalling ---------------##
-
-uninstall()
-{
-    ShowMessage "Stopping old application..."
-    SdbShell "pkill -f $APPNAME"
-
-    for current_package in $PACKAGELIST
-    do
-      ShowMessage "Uninstalling old application $current_package..."
-      if hasPrefix $current_package; then
-        # uninstall with pkgcmd
-        SdbShell "pkgcmd -q -u -n $current_package"
-      else
-        # uninstall with rpm
-        SdbShell "rpm -e --nodeps $current_package-*"
-      fi
-    done
-
-    if [ $DEBUGOPTION = "true" ]
-      then
-        SdbShell "rpm -e --nodeps $APPNAME-debugsource-*"
-        SdbShell "rpm -e --nodeps $APPNAME-debuginfo-*"
-    fi
-}
-
-##-------------- Pushing ------------------##
-
-push()
-{
-    SdbShell "mkdir -p $TEMPDIR/"
-
-    for current_package_name in $PACKAGELIST
-    do
-      current_package=$current_package_name-$VERSION-$RELEASE.$PLATFORM.rpm
-      ShowMessage "Pushing the package $current_package to device ..."
-      $SDB push $RPMSPATH/$current_package $TEMPDIR/
-    done
-
-    if [ $DEBUGOPTION = "true" ]
-      then
-        $SDB push $RPMSPATH/$DEBUGSOURCEPKGNAME.rpm $TEMPDIR/
-        $SDB push $RPMSPATH/$DEBUGINFOPKGNAME.rpm $TEMPDIR/
-    fi
-}
-
-##------------- Installing ----------------##
-
-install()
-{
-    for current_package_name in $PACKAGELIST
-    do
-      current_package=$current_package_name-$VERSION-$RELEASE.$PLATFORM.rpm
-      ShowMessage "Installing the package $current_package ..."
-      if [ $TIZENVERSION = "tizen_2.4" ];
-      then
-        $SDB install $RPMSPATH/$current_package
-      else
-        # uninstall with rpm
-        SdbShell "rpm -ivh --force --nodeps $TEMPDIR/$current_package"
-      fi
-    done
-
-    if [ $DEBUGOPTION = "true" ]
-      then
-        ShowMessage "Installing the package $DEBUGINFOPKGNAME.rpm ..."
-        SdbShell "rpm -i $TEMPDIR/$DEBUGINFOPKGNAME.rpm"
-        ShowMessage "Installing the package $DEBUGSOURCEPKGNAME.rpm ..."
-        SdbShell "rpm -i $TEMPDIR/$DEBUGSOURCEPKGNAME.rpm"
-    fi
-
-    if [ $TIZENVERSION != "tizen_2.4" ] && [ $QUICKINSTALL = "false" ];
-    then
-      SdbShell "pkg_initdb"
-      ShowMessage "pkg_initdb finished" -c green --noti
-    fi
-}
-
-##--------------- Running ----------------##
-
-run()
-{
-  if hasPrefix $APPNAME; then
-    ABSOLUTEPATHTOAPP=$INSTALLDIR/$APPNAME/bin/$BINNAME
-  else
-    fullappname=`echo $APPNAME | sed "s/^/$PREFIX\./"`
-    ABSOLUTEPATHTOAPP=$INSTALLDIR/$fullappname/bin/$BINNAME
-  fi
-
-  SdbShell "pkill -f $APPNAME"
-  ShowMessage "running the $ABSOLUTEPATHTOAPP..."
-  SdbShell "$ABSOLUTEPATHTOAPP"
-}
-
-##-----------------------------------------##
-
-installApp()
-{
-  checkConnection
-  initPackageList
-
-  if [ $TIZENVERSION != "tizen_2.4" ];
-  then
-    $SDB root on
-    #uninstall
-    push
-  fi
-
-  install
-
-  if [ $TIZENVERSION != "tizen_2.4" ];
-  then
-    $SDB root off
-  fi
-}
-
-runApp()
-{
-  checkConnection
-  run
-}
-
-##------------------ main -----------------##
-
-if [ $BUILDOPTION = "true" ]; then build; fi
-if [ $INSTALLOPTION = "true" ]; then installApp; fi
-if [ $RUNOPTION = "true" ]; then runApp; fi
-
-##-----------------------------------------##
diff --git a/tizen-manifest-private.xml b/tizen-manifest-private.xml
deleted file mode 100644 (file)
index 8c5404e..0000000
+++ /dev/null
@@ -1,170 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<manifest xmlns="http://tizen.org/ns/packages" api-version="3.0" package="org.tizen.message" version="0.1.0">
-    <label>Message</label>
-    <description>Message Application</description>
-    <ui-application appid="org.tizen.message" exec="/usr/apps/org.tizen.message/bin/message" launch_mode="caller" nodisplay="false" multiple="false" type="c++app" taskmanage="true" hw-acceleration="on" process-pool="true">
-        <metadata key="http://developer.samsung.com/tizen/metadata/multiwindow"/>
-        <metadata key="http://developer.samsung.com/tizen/metadata/multiwindow/nodisplay"/>
-        <icon>/usr/share/icons/default/small/message.png</icon>
-        <label>Messages</label>
-        <label xml:lang="ar-ae">الرسائل</label>
-        <label xml:lang="as-in">মেছেজসমূহ</label>
-        <label xml:lang="az-az">Mesajlar</label>
-        <label xml:lang="bn-in">বার্তাসমূহ</label>
-        <label xml:lang="bg-bg">Съобщения</label>
-        <label xml:lang="ca-es">Missatges</label>
-        <label xml:lang="cs-cz">Zprávy</label>
-        <label xml:lang="da-dk">Meddelelser</label>
-        <label xml:lang="de-de">Nachrichten</label>
-        <label xml:lang="el-gr">Μηνύματα</label>
-        <label xml:lang="en-gb">Messages</label>
-        <label xml:lang="en-ph">Messages</label>
-        <label xml:lang="en-us">Messages</label>
-        <label xml:lang="es-es">Mensajes</label>
-        <label xml:lang="es-mx">Mensajes</label>
-        <label xml:lang="et-ee">Sõnumid</label>
-        <label xml:lang="eu-es">Mezuak</label>
-        <label xml:lang="fi-fi">Viestit</label>
-        <label xml:lang="fr-ca">Messages</label>
-        <label xml:lang="fr-fr">Messages</label>
-        <label xml:lang="ga-ie">Teachtaireachtaí</label>
-        <label xml:lang="gu-in">સંદેશા</label>
-        <label xml:lang="gl-es">Mensaxes</label>
-        <label xml:lang="hi-in">सन्देश</label>
-        <label xml:lang="hr-hr">Poruke</label>
-        <label xml:lang="hu-hu">Üzenetek</label>
-        <label xml:lang="hy-am">Հղրդգրթ</label>
-        <label xml:lang="id-id">Pesan</label>
-        <label xml:lang="is-is">Skilaboð</label>
-        <label xml:lang="it-it">Messaggi</label>
-        <label xml:lang="ja-jp">メッセージ</label>
-        <label xml:lang="ka-ge">შეტყობინებები</label>
-        <label xml:lang="kk-kz">Хабарламалар</label>
-        <label xml:lang="km-kh">សារ</label>
-        <label xml:lang="kn-in">ಸಂದೇಶಗಳು</label>
-        <label xml:lang="ko-kr">메시지</label>
-        <label xml:lang="lo-la">ຂໍ້ຄວາມ</label>
-        <label xml:lang="lt-lt">Žinutės</label>
-        <label xml:lang="lv-lv">Ziņas</label>
-        <label xml:lang="mk-mk">Пораки</label>
-        <label xml:lang="ml-in">സന്ദേശങ്ങൾ</label>
-        <label xml:lang="mr-in">संदेश</label>
-        <label xml:lang="ms-my">Mesej</label>
-        <label xml:lang="my-mm">မက္ေဆ့ခ်္မ်ား</label>
-        <label xml:lang="nb-no">Meldinger</label>
-        <label xml:lang="ne-np">संदेशहरू</label>
-        <label xml:lang="nl-nl">Berichten</label>
-        <label xml:lang="or-in">ସନ୍ଦେଶଗୁଡିକ</label>
-        <label xml:lang="pa-in">ਸੰਦੇਸ਼</label>
-        <label xml:lang="pl-pl">Wiadomości</label>
-        <label xml:lang="pt-br">Mensagens</label>
-        <label xml:lang="pt-pt">Mensagem</label>
-        <label xml:lang="ro-ro">Mesaje</label>
-        <label xml:lang="ru-ru">Сообщения</label>
-        <label xml:lang="si-lk">පණිවිඩ</label>
-        <label xml:lang="sk-sk">Správy</label>
-        <label xml:lang="sl-si">Sporočila</label>
-        <label xml:lang="sr-rs">Poruke</label>
-        <label xml:lang="sv-se">Meddelanden</label>
-        <label xml:lang="ta-in">தகவல்கள்</label>
-        <label xml:lang="te-in">సందేశాలు</label>
-        <label xml:lang="th-th">ข้อความ</label>
-        <label xml:lang="tr-tr">Mesajlar</label>
-        <label xml:lang="tl-ph">Mga Mensahe</label>
-        <label xml:lang="uk-ua">Повідомлення</label>
-        <label xml:lang="ur-pk">پیغامات</label>
-        <label xml:lang="uz-uz">Xabarlar</label>
-        <label xml:lang="vi-vn">Tin nhắn</label>
-        <label xml:lang="zh-cn">信息</label>
-        <label xml:lang="zh-hk">訊息</label>
-        <label xml:lang="zh-sg">讯息</label>
-        <label xml:lang="zh-tw">訊息</label>
-        <app-control>
-            <operation name="http://tizen.org/appcontrol/operation/compose"/>
-        </app-control>
-        <app-control>
-            <operation name="http://tizen.org/appcontrol/operation/compose"/>
-            <uri name="sms"/>
-        </app-control>
-        <app-control>
-            <operation name="http://tizen.org/appcontrol/operation/compose"/>
-            <uri name="mmsto"/>
-        </app-control>
-        <app-control>
-            <operation name="http://tizen.org/appcontrol/operation/share"/>
-            <mime name="*/*"/>
-        </app-control>
-        <app-control>
-            <operation name="http://tizen.org/appcontrol/operation/share"/>
-            <mime name="*/*"/>
-            <uri name="mmsto"/>
-        </app-control>
-        <app-control>
-            <operation name="http://tizen.org/appcontrol/operation/multi_share"/>
-            <mime name="*/*"/>
-        </app-control>
-        <app-control>
-            <operation name="http://tizen.org/appcontrol/operation/multi_share"/>
-            <mime name="*/*"/>
-            <uri name="mmsto"/>
-        </app-control>
-        <app-control>
-            <operation name="http://tizen.org/appcontrol/operation/share_text"/>
-        </app-control>
-        <app-control>
-            <operation name="http://tizen.org/appcontrol/operation/share_text"/>
-            <uri name="sms"/>
-        </app-control>
-        <app-control>
-            <operation name="http://tizen.org/appcontrol/operation/share_text"/>
-            <uri name="mmsto"/>
-        </app-control>
-    </ui-application>
-        <privileges>
-        <privilege>http://tizen.org/privilege/location</privilege>
-        <privilege>http://tizen.org/privilege/datasharing</privilege>
-        <privilege>http://tizen.org/privilege/network.get</privilege>
-        <privilege>http://tizen.org/privilege/wifidirect</privilege>
-        <privilege>http://tizen.org/privilege/callhistory.read</privilege>
-        <privilege>http://tizen.org/privilege/contact.write</privilege>
-        <privilege>http://tizen.org/privilege/power</privilege>
-        <privilege>http://tizen.org/privilege/content.write</privilege>
-        <privilege>http://tizen.org/privilege/message.write</privilege>
-        <privilege>http://tizen.org/privilege/push</privilege>
-        <privilege>http://tizen.org/privilege/account.read</privilege>
-        <privilege>http://tizen.org/privilege/externalstorage</privilege>
-        <privilege>http://tizen.org/privilege/recorder</privilege>
-        <privilege>http://tizen.org/privilege/packagemanager.info</privilege>
-        <privilege>http://tizen.org/privilege/mediastorage</privilege>
-        <privilege>http://tizen.org/privilege/internet</privilege>
-        <privilege>http://tizen.org/privilege/nfc.cardemulation</privilege>
-        <privilege>http://tizen.org/privilege/calendar.write</privilege>
-        <privilege>http://tizen.org/privilege/window.priority.set</privilege>
-        <privilege>http://tizen.org/privilege/volume.set</privilege>
-        <privilege>http://tizen.org/privilege/callhistory.write</privilege>
-        <privilege>http://tizen.org/privilege/alarm.set</privilege>
-        <privilege>http://tizen.org/privilege/call</privilege>
-        <privilege>http://tizen.org/privilege/email</privilege>
-        <privilege>http://tizen.org/privilege/contact.read</privilege>
-        <privilege>http://tizen.org/privilege/systemsettings</privilege>
-        <privilege>http://tizen.org/privilege/shortcut</privilege>
-        <privilege>http://tizen.org/privilege/keymanager</privilege>
-        <privilege>http://tizen.org/privilege/camera</privilege>
-        <privilege>http://tizen.org/privilege/appmanager.launch</privilege>
-        <privilege>http://tizen.org/privilege/led</privilege>
-        <privilege>http://tizen.org/privilege/display</privilege>
-        <privilege>http://tizen.org/privilege/alarm.get</privilege>
-        <privilege>http://tizen.org/privilege/network.profile</privilege>
-        <privilege>http://tizen.org/privilege/calendar.read</privilege>
-        <privilege>http://tizen.org/privilege/account.write</privilege>
-        <privilege>http://tizen.org/privilege/nfc</privilege>
-        <privilege>http://tizen.org/privilege/bluetooth</privilege>
-        <privilege>http://tizen.org/privilege/network.set</privilege>
-        <privilege>http://tizen.org/privilege/notification</privilege>
-        <privilege>http://tizen.org/privilege/externalstorage.appdata</privilege>
-        <privilege>http://tizen.org/privilege/haptic</privilege>
-        <privilege>http://tizen.org/privilege/download</privilege>
-        <privilege>http://tizen.org/privilege/message.read</privilege>
-        <privilege>http://tizen.org/privilege/telephony</privilege>
-        </privileges>
-</manifest>
\ No newline at end of file