GithubHelp home page GithubHelp logo

chairclr / gir.core Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gircore/gir.core

0.0 0.0 0.0 5.3 MB

A C# binding generator for GObject based libraries providing a C# friendly API surface

Home Page: https://gircore.github.io/

License: MIT License

C 6.61% C# 92.92% F# 0.29% Meson 0.18%

gir.core's Introduction

Welcome to Gir.Core

Continuous integration status Website depolyment status

Gir.Core provides C# bindings for several GObject based libraries like GTK for user interfaces.

This project aims to provide a complete set of APIs for writing rich cross-platform user interfaces and multimedia programs. It is built upon the well-established GObject Introspection framework for language bindings.

Features

  • Idiomatic C#: An API which feels natural to C# developers (including the async/await feature).
  • Simplicity: Memory management is handled automatically, greatly simplifying the C-API.
  • Complete API: Support for the entire GTK and GStreamer stack, enabling feature-rich applications which deeply integrate with the OS.
  • Extensibility: Allows 3rd party developers to write bindings for other GObject-based libraries, achieving full interoperability between them.

Status

The code is under development and not ready for production use. There are nuget packages available. The API is subject to change as long as version 1.0 is not released. Feel free to visit the nuget organization to get an overview.

The upcoming features and releases can be checked out in the milestones.

Supported Libraries

Library Description Level of Support
GTK-4.0 UI-Toolkit Partial
Libadwaita-1 Building blocks for modern GNOME applications Partial
GStreamer-1.0 Multimedia Framework Partial
Cairo-1.0 Graphics Library Partial
Pango-1.0 Font/Text Library Partial
Gio-2.0 Library for high level application functionality Partial
GdkPixbuf-2.0 Image loading in various formats Partial
libshumate Library to display maps Planned
WebKit-6.0 Browser engine (Linux only) Partial
JavaScriptCore-6.0 JavaScript engine for WebKit (Linux only) Partial
GtkSource-5 Extends a Gtk.TextView to be like a source code editor Partial

Get Involved

Anyone who wants to help is very welcome. If you want to get in contact feel free to chat with us via matrix (#gircore:matrix.org) or open a discussion and don't forget to check out our contribution guidelines.

Build

To generate the bindings locally execute the following commands in a terminal. Make sure to initialise submodules with --recursive otherwise the gir-files directory will not be loaded properly.

$ git clone --recursive https://github.com/gircore/gir.core.git
$ cd gir.core/src
$ dotnet fsi GenerateLibs.fsx
$ dotnet build GirCore.Libs.slnf

If you want to clean the Libs folder of all generated files run:

$ dotnet fsi CleanLibs.fsx

For more advanced build options, see the documentation.

Code structure

The folder structure in this repository is organized as follows:

The code in the library folder is not complete because most of the code is generated when the GirTool is run.

Licensing terms

Gir.Core is licensed under the terms of the MIT-License. Please see the license file for further information.

The Gir.Core logo is built upon the original GTK logo by Andreas Nilsson which is licensed under the GNU Free Documentation License and was relicensed under CC BY-SA 3.0. Therefore the Gir.Core logo is licensed under the CC BY-SA 3.0, too.

gir.core's People

Contributors

badcel avatar blquinn avatar cameronwhite avatar chairclr avatar dependabot[bot] avatar firox263 avatar fleimeris avatar fogzot avatar fsobolev avatar github-actions[bot] avatar hhyyrylainen avatar hol430 avatar kant2002 avatar knuxbbs avatar mikkeljohnsen avatar mjakeman avatar na2axl avatar nlogozzo avatar ultimaweapon 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.