Commit b80fd2e9e0ee8d2ee4a16230b1c9c2dc44f72496
1 parent
999a879a
Exists in
master
and in
1 other branch
Updating READ.ME.
Showing
1 changed file
with
22 additions
and
21 deletions
Show diff stats
README.md
| 1 | -3270 Virtual Terminal for GTK. | ||
| 2 | -============================== | 1 | +## 3270 Virtual Terminal for GTK. |
| 3 | 2 | ||
| 4 | Created originally as part of PW3270 application. | 3 | Created originally as part of PW3270 application. |
| 5 | 4 | ||
| 6 | See more details at https://softwarepublico.gov.br/social/pw3270/ | 5 | See more details at https://softwarepublico.gov.br/social/pw3270/ |
| 7 | 6 | ||
| 8 | -Installation repositories | ||
| 9 | -========================= | 7 | +## Instalation |
| 10 | 8 | ||
| 11 | - * https://software.opensuse.org/download.html?project=home%3APerryWerneck%3Apw3270&package=pw3270 | 9 | +### Linux |
| 12 | 10 | ||
| 13 | -Requirements | ||
| 14 | -============ | 11 | +For the supported distributions get the install repositories and instructions from https://software.opensuse.org/download.html?project=home%3APerryWerneck%3Apw3270&package=libv3270 |
| 12 | + | ||
| 13 | +### Windows | ||
| 14 | + | ||
| 15 | + | ||
| 16 | +## Requirements | ||
| 15 | 17 | ||
| 16 | * GTK-3 (https://www.gtk.org/) | 18 | * GTK-3 (https://www.gtk.org/) |
| 17 | * lib3270 (https://softwarepublico.gov.br/social/pw3270/) | 19 | * lib3270 (https://softwarepublico.gov.br/social/pw3270/) |
| 18 | 20 | ||
| 19 | 21 | ||
| 20 | -Building for Linux | ||
| 21 | -================== | 22 | +## Building for Linux |
| 22 | 23 | ||
| 23 | 24 | ||
| 24 | -Cross-compiling for Windows | ||
| 25 | -=========================== | 25 | +## Building for windows |
| 26 | 26 | ||
| 27 | -Cross-compiling on SuSE Linux (Native or WSL) | ||
| 28 | ---------------------------------------------- | 27 | +### Cross-compiling on SuSE Linux (Native or WSL) - The easier way! |
| 29 | 28 | ||
| 30 | -1. First add the MinGW Repositories for your SuSE version from: | 29 | +1. Add the MinGW Repositories |
| 31 | 30 | ||
| 32 | - * https://build.opensuse.org/project/show/home:PerryWerneck:pw3270 | 31 | +``` |
| 32 | +sudo zypper ar obs://windows:mingw:win32 mingw32 | ||
| 33 | +sudo zypper ar obs://windows:mingw:win64 mingw64 | ||
| 34 | +sudo zypper ref | ||
| 35 | +``` | ||
| 33 | 36 | ||
| 34 | 2. Get libv3270 sources from git | 37 | 2. Get libv3270 sources from git |
| 35 | 38 | ||
| @@ -53,8 +56,7 @@ Cross-compiling on SuSE Linux (Native or WSL) | @@ -53,8 +56,7 @@ Cross-compiling on SuSE Linux (Native or WSL) | ||
| 53 | * make all | 56 | * make all |
| 54 | 57 | ||
| 55 | 58 | ||
| 56 | -Compiling for Windows (With MSYS2) | ||
| 57 | ----------------------------------- | 59 | +### Compiling for Windows (With MSYS2) |
| 58 | 60 | ||
| 59 | 1. Build and install lib3270 | 61 | 1. Build and install lib3270 |
| 60 | 62 | ||
| @@ -75,8 +77,7 @@ Compiling for Windows (With MSYS2) | @@ -75,8 +77,7 @@ Compiling for Windows (With MSYS2) | ||
| 75 | * make all | 77 | * make all |
| 76 | 78 | ||
| 77 | 79 | ||
| 78 | -Building for macOS (using homebrew) | ||
| 79 | -=================================== | 80 | +## Building for macOS (using homebrew) |
| 80 | 81 | ||
| 81 | 1. Build and install [lib3270](../../../lib3270) | 82 | 1. Build and install [lib3270](../../../lib3270) |
| 82 | 83 | ||
| @@ -94,8 +95,7 @@ Building for macOS (using homebrew) | @@ -94,8 +95,7 @@ Building for macOS (using homebrew) | ||
| 94 | $ brew link libv3270 | 95 | $ brew link libv3270 |
| 95 | ``` | 96 | ``` |
| 96 | 97 | ||
| 97 | -Uninstalling | ||
| 98 | ------------- | 98 | +### Uninstalling |
| 99 | 99 | ||
| 100 | 1. To uninstall | 100 | 1. To uninstall |
| 101 | 101 | ||
| @@ -103,3 +103,4 @@ Uninstalling | @@ -103,3 +103,4 @@ Uninstalling | ||
| 103 | $ brew unlink libv3270 | 103 | $ brew unlink libv3270 |
| 104 | $ rm -fr "$(brew --cellar)/libv3270" | 104 | $ rm -fr "$(brew --cellar)/libv3270" |
| 105 | ``` | 105 | ``` |
| 106 | + |