commit | 1680f70c2fbc35cda5c85fb9d2ceec6fa68d8232 | [log] [tgz] |
---|---|---|
author | Olivier SOLDANO <olivier.soldano@savoirfairelinux.com> | Wed Nov 30 16:11:10 2016 -0500 |
committer | Olivier SOLDANO <olivier.soldano@savoirfairelinux.com> | Wed Nov 30 16:32:45 2016 -0500 |
tree | bd7058b9bc46b85561260a729008836046d6f016 | |
parent | f62caa352534e64fa4cb078dd7d09638a2dd7e1d [diff] |
auto-update: add process killer for older versions In order to be able to update smoothly the versions preceding the merge of patch 5665, we have to kill manually the process Ring.exe, this patch adds the functions from the NsProcess plugin for NSIS enabling such comportment. The buildmachine script have to be modified in order to fetch this dependency Change-Id: I0760284133413086dc2b36011c6fa7f2b511043a
For more information about the ring project, see the following:
git clone https://gerrit-ring.savoirfairelinux.com/ring-client-windows
USE THE QMAKE OF Qt BUILT WITH MINGW (e.g. /usr/bin/[i686 | x86_64]-w64-mingw32-qmake-qt5)
cd ring-client-windows mkdir build && cd build export QTDIR=<path to mingw qt> (e.g. /usr/[i686 | x86_64]-w64-mingw32/lib/qt) git submodule init && git submodule update cd libqrencode ./autogen.sh && ./configure --host=[i686 | x86_64]-w64-mingw32 --prefix=<Install dir of Ring and LRC> make make install cd .. qmake ../RingWinClient.pro -r -spec win32-g++ RING=<Install dir of Ring and LRC> [BUILD=Debug] make make install
You will find all files in ./release directory.
#Auto update
If you want to enable auto-update
cd winsparkle mkdir build && cd build cmake -DCMAKE_TOOLCHAIN_FILE=<LRC Directory>/cmake/winBuild.cmake -DCMAKE_INSTALL_PREFIX=Install dir of Ring and LRC> ../cmake", make make install
ENABLE_AUTOUPDATE=True
Compile the client with 'BUILD=Debug' and libRingClient with '-DCMAKE_BUILD_TYPE=Debug'
cd build/release makensis ring.nsi