• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

.github/workflows/H23-Nov-2021-7460

data/H23-Nov-2021-174171

demo/H23-Nov-2021-1,4721,187

doc/H23-Nov-2021-6156

icons/H23-Nov-2021-3427

lib/H03-May-2022-13,60611,605

meson/H23-Nov-2021-1710

po/H23-Nov-2021-122,54796,688

.editorconfigH A D23-Nov-2021256 1713

.gitignoreH A D23-Nov-20219 32

COPYINGH A D23-Nov-20217.5 KiB166128

README.mdH A D23-Nov-20211.4 KiB5332

meson.buildH A D23-Nov-20211.9 KiB8068

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