Automic VaultAutomic Vault

brew

Install gtk-doc with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper

GTK+ documentation tool. Version 1.36.1 via Homebrew; verified 2026-04-22.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install gtk-doc

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install gtk-doc

MacPorts ports tree · gnome/gtk-doc/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add gtk-doc

Alpine Linux edge package indexes · gtk-doc · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install gtk-doc-tools

Debian stable package indexes · gtk-doc-tools · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install gtk-doc

Fedora Rawhide package metadata · gtk-doc · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#gtk-doc

nixpkgs package indexes · pkgs/by-name/gt/gtk-doc/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S gtk-doc

Arch Linux sync databases · gtk-doc · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install gtk-doc

openSUSE Tumbleweed package metadata · gtk-doc · source: download.opensuse.org

overview

Package summary

GTK+ documentation tool

Commands and aliases

  • gtkdoc-check
  • gtkdoc-depscan
  • gtkdoc-fixxref
  • gtkdoc-mkdb
  • gtkdoc-mkhtml
  • gtkdoc-mkhtml2
  • gtkdoc-mkman
  • gtkdoc-mkpdf
  • gtkdoc-rebase
  • gtkdoc-scan
  • gtkdoc-scangobj
  • gtkdocize

history

Project history and usage

GTK-Doc is a documentation generator for C APIs, especially GLib, GObject, GTK, and GNOME-style libraries. It extracts structured comments from C code, understands GObject signals and properties, produces DocBook XML, and transforms that output into HTML and other formats.

For package maintainers, GTK-Doc is the build-time tool that explains why GNOME library packages often have optional documentation flags, gtkdocize steps, DocBook dependencies, scanner binaries, and generated API reference artifacts.

Project history

The GTK-Doc repository has a 'start' tag dated 1998-11-24 and a GTK_DOC_1_0 tag dated 2003-01-20. The GNOME source archive also lists gtk-doc-1.0 tarballs dated 2003-01-20, giving a fixed early release anchor.

The project README says GTK-Doc is used to document C code, typically the public API of libraries such as GLib-based libraries, but also application code. It also notes that GTK-Doc was not originally intended as a general-purpose documentation tool and points to Doxygen for that broader role.

The project evolved from a DocBook-oriented GNOME documentation pipeline into a Python/Meson-era maintenance tool. The NEWS file records Python 3-related changes, an experimental gtkdoc-mkhtml2 toolchain in 1.30, Python 3 requirements in 1.29, and the removal of Autotools as a way to build GTK-Doc itself in 1.36.0.

Adoption history

GTK-Doc was adopted across the GNOME C library ecosystem because it understands GObject-specific concepts that generic C documentation tools may not: signals, properties, object scanners, and conventions used by GTK widgets and GObject classes.

The archived GNOME GtkDoc page describes it as a tool for extracting API documentation from C code like Doxygen, with special support for GObject, and describes HTML output by default with PDF and man-page output possible with extra work. GNOME project pages and coding-practice material refer to GTK-Doc annotations as part of documenting public C APIs.

How it is used

A project using GTK-Doc writes documentation blocks in C comments, keeps section and symbol metadata, runs tools such as gtkdoc-scan, gtkdoc-scangobj, gtkdoc-mkdb, gtkdoc-mkhtml, gtkdoc-fixxref, gtkdoc-mkman, gtkdoc-mkpdf, and often integrates gtkdocize with Autotools-era projects or Meson build definitions.

The README describes generated HTML as browsable in a normal browser or in Devhelp. The manual/wiki workflow also explains the package's role in local developer environments: it is not just a documentation renderer, but a scanner and cross-reference pipeline used while building source distributions.

Why package nerds care

GTK-Doc is a classic build dependency that users may never run directly but packagers recognize instantly. Enabling API docs in a GNOME library can pull in GTK-Doc, DocBook DTDs, DocBook XSL stylesheets, libxml2/libxslt, Python modules, and sometimes PDF tooling such as dblatex.

Its long tail matters because old projects may still expect gtkdocize and Autotools integration, while the GTK-Doc project itself moved its own build to Meson. That split between being built with Meson and still supporting Autotools integration in downstream projects is package-maintainer lore.

Timeline

  • 1998: GTK-Doc repository has a start tag.
  • 2003: GTK-Doc 1.0 tag and GNOME source tarballs appeared.
  • 2018: GTK-Doc 1.29 NEWS records Python 3 requirement changes.
  • 2019: GTK-Doc 1.30 NEWS records Pygments use and an experimental gtkdoc-mkhtml2 toolchain.
  • 2020: GTK-Doc 1.33.0 NEWS records reproducible-build and GTK action documentation support.
  • 2026: GTK-Doc 1.36.0 NEWS records that GTK-Doc can no longer be built with Autotools, while Autotools integration files remain for downstream projects.

Related projects

  • GTK, GLib, GObject, GNOME libraries, Devhelp, DocBook, libxml2, libxslt, Meson, and Autotools are the central related projects in GTK-Doc's package history.
  • gi-docgen is the related GNOME documentation generator associated with GObject Introspection-era API reference publishing; archived GNOME pages describe efforts to generate documentation from introspection data as a successor direction for parts of the GTK-Doc role.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 3 runtime dependencies.
  • Build metadata lists 3 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
gtkdoc-checkcliglobal executable
gtkdoc-depscancliglobal executable
gtkdoc-fixxrefcliglobal executable
gtkdoc-mkdbcliglobal executable
gtkdoc-mkhtmlcliglobal executable
gtkdoc-mkhtml2cliglobal executable
gtkdoc-mkmancliglobal executable
gtkdoc-mkpdfcliglobal executable
gtkdoc-rebasecliglobal executable
gtkdoc-scancliglobal executable
gtkdoc-scangobjcliglobal executable
gtkdocizecliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version1.36.1
manager updated2026-04-22
local dataok
upstreamnot checked
latest detectednot detected

https://gitlab.gnome.org/GNOME/gtk-doc

install metadata

Package metadata

Package keybrew:gtk-doc
Version1.36.1
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/gtk-doc
Homepagehttps://gitlab.gnome.org/GNOME/gtk-doc
Repositoryhttps://gitlab.gnome.org/GNOME/gtk-doc
Upstream docshttps://gitlab.gnome.org/GNOME/gtk-doc/-/tree/master/help/manual/C
LicenseGPL-2.0-or-later
Source archivehttps://download.gnome.org/sources/gtk-doc/1.36/gtk-doc-1.36.1.tar.xz
Last updated2026-04-22T13:17:23Z
Pulseupdated
Dependenciesdocbook, docbook-xsl, python@3.14
Build dependenciesmeson, ninja, pkgconf
Uses from macOSlibxml2, libxslt
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namegtk-doc
Version Scheme0
Revision1
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

gtk-doc-tools 1.34.0-2

GTK+ documentation tools

https://gitlab.gnome.org/GNOME/gtk-doc/

sudo apt install gtk-doc-tools
  • Section: gnome
  • Architecture: all
  • Source Package: gtk-doc
  • 8 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Gtk Doc
Debian stable package indexes · deb.debian.org · Debian stable package indexes: gtk-doc-tools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

gtk-doc

nix profile install nixpkgs#gtk-doc
  • normalized package name match
  • Matched by: Gtk Doc
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/gt/gtk-doc/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

gtk-doc-tools 1.34.0-1

GTK+ documentation tools

https://gitlab.gnome.org/GNOME/gtk-doc/

sudo apt install gtk-doc-tools
  • Section: universe/gnome
  • Architecture: all
  • Source Package: gtk-doc
  • 8 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Gtk Doc
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: gtk-doc-tools from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

gtk-doc 1.36.0-r1

Documentation tool for public library API

https://gitlab.gnome.org/GNOME/gtk-doc

sudo apk add gtk-doc
  • License: GPL-2.0-or-later AND GFDL-1.1-or-later
  • Architecture: x86_64
  • Source Package: gtk-doc
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Gtk Doc
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: gtk-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
dnf95%

gtk-doc 1.36.1-1.fc45

API documentation generation tool for GTK+ and GNOME

https://gitlab.gnome.org/GNOME/gtk-doc/

sudo dnf install gtk-doc
  • License: GPL-2.0-or-later AND GFDL-1.1-no-invariants-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: gtk-doc
  • 9 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Gtk Doc
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: gtk-doc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

gtk-doc 1.36.1-1

Documentation tool for public library API

https://gitlab.gnome.org/GNOME/gtk-doc

sudo pacman -S gtk-doc
  • License: GFDL-1.1-or-later AND GPL-2.0-or-later
  • Architecture: any
  • 7 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Gtk Doc
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: gtk-doc from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

gtk-doc 1.36.1-1.1

GTK+ Documentation Generator

http://www.gtk.org/gtk-doc/

sudo zypper install gtk-doc
  • License: GPL-2.0-or-later
  • Category: Productivity/Publishing/SGML
  • Architecture: x86_64
  • Source Package: gtk-doc
  • 9 dependencies
  • 3 provides
  • normalized package name match
  • Matched by: Gtk Doc
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: gtk-doc from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

gtk-doc-mkpdf 1.36.1-1.1

Gtkdoc PDF Generator

http://www.gtk.org/gtk-doc/

sudo zypper install gtk-doc-mkpdf
  • License: GPL-2.0-or-later
  • Category: Productivity/Publishing/SGML
  • Architecture: x86_64
  • Source Package: gtk-doc
  • 3 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Gtk Doc
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: gtk-doc-mkpdf from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

gtk-doc

sudo port install gtk-doc
  • normalized package name match
  • Matched by: Gtk Doc
MacPorts ports tree · api.github.com · MacPorts ports tree: gnome/gtk-doc/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment