Git Product home page Git Product logo

gir-files's Introduction

gir-files

This repository contains the GIR files used to generate all gtk-rs crates.

Updating all files

You can update all the files by doing:

$ flatpak remote-add --user --if-not-exists gnome-nightly https://nightly.gnome.org/gnome-nightly.flatpakrepo
$ flatpak install org.gnome.Sdk//master -y --noninteractive
$ flatpak run --command=python3 --filesystem=home org.gnome.Sdk//master dl.py
$ ./reformat.sh && ./fix.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

$ ./reformat.sh
$ ./fix.sh

Validating an update

After updating the gir files, please don't forget to check that gir can still run with the new files and that the generated files have no breaking changes.

Refer to the gtk-rs README file for further information about regenerating the gtk-rs crates.

gir-files's People

Contributors

guillaumegomez avatar sdroege avatar bilelmoussaoui avatar epashkin avatar tmiasko avatar gkoz avatar marijns95 avatar brainblasted avatar dvhaeren avatar moggiesir avatar emmyoh avatar elmarco avatar nt8r avatar antoyo avatar bvinc avatar fengalin avatar sfanxiang avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.