diff options
author | Seunghwan Lee <sh.cat.lee@samsung.com> | 2017-03-02 15:58:57 +0900 |
---|---|---|
committer | Seunghwan Lee <sh.cat.lee@samsung.com> | 2017-03-02 16:03:39 +0900 |
commit | cc5fc2f06ebd31e5c6836461da4a4593296ebcfe (patch) | |
tree | 157170335042a504d1b3f5be358675db8067fc58 | |
parent | 60b4993c438374fe08b828454a497275df0c3638 (diff) | |
download | rootstrap-cc5fc2f06ebd31e5c6836461da4a4593296ebcfe.tar.gz rootstrap-cc5fc2f06ebd31e5c6836461da4a4593296ebcfe.tar.bz2 rootstrap-cc5fc2f06ebd31e5c6836461da4a4593296ebcfe.zip |
mobile-4.0 package enable
Change-Id: Ie73da4a85a59102459f7489151d5d980d7b3671b
Signed-off-by: Seunghwan Lee <sh.cat.lee@samsung.com>
-rwxr-xr-x | package/build.linux | 128 | ||||
-rw-r--r-- | package/changelog | 4 | ||||
-rwxr-xr-x | package/mobile-3.0-rs-device.core.install.linux | 4 | ||||
-rwxr-xr-x | package/mobile-3.0-rs-device.core.remove.linux | 3 | ||||
-rwxr-xr-x | package/mobile-3.0-rs-emulator.core.install.linux | 4 | ||||
-rwxr-xr-x | package/mobile-3.0-rs-emulator.core.remove.linux | 3 | ||||
-rw-r--r-- | package/pkginfo.manifest | 22 | ||||
-rwxr-xr-x | package/pkginfo.manifest.local | 26 | ||||
-rw-r--r-- | package/pkginfo.manifest_64 | 22 | ||||
-rw-r--r-- | package_private/pkginfo.manifest | 2 | ||||
-rw-r--r-- | package_private/pkginfo.manifest_64 | 2 | ||||
-rw-r--r-- | rs-config | 2 |
12 files changed, 25 insertions, 197 deletions
diff --git a/package/build.linux b/package/build.linux deleted file mode 100755 index 9b0bd00..0000000 --- a/package/build.linux +++ /dev/null @@ -1,128 +0,0 @@ -#!/bin/sh -xe - -ROOTSTRAPS_DIR=data/platforms/tizen-3.0/mobile/rootstraps -PLUGINS_DIR=data/tools/smart-build-interface/plugins - -NAME_DEV=mobile-3.0-device.core -IMG_PATH_DEV=tizen-device-3.0 -PKG_NAME_DEV=mobile-3.0-rs-device.core - -NAME_EMU=mobile-3.0-emulator.core -IMG_PATH_EMU=tizen-emulator-3.0 -PKG_NAME_EMU=mobile-3.0-rs-emulator.core - -DIR_PKG_RES="${SRCDIR}/.temp_pkg" -DIR_WORK="${SRCDIR}/.dibswork" - -# clean -clean() -{ - echo "clean..." - rm -rf $DIR_WORK - - rm -rf $SRCDIR/${PKG_NAME_DEV}_*_${TARGET_OS}.zip - rm -rf $SRCDIR/${PKG_NAME_EMU}_*_${TARGET_OS}.zip - rm -rf $SRCDIR/${NAME_DEV}.zip - rm -rf $SRCDIR/${NAME_EMU}.zip - - rm -rf $SRCDIR/.tmp - rm -rf $SRCDIR/.tmp_img.zip - - if [ "`echo ${TARGET_OS} | grep "windows"`" ] ; then - rm -rf $SRCDIR/$NAME_DEV/ - rm -rf $SRCDIR/$NAME_EMU/ - fi -} - - -extract_windows() -{ - NAME=$1 - IMG_PATH=$2 - - rm -rf $DIR_WORK/.tmp - rm -rf $DIR_WORK/.tmp_img.zip - - mkdir -p $DIR_WORK/.tmp - unzip $DIR_PKG_RES/$IMG_PATH.zip -d $DIR_WORK/.tmp - - cd $DIR_WORK/.tmp - zip -r ../.tmp_img.zip * - - mkdir -p $DIR_WORK/$NAME/ - unzip $DIR_WORK/.tmp_img.zip -d $DIR_WORK/$NAME/ - #remove so.x.x for reducing size on windows - find "$DIR_WORK/$NAME/usr" -name "*.so\.*" -exec rm -f {} \; -} - -# build -build() -{ - if [ -e ${DIR_WORK} ]; then - rm -rf ${DIR_WORK} - fi - mkdir -p ${DIR_WORK} - - if [ "`echo ${TARGET_OS} | grep "windows"`" ] ; then - extract_windows $NAME_DEV $IMG_PATH_DEV - extract_windows $NAME_EMU $IMG_PATH_EMU - else - cp $DIR_PKG_RES/$IMG_PATH_DEV.zip $DIR_WORK/$NAME_DEV.zip - cp $DIR_PKG_RES/$IMG_PATH_EMU.zip $DIR_WORK/$NAME_EMU.zip - fi - - cp $DIR_PKG_RES/$NAME_DEV*.xml $DIR_WORK - cp $DIR_PKG_RES/$NAME_DEV*.dev.xml $DIR_WORK - - cp $DIR_PKG_RES/$NAME_EMU*.xml $DIR_WORK - cp $DIR_PKG_RES/$NAME_EMU*.dev.xml $DIR_WORK -} - -install_unix() -{ - NAME=$1 - PKG_NAME=$2 - - INSTALL_DIR=$SRCDIR/package/${PKG_NAME}.package.${TARGET_OS} - mkdir -p $INSTALL_DIR/$PLUGINS_DIR - mkdir -p $INSTALL_DIR/$ROOTSTRAPS_DIR - mkdir -p $INSTALL_DIR/$ROOTSTRAPS_DIR/info - - cp $DIR_WORK/$NAME*.zip $INSTALL_DIR/$ROOTSTRAPS_DIR - cp $DIR_WORK/$NAME*.xml $INSTALL_DIR/$PLUGINS_DIR - cp $DIR_WORK/$NAME*.dev.xml $INSTALL_DIR/$ROOTSTRAPS_DIR/info/ - - rm $INSTALL_DIR/$PLUGINS_DIR/*.dev.xml - - sed -i 's/edje_cc.exe/edje_cc/g' $INSTALL_DIR/$PLUGINS_DIR/$NAME*.xml -} - -install_windows() -{ - NAME=$1 - PKG_NAME=$2 - - INSTALL_DIR=$SRCDIR/package/${PKG_NAME}.package.${TARGET_OS} - mkdir -p $INSTALL_DIR/$PLUGINS_DIR - mkdir -p $INSTALL_DIR/$ROOTSTRAPS_DIR/$NAME - mkdir -p $INSTALL_DIR/$ROOTSTRAPS_DIR/info - - mv $DIR_WORK/$NAME $INSTALL_DIR/$ROOTSTRAPS_DIR/ - cp $DIR_WORK/$NAME*.xml $INSTALL_DIR/$PLUGINS_DIR - cp $DIR_WORK/$NAME*.dev.xml $INSTALL_DIR/$ROOTSTRAPS_DIR/info/ - - rm $INSTALL_DIR/$PLUGINS_DIR/*.dev.xml -} - -# install -install() -{ - if [ ${TARGET_OS_CATEGORY} = "windows" ] ; then - install_windows $NAME_DEV $PKG_NAME_DEV - install_windows $NAME_EMU $PKG_NAME_EMU - else - install_unix $NAME_DEV $PKG_NAME_DEV - install_unix $NAME_EMU $PKG_NAME_EMU - fi -} -# No more script from here diff --git a/package/changelog b/package/changelog deleted file mode 100644 index 9b0e956..0000000 --- a/package/changelog +++ /dev/null @@ -1,4 +0,0 @@ -* 3.0.0 -emul_snapshot : -target_snapshot : -== Seunghwan Lee<sh.cat.lee@samsung.com> diff --git a/package/mobile-3.0-rs-device.core.install.linux b/package/mobile-3.0-rs-device.core.install.linux deleted file mode 100755 index da67e02..0000000 --- a/package/mobile-3.0-rs-device.core.install.linux +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -cd "${INSTALLED_PATH}"/platforms/tizen-3.0/mobile/rootstraps -mkdir mobile-3.0-device.core -unzip -o mobile-3.0-device.core.zip -d mobile-3.0-device.core diff --git a/package/mobile-3.0-rs-device.core.remove.linux b/package/mobile-3.0-rs-device.core.remove.linux deleted file mode 100755 index 24f7705..0000000 --- a/package/mobile-3.0-rs-device.core.remove.linux +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh -rm -rf "${INSTALLED_PATH}"/platforms/tizen-3.0/mobile/rootstraps/mobile-3.0-device.core -rm -rf "${INSTALLED_PATH}"/tools/smart-build-interface/plugins/mobile-3.0-device.core_* diff --git a/package/mobile-3.0-rs-emulator.core.install.linux b/package/mobile-3.0-rs-emulator.core.install.linux deleted file mode 100755 index f0bda96..0000000 --- a/package/mobile-3.0-rs-emulator.core.install.linux +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -cd "${INSTALLED_PATH}"/platforms/tizen-3.0/mobile/rootstraps -mkdir mobile-3.0-emulator.core -unzip -o mobile-3.0-emulator.core.zip -d mobile-3.0-emulator.core diff --git a/package/mobile-3.0-rs-emulator.core.remove.linux b/package/mobile-3.0-rs-emulator.core.remove.linux deleted file mode 100755 index e578149..0000000 --- a/package/mobile-3.0-rs-emulator.core.remove.linux +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh -rm -rf "${INSTALLED_PATH}"/platforms/tizen-3.0/mobile/rootstraps/mobile-3.0-emulator.core -rm -rf "${INSTALLED_PATH}"/tools/smart-build-interface/plugins/mobile-3.0-emulator.core_* diff --git a/package/pkginfo.manifest b/package/pkginfo.manifest index ae95b91..1361280 100644 --- a/package/pkginfo.manifest +++ b/package/pkginfo.manifest @@ -1,71 +1,71 @@ Source : core-app-rootstrap -Version : 3.0.185 +Version : 0.0.0 Maintainer : Seunghwan Lee <sh.cat.lee@samsung.com> -package : mobile-3.0-rs-device.core +package : mobile-4.0-rs-device.core OS : ubuntu-32 build-host-os : ubuntu-32 attribute : binary install-dependency : efl-tools description : arm rootstrap for native app development -package : mobile-3.0-rs-device.core +package : mobile-4.0-rs-device.core OS : ubuntu-64 build-host-os : ubuntu-32 attribute : binary install-dependency : efl-tools description : arm rootstrap for native app development -package : mobile-3.0-rs-device.core +package : mobile-4.0-rs-device.core OS : macos-64 build-host-os : ubuntu-32 attribute : binary install-dependency : efl-tools description : arm rootstrap for native app development -Package : mobile-3.0-rs-device.core +Package : mobile-4.0-rs-device.core OS : windows-32 Build-host-os : ubuntu-32 Attribute : binary Install-dependency : efl-tools Description : ARM rootstrap for native app development -Package : mobile-3.0-rs-device.core +Package : mobile-4.0-rs-device.core OS : windows-64 Build-host-os : ubuntu-32 Attribute : binary Install-dependency : efl-tools Description : ARM rootstrap for native app development -Package : mobile-3.0-rs-emulator.core +Package : mobile-4.0-rs-emulator.core OS : ubuntu-32 Build-host-os : ubuntu-32 Attribute : binary Install-dependency : efl-tools Description : I386 rootstrap for native app development -Package : mobile-3.0-rs-emulator.core +Package : mobile-4.0-rs-emulator.core OS : ubuntu-64 Build-host-os : ubuntu-32 Attribute : binary Install-dependency : efl-tools Description : I386 rootstrap for native app development -Package : mobile-3.0-rs-emulator.core +Package : mobile-4.0-rs-emulator.core OS : macos-64 Build-host-os : ubuntu-32 Attribute : binary Install-dependency : efl-tools Description : I386 rootstrap for native app development -Package : mobile-3.0-rs-emulator.core +Package : mobile-4.0-rs-emulator.core OS : windows-32 Build-host-os : ubuntu-32 Attribute : binary Install-dependency : efl-tools Description : I386 rootstrap for native app development -Package : mobile-3.0-rs-emulator.core +Package : mobile-4.0-rs-emulator.core OS : windows-64 Build-host-os : ubuntu-32 Attribute : binary diff --git a/package/pkginfo.manifest.local b/package/pkginfo.manifest.local deleted file mode 100755 index bb77ed6..0000000 --- a/package/pkginfo.manifest.local +++ /dev/null @@ -1,26 +0,0 @@ -Include: pkginfo.manifest - -Package : mobile-3.0-rs-device.core -OS : ubuntu-32, ubuntu-64, macos-64 -Build-host-os : opensuse-32, ubuntu-32, ubuntu-64, opensuse-64 -Attribute : binary -Description : ARM rootstrap for native app development - -Package : mobile-3.0-rs-device.core -OS : windows-32, windows-64 -Build-host-os : opensuse-32, ubuntu-32, ubuntu-64, opensuse-64 -Attribute : binary -Description : ARM rootstrap for native app development - -Package : mobile-3.0-rs-emulator.core -OS : ubuntu-32, ubuntu-64, macos-64 -Build-host-os : opensuse-32, ubuntu-32, ubuntu-64, opensuse-64 -Attribute : binary -Description : I386 rootstrap for native app development - -Package : mobile-3.0-rs-emulator.core -OS : windows-32, windows-64 -Build-host-os : opensuse-32, ubuntu-32, ubuntu-64, opensuse-64 -Attribute : binary -Description : I386 rootstrap for native app development - diff --git a/package/pkginfo.manifest_64 b/package/pkginfo.manifest_64 index 76a27e4..1361280 100644 --- a/package/pkginfo.manifest_64 +++ b/package/pkginfo.manifest_64 @@ -1,71 +1,71 @@ Source : core-app-rootstrap -Version : 0.0.41 +Version : 0.0.0 Maintainer : Seunghwan Lee <sh.cat.lee@samsung.com> -package : mobile-3.0-rs-device.core +package : mobile-4.0-rs-device.core OS : ubuntu-32 build-host-os : ubuntu-32 attribute : binary install-dependency : efl-tools description : arm rootstrap for native app development -package : mobile-3.0-rs-device.core +package : mobile-4.0-rs-device.core OS : ubuntu-64 build-host-os : ubuntu-32 attribute : binary install-dependency : efl-tools description : arm rootstrap for native app development -package : mobile-3.0-rs-device.core +package : mobile-4.0-rs-device.core OS : macos-64 build-host-os : ubuntu-32 attribute : binary install-dependency : efl-tools description : arm rootstrap for native app development -Package : mobile-3.0-rs-device.core +Package : mobile-4.0-rs-device.core OS : windows-32 Build-host-os : ubuntu-32 Attribute : binary Install-dependency : efl-tools Description : ARM rootstrap for native app development -Package : mobile-3.0-rs-device.core +Package : mobile-4.0-rs-device.core OS : windows-64 Build-host-os : ubuntu-32 Attribute : binary Install-dependency : efl-tools Description : ARM rootstrap for native app development -Package : mobile-3.0-rs-emulator.core +Package : mobile-4.0-rs-emulator.core OS : ubuntu-32 Build-host-os : ubuntu-32 Attribute : binary Install-dependency : efl-tools Description : I386 rootstrap for native app development -Package : mobile-3.0-rs-emulator.core +Package : mobile-4.0-rs-emulator.core OS : ubuntu-64 Build-host-os : ubuntu-32 Attribute : binary Install-dependency : efl-tools Description : I386 rootstrap for native app development -Package : mobile-3.0-rs-emulator.core +Package : mobile-4.0-rs-emulator.core OS : macos-64 Build-host-os : ubuntu-32 Attribute : binary Install-dependency : efl-tools Description : I386 rootstrap for native app development -Package : mobile-3.0-rs-emulator.core +Package : mobile-4.0-rs-emulator.core OS : windows-32 Build-host-os : ubuntu-32 Attribute : binary Install-dependency : efl-tools Description : I386 rootstrap for native app development -Package : mobile-3.0-rs-emulator.core +Package : mobile-4.0-rs-emulator.core OS : windows-64 Build-host-os : ubuntu-32 Attribute : binary diff --git a/package_private/pkginfo.manifest b/package_private/pkginfo.manifest index 4bb8ba5..42f19f1 100644 --- a/package_private/pkginfo.manifest +++ b/package_private/pkginfo.manifest @@ -1,2 +1,2 @@ -Version : 0.0.153 +Version : 0.0.0 Maintainer : Seunghwan Lee <sh.cat.lee@samsung.com> diff --git a/package_private/pkginfo.manifest_64 b/package_private/pkginfo.manifest_64 index c647421..42f19f1 100644 --- a/package_private/pkginfo.manifest_64 +++ b/package_private/pkginfo.manifest_64 @@ -1,2 +1,2 @@ -Version : 0.0.18 +Version : 0.0.0 Maintainer : Seunghwan Lee <sh.cat.lee@samsung.com> @@ -1,5 +1,5 @@ # Rootstrap configraution -export PLATFORM_VERSION="3.0" +export PLATFORM_VERSION="4.0" export PLATFORM_PROFILE="mobile" export BASE_URL_PREFIX="http://165.213.149.200/download/public_mirror/tizen/base/latest/" |