pkg.sopackage field notes

brew / 順位 10

glib を Homebrew でインストール

glib のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install glib

provider-native install command

概要

パッケージ概要

Core application library for C

コマンドとエイリアス

  • gapplication
  • gdbus
  • gdbus-codegen
  • gi-compile-repository
  • gi-decompile-typelib
  • gi-inspect-typelib
  • gio
  • gio-querymodules
  • glib-compile-resources
  • glib-compile-schemas
  • glib-genmarshal
  • glib-gettextize
  • glib-mkenums
  • gobject-query
  • gresource
  • gsettings
  • gtester
  • gtester-report

履歴

プロジェクトの歴史と使われ方

GLib is the low-level C foundation used by GTK and GNOME, providing portable data structures, strings, file utilities, process helpers, main-loop primitives, dynamic modules, object typing, I/O, IPC, networking, settings, and system integration APIs.

プロジェクトの歴史

GLib emerged as the shared utility layer beneath GTK-era C applications, and GNOME's release archive shows stable 1.2 releases in 1999 before the 2.0 line began in 2002. The 2.x API family established the long-lived GLib, GObject, GModule, and GIO split documented by GTK and GNOME.

Over time, GLib expanded from basic C convenience routines into a broad application substrate. GObject supplied an object and type system for C, GModule abstracted dynamic loading, and GIO added higher-level APIs for streaming I/O, files, D-Bus, networking, resources, settings, and application integration.

The project moved its source and issue workflow to GNOME's GitLab, while release archives remained available from GNOME download infrastructure. Its documentation moved to gi-docgen-generated API pages under docs.gtk.org, reflecting GLib's role as an introspection-friendly base library for language bindings.

採用の歴史

GLib's adoption followed GTK and GNOME but spread beyond graphical applications because it offered portable C building blocks without requiring a GUI. Projects use it for event loops, data containers, structured error handling, Unicode and string helpers, command-line option parsing, tests, and cross-platform runtime glue.

The library is a dependency root in Linux desktop stacks: installing GTK, GNOME services, GStreamer components, and many C libraries often brings GLib along. Its ABI stability and regular release train make it one of the packages that distribution maintainers track carefully during desktop, toolchain, and security updates.

使われ方

Practitioners use GLib through headers such as `glib.h` and pkg-config modules such as `glib-2.0`. Application code commonly uses `GList`, `GHashTable`, `GError`, `GMainLoop`, `GOptionContext`, `GKeyFile`, and automatic cleanup helpers to write portable C with fewer platform-specific branches.

The Homebrew package also exposes developer utilities such as `glib-compile-resources`, `glib-compile-schemas`, `gdbus`, `gio`, `gsettings`, `glib-genmarshal`, and `glib-mkenums`. These tools generate resources, schemas, marshalling code, enum metadata, and D-Bus helpers used by GTK and GNOME-style applications.

パッケージ好きにとっての重要性

GLib is package-manager infrastructure by gravity: it is small enough to be a library dependency but central enough that ABI, introspection data, and helper binaries affect large parts of a desktop stack. Packagers care about its Meson build, gir data, schema/resource tools, and tight relationship with GTK release cycles.

Because GLib abstracts platform details while staying in C, it also acts as a compatibility layer between Unix-like systems, Windows ports, language bindings, and higher-level GNOME libraries.

タイムライン

  • 1999: GLib 1.2.0 release archive published by GNOME.
  • 2002: GLib 2.0.0 release archive published by GNOME.
  • 2010s: GIO, D-Bus, settings, resources, and introspection workflows made GLib a broader application framework base.
  • 2020s: gi-docgen API references and GitLab-hosted development became the normal documentation and contribution path.

Related projects

  • GLib underpins GTK and GNOME, and is closely related to GObject, GModule, GIO, GdkPixbuf, Pango, GStreamer, D-Bus, Meson, and GObject Introspection.

セキュリティ状態

リスクレベル: グリーン

library-like package without higher-risk signals.

リスク分類器

リスク グリーン · 信頼度 低 · appliance

理由

  • library-like package without higher-risk signals

信号

  • metadata:library-like

インストール挙動

  • Homebrew bottle メタデータは記録されていません。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
gapplication実行可能ファイルインデックス済み実行可能ファイルローカル実行可能ファイルインデックスから検出されました。
gdbus実行可能ファイルインデックス済み実行可能ファイルローカル実行可能ファイルインデックスから検出されました。
gdbus-codegen実行可能ファイルインデックス済み実行可能ファイルローカル実行可能ファイルインデックスから検出されました。
gi-compile-repository実行可能ファイルインデックス済み実行可能ファイルローカル実行可能ファイルインデックスから検出されました。
gi-decompile-typelib実行可能ファイルインデックス済み実行可能ファイルローカル実行可能ファイルインデックスから検出されました。
gi-inspect-typelib実行可能ファイルインデックス済み実行可能ファイルローカル実行可能ファイルインデックスから検出されました。
gio実行可能ファイルインデックス済み実行可能ファイルローカル実行可能ファイルインデックスから検出されました。
gio-querymodules実行可能ファイルインデックス済み実行可能ファイルローカル実行可能ファイルインデックスから検出されました。
glib-compile-resources実行可能ファイルインデックス済み実行可能ファイルローカル実行可能ファイルインデックスから検出されました。
glib-compile-schemas実行可能ファイルインデックス済み実行可能ファイルローカル実行可能ファイルインデックスから検出されました。
glib-genmarshal実行可能ファイルインデックス済み実行可能ファイルローカル実行可能ファイルインデックスから検出されました。
glib-gettextize実行可能ファイルインデックス済み実行可能ファイルローカル実行可能ファイルインデックスから検出されました。
glib-mkenums実行可能ファイルインデックス済み実行可能ファイルローカル実行可能ファイルインデックスから検出されました。
gobject-query実行可能ファイルインデックス済み実行可能ファイルローカル実行可能ファイルインデックスから検出されました。
gresource実行可能ファイルインデックス済み実行可能ファイルローカル実行可能ファイルインデックスから検出されました。
gsettings実行可能ファイルインデックス済み実行可能ファイルローカル実行可能ファイルインデックスから検出されました。
gtester実行可能ファイルインデックス済み実行可能ファイルローカル実行可能ファイルインデックスから検出されました。
gtester-report実行可能ファイルインデックス済み実行可能ファイルローカル実行可能ファイルインデックスから検出されました。

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-08-03
マネージャ版2.88.3
マネージャ更新日2026-08-01
ローカルデータ不明
上流利用不可
検出された最新未検出
  • OK鮮度警告は生成されていません。

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:glib
バージョン2.88.3
パッケージマネージャHomebrew
ホームページhttps://docs.gtk.org/glib/
最終更新2026-08-01T13:16:02Z
Pulseupdated
Bottle未記録
サービス宣言なし

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • Geiger risk classifier
  • Nucleus package database
  • curated package history
  • pkgdb category and tag curation