Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/perrywerneck/libv3270
3270 Virtual Terminal for GTK
https://github.com/perrywerneck/libv3270
3270 gtk gtk3 terminal tn3270 widget
Last synced: about 2 months ago
JSON representation
3270 Virtual Terminal for GTK
- Host: GitHub
- URL: https://github.com/perrywerneck/libv3270
- Owner: PerryWerneck
- License: lgpl-3.0
- Created: 2018-12-04T18:29:46.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-09-16T12:18:04.000Z (4 months ago)
- Last Synced: 2024-09-16T14:12:07.324Z (4 months ago)
- Topics: 3270, gtk, gtk3, terminal, tn3270, widget
- Language: C
- Homepage: https://softwarepublico.gov.br/social/pw3270/
- Size: 1.76 MB
- Stars: 10
- Watchers: 4
- Forks: 4
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG
- License: LICENSE
- Authors: AUTHORS
Awesome Lists containing this project
README
## 3270 Virtual Terminal for GTK.
Created originally as part of [PW3270](../../../pw3270) application.
[![License: GPL v3](https://img.shields.io/badge/License-GPL%20v3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)
![CodeQL](https://github.com/PerryWerneck/libv3270/workflows/CodeQL/badge.svg?branch=master)
[![build result](https://build.opensuse.org/projects/home:PerryWerneck:pw3270/packages/libv3270/badge.svg?type=percent)](https://build.opensuse.org/package/show/home:PerryWerneck:pw3270/libv3270)
[![Publish](https://github.com/PerryWerneck/libv3270/actions/workflows/publish.yml/badge.svg)](https://github.com/PerryWerneck/libv3270/actions/workflows/publish.yml)## Instalation
### Linux
[]([https://software.opensuse.org/download.html?project=home%3APerryWerneck%3Apw3270&package=pw3270](https://software.opensuse.org/download.html?project=home%3APerryWerneck%3Apw3270&package=libv3270))
### Windows
* TODO
## Building for Linux
### Requirements
* [GTK3](https://www.gtk.org/)
* [lib3270](../../../lib3270)### Building
* TODO
## Building for windows
### Cross-compiling on SuSE Linux (Native or WSL)
1. Add the MinGW Repositories
```
sudo zypper ar obs://windows:mingw:win32 mingw32
sudo zypper ar obs://windows:mingw:win64 mingw64
sudo zypper ar obs://home:PerryWerneck:pw3270 pw3270
sudo zypper ref
```2. Get libv3270 sources from git
```
git clone https://github.com/PerryWerneck/libv3270.git ./v3270
```3. Install 64 bits cross compilers
```
./v3270/win/install-cross.sh --64
```4. Configure 64 bits build environment
```
./v3270/win/win-configure.sh --64
```5. Build
```
cd v3270
make clean
make all
```### Windows native with MSYS2
1. Build and install [lib3270](../../../lib3270)
2. Install the required libraries
```
pacman -S mingw-w64-x86_64-gtk3
```2. Get libv3270 sources from git
```
git clone https://github.com/PerryWerneck/libv3270.git ./libv3270
```4. Build library using the mingw shell
```
cd libv3270
./autogen.sh
make all
```## Building for macOS
### Using homebrew
1. Build and install [lib3270](../../../lib3270)
2. Install additional dependencies
```shell
brew install gtk+3
```3. Configure, build and install
```shell
./autogen.sh --prefix="$(brew --cellar)/libv3270/5.4"
make all && make install
brew link libv3270
```To uninstall
```shell
brew unlink libv3270
rm -fr "$(brew --cellar)/libv3270"
```### Using jhbuild
1. Install jhbuild and GTK-OSX
https://wiki.gnome.org/Projects/GTK/OSX/Building
2. build```shell
jhbuild --moduleset=https://raw.githubusercontent.com/PerryWerneck/libv3270/master/mac/libv3270.modules build libv3270
```