macOS
brew install gtk-doclocal Homebrew formula metadata
sudo port install gtk-docMacPorts ports tree · gnome/gtk-doc/Portfile · ソース: api.github.com
brew
gtk-doc のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install gtk-doclocal Homebrew formula metadata
sudo port install gtk-docMacPorts ports tree · gnome/gtk-doc/Portfile · ソース: api.github.com
sudo apk add gtk-docAlpine Linux edge package indexes · gtk-doc · ソース: dl-cdn.alpinelinux.org
sudo dnf install gtk-docFedora Rawhide package metadata · gtk-doc · ソース: dl.fedoraproject.org
nix profile install nixpkgs#gtk-docnixpkgs package indexes · pkgs/by-name/gt/gtk-doc/package.nix · ソース: api.github.com
sudo pacman -S gtk-docArch Linux sync databases · gtk-doc · ソース: geo.mirror.pkgbuild.com
sudo zypper install gtk-docopenSUSE Tumbleweed package metadata · gtk-doc · ソース: download.opensuse.org
sudo apt install gtk-doc-toolsDebian stable package indexes · gtk-doc-tools · ソース: deb.debian.org
概要
GTK+ documentation tool
履歴
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.
セキュリティ状態
narrow executable package without higher-risk signals.
リスク グリーン · 信頼度 低 · appliance
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
gtkdoc-check | cli | グローバル実行可能ファイル | |
gtkdoc-depscan | cli | グローバル実行可能ファイル | |
gtkdoc-fixxref | cli | グローバル実行可能ファイル | |
gtkdoc-mkdb | cli | グローバル実行可能ファイル | |
gtkdoc-mkhtml | cli | グローバル実行可能ファイル | |
gtkdoc-mkhtml2 | cli | グローバル実行可能ファイル | |
gtkdoc-mkman | cli | グローバル実行可能ファイル | |
gtkdoc-mkpdf | cli | グローバル実行可能ファイル | |
gtkdoc-rebase | cli | グローバル実行可能ファイル | |
gtkdoc-scan | cli | グローバル実行可能ファイル | |
gtkdoc-scangobj | cli | グローバル実行可能ファイル | |
gtkdocize | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://gitlab.gnome.org/GNOME/gtk-doc
インストールメタデータ
| パッケージキー | brew:gtk-doc |
|---|---|
| バージョン | 1.36.1 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/gtk-doc |
| ホームページ | https://gitlab.gnome.org/GNOME/gtk-doc |
| リポジトリ | https://gitlab.gnome.org/GNOME/gtk-doc |
| 上流ドキュメント | https://gitlab.gnome.org/GNOME/gtk-doc/-/tree/master/help/manual/C |
| ライセンス | GPL-2.0-or-later |
| ソースアーカイブ | https://download.gnome.org/sources/gtk-doc/1.36/gtk-doc-1.36.1.tar.xz |
| 最終更新 | 2026-04-22T13:17:23Z |
| Pulse | updated |
| 依存関係 | docbook, docbook-xsl, python@3.14 |
| ビルド依存関係 | meson, ninja, pkgconf |
| macOS 提供ライブラリ | libxml2, libxslt |
| Bottle | 利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| 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 |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
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-docソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.