2.3 KiB
Table of Contents
- Jhbuild
- Possible error
- gtk-mac-bundler
- How to use
- Prerequisite
- Usage
Jhbuild
In order to set up Jhbuild properly before building Nmap suite, follow the tutorial at https://gitlab.gnome.org/GNOME/gtk-osx/-/wikis/home , but keep reading this file if you encounter any error...
If you had any error, just type the following command to delete jhbuild,
$ rm -rf ~/.local ~/.new_local ~/.cache ~/.config ~/Source/jhbuild ~/Source/pyenv ~/Library/Caches/pip* ~/gtk
And we'll start over together:
-
First, simply download the following script in your $HOME directory https://gitlab.gnome.org/GNOME/gtk-osx/raw/master/gtk-osx-setup.sh
$ sh gtk-osx-setup.shAnd add it to your $PATH, so you can run jhbuild without the absolute path:
$ export PATH=$HOME/.new_local/bin:$PATH -
In
~/.config/jhbuildrc-custom, make sure that this line is setup properly:setup_sdk(target="10.15",architectures=["x86_64"]) -
Now do:
$ jhbuild bootstrap-gtk-osxTo install missing dependencies (with --force option to force rebuilding).
-
And,
$ jhbuild build meta-gtk-osx-bootstrap $ jhbuild build meta-gtk-osx-gtk3 $ jhbuild build meta-gtk-osx-python3-gtk3
Possible error
For those of you who have this error while trying to make,
svn: E155021: This client is too old to work with the working copy at...
You need to update SVN.
Go to http://www.wandisco.com/subversion/download#osx and download and install the appropriate version for your OS.
Now, add the path for the new SVN version to your $PATH:
$ export PATH=/opt/subversion/bin:$PATH
gtk-mac-bundler
Now that Jhbuild is properly configured, we need to install gtk-mac-bundler in order to render the bundle file:
$ git clone https://gitlab.gnome.org/GNOME/gtk-mac-bundler.git
$ cd gtk-mac-bundler
$ make install
How to use
Prerequisite:
openssl.modules:
This is a jhbuild moduleset that can be used to build/update openssl.
Usage:
Now use it like this:
$ jhbuild -m file://$(pwd)/openssl.modules build openssl