os/graphics/graphicsdeviceinterface/screendriver/tsrc/scripts/mnt.cmd
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200
changeset 0 bde4ae8d615e
permissions -rw-r--r--
First public contribution.
     1 rem Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 rem All rights reserved.
     3 rem This component and the accompanying materials are made available
     4 rem under the terms of "Eclipse Public License v1.0"
     5 rem which accompanies this distribution, and is available
     6 rem at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 rem
     8 rem Initial Contributors:
     9 rem Nokia Corporation - initial contribution.
    10 rem
    11 rem Contributors:
    12 rem
    13 rem Description:
    14 rem 
    15 rem 
    16 rem
    17 
    18 @echo off
    19 set _main_ver=00490
    20 set _main_ver_sub=114869
    21 set _ver=151
    22 set _prefix=GT
    23 set _prefixN=%_prefix%_%_main_ver%
    24 set ZipPrefix=%_prefix%
    25 set _ve32toolp=113
    26 set _ve32tools=123
    27 set _ve32utl=035
    28 set _vgditools=052
    29 set _vsdk=014
    30 
    31 set _ve32=189
    32 set _vf32=148
    33 set _vstore=062
    34 set _vgdi=071
    35 set _vfntstore=060
    36 set _vfbserv=093
    37 set _vbitgdi=097
    38 if "%1"=="?" goto help
    39 if "%1"=="" goto help
    40 if "%EPOCROOT%"=="" echo error: Variable Epocroot must be defined
    41 if "%EPOCROOT%"=="" goto help
    42 
    43 if  not defined EPOC_INI (
    44 	set EPOC_INI=%EPOCROOT%epoc32\data\epoc.ini
    45 )
    46 
    47 goto %1
    48 goto help
    49 
    50 rem ================ Install ==============
    51 
    52 :install
    53 echo Backing up EPOC.INI.
    54 if not exist %EPOC_INI%.scdvbak copy %EPOC_INI% %EPOC_INI%.scdvbak >nul
    55 
    56 rem add line to epoc.ini so that the system starter will start the emulator in the specified display mode
    57 echo SYMBIAN_GRAPHICS_USE_GCE ON >> %EPOC_INI%
    58 echo SYMBIAN_BASE_USE_GCE ON >> %EPOC_INI%
    59 echo ColorDepth Color16M >> %EPOC_INI%
    60 
    61 echo === New EPOC.INI -- %EPOC_INI% ===
    62 type %EPOC_INI%
    63 echo ======================================================
    64 
    65 goto :EOF
    66 
    67 
    68 rem ================ Installonb ==============
    69 :installonb
    70 echo Backing up EPOC.INI.
    71 if not exist %EPOC_INI%.scdvbak copy %EPOC_INI% %EPOC_INI%.scdvbak >nul
    72 
    73 rem For ONB system only add line to epoc.ini so that the system starter will start the emulator in the specified display mode
    74 echo. >> %EPOC_INI%
    75 echo ColorDepth Color16M >> %EPOC_INI%
    76 
    77 echo === New EPOC.INI -- %EPOC_INI% ===
    78 type %EPOC_INI%
    79 echo ======================================================
    80 
    81 goto :EOF
    82 
    83 rem ================ Uninstall ==============
    84 
    85 :uninstall
    86 echo Restoring EPOC.INI.
    87 if exist %EPOC_INI%.scdvbak xcopy /r /y %EPOC_INI%.scdvbak %EPOC_INI% >nul
    88 goto :EOF
    89 
    90 
    91 
    92 
    93 rem ================ HELP! =================
    94 
    95 :help
    96 echo Parameters are:
    97 echo BACKUP    to backup to U:\wserv
    98 echo GETZIP    to get the zip files for the current baseline
    99 echo GETLINE   to extract all the components we depend on
   100 echo GETSRC {comp}  to get the source of another component
   101 rem echo -----------------------------------------------------------------------
   102 echo DELBLD    to delete all work files for the current build
   103 echo CHECK     to check that all the files in the group are in a .PRJ file
   104 echo ARMUDEB   to build unicode debug code for ARM debug
   105 goto end
   106 
   107 :endgroup
   108 call cont wserv group
   109 :end
   110 set _main_ver=
   111 set _main_ver_sub=
   112 set _prefix=
   113 set _prefixN=
   114 set _ver=
   115 set _ve32tools=
   116 set _ve32toolp=
   117 set _ve32utl=
   118 set _vgditools=
   119 set _ve32=
   120 set _vf32=
   121 set _vgdi=
   122 set _vfntstore=
   123 set _vfbserv=
   124 set _vbitgdi=
   125 set _vstore=
   126 set _vsdk=
   127 set _par1=
   128 set _par2=