[MacPorts] #39898: webkit-gtk @2.0.4_0+quartz: build fails on X11/xresource.h code dependencies
MacPorts
noreply at macports.org
Fri Aug 9 19:08:36 PDT 2013
#39898: webkit-gtk @2.0.4_0+quartz: build fails on X11/xresource.h code
dependencies
-------------------------+------------------------
Reporter: c.herbig@… | Owner: jeremyhu@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.2.0
Resolution: | Keywords:
Port: webkit-gtk |
-------------------------+------------------------
Comment (by c.herbig@…):
The first problem can be fixed by patching out {{{include
<X11/Xresource.h>}}}.
The second problem is in this code in PluginView.h
{{{
#if defined(XP_UNIX) || PLATFORM(GTK)
void setNPWindowIfNeeded();
#elif defined(XP_MACOSX)
NP_CGContext m_npCgContext;
OwnPtr<Timer<PluginView> > m_nullEventTimer;
NPDrawingModel m_drawingModel;
NPEventModel m_eventModel;
CGContextRef m_contextRef;
WindowRef m_fakeWindow;
#if PLATFORM(QT)
QPixmap m_pixmap;
#endif
Point m_lastMousePos;
void setNPWindowIfNeeded();
void nullEventTimerFired(Timer<PluginView>*);
Point globalMousePosForPlugin() const;
Point mousePosForPlugin(MouseEvent* event = 0) const;
#endif
#if defined(XP_UNIX) && ENABLE(NETSCAPE_PLUGIN_API)
bool m_hasPendingGeometryChange;
Pixmap m_drawable;
Visual* m_visual;
Colormap m_colormap;
Display* m_pluginDisplay;
void initXEvent(XEvent* event);
#endif
}}}
So, without changing the code, it seems there needs to be a way to set
{{{ENABLE_NETSCAPE_PLUGIN_API=0}}} and see if that is the only remaining
build error. However, I've tried {{{configure.env-append
--ENABLE_NETSCAPE_PLUGIN_API=0}}} but it doesn't actually change it, and
that's all I know how to do.
--
Ticket URL: <https://trac.macports.org/ticket/39898#comment:13>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list