Changeset 2313

Show
Ignore:
Timestamp:
2006-05-25 00:23:30 (3 years ago)
Author:
cchiu
Message:

Updated document to include compilation tags used for VLC.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • AnnodexFirefoxExtension/trunk/Docs/DevDoc_MediaEngineAddendum.html

    r2235 r2313  
    2626    <td width="100%"><a href="#3.0_Linux">3.0  
    2727        Building the Annodex Firefox Extension in Debian GNU/Linux</a></td> 
     28  </tr> 
     29  <tr> 
     30    <td width="100%"><a href="#4.0_Compilation_Flags">4.0 Specific Compilation  
     31    Flags used when developing Media Engine</a></td> 
    2832  </tr> 
    2933  </table> 
     
    152156  the following script <font face="Courier New">./Build</font></li> 
    153157</ol> 
    154 <h3>Additional Compilation Configuration for the latest VLC Development Version:</h3> 
     158<h3>Additional Compilation Configuration for the latest VLC Version 0.8.5:</h3> 
    155159<p><b>Note:</b> The modification of source code is required as the 
    156160<font face="Courier New">./Patch</font> script was developed for VLC version  
     
    205209<p><i>No compilation issues have been identified as of time of writing.</i></p> 
    206210 
     211<p><b><font size="5"><a name="4.0_Compilation_Flags">4.0 Specific Compilation  
     212Flags used when developing Media Engine</a></font></b></p> 
     213 
     214<p>The compiler flags that are used in this section refer to compiling the  
     215plug-in in Windows platforms for VLC 0.8.2. The flags are sorted in alphabetical  
     216order.<br> 
     217This section will be updated with all of VLC's supported platforms as  
     218development progresses.</p> 
     219 
     220<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber2"> 
     221  <tr> 
     222    <td width="50%"><b>For Final Release and Optimisation:</b></td> 
     223    <td width="50%"><b>For Testing and Debugging:</b></td> 
     224  </tr> 
     225  <tr> 
     226    <td width="50%"><font face="Courier New" size="2">#!/bin/sh -x<br> 
     227    <br> 
     228    set -e<br> 
     229    <br> 
     230    CC=&quot;ccache gcc -mno-cygwin&quot;<br> 
     231    CXX=&quot;ccache g++ -mno-cygwin&quot;<br> 
     232    CFLAGS=&quot;-g&quot;<br> 
     233    CXXFLAGS=&quot;-g&quot;<br> 
     234    CPPFLAGS=&quot;-I/usr/win32/include -I/usr/win32/include/ebml -I/cygdrive/C/Cygwin/usr/win32/gecko-sdk/include&quot;<br> 
     235    LDFLAGS=&quot;-L/usr/win32/lib -L/cygdrive/C/Cygwin/usr/win32/gecko-sdk/lib&quot;<br> 
     236    <br> 
     237    XPIDL=/cygdrive/C/Cygwin/usr/win32/gecko-sdk/bin/xpidl.exe<br> 
     238    XPIDL_INCL=&quot;-Ic:\Cygwin/usr/win32/gecko-sdk/idl&quot;<br> 
     239    <br> 
     240    export CC CXX CPPFLAGS LDFLAGS CFLAGS CXXFLAGS<br> 
     241    <br> 
     242    [ -x ./configure ] || (./bootstrap )<br> 
     243    <br> 
     244    exec ./configure \<br> 
     245    &nbsp;--disable-a52 \<br> 
     246    &nbsp;--disable-caca \<br> 
     247    &nbsp;--disable-cdda \<br> 
     248    &nbsp;--disable-cddax \<br> 
     249    &nbsp;--disable-debug \<br> 
     250    &nbsp;--disable-dshow \<br> 
     251    &nbsp;--disable-dts \<br> 
     252    &nbsp;--disable-dvb \<br> 
     253    &nbsp;--disable-dvbpsi \<br> 
     254    &nbsp;--disable-dvdnav \<br> 
     255    &nbsp;--disable-dvdread \<br> 
     256    &nbsp;--disable-faad \<br> 
     257    &nbsp;--disable-ffmpeg \<br> 
     258    &nbsp;--disable-flac \<br> 
     259    &nbsp;--disable-freetype \<br> 
     260    &nbsp;--disable-fribidi \<br> 
     261    &nbsp;--disable-glx \<br> 
     262    &nbsp;--disable-gtk \<br> 
     263    &nbsp;--disable-hd1000v \<br> 
     264    &nbsp;--disable-httpd \<br> 
     265    &nbsp;--disable-libcddb \<br> 
     266    &nbsp;--disable-libcdio \<br> 
     267    &nbsp;--disable-libmpeg2 \<br> 
     268    &nbsp;--disable-libxml2 \<br> 
     269    &nbsp;--disable-livedotcom \<br> 
     270    &nbsp;--disable-mad \<br> 
     271    &nbsp;--disable-mkv \<br> 
     272    &nbsp;--disable-mod \<br> 
     273    &nbsp;--disable-nls \<br> 
     274    &nbsp;--disable-opengl \<br> 
     275    &nbsp;--disable-qte \<br> 
     276    &nbsp;--disable-satellite \<br> 
     277    &nbsp;--disable-sdl \<br> 
     278    &nbsp;--disable-skins2 \<br> 
     279    &nbsp;--disable-sout \<br> 
     280    &nbsp;--disable-speex \<br> 
     281    &nbsp;--disable-svg \<br> 
     282    &nbsp;--disable-tarkin \<br> 
     283    &nbsp;--disable-toolame \<br> 
     284    &nbsp;--disable-tremor \<br> 
     285    &nbsp;--disable-v4l \<br> 
     286    &nbsp;--disable-vcd \<br> 
     287    &nbsp;--disable-vcdx \<br> 
     288    &nbsp;--disable-vlm \<br> 
     289    &nbsp;--disable-waveout \<br> 
     290    &nbsp;--disable-wingdi \<br> 
     291    &nbsp;--disable-wxwindows \<br> 
     292    &nbsp;--disable-x11 \<br> 
     293    &nbsp;--disable-x264 \<br> 
     294    &nbsp;--disable-xvideo \<br> 
     295&nbsp;--enable-cmml \<br> 
     296    &nbsp;--enable-directx \<br> 
     297    &nbsp;--enable-mostly-builtin \<br> 
     298    &nbsp;--enable-mozilla --with-mozilla-sdk-path={Absolute Path of Mozilla SDK} \<br> 
     299    &nbsp;--enable-ogg \<br> 
     300    &nbsp;--enable-release \<br> 
     301    &nbsp;--enable-theora \<br> 
     302    &nbsp;--enable-vorbis \<br> 
     303    &quot;$@&quot; \<br> 
     304    2&gt;&amp;1 | tee configure.output</font></td> 
     305    <td width="50%"><font face="Courier New" size="2">#!/bin/sh -x<br> 
     306    <br> 
     307    set -e<br> 
     308    <br> 
     309    CC=&quot;ccache gcc -mno-cygwin&quot;<br> 
     310    CXX=&quot;ccache g++ -mno-cygwin&quot;<br> 
     311    CFLAGS=&quot;-g&quot;<br> 
     312    CXXFLAGS=&quot;-g&quot;<br> 
     313    CPPFLAGS=&quot;-I/usr/win32/include -I/usr/win32/include/ebml -I/cygdrive/C/Cygwin/usr/win32/gecko-sdk/include&quot;<br> 
     314    LDFLAGS=&quot;-L/usr/win32/lib -L/cygdrive/C/Cygwin/usr/win32/gecko-sdk/lib&quot;<br> 
     315    <br> 
     316    XPIDL=/cygdrive/C/Cygwin/usr/win32/gecko-sdk/bin/xpidl.exe<br> 
     317    XPIDL_INCL=&quot;-Ic:\Cygwin/usr/win32/gecko-sdk/idl&quot;<br> 
     318    <br> 
     319    export CC CXX CPPFLAGS LDFLAGS CFLAGS CXXFLAGS<br> 
     320    <br> 
     321    [ -x ./configure ] || (./bootstrap )<br> 
     322    <br> 
     323    exec ./configure \<br> 
     324    &nbsp;--disable-a52 \<br> 
     325    &nbsp;--disable-caca \<br> 
     326    &nbsp;--disable-cdda \<br> 
     327    &nbsp;--disable-cddax \<br> 
     328    &nbsp;--disable-debug \<br> 
     329    &nbsp;--disable-dshow \<br> 
     330    &nbsp;--disable-dts \<br> 
     331    &nbsp;--disable-dvb \<br> 
     332    &nbsp;--disable-dvbpsi \<br> 
     333    &nbsp;--disable-dvdnav \<br> 
     334    &nbsp;--disable-dvdread \<br> 
     335    &nbsp;--disable-ffmpeg \<br> 
     336    &nbsp;--disable-glx \<br> 
     337    &nbsp;--disable-gtk \<br> 
     338    &nbsp;--disable-hd1000v \<br> 
     339    &nbsp;--disable-httpd \<br> 
     340    &nbsp;--disable-libcddb \<br> 
     341    &nbsp;--disable-libcdio \<br> 
     342    &nbsp;--disable-libxml2 \<br> 
     343    &nbsp;--disable-mkv \<br> 
     344    &nbsp;--disable-mod \<br> 
     345    &nbsp;--disable-nls \<br> 
     346    &nbsp;--disable-opengl \<br> 
     347    &nbsp;--disable-qte \<br> 
     348    &nbsp;--disable-satellite \<br> 
     349    &nbsp;--disable-sdl \<br> 
     350    &nbsp;--disable-sdl \<br> 
     351    &nbsp;--disable-skins2 \<br> 
     352    &nbsp;--disable-sout \<br> 
     353    &nbsp;--disable-svg \<br> 
     354    &nbsp;--disable-tarkin \<br> 
     355    &nbsp;--disable-toolame \<br> 
     356    &nbsp;--disable-tremor \<br> 
     357    &nbsp;--disable-v4l \<br> 
     358    &nbsp;--disable-vcd \<br> 
     359    &nbsp;--disable-vcdx \<br> 
     360    &nbsp;--disable-vlm \<br> 
     361    &nbsp;--disable-waveout \<br> 
     362    &nbsp;--disable-x11 \<br> 
     363    &nbsp;--disable-x264 \<br> 
     364    &nbsp;--disable-xvideo \<br> 
     365    &nbsp;--enable-cmml \<br> 
     366    &nbsp;--enable-directx \<br> 
     367    &nbsp;--enable-faad \<br> 
     368    &nbsp;--enable-flac \<br> 
     369    &nbsp;--enable-freetype --with-freetype-config-path=/usr/win32/bin \<br> 
     370    &nbsp;--enable-fribidi --with-fribidi-config-path=/usr/win32/bin \<br> 
     371    &nbsp;--enable-libmpeg2 \<br> 
     372    &nbsp;--enable-livedotcom --with-livedotcom-tree=/usr/win32/live.com \<br> 
     373    &nbsp;--enable-mad \<br> 
     374    &nbsp;--enable-mostly-builtin \<br> 
     375    &nbsp;--enable-ogg \<br> 
     376    &nbsp;--enable-release \<br> 
     377    &nbsp;--enable-speex \<br> 
     378    &nbsp;--enable-theora \<br> 
     379    &nbsp;--enable-vorbis \<br> 
     380    &nbsp;--enable-wingdi \<br> 
     381    &nbsp;--enable-wxwindows --with-wx-config-path=/usr/win32/bin \<br> 
     382&nbsp;--enable-mozilla --with-mozilla-sdk-path={Absolute Path of Mozilla SDK} \<br> 
     383    &quot;$@&quot; \<br> 
     384    2&gt;&amp;1 | tee configure.output</font></td> 
     385  </tr> 
     386</table> 
     387 
    207388</body> 
    208389