<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>112394</bug_id>
          
          <creation_ts>2013-03-14 17:01:26 -0700</creation_ts>
          <short_desc>WebKit doesn&apos;t build Tools/GtkLauncher/Programs_GtkLauncher-main.o if --disable-video due to missing gstreamer flags</short_desc>
          <delta_ts>2013-03-15 00:16:11 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>New Bugs</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Tobias Mueller">tobiasmue</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>calvaris</cc>
    
    <cc>gustavo</cc>
    
    <cc>mrobinson</cc>
    
    <cc>pnormand</cc>
    
    <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>855579</commentid>
    <comment_count>0</comment_count>
    <who name="Tobias Mueller">tobiasmue</who>
    <bug_when>2013-03-14 17:01:26 -0700</bug_when>
    <thetext>WebKit doesn&apos;t build Tools/GtkLauncher/Programs_GtkLauncher-main.o if --disable-video due to missing gstreamer flags</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>855595</commentid>
    <comment_count>1</comment_count>
      <attachid>193208</attachid>
    <who name="Tobias Mueller">tobiasmue</who>
    <bug_when>2013-03-14 17:17:34 -0700</bug_when>
    <thetext>Created attachment 193208
Patch guarding gst header inclusion and gst function usage


WebKit was configured with the following options:
$ ./autogen.sh --prefix /opt/gnome2 --libdir /opt/gnome2/lib64 --enable-introspection  --with-gstreamer=1.0 --disable-static --disable-scrollkeeper --disable-gtk-doc --disable-docs --enable-gtk-doc=no --enable-gtk-doc-html=no --enable-gtk-doc-pdf=no --enable-webkit1 --disable-spellcheck --disable-glx --disable-egl --disable-gles2 --disable-gamepad --disable-video --disable-mediastream --enable-xslt --disable-geolocation --disable-svg --disable-svg-fonts --disable-web-audio --disable-coverage --disable-webgl --disable-gtk-doc-html --disable-accelerated-compositing

Build configuration:
 Enable debugging (slow)                                  : no
 Compile with debug symbols (slow)                        : no
 Enable GCC build optimization                            : yes
 Code coverage support                                    : no
 Optimized memory allocator                               : yes
 Accelerated rendering backend                            : opengl(gl)

Features:
=======
 WebKit1 support                                          : yes
 WebKit2 support                                          : yes
 Accelerated Compositing                                  : no
 Gamepad support                                          : no
 Geolocation support                                      : no
 HTML5 video element support                              : no
 JIT compilation                                          : autodetect
 Opcode stats                                             : no
 SVG fonts support                                        : no
 SVG support                                              : no
 Spellcheck support                                       : no
 Web Audio support                                        : no
 WebGL                                                    : no


GTK+ configuration:
 GTK+ version                                             : 3.0
 GDK target                                               : x11
 Introspection support                                    : yes
 Generate documentation                                   : no



  CC     Tools/GtkLauncher/Programs_GtkLauncher-LauncherInspectorWindow.o
  CC     Tools/GtkLauncher/Programs_GtkLauncher-main.o
  CC     Tools/MiniBrowser/gtk/Programs_MiniBrowser-BrowserCellRendererVariant.o
Tools/GtkLauncher/main.c:31:21: fatal error: gst/gst.h: No such file or directory
compilation terminated.
make[1]: *** [Tools/GtkLauncher/Programs_GtkLauncher-main.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/tmp/wk-noting-but-wk1&apos;
make: *** [all] Error 2


gcc -DHAVE_CONFIG_H -I.  -I./Source/WebKit/gtk -I./Source/WebCore/platform/network/soup/cache/ -I./Source/WebKit/gtk -I./DerivedSources -DWEBKIT_EXEC_PATH=\&quot;/home/muelli/svn/gnome2/WebKit/./Programs/\&quot; -Wall -W -Wcast-align -Wchar-subscripts -Wreturn-type -Wformat -Wformat-security -Wno-format-y2k -Wundef -Wmissing-format-attribute -Wpointer-arith -Wwrite-strings -Wno-unused-parameter -Wno-parentheses -fno-exceptions -DBUILDING_CAIRO__ -DBUILDING_GTK__ -DBUILDING_WEBKIT2__   -I./Source -I./Source/JavaScriptCore -I./Source/JavaScriptCore/API -I./Source/JavaScriptCore/assembler -I./Source/JavaScriptCore/bytecode -I./Source/JavaScriptCore/bytecompiler -I./Source/JavaScriptCore/dfg -I./Source/JavaScriptCore/disassembler -I./Source/JavaScriptCore/heap -I./Source/JavaScriptCore/debugger -I./Source/JavaScriptCore/ForwardingHeaders -I./Source/JavaScriptCore/interpreter -I./Source/JavaScriptCore/jit -I./Source/JavaScriptCore/jit -I./Source/JavaScriptCore/llint -I./Source/JavaScriptCore/parser -I./Source/JavaScriptCore/profiler -I./Source/JavaScriptCore/runtime -I./Source/JavaScriptCore/tools -I./Source/JavaScriptCore/yarr -I./DerivedSources/JavaScriptCore -I./Source/WTF  -ansi -fno-strict-aliasing  -I/opt/gnome2/include/glib-2.0 -I/opt/gnome2/lib64/glib-2.0/include -I/opt/gnome2/include/harfbuzz -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/libpng15   -pthread -I/opt/gnome2/include/gtk-3.0 -I/opt/gnome2/include/atk-1.0 -I/opt/gnome2/include/at-spi2-atk/2.0 -I/opt/gnome2/include/pango-1.0 -I/opt/gnome2/include/gio-unix-2.0/ -I/opt/gnome2/include/gdk-pixbuf-2.0 -I/opt/gnome2/include/glib-2.0 -I/opt/gnome2/lib64/glib-2.0/include -I/opt/gnome2/include/harfbuzz -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/libpng15   -pthread -I/opt/gnome2/include/libsoup-2.4 -I/opt/gnome2/include/libxml2 -I/opt/gnome2/include/glib-2.0 -I/opt/gnome2/lib64/glib-2.0/include    -std=c99 -O2 -MT Tools/GtkLauncher/Programs_GtkLauncher-main.o -MD -MP -MF Tools/GtkLauncher/.deps/Programs_GtkLauncher-main.Tpo -c -o Tools/GtkLauncher/Programs_GtkLauncher-main.o `test -f &apos;Tools/GtkLauncher/main.c&apos; || echo &apos;./&apos;`Tools/GtkLauncher/main.c
mv -f Tools/DumpRenderTree/gtk/.deps/Programs_DumpRenderTree-TextInputController.Tpo Tools/DumpRenderTree/gtk/.deps/Programs_DumpRenderTree-TextInputController.Po
Tools/GtkLauncher/main.c:31:21: fatal error: gst/gst.h: No such file or directory
compilation terminated.
make[1]: *** [Tools/GtkLauncher/Programs_GtkLauncher-main.o] Error 1

Note that gstreamer was not installed.
With the patch attached it builds fine. Interestingly though, I couldn&apos;t find any other user of WTF_USE_GSTREAMER.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>855753</commentid>
    <comment_count>2</comment_count>
      <attachid>193208</attachid>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2013-03-15 00:11:14 -0700</bug_when>
    <thetext>Comment on attachment 193208
Patch guarding gst header inclusion and gst function usage

Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>855758</commentid>
    <comment_count>3</comment_count>
      <attachid>193208</attachid>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2013-03-15 00:16:08 -0700</bug_when>
    <thetext>Comment on attachment 193208
Patch guarding gst header inclusion and gst function usage

Clearing flags on attachment: 193208

Committed r145881: &lt;http://trac.webkit.org/changeset/145881&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>855759</commentid>
    <comment_count>4</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2013-03-15 00:16:11 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>193208</attachid>
            <date>2013-03-14 17:17:34 -0700</date>
            <delta_ts>2013-03-15 00:16:08 -0700</delta_ts>
            <desc>Patch guarding gst header inclusion and gst function usage</desc>
            <filename>gst.patch</filename>
            <type>text/plain</type>
            <size>1530</size>
            <attacher name="Tobias Mueller">tobiasmue</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1Rvb2xzL0NoYW5nZUxvZyBiL1Rvb2xzL0NoYW5nZUxvZwppbmRleCA1NGRl
ZTBiLi4xNzEyMDY1IDEwMDY0NAotLS0gYS9Ub29scy9DaGFuZ2VMb2cKKysrIGIvVG9vbHMvQ2hh
bmdlTG9nCkBAIC0xLDMgKzEsMTMgQEAKKzIwMTMtMDMtMTQgIFRvYmlhcyBNdWVsbGVyICA8dG9i
aWFzbXVlQGdub21lLm9yZz4KKworICAgICAgICBCdWlsZCBmaXggZm9yIFRvb2xzL0d0a0xhdW5j
aGVyL1Byb2dyYW1zX0d0a0xhdW5jaGVyLW1haW4ubyBpZiBnc3RyZWFtZXIgaXMgbm90IGluc3Rh
bGxlZAorICAgICAgICBodHRwczovL2J1Z3Mud2Via2l0Lm9yZy9zaG93X2J1Zy5jZ2k/aWQ9MTEy
Mzk0CisKKyAgICAgICAgUmV2aWV3ZWQgYnkgTk9CT0RZIChPT1BTISkuCisKKyAgICAgICAgKiBH
dGtMYXVuY2hlci9tYWluLmM6CisgICAgICAgIChtYWluKTogR3VhcmQgdXNpbmcgdGhlIGdzdHJl
YW1lciBmdW5jdGlvbiB3aXRoICNpZmRlZiBXVEZfVVNFX0dTVFJFQU1FUgorCiAyMDEzLTAzLTEz
ICBFbGxpb3R0IFNwcmVobiAgPGVzcHJlaG5AY2hyb21pdW0ub3JnPgogCiAgICAgICAgIFVucmV2
aWV3ZWQuIE5vdyBJJ20gYSByZXZpZXdlciA6KQpkaWZmIC0tZ2l0IGEvVG9vbH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