Giter Site home page Giter Site logo

janvhs / gotk4-adwaita Goto Github PK

View Code? Open in Web Editor NEW

This project forked from diamondburned/gotk4-adwaita

0.0 0.0 0.0 3.73 MB

Autogenerated Adwaita bindings for Go now on 1.4.2

License: GNU Affero General Public License v3.0

Go 79.39% Nix 20.61%

gotk4-adwaita's Introduction

gotk4-adwaita

Package documentation

Go generated bindings for Libadwaita.

Update Bindings

Currently, these bindings are built against the version 1.2.0 of Libadwaita.

The easiest way to upgrade the bindings is to fork this repository and use Nix to regenerate the bindings. Adjust the Nix specific files, as needed.

For completeness, instructions for Flatpak as well as a manual way are provided.

Nix

For building with Nix, please refer to the gotk4 documentation.

Flatpak

You should follow these instructions, if you plan to package your application as a Flatpak.

This way, you can generate bindings for the version of Libadwaita, provided by your chosen runtime or for the newest version of Adwaita.

To generate the bindings, do the following:

$ flatpak-builder --force-clean build-dir io.github.diamondburned.gotk4_adwaita.yml
$ flatpak-builder --run build-dir io.github.diamondburned.gotk4_adwaita.yml go generate

You might need to install the referenced SDKs and runtimes, first. You might want to read the Flatpak building introduction.

Manual

You should use the manual way, if you do want to use the version of Libadwaita, your system provides.

If you do not want to install all the libraries onto your system, you can use a tool like Toolbox.

Optionally enter your toolbox via toolbox enter and run the following command afterwards.

$ go generate

Install the missing system-libraries, until the generation succeeds.

gotk4-adwaita's People

Contributors

diamondburned avatar janvhs 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.