https://github.com/tauri-apps/gir-files
https://github.com/tauri-apps/gir-files
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/tauri-apps/gir-files
- Owner: tauri-apps
- Created: 2021-10-03T06:29:04.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T14:56:43.000Z (about 2 years ago)
- Last Synced: 2024-10-29T15:44:12.372Z (about 1 year ago)
- Language: Shell
- Size: 40.3 MB
- Stars: 2
- Watchers: 13
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
# gir-files
This repository contains the [GIR](https://developer.gnome.org/programming-guidelines/stable/introspection.html.en)
files used to generate all [`gtk-rs`](https://github.com/gtk-rs/gtk-rs) crates.
## Updating all files
You can update all the files by doing:
```console
$ ./dl.sh
```
This command will fetch the gir files for the latest release of each library.
When updating all files, make sure you do not inadvertedly overwrite gir files
which were manually updated and which have not yet been included in a release
of the corresponding library.
## Updating a gir file manually
In general we prefer to use gir files that have been included in a release,
however sometimes it is required to update a specific gir files to incorporate
a bug fix or a missing API.
Manually copy the updated gir file and then run
```console
$ ./reformat.sh
$ ./fix.sh
```
## Validating an update
After updating the gir files, please don't forget to check that [`gir`](https://github.com/gtk-rs/gir)
can still run with the new files and that the generated files have no breaking changes.
Refer to the [`gtk-rs`](https://github.com/gtk-rs/gtk-rs) README file for further information about
regenerating the `gtk-rs` crates.