<?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>37136</bug_id>
          
          <creation_ts>2010-04-05 21:49:13 -0700</creation_ts>
          <short_desc>[Qt] Fix trunk (non-standalone) builds for Symbian</short_desc>
          <delta_ts>2010-04-09 00:44:38 -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>Platform</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Qt</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>35784</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Laszlo Gombos">laszlo.gombos</reporter>
          <assigned_to name="Laszlo Gombos">laszlo.gombos</assigned_to>
          <cc>commit-queue</cc>
    
    <cc>dpranke</cc>
    
    <cc>eric</cc>
    
    <cc>hausmann</cc>
    
    <cc>jturcotte</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>208893</commentid>
    <comment_count>0</comment_count>
    <who name="Laszlo Gombos">laszlo.gombos</who>
    <bug_when>2010-04-05 21:49:13 -0700</bug_when>
    <thetext>Building clean WebKit trunk build for Symbian starts up as a non-package build and than at a later stage in the build process, the build turns into a package build.

The issue seems to be that the &quot;exists($$PWD/WebCore/generated)&quot; condition in WebKit.pri initially evaluates to false, but than after the derived sources are generated the expressions evaluates to true and turns on &quot;standalone_package&quot; CONFIG.

As a result jsc, qt autotests and DumprenerTree are never built for Symbian by the &quot;normal&quot; build process.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>208901</commentid>
    <comment_count>1</comment_count>
      <attachid>52607</attachid>
    <who name="Laszlo Gombos">laszlo.gombos</who>
    <bug_when>2010-04-05 22:46:16 -0700</bug_when>
    <thetext>Created attachment 52607
proposed patch

Test for source files before building instead of relying on standalone_package config test.

This not only fixes the bug, but I think it also makes the build file more readable and potentially even allows to patch a package build with some goodies (e.g. Dumprendertree) from trunk sources.

I was not sure of the package build includes QtLauncher so I moved that build target to be optional (only build it if exists) as well.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>209174</commentid>
    <comment_count>2</comment_count>
      <attachid>52607</attachid>
    <who name="Kenneth Rohde Christiansen">kenneth</who>
    <bug_when>2010-04-06 12:26:01 -0700</bug_when>
    <thetext>Comment on attachment 52607
proposed patch

I&apos;m OK with this change, but maybe Simon has objections, so clearing cq for now.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>209477</commentid>
    <comment_count>3</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-04-06 23:45:52 -0700</bug_when>
    <thetext>Attachment 52607 was posted by a committer and has review+, assigning to Laszlo Gombos for commit.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>209521</commentid>
    <comment_count>4</comment_count>
      <attachid>52607</attachid>
    <who name="Simon Hausmann">hausmann</who>
    <bug_when>2010-04-07 01:01:05 -0700</bug_when>
    <thetext>Comment on attachment 52607
proposed patch

Looks okay to me :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>209524</commentid>
    <comment_count>5</comment_count>
      <attachid>52607</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-04-07 01:15:50 -0700</bug_when>
    <thetext>Comment on attachment 52607
proposed patch

Clearing flags on attachment: 52607

Committed r57198: &lt;http://trac.webkit.org/changeset/57198&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>209525</commentid>
    <comment_count>6</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-04-07 01:15:56 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>209581</commentid>
    <comment_count>7</comment_count>
    <who name="Simon Hausmann">hausmann</who>
    <bug_when>2010-04-07 05:06:06 -0700</bug_when>
    <thetext>Revision r57198 cherry-picked into qtwebkit-2.0 with commit 90e8e997a968f72584c55f0006c09db0944a3e11</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>210358</commentid>
    <comment_count>8</comment_count>
    <who name="Dirk Pranke">dpranke</who>
    <bug_when>2010-04-08 13:47:13 -0700</bug_when>
    <thetext>Committed r57290: &lt;http://trac.webkit.org/changeset/57290&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>210361</commentid>
    <comment_count>9</comment_count>
    <who name="Dirk Pranke">dpranke</who>
    <bug_when>2010-04-08 13:48:18 -0700</bug_when>
    <thetext>(In reply to comment #8)
&gt; Committed r57290: &lt;http://trac.webkit.org/changeset/57290&gt;

grr. Ignore this. webkit-patch strikes again.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>52607</attachid>
            <date>2010-04-05 22:46:16 -0700</date>
            <delta_ts>2010-04-07 01:15:50 -0700</delta_ts>
            <desc>proposed patch</desc>
            <filename>37136.patch</filename>
            <type>text/plain</type>
            <size>1942</size>
            <attacher name="Laszlo Gombos">laszlo.gombos</attacher>
            
              <data encoding="base64">SW5kZXg6IENoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBDaGFuZ2VMb2cJKHJldmlzaW9uIDU3MTIz
KQorKysgQ2hhbmdlTG9nCSh3b3JraW5nIGNvcHkpCkBAIC0xLDMgKzEsMTUgQEAKKzIwMTAtMDQt
MDUgIExhc3psbyBHb21ib3MgIDxsYXN6bG8uMS5nb21ib3NAbm9raWEuY29tPgorCisgICAgICAg
IFJldmlld2VkIGJ5IE5PQk9EWSAoT09QUyEpLgorCisgICAgICAgIFtRdF0gRml4IHRydW5rIChu
b24tc3RhbmRhbG9uZSkgYnVpbGRzIGZvciBTeW1iaWFuCisgICAgICAgIGh0dHBzOi8vYnVncy53
ZWJraXQub3JnL3Nob3dfYnVnLmNnaT9pZD0zNzEzNgorCisgICAgICAgIFRlc3QgZm9yIHNvdXJj
ZSBmaWxlcyBiZWZvcmUgYnVpbGRpbmcgaW5zdGVhZCBvZiByZWx5aW5nIG9uCisgICAgICAgIHN0
YW5kYWxvbmVfcGFja2FnZSBjb25maWcuCisKKyAgICAgICAgKiBXZWJLaXQucHJvOgorCiAyMDEw
LTA0LTAxICBLaW51a28gWWFzdWRhICA8a2ludWtvQGNocm9taXVtLm9yZz4KIAogICAgICAgICBS
ZXZpZXdlZCBieSBEbWl0cnkgVGl0b3YuCkluZGV4OiBXZWJLaXQucHJvCj09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0t
IFdlYktpdC5wcm8JKHJldmlzaW9uIDU3MTE3KQorKysgV2ViS2l0LnBybwkod29ya2luZyBjb3B5
KQpAQCAtNSwxOSArNSwxNyBAQCBpbmNsdWRlKFdlYktpdC5wcmkpCiAKIFNVQkRJUlMgKz0gXAog
ICAgICAgICBKYXZhU2NyaXB0Q29yZSBcCi0gICAgICAgIFdlYkNvcmUgXAotICAgICAgICBXZWJL
aXRUb29scy9RdExhdW5jaGVyCi0KLSFDT05GSUcoc3RhbmRhbG9uZV9wYWNrYWdlKSB7Ci0gICAg
U1VCRElSUyArPSBKYXZhU2NyaXB0Q29yZS9qc2MucHJvIFwKLSAgICAgICAgV2ViS2l0L3F0L3Rl
c3RzIFwKLSAgICAgICAgV2ViS2l0VG9vbHMvRHVtcFJlbmRlclRyZWUvcXQ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