<?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>152428</bug_id>
          
          <creation_ts>2015-12-18 09:16:24 -0800</creation_ts>
          <short_desc>[GTK] jquery.min.js violates DFSG</short_desc>
          <delta_ts>2015-12-21 01:05:10 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Web Inspector</component>
          <version>Other</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</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>1</everconfirmed>
          <reporter name="Michael Catanzaro">mcatanzaro</reporter>
          <assigned_to name="Michael Catanzaro">mcatanzaro</assigned_to>
          <cc>bburg</cc>
    
    <cc>berto</cc>
    
    <cc>cgarcia</cc>
    
    <cc>commit-queue</cc>
    
    <cc>graouts</cc>
    
    <cc>joepeck</cc>
    
    <cc>mattbaker</cc>
    
    <cc>mcatanzaro</cc>
    
    <cc>nvasilyev</cc>
    
    <cc>timothy</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1150292</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2015-12-18 09:16:24 -0800</bug_when>
    <thetext>Debian is repackaging our tarballs with Source/WebInspectorUI/Tools/PrettyPrinting/populate/jquery.min.js removed, since it is a violation of the Debian Free Software Guidelines to distribute compressed code without the original source.

A straightforward solution for GTK would be to simply not distribute Source/WebInspectorUI/Tools. I doubt we need any of that for the build, anyway, right?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1150330</commentid>
    <comment_count>1</comment_count>
    <who name="Joseph Pecoraro">joepeck</who>
    <bug_when>2015-12-18 10:40:36 -0800</bug_when>
    <thetext>Correct, Source/WebInspectorUI/Tools is not needed for the WebInspectorUI project to build. They are only debugging tools. Currently only one for pretty printing.

WebInspectorUI&apos;s pretty printing debugging tool just loads the jquery.min.js text for testing JavaScript pretty printing. It was chosen because jquery.min.js was already in the LayoutTests directory. We could probably replace it with any significantly complex and minified JavaScript.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1150348</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2015-12-18 11:10:19 -0800</bug_when>
    <thetext>Well the issue is that it is minified; Debian requires us to ship the original source, not the minified source, and build the minified source from the original source. I think Fedora requires this too; we just didn&apos;t notice.

Anyway, since it&apos;s just a debugging tool that has no value in tarballs, let&apos;s just not distribute it. Problem solved. :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1150352</commentid>
    <comment_count>3</comment_count>
      <attachid>267644</attachid>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2015-12-18 11:14:49 -0800</bug_when>
    <thetext>Created attachment 267644
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1150354</commentid>
    <comment_count>4</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2015-12-18 11:18:11 -0800</bug_when>
    <thetext>Although arguably, we could say this is a false-positive, in that even though it is source code, it&apos;s not source code that&apos;s intended to be run....</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1150359</commentid>
    <comment_count>5</comment_count>
      <attachid>267644</attachid>
    <who name="Joseph Pecoraro">joepeck</who>
    <bug_when>2015-12-18 11:29:40 -0800</bug_when>
    <thetext>Comment on attachment 267644
Patch

r=me</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1150402</commentid>
    <comment_count>6</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2015-12-18 15:27:32 -0800</bug_when>
    <thetext>Thanks for the review. I&apos;ll wait a few days for Carlos to make sure he&apos;s OK with this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1150697</commentid>
    <comment_count>7</comment_count>
      <attachid>267644</attachid>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2015-12-21 00:17:08 -0800</bug_when>
    <thetext>Comment on attachment 267644
Patch

Yes, we only build files under UserInterface directory (and Localizations), so we don&apos;t need those files in the tarball at all.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1150698</commentid>
    <comment_count>8</comment_count>
      <attachid>267644</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2015-12-21 01:05:06 -0800</bug_when>
    <thetext>Comment on attachment 267644
Patch

Clearing flags on attachment: 267644

Committed r194327: &lt;http://trac.webkit.org/changeset/194327&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1150699</commentid>
    <comment_count>9</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2015-12-21 01:05:10 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>267644</attachid>
            <date>2015-12-18 11:14:49 -0800</date>
            <delta_ts>2015-12-21 01:05:06 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug-152428-20151218131410.patch</filename>
            <type>text/plain</type>
            <size>1415</size>
            <attacher name="Michael Catanzaro">mcatanzaro</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMTk0Mjc2CmRpZmYgLS1naXQgYS9Ub29scy9DaGFuZ2VMb2cg
Yi9Ub29scy9DaGFuZ2VMb2cKaW5kZXggNjc1MDhmZ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