File: build_test.rst

package info (click to toggle)
gobject-introspection 1.84.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 72,336 kB
  • sloc: ansic: 562,269; python: 23,692; xml: 16,240; yacc: 1,711; perl: 1,624; sh: 1,139; lex: 510; cpp: 487; makefile: 182; javascript: 15; lisp: 1
file content (52 lines) | stat: -rw-r--r-- 1,182 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
Build & Test
============

Clone gobject-introspection with git:

.. code:: shell

    git clone https://gitlab.gnome.org/GNOME/gobject-introspection.git
    cd gobject-introspection



Meson
-----

Build:
    .. code:: shell

        meson setup _build
        cd _build
        # To see the build options run "meson configure"
        meson compile

Test:
    .. code:: shell

        meson test  # run tests
        flake8 ..  # run code quality checks


Dependencies
------------

gobject-introspection depends on a row of other packages, either strictly,
optionally or only for testing. The following installation instructions should
over all cases for some common Distributions.

Debian/Ubuntu:
    .. code:: shell

        sudo apt install pkg-config python3-dev flex bison libglib2.0-dev \
            libcairo2-dev libffi-dev python3-mako \
            python3-markdown python3-distutils meson build-essential \
            gtk-doc-tools

Fedora:
    .. code:: shell

        sudo dnf install pkg-config flex bison cairo-devel \
            cairo-gobject-devel python3-mako gcc \
            python3-markdown meson libffi-devel python3-devel \
            python3 gtk-doc