Opened 13 years ago
Closed 13 years ago
#33992 closed defect (fixed)
inkscape: #error "Only <glib.h> can be included directly."
Reported by: | bwalle (Bernhard Walle) | Owned by: | dbevans (David B. Evans) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.4 |
Keywords: | haspatch | Cc: | ryandesign (Ryan Carsten Schmidt), su-v |
Port: | inkscape |
Description
I get following errors:
make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_inkscape/inkscape/work/inkscape-0.48.2/src' CXX arc-context.o CXX box3d-context.o CXX attributes.o CXX axis-manip.o In file included from display/sp-canvas.h:30, from box3d-context.cpp:23: /opt/local/include/glib-2.0/glib/gtypes.h:28:2: error: #error "Only <glib.h> can be included directly." In file included from /opt/local/lib/glib-2.0/include/glibconfig.h:9, from /opt/local/include/glib-2.0/glib/gtypes.h:34, from display/sp-canvas.h:30, from box3d-context.cpp:23: /opt/local/include/glib-2.0/glib/gmacros.h:32:2: error: #error "Only <glib.h> can be included directly." In file included from /opt/local/include/glib-2.0/glib/gtypes.h:35, from display/sp-canvas.h:30, from box3d-context.cpp:23: /opt/local/include/glib-2.0/glib/gmacros.h:32:2: error: #error "Only <glib.h> can be included directly." In file included from /opt/local/include/glib-2.0/glib/gtypes.h:36, from display/sp-canvas.h:30, from box3d-context.cpp:23: /opt/local/include/glib-2.0/glib/gversionmacros.h:28:2: error: #error "Only <glib.h> can be included directly." In file included from attributes.cpp:21:
Attachments (2)
Change History (8)
comment:1 follow-up: 2 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | devans@… added |
---|---|
Owner: | changed from macports-tickets@… to ryandesign@… |
Status: | new → assigned |
Summary: | Inkscape does not build → inkscape: #error "Only <glib.h> can be included directly." |
comment:2 Changed 13 years ago by su-v
Replying to ryandesign@…:
Same glib 2.32 incompatibility we've seen in other ports lately. I'll see what I can do.
Upgrade to Inkscape 0.48.3.1 (0.48.3.1 and current trunk does support building with glib 2.31 and later versions, tracked in bug #898538)
(Note: the bug fix release hasn't been officially announced yet (pending packagers providing precompiled binaries for supported platforms)).
Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Attachment: | inkscape-0.48.3.1.diff added |
---|
proposed patch
comment:4 follow-up: 5 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added; devans@… removed |
---|---|
Keywords: | haspatch added |
Owner: | changed from ryandesign@… to devans@… |
Status: | assigned → new |
Thanks; here's a patch to update to 0.48.3.1, which does build for me.
comment:5 Changed 13 years ago by su-v
Replying to ryandesign@…:
Thanks; here's a patch to update to 0.48.3.1, which does build for me.
Attaching updated version of the Portfile patch for 0.48.3.1: the configure option '--with-xft' has been removed (bug #791709 ).
Changed 13 years ago by su-v
Attachment: | inkscape-0.48.3.1-remove-xft-configure-option.diff added |
---|
comment:6 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Maintainer timeout; committed in r91997.
Same glib 2.32 incompatibility we've seen in other ports lately. I'll see what I can do.