[Bug 735866] OS X build fails due to gi - incorrect gir search path

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Oct 17 21:07:47 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=735866
  GStreamer | cerbero | git

--- Comment #3 from Andoni Morales <ylatuya at gmail.com> 2014-10-17 23:12:14 UTC ---
gobject-introspection should work fine for a single architecture, but with
universal builds the typelibs are different for each architecture and gi
hardcodes the gir repository directory path to ${libdir}/girepository-1.0/

I am working on a solution to properly support custom paths in gi, where the
typelibs are installed in lib/girepository-1.0/$ARCH. This way universal builds
can ship typelibs for all the supported architectures and each architure will
find the correct typelibs in its directory.

I have openned a bug with a proposed path upstream, but no one seems to care:
https://bugzilla.gnome.org/show_bug.cgi?id=723862

My work is in the following branch:
https://github.com/ylatuya/cerbero/tree/gi

Each project using gi should now replace their makefiles with the following
code:
-girdir = $(datadir)/gir-1.0
+girdir = $(datadir)/$(INTROSPECTION_GIRSUFFIX)
 gir_DATA = $(INTROSPECTION_GIRS)

-typelibsdir = $(libdir)/girepository-1.0
+typelibsdir = $(libdir)/$(INTROSPECTION_TYPELIBSUFFIX)
 typelibs_DATA = $(INTROSPECTION_GIRS:.gir=.typelib) 

I have started doing it for several projects, but other are missing. Maybe some
one can follow-up and finish the remaing ones (gstreamer, gst-plugins-base,
gst-plugins-bad, gnonlin, ges, ...)

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list