<?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>111598</bug_id>
          
          <creation_ts>2013-03-06 10:40:35 -0800</creation_ts>
          <short_desc>unable to install webkit-gtk +quartz 1.10 via MacPorts - Cairo WidgetBackingStore not linked in</short_desc>
          <delta_ts>2015-05-10 14:00:47 -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>528+ (Nightly build)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.6</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>https://trac.macports.org/ticket/38203</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Blocker</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>126492</blocked>
          <everconfirmed>0</everconfirmed>
          <reporter name="Eric Le Lay">elelay</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>cgarcia</cc>
    
    <cc>gustavo</cc>
    
    <cc>jeremyhu</cc>
    
    <cc>mcatanzaro</cc>
    
    <cc>philip.chimento</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>849046</commentid>
    <comment_count>0</comment_count>
      <attachid>191789</attachid>
    <who name="Eric Le Lay">elelay</who>
    <bug_when>2013-03-06 10:40:35 -0800</bug_when>
    <thetext>Created attachment 191789
simply add the Quartz file if no X11 and not windows

See MacPorts ticket.

webkit-gtk +quartz was building fine, but I had this error when using py27-webkit-gtk and midori. 
I&apos;ve run port destroot again and launched the demo program GtkLauncher: it had the same problem. Here is the error:

Process:         GtkLauncher [79092]
Path:            /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_webkit-gtk/webkit-gtk/work/webkitgtk-1.10.2/Programs/.libs/GtkLauncher
Identifier:      GtkLauncher
Version:         ??? (???)
Code Type:       X86-64 (Native)
Parent Process:  bash [79089]

Date/Time:       2013-02-12 07:30:40.928 +0100
OS Version:      Mac OS X 10.6.8 (10K549)
Report Version:  6

Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Dyld Error Message:
  Symbol not found: __ZN7WebCore18WidgetBackingStore6createEP10_GtkWidgetRKNS_7IntSizeE
  Referenced from: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_webkit-gtk/webkit-gtk/work/webkitgtk-1.10.2/.libs/libwebkitgtk-1.0.0.dylib
  Expected in: flat namespace
I&apos;ve managed to fix it by adding a previously excluded WebCore/platform/cairo/WidgetBackingStoreCairo.cpp to the build, which implemented the missing method.

Please find the patch attached. It is simplistic because it&apos;s only applied when building for Quartz, not X11.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>966953</commentid>
    <comment_count>1</comment_count>
    <who name="Gustavo Noronha (kov)">gustavo</who>
    <bug_when>2014-01-12 07:41:48 -0800</bug_when>
    <thetext>I think this file should probably be included unconditionally, in what configuration do we not use it?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1058497</commentid>
    <comment_count>2</comment_count>
    <who name="Philip Chimento">philip.chimento</who>
    <bug_when>2015-01-02 20:09:00 -0800</bug_when>
    <thetext>This is fixed by my patch at https://bugs.webkit.org/show_bug.cgi?id=126821, is there any chance it could be reviewed for committing to the 2.4 branch for an eventual 2.4.8 release?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1059954</commentid>
    <comment_count>3</comment_count>
    <who name="Jeremy Huddleston Sequoia">jeremyhu</who>
    <bug_when>2015-01-08 14:24:09 -0800</bug_when>
    <thetext>The attached patch no longer applies cleanly to 2.4.8, unfortunately.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1059955</commentid>
    <comment_count>4</comment_count>
    <who name="Jeremy Huddleston Sequoia">jeremyhu</who>
    <bug_when>2015-01-08 14:25:57 -0800</bug_when>
    <thetext>Looking at Source/WebCore/GNUmakefile.list.am in 2.4.8, I wonder if this is still an issue.  Looks like it might be fixed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1060013</commentid>
    <comment_count>5</comment_count>
    <who name="Philip Chimento">philip.chimento</who>
    <bug_when>2015-01-08 16:43:37 -0800</bug_when>
    <thetext>Yes, my patch at #126821 was included in 2.4.8. I think this can be closed now.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>191789</attachid>
            <date>2013-03-06 10:40:35 -0800</date>
            <delta_ts>2013-03-06 10:40:35 -0800</delta_ts>
            <desc>simply add the Quartz file if no X11 and not windows</desc>
            <filename>quartz-include-widgetbackingstorecairo.patch</filename>
            <type>text/plain</type>
            <size>499</size>
            <attacher name="Eric Le Lay">elelay</attacher>
            
              <data encoding="base64">LS0tIFNvdXJjZS9XZWJDb3JlL0dOVW1ha2VmaWxlLmxpc3QuYW0ub2xkCTIwMTMtMDItMjQgMTk6
MDE6NTEuMDAwMDAwMDAwICswMTAwCisrKyBTb3VyY2UvV2ViQ29yZS9HTlVtYWtlZmlsZS5saXN0
LmFtCTIwMTMtMDItMjQgMTk6MDM6NDEuMDAwMDAwMDAwICswMTAwCkBAIC01OTQ5LDYgKzU5NDks
OSBAQAogd2ViY29yZV9zb3VyY2VzICs9IFwKIAlTb3VyY2UvV2ViQ29yZS9wbHVnaW5zL1BsdWdp
blBhY2thZ2VOb25lLmNwcCBcCiAJU291cmNlL1dlYkNvcmUvcGx1Z2lucy9QbHVnaW5WaWV3Tm9u
ZS5jcHAKKyMgaW4gcXVhcnR6IG1vZGUgaW5jbHVkZSBjYWlybyB3aWRnZXRiYWNraW5nc3RvcmUg
aW1wbGVtZW50YXRpb24gYWxzbword2ViY29yZWd0a19zb3VyY2VzICs9IFwKKwlTb3VyY2UvV2Vi
Q29yZS9wbGF0Zm9ybS9jYWlyby9XaWRnZXRCYWNraW5nU3RvcmVDYWlyby5jcHAKIGVuZGlmICMg
RU5EIFRBUkdFVF9XSU4zMgogZW5kaWYgIyBFTkQgVEFSR0VUX1gxMQogCg==
</data>

          </attachment>
      

    </bug>

</bugzilla>