<?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>5854</bug_id>
          
          <creation_ts>2005-11-28 13:50:09 -0800</creation_ts>
          <short_desc>Please update build-webkit script to accept additional build arguments from command line</short_desc>
          <delta_ts>2006-01-07 23:39:23 -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>WebKit Misc.</component>
          <version>420+</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.4</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>Enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Dan Wood">dwood</reporter>
          <assigned_to name="Eric Seidel (no email)">eric</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>24771</commentid>
    <comment_count>0</comment_count>
    <who name="Dan Wood">dwood</who>
    <bug_when>2005-11-28 13:50:09 -0800</bug_when>
    <thetext>Often, I want to build webkit with some additional parameters passed into xcodebuild, for instance, 
DEPLOYMENT_POSTPROCESSING=YES.

Currently, this does not seem reasonably easy to do; you have to modify the project files or the build-
webkit script.

If we could have additional parameters from the command line passed to xcodebuild, it would be possible 
without much hassle to vary the building process, to do useful things like strip symbols, build universal 
binary, change the install path, and so forth.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24877</commentid>
    <comment_count>1</comment_count>
    <who name="Dan Wood">dwood</who>
    <bug_when>2005-11-29 11:40:44 -0800</bug_when>
    <thetext>MacDome says it&apos;s just a matter of adding @ARGV to the lines with xcodebuild ... can somebody confirm?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27290</commentid>
    <comment_count>2</comment_count>
      <attachid>5393</attachid>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2005-12-30 22:25:46 -0800</bug_when>
    <thetext>Created attachment 5393
fix.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27291</commentid>
    <comment_count>3</comment_count>
    <who name="Dan Wood">dwood</who>
    <bug_when>2005-12-30 22:50:30 -0800</bug_when>
    <thetext>The patch seems to do the trick for me.  I built webkit as a fat, stripped binary using the following 
invocation:

build-webkit GCC_OPTIMIZATION_LEVEL=s ARCHS=&apos;ppc i386&apos; SDKROOT=/Developer/SDKs/
MacOSX10.4u.sdk DEPLOYMENT_POSTPROCESSING=YES GCC_TREAT_WARNINGS_AS_ERRORS=NO

Being the probable only client for this fix (except for perhaps bdash), I&apos;m satisfied with the patch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27294</commentid>
    <comment_count>4</comment_count>
      <attachid>5393</attachid>
    <who name="Darin Adler">darin</who>
    <bug_when>2005-12-30 23:46:40 -0800</bug_when>
    <thetext>Comment on attachment 5393
fix.

What removes the &quot;-svg&quot; (or is it &quot;--svg&quot;?) if that is passed as an argument?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27538</commentid>
    <comment_count>5</comment_count>
    <who name="Maciej Stachowiak">mjs</who>
    <bug_when>2006-01-02 20:34:59 -0800</bug_when>
    <thetext>Moving to r- until Darin&apos;s comment is addressed.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27541</commentid>
    <comment_count>6</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2006-01-02 20:40:16 -0800</bug_when>
    <thetext>(In reply to comment #4)
&gt; (From update of attachment 5393 [edit])
&gt; What removes the &quot;-svg&quot; (or is it &quot;--svg&quot;?) if that is passed as an argument?
&gt; 

Oh, that&apos;s automatically done by Getopt::Long

At least when it&apos;s loaded wiht the &quot;pass through&quot; option, like it is in this script:

use Getopt::Long qw(:config pass_through);</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27542</commentid>
    <comment_count>7</comment_count>
      <attachid>5393</attachid>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2006-01-02 20:40:37 -0800</bug_when>
    <thetext>Comment on attachment 5393
fix.

I&apos;ve addressed darin&apos;s question in the bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27645</commentid>
    <comment_count>8</comment_count>
      <attachid>5393</attachid>
    <who name="Darin Adler">darin</who>
    <bug_when>2006-01-03 13:51:35 -0800</bug_when>
    <thetext>Comment on attachment 5393
fix.

OK, r=me.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>5393</attachid>
            <date>2005-12-30 22:25:46 -0800</date>
            <delta_ts>2006-01-03 13:51:35 -0800</delta_ts>
            <desc>fix.</desc>
            <filename>build.patch</filename>
            <type>text/plain</type>
            <size>1828</size>
            <attacher name="Eric Seidel (no email)">eric</attacher>
            
              <data encoding="base64">SW5kZXg6IENoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09ClJDUyBmaWxlOiAvY3ZzL3Jvb3QvV2ViS2l0VG9v
bHMvQ2hhbmdlTG9nLHYKcmV0cmlldmluZyByZXZpc2lvbiAxLjEzNgpkaWZmIC1wIC11IC1yMS4x
MzYgQ2hhbmdlTG9nCi0tLSBDaGFuZ2VMb2cJMzAgRGVjIDIwMDUgMDc6MDQ6MTAgLTAwMDAJMS4x
MzYKKysrIENoYW5nZUxvZwkzMSBEZWMgMjAwNSAwNjoyNzowMSAtMDAwMApAQCAtMSwzICsxLDEy
IEBACisyMDA1LTEyLTMxICBFcmljIFNlaWRlbCAgPGVzZWlkZWxAYXBwbGUuY29t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k
ZXByb2oiLCBAb3B0aW9ucywgIi10YXJnZXQiLCAiJGRpci1uby1TVkciOworICAgICAgICAkcmVz
dWx0ID0gc3lzdGVtICJ4Y29kZWJ1aWxkIiwgIi1wcm9qZWN0IiwgIiRkaXIueGNvZGVwcm9qIiwg
Ii10YXJnZXQiLCAiJGRpci1uby1TVkciLCBAb3B0aW9ucywgQEFSR1Y7CiAgICAgfSBlbHNlIHsK
LSAgICAgICAgJHJlc3VsdCA9IHN5c3RlbSAieGNvZGVidWlsZCIsICItcHJvamVjdCIsICIkZGly
Lnhjb2RlcHJvaiIsIEBvcHRpb25zOworICAgICAgICAkcmVzdWx0ID0gc3lzdGVtICJ4Y29kZWJ1
aWxkIiwgIi1wcm9qZWN0IiwgIiRkaXIueGNvZGVwcm9qIiwgQG9wdGlvbnMsIEBBUkdWOwogICAg
IH0KICAgICBleGl0ICRyZXN1bHQgaWYgJHJlc3VsdDsKICAgICBpZiAoJGRpciBlcSAiSmF2YVNj
cmlwdENvcmUiKSB7Ci0gICAgICAgICRyZXN1bHQgPSBzeXN0ZW0gInhjb2RlYnVpbGQiLCAiLXBy
b2plY3QiLCAiJGRpci54Y29kZXByb2oiLCBAb3B0aW9ucywgIi10YXJnZXQiLCAidGVzdGtqcyI7
CisgICAgICAgICRyZXN1bHQgPSBzeXN0ZW0gInhjb2RlYnVpbGQiLCAiLXByb2plY3QiLCAiJGRp
ci54Y29kZXByb2oiLCAiLXRhcmdldCIsICJ0ZXN0a2pzIiwgQG9wdGlvbnMsIEBBUkdWOwogICAg
ICAgICBleGl0ICRyZXN1bHQgaWYgJHJlc3VsdDsKICAgICB9CiAgICAgY2hkaXIgIi4uIiBvciBk
aWU7Cg==
</data>
<flag name="review"
          id="1151"
          type_id="1"
          status="+"
          setter="darin"
    />
          </attachment>
      

    </bug>

</bugzilla>