macOS
brew install gtk-doclocal Homebrew formula metadata
sudo port install gtk-docMacPorts ports tree · gnome/gtk-doc/Portfile · Quelle: api.github.com
brew
Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für gtk-doc in AI-Agent-Workflows.
Installation
brew install gtk-doclocal Homebrew formula metadata
sudo port install gtk-docMacPorts ports tree · gnome/gtk-doc/Portfile · Quelle: api.github.com
sudo apk add gtk-docAlpine Linux edge package indexes · gtk-doc · Quelle: dl-cdn.alpinelinux.org
sudo dnf install gtk-docFedora Rawhide package metadata · gtk-doc · Quelle: dl.fedoraproject.org
nix profile install nixpkgs#gtk-docnixpkgs package indexes · pkgs/by-name/gt/gtk-doc/package.nix · Quelle: api.github.com
sudo pacman -S gtk-docArch Linux sync databases · gtk-doc · Quelle: geo.mirror.pkgbuild.com
sudo zypper install gtk-docopenSUSE Tumbleweed package metadata · gtk-doc · Quelle: download.opensuse.org
sudo apt install gtk-doc-toolsDebian stable package indexes · gtk-doc-tools · Quelle: deb.debian.org
Überblick
GTK+ documentation tool
Verlauf
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.
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.
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.
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.
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.
Sicherheitslage
narrow executable package without higher-risk signals.
grün Risiko · niedrig Konfidenz · appliance
Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.
Executables
| Befehl | Art | Sichtbarkeit | Hinweis |
|---|---|---|---|
gtkdoc-check | cli | globales Executable | |
gtkdoc-depscan | cli | globales Executable | |
gtkdoc-fixxref | cli | globales Executable | |
gtkdoc-mkdb | cli | globales Executable | |
gtkdoc-mkhtml | cli | globales Executable | |
gtkdoc-mkhtml2 | cli | globales Executable | |
gtkdoc-mkman | cli | globales Executable | |
gtkdoc-mkpdf | cli | globales Executable | |
gtkdoc-rebase | cli | globales Executable | |
gtkdoc-scan | cli | globales Executable | |
gtkdoc-scangobj | cli | globales Executable | |
gtkdocize | cli | globales Executable |
Aktualität
Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.
https://gitlab.gnome.org/GNOME/gtk-doc
Installationsmetadaten
| Paketschlüssel | brew:gtk-doc |
|---|---|
| Version | 1.36.1 |
| Paketmanager | Homebrew |
| Paketmanager-Seite | https://formulae.brew.sh/formula/gtk-doc |
| Homepage | https://gitlab.gnome.org/GNOME/gtk-doc |
| Repository | https://gitlab.gnome.org/GNOME/gtk-doc |
| Upstream-Dokumentation | https://gitlab.gnome.org/GNOME/gtk-doc/-/tree/master/help/manual/C |
| Lizenz | GPL-2.0-or-later |
| Quellarchiv | https://download.gnome.org/sources/gtk-doc/1.36/gtk-doc-1.36.1.tar.xz |
| Zuletzt aktualisiert | 2026-04-22T13:17:23Z |
| Pulse | updated |
| Abhängigkeiten | docbook, docbook-xsl, python@3.14 |
| Build-Abhängigkeiten | meson, ninja, pkgconf |
| Von macOS bereitgestellte Bibliotheken | libxml2, libxslt |
| Bottle | verfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | nicht definiert |
| Dienst | keiner deklariert |
Registry-Fakten
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | gtk-doc |
| Version Scheme | 0 |
| Revision | 1 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
Source-Datenbank-Treffer
Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.
gtk-doc-tools 1.34.0-2
GTK+ documentation tools
https://gitlab.gnome.org/GNOME/gtk-doc/
sudo apt install gtk-doc-toolsgtk-doc
nix profile install nixpkgs#gtk-docgtk-doc-tools 1.34.0-1
GTK+ documentation tools
https://gitlab.gnome.org/GNOME/gtk-doc/
sudo apt install gtk-doc-toolsgtk-doc 1.36.0-r1
Documentation tool for public library API
https://gitlab.gnome.org/GNOME/gtk-doc
sudo apk add gtk-docgtk-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-docgtk-doc 1.36.1-1
Documentation tool for public library API
https://gitlab.gnome.org/GNOME/gtk-doc
sudo pacman -S gtk-docgtk-doc 1.36.1-1.1
GTK+ Documentation Generator
sudo zypper install gtk-docgtk-doc-mkpdf 1.36.1-1.1
Gtkdoc PDF Generator
sudo zypper install gtk-doc-mkpdfgtk-doc
sudo port install gtk-docQuellspur
Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.
View the package source record on GitHub.