2013-07-03 sources upload tizen_2.2 2.2.1_release
authordonghee yang <donghee.yang@samsung.com>
Wed, 3 Jul 2013 05:51:24 +0000 (14:51 +0900)
committerdonghee yang <donghee.yang@samsung.com>
Wed, 3 Jul 2013 05:51:24 +0000 (14:51 +0900)
Change-Id: Id30bcda9fe921fc4049f1b3b4f405756e098cef9

33 files changed:
package/build.linux
package/build.macos [deleted file]
package/build.windows [deleted file]
package/changelog
package/pkginfo.manifest
samples/platform/rpm/Template/Tizen Platform/EFL Application/hello_efl/description.xml [new file with mode: 0644]
samples/platform/rpm/Template/Tizen Platform/EFL Application/hello_efl/project/CMakeLists.txt [new file with mode: 0644]
samples/platform/rpm/Template/Tizen Platform/EFL Application/hello_efl/project/include/dbg.h [new file with mode: 0644]
samples/platform/rpm/Template/Tizen Platform/EFL Application/hello_efl/project/org.tizen.hello-efl.png [new file with mode: 0644]
samples/platform/rpm/Template/Tizen Platform/EFL Application/hello_efl/project/org.tizen.hello-efl.xml.in [new file with mode: 0644]
samples/platform/rpm/Template/Tizen Platform/EFL Application/hello_efl/project/packaging/org.tizen.hello-efl.spec [new file with mode: 0755]
samples/platform/rpm/Template/Tizen Platform/EFL Application/hello_efl/project/po/CMakeLists.txt [new file with mode: 0644]
samples/platform/rpm/Template/Tizen Platform/EFL Application/hello_efl/project/po/POTFILES.in [new file with mode: 0644]
samples/platform/rpm/Template/Tizen Platform/EFL Application/hello_efl/project/po/de_DE.po [new file with mode: 0644]
samples/platform/rpm/Template/Tizen Platform/EFL Application/hello_efl/project/po/el_GR.po [new file with mode: 0644]
samples/platform/rpm/Template/Tizen Platform/EFL Application/hello_efl/project/po/en.po [new file with mode: 0644]
samples/platform/rpm/Template/Tizen Platform/EFL Application/hello_efl/project/po/es_ES.po [new file with mode: 0644]
samples/platform/rpm/Template/Tizen Platform/EFL Application/hello_efl/project/po/fr_FR.po [new file with mode: 0644]
samples/platform/rpm/Template/Tizen Platform/EFL Application/hello_efl/project/po/hello-efl.pot [new file with mode: 0644]
samples/platform/rpm/Template/Tizen Platform/EFL Application/hello_efl/project/po/it_IT.po [new file with mode: 0644]
samples/platform/rpm/Template/Tizen Platform/EFL Application/hello_efl/project/po/ja_JP.po [new file with mode: 0644]
samples/platform/rpm/Template/Tizen Platform/EFL Application/hello_efl/project/po/ko_KR.po [new file with mode: 0644]
samples/platform/rpm/Template/Tizen Platform/EFL Application/hello_efl/project/po/nl_NL.po [new file with mode: 0644]
samples/platform/rpm/Template/Tizen Platform/EFL Application/hello_efl/project/po/pt_PT.po [new file with mode: 0644]
samples/platform/rpm/Template/Tizen Platform/EFL Application/hello_efl/project/po/ru_RU.po [new file with mode: 0644]
samples/platform/rpm/Template/Tizen Platform/EFL Application/hello_efl/project/po/tr_TR.po [new file with mode: 0644]
samples/platform/rpm/Template/Tizen Platform/EFL Application/hello_efl/project/po/update-po.sh [new file with mode: 0755]
samples/platform/rpm/Template/Tizen Platform/EFL Application/hello_efl/project/po/zh_CN.po [new file with mode: 0644]
samples/platform/rpm/Template/Tizen Platform/EFL Application/hello_efl/project/po/zh_HK.po [new file with mode: 0644]
samples/platform/rpm/Template/Tizen Platform/EFL Application/hello_efl/project/po/zh_TW.po [new file with mode: 0644]
samples/platform/rpm/Template/Tizen Platform/EFL Application/hello_efl/project/src/main.c [new file with mode: 0644]
samples/platform/rpm/Template/Tizen Platform/EFL Application/hello_efl/sample.xml [new file with mode: 0644]
samples/platform/rpm/Template/Tizen Platform/EFL Application/hello_efl/screenshot.png [new file with mode: 0644]

index 95c8f08..5ee27d4 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/bash -xe
 
-target_platform="tizen2.1"
+target_platform="tizen2.2"
 create_install_environment()
 {
     INSTALL_DIR=${SRCDIR}/package/${package_name}.package.${TARGET_OS}/data/platforms/${target_platform}/samples/native
diff --git a/package/build.macos b/package/build.macos
deleted file mode 100755 (executable)
index 95c8f08..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-#!/bin/bash -xe
-
-target_platform="tizen2.1"
-create_install_environment()
-{
-    INSTALL_DIR=${SRCDIR}/package/${package_name}.package.${TARGET_OS}/data/platforms/${target_platform}/samples/native
-    if [ -d ${INSTALL_DIR} ]
-    then
-        rm -rf ${INSTALL_DIR}
-    fi
-
-    mkdir -p ${INSTALL_DIR}
-}
-
-install_cpp_sample_for_partner()
-{
-    #PARTNER_INSTALL_DIR=${INSTALL_DIR}/cpp/Partner
-    #mkdir -p ${PARTNER_INSTALL_DIR}
-    #cp -rf ${SRCDIR}/samples/native/partner/cpp/* ${PARTNER_INSTALL_DIR}/
-    cp -rf ${SRCDIR}/samples/native/partner/cpp ${INSTALL_DIR}/
-}
-
-install_cpp_sample()
-{
-    cp -rf ${SRCDIR}/samples/native/cpp ${INSTALL_DIR}/
-}
-
-# clean
-clean()
-{
-       rm -rf ${SRCDIR}/*.zip
-       rm -rf ${SRCDIR}/*.tar.gz
-}
-
-# build
-build() 
-{
-    echo "Nothing to do"
-}
-
-# install
-install() 
-{
-    INSTALL_DIR=$SRCDIR/package/nativeplatform-rpm-sample.package.${TARGET_OS}/data/platforms/${target_platform}
-    mkdir -p $INSTALL_DIR
-    cp -r $SRCDIR/samples $INSTALL_DIR/
-}
diff --git a/package/build.windows b/package/build.windows
deleted file mode 100755 (executable)
index 95c8f08..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-#!/bin/bash -xe
-
-target_platform="tizen2.1"
-create_install_environment()
-{
-    INSTALL_DIR=${SRCDIR}/package/${package_name}.package.${TARGET_OS}/data/platforms/${target_platform}/samples/native
-    if [ -d ${INSTALL_DIR} ]
-    then
-        rm -rf ${INSTALL_DIR}
-    fi
-
-    mkdir -p ${INSTALL_DIR}
-}
-
-install_cpp_sample_for_partner()
-{
-    #PARTNER_INSTALL_DIR=${INSTALL_DIR}/cpp/Partner
-    #mkdir -p ${PARTNER_INSTALL_DIR}
-    #cp -rf ${SRCDIR}/samples/native/partner/cpp/* ${PARTNER_INSTALL_DIR}/
-    cp -rf ${SRCDIR}/samples/native/partner/cpp ${INSTALL_DIR}/
-}
-
-install_cpp_sample()
-{
-    cp -rf ${SRCDIR}/samples/native/cpp ${INSTALL_DIR}/
-}
-
-# clean
-clean()
-{
-       rm -rf ${SRCDIR}/*.zip
-       rm -rf ${SRCDIR}/*.tar.gz
-}
-
-# build
-build() 
-{
-    echo "Nothing to do"
-}
-
-# install
-install() 
-{
-    INSTALL_DIR=$SRCDIR/package/nativeplatform-rpm-sample.package.${TARGET_OS}/data/platforms/${target_platform}
-    mkdir -p $INSTALL_DIR
-    cp -r $SRCDIR/samples $INSTALL_DIR/
-}
index ce9f96d..6a37f95 100644 (file)
@@ -1,3 +1,9 @@
+* 2.1.2
+- Change tizen2.1 to tizen2.2
+== Jonghwan Park <jonghwan2.park@samsung.com> 2013-06-12
+* 2.1.1
+- Added EFL application sample
+== donghyuk yang <donghyuk.yang@samsung.com> 2013-06-03
 * 2.1.0
 - Changed platform version from tizen2.0 to tizen2.1
 == donghyuk yang <donghyuk.yang@samsung.com> 2013-03-19
index c91972b..bc7e255 100644 (file)
@@ -1,5 +1,5 @@
 Source:nativeplatform-sample
-Version: 2.1.0
+Version: 2.1.2
 Maintainer : taejun ha<taejun.ha@samsung.com>, jiil hyoun <jiil.hyoun@samsung.com>, donghyuk yang <donghyouk.yang@samsung.com>, donghee yang <donghee.yang@samsung.com>, sungmin kim <dev.sungmin.kim@samsung.com
 
 Package:nativeplatform-rpm-sample
diff --git a/samples/platform/rpm/Template/Tizen Platform/EFL Application/hello_efl/description.xml b/samples/platform/rpm/Template/Tizen Platform/EFL Application/hello_efl/description.xml
new file mode 100644 (file)
index 0000000..c9cedde
--- /dev/null
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="utf-8"?>
+<?xml-stylesheet type="text/xsl" href="../../../../description.xsl"?>
+
+<Overview version="0.0.1">
+  <SampleName>Helloworld</SampleName>
+  <SampleVersion>1.0</SampleVersion>
+  <Preview>screenshot.png</Preview>
+  <Description>
+    This is the simple EFL template project that shows "Hello EFL" on the screen.
+  </Description>
+</Overview>
diff --git a/samples/platform/rpm/Template/Tizen Platform/EFL Application/hello_efl/project/CMakeLists.txt b/samples/platform/rpm/Template/Tizen Platform/EFL Application/hello_efl/project/CMakeLists.txt
new file mode 100644 (file)
index 0000000..1685f36
--- /dev/null
@@ -0,0 +1,64 @@
+# Copyright (c) 2013 Samsung Electronics Co., Ltd All Rights Reserved
+#
+#    Licensed under the Apache License, Version 2.0 (the "License");
+#    you may not use this file except in compliance with the License.
+#    You may obtain a copy of the License at
+#
+#        http://www.apache.org/licenses/LICENSE-2.0
+#
+#    Unless required by applicable law or agreed to in writing, software
+#    distributed under the License is distributed on an "AS IS" BASIS,
+#    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+#    See the License for the specific language governing permissions and
+#    limitations under the License.
+#
+
+CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
+PROJECT("$(projectName)" C)
+
+
+IF(NOT DEFINED PACKAGE_NAME)
+       SET(PACKAGE_NAME "org.tizen.$(projectName)")
+ENDIF(NOT DEFINED PACKAGE_NAME)
+
+SET(PREFIX ${CMAKE_INSTALL_PREFIX})
+IF(NOT DEFINED BINDIR)
+       SET(BINDIR"${PREFIX}/bin")
+ENDIF(NOT DEFINED BINDIR)
+IF(NOT DEFINED LOCALEDIR)
+       SET(LOCALEDIR "${PREFIX}/res/locale")
+ENDIF(NOT DEFINED LOCALEDIR)
+IF(NOT DEFINED MANIFESTDIR)
+       SET(MANIFESTDIR "/opt/share/packages")
+ENDIF(NOT DEFINED MANIFESTDIR)
+IF(NOT DEFINED DESKTOP_ICONDIR)
+       SET(DESKTOP_ICONDIR "/opt/share/icons/default/small")
+ENDIF(NOT DEFINED DESKTOP_ICONDIR)
+IF(NOT DEFINED DESKTOP_ICON)
+       SET(DESKTOP_ICON ${PACKAGE_NAME}.png)
+ENDIF(DESKTOP_ICON)
+
+SET(SRCS src/main.c)
+
+ADD_DEFINITIONS("-DPACKAGE=\"${PACKAGE_NAME}\"")
+
+INCLUDE(FindPkgConfig)
+pkg_check_modules(PKGS REQUIRED
+               elementary
+               capi-appfw-application)
+
+FOREACH(flag ${PKGS_CFLAGS})
+       SET(EXTRA_CFLGAS "${EXTRA_CFLGAS} ${flag}")
+ENDFOREACH(flag)
+
+SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLGAS}")
+ADD_EXECUTABLE(${PROJECT_NAME} ${SRCS})
+TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${PKGS_LDFLAGS})
+CONFIGURE_FILE(${PACKAGE_NAME}.xml.in ${PACKAGE_NAME}.xml)
+
+INSTALL(TARGETS ${PROJECT_NAME} DESTINATION ${BINDIR})
+INSTALL(FILES ${PACKAGE_NAME}.xml DESTINATION ${MANIFESTDIR})
+INSTALL(FILES ${CMAKE_SOURCE_DIR}/${DESKTOP_ICON} DESTINATION ${DESKTOP_ICONDIR})
+
+#i18n
+ADD_SUBDIRECTORY(po)
diff --git a/samples/platform/rpm/Template/Tizen Platform/EFL Application/hello_efl/project/include/dbg.h b/samples/platform/rpm/Template/Tizen Platform/EFL Application/hello_efl/project/include/dbg.h
new file mode 100644 (file)
index 0000000..20ca3ea
--- /dev/null
@@ -0,0 +1,39 @@
+/*
+ * Copyright (c) 2013 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * Licensed under the Apache License, Version 2.0 (the License);
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an AS IS BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License. 
+ */
+
+#ifndef __DBG_H__
+
+#include <dlog.h>
+
+#ifdef  LOG_TAG
+#undef  LOG_TAG
+#endif
+#define LOG_TAG "org.tizen.$(projectName)"
+
+#ifndef _ERR
+#define _ERR(fmt, args...) LOGE("[%s:%d] "fmt"\n", __func__, __LINE__, ##args)
+#endif
+
+#ifndef _DBG
+#define _DBG(fmt, args...) LOGD("[%s:%d] "fmt"\n", __func__, __LINE__, ##args)
+#endif
+
+#ifndef _INFO
+#define _INFO(fmt, args...) LOGI("[%s:%d] "fmt"\n", __func__, __LINE__, ##args)
+#endif
+
+
+#endif /* __DBG_H__ */
diff --git a/samples/platform/rpm/Template/Tizen Platform/EFL Application/hello_efl/project/org.tizen.hello-efl.png b/samples/platform/rpm/Template/Tizen Platform/EFL Application/hello_efl/project/org.tizen.hello-efl.png
new file mode 100644 (file)
index 0000000..6b78a29
Binary files /dev/null and b/samples/platform/rpm/Template/Tizen Platform/EFL Application/hello_efl/project/org.tizen.hello-efl.png differ
diff --git a/samples/platform/rpm/Template/Tizen Platform/EFL Application/hello_efl/project/org.tizen.hello-efl.xml.in b/samples/platform/rpm/Template/Tizen Platform/EFL Application/hello_efl/project/org.tizen.hello-efl.xml.in
new file mode 100644 (file)
index 0000000..35a7a49
--- /dev/null
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="utf-8"?>\r
+<manifest xmlns="http://tizen.org/ns/packages" package="@PACKAGE_NAME@" version="@VERSION@" install-location="internal-only">\r
+       <label>$(projectName)</label>\r
+       <author email="PUT YOUR EMAIL" href="www.samsung.com">PUT YOUR NAME</author>\r
+       <description>$(projectName)</description>\r
+       <ui-application appid="@PACKAGE_NAME@" exec="@BINDIR@/@PROJECT_NAME@" nodisplay="false" multiple="false" type="capp" taskmanage="true">\r
+               <label>$(projectName)</label>\r
+               <icon>@DESKTOP_ICON@</icon>\r
+       </ui-application>\r
+</manifest>\r
diff --git a/samples/platform/rpm/Template/Tizen Platform/EFL Application/hello_efl/project/packaging/org.tizen.hello-efl.spec b/samples/platform/rpm/Template/Tizen Platform/EFL Application/hello_efl/project/packaging/org.tizen.hello-efl.spec
new file mode 100755 (executable)
index 0000000..111d0a7
--- /dev/null
@@ -0,0 +1,50 @@
+Name:      org.tizen.$(projectName)
+Version:   0.0.1
+Release:   1
+License:   To be filled
+Summary:   Hello EFL Application
+Group:     Application
+Source0:   %{name}-%{version}.tar.gz
+BuildRequires: cmake 
+BuildRequires: pkgconfig(capi-appfw-application)
+BuildRequires: pkgconfig(elementary)
+BuildRequires: gettext-devel
+
+%description
+$(description)
+
+%define _pkgdir /opt/apps/%{name}
+%define _bindir %{_pkgdir}/bin
+%define _resdir %{_pkgdir}/res
+%define _localedir %{_resdir}/locale
+%define _manifestdir /opt/share/packages
+%define _desktop_icondir /opt/share/icons/default/small
+
+%prep
+%setup -q
+
+%build
+cmake \
+       -DCMAKE_INSTALL_PREFIX=%{_pkgdir} \
+       -DPACKAGE_NAME=%{name} \
+       -DBINDIR=%{_bindir} \
+       -DLOCALEDIR=%{_localedir} \
+       -DMANIFESTDIR=%{_manifestdir} \
+       -DDESKTOP_ICONDIR=%{_desktop_icondir} \
+       -DDESKTOP_ICON=%{name}.png \
+       -DVERSION=%{version}
+
+make %{?jobs:-j%jobs}
+
+%install
+%make_install
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%defattr(-,root,root,-)
+%{_bindir}/*
+%{_resdir}/*
+%{_manifestdir}/%{name}.xml
+%{_desktop_icondir}/%{name}.png
diff --git a/samples/platform/rpm/Template/Tizen Platform/EFL Application/hello_efl/project/po/CMakeLists.txt b/samples/platform/rpm/Template/Tizen Platform/EFL Application/hello_efl/project/po/CMakeLists.txt
new file mode 100644 (file)
index 0000000..cd07287
--- /dev/null
@@ -0,0 +1,37 @@
+# for i18n
+
+SET(POFILES de_DE.po
+                       el_GR.po
+                       en.po
+                       es_ES.po
+                       fr_FR.po
+                       it_IT.po
+                       ja_JP.po
+                       ko_KR.po
+                       nl_NL.po
+                       pt_PT.po
+                       ru_RU.po
+                       tr_TR.po
+                       zh_CN.po
+                       zh_HK.po
+                       zh_TW.po)
+SET(MSGFMT "/usr/bin/msgfmt")
+
+FOREACH(pofile ${POFILES})
+       SET(pofile ${CMAKE_CURRENT_SOURCE_DIR}/${pofile})
+       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/samples/platform/rpm/Template/Tizen Platform/EFL Application/hello_efl/project/po/POTFILES.in b/samples/platform/rpm/Template/Tizen Platform/EFL Application/hello_efl/project/po/POTFILES.in
new file mode 100644 (file)
index 0000000..5dda005
--- /dev/null
@@ -0,0 +1,2 @@
+# List of source files containing translatable strings.
+src/main.c
diff --git a/samples/platform/rpm/Template/Tizen Platform/EFL Application/hello_efl/project/po/de_DE.po b/samples/platform/rpm/Template/Tizen Platform/EFL Application/hello_efl/project/po/de_DE.po
new file mode 100644 (file)
index 0000000..f90724d
--- /dev/null
@@ -0,0 +1,22 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2013-04-09 09:44+0900\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: src/main.c:50
+msgid "Hello EFL"
+msgstr ""
diff --git a/samples/platform/rpm/Template/Tizen Platform/EFL Application/hello_efl/project/po/el_GR.po b/samples/platform/rpm/Template/Tizen Platform/EFL Application/hello_efl/project/po/el_GR.po
new file mode 100644 (file)
index 0000000..f90724d
--- /dev/null
@@ -0,0 +1,22 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2013-04-09 09:44+0900\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: src/main.c:50
+msgid "Hello EFL"
+msgstr ""
diff --git a/samples/platform/rpm/Template/Tizen Platform/EFL Application/hello_efl/project/po/en.po b/samples/platform/rpm/Template/Tizen Platform/EFL Application/hello_efl/project/po/en.po
new file mode 100644 (file)
index 0000000..f90724d
--- /dev/null
@@ -0,0 +1,22 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2013-04-09 09:44+0900\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: src/main.c:50
+msgid "Hello EFL"
+msgstr ""
diff --git a/samples/platform/rpm/Template/Tizen Platform/EFL Application/hello_efl/project/po/es_ES.po b/samples/platform/rpm/Template/Tizen Platform/EFL Application/hello_efl/project/po/es_ES.po
new file mode 100644 (file)
index 0000000..f90724d
--- /dev/null
@@ -0,0 +1,22 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2013-04-09 09:44+0900\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: src/main.c:50
+msgid "Hello EFL"
+msgstr ""
diff --git a/samples/platform/rpm/Template/Tizen Platform/EFL Application/hello_efl/project/po/fr_FR.po b/samples/platform/rpm/Template/Tizen Platform/EFL Application/hello_efl/project/po/fr_FR.po
new file mode 100644 (file)
index 0000000..f90724d
--- /dev/null
@@ -0,0 +1,22 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2013-04-09 09:44+0900\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: src/main.c:50
+msgid "Hello EFL"
+msgstr ""
diff --git a/samples/platform/rpm/Template/Tizen Platform/EFL Application/hello_efl/project/po/hello-efl.pot b/samples/platform/rpm/Template/Tizen Platform/EFL Application/hello_efl/project/po/hello-efl.pot
new file mode 100644 (file)
index 0000000..0f2e228
--- /dev/null
@@ -0,0 +1,22 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2013-04-09 09:44+0900\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: src/main.c:50
+msgid "Hello EFL"
+msgstr ""
diff --git a/samples/platform/rpm/Template/Tizen Platform/EFL Application/hello_efl/project/po/it_IT.po b/samples/platform/rpm/Template/Tizen Platform/EFL Application/hello_efl/project/po/it_IT.po
new file mode 100644 (file)
index 0000000..f90724d
--- /dev/null
@@ -0,0 +1,22 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2013-04-09 09:44+0900\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: src/main.c:50
+msgid "Hello EFL"
+msgstr ""
diff --git a/samples/platform/rpm/Template/Tizen Platform/EFL Application/hello_efl/project/po/ja_JP.po b/samples/platform/rpm/Template/Tizen Platform/EFL Application/hello_efl/project/po/ja_JP.po
new file mode 100644 (file)
index 0000000..f90724d
--- /dev/null
@@ -0,0 +1,22 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2013-04-09 09:44+0900\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: src/main.c:50
+msgid "Hello EFL"
+msgstr ""
diff --git a/samples/platform/rpm/Template/Tizen Platform/EFL Application/hello_efl/project/po/ko_KR.po b/samples/platform/rpm/Template/Tizen Platform/EFL Application/hello_efl/project/po/ko_KR.po
new file mode 100644 (file)
index 0000000..f90724d
--- /dev/null
@@ -0,0 +1,22 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2013-04-09 09:44+0900\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: src/main.c:50
+msgid "Hello EFL"
+msgstr ""
diff --git a/samples/platform/rpm/Template/Tizen Platform/EFL Application/hello_efl/project/po/nl_NL.po b/samples/platform/rpm/Template/Tizen Platform/EFL Application/hello_efl/project/po/nl_NL.po
new file mode 100644 (file)
index 0000000..f90724d
--- /dev/null
@@ -0,0 +1,22 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2013-04-09 09:44+0900\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: src/main.c:50
+msgid "Hello EFL"
+msgstr ""
diff --git a/samples/platform/rpm/Template/Tizen Platform/EFL Application/hello_efl/project/po/pt_PT.po b/samples/platform/rpm/Template/Tizen Platform/EFL Application/hello_efl/project/po/pt_PT.po
new file mode 100644 (file)
index 0000000..f90724d
--- /dev/null
@@ -0,0 +1,22 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2013-04-09 09:44+0900\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: src/main.c:50
+msgid "Hello EFL"
+msgstr ""
diff --git a/samples/platform/rpm/Template/Tizen Platform/EFL Application/hello_efl/project/po/ru_RU.po b/samples/platform/rpm/Template/Tizen Platform/EFL Application/hello_efl/project/po/ru_RU.po
new file mode 100644 (file)
index 0000000..f90724d
--- /dev/null
@@ -0,0 +1,22 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2013-04-09 09:44+0900\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: src/main.c:50
+msgid "Hello EFL"
+msgstr ""
diff --git a/samples/platform/rpm/Template/Tizen Platform/EFL Application/hello_efl/project/po/tr_TR.po b/samples/platform/rpm/Template/Tizen Platform/EFL Application/hello_efl/project/po/tr_TR.po
new file mode 100644 (file)
index 0000000..f90724d
--- /dev/null
@@ -0,0 +1,22 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2013-04-09 09:44+0900\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: src/main.c:50
+msgid "Hello EFL"
+msgstr ""
diff --git a/samples/platform/rpm/Template/Tizen Platform/EFL Application/hello_efl/project/po/update-po.sh b/samples/platform/rpm/Template/Tizen Platform/EFL Application/hello_efl/project/po/update-po.sh
new file mode 100755 (executable)
index 0000000..665444f
--- /dev/null
@@ -0,0 +1,59 @@
+#!/bin/sh
+
+APPNAME=hello-efl
+SRCROOT=..
+POTFILES=POTFILES.in
+
+ALL_LINGUAS="de_DE el_GR en es_ES fr_FR it_IT ja_JP ko_KR nl_NL pt_PT ru_RU tr_TR zh_CN zh_HK zh_TW"
+
+XGETTEXT=/usr/bin/xgettext
+MSGMERGE=/usr/bin/msgmerge
+
+echo -n "Make ${APPNAME}.pot  "
+if [ ! -e $POTFILES ] ; then
+       echo "$POTFILES not found"
+       exit 1
+fi
+
+$XGETTEXT --default-domain=${APPNAME} --directory=${SRCROOT} \
+               --add-comments --keyword=_ --keyword=N_ --files-from=$POTFILES
+if [ $? -ne 0 ]; then
+       echo "xgettext error"
+       exit 1
+fi
+
+if [ ! -f ${APPNAME}.po ]; then
+       echo "No such file: ${APPNAME}.po"
+       exit 1
+fi
+
+rm -f ${APPNAME}.pot && mv ${APPNAME}.po ${APPNAME}.pot
+echo "done"
+
+for LANG in $ALL_LINGUAS; do 
+       echo "$LANG : "
+
+       if [ ! -e $LANG.po ] ; then
+               sed 's/CHARSET/UTF-8/g' ${APPNAME}.pot > ${LANG}.po
+               echo "${LANG}.po created"
+       else
+               if $MSGMERGE ${LANG}.po ${APPNAME}.pot -o ${LANG}.new.po ; then
+                       if cmp ${LANG}.po ${LANG}.new.po > /dev/null 2>&1; then
+                               rm -f ${LANG}.new.po
+                       else
+                               if mv -f ${LANG}.new.po ${LANG}.po; then
+                                       echo "" 
+                               else
+                                       echo "msgmerge for $LANG.po failed: cannot move $LANG.new.po to $LANG.po" 1>&2
+                                       rm -f ${LANG}.new.po
+                                       exit 1
+                               fi
+                       fi
+               else
+                       echo "msgmerge for $LANG failed!"
+                       rm -f ${LANG}.new.po
+               fi
+       fi
+       echo ""
+done
+
diff --git a/samples/platform/rpm/Template/Tizen Platform/EFL Application/hello_efl/project/po/zh_CN.po b/samples/platform/rpm/Template/Tizen Platform/EFL Application/hello_efl/project/po/zh_CN.po
new file mode 100644 (file)
index 0000000..f90724d
--- /dev/null
@@ -0,0 +1,22 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2013-04-09 09:44+0900\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: src/main.c:50
+msgid "Hello EFL"
+msgstr ""
diff --git a/samples/platform/rpm/Template/Tizen Platform/EFL Application/hello_efl/project/po/zh_HK.po b/samples/platform/rpm/Template/Tizen Platform/EFL Application/hello_efl/project/po/zh_HK.po
new file mode 100644 (file)
index 0000000..f90724d
--- /dev/null
@@ -0,0 +1,22 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2013-04-09 09:44+0900\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: src/main.c:50
+msgid "Hello EFL"
+msgstr ""
diff --git a/samples/platform/rpm/Template/Tizen Platform/EFL Application/hello_efl/project/po/zh_TW.po b/samples/platform/rpm/Template/Tizen Platform/EFL Application/hello_efl/project/po/zh_TW.po
new file mode 100644 (file)
index 0000000..f90724d
--- /dev/null
@@ -0,0 +1,22 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2013-04-09 09:44+0900\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: src/main.c:50
+msgid "Hello EFL"
+msgstr ""
diff --git a/samples/platform/rpm/Template/Tizen Platform/EFL Application/hello_efl/project/src/main.c b/samples/platform/rpm/Template/Tizen Platform/EFL Application/hello_efl/project/src/main.c
new file mode 100644 (file)
index 0000000..f99d01d
--- /dev/null
@@ -0,0 +1,154 @@
+/*
+ * Copyright (c) 2013 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * Licensed under the Apache License, Version 2.0 (the License);
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an AS IS BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License. 
+ */
+
+#include <app.h>
+#include <Elementary.h>
+#include <assert.h>
+
+struct _appdata {
+       const char *name;
+       Evas_Object *win;
+       Evas_Object *lbl;
+};
+
+static Evas_Object *_add_win(const char *name)
+{
+       Evas_Object *win;
+
+       win = elm_win_util_standard_add(name, "$(projectName)");
+       if (!win)
+               return NULL;
+
+       evas_object_show(win);
+
+       return win;
+}
+
+static Evas_Object *_add_lable(Evas_Object *win)
+{
+       Evas_Object *lbl;
+
+       assert(win);
+
+       lbl = elm_label_add(win);
+       if (!lbl)
+               return NULL;
+
+       elm_object_text_set(lbl, _("Hello EFL"));
+       evas_object_size_hint_weight_set(lbl, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
+       elm_win_resize_object_add(win, lbl);
+       evas_object_show(lbl);
+
+       return lbl;
+}
+
+static bool _create(void *user_data)
+{
+       struct _appdata *ad;
+       Evas_Object *win;
+       Evas_Object *lbl;
+
+       if (!user_data)
+               return false;
+
+       ad = user_data;
+
+       win = _add_win(ad->name);
+       if (!win)
+               return false;
+
+       lbl = _add_lable(win);
+       if (!lbl) {
+               evas_object_del(win);
+               return false;
+       }
+
+       ad->win = win;
+       ad->lbl = lbl;
+
+       return true;
+}
+
+static void _terminate(void *user_data)
+{
+       struct _appdata *ad;
+
+       if (!user_data)
+               return;
+
+       ad = user_data;
+
+       if (ad->win)
+               evas_object_del(ad->win);
+}
+
+static void _pause(void *user_data)
+{
+}
+
+static void _resume(void *user_data)
+{
+}
+
+static void _service(service_h service, void *user_data)
+{
+}
+
+static void _low_memory(void *user_data)
+{
+}
+
+static void _low_battery(void *user_data)
+{
+}
+
+static void _dev_orientation_changed(app_device_orientation_e orientation,
+               void *user_data)
+{
+}
+
+static void _lang_changed(void *user_data)
+{
+}
+
+static void _region_fmt_changed(void *user_data)
+{
+}
+
+int main(int argc, char **argv)
+{
+        struct _appdata ad;
+        app_event_callback_s cbs = {
+                .create = _create,
+                .terminate = _terminate,
+                .pause = _pause,
+                .resume = _resume,
+                .service = _service,
+                .low_memory = _low_memory,
+                .low_battery = _low_battery,
+                .device_orientation = _dev_orientation_changed,
+                .language_changed = _lang_changed,
+                .region_format_changed = _region_fmt_changed,
+        };
+
+        memset(&ad, 0x00, sizeof(ad));
+        ad.name= PACKAGE;
+
+        app_efl_main(&argc, &argv, &cbs, &ad);
+
+        return 0;
+}
+
diff --git a/samples/platform/rpm/Template/Tizen Platform/EFL Application/hello_efl/sample.xml b/samples/platform/rpm/Template/Tizen Platform/EFL Application/hello_efl/sample.xml
new file mode 100644 (file)
index 0000000..f8a195d
--- /dev/null
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<template>
+
+       <slp-property>
+               <property-group>
+                       <sample-name>Hello EFL</sample-name>
+                       <category>Platform Template</category>
+                       <sdk-version>1.00</sdk-version>
+                       <project-type>org.tizen.nativeide.buildArtefactType.platform</project-type>
+                       <sample-description>description.xml</sample-description>
+               </property-group>
+       </slp-property>
+       <process type="org.tizen.nativeappcommon.TizenCopyFolder">
+               <simple name="projectName" value="$(projectName)"/>
+               <simple name="folderPath" value="project"/>
+               <complex-array name="replaceableFiles">
+                       <element>
+                               <simple name="sourcePath" value="org.tizen.hello-efl.xml.in"/>
+                               <simple name="targetPath" value="org.tizen.$(projectName).xml.in"/>
+                               <simple name="replaceable" value="true"/>
+                       </element>
+                       <element>
+                               <simple name="sourcePath" value="org.tizen.hello-efl.png"/>
+                               <simple name="targetPath" value="org.tizen.$(projectName).png"/>
+                               <simple name="replaceable" value="false"/>
+                       </element>
+                       <element>
+                               <simple name="sourcePath" value="packaging/org.tizen.hello-efl.spec"/>
+                               <simple name="targetPath" value="packaging/org.tizen.$(projectName).spec"/>
+                               <simple name="replaceable" value="true"/>
+                       </element>
+                       <element>
+                               <simple name="sourcePath" value="CMakeLists.txt"/>
+                               <simple name="targetPath" value="CMakeLists.txt"/>
+                               <simple name="replaceable" value="true"/>
+                       </element>
+                       <element>
+                               <simple name="sourcePath" value="src/main.c"/>
+                               <simple name="targetPath" value="src/main.c"/>
+                               <simple name="replaceable" value="true"/>
+                       </element>
+                       <element>
+                               <simple name="sourcePath" value="include/dbg.h"/>
+                               <simple name="targetPath" value="include/dbg.h"/>
+                               <simple name="replaceable" value="true"/>
+                       </element>
+               </complex-array>
+       </process>
+</template>
diff --git a/samples/platform/rpm/Template/Tizen Platform/EFL Application/hello_efl/screenshot.png b/samples/platform/rpm/Template/Tizen Platform/EFL Application/hello_efl/screenshot.png
new file mode 100644 (file)
index 0000000..5edb16c
Binary files /dev/null and b/samples/platform/rpm/Template/Tizen Platform/EFL Application/hello_efl/screenshot.png differ