xpra icon
Bug tracker and wiki

Changes between Version 1 and Version 4 of Ticket #103


Ignore:
Timestamp:
04/03/12 14:44:45 (9 years ago)
Author:
ahuillet
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #103

    • Property Owner changed from Antoine Martin to ahuillet
    • Property Status changed from new to assigned
  • Ticket #103 – Description

    v1 v4  
    1313git clone git://git.videolan.org/ffmpeg.git ffmpeg
    1414git clone git://git.videolan.org/x264.git
     15wget http://webm.googlecode.com/files/libvpx-v1.0.0.tar.bz2
    1516
    1617cd x264
     
    2324make && make install
    2425cd ..
     26
     27tar jxvf libvpx-v1.0.0.tar.bz2
     28cd libvpx-v1.0.0
     29./configure --enable-pic --disable-install-docs  --enable-shared --enable-static --disable-vp8-decoder
     30make && make install
     31cd ..
    2532}}}
    2633
    2734The libs are now present in /usr/local.
    2835
    29 Apply the following changes to setup.py:
     36Apply the following changes to setup.py to change x264 to static:
    3037{{{
    3138 x264_ENABLED = True
     
    4047                 **pkgconfig("x264", "libswscale", "libavcodec")
    4148                 ))
    42 -vpx_ENABLED = True
    43 +vpx_ENABLED = False
     49}}}
     50
     51Apply the following changes to setup.py to change vpx to static:
     52{{{
     53 vpx_ENABLED = True
     54 if vpx_ENABLED:
     55+    def pkgconfig(*args):
     56+        return {'include_dirs': ["/usr/local/include"],
     57+                'library_dirs': ["/usr/local/lib"],
     58+                'extra_link_args': ["-Wl,-soname,vpxlib.so", "-Wl,-Bstatic", "-Wl,-Bsymbolic", "-lvpx", "-lswscale", "-lavcodec", "-lavutil", "-Wl,-Bdynamic"] }
     59
    4460}}}
    4561