about summary refs log tree commit diff
path: root/README.md
blob: 9bf993cc2b46b89819710d73b9ce50bdef6f971d (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
42
43
44
45
46
# 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.

### GTK 3
```
./generate
make install
```

### GTK 4
```
./generate4
make install4
```

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

### GTK 4
```
make demo4
./demo4
```

## 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