xpra icon
Bug tracker and wiki

Changes between Version 1 and Version 2 of Building/MSWindows


Ignore:
Timestamp:
01/17/17 06:59:26 (3 years ago)
Author:
Antoine Martin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Building/MSWindows

    v1 v2  
    1111The new build system is a work in progress, see #678 for details.
    1212
     13Steps:
     14* install [https://mingw-w64.org/ mingw-w64]
     15* run these commands:
     16{{{
     17#choose your target build arch (or do each one in turn):
     18#32-bit:
     19#export XPKG="mingw-w64-i686-"
     20#64-bit:
     21export XPKG="mingw-w64-x86_64-"
     22#most packages get installed here: (python, gtk, etc):
     23pacman --no-confirm -S ${XPKG}python2 ${XPKG}python2-pygtk ${XPKG}gtkglext
     24#media libraries (more than we actually need):
     25pacman --no-confirm -S ${XPKG}ffmpeg ${XPKG}gst-plugins-good ${XPKG}gst-plugins-bad ${XPKG}gst-plugins-ugly
     26#network layer libraries:
     27pacman --no-confirm -S ${XPKG}lz4 ${XPKG}lzo2 ${XPKG}xxhash
     28#python3 GStreamer bindings:
     29pacman --no-confirm -S ${XPKG}gst-python
     30#development tools and libs for building extra packages:
     31pacman --no-confirm -S base-devel ${XPKG}yasm ${XPKG}nasm subversion rsync gtk-doc ${XPKG}cmake ${XPKG}gcc ${XPKG}pkg-config ${XPKG}libffi
     32#python libraries and install and packaging tools:
     33pacman --no-confirm -S ${XPKG}python2-numpy ${XPKG}python2-pillow ${XPKG}cython2 ${XPKG}python2-setuptools ${XPKG}python2-cx_Freeze
     34#python3 versions (not all are really needed if just using python3 for sound):
     35pacman --no-confirm -S ${XPKG}python3-numpy ${XPKG}python3-pillow ${XPKG}cython ${XPKG}python3-cx_Freeze
     36#using easy-install for python libraries which are not packaged by mingw:
     37for x in rencode xxhash netifaces lz4 websocket-client comtypes PyOpenGL PyOpenGL_accelerate websockify cffi pycparser cryptography nvidia-ml-py; do
     38    easy-install-2.7 -U -Z $x
     39    easy-install-3.5 -U -Z $x
     40done
     41}}}
     42
     43Not covered here yet (see #678):
     44* pygtkglext: follow ticket:678#comment:27
     45* pygobject patching (minor)
     46* websockify
     47* CUDA / NVENC / pycuda
     48* install gsview and ghostscript (see [/wiki/Dependencies])
     49
     50
    1351----
    1452
    1553The old build system is very hard to setup: follow [http://winswitch.org/dev/win32.html these instructions] to build all the required dependencies (and trim the parts that are only relevant to [http://winswitch.org winswitch])
    16 
    1754}}}
    1855
     
    2057== Packaging ==
    2158
    22 Then you can find the MS Windows specific build scripts [/browser/xpra/trunk/src/win32 here].
     59The MS Windows specific build scripts are [/browser/xpra/trunk/src/win32 here].
     60
    2361We use a combination of the setup.py file, BAT files and an innosetup script to generate the executable installer.
    2462}}}