gstreamer_test_apps/miscfiles/GStreamer_udeb_STUB_SIS.bat
changeset 9 2a0f36a70380
child 11 1373546e05c6
equal deleted inserted replaced
8:4a7fac7dd34a 9:2a0f36a70380
       
     1 rem
       
     2 rem Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 rem All rights reserved.
       
     4 rem This component and the accompanying materials are made available
       
     5 rem under the terms of "Eclipse Public License v1.0"
       
     6 rem which accompanies this distribution, and is available
       
     7 rem at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 rem
       
     9 rem Initial Contributors:
       
    10 rem Nokia Corporation - initial contribution.
       
    11 rem
       
    12 rem Contributors:
       
    13 rem
       
    14 rem Description:  GStreamer SisStub
       
    15 rem
       
    16 
       
    17 @echo off
       
    18 echo ----------------------------
       
    19 echo Configuring for RnD SIS
       
    20 echo ----------------------------
       
    21 echo Start of configure time:
       
    22 time /t
       
    23 
       
    24 :CREATE_DIR
       
    25 echo.
       
    26 echo - create Sis folder (created only if needed)
       
    27 mkdir ..\..\SIS
       
    28 
       
    29 :COPY_DLL
       
    30 echo.
       
    31 echo - Copy dlls [udeb]:
       
    32 copy %EPOCROOT%epoc32\release\armv5\udeb\libgstadder.dll .
       
    33 copy %EPOCROOT%epoc32\release\armv5\udeb\libgstaudio.dll .
       
    34 copy %EPOCROOT%epoc32\release\armv5\udeb\libgstbase.dll .
       
    35 copy %EPOCROOT%epoc32\release\armv5\udeb\libgstcdda.dll .
       
    36 copy %EPOCROOT%epoc32\release\armv5\udeb\libgstcontroller.dll .
       
    37 copy %EPOCROOT%epoc32\release\armv5\udeb\libgstdataprotocol.dll .
       
    38 copy %EPOCROOT%epoc32\release\armv5\udeb\libgstdevsoundext.dll .
       
    39 copy %EPOCROOT%epoc32\release\armv5\udeb\libgstfft.dll .
       
    40 copy %EPOCROOT%epoc32\release\armv5\udeb\libgstgdp.dll .
       
    41 copy %EPOCROOT%epoc32\release\armv5\udeb\libgstinterfaces.dll .
       
    42 copy %EPOCROOT%epoc32\release\armv5\udeb\libgstnet.dll .
       
    43 copy %EPOCROOT%epoc32\release\armv5\udeb\libgstnetbuffer.dll .
       
    44 copy %EPOCROOT%epoc32\release\armv5\udeb\libgstpbutils.dll .
       
    45 copy %EPOCROOT%epoc32\release\armv5\udeb\libgstreamer.dll .
       
    46 copy %EPOCROOT%epoc32\release\armv5\udeb\libgstriff.dll .
       
    47 copy %EPOCROOT%epoc32\release\armv5\udeb\libgstsubparse.dll .
       
    48 copy %EPOCROOT%epoc32\release\armv5\udeb\libgsttag.dll .
       
    49 copy %EPOCROOT%epoc32\release\armv5\udeb\libgsttcp.dll .
       
    50 copy %EPOCROOT%epoc32\release\armv5\udeb\libgstaudiorate.dll .
       
    51 copy %EPOCROOT%epoc32\release\armv5\udeb\libgstaudioresample.dll .
       
    52 copy %EPOCROOT%epoc32\release\armv5\udeb\libgstaudiotestsrc.dll .
       
    53 copy %EPOCROOT%epoc32\release\armv5\udeb\libgstcoreelements.dll .
       
    54 copy %EPOCROOT%epoc32\release\armv5\udeb\libgstcoreindexers.dll .
       
    55 copy %EPOCROOT%epoc32\release\armv5\udeb\libgstdecodebin.dll .
       
    56 copy %EPOCROOT%epoc32\release\armv5\udeb\libgstdecodebin2.dll .
       
    57 copy %EPOCROOT%epoc32\release\armv5\udeb\libgstdevsoundsink.dll .
       
    58 copy %EPOCROOT%epoc32\release\armv5\udeb\libgstdevsoundsrc.dll .
       
    59 copy %EPOCROOT%epoc32\release\armv5\udeb\libgstplaybin.dll .
       
    60 copy %EPOCROOT%epoc32\release\armv5\udeb\libgsttypefindfunctions.dll .
       
    61 copy %EPOCROOT%epoc32\release\armv5\udeb\libgstwavparse.dll .
       
    62 copy %EPOCROOT%epoc32\release\armv5\udeb\libgstwavenc.dll .
       
    63 copy %EPOCROOT%epoc32\release\armv5\udeb\libgstaudioconvert.dll .
       
    64 copy %EPOCROOT%epoc32\release\armv5\udeb\libgstqueue2.dll .
       
    65 copy %EPOCROOT%epoc32\release\armv5\udeb\libgstapp.dll .
       
    66 copy %EPOCROOT%epoc32\release\armv5\udeb\libgstautodetect.dll .
       
    67 
       
    68 if errorlevel == 1 goto END_ERROR
       
    69 
       
    70 :CALL_ELFTRAIN
       
    71 echo - Updating Version No [10.1] (calling elftran)
       
    72 call elftran.exe -version 10.1 libgstadder.dll
       
    73 call elftran.exe -version 10.1 libgstaudio.dll 
       
    74 call elftran.exe -version 10.1 libgstbase.dll 
       
    75 call elftran.exe -version 10.1 libgstcdda.dll 
       
    76 call elftran.exe -version 10.1 libgstcontroller.dll 
       
    77 call elftran.exe -version 10.1 libgstdataprotocol.dll 
       
    78 call elftran.exe -version 10.1 libgstdevsoundext.dll 
       
    79 call elftran.exe -version 10.1 libgstfft.dll 
       
    80 call elftran.exe -version 10.1 libgstgdp.dll 
       
    81 call elftran.exe -version 10.1 libgstinterfaces.dll 
       
    82 call elftran.exe -version 10.1 libgstnet.dll 
       
    83 call elftran.exe -version 10.1 libgstnetbuffer.dll 
       
    84 call elftran.exe -version 10.1 libgstpbutils.dll 
       
    85 call elftran.exe -version 10.1 libgstreamer.dll 
       
    86 call elftran.exe -version 10.1 libgstriff.dll 
       
    87 call elftran.exe -version 10.1 libgstsubparse.dll 
       
    88 call elftran.exe -version 10.1 libgsttag.dll 
       
    89 call elftran.exe -version 10.1 libgsttcp.dll 
       
    90 call elftran.exe -version 10.1 libgstaudiorate.dll 
       
    91 call elftran.exe -version 10.1 libgstaudioresample.dll 
       
    92 call elftran.exe -version 10.1 libgstaudiotestsrc.dll 
       
    93 call elftran.exe -version 10.1 libgstcoreelements.dll 
       
    94 call elftran.exe -version 10.1 libgstcoreindexers.dll 
       
    95 call elftran.exe -version 10.1 libgstdecodebin.dll 
       
    96 call elftran.exe -version 10.1 libgstdecodebin2.dll 
       
    97 call elftran.exe -version 10.1 libgstdevsoundsink.dll 
       
    98 call elftran.exe -version 10.1 libgstdevsoundsrc.dll 
       
    99 call elftran.exe -version 10.1 libgstplaybin.dll 
       
   100 call elftran.exe -version 10.1 libgsttypefindfunctions.dll 
       
   101 call elftran.exe -version 10.1 libgstwavparse.dll 
       
   102 call elftran.exe -version 10.1 libgstwavenc.dll 
       
   103 call elftran.exe -version 10.1 libgstaudioconvert.dll 
       
   104 call elftran.exe -version 10.1 libgstqueue2.dll 
       
   105 call elftran.exe -version 10.1 libgstapp.dll 
       
   106 call elftran.exe -version 10.1 libgstautodetect.dll 
       
   107 
       
   108 :MAKESIS
       
   109 makesis ..\..\SIS\gstreamer.pkg ..\..\SIS\gstreamer.sis
       
   110 signsis ..\..\SIS\gstreamer.sis ..\..\SIS\gstreamer.sisx RD.crt RD.key
       
   111 if errorlevel == 1 goto END_ERROR
       
   112 
       
   113 :DELETE_DLL
       
   114 echo.
       
   115 echo - remove the copied dlls from current folder
       
   116 del libgstadder.dll
       
   117 del libgstaudio.dll 
       
   118 del libgstbase.dll 
       
   119 del libgstcdda.dll 
       
   120 del libgstcontroller.dll 
       
   121 del libgstdataprotocol.dll 
       
   122 del libgstdevsoundext.dll 
       
   123 del libgstfft.dll 
       
   124 del libgstgdp.dll 
       
   125 del libgstinterfaces.dll 
       
   126 del libgstnet.dll 
       
   127 del libgstnetbuffer.dll 
       
   128 del libgstpbutils.dll 
       
   129 del libgstreamer.dll 
       
   130 del libgstriff.dll 
       
   131 del libgstsubparse.dll 
       
   132 del libgsttag.dll 
       
   133 del libgsttcp.dll 
       
   134 del libgstaudiorate.dll 
       
   135 del libgstaudioresample.dll 
       
   136 del libgstaudiotestsrc.dll 
       
   137 del libgstcoreelements.dll 
       
   138 del libgstcoreindexers.dll 
       
   139 del libgstdecodebin.dll 
       
   140 del libgstdecodebin2.dll 
       
   141 del libgstdevsoundsink.dll 
       
   142 del libgstdevsoundsrc.dll 
       
   143 del libgstplaybin.dll 
       
   144 del libgsttypefindfunctions.dll 
       
   145 del libgstwavparse.dll 
       
   146 del libgstwavenc.dll 
       
   147 del libgstaudioconvert.dll 
       
   148 del libgstqueue2.dll 
       
   149 del libgstapp.dll 
       
   150 del libgstautodetect.dll 
       
   151 
       
   152 goto END
       
   153 
       
   154 :END_ERROR
       
   155 echo.
       
   156 echo Sis creation failed.
       
   157 goto FINAL_END
       
   158 
       
   159 :END
       
   160 echo.
       
   161 echo Sis file created succesfully
       
   162 echo ============================
       
   163 
       
   164 :FINAL_END
       
   165 echo End of configure time is:
       
   166 time /t