<?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>84526</bug_id>
          
          <creation_ts>2012-04-21 02:29:29 -0700</creation_ts>
          <short_desc>webkit-gtk-1.8.0 fails to build with --disable-video in DerivedSources/webkit/WebKitDOMHTMLMediaElement.cpp</short_desc>
          <delta_ts>2013-09-12 14:36:08 -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>WebKitGTK</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="Alexandre Rostovtsev">tetromino</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>abarth</cc>
    
    <cc>berto</cc>
    
    <cc>gnome</cc>
    
    <cc>haraken</cc>
    
    <cc>japhet</cc>
    
    <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>607189</commentid>
    <comment_count>0</comment_count>
    <who name="Alexandre Rostovtsev">tetromino</who>
    <bug_when>2012-04-21 02:29:29 -0700</bug_when>
    <thetext>(as reported downstream at https://bugs.gentoo.org/show_bug.cgi?id=412221)
If configured with --disable-video, webkit-gtk-1.8.0 build fails with:

DerivedSources/webkit/WebKitDOMHTMLMediaElement.cpp: In function ‘void webkit_dom_html_media_element_set_property(GObject*, guint, const GValue*, GParamSpec*)’:
DerivedSources/webkit/WebKitDOMHTMLMediaElement.cpp:149:5: error: ‘HTMLMediaElement’ is not a member of ‘WebCore’
DerivedSources/webkit/WebKitDOMHTMLMediaElement.cpp:149:32: error: ‘coreSelf’ was not declared in this scope
DerivedSources/webkit/WebKitDOMHTMLMediaElement.cpp:149:43: error: ‘core’ is not a member of ‘WebKit’
DerivedSources/webkit/WebKitDOMHTMLMediaElement.cpp: In function ‘void webkit_dom_html_media_element_get_property(GObject*, guint, GValue*, GParamSpec*)’:
DerivedSources/webkit/WebKitDOMHTMLMediaElement.cpp:234:5: error: ‘HTMLMediaElement’ is not a member of ‘WebCore’
DerivedSources/webkit/WebKitDOMHTMLMediaElement.cpp:234:32: error: ‘coreSelf’ was not declared in this scope
DerivedSources/webkit/WebKitDOMHTMLMediaElement.cpp:234:43: error: ‘core’ is not a member of ‘WebKit’
DerivedSources/webkit/WebKitDOMHTMLMediaElement.cpp:238:16: error: ‘MediaError’ is not a member of ‘WebCore’
DerivedSources/webkit/WebKitDOMHTMLMediaElement.cpp:238:16: error: ‘MediaError’ is not a member of ‘WebCore’
DerivedSources/webkit/WebKitDOMHTMLMediaElement.cpp:238:35: error: template argument 1 is invalid
DerivedSources/webkit/WebKitDOMHTMLMediaElement.cpp:238:41: error: invalid type in declaration before ‘=’ token
DerivedSources/webkit/WebKitDOMHTMLMediaElement.cpp:239:51: error: request for member ‘get’ in ‘ptr’, which is of non-class type ‘int’
DerivedSources/webkit/WebKitDOMHTMLMediaElement.cpp:265:56: error: no matching function for call to ‘kit(WebCore::TimeRanges*)’
DerivedSources/webkit/WebKitDOMHTMLMediaElement.cpp:265:56: note: candidates are:
./Source/WebCore/bindings/gobject/WebKitDOMBinding.h:38:16: note: WebKitDOMNode* WebKit::kit(WebCore::Node*)
./Source/WebCore/bindings/gobject/WebKitDOMBinding.h:38:16: note:   no known conversion for argument 1 from ‘WebCore::TimeRanges*’ to ‘WebCore::Node*’
./Source/WebCore/bindings/gobject/WebKitDOMBinding.h:39:19: note: WebKitDOMElement* WebKit::kit(WebCore::Element*)
./Source/WebCore/bindings/gobject/WebKitDOMBinding.h:39:19: note:   no known conversion for argument 1 from ‘WebCore::TimeRanges*’ to ‘WebCore::Element*’
./Source/WebCore/bindings/gobject/WebKitDOMBinding.h:40:17: note: WebKitDOMEvent* WebKit::kit(WebCore::Event*)
./Source/WebCore/bindings/gobject/WebKitDOMBinding.h:40:17: note:   no known conversion for argument 1 from ‘WebCore::TimeRanges*’ to ‘WebCore::Event*’
./Source/WebCore/bindings/gobject/WebKitDOMBinding.h:41:23: note: WebKitDOMEventTarget* WebKit::kit(WebCore::EventTarget*)
./Source/WebCore/bindings/gobject/WebKitDOMBinding.h:41:23: note:   no known conversion for argument 1 from ‘WebCore::TimeRanges*’ to ‘WebCore::EventTarget*’
DerivedSources/webkit/WebKitDOMHTMLMediaElement.cpp:316:56: error: no matching function for call to ‘kit(WebCore::TimeRanges*)’
DerivedSources/webkit/WebKitDOMHTMLMediaElement.cpp:316:56: note: candidates are:
./Source/WebCore/bindings/gobject/WebKitDOMBinding.h:38:16: note: WebKitDOMNode* WebKit::kit(WebCore::Node*)
./Source/WebCore/bindings/gobject/WebKitDOMBinding.h:38:16: note:   no known conversion for argument 1 from ‘WebCore::TimeRanges*’ to ‘WebCore::Node*’
./Source/WebCore/bindings/gobject/WebKitDOMBinding.h:39:19: note: WebKitDOMElement* WebKit::kit(WebCore::Element*)
./Source/WebCore/bindings/gobject/WebKitDOMBinding.h:39:19: note:   no known conversion for argument 1 from ‘WebCore::TimeRanges*’ to ‘WebCore::Element*’
./Source/WebCore/bindings/gobject/WebKitDOMBinding.h:40:17: note: WebKitDOMEvent* WebKit::kit(WebCore::Event*)
./Source/WebCore/bindings/gobject/WebKitDOMBinding.h:40:17: note:   no known conversion for argument 1 from ‘WebCore::TimeRanges*’ to ‘WebCore::Event*’
./Source/WebCore/bindings/gobject/WebKitDOMBinding.h:41:23: note: WebKitDOMEventTarget* WebKit::kit(WebCore::EventTarget*)
./Source/WebCore/bindings/gobject/WebKitDOMBinding.h:41:23: note:   no known conversion for argument 1 from ‘WebCore::TimeRanges*’ to ‘WebCore::EventTarget*’
DerivedSources/webkit/WebKitDOMHTMLMediaElement.cpp:322:56: error: no matching function for call to ‘kit(WebCore::TimeRanges*)’
DerivedSources/webkit/WebKitDOMHTMLMediaElement.cpp:322:56: note: candidates are:
./Source/WebCore/bindings/gobject/WebKitDOMBinding.h:38:16: note: WebKitDOMNode* WebKit::kit(WebCore::Node*)
./Source/WebCore/bindings/gobject/WebKitDOMBinding.h:38:16: note:   no known conversion for argument 1 from ‘WebCore::TimeRanges*’ to ‘WebCore::Node*’
./Source/WebCore/bindings/gobject/WebKitDOMBinding.h:39:19: note: WebKitDOMElement* WebKit::kit(WebCore::Element*)
./Source/WebCore/bindings/gobject/WebKitDOMBinding.h:39:19: note:   no known conversion for argument 1 from ‘WebCore::TimeRanges*’ to ‘WebCore::Element*’
./Source/WebCore/bindings/gobject/WebKitDOMBinding.h:40:17: note: WebKitDOMEvent* WebKit::kit(WebCore::Event*)
./Source/WebCore/bindings/gobject/WebKitDOMBinding.h:40:17: note:   no known conversion for argument 1 from ‘WebCore::TimeRanges*’ to ‘WebCore::Event*’
./Source/WebCore/bindings/gobject/WebKitDOMBinding.h:41:23: note: WebKitDOMEventTarget* WebKit::kit(WebCore::EventTarget*)
./Source/WebCore/bindings/gobject/WebKitDOMBinding.h:41:23: note:   no known conversion for argument 1 from ‘WebCore::TimeRanges*’ to ‘WebCore::EventTarget*’
make: *** [DerivedSources/webkit/libwebkitgtk_3_0_la-WebKitDOMHTMLMediaElement.lo] Error 1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>612228</commentid>
    <comment_count>1</comment_count>
      <attachid>139350</attachid>
    <who name="Mikhail Khokhlov">mikhail.khokhlov</who>
    <bug_when>2012-04-28 03:31:21 -0700</bug_when>
    <thetext>Created attachment 139350
Simple patch for CodeGeneratorGObject.pm</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>615055</commentid>
    <comment_count>2</comment_count>
    <who name="Alexandre Rostovtsev">tetromino</who>
    <bug_when>2012-05-02 23:52:08 -0700</bug_when>
    <thetext>(In reply to comment #1)
&gt; Created an attachment (id=139350) [details]
&gt; Simple patch for CodeGeneratorGObject.pm

Thanks, that fixes the build failure.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>928494</commentid>
    <comment_count>3</comment_count>
    <who name="Alberto Garcia">berto</who>
    <bug_when>2013-09-12 14:36:08 -0700</bug_when>
    <thetext>There&apos;s a problem now since disabling VIDEO also requires to disable VIDEO_TRACK (I filed bug 121259 about that problem).

But otherwise the issue described here is no longer present, so I&apos;m closing this bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>139350</attachid>
            <date>2012-04-28 03:31:21 -0700</date>
            <delta_ts>2012-04-28 03:31:21 -0700</delta_ts>
            <desc>Simple patch for CodeGeneratorGObject.pm</desc>
            <filename>WebKit-CodeGeneratorGObject.patch</filename>
            <type>text/plain</type>
            <size>614</size>
            <attacher name="Mikhail Khokhlov">mikhail.khokhlov</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9XZWJDb3JlL2JpbmRpbmdzL3NjcmlwdHMvQ29kZUdlbmVyYXRvckdPYmpl
Y3QucG0KPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PQotLS0gU291cmNlL1dlYkNvcmUvYmluZGluZ3Mvc2NyaXB0cy9Db2Rl
R2VuZXJhdG9yR09iamVjdC5wbQkocmV2aXNpb24gMTE1NTYyKQorKysgU291cmNlL1dlYkNvcmUv
YmluZGluZ3Mvc2NyaXB0cy9Db2RlR2VuZXJhdG9yR09iamVjdC5wbQkod29ya2luZyBjb3B5KQpA
QCAtMTQ0NCw5ICsxNDQ0LDEwIEBACiAgICAgcHJpbnQgSU1QTCAibmFtZXNwYWNlIFdlYktpdCB7
XG5cbiI7CiAgICAgcHJpbnQgSU1QTCBAY0JvZHlQcml2OwogICAgIHByaW50IElNUEwgIn0gLy8g
bmFtZXNwYWNlIFdlYktpdFxuXG4iOworCisgICAgcHJpbnQgSU1QTCBAY0JvZHlQcm9wZXJ0aWVz
OwogICAgIHByaW50IElNUEwgIiNlbmRpZiAvLyAke2NvbmRpdGlvbmFsU3RyaW5nfVxuXG4iIGlm
ICRjb25kaXRpb25hbFN0cmluZzsKIAotICAgIHByaW50IElNUEwgQGNCb2R5UHJvcGVydGllczsK
ICAgICBwcmludCBJTVBMIEBjQm9keTsKIAogICAgIGNsb3NlKElNUEwpOwo=
</data>

          </attachment>
      

    </bug>

</bugzilla>