[MacPorts] #52248: inkscape fails to build due to glibmm inlining, regression caused by glib2 changes
MacPorts
noreply at macports.org
Wed Sep 14 23:16:26 CEST 2016
#52248: inkscape fails to build due to glibmm inlining, regression caused by glib2
changes
------------------------------------+----------------------
Reporter: jeremyhu@… | Owner: devans@…
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.3.4
Resolution: | Keywords:
Port: glib2 glibmm inkscape |
------------------------------------+----------------------
Comment (by devans@…):
I haven't completely wrapped my head around the precise mechanism of
failure and why it recently changed. However, glibmm and inkscape are
conceptually at odds in that glibmm is configured to build with deprecated
API enabled for backwards compatibility but inkscape builds with it's
"strict" build by default which means enabling the following in CPPFLAGS:
{{{
-DG_DISABLE_DEPRECATED -DGLIBMM_DISABLE_DEPRECATED
-DGDKMM_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED
-DGTKMM_DISABLE_DEPRECATED
}}}
As far as inciting event goes, in addition to the recent update to glib2,
gtkmm was recently updated so that may be an effect as well.
In any case, disabling the +strict variant allows inkscape to build
without error (for me at least).
--
Ticket URL: <https://trac.macports.org/ticket/52248#comment:7>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list