diff options
author | taeyoung2.son <taeyoung2.son@samsung.com> | 2011-11-22 23:17:57 +0900 |
---|---|---|
committer | taeyoung2.son <taeyoung2.son@samsung.com> | 2011-11-22 23:17:57 +0900 |
commit | 32de249a66669505fccfb362456458e1ff8cc4c6 (patch) | |
tree | 4063f31d154c688e873a36d3518edc48869e4849 | |
parent | fb88b64f5d732ad54a900412fb4a11e85e7b503c (diff) | |
download | common-eplugin-32de249a66669505fccfb362456458e1ff8cc4c6.tar.gz common-eplugin-32de249a66669505fccfb362456458e1ff8cc4c6.tar.bz2 common-eplugin-32de249a66669505fccfb362456458e1ff8cc4c6.zip |
[Title] Modify IDE path from SLPIDE to NativeIDE
[Type] Feature
[Module] Sub
[Priority] Minor
[CQ#]
[Redmine#]
[Problem]
[Cause]
[Solution]
-rw-r--r-- | builder/build.properties.product.clean | 2 | ||||
-rwxr-xr-x | packager/linux/install.sh | 22 | ||||
-rwxr-xr-x | packager/linux/remove.sh | 4 | ||||
-rwxr-xr-x | packager/linux/samsung_device_setup.sh | 1 | ||||
-rw-r--r-- | packager/windows/install.bat | 8 | ||||
-rw-r--r-- | 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 c03c3eb1c..456786909 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 e27df4c73..3816b545a 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 39f54207d..e98d06dd1 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 a0689b240..d95b204aa 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 8f20b4d12..6049532f5 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 b3662c360..01e7fdaf1 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 |