<?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>241128</bug_id>
          
          <creation_ts>2022-05-31 06:29:30 -0700</creation_ts>
          <short_desc>[WPE][GTK] Expose ENABLE_VIDEO build option</short_desc>
          <delta_ts>2022-06-02 12:47:33 -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>WebKit Nightly Build</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</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>1</everconfirmed>
          <reporter name="Michael Catanzaro">mcatanzaro</reporter>
          <assigned_to name="Michael Catanzaro">mcatanzaro</assigned_to>
          <cc>aperez</cc>
    
    <cc>bugs-noreply</cc>
    
    <cc>mcatanzaro</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1872954</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2022-05-31 06:29:30 -0700</bug_when>
    <thetext>We should expose ENABLE_VIDEO as a public build option because it allows disabling GStreamer, a major dependency. This is useful on embedded systems where video is not needed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1872957</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2022-05-31 06:31:59 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/1181</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1873012</commentid>
    <comment_count>2</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2022-05-31 10:06:29 -0700</bug_when>
    <thetext>Committed r295057 (251152@main): &lt;https://commits.webkit.org/251152@main&gt;

Reviewed commits have been landed. Closing PR #1181 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1873069</commentid>
    <comment_count>3</comment_count>
    <who name="Adrian Perez">aperez</who>
    <bug_when>2022-05-31 12:20:09 -0700</bug_when>
    <thetext>(In reply to Michael Catanzaro from comment #0)
&gt; We should expose ENABLE_VIDEO as a public build option because it allows
&gt; disabling GStreamer, a major dependency. This is useful on embedded systems
&gt; where video is not needed.

For future reference, in case someone arrives to this bug trying to avoid
the GStreamer dependency in their builds: ENABLE_VIDEO and ENABLE_WEB_AUDIO
need to be *both disabled* in order for the WebKit WPE and GTK ports to avoid
the GStreamer dependency.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1873094</commentid>
    <comment_count>4</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2022-05-31 13:21:18 -0700</bug_when>
    <thetext>Oh... and that option is not public either. I suppose I&apos;d better expose that too?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1873181</commentid>
    <comment_count>5</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2022-05-31 17:18:20 -0700</bug_when>
    <thetext>Maybe I should change this to USE_GSTREAMER instead? That can toggle both ENABLE_VIDEO and ENABLE_WEB_AUDIO.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1873629</commentid>
    <comment_count>6</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2022-06-02 11:11:33 -0700</bug_when>
    <thetext>ENABLE_VIDEO and ENABLE_WEB_AUDIO were both already public, in GStreamerDefinitions.cmake:

WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_VIDEO PUBLIC ON)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_WEB_AUDIO PUBLIC ON)

Adrian and I were both wrong. I&apos;ll just revert this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1873630</commentid>
    <comment_count>7</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2022-06-02 11:13:51 -0700</bug_when>
    <thetext>Re-opening for pull request https://github.com/WebKit/WebKit/pull/1249</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1873661</commentid>
    <comment_count>8</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2022-06-02 12:19:48 -0700</bug_when>
    <thetext>Committed r295136 (251227@main): &lt;https://commits.webkit.org/251227@main&gt;

Reviewed commits have been landed. Closing PR #1249 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>