[Bug 298936] devel/gitg: Fix build and plugin loading with GLib >= 2.85
- Reply: bugzilla-noreply_a_freebsd.org: "maintainer-feedback requested: [Bug 298936] devel/gitg: Fix build and plugin loading with GLib >= 2.85"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 298936] devel/gitg: Fix build and plugin loading with GLib >= 2.85"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 28 Sep 2026 04:29:52 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=298936
Bug ID: 298936
Summary: devel/gitg: Fix build and plugin loading with GLib >=
2.85
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Many People
Priority: ---
Component: Individual Port(s)
Assignee: gnome@FreeBSD.org
Reporter: David.S.Alessio@gmail.com
Assignee: gnome@FreeBSD.org
Flags: maintainer-feedback?(gnome@FreeBSD.org)
Created attachment 275200
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=275200&action=edit
devel/gitg: Fix build and plugin loading with GLib >= 2.85 (git format-patch)
devel/gitg: Fix build and plugin loading with GLib >= 2.85
libpeas1 1.38 is now built against GLib's libgirepository-2.0
(GIRepository-3.0), while gitg still used the old
gobject-introspection libgirepository-1.0 for one call. This caused
two problems:
- Build: the old and new introspection headers were both pulled into
one translation unit and clashed on incompatible typedefs.
- Runtime: gitg asked the old repository to load Peas-1.0, which now
depends on GIRepository-3.0, and failed with:
Typelib file for namespace 'GIRepository', version '3.0' not found
The plugins engine then returned early without loading the built-in
plugins, so the diff/files pane stayed blank.
gitg no longer needs to load the Peas typelibs itself, because libpeas
and pygobject now do it through GLib's libgirepository-2.0. Remove the
Introspection.Repository.require() block and the gobject-introspection-1.0
dependency from the gitg executable. gitg now links only
libgirepository-2.0, which also fixes the header clash.
Remove BROKEN and bump PORTREVISION.
Built and tested on FreeBSD 15.0-RELEASE amd64; warning gone, diff pane works.
Also built and tested on FreeBSD 15.1-STABLE stable/15-n285497-fe9e9dca8bad
GENERIC arm64.
--
You are receiving this mail because:
You are the assignee for the bug.