diff options
author | Irfan Abdul <irfan.abdul@samsung.com> | 2016-09-22 20:20:46 +0530 |
---|---|---|
committer | Irfan Abdul <irfan.abdul@samsung.com> | 2016-09-22 20:20:46 +0530 |
commit | fa2b9dfba160508dd96b6d3cf43846ba98db99d5 (patch) | |
tree | 302ff8333f98fc3689eba195254eca5d17274cb3 | |
parent | 85e4dbb5c9567078c7779d7907ea8be44ea7ddef (diff) | |
download | timer-fa2b9dfba160508dd96b6d3cf43846ba98db99d5.tar.gz timer-fa2b9dfba160508dd96b6d3cf43846ba98db99d5.tar.bz2 timer-fa2b9dfba160508dd96b6d3cf43846ba98db99d5.zip |
removing unused filessubmit/tizen/20160922.150508
Change-Id: I6fd512bc5dfa6963184b82d6605e261ff0fb1bfb
-rw-r--r-- | CMakeLists.txt | 78 | ||||
-rw-r--r-- | data/org.tizen.timer.xml | 9 | ||||
-rw-r--r-- | org.tizen.timer.manifest | 11 | ||||
-rw-r--r-- | packaging/org.tizen.timer.spec | 68 | ||||
-rw-r--r-- | res/CMakeLists.txt | 3 |
5 files changed, 0 insertions, 169 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt deleted file mode 100644 index 5e19dbc..0000000 --- a/CMakeLists.txt +++ /dev/null @@ -1,78 +0,0 @@ -CMAKE_MINIMUM_REQUIRED(VERSION 2.6) -PROJECT(timer) -# FIND ALL SOURCE IN A SOURCE DIRECTORY -AUX_SOURCE_DIRECTORY(${CMAKE_SOURCE_DIR}/src SRCS) - -#INCLUDE FILE -INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/inc) -SET(PACKAGE "${PROJECT_NAME}") -SET(RESOURCE_DIR "${CMAKE_SOURCE_DIR}/res") -SET(EDJDIR "${RESOURCE_DIR}/edje/${PACKAGE}") -SET(ICONDIR "/usr/share/icons/") - -INCLUDE(FindPkgConfig) -pkg_check_modules(pkgs REQUIRED - appcore-efl - evas - edje - elementary - ecore - eina - efl-extension - capi-appfw-application - capi-system-info - capi-system-system-settings - capi-appfw-package-manager - capi-appfw-app-manager - dlog - pkgmgr-info - rua - feedback -) - -SET(PREFIX ${CMAKE_INSTALL_PREFIX}) -SET(RESDIR "${PREFIX}/res") -SET(EDJEDIR "${RESDIR}/edje") -SET(LOCALEDIR "${RESDIR}/locale") - -FOREACH(flag ${pkgs_CFLAGS}) - SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}") -ENDFOREACH(flag) - -SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -fPIE") -SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${EXTRA_CFLAGS} -fPIE") - -SET(CMAKE_C_FLAGS_PROFILING "-O0 -g -pg -fPIE") -SET(CMAKE_CXX_FLAGS_PROFILING "-O0 -std=c++0x -g -pg -fPIE") -SET(CMAKE_C_FLAGS_DEBUG "-O0 -g -fPIE") -SET(CMAKE_CXX_FLAGS_DEBUG "-O0 -std=c++0x -g -fPIE") -SET(CMAKE_C_FLAGS_RELEASE "-O2 -g -fPIE") -SET(CMAKE_CXX_FLAGS_RELEASE "-O2 -std=c++0x -g -fPIE") -SET(CMAKE_C_FLAGS_CCOV "-O2 -g --coverage -fPIE") -SET(CMAKE_CXX_FLAGS_CCOV "-O2 -std=c++0x -g --coverage -fPIE") - -SET(CMAKE_EXE_LINKER_FLAGS "-Wl,--as-needed -pie") - -MESSAGE(${CMAKE_C_FLAGS}) - -ADD_DEFINITIONS("-DEDJEDIR=\"${EDJEDIR}\"") -ADD_DEFINITIONS("-DLOCALEDIR=\"${LOCALEDIR}\"") - -ADD_EXECUTABLE(${PROJECT_NAME} ${SRCS}) - -TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${pkgs_LDFLAGS}) - -# Install -INSTALL(TARGETS ${PROJECT_NAME} DESTINATION bin) - -#Install images -INSTALL(DIRECTORY res/edje/images/ DESTINATION res/edje/images) - -# install icon file -#INSTALL(FILES ${CMAKE_BINARY_DIR}/org.tizen.timer.xml DESTINATION /usr/share/packages) -INSTALL(FILES ${RESOURCE_DIR}/icon/org.tizen.timer.png DESTINATION ${ICONDIR}) - -# Install Manifest File -INSTALL(FILES data/org.tizen.timer.xml DESTINATION /usr/share/packages) -# End of a file -ADD_SUBDIRECTORY(res) diff --git a/data/org.tizen.timer.xml b/data/org.tizen.timer.xml deleted file mode 100644 index 509a761..0000000 --- a/data/org.tizen.timer.xml +++ /dev/null @@ -1,9 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<manifest xmlns="http://tizen.org/ns/packages" api-version="2.4" package="org.tizen.timer" version="1.0.0"> - <profile name="wearable"/> - <ui-application appid="org.tizen.timer" exec="timer" multiple="false" nodisplay="false" taskmanage="true" type="capp"> - <label>Timer</label> - <icon>org.tizen.timer.png</icon> - </ui-application> -</manifest> - diff --git a/org.tizen.timer.manifest b/org.tizen.timer.manifest deleted file mode 100644 index c5f8bda..0000000 --- a/org.tizen.timer.manifest +++ /dev/null @@ -1,11 +0,0 @@ -<manifest> - <define> - <domain name="org.tizen.timer" /> - </define> - <request> - <domain name="org.tizen.timer" /> - </request> - <assign> - <filesystem path="/usr/apps/org.tizen.timer/bin/timer" label="org.tizen.timer" exec_label="org.tizen.timer" /> - </assign> -</manifest> diff --git a/packaging/org.tizen.timer.spec b/packaging/org.tizen.timer.spec deleted file mode 100644 index bd7ccbf..0000000 --- a/packaging/org.tizen.timer.spec +++ /dev/null @@ -1,68 +0,0 @@ -%define Exec timer -%define AppInstallPath /usr/apps/%{name} - -Name: org.tizen.timer -Summary: Timer application -Version: 0.0.1 -Release: 1 -License: Apache-2.0 -Source0: %{name}-%{version}.tar.gz - -%if "%{?tizen_profile_name}" == "wearable" -ExcludeArch: %{arm} %ix86 x86_64 -%endif - -%if "%{?tizen_profile_name}" == "tv" -ExcludeArch: %{arm} %ix86 x86_64 -%endif - -BuildRequires: pkgconfig(appcore-efl) -BuildRequires: pkgconfig(capi-appfw-application) -BuildRequires: pkgconfig(ecore) -BuildRequires: pkgconfig(eina) -BuildRequires: pkgconfig(evas) -BuildRequires: pkgconfig(edje) -BuildRequires: edje-tools -BuildRequires: gettext-tools -BuildRequires: pkgconfig(dlog) -BuildRequires: pkgconfig(elementary) -BuildRequires: pkgconfig(efl-extension) -BuildRequires: pkgconfig(capi-system-info) -BuildRequires: pkgconfig(capi-system-system-settings) -BuildRequires: pkgconfig(capi-appfw-package-manager) -BuildRequires: pkgconfig(capi-appfw-app-manager) -BuildRequires: cmake -BuildRequires: pkgconfig(pkgmgr-info) -BuildRequires: pkgconfig(rua) -BuildRequires: pkgconfig(feedback) - -%description -Timer application. - -%prep -%setup -q - -%build -export CFLAGS="$CFLAGS -DTIZEN_DEBUG_ENABLE" -export CXXFLAGS="$CXXFLAGS -DTIZEN_DEBUG_ENABLE" -export FFLAGS="$FFLAGS -DTIZEN_DEBUG_ENABLE" - -cmake . -DCMAKE_INSTALL_PREFIX="%{AppInstallPath}" -DCMAKE_TARGET="%{Exec}" -DCMAKE_PACKAGE="%{name}" -make %{?jobs:-j%jobs} - -%install -rm -rf %{buildroot} -%make_install - -%post -/sbin/ldconfig - -%postun -p /sbin/ldconfig - -%files -%manifest %{name}.manifest -%defattr(-,root,root,-) -%{AppInstallPath}/bin/timer -%{AppInstallPath}/res/* -%{_datarootdir}/packages/%{name}.xml -/usr/share/icons/org.tizen.timer.png diff --git a/res/CMakeLists.txt b/res/CMakeLists.txt deleted file mode 100644 index 7dae144..0000000 --- a/res/CMakeLists.txt +++ /dev/null @@ -1,3 +0,0 @@ -ADD_SUBDIRECTORY(edje) -#ADD_SUBDIRECTORY(images) -#ADD_SUBDIRECTORY(po) |