Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-May-2022 | - | ||||
.github/workflows/ | H | 23-Nov-2021 | - | 74 | 60 | |
data/ | H | 23-Nov-2021 | - | 174 | 171 | |
demo/ | H | 23-Nov-2021 | - | 1,472 | 1,187 | |
doc/ | H | 23-Nov-2021 | - | 61 | 56 | |
icons/ | H | 23-Nov-2021 | - | 34 | 27 | |
lib/ | H | 03-May-2022 | - | 13,606 | 11,605 | |
meson/ | H | 23-Nov-2021 | - | 17 | 10 | |
po/ | H | 23-Nov-2021 | - | 122,547 | 96,688 | |
.editorconfig | H A D | 23-Nov-2021 | 256 | 17 | 13 | |
.gitignore | H A D | 23-Nov-2021 | 9 | 3 | 2 | |
COPYING | H A D | 23-Nov-2021 | 7.5 KiB | 166 | 128 | |
README.md | H A D | 23-Nov-2021 | 1.4 KiB | 53 | 32 | |
meson.build | H A D | 23-Nov-2021 | 1.9 KiB | 80 | 68 |
README.md
1# Granite 2Granite is a companion library for GTK and GLib. Among other things, it 3provides complex widgets and convenience functions designed for use in apps 4built for elementary OS. 5 6[![Packaging status](https://repology.org/badge/tiny-repos/granite.svg)](https://repology.org/metapackage/granite) 7[![Translation status](https://l10n.elementary.io/widgets/desktop/-/granite/svg-badge.svg)](https://l10n.elementary.io/engage/desktop/?utm_source=widget) 8 9 10## Building, Testing, and Installation 11 12You'll need the following dependencies: 13* meson >= 0.48.2 14* gobject-introspection 15* libgee-0.8-dev 16* libgirepository1.0-dev 17* libgtk-3-dev 18* valac 19 20Run `meson build` to configure the build environment: 21 22 meson build --prefix=/usr 23 24This command creates a `build` directory. For all following commands, change to 25the build directory before running them. 26 27To build granite, use `ninja`: 28 29 ninja 30 31To install, use `ninja install` 32 33 ninja install 34 35To see a demo app of Granite's widgets, run `granite-demo` after installing it: 36 37 granite-demo 38 39 40## Documentation 41 42Documentation for all of the classes and functions in Granite is available 43[on Valadoc](https://valadoc.org/granite/Granite.html) 44 45The additional requirements for building the documentation are: 46 47* valadoc 48* gtk-doc 49 50To generate gtk-doc and valadoc documentation for this project, pass the 51additional `-Ddocumentation=true` flag to meson, and run `ninja` as before. 52 53