BSD Ports

devel/glib20 2.90.0,2 MidnightBSD

Some useful routines of C programming (current stable version)

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
Last update
Commit
9dfc7ebb79
License
lgpl
Categories
devel

Description

GLib provides a simple, abstract, and highly portable set of C support routines such as lists, trees, hashes, memory allocation, and much, much more. It is a foundation for writing portable applications.

In the other systems

The newest version among them is 2.90.0, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
MidnightBSDdevel/glib202.90.0,2 newestno data-[email protected]2026-09-16
FreeBSDdevel/glib202.88.3,2 behind since 2026-09-16none known-[email protected]2026-08-07
DragonFlydevel/glib202.80.5_1,2 behind since 2026-08-07none known-[email protected]-
HardenedBSDdevel/glib202.88.3,2 behind since 2026-09-16no data-[email protected]-
GhostBSDdevel/glib202.88.3,2 behind since 2026-09-16no data-[email protected]-
OPNsensedevel/glib202.86.4,2 behind since 2026-08-07no data-[email protected]-

Compare across BSDs

Version history 2

  1. 2.90.0 9dfc7ebb79
  2. 2.88.3 c8a0e2d7e6

Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.

Install

Binary package:

mport install glib

From mports:

cd /usr/mports/devel/glib20 && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	glib>0:devel/glib20
LIB_DEPENDS=	libgio-2.0.so:devel/glib20

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

As this port's Makefile names them.

Build 1

Library 3

Runtime 1

Build dependencies 4
Run dependencies 4

Configuration

Options name: devel_glib

OptionDefaultDescription
DOCSoff
FAM_ALTBACKENDoffAlternate file monitor backend
MANPAGESon
NLSoff
USES
compiler:c11 cpe gettext gnome iconv:wchar_t localbase:ldflags meson perl5 pkgconfig python tar:xz ${${FLAVORS:[1]}_USES}
Service scripts
none
Conflicts with
p5-Giovanni

Files

Manual pages 18
  • gapplication(1)
  • gdbus(1)
  • gdbus-codegen(1)
  • gi-compile-repository(1)
  • gi-decompile-typelib(1)
  • gi-inspect-typelib(1)
  • gio(1)
  • gio-querymodules(1)
  • glib-compile-resources(1)
  • glib-compile-schemas(1)
  • glib-genmarshal(1)
  • glib-gettextize(1)
  • glib-mkenums(1)
  • gobject-query(1)
  • gresource(1)
  • gsettings(1)
  • gtester(1)
  • gtester-report(1)
pkg-plist 8166
  • @preexec mkdir -p /usr/local/glib-bootstrap
  • bin/gapplication
  • bin/gdbus
  • bin/gdbus-codegen
  • bin/gi-compile-repository
  • bin/gi-decompile-typelib
  • bin/gi-inspect-typelib
  • bin/gio
  • bin/gio-querymodules
  • bin/glib-compile-resources
  • bin/glib-compile-schemas
  • bin/glib-genmarshal
  • bin/glib-gettextize
  • bin/glib-mkenums
  • bin/gobject-query
  • bin/gresource
  • bin/gsettings
  • bin/gtester
  • bin/gtester-report
  • include/gio-unix-2.0/gio/gfiledescriptorbased.h
  • include/gio-unix-2.0/gio/gunixmounts.h
  • include/gio-unix-2.0/gio/gunixoutputstream.h
  • include/gio-unix-2.0/gio/gunixinputstream.h
  • include/gio-unix-2.0/gio/gunixfdmessage.h
  • include/gio-unix-2.0/gio/gdesktopappinfo.h
  • include/glib-2.0/glib-object.h
  • include/glib-2.0/gmodule.h
  • include/glib-2.0/gobject/gsourceclosure.h
  • include/glib-2.0/gobject/gvaluetypes.h
  • include/glib-2.0/gobject/genums.h
  • include/glib-2.0/gobject/gbindinggroup.h
  • include/glib-2.0/gobject/gobject-autocleanups.h
  • include/glib-2.0/gobject/gtype.h
  • include/glib-2.0/gobject/gvaluecollector.h
  • include/glib-2.0/gobject/glib-types.h
  • include/glib-2.0/gobject/gparam.h
  • include/glib-2.0/gobject/gbinding.h
  • include/glib-2.0/gobject/gtypeplugin.h
  • include/glib-2.0/gobject/gvaluearray.h
  • include/glib-2.0/gobject/gsignal.h
  • include/glib-2.0/gobject/gvalue.h
  • include/glib-2.0/gobject/gsignalgroup.h
  • include/glib-2.0/gobject/glib-enumtypes.h
  • include/glib-2.0/gobject/gobject.h
  • include/glib-2.0/gobject/gboxed.h
  • include/glib-2.0/gobject/gparamspecs.h
  • include/glib-2.0/gobject/gmarshal.h
  • include/glib-2.0/gobject/gtypemodule.h
  • include/glib-2.0/gobject/gclosure.h
  • include/glib-2.0/gobject/gobject-visibility.h
  • include/glib-2.0/gobject/gobjectnotifyqueue.c
  • include/glib-2.0/glib/gtree.h
  • include/glib-2.0/glib/gscanner.h
  • include/glib-2.0/glib/gmarkup.h
  • include/glib-2.0/glib/glib-typeof.h
  • include/glib-2.0/glib/ggettext.h
  • include/glib-2.0/glib/gstrvbuilder.h
  • include/glib-2.0/glib/giochannel.h
  • include/glib-2.0/glib/gvariant.h
  • include/glib-2.0/glib/ghook.h
  • include/glib-2.0/glib/gstrfuncs.h
  • include/glib-2.0/glib/gchecksum.h
  • include/glib-2.0/glib/guri.h
  • include/glib-2.0/glib/gasyncqueue.h
  • include/glib-2.0/glib/gslist.h
  • include/glib-2.0/glib/ghostutils.h
  • include/glib-2.0/glib/gunicode.h
  • include/glib-2.0/glib/gquark.h
  • include/glib-2.0/glib/gmem.h
  • include/glib-2.0/glib/gstring.h
  • include/glib-2.0/glib/grefstring.h
  • include/glib-2.0/glib/gdate.h
  • include/glib-2.0/glib/gmacros.h
  • include/glib-2.0/glib/gbytes.h
  • include/glib-2.0/glib/gtestutils.h
  • include/glib-2.0/glib/gthreadpool.h
  • include/glib-2.0/glib/gbase64.h
  • include/glib-2.0/glib/goption.h
  • include/glib-2.0/glib/gthread.h
  • include/glib-2.0/glib/galloca.h
  • include/glib-2.0/glib/grcbox.h
  • include/glib-2.0/glib/gqueue.h
  • include/glib-2.0/glib/ghmac.h
  • include/glib-2.0/glib/gversion.h
  • include/glib-2.0/glib/grand.h
  • include/glib-2.0/glib/gprintf.h
  • include/glib-2.0/glib/gsequence.h
  • include/glib-2.0/glib/gi18n-lib.h
  • include/glib-2.0/glib/genviron.h
  • include/glib-2.0/glib/gslice.h
  • include/glib-2.0/glib/ghash.h
  • include/glib-2.0/glib/glist.h
  • include/glib-2.0/glib/gmappedfile.h
  • include/glib-2.0/glib/gdatetime.h
  • include/glib-2.0/glib/gmessages.h
  • include/glib-2.0/glib/gerror.h
  • include/glib-2.0/glib/garray.h
  • include/glib-2.0/glib/gspawn.h
  • include/glib-2.0/glib/gstringchunk.h
  • include/glib-2.0/glib/gdir.h

The first 100 are listed.

distinfo 1
FileSizeSHA256
gnome/glib-2.90.0.tar.xz5.83048e+0617d15cac2af80a33271127408e0abc2748eb297c595c2a26409e81e14e7d1b8f
Master sites 1
  • GNOME

Commit history 3

DateCommitCreditsLog message
9dfc7ebb79 Lucas Holt devel/glib20: update to 2.90.0 (#1335)
Updates GLib to 2.90.0, required by current GNOME 51 applications. Refreshes the staged API/documentation manifest and retains MidnightBSD bootstrap, trigger, and runtime compatibility handling. The default package, a DOCS/MANPAGES/NLS-off package, and the bootstrap package all succeed. Validation: bmake makesum, patch, build, fake, package, test (NO_TEST retained), check-license, option-off package, bootstrap package, and git diff --check. portlint -C reports one existing Makefile blank-line fatal plus legacy/style warnings; the refreshed plist itself produces warnings only. ## Summary by Sourcery Update GLib to 2.90.0 and refresh its packaging metadata for current GNOME applications. Enhancements: - Update the GLib dependency to version 2.90.0 for compatibility with …
c8a0e2d7e6 Lucas Holt devel/glib20: update to 2.88.3 (#892)
Updates GLib to 2.88.3 from the FreeBSD ports reference, including the 2.88 packaging migration and retained MidnightBSD compatibility patches. Validation: makesum, patch, build, fake, clean package, check-license, and git diff --check. Tests remain disabled by the port. portlint reports pre-existing Makefile formatting/style findings. ## Summary by Sourcery Update the glib20 port to GLib 2.88.3 with refreshed packaging and compatibility patches. Enhancements: - Update the GLib port to version 2.88.3 and refresh its packaging metadata for the newer release. - Retain the MidnightBSD XDG configuration compatibility adjustment while updating it for the new GLib test layout. Chores: - Remove obsolete compatibility patches superseded by the GLib update. --------- …
2937ffd3b6 Lucas Holt devel/glib20: fix plist
Remove documentation entries that GLib 2.84.1 no longer installs, allowing the fake plist check to pass. AI-Assisted-by: Codex (GPT-5) <[email protected]> Signed-off-by: Lucas Holt <[email protected]>