1 /* |
|
2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. |
|
3 * |
|
4 * This library is free software; you can redistribute it and/or |
|
5 * modify it under the terms of the GNU Lesser General Public |
|
6 * License as published by the Free Software Foundation; either |
|
7 * version 2 of the License, or (at your option) any later version. |
|
8 * |
|
9 * This library is distributed in the hope that it will be useful, |
|
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|
12 * Lesser General Public License for more details. |
|
13 * |
|
14 * You should have received a copy of the GNU Lesser General Public |
|
15 * License along with this library; if not, write to the |
|
16 * Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
|
17 * Boston, MA 02111-1307, USA. |
|
18 * |
|
19 * Description: |
|
20 * |
|
21 */ |
|
22 |
|
23 @echo off |
|
24 echo ---------------------------- |
|
25 echo Configuring for RnD SIS |
|
26 echo ---------------------------- |
|
27 echo Start of configure time: |
|
28 time /t |
|
29 |
|
30 :CREATE_DIR |
|
31 echo. |
|
32 echo - create Sis folder (created only if needed) |
|
33 mkdir ..\..\SIS |
|
34 |
|
35 :COPY_DLL |
|
36 echo. |
|
37 echo - Copy dlls [udeb]: |
|
38 copy %EPOCROOT%epoc32\release\armv5\udeb\libgstadder.dll . |
|
39 copy %EPOCROOT%epoc32\release\armv5\udeb\libgstaudio.dll . |
|
40 copy %EPOCROOT%epoc32\release\armv5\udeb\libgstbase.dll . |
|
41 copy %EPOCROOT%epoc32\release\armv5\udeb\libgstcdda.dll . |
|
42 copy %EPOCROOT%epoc32\release\armv5\udeb\libgstcontroller.dll . |
|
43 copy %EPOCROOT%epoc32\release\armv5\udeb\libgstdataprotocol.dll . |
|
44 copy %EPOCROOT%epoc32\release\armv5\udeb\libgstdevsoundext.dll . |
|
45 copy %EPOCROOT%epoc32\release\armv5\udeb\libgstfft.dll . |
|
46 copy %EPOCROOT%epoc32\release\armv5\udeb\libgstgdp.dll . |
|
47 copy %EPOCROOT%epoc32\release\armv5\udeb\libgstinterfaces.dll . |
|
48 copy %EPOCROOT%epoc32\release\armv5\udeb\libgstnet.dll . |
|
49 copy %EPOCROOT%epoc32\release\armv5\udeb\libgstnetbuffer.dll . |
|
50 copy %EPOCROOT%epoc32\release\armv5\udeb\libgstpbutils.dll . |
|
51 copy %EPOCROOT%epoc32\release\armv5\udeb\libgstreamer.dll . |
|
52 copy %EPOCROOT%epoc32\release\armv5\udeb\libgstriff.dll . |
|
53 copy %EPOCROOT%epoc32\release\armv5\udeb\libgstsubparse.dll . |
|
54 copy %EPOCROOT%epoc32\release\armv5\udeb\libgsttag.dll . |
|
55 copy %EPOCROOT%epoc32\release\armv5\udeb\libgsttcp.dll . |
|
56 copy %EPOCROOT%epoc32\release\armv5\udeb\libgstaudiorate.dll . |
|
57 copy %EPOCROOT%epoc32\release\armv5\udeb\libgstaudioresample.dll . |
|
58 copy %EPOCROOT%epoc32\release\armv5\udeb\libgstaudiotestsrc.dll . |
|
59 copy %EPOCROOT%epoc32\release\armv5\udeb\libgstcoreelements.dll . |
|
60 copy %EPOCROOT%epoc32\release\armv5\udeb\libgstcoreindexers.dll . |
|
61 copy %EPOCROOT%epoc32\release\armv5\udeb\libgstdecodebin.dll . |
|
62 copy %EPOCROOT%epoc32\release\armv5\udeb\libgstdecodebin2.dll . |
|
63 copy %EPOCROOT%epoc32\release\armv5\udeb\libgstdevsoundsink.dll . |
|
64 copy %EPOCROOT%epoc32\release\armv5\udeb\libgstdevsoundsrc.dll . |
|
65 copy %EPOCROOT%epoc32\release\armv5\udeb\libgstplaybin.dll . |
|
66 copy %EPOCROOT%epoc32\release\armv5\udeb\libgsttypefindfunctions.dll . |
|
67 copy %EPOCROOT%epoc32\release\armv5\udeb\libgstwavparse.dll . |
|
68 copy %EPOCROOT%epoc32\release\armv5\udeb\libgstwavenc.dll . |
|
69 copy %EPOCROOT%epoc32\release\armv5\udeb\libgstaudioconvert.dll . |
|
70 copy %EPOCROOT%epoc32\release\armv5\udeb\libgstqueue2.dll . |
|
71 copy %EPOCROOT%epoc32\release\armv5\udeb\libgstapp.dll . |
|
72 copy %EPOCROOT%epoc32\release\armv5\udeb\libgstautodetect.dll . |
|
73 |
|
74 if errorlevel == 1 goto END_ERROR |
|
75 |
|
76 :CALL_ELFTRAIN |
|
77 echo - Updating Version No [10.1] (calling elftran) |
|
78 call elftran.exe -version 10.1 libgstadder.dll |
|
79 call elftran.exe -version 10.1 libgstaudio.dll |
|
80 call elftran.exe -version 10.1 libgstbase.dll |
|
81 call elftran.exe -version 10.1 libgstcdda.dll |
|
82 call elftran.exe -version 10.1 libgstcontroller.dll |
|
83 call elftran.exe -version 10.1 libgstdataprotocol.dll |
|
84 call elftran.exe -version 10.1 libgstdevsoundext.dll |
|
85 call elftran.exe -version 10.1 libgstfft.dll |
|
86 call elftran.exe -version 10.1 libgstgdp.dll |
|
87 call elftran.exe -version 10.1 libgstinterfaces.dll |
|
88 call elftran.exe -version 10.1 libgstnet.dll |
|
89 call elftran.exe -version 10.1 libgstnetbuffer.dll |
|
90 call elftran.exe -version 10.1 libgstpbutils.dll |
|
91 call elftran.exe -version 10.1 libgstreamer.dll |
|
92 call elftran.exe -version 10.1 libgstriff.dll |
|
93 call elftran.exe -version 10.1 libgstsubparse.dll |
|
94 call elftran.exe -version 10.1 libgsttag.dll |
|
95 call elftran.exe -version 10.1 libgsttcp.dll |
|
96 call elftran.exe -version 10.1 libgstaudiorate.dll |
|
97 call elftran.exe -version 10.1 libgstaudioresample.dll |
|
98 call elftran.exe -version 10.1 libgstaudiotestsrc.dll |
|
99 call elftran.exe -version 10.1 libgstcoreelements.dll |
|
100 call elftran.exe -version 10.1 libgstcoreindexers.dll |
|
101 call elftran.exe -version 10.1 libgstdecodebin.dll |
|
102 call elftran.exe -version 10.1 libgstdecodebin2.dll |
|
103 call elftran.exe -version 10.1 libgstdevsoundsink.dll |
|
104 call elftran.exe -version 10.1 libgstdevsoundsrc.dll |
|
105 call elftran.exe -version 10.1 libgstplaybin.dll |
|
106 call elftran.exe -version 10.1 libgsttypefindfunctions.dll |
|
107 call elftran.exe -version 10.1 libgstwavparse.dll |
|
108 call elftran.exe -version 10.1 libgstwavenc.dll |
|
109 call elftran.exe -version 10.1 libgstaudioconvert.dll |
|
110 call elftran.exe -version 10.1 libgstqueue2.dll |
|
111 call elftran.exe -version 10.1 libgstapp.dll |
|
112 call elftran.exe -version 10.1 libgstautodetect.dll |
|
113 |
|
114 :MAKESIS |
|
115 makesis ..\..\SIS\gstreamer.pkg ..\..\SIS\gstreamer.sis |
|
116 signsis ..\..\SIS\gstreamer.sis ..\..\SIS\gstreamer.sisx RD.crt RD.key |
|
117 if errorlevel == 1 goto END_ERROR |
|
118 |
|
119 :DELETE_DLL |
|
120 echo. |
|
121 echo - remove the copied dlls from current folder |
|
122 del libgstadder.dll |
|
123 del libgstaudio.dll |
|
124 del libgstbase.dll |
|
125 del libgstcdda.dll |
|
126 del libgstcontroller.dll |
|
127 del libgstdataprotocol.dll |
|
128 del libgstdevsoundext.dll |
|
129 del libgstfft.dll |
|
130 del libgstgdp.dll |
|
131 del libgstinterfaces.dll |
|
132 del libgstnet.dll |
|
133 del libgstnetbuffer.dll |
|
134 del libgstpbutils.dll |
|
135 del libgstreamer.dll |
|
136 del libgstriff.dll |
|
137 del libgstsubparse.dll |
|
138 del libgsttag.dll |
|
139 del libgsttcp.dll |
|
140 del libgstaudiorate.dll |
|
141 del libgstaudioresample.dll |
|
142 del libgstaudiotestsrc.dll |
|
143 del libgstcoreelements.dll |
|
144 del libgstcoreindexers.dll |
|
145 del libgstdecodebin.dll |
|
146 del libgstdecodebin2.dll |
|
147 del libgstdevsoundsink.dll |
|
148 del libgstdevsoundsrc.dll |
|
149 del libgstplaybin.dll |
|
150 del libgsttypefindfunctions.dll |
|
151 del libgstwavparse.dll |
|
152 del libgstwavenc.dll |
|
153 del libgstaudioconvert.dll |
|
154 del libgstqueue2.dll |
|
155 del libgstapp.dll |
|
156 del libgstautodetect.dll |
|
157 |
|
158 goto END |
|
159 |
|
160 :END_ERROR |
|
161 echo. |
|
162 echo Sis creation failed. |
|
163 goto FINAL_END |
|
164 |
|
165 :END |
|
166 echo. |
|
167 echo Sis file created succesfully |
|
168 echo ============================ |
|
169 |
|
170 :FINAL_END |
|
171 echo End of configure time is: |
|
172 time /t |
|