{"id":19011491,"url":"https://github.com/perrywerneck/libv3270","last_synced_at":"2025-04-22T23:26:56.580Z","repository":{"id":41129399,"uuid":"160401606","full_name":"PerryWerneck/libv3270","owner":"PerryWerneck","description":"3270 Virtual Terminal for GTK","archived":false,"fork":false,"pushed_at":"2025-04-11T13:58:23.000Z","size":2186,"stargazers_count":10,"open_issues_count":6,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-11T14:55:41.613Z","etag":null,"topics":["3270","gtk","gtk3","terminal","tn3270","widget"],"latest_commit_sha":null,"homepage":"https://softwarepublico.gov.br/social/pw3270/","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PerryWerneck.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2018-12-04T18:29:46.000Z","updated_at":"2024-12-06T11:01:17.000Z","dependencies_parsed_at":"2024-02-19T12:04:47.529Z","dependency_job_id":"742e330d-da92-4c0d-8ab0-1928013a2412","html_url":"https://github.com/PerryWerneck/libv3270","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PerryWerneck%2Flibv3270","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PerryWerneck%2Flibv3270/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PerryWerneck%2Flibv3270/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PerryWerneck%2Flibv3270/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PerryWerneck","download_url":"https://codeload.github.com/PerryWerneck/libv3270/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250339315,"owners_count":21414338,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["3270","gtk","gtk3","terminal","tn3270","widget"],"created_at":"2024-11-08T19:14:38.923Z","updated_at":"2025-04-22T23:26:56.562Z","avatar_url":"https://github.com/PerryWerneck.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"## 3270 Virtual Terminal for GTK.\n\nCreated originally as part of [PW3270](../../../pw3270) application.\n\n[![License: GPL v3](https://img.shields.io/badge/License-GPL%20v3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)\n![CodeQL](https://github.com/PerryWerneck/libv3270/workflows/CodeQL/badge.svg?branch=master)\n[![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)\n[![Publish](https://github.com/PerryWerneck/libv3270/actions/workflows/publish.yml/badge.svg)](https://github.com/PerryWerneck/libv3270/actions/workflows/publish.yml)\n\n## Instalation\n\n### Linux\n\n[\u003cimg src=\"https://raw.githubusercontent.com/PerryWerneck/pw3270/master/branding/obs-badge-en.svg\" alt=\"Download from open build service\" height=\"80px\"\u003e]([https://software.opensuse.org/download.html?project=home%3APerryWerneck%3Apw3270\u0026package=pw3270](https://software.opensuse.org/download.html?project=home%3APerryWerneck%3Apw3270\u0026package=libv3270))\n\n### Windows\n\n * TODO\n\n## Building for Linux\n\n### Requirements\n\n * [GTK3](https://www.gtk.org/)\n * [lib3270](../../../lib3270)\n\n### Building\n\n * TODO\n\n\n## Building for windows\n\n### Cross-compiling on SuSE Linux (Native or WSL)\n\n1. Add the MinGW Repositories\n\n\t```\n\tsudo zypper ar obs://windows:mingw:win32 mingw32\n\tsudo zypper ar obs://windows:mingw:win64 mingw64\n\tsudo zypper ar obs://home:PerryWerneck:pw3270 pw3270\n\tsudo zypper ref\n\t```\n\n2. Get libv3270 sources from git\n\n\t```\n\tgit clone https://github.com/PerryWerneck/libv3270.git ./v3270\n\t```\n\n3. Install 64 bits cross compilers\n\n\t```\n\t./v3270/win/install-cross.sh --64\n\t```\n\n4. Configure 64 bits build environment\n\n\t```\n\t./v3270/win/win-configure.sh --64\n\t```\n\n5. Build\n\n\t```\n\tcd v3270\n\tmake clean\n\tmake all\n\t```\n\n### Windows native with MSYS2\n\n1. Build and install [lib3270](../../../lib3270)\n\n2. Install the required libraries\n\n\t```\n\tpacman -S mingw-w64-x86_64-gtk3\n\t```\n\n2. Get libv3270 sources from git\n\n\t```\n\tgit clone https://github.com/PerryWerneck/libv3270.git ./libv3270\n\t```\n\n4. Build library using the mingw shell\n\n\t```\n\tcd libv3270\n\t./autogen.sh\n\tmake all\n\t```\n\n## Building for macOS\n\n### Using homebrew\n\n1. Build and install [lib3270](../../../lib3270)\n\n2. Install additional dependencies\n\n\t```shell\n\tbrew update\n\tbrew install xz meson ninja curl gettext openssl pkgconfig gtk+3\n\tbrew upgrade\n\t```\n\n3. Get libv3270 sources from git\n\n\t```shell\n\tgit clone https://github.com/PerryWerneck/lib3270.git ./libv3270\n\tcd libv3270\n\t```\n\n4. Configure, build and install\n\n\t```shell\n\tmeson setup --prefix=$(brew --prefix)/Cellar/libv3270/$(grep 'version:' meson.build | cut -d: -f2 | cut -d\\' -f2) --reconfigure --wipe .build\n\tmeson compile -C .build\n\tmeson install -C .build\n\tbrew link libv3270\n\t```\n\nTo uninstall\n\n\t```shell\n\tbrew unlink libv3270\n\trm -fr \"$(brew --cellar)/libv3270\"\n\t```\n\n### Using jhbuild\n\n1. Install jhbuild and GTK-OSX\n\n\thttps://wiki.gnome.org/Projects/GTK/OSX/Building\n\t\n2. build\n\n\t```shell\n\tjhbuild --moduleset=https://raw.githubusercontent.com/PerryWerneck/libv3270/master/mac/libv3270.modules build libv3270\n\t```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fperrywerneck%2Flibv3270","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fperrywerneck%2Flibv3270","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fperrywerneck%2Flibv3270/lists"}