Commit c070864da7e87261aeac639d1b01db5fd44bbbe2

Authored by Perry Werneck
1 parent f4e347df
Exists in master and in 1 other branch develop

Adding jhbuild info and modules.

Showing 2 changed files with 41 additions and 4 deletions   Show diff stats
@@ -93,7 +93,9 @@ For the supported distributions get the install repositories and instructions fr @@ -93,7 +93,9 @@ For the supported distributions get the install repositories and instructions fr
93 make all 93 make all
94 ``` 94 ```
95 95
96 -## Building for macOS (using homebrew) 96 +## Building for macOS
  97 +
  98 +### Using homebrew
97 99
98 1. Build and install [lib3270](../../../lib3270) 100 1. Build and install [lib3270](../../../lib3270)
99 101
@@ -111,12 +113,23 @@ For the supported distributions get the install repositories and instructions fr @@ -111,12 +113,23 @@ For the supported distributions get the install repositories and instructions fr
111 brew link libv3270 113 brew link libv3270
112 ``` 114 ```
113 115
114 -### Uninstalling  
115 -  
116 -1. To uninstall 116 +To uninstall
117 117
118 ```shell 118 ```shell
119 brew unlink libv3270 119 brew unlink libv3270
120 rm -fr "$(brew --cellar)/libv3270" 120 rm -fr "$(brew --cellar)/libv3270"
121 ``` 121 ```
122 122
  123 +### Using jhbuild
  124 +
  125 +1. Install jhbuild and GTK-OSX
  126 +
  127 + https://wiki.gnome.org/Projects/GTK/OSX/Building
  128 +
  129 +2. build
  130 +
  131 + ```shell
  132 + jhbuild --moduleset=https://raw.githubusercontent.com/PerryWerneck/libv3270/macos/mac/libv3270.modules build libv3270
  133 + ```
  134 +
  135 +
mac/libv3270.modules 0 → 100644
@@ -0,0 +1,24 @@ @@ -0,0 +1,24 @@
  1 +<?xml version="1.0"?>
  2 +<!DOCTYPE moduleset SYSTEM "moduleset.dtd">
  3 +<?xml-stylesheet type="text/xsl" href="moduleset.xsl"?>
  4 +<moduleset>
  5 +
  6 + <include href="https://gitlab.gnome.org/GNOME/gtk-osx/raw/master/modulesets-stable/gtk-osx.modules" />
  7 + <include href="https://raw.githubusercontent.com/PerryWerneck/lib3270/macos/mac/lib3270.modules" />
  8 +
  9 + <repository type="git" name="github.com" href="git://github.com/"/>
  10 +
  11 + <autotools id="libv3270">
  12 + <branch repo="github.com" module="PerryWerneck/libv3270" revision="macos" />
  13 + <dependencies>
  14 + <dep package="meta-gtk-osx-bootstrap"/>
  15 + <dep package="glib"/>
  16 + <dep package="gtk+-3.0"/>
  17 + <!-- dep package="gtk-mac-integration"/ -->
  18 + <!-- dep package="adwaita-icon-theme"/ -->
  19 + <dep package="lib3270"/>
  20 + </dependencies>
  21 + </autotools>
  22 +
  23 +</moduleset>
  24 +