pkg.sopackage field notes

brew / Rang 10

glib mit Homebrew installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für glib in AI-Agent-Workflows.

Installation

Weitere Installationsbefehle

macOS

Homebrewverifiziert · 100%
brew install glib

provider-native install command

Überblick

Paketzusammenfassung

Core application library for C

Befehle und Aliase

  • 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

Verlauf

Projektgeschichte und Nutzung

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.

Projektgeschichte

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.

Adoptionsgeschichte

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.

Wie es verwendet wird

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.

Warum Paket-Nerds sich dafür interessieren

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.

Zeitleiste

  • 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.

Sicherheitslage

Risikostufe: grün

library-like package without higher-risk signals.

Risikoklassifikator

grün Risiko · niedrig Konfidenz · appliance

Warum

  • library-like package without higher-risk signals

Signale

  • metadata:library-like

Installationsverhalten

  • Es wurden keine Homebrew-Bottle-Metadaten erfasst.

Empfohlene Prüfung

Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.

Executables

Installierte Executables

BefehlArtSichtbarkeitHinweis
gapplicationExecutableindexiertes ExecutableAus dem lokalen Executable-Index erkannt.
gdbusExecutableindexiertes ExecutableAus dem lokalen Executable-Index erkannt.
gdbus-codegenExecutableindexiertes ExecutableAus dem lokalen Executable-Index erkannt.
gi-compile-repositoryExecutableindexiertes ExecutableAus dem lokalen Executable-Index erkannt.
gi-decompile-typelibExecutableindexiertes ExecutableAus dem lokalen Executable-Index erkannt.
gi-inspect-typelibExecutableindexiertes ExecutableAus dem lokalen Executable-Index erkannt.
gioExecutableindexiertes ExecutableAus dem lokalen Executable-Index erkannt.
gio-querymodulesExecutableindexiertes ExecutableAus dem lokalen Executable-Index erkannt.
glib-compile-resourcesExecutableindexiertes ExecutableAus dem lokalen Executable-Index erkannt.
glib-compile-schemasExecutableindexiertes ExecutableAus dem lokalen Executable-Index erkannt.
glib-genmarshalExecutableindexiertes ExecutableAus dem lokalen Executable-Index erkannt.
glib-gettextizeExecutableindexiertes ExecutableAus dem lokalen Executable-Index erkannt.
glib-mkenumsExecutableindexiertes ExecutableAus dem lokalen Executable-Index erkannt.
gobject-queryExecutableindexiertes ExecutableAus dem lokalen Executable-Index erkannt.
gresourceExecutableindexiertes ExecutableAus dem lokalen Executable-Index erkannt.
gsettingsExecutableindexiertes ExecutableAus dem lokalen Executable-Index erkannt.
gtesterExecutableindexiertes ExecutableAus dem lokalen Executable-Index erkannt.
gtester-reportExecutableindexiertes ExecutableAus dem lokalen Executable-Index erkannt.

Aktualität

Version und 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.

Seite generiert2026-08-03
Manager-Version2.88.3
Manager aktualisiert2026-08-01
lokale Datenunbekannt
Upstreamnicht verfügbar
neueste erkannte Versionnicht erkannt
  • OKEs wurden keine Aktualitätswarnungen generiert.

Installationsmetadaten

Paketmetadaten

Paketschlüsselbrew:glib
Version2.88.3
PaketmanagerHomebrew
Homepagehttps://docs.gtk.org/glib/
Zuletzt aktualisiert2026-08-01T13:16:02Z
Pulseupdated
Bottlenicht erfasst
Dienstkeiner deklariert

Quellspur

Aus Repository-Daten generiert

Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.

Verwendete Quellen

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