Commit ed166b109842db9d2d41964422f8b9c5ec014669
Exists in
master
and in
3 other branches
Merge branch 'master' into develop
Showing
1 changed file
with
21 additions
and
15 deletions
Show diff stats
README.md
| @@ -18,13 +18,18 @@ For the supported distributions get the install repositories and instructions fr | @@ -18,13 +18,18 @@ For the supported distributions get the install repositories and instructions fr | ||
| 18 | 18 | ||
| 19 | ## Requirements | 19 | ## Requirements |
| 20 | 20 | ||
| 21 | -### GTK+ 3.20 or later | ||
| 22 | - https://www.gtk.org/ | ||
| 23 | - | 21 | + * GTK+ 3.20 or later (https://www.gtk.org/) |
| 22 | + * libv3270 (../../../libv3270) | ||
| 24 | 23 | ||
| 25 | ## Building for Linux | 24 | ## Building for Linux |
| 26 | 25 | ||
| 27 | - | 26 | + ``` |
| 27 | + git clone https://github.com/PerryWerneck/pw3270.git | ||
| 28 | + cd pw3270 | ||
| 29 | + ./autogen.sh | ||
| 30 | + make all | ||
| 31 | + sudo make install | ||
| 32 | + ``` | ||
| 28 | 33 | ||
| 29 | ## Building for Windows | 34 | ## Building for Windows |
| 30 | 35 | ||
| @@ -32,21 +37,20 @@ For the supported distributions get the install repositories and instructions fr | @@ -32,21 +37,20 @@ For the supported distributions get the install repositories and instructions fr | ||
| 32 | 37 | ||
| 33 | 1. Add the MinGW Repositories | 38 | 1. Add the MinGW Repositories |
| 34 | 39 | ||
| 35 | -``` | ||
| 36 | -sudo zypper ar obs://windows:mingw:win32 mingw32 | ||
| 37 | -sudo zypper ar obs://windows:mingw:win64 mingw64 | ||
| 38 | -sudo zypper ref | ||
| 39 | -``` | 40 | + ```shell |
| 41 | + sudo zypper ar obs://windows:mingw:win32 mingw32 | ||
| 42 | + sudo zypper ar obs://windows:mingw:win64 mingw64 | ||
| 43 | + sudo zypper ref | ||
| 44 | + ``` | ||
| 40 | 45 | ||
| 41 | 2. Run the build script | 46 | 2. Run the build script |
| 42 | 47 | ||
| 43 | -``` | ||
| 44 | -wget https://github.com/PerryWerneck/pw3270/blob/master/win/pack.sh | ||
| 45 | -./pack.sh --pre-reqs | ||
| 46 | -``` | 48 | + ```shell |
| 49 | + wget https://github.com/PerryWerneck/pw3270/blob/master/win/pack.sh | ||
| 50 | + ./pack.sh --pre-reqs | ||
| 51 | + ``` | ||
| 47 | 52 | ||
| 48 | -Building for macOS (using homebrew) | ||
| 49 | -=================================== | 53 | +## Building for macOS (using homebrew) |
| 50 | 54 | ||
| 51 | 1. Build and install [libv3270](../../../libv3270) | 55 | 1. Build and install [libv3270](../../../libv3270) |
| 52 | 56 | ||
| @@ -68,3 +72,5 @@ Building for macOS (using homebrew) | @@ -68,3 +72,5 @@ Building for macOS (using homebrew) | ||
| 68 | ```shell | 72 | ```shell |
| 69 | $ cd macos | 73 | $ cd macos |
| 70 | $ ./bundle | 74 | $ ./bundle |
| 75 | + ```` | ||
| 76 | + |