Changeset 2234
- Timestamp:
- 2006-05-04 17:58:04 (3 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
AnnodexFirefoxExtension/trunk/Docs/DevDoc_MediaEngineAddendum.html
r2233 r2234 66 66 <li>Setup the latest win32 pre-assembled libraries for VLC by extracting the 67 67 archive and copying to <font face="Courier New">/cygwin</font> directory. 68 <br>The archive can be found in the following directory: <a href="http://download.videolan.org/pub/testing/win32/">http://download.videolan.org/pub/testing/win32/</a> 68 <br>The archive can be found in the following directory: 69 <a href="http://download.videolan.org/pub/testing/win32/contrib-20060428-win32-bin-gcc-3.4.5-only.tar.bz2"> 70 http://download.videolan.org/pub/testing/win32/contrib-20060428-win32-bin-gcc-3.4.5-only.tar.bz2</a> 69 71 <br>Further information on development and common issues can be found here: <a href="http://www.firstmiletv.nl/vlc/developers/howto.txt">VLC Developer's Guide</a></li><br> 72 <br> 70 73 <li>In the <font face="Courier New">/MediaEngines/VLC</font> directory run the script: <font face="Courier New">./Patch</font></li> 71 74 </ol> … … 77 80 Build<br> 78 81 Configure.cygwin</font><br> 79 <b> Optional:</b> It is safe to remove the 82 <b><br> 83 Optional:</b> It is safe to remove the 80 84 <font face="Courier New">/MediaEngines/VLC/build</font> directory after step 1 81 85 is completed.<br> … … 88 92 Replace Line 17: Set the Gecko-SDK directory location to be absolute path, for 89 93 example:<br> 90 <b> Example:</b> <font face="Courier New">--enable-mozilla94 <b>Example:</b> <font face="Courier New">--enable-mozilla 91 95 --with-mozilla-sdk-path=/cygdrive/c/Cygwin/Annodex/trunk/MediaEngines/GeckoSDK/gecko-sdk-win32 92 \</font><br> 96 \<br> 97 <br> 98 </font>Add the following after Line 11 (Please take note of the respective 99 drive of your Cygwin installation and the drive in which it is located):<font face="Courier New"><br> 100 <br> 101 export CPPFLAGS="-I/usr/win32/include -I/usr/win32/include/ebml -I/cygdrive/C/Cygwin/usr/win32/gecko-sdk/include"<br> 102 export LDFLAGS="-L/usr/win32/lib -L/cygdrive/C/Cygwin/usr/win32/gecko-sdk/lib"<br> 103 XPIDL=/cygdrive/C/Cygwin/usr/win32/gecko-sdk/bin/xpidl.exe<br> 104 XPIDL_INCL="-Ic:\Cygwin/usr/win32/gecko-sdk/idl"<br> 105 <br> 106 </font><b>Optional: </b>You can remove the old <font face="Courier New"> 107 CPPFLAGS</font> and <font face="Courier New">LDFLAGS</font> constants in line 108 7 and 8 once step 2 is completed.<br> 93 109 </li> 94 110 <li>Modify <font face="Courier New">/MediaEngines/VLC/src/Build</font> as … … 102 118 Replace Line 4127: Set the Gecko-SDK directory location to be absolute path, 103 119 for example:<br> 104 <b> Example:</b> <font face="Courier New">real_mozilla_sdk="/cygdrive/c/Cygwin/Annodex/trunk/MediaEngines/GeckoSDK/gecko-sdk-win32"<br>120 <b>Example:</b> <font face="Courier New">real_mozilla_sdk="/cygdrive/c/Cygwin/Annodex/trunk/MediaEngines/GeckoSDK/gecko-sdk-win32"<br> 105 121 </font></li> 106 122 <li>Modify <font face="Courier New">/MediaEngines/VLC/src/mozilla/Makefile.am</font> … … 110 126 location to be absolute path (i.e. forward slash for drive, back slash for 111 127 subdirectories):<br> 112 <b> Example:</b> <font face="Courier New">VLCIDL_FILE = "c:\Cygwin/Annodex/trunk/MediaEngines/VLC/src/mozilla/vlcintf.idl"</font><br>128 <b>Example:</b> <font face="Courier New">VLCIDL_FILE = "c:\Cygwin/Annodex/trunk/MediaEngines/VLC/src/mozilla/vlcintf.idl"</font><br> 113 129 Replace the string in Line 89: <font face="Courier New">$(srcdir)/vlcintf.idl 114 130 --to--> $(VLCIDL_FILE)</font><br> … … 116 132 --to--> $(VLCIDL_FILE)</font><br> 117 133 </li> 118 <li>Modify <font face="Courier New">/ MediaEngines/GeckoSDK/gecko-sdk-win32/xpcom/include/nslSupportsUtils.h</font>134 <li>Modify <font face="Courier New">/usr/win32/gecko-sdk/include/nslSupportsUtils.h</font> 119 135 as follows:<br> 120 136 <br> 121 Replace line 2 46: <font face="Courier New">template <><br>137 Replace line 205: <font face="Courier New">template <><br> 122 138 </font></li> 123 139 <li>In the <font face="Courier New">/MediaEngines/VLC/src</font> directory run