<?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>177857</bug_id>
          
          <creation_ts>2017-10-04 02:11:25 -0700</creation_ts>
          <short_desc>[WPE] Expose ENABLE_XSLT option</short_desc>
          <delta_ts>2017-10-10 15:59:57 -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>WPE WebKit</component>
          <version>Other</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=177752</see_also>
          <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>clopez</cc>
    
    <cc>commit-queue</cc>
    
    <cc>mcatanzaro</cc>
    
    <cc>olivier.blin</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1356295</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2017-10-04 02:11:25 -0700</bug_when>
    <thetext>Expose ENABLE_XSLT option</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1356297</commentid>
    <comment_count>1</comment_count>
      <attachid>322640</attachid>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2017-10-04 02:12:28 -0700</bug_when>
    <thetext>Created attachment 322640
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1358828</commentid>
    <comment_count>2</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2017-10-10 12:09:44 -0700</bug_when>
    <thetext>Why we want to expose this?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1358883</commentid>
    <comment_count>3</comment_count>
    <who name="Adrian Perez">aperez</who>
    <bug_when>2017-10-10 13:49:27 -0700</bug_when>
    <thetext>(In reply to Carlos Alberto Lopez Perez from comment #2)
&gt; Why we want to expose this?

Saving some MiB of disk space and some memory usage seems worth it, 
particularly for embedded usage.

Example: The Arch Linux x86-64 libxml2+libxslt packages take ~11.5 MiB
on disk, and take at least ~1.6 MiB of memory when loaded (according to
Bloaty — https://github.com/google/bloaty), plus the reductions of size
from the WebKit code that implements the XSLT functionality.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1358889</commentid>
    <comment_count>4</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2017-10-10 13:56:56 -0700</bug_when>
    <thetext>I&apos;m fine with requiring libxslt, but it seems useful for WPE to expose options for disabling features that add new dependencies if those dependencies are not useful on embedded devices.

Anyway, if we don&apos;t expose it, we should revert r222727.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1358937</commentid>
    <comment_count>5</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2017-10-10 15:29:42 -0700</bug_when>
    <thetext>(In reply to Adrian Perez from comment #3)
&gt; (In reply to Carlos Alberto Lopez Perez from comment #2)
&gt; &gt; Why we want to expose this?
&gt; 
&gt; Saving some MiB of disk space and some memory usage seems worth it, 
&gt; particularly for embedded usage.
&gt; 
&gt; Example: The Arch Linux x86-64 libxml2+libxslt packages take ~11.5 MiB
&gt; on disk, and take at least ~1.6 MiB of memory when loaded (according to
&gt; Bloaty — https://github.com/google/bloaty), plus the reductions of size
&gt; from the WebKit code that implements the XSLT functionality.

Ok..

That&apos;s something someone might want to do in order to optimize space/memory requirements as much as possible.

Let&apos;s do this then</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1358938</commentid>
    <comment_count>6</comment_count>
      <attachid>322640</attachid>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2017-10-10 15:29:50 -0700</bug_when>
    <thetext>Comment on attachment 322640
Patch

Ok</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1358953</commentid>
    <comment_count>7</comment_count>
      <attachid>322640</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2017-10-10 15:59:11 -0700</bug_when>
    <thetext>Comment on attachment 322640
Patch

Clearing flags on attachment: 322640

Committed r223152: &lt;http://trac.webkit.org/changeset/223152&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1358954</commentid>
    <comment_count>8</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2017-10-10 15:59:13 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>322640</attachid>
            <date>2017-10-04 02:12:28 -0700</date>
            <delta_ts>2017-10-10 15:59:11 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-177857-20171004111226.patch</filename>
            <type>text/plain</type>
            <size>1240</size>
            <attacher name="Michael Catanzaro">mcatanzaro</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMjIyNzc2CmRpZmYgLS1naXQgYS9Tb3VyY2UvY21ha2UvT3B0
aW9uc1dQRS5jbWFrZSBiL1NvdXJjZS9jbWFrZS9PcHRpb25zV1BFLmNtYWtlCmluZGV4IDUyOTc5
MTI0Y2I1NjI4M2Y4MzA2MTQ0MjNhNWQ0Yzk2MTU0NmM3MzEuLjkwMDM3OGYzNTA1YWQ5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