Commit c9740f85923c4405976a1af47cde4edc54f69d8e

Authored by Perry Werneck
1 parent 25885840

Adding jhbuild files.

Showing 2 changed files with 43 additions and 1 deletions   Show diff stats
README.md
... ... @@ -86,7 +86,9 @@ Updated windows installers are available on Dropbox, google drive and one drive.
86 86 ```
87 87  
88 88  
89   -## Building for macOS (using homebrew)
  89 +## Building for macOS
  90 +
  91 +### Using homebrew
90 92  
91 93 1. Build and install [libv3270](../../../libv3270)
92 94  
... ... @@ -109,4 +111,17 @@ Updated windows installers are available on Dropbox, google drive and one drive.
109 111 $ cd macos
110 112 $ ./bundle
111 113 ````
  114 +
  115 +### Using jhbuild
  116 +
  117 +1. Install jhbuild and GTK-OSX
  118 +
  119 + https://wiki.gnome.org/Projects/GTK/OSX/Building
  120 +
  121 +2. build
  122 +
  123 + ```shell
  124 + jhbuild --moduleset=https://raw.githubusercontent.com/PerryWerneck/pw3270/macos/mac/pw3270.modules build pw3270
  125 + ```
  126 +
112 127  
... ...
mac/pw3270.modules 0 → 100644
... ... @@ -0,0 +1,27 @@
  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/libv3270/macos/mac/libv3270.modules" />
  8 +
  9 + <repository type="git" name="github.com" href="git://github.com/"/>
  10 +
  11 + <autotools id="pw3270">
  12 + <branch repo="github.com" module="PerryWerneck/pw3270" revision="macos" />
  13 + <dependencies>
  14 + <dep package="meta-gtk-osx-bootstrap" />
  15 + <dep package="glib" />
  16 + <dep package="gtk+-3.0" />
  17 + <dep package="gdk-pixbuf" />
  18 + <dep package="gtk-mac-integration" />
  19 + <dep package="adwaita-icon-theme" />
  20 + <dep package="hicolor-icon-theme" />
  21 + <dep package="lib3270"/>
  22 + <dep package="libv3270"/>
  23 + </dependencies>
  24 + </autotools>
  25 +
  26 +</moduleset>
  27 +
... ...