packaging: copy license to release directory and fix nsis

Change-Id: Ib8baea07009e1e8343f5c12f0d2445bbd9e471a4
2 files changed
tree: 0845a369348a3f675a0440ee6d1b900183996c08
  1. .tx/
  2. docker/
  3. images/
  4. translations/
  5. web/
  6. .gitignore
  7. .gitmodules
  8. .gitreview
  9. aboutdialog.cpp
  10. aboutdialog.h
  11. aboutdialog.ui
  12. accountdetails.cpp
  13. accountdetails.h
  14. accountdetails.ui
  15. accountitemdelegate.cpp
  16. accountitemdelegate.h
  17. accountlistmodel.cpp
  18. accountlistmodel.h
  19. accountserializationadapter.cpp
  20. accountserializationadapter.h
  21. accountstatedelegate.cpp
  22. accountstatedelegate.h
  23. animatedoverlay.ui
  24. animationhelpers.cpp
  25. animationhelpers.h
  26. bannedcontactswidget.cpp
  27. bannedcontactswidget.h
  28. bannedcontactswidget.ui
  29. build-client.bat
  30. callutilsdialog.cpp
  31. callutilsdialog.h
  32. callutilsdialog.ui
  33. callwidget.cpp
  34. callwidget.h
  35. callwidget.ui
  36. configurationwidget.cpp
  37. configurationwidget.h
  38. configurationwidget.ui
  39. contactdialog.ui
  40. contactpicker.cpp
  41. contactpicker.h
  42. contactpicker.ui
  43. contactrequestwidget.cpp
  44. contactrequestwidget.h
  45. contactrequestwidget.ui
  46. conversationitemdelegate.cpp
  47. conversationitemdelegate.h
  48. conversationsfilterwidget.cpp
  49. conversationsfilterwidget.h
  50. copy-runtime-files.ps1
  51. currentaccountcombobox.cpp
  52. currentaccountcombobox.h
  53. deleteaccountdialog.cpp
  54. deleteaccountdialog.h
  55. deleteaccountdialog.ui
  56. fetch-deps.bat
  57. globalsystemtray.cpp
  58. globalsystemtray.h
  59. ico.rc
  60. idlabel.cpp
  61. idlabel.h
  62. invitebuttonswidget.cpp
  63. invitebuttonswidget.h
  64. invitebuttonswidget.ui
  65. License.rtf
  66. linkify.js
  67. lrcinstance.h
  68. main.cpp
  69. mainwindow.cpp
  70. mainwindow.h
  71. mainwindow.ui
  72. messagewebpage.cpp
  73. messagewebpage.h
  74. messagewebview.cpp
  75. messagewebview.h
  76. navwidget.cpp
  77. navwidget.h
  78. photoboothdialog.cpp
  79. photoboothdialog.h
  80. photoboothdialog.ui
  81. photoboothwidget.cpp
  82. photoboothwidget.h
  83. photoboothwidget.ui
  84. pixbufmanipulator.cpp
  85. pixbufmanipulator.h
  86. qrencode-win32.patch
  87. qualitydialog.cpp
  88. qualitydialog.h
  89. qualitydialog.ui
  90. quickactcontactrequestwidget.ui
  91. README.md
  92. ressources.qrc
  93. ring-client-windows.sln
  94. ring-client-windows.vcxproj
  95. ring-client-windows.vcxproj.filters
  96. ring.nsi
  97. ringbutton.cpp
  98. ringbutton.h
  99. ringbutton.ui
  100. ringcontactlineedit.cpp
  101. ringcontactlineedit.h
  102. ringthemeutils.h
  103. RingWinClient.pro
  104. selectareadialog.cpp
  105. selectareadialog.h
  106. sendcontactrequestwidget.cpp
  107. sendcontactrequestwidget.h
  108. sendcontactrequestwidget.ui
  109. settingskey.h
  110. shmclient.cpp
  111. shmclient.h
  112. smartlistmodel.cpp
  113. smartlistmodel.h
  114. smartlistselectorbuttonnotifier.cpp
  115. smartlistselectorbuttonnotifier.h
  116. smartlistview.cpp
  117. smartlistview.h
  118. stylesheet.css
  119. touch_res.bat
  120. update-translations.py
  121. utils.cpp
  122. utils.h
  123. version.h
  124. videooverlay.cpp
  125. videooverlay.h
  126. videooverlay.ui
  127. videoview.cpp
  128. videoview.h
  129. videoview.ui
  130. videowidget.cpp
  131. videowidget.h
  132. webchathelpers.cpp
  133. webchathelpers.h
  134. windowscontactbackend.cpp
  135. windowscontactbackend.h
  136. winsparkle.patch
  137. wizarddialog.cpp
  138. wizarddialog.h
  139. wizarddialog.ui
  140. wizardwidget.cpp
  141. wizardwidget.h
  142. wizardwidget.ui
README.md

Windows client for Ring

For more information about the ring project, see the following:

Requirements

  • Ring client library and Ring daemon
  • Mingw-w64 build environment
  • Qt5 (we link against Qt5Core, Qt5Widgets, Qt5Gui) built with Mingw
  • Qt5 Svg, Qt5 ImageFormats & Qt5 WinExtras built with Mingw

Get the source code

  • git clone https://gerrit-ring.savoirfairelinux.com/ring-client-windows

Build instructions

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

  • Build winsparkle In the client directory after having initialized the submodule
    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
    
  • Compile the client with ENABLE_AUTOUPDATE=True

Debugging

Compile the client with 'BUILD=Debug' and libRingClient with '-DCMAKE_BUILD_TYPE=Debug'

Packaging

cd build/release
makensis ring.nsi