From d0e99074084dae94a85c57c672f72423a1baf8c9 Mon Sep 17 00:00:00 2001 From: Jaewon Lim Date: Thu, 27 Sep 2012 18:29:28 +0900 Subject: [PATCH] [Title] add branding file for profiler [Type] support [Module] profiler eplugin [Priority] major [Jira#] [Redmine#] [Problem] [Cause] [Solution] [TestCase] --- org.tizen.profiler.branding/.project | 22 ++ org.tizen.profiler.branding/32_TIZEN_SDK_icon.png | Bin 0 -> 5237 bytes org.tizen.profiler.branding/META-INF/MANIFEST.MF | 6 + org.tizen.profiler.branding/about.ini | 32 +++ org.tizen.profiler.branding/about.mappings | 6 + org.tizen.profiler.branding/about.properties | 12 + org.tizen.profiler.branding/build.properties | 5 + org.tizen.profiler.feature/feature.xml | 8 +- package/build.linux | 300 ++-------------------- package/pkginfo.manifest | 12 +- 10 files changed, 114 insertions(+), 289 deletions(-) create mode 100644 org.tizen.profiler.branding/.project create mode 100644 org.tizen.profiler.branding/32_TIZEN_SDK_icon.png create mode 100644 org.tizen.profiler.branding/META-INF/MANIFEST.MF create mode 100644 org.tizen.profiler.branding/about.ini create mode 100644 org.tizen.profiler.branding/about.mappings create mode 100644 org.tizen.profiler.branding/about.properties create mode 100644 org.tizen.profiler.branding/build.properties diff --git a/org.tizen.profiler.branding/.project b/org.tizen.profiler.branding/.project new file mode 100644 index 0000000..a53f985 --- /dev/null +++ b/org.tizen.profiler.branding/.project @@ -0,0 +1,22 @@ + + + org.tizen.profiler.branding + + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + + org.eclipse.pde.PluginNature + + diff --git a/org.tizen.profiler.branding/32_TIZEN_SDK_icon.png b/org.tizen.profiler.branding/32_TIZEN_SDK_icon.png new file mode 100644 index 0000000000000000000000000000000000000000..e511542448507bed8ee26b1cd206f3f751eae4c5 GIT binary patch literal 5237 zcmV-*6pHJKP)KLZ*U+IBfRsybQWXdwQbLP>6pAqfylh#{fb6;Z(vMMVS~$e@S=j*ftg6;Uhf59&ghTmgWD0l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j#8p8xj%C?k-D*)bO700000NkvXXu0mjfL literal 0 HcmV?d00001 diff --git a/org.tizen.profiler.branding/META-INF/MANIFEST.MF b/org.tizen.profiler.branding/META-INF/MANIFEST.MF new file mode 100644 index 0000000..eb318d9 --- /dev/null +++ b/org.tizen.profiler.branding/META-INF/MANIFEST.MF @@ -0,0 +1,6 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: Tizen SDK Profiling Tools +Bundle-SymbolicName: org.tizen.profiler.branding +Bundle-Version: 1.0.0.qualifier +Bundle-Vendor: Tizen SDK diff --git a/org.tizen.profiler.branding/about.ini b/org.tizen.profiler.branding/about.ini new file mode 100644 index 0000000..fc8fa16 --- /dev/null +++ b/org.tizen.profiler.branding/about.ini @@ -0,0 +1,32 @@ +# about.ini +# contains information about a feature +# java.io.Properties file (ISO 8859-1 with "\" escapes) +# "%key" are externalized strings defined in about.properties +# This file does not need to be translated. + +# Property "aboutText" contains blurb for "About" dialog (translated) +aboutText=%blurb + +# Property "windowImage" contains path to window icon (16x16) +# needed for primary features only + +# Property "featureImage" contains path to feature image (32x32) +featureImage=32_TIZEN_SDK_icon.png + +# Property "aboutImage" contains path to product image (500x330 or 115x164) +# needed for primary features only + +# Property "appName" contains name of the application (translated) +# needed for primary features only + +# Property "welcomePage" contains path to welcome page (special XML-based format) +# welcomePage=$nl$/welcome.xml + +# Property "welcomePerspective" contains the id of the perspective in which the +# welcome page is to be opened. +# optional + +# Property "tipsAndTricksHref" contains the Help topic href to a tips and tricks page +# optional +# tipsAndTricksHref=/org.tizen.doc.user/tips/tizen_tips.htm + diff --git a/org.tizen.profiler.branding/about.mappings b/org.tizen.profiler.branding/about.mappings new file mode 100644 index 0000000..bd5dc17 --- /dev/null +++ b/org.tizen.profiler.branding/about.mappings @@ -0,0 +1,6 @@ +# about.mappings +# contains fill-ins for about.properties and bundle.properties +# java.io.Properties file (ISO 8859-1 with "\" escapes) +# This file does not need to be translated. +0=Tzen SDK Profiling Tools +1=date-time diff --git a/org.tizen.profiler.branding/about.properties b/org.tizen.profiler.branding/about.properties new file mode 100644 index 0000000..5c2e80a --- /dev/null +++ b/org.tizen.profiler.branding/about.properties @@ -0,0 +1,12 @@ +# about.properties +# contains externalized strings for about.ini +# java.io.Properties file (ISO 8859-1 with "\" escapes) +# fill-ins are supplied by about.mappings +# This file should be translated. + +blurb={0}\n\ +\n\ +Version : {featureVersion}\n\ +Build id : {1}\n\ +\n\ +Visit https://developer.tizen.org \n \ No newline at end of file diff --git a/org.tizen.profiler.branding/build.properties b/org.tizen.profiler.branding/build.properties new file mode 100644 index 0000000..3672726 --- /dev/null +++ b/org.tizen.profiler.branding/build.properties @@ -0,0 +1,5 @@ +bin.includes = META-INF/,\ + about.ini,\ + about.mappings,\ + about.properties,\ + 32_TIZEN_SDK_icon.png diff --git a/org.tizen.profiler.feature/feature.xml b/org.tizen.profiler.feature/feature.xml index 1ab302c..e26e6dd 100644 --- a/org.tizen.profiler.feature/feature.xml +++ b/org.tizen.profiler.feature/feature.xml @@ -4,7 +4,7 @@ label="%featureName" version="1.0.0.qualifier" provider-name="%providerName" - plugin="org.tizen.base.platform" + plugin="org.tizen.profiler.branding" license-feature="org.tizen.base.feature"> @@ -149,4 +149,10 @@ version="0.0.0" unpack="false"/> + + diff --git a/package/build.linux b/package/build.linux index dfaf4a8..7bca81c 100755 --- a/package/build.linux +++ b/package/build.linux @@ -1,294 +1,25 @@ -#!/bin/bash -x - -build_path=${SRCDIR}/build_result -build_time=`date +%Y%m%d-%H%M` - -__set_parameter() -{ - build_id=${package_name} - build_type=N - build_result_directory=${build_type}.${build_id} - build_result_path="$build_path/$build_result_directory" - ide_root_path_name=ide - - case ${platform} in - ubuntu-32) - archive_platform_name=linux - windowing=gtk - architecture=x86 - os=linux - ;; - windows-32) - archive_platform_name=win32 - windowing=win32 - architecture=x86 - os=windows - ;; - ubuntu-64) - archive_platform_name=linux - windowing=gtk - architecture=x86_64 - os=linux - ;; - windows-64) - archive_platform_name=win32 - windowing=win32 - architecture=x86_64 - os=windows - ;; - macos-64) - archive_platform_name=macosx - windowing=cocoa - architecture=x86_64 - os=macos - ;; - *) - echo "${platform} is not support yet." - ;; - esac - - result_archive_file=${build_id}-${archive_platform_name}.${windowing}.${architecture}.zip -} - -__set_build_parameter() -{ - manifest_version=`grep Version: ${SRCDIR}/package/pkginfo.manifest | cut -f2 -d":" | head -n 1` - - - - - case ${platform} in - ubuntu-32|ubuntu-64) - reference_ide_path=${ROOTDIR}/indigo-pde/eclipse - ;; - windows-32|windows-64) - reference_ide_path=${ROOTDIR}/indigo-winpde/eclipse - ;; - macos-64) - reference_ide_path=${ROOTDIR}/indigo-macpde/eclipse - ;; - *) - echo "${platform} is not support yet." - ;; - esac -} - -__set_install_parameter() -{ - INSTALL_DIR=${SRCDIR}/package/${package_name}.package.${platform}/data -} - -__clean_build_environment() -{ - if [ -d $build_path ] - then - echo "Build result directory : [$build_path]" - else - echo "Make build result directory [$build_path]" - mkdir -p $build_path - fi - - echo "Remove legacy build files..." - if [ -d ${build_result_path}/${archive_platform_name}.${windowing}.${architecture} ] - then - rm -rf ${build_result_path}/${archive_platform_name}.${windowing}.${architecture} - fi - if [ -e ${build_result_path}/${result_archive_file} ] - then - rm -rf ${build_result_path}/${result_archive_file} - fi - if [ -d ${build_path}/tmp ] - then - rm -rf ${build_path}/tmp - fi - - if [ -d ${build_path}/buildRepo ] - then - rm -rf ${build_path}/buildRepo - fi - - rm -rf ${build_path}/*.xml - rm -rf ${build_path}/*.properties - rm -rf ${build_path}/*.clean - - - if [ -d $build_path/plugins ] - then - echo "plugins directory recreate..." - rm -rf $build_path/plugins - mkdir $build_path/plugins - else - echo "Make plugins directory..." - mkdir $build_path/plugins - fi - if [ -d $build_path/features/ ] - then - echo "features directory recreate..." - rm -rf $build_path/features - mkdir $build_path/features - else - echo "Make features directory..." - mkdir $build_path/features - fi - -} - -__copy_build_sources() -{ - echo "Copy features from $SRCDIR to $build_path/features" - temp_dir="`mktemp -d /tmp/ide.XXXXX`" - cp -r ${SRCDIR}/* $temp_dir - cp -r $temp_dir/* $build_path/features - rm -rf $temp_dir - - echo "Copy plugins from $SRCDIR to $build_path/plugins" - temp_dir="`mktemp -d /tmp/ide.XXXXX`" - cp -r $SRCDIR/* $temp_dir - cp -r $temp_dir/* $build_path/plugins -# rm -rf $build_path/plugins/*.feature - rm -rf $temp_dir -} - -__copy_dependency_plugins() -{ - dependency_plugin_path=${ROOTDIR}/${ide_root_path_name} - if [ -d ${dependency_plugin_path} ] - then - cp -rf ${dependency_plugin_path}/features/* ${build_path}/features/ - cp -rf ${dependency_plugin_path}/plugins/* ${build_path}/plugins/ - fi -} - -__make_ant_build_properties_file() -{ - builder_path="${SRCDIR}/builder" - parent_path_of_based_eclipse=${reference_ide_path}/.. - - echo "Make build.properties file..." - if [ ! -e $builder_path/build.properties.clean ] ; then - echo "ERROR : \"build.properties.clean\" file does not exist..." - exit 1 - fi - cp $builder_path/build.properties.clean $build_path - cp $builder_path/customTargets.xml $build_path - - if [ -d $reference_ide_path ] - then - sed -e "s;\(^buildDirectory=\).*;\1${build_path};g" \ - -e "s;\(^base=\).*;\1${parent_path_of_based_eclipse};g" \ - -e "s;\(^baseLocation=\).*;\1${reference_ide_path};g" \ - -e "s;\(^configs=\).*;\1${archive_platform_name},${windowing},${architecture};g" \ - -e "s;\(^buildType=\).*;\1${build_type};g" \ - -e "s;\(^buildId=\).*;\1${build_id};g" \ - -e "s;\(^archivePrefix=\).*;\1${build_id};g" \ - < $build_path/build.properties.clean > $build_path/build.properties - - else - echo "ERROR : target eclipse is not exist." - exit 1 - fi -} - -__execute_pde_build() -{ - echo "Execute Product Ant Builder..." - equinox_launcher=`echo org.eclipse.equinox.launcher_*.jar` - pde_build=`echo org.eclipse.pde.build_*` - - java -server -XX:+UseParNewGC -jar ${reference_ide_path}/plugins/$equinox_launcher -application org.eclipse.ant.core.antRunner -buildfile ${reference_ide_path}/plugins/$pde_build/scripts/productBuild/productBuild.xml -Dbuilder=$build_path -Dosgi.locking=none 2>&1 - - if [ $? != 0 ]; - then - echo "Build failed..." - exit 1 - fi -} - -__unzip_plugin_pack() -{ - echo "unzip to $build_result_path" - unzip -a $build_result_path/${result_archive_file} -d $build_result_path/${archive_platform_name}.${windowing}.${architecture} -} - -build_plugins() -{ - case ${platform} in - ubuntu-32|ubuntu-64) - echo "build plugin for ${platform}" - ;; - windows-32|windows-64) - echo "build plugin for ${platform}" - ;; - macos-64) - echo "build plugin for ${platform}" - ;; - *) - echo "${platform} is not support yet." - exit 1 - ;; - esac - - __set_parameter - __set_build_parameter - __clean_build_environment - __copy_build_sources - __copy_dependency_plugins - __make_ant_build_properties_file - __execute_pde_build - __unzip_plugin_pack - - echo "Build SUCCESS. You will find SDK IDE in \"${build_result_path}\"." -} - -__clean_packaging_environment() -{ - - if [ -d ${INSTALL_DIR} ] - then - rm -rf ${INSTALL_DIR} - else - mkdir -p ${INSTALL_DIR} - fi -} +#!/bin/bash -xe __copy_necessary_binaries() { - ## 패키징시 필요한 파일이 있으면 여기에 구현하시면 됩니다. - ## 파일을 복사할 위치는 ${INSTALL_DIR} 아래에 원하는 위치로 지정하시면 됩니다. - ## INSTALL_DIR의 값은 "${git repository 위치}/package/${package_name}.package.${platform}/data" 로 되어있습니다. - ## ex) cp -rf ~~~~/file.file ${INSTALL_DIR}/${ide_root_path_name}/ + echo "add necessary files" - builder_data_path="${SRCDIR}/builder/metadata/data" - cp -rf ${builder_data_path}/* ${INSTALL_DIR}/ - - echo "add necessary files." +# builder_data_path="${SRCDIR}/builder/metadata/data" +# cp -rf ${builder_data_path}/* ${INSTALL_DIR}/ } -packaging_plugins() +__set_parameter() { - __set_parameter - __set_install_parameter - - __clean_packaging_environment - __copy_necessary_binaries - - install_ide_path=${INSTALL_DIR}/${ide_root_path_name} - - if [ ! -d ${install_ide_path} ] - then - mkdir -p ${install_ide_path} - fi - - cp -rf ${build_result_path}/${archive_platform_name}.${windowing}.${architecture}/${package_name}/* ${install_ide_path}/ + echo "TARGET OS : ${TARGET_OS}" + build_script_path=${ROOTDIR}/pde-build } # clean clean() { echo "=========================================CLEAN============================================" - rm -rf ${SRCDIR}/*.zip - rm -rf ${SRCDIR}/*.tar.gz - rm -rf ${build_path} + __set_parameter + ${build_script_path}/clean.sh ${package_name} } # build @@ -302,9 +33,10 @@ build() package_name=`echo ${pkgname_and_platform} | cut -f1 -d " " | cut -f2 -d ":"` platform=`echo ${pkgname_and_platform} | cut -f2 -d " " | cut -f2 -d ":"` - if [ "x${BUILD_TARGET_OS}" = "x${platform}" ] + if [ "x${TARGET_OS}" = "x${platform}" ] then - build_plugins + __set_parameter + ${build_script_path}/build.sh ${package_name} else echo "" fi @@ -322,9 +54,13 @@ install() package_name=`echo ${pkgname_and_platform} | cut -f1 -d " " | cut -f2 -d ":"` platform=`echo ${pkgname_and_platform} | cut -f2 -d " " | cut -f2 -d ":"` - if [ "x${BUILD_TARGET_OS}" = "x${platform}" ] + if [ "x${TARGET_OS}" = "x${platform}" ] then - packaging_plugins + __set_parameter + INSTALL_DIR=${SRCDIR}/package/${package_name}.package.${TARGET_OS}/data + mkdir -p ${INSTALL_DIR} + __copy_necessary_binaries + ${build_script_path}/install.sh ${package_name} else echo "" fi diff --git a/package/pkginfo.manifest b/package/pkginfo.manifest index 0e7a480..9c5af2b 100644 --- a/package/pkginfo.manifest +++ b/package/pkginfo.manifest @@ -1,5 +1,5 @@ Source:profiler-eplugin -Version:0.2.15 +Version:0.2.16 Maintainer:Jaewon Lim , Juyoung Kim Package:profiler-eplugin @@ -7,32 +7,32 @@ OS:ubuntu-32 Build-host-os:ubuntu-32 Description:Profiler plugin Install-dependency:base-ide-product [ubuntu-32], common-eplugin [ubuntu-32], nativecommon-eplugin [ubuntu-32] -Build-dependency:indigo-pde [ubuntu-32], common-eplugin [ubuntu-32], nativecpp-eplugin [ubuntu-32], nativecommon-eplugin [ubuntu-32] +Build-dependency:pde-build [ubuntu-32], common-eplugin [ubuntu-32], nativecpp-eplugin [ubuntu-32], nativecommon-eplugin [ubuntu-32] Package:profiler-eplugin OS:windows-32 Build-host-os:ubuntu-32 Description:Profiler plugin Install-dependency:base-ide-product [windows-32], common-eplugin [windows-32], nativecommon-eplugin [windows-32] -Build-dependency:indigo-winpde [windows-32], common-eplugin [windows-32], nativecpp-eplugin [windows-32], nativecommon-eplugin [windows-32] +Build-dependency:pde-build [windows-32], common-eplugin [windows-32], nativecpp-eplugin [windows-32], nativecommon-eplugin [windows-32] Package:profiler-eplugin OS:ubuntu-64 Build-host-os:ubuntu-64 Description:Profiler plugin Install-dependency:base-ide-product [ubuntu-64], common-eplugin [ubuntu-64], nativecommon-eplugin [ubuntu-64] -Build-dependency:indigo-pde [ubuntu-64], common-eplugin [ubuntu-64], nativecpp-eplugin [ubuntu-64], nativecommon-eplugin [ubuntu-64] +Build-dependency:pde-build [ubuntu-64], common-eplugin [ubuntu-64], nativecpp-eplugin [ubuntu-64], nativecommon-eplugin [ubuntu-64] Package:profiler-eplugin OS:windows-64 Build-host-os:ubuntu-64 Description:Profiler plugin Install-dependency:base-ide-product [windows-64], common-eplugin [windows-64], nativecommon-eplugin [windows-64] -Build-dependency:indigo-winpde [windows-64], common-eplugin [windows-64], nativecpp-eplugin [windows-64], nativecommon-eplugin [windows-64] +Build-dependency:pde-build [windows-64], common-eplugin [windows-64], nativecpp-eplugin [windows-64], nativecommon-eplugin [windows-64] Package:profiler-eplugin OS:macos-64 Build-host-os:ubuntu-64 Description:Profiler plugin Install-dependency:base-ide-product [macos-64], common-eplugin [macos-64], nativecommon-eplugin [macos-64] -Build-dependency:indigo-macpde [macos-64], common-eplugin [macos-64], nativecpp-eplugin [macos-64], nativecommon-eplugin [macos-64] +Build-dependency:pde-build [macos-64], common-eplugin [macos-64], nativecpp-eplugin [macos-64], nativecommon-eplugin [macos-64] -- 2.7.4