xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.

Custom Query (2683 matches)


Show under each result:

Results (76 - 78 of 2683)

Ticket Resolution Summary Owner Reporter
#103 fixed Add static x264 build for CentOS Antoine Martin ahuillet


Install build dependency for x264: You need yasm > 1.0

For EL5, you will also need to install git..

First of all, grab the sources of x264 and ffmpeg to create the static libraries :

cd /tmp
git clone git://git.videolan.org/ffmpeg.git ffmpeg
git clone git://git.videolan.org/x264.git
wget http://webm.googlecode.com/files/libvpx-v1.0.0.tar.bz2

cd x264
./configure --enable-shared --enable-static
make && make install
cd ..

cd ffmpeg
./configure --enable-static --enable-shared --disable-debug  --enable-gpl --enable-runtime-cpudetect  --disable-doc  --disable-ffplay --disable-ffprobe --disable-ffserver --disable-vaapi --disable-vdpau  --disable-everything --enable-decoder=h264
make && make install
cd ..

tar jxvf libvpx-v1.0.0.tar.bz2
cd libvpx-v1.0.0
./configure --enable-pic --disable-install-docs  --enable-shared --enable-static --disable-vp8-decoder
make && make install
cd ..

The libs are now present in /usr/local.

Apply the following changes to setup.py to change x264 to static:

 x264_ENABLED = True
 if x264_ENABLED:
+    def pkgconfig(*args):
+        return {'include_dirs': ["/usr/local/include"],
+                'library_dirs': ["/usr/local/lib"],
+                'extra_link_args': ["-Wl,-soname,x264lib.so", "-Wl,-Bstatic", "-Wl,-Bsymbolic", "-lx264", "-lswscale", "-lavcodec", "-lavutil", "-Wl,-Bdynamic"] }
                 ["xpra/x264/codec.pyx", "xpra/x264/x264lib.c"],
                 **pkgconfig("x264", "libswscale", "libavcodec")

Apply the following changes to setup.py to change vpx to static:

 vpx_ENABLED = True
 if vpx_ENABLED:
+    def pkgconfig(*args):
+        return {'include_dirs': ["/usr/local/include"],
+                'library_dirs': ["/usr/local/lib"],
+                'extra_link_args': ["-Wl,-soname,vpxlib.so", "-Wl,-Bstatic", "-Wl,-Bsymbolic", "-lvpx", "-lswscale", "-lavcodec", "-lavutil", "-Wl,-Bdynamic"] }

With this technique, you should be able to get:

[root@xf-dev src]# ls -lh build/lib.linux-x86_64-2.4/xpra/x264/codec.so 
-rwxr-xr-x 1 root root 3.9M Apr  3 14:03 build/lib.linux-x86_64-2.4/xpra/x264/codec.so
[root@xf-dev src]# file build/lib.linux-x86_64-2.4/xpra/x264/codec.so 
build/lib.linux-x86_64-2.4/xpra/x264/codec.so: ELF 64-bit LSB shared object, AMD x86-64, version 1 (SYSV), not stripped
[root@xf-dev src]# ldd build/lib.linux-x86_64-2.4/xpra/x264/codec.so 
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00002b0ab3591000)
        libc.so.6 => /lib64/libc.so.6 (0x00002b0ab37ac000)
        /lib64/ld-linux-x86-64.so.2 (0x00000034ea400000)

Instead of a dynamic codec.so:

-rwxr-xr-x 1 arthur users 43K avril  3 15:01 build/lib.linux-x86_64-2.7/xpra/x264/codec.so
arthur@Chani:~/src/xpra/src$ ldd build/lib.linux-x86_64-2.7/xpra/x264/codec.so 
        linux-vdso.so.1 =>  (0x00007fff5f1ff000)
        libx264.so.120 => /usr/lib/libx264.so.120 (0x00007fbdd5b16000)
        libavcodec.so.53 => /usr/lib/libavcodec.so.53 (0x00007fbdd4ca4000)
        libswscale.so.2 => /usr/lib/libswscale.so.2 (0x00007fbdd4a59000)
        libpython2.7.so.1.0 => /usr/lib/libpython2.7.so.1.0 (0x00007fbdd469a000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x00007fbdd447e000)
        libc.so.6 => /lib/libc.so.6 (0x00007fbdd40dc000)
        libm.so.6 => /lib/libm.so.6 (0x00007fbdd3de8000)
        libavutil.so.51 => /usr/lib/libavutil.so.51 (0x00007fbdd3bc5000)
        libva.so.1 => /usr/lib/libva.so.1 (0x00007fbdd39ad000)
        libxvidcore.so.4 => /usr/lib/libxvidcore.so.4 (0x00007fbdd3695000)
        libvpx.so.1 => /usr/lib/libvpx.so.1 (0x00007fbdd33ef000)
        libvorbisenc.so.2 => /usr/lib/libvorbisenc.so.2 (0x00007fbdd2f1f000)
        libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0x00007fbdd2cf2000)
        libtheoraenc.so.1 => /usr/lib/libtheoraenc.so.1 (0x00007fbdd2ab5000)
        libtheoradec.so.1 => /usr/lib/libtheoradec.so.1 (0x00007fbdd2899000)
        libspeex.so.1 => /usr/lib/libspeex.so.1 (0x00007fbdd2680000)
        libschroedinger-1.0.so.0 => /usr/lib/libschroedinger-1.0.so.0 (0x00007fbdd23b5000)
        libz.so.1 => /usr/lib/libz.so.1 (0x00007fbdd219e000)
        libopenjpeg.so.1 => /usr/lib/libopenjpeg.so.1 (0x00007fbdd1f7d000)
        libopencore-amrwb.so.0 => /usr/lib/libopencore-amrwb.so.0 (0x00007fbdd1d69000)
        libopencore-amrnb.so.0 => /usr/lib/libopencore-amrnb.so.0 (0x00007fbdd1b3e000)
        libmp3lame.so.0 => /usr/lib/libmp3lame.so.0 (0x00007fbdd18c7000)
        libgsm.so.1 => /usr/lib/libgsm.so.1 (0x00007fbdd16bc000)
        libdl.so.2 => /lib/libdl.so.2 (0x00007fbdd14b7000)
        libutil.so.1 => /lib/libutil.so.1 (0x00007fbdd12b4000)
        /lib/ld-linux-x86-64.so.2 (0x00007fbdd609f000)
        libogg.so.0 => /usr/lib/libogg.so.0 (0x00007fbdd10ad000)
        liborc-0.4.so.0 => /usr/lib/liborc-0.4.so.0 (0x00007fbdd0e32000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007fbdd0b2d000)
        libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007fbdd0916000)
        librt.so.1 => /lib/librt.so.1 (0x00007fbdd070e000)

#105 fixed Make xpra_launcher available on other platforms Antoine Martin ahuillet


having a small GUI is always user friendly, as long as it exists I don't think our dear win32 users should be the only ones to take advantage of it.

I've taken note that it's very limited and that we could perhaps make use of the tray icon menu instead. This ticket is just here as a reminder that some GUI love for Linux would be good. :)

#106 fixed Xvfb binds to a TCP port by default Antoine Martin bugmenot

Xvfb binds to a TCP port on, which is not optimal from a security/sysadmin point of view. It's easily fixable using --xvfb, but it would be awesome to have "-nolisten tcp" added to the default arguments to Xvfb.


Note: See TracQuery for help on using queries.