From 99d5dbd22844bf36d03aff87cc705346f6f8c8b9 Mon Sep 17 00:00:00 2001 From: Frank Fesevur Date: Mon, 14 Aug 2017 22:58:56 +0200 Subject: [PATCH 1/3] Add instruction how to build using MSYS2 --- BUILD.rst | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/BUILD.rst b/BUILD.rst index 4e15274..1b7346a 100644 --- a/BUILD.rst +++ b/BUILD.rst @@ -48,6 +48,49 @@ Both 32-bit and 64-bit version of Cygwin can build the 32-bit and 64-bit version of ``openvpn-gui.exe``. Just install the packages you need and use the right ``--host`` option. + +MSYS2 +===== + +One-time preperation +-------------------- + +Install MSYS2. Instructions and prerequisites can be found on the official website: https://msys2.github.io/ + +Once installed use the `mingw64.exe` provided by MSYS2. + +Update the base MSYS2 system until no further updates are available using: + +.. code-block:: bash + + $ pacman -Syu + +You may have to restart your MINGW64 prompt between those updates. + +Now install the required development packages: + +.. code-block:: bash + + pacman -S base-devel mingw-w64-x86_64-{toolchain,openssl} + +Build +----- + +You can build using these commands: + +.. code-block:: bash + + autoreconf -iv + ./configure + make + +32-bit or 64-bit +---------------- + +The above describes how to build the 64-bit version of openvpn-gui. +If you want to build the 32-bit version, use the `mingew32.exe` and in the package names simply replace ``x86_64`` with ``i686``. + + How to build using openvpn-build ================================ From cd8f1c8ee6de4101d2acbfc0a987864d34df7822 Mon Sep 17 00:00:00 2001 From: Frank Fesevur Date: Tue, 15 Aug 2017 10:21:32 +0200 Subject: [PATCH 2/3] Update header to be consistent with the others --- BUILD.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BUILD.rst b/BUILD.rst index 1b7346a..9aca0c2 100644 --- a/BUILD.rst +++ b/BUILD.rst @@ -49,8 +49,8 @@ version of ``openvpn-gui.exe``. Just install the packages you need and use the right ``--host`` option. -MSYS2 -===== +How to build using MSYS2 +======================== One-time preperation -------------------- From d0579b1b0d242b56562ff683312232d5b5dd4d3d Mon Sep 17 00:00:00 2001 From: Frank Fesevur Date: Wed, 16 Aug 2017 10:23:04 +0200 Subject: [PATCH 3/3] Fix use of backticks --- BUILD.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/BUILD.rst b/BUILD.rst index 9aca0c2..9354784 100644 --- a/BUILD.rst +++ b/BUILD.rst @@ -57,13 +57,13 @@ One-time preperation Install MSYS2. Instructions and prerequisites can be found on the official website: https://msys2.github.io/ -Once installed use the `mingw64.exe` provided by MSYS2. +Once installed use the ``mingw64.exe`` provided by MSYS2. Update the base MSYS2 system until no further updates are available using: .. code-block:: bash - $ pacman -Syu + pacman -Syu You may have to restart your MINGW64 prompt between those updates. @@ -88,7 +88,7 @@ You can build using these commands: ---------------- The above describes how to build the 64-bit version of openvpn-gui. -If you want to build the 32-bit version, use the `mingew32.exe` and in the package names simply replace ``x86_64`` with ``i686``. +If you want to build the 32-bit version, use the ``mingw32.exe`` and in the package names simply replace ``x86_64`` with ``i686``. How to build using openvpn-build