File: packagingguide.rst

package info (click to toggle)
pygobject 3.54.5-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,864 kB
  • sloc: ansic: 40,281; python: 26,363; sh: 477; makefile: 81; xml: 35; cpp: 1
file content (46 lines) | stat: -rw-r--r-- 1,203 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
Packaging Guide
===============

PyGObject uses Meson, here are some notes on how to package PyGObject.

Source packages can be found at
https://download.gnome.org/sources/pygobject

Existing Packages:

* https://archlinux.org/packages/extra/x86_64/python-gobject
* https://tracker.debian.org/pkg/pygobject
* https://github.com/MSYS2/MINGW-packages/tree/master/mingw-w64-pygobject

Building::

    meson setup --prefix /usr --buildtype=plain _build -Dc_args=... -Dc_link_args=...
    meson compile -C _build
    meson test -C _build
    DESTDIR=/path/to/staging/root meson install -C _build

Runtime dependencies:

    * glib
    * libgirepository-2.0 (shipped with GLib ≥ 2.80)
    * libffi
    * Python 3

    The overrides directory contains various files which includes various
    Python imports mentioning gtk, gdk etc. They are only used when the
    corresponding library is present, they are not direct dependencies.

Build dependencies:

    * The runtime dependencies
    * cairo (optional)
    * pycairo (optional)
    * pkg-config
    * setuptools (optional)

Test Suite dependencies:

    * The runtime dependencies
    * GTK 4 (optional)
    * pango (optional)
    * pycairo (optional)