xpra icon
Bug tracker and wiki

Changes between Version 6 and Version 7 of Building/MSWindows


Ignore:
Timestamp:
03/15/17 07:04:14 (2 weeks ago)
Author:
Antoine Martin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Building/MSWindows

    v6 v7  
    1313Steps:
    1414* 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:
    21 export XPKG="mingw-w64-x86_64-"
    22 #most packages get installed here: (python, gtk, etc):
    23 pacman --noconfirm -S ${XPKG}python2 ${XPKG}python2-pygtk ${XPKG}gtkglext ${XPKG}python2-gobject
    24 #media libraries (more than we actually need):
    25 pacman --noconfirm -S ${XPKG}ffmpeg ${XPKG}gst-plugins-good ${XPKG}gst-plugins-bad ${XPKG}gst-plugins-ugly
    26 #network layer libraries:
    27 pacman --noconfirm -S ${XPKG}lz4 ${XPKG}lzo2 ${XPKG}xxhash
    28 #python3 GStreamer bindings:
    29 pacman --noconfirm -S ${XPKG}gst-python
    30 #development tools and libs for building extra packages:
    31 pacman --noconfirm -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:
    33 pacman --noconfirm -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):
    35 pacman --noconfirm -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:
    37 for 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
    40 done
    41 #for webcam support:
    42 pacman -S ${XPKG}opencv ${XPKG}hdf5 ${XPKG}tesseract-ocr
    43 }}}
     15* run this setup script: [/browser/xpra/trunk/src/win32/MINGW_SETUP.sh MINGW_SETUP.sh]
    4416
    4517Not covered here yet (see #678):
     
    4921* CUDA / NVENC / pycuda
    5022* install gsview and ghostscript (see [/wiki/Dependencies])
    51 
     23* for updating an existing setup, run {{{pacman -Syu}}} and this script: [/browser/xpra/trunk/src/win32/UPDATE_PYTHON_LIBS.sh UPDATE_PYTHON_LIBS.sh]
    5224
    5325----