From 32de249a66669505fccfb362456458e1ff8cc4c6 Mon Sep 17 00:00:00 2001 From: "taeyoung2.son" Date: Tue, 22 Nov 2011 23:17:57 +0900 Subject: [PATCH] [Title] Modify IDE path from SLPIDE to NativeIDE [Type] Feature [Module] Sub [Priority] Minor [CQ#] [Redmine#] [Problem] [Cause] [Solution] --- builder/build.properties.product.clean | 2 +- packager/linux/install.sh | 22 +++++++++++----------- packager/linux/remove.sh | 4 ++-- packager/linux/samsung_device_setup.sh | 1 - packager/windows/install.bat | 8 ++++---- packager/windows/remove.bat | 4 ++-- 6 files changed, 20 insertions(+), 21 deletions(-) diff --git a/builder/build.properties.product.clean b/builder/build.properties.product.clean index c03c3eb..4567869 100644 --- a/builder/build.properties.product.clean +++ b/builder/build.properties.product.clean @@ -31,7 +31,7 @@ runPackager=true #archiveNamePrefix= # The prefix that will be used in the generated archive. -archivePrefix=SLPIDE +archivePrefix=NativeIDE # The location underwhich all of the build output will be collected. collectingFolder=${archivePrefix} diff --git a/packager/linux/install.sh b/packager/linux/install.sh index e27df4c..3816b54 100755 --- a/packager/linux/install.sh +++ b/packager/linux/install.sh @@ -3,15 +3,15 @@ currentPath=`pwd` desktopfile=${HOME}/.local/share/applications/samsung-sdk-ide.desktop iconfile=samsung-sdk-ide.ico -ide_path=SLPIDE +ide_path=NativeIDE exefile=startup.sh -comment="The IDE of Samsung Linux Platform SDK" -name="SLP IDE" +comment="The Native IDE of Tizen SDK" +name="Native IDE" ## Do not modify the followings (Make desktop menu) -SLP_SDK_INSTALL_PATH=${INSTALLED_PATH} -exepath=$SLP_SDK_INSTALL_PATH/${ide_path}/$exefile -ide_resources_path=${SLP_SDK_INSTALL_PATH}/${ide_path}/resources +TIZEN_SDK_INSTALL_PATH=${INSTALLED_PATH} +exepath=$TIZEN_SDK_INSTALL_PATH/${ide_path}/$exefile +ide_resources_path=${TIZEN_SDK_INSTALL_PATH}/${ide_path}/resources ide_tools_path=${ide_resources_path}/tools ide_icons_path=${ide_resources_path}/icons @@ -64,7 +64,7 @@ samsung_udev="99-samsung-device.rules" device_rules_path="/etc/udev/rules.d" -sed "s|SLP_IDE_INSTALL_PATH|${ide_tools_path}|g" $ide_tools_path/${samsung_udev} > $ide_tools_path/${samsung_udev}.bak +sed "s|TIZEN_IDE_INSTALL_PATH|${ide_tools_path}|g" $ide_tools_path/${samsung_udev} > $ide_tools_path/${samsung_udev}.bak mv $ide_tools_path/${samsung_udev}.bak $ide_tools_path/${samsung_udev} if [ -e ${device_rules_path}/${samsung_udev} ] @@ -73,11 +73,11 @@ then if [ $diffcnt -ne 0 ] then - chmod +x ${SLP_SDK_INSTALL_PATH}/temp/samsung_device_setup.sh - gksudo "${SLP_SDK_INSTALL_PATH}/temp/samsung_device_setup.sh ${HOME} ${ide_tools_path} ${samsung_udev}" + chmod +x ${TIZEN_SDK_INSTALL_PATH}/temp/samsung_device_setup.sh + gksudo "${TIZEN_SDK_INSTALL_PATH}/temp/samsung_device_setup.sh ${HOME} ${ide_tools_path} ${samsung_udev}" fi else - chmod +x ${SLP_SDK_INSTALL_PATH}/temp/samsung_device_setup.sh - gksudo "${SLP_SDK_INSTALL_PATH}/temp/samsung_device_setup.sh ${HOME} ${ide_tools_path} ${samsung_udev}" + chmod +x ${TIZEN_SDK_INSTALL_PATH}/temp/samsung_device_setup.sh + gksudo "${TIZEN_SDK_INSTALL_PATH}/temp/samsung_device_setup.sh ${HOME} ${ide_tools_path} ${samsung_udev}" fi diff --git a/packager/linux/remove.sh b/packager/linux/remove.sh index 39f5420..e98d06d 100755 --- a/packager/linux/remove.sh +++ b/packager/linux/remove.sh @@ -4,10 +4,10 @@ xdg-desktop-menu uninstall samsung-sdk_menu.directory samsung-sdk-ide.desktop ### END Register Menu ### ## Remove auto creating files -ide_path=SLPIDE +ide_path=NativeIDE rm -rf ${INSTALLED_PATH}/${ide_path}/p2 -# Remove SLP Font +# Remove Tizen Font # ${INSTALLED_PATH}/${ide_path}/resources/tools/install_slpfont.sh uninstall ### End ### diff --git a/packager/linux/samsung_device_setup.sh b/packager/linux/samsung_device_setup.sh index a0689b2..d95b204 100755 --- a/packager/linux/samsung_device_setup.sh +++ b/packager/linux/samsung_device_setup.sh @@ -2,7 +2,6 @@ user_home=$1 ide_config_path=$2 samsung_udev=$3 -SLP_SDK_INSTALL_PATH=${INSTALLED_PATH} rules_path="/etc/udev/rules.d" cp $ide_config_path/$samsung_udev ${rules_path}/$samsung_udev diff --git a/packager/windows/install.bat b/packager/windows/install.bat index 8f20b4d..6049532 100644 --- a/packager/windows/install.bat +++ b/packager/windows/install.bat @@ -1,9 +1,9 @@ @ECHO OFF -set shortcut_name=SLP IDE -set execute_file=SLPIDE.exe +set shortcut_name=Tizen IDE +set execute_file=NativeIDE.exe set icon_file=samsung-sdk-ide.ico set font_file=EcoSansMonoBD_110929.ttf -set program_path=%INSTALLED_PATH%\SLPIDE +set program_path=%INSTALLED_PATH%\NativeIDE set execute_path=%program_path%\%execute_file% set icon_path=%program_path%\resources\icons set font_path=%program_path%\resources\fonts @@ -15,7 +15,7 @@ echo Setting shortcut... wscript.exe "%MAKESHORTCUT_PATH%" /shortcut:"%start_menu_programs_path%\Samsung Linux Platform\%shortcut_name%" /target:"%execute_path%\%icon_file%" /icon:"%icon_path%" echo Make shortcut success. -:: Install SLP font +:: Install Tizen font :: copy %font_path%\%font_file% %HOMEDRIVE%\Windows\Fonts exit 0 diff --git a/packager/windows/remove.bat b/packager/windows/remove.bat index b3662c3..01e7fda 100644 --- a/packager/windows/remove.bat +++ b/packager/windows/remove.bat @@ -1,12 +1,12 @@ @echo off -set shortcut_name=SLP IDE +set shortcut_name=Native IDE :: delims is a TAB followed by a space FOR /F "tokens=2* delims= " %%A IN ('reg query "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v Programs') DO SET start_menu_programs_path=%%B rm -r -f "%start_menu_programs_path%\Samsung Linux Platform\%shortcut_name%.lnk" -:: Uninstall SLP font +:: Uninstall Tizen font :: del %HOMEDRIVE%\Windows\Fonts\unnamed.ttf -- 2.7.4