[Webkit-unassigned] [Bug 32395] New: ftbfs with --disable-svg

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Dec 10 14:48:03 PST 2009


https://bugs.webkit.org/show_bug.cgi?id=32395

           Summary: ftbfs with --disable-svg
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebKit Gtk
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: diegoe at gnome.org


I'm building with:
./configure --prefix /home/diego/gnome/src/build --libdir
/home/diego/gnome/src/build/lib --disable-static --disable-gtk-doc
--enable-silent --disable-svg --enable-introspection --enable-gtk-doc CFLAGS=-g
-O2 LDFLAGS=-L/home/diego/gnome/src/build/lib  --no-create --no-recursion

and it fails to build because of including files that do not exist, inline
patch:

diff --git a/WebCore/platform/graphics/filters/FEComponentTransfer.h
b/WebCore/p
index 773aba7..e4ebf98 100644
--- a/WebCore/platform/graphics/filters/FEComponentTransfer.h
+++ b/WebCore/platform/graphics/filters/FEComponentTransfer.h
@@ -25,7 +25,9 @@
 #if ENABLE(FILTERS)
 #include "FilterEffect.h"

+#if ENABLE(SVG)
 #include "SVGFEDisplacementMap.h"
+#endif
 #include "Filter.h"
 #include <wtf/Vector.h>

diff --git a/WebKit/gtk/webkit/webkitwebframe.cpp
b/WebKit/gtk/webkit/webkitwebf
index 64fdc40..f3e74a7 100644
--- a/WebKit/gtk/webkit/webkitwebframe.cpp
+++ b/WebKit/gtk/webkit/webkitwebframe.cpp
@@ -54,7 +54,9 @@
 #include "JSDOMBinding.h"
 #include "ScriptController.h"
 #include "SubstituteData.h"
+#if ENABLE(SVG)
 #include "SVGSMILElement.h"
+#endif

 #include <atk/atk.h>
 #include <JavaScriptCore/APICast.h>
@@ -963,13 +965,13 @@ bool webkit_web_frame_pause_transition(WebKitWebFrame*
fra
 bool webkit_web_frame_pause_svg_animation(WebKitWebFrame* frame, const gchar*
a
 {
     ASSERT(core(frame));
+#if ENABLE(SVG)
     Document* document = core(frame)->document();
     if (!document || !document->svgExtensions())
         return false;
     Element* coreElement =
document->getElementById(AtomicString(animationId));
     if (!coreElement || !SVGSMILElement::isSMILElement(coreElement))
         return false;
-#if ENABLE(SVG)
     return document->accessSVGExtensions()->sampleAnimationAtTime(elementId,
st
 #else
     return false;

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



More information about the webkit-unassigned mailing list