[MacPorts] #60024: webkit2-gtk @2.26.2_0+minibrowser+x11 GIR Files Malformed
MacPorts
noreply at macports.org
Wed Jan 29 10:08:23 UTC 2020
#60024: webkit2-gtk @2.26.2_0+minibrowser+x11 GIR Files Malformed
--------------------------+----------------------
Reporter: jmercouris | Owner: kencu
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.6.1
Resolution: | Keywords:
Port: webkit2-gtk |
--------------------------+----------------------
Comment (by jmercouris):
Here is something very fascinating:
{{{/opt/local/share/gobject-introspection-1.0/Makefile.introspection}}}
Here is what the file says:
{{{
# * Input variables:
#
# INTROSPECTION_GIRS - List of GIRS that should be generated
# INTROSPECTION_SCANNER - Command to invoke scanner, normally set by
# GOBJECT_INTROSPECTION_REQUIRE/CHECK() in introspection.m4
# INTROSPECTION_SCANNER_ARGS - Additional args to pass in to the scanner
# INTROSPECTION_SCANNER_ENV - Environment variables to set before
running
# the scanner
# INTROSPECTION_COMPILER - Command to invoke compiler, normally set by
# GOBJECT_INTROSPECTION_REQUIRE/CHECK() in introspection.m4
# INTROSPECTION_COMPILER_ARGS - Additional args to pass in to the
compiler
#
# * Simple tutorial
#
# Add this to configure.ac:
# -Wno-portability to AM_INIT_AUTOMAKE
# GOBJECT_INTROSPECTION_CHECK([0.6.7])
#
# Add this to Makefile.am where your library/program is built:
# include $(INTROSPECTION_MAKEFILE)
# INTROSPECTION_GIRS = YourLib-1.0.gir
# YourLib-1.0.gir: libyourlib.la
# YourLib_1_0_gir_NAMESPACE = YourLib
# YourLib_1_0_gir_VERSION = 1.0
# YourLib_1_0_gir_LIBS = libyourlib.la
# YourLib_1_0_gir_FILES = $(libyourlib_1_0_SOURCES)
# girdir = $(datadir)/gir-1.0
# dist_gir_DATA = YourLib-1.0.gir
# typelibdir = $(libdir)/girepository-1.0
# typelib_DATA = YourLib-1.0.typelib
# CLEANFILES = $(dist_gir_DATA) $(typelib_DATA)
#
...
}}}
As you can see it is a little tutorial. Maybe it is just some things in
the makefile that need to be tweaked (they are tweaked for GTK)?
--
Ticket URL: <https://trac.macports.org/ticket/60024#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list