about summary refs log tree commit diff
path: root/README.md
blob: d69e5bb323ebfd69918e14bbf596d5028f2d6436 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# hare-gi
GObject Introspection code generator for Hare. In short, it creates bindings for
GTK family of libraries (GTK+, GDK, Pango, etc).

## Generating and installing bindings
Dependencies:
* An up-to-date [Hare] toolchain
* Development files for GObject-Introspection, the desired GTK version and its
dependencies. Make sure `/usr/share/gir-1.0` is included.

To generate and install both GTK 3 and GTK 4 bindings:

```
$ make
# make install [PREFIX=/usr/local] [DESTDIR=]
```

## Running examples
### GTK 3
```
make demo-gtk3
./demo-gtk3
```

### GTK 4
```
make demo-gtk4
./demo-gtk4
```

## Contributing
Please send patches to [~yerinalexey/public-inbox@lists.sr.ht][archives] using
[git send-email] with prefix set to `hare-gi`:

```shell-session
$ git config format.subjectPrefix "PATCH hare-gi"
```

[Hare]: https://harelang.org/documentation/install/
[archives]: https://lists.sr.ht/~yerinalexey/public-inbox
[git send-email]: https://git-send-email.io