<?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>27230</bug_id>
          
          <creation_ts>2009-07-13 12:21:59 -0700</creation_ts>
          <short_desc>[Gtk] soup/ResourceHandleSoup.cpp:533: error: &apos;g_mapped_file_free&apos; was not declared in this scope</short_desc>
          <delta_ts>2009-07-18 16:14:29 -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>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Gtk</keywords>
          <priority>P2</priority>
          <bug_severity>Blocker</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="David Ronis">David.Ronis</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>gustavo</cc>
    
    <cc>jmalonzo</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>131378</commentid>
    <comment_count>0</comment_count>
    <who name="David Ronis">David.Ronis</who>
    <bug_when>2009-07-13 12:21:59 -0700</bug_when>
    <thetext>I just tried upgrading webkitgtk+ form 1.1.10 to 1.1.11; I get the compile-time error given in the summary.  I&apos;m using gtk+-2.17.2 and the git-master of libsoup (built today).  I&apos;m using gcc-4.4.0, on a slackware-12.2. box</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>131384</commentid>
    <comment_count>1</comment_count>
    <who name="David Ronis">David.Ronis</who>
    <bug_when>2009-07-13 12:34:02 -0700</bug_when>
    <thetext>Grepped the include  dir for the definition: Here&apos;s what I see in glib-2.0/glib/gmappedfile.h:


#ifndef G_DISABLE_DEPRECATED
void         g_mapped_file_free         (GMappedFile  *file);
#endif

Looks like this is being phased out.  In any event, I manually added the declaration to the webkit file and am resuming the compilation.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>131559</commentid>
    <comment_count>2</comment_count>
    <who name="David Ronis">David.Ronis</who>
    <bug_when>2009-07-14 07:58:27 -0700</bug_when>
    <thetext>Manually adding the declaration, while allowing thing to compile, doesn&apos;t work.  Things die linking.
Bacially it&apos;s not in glib.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>131564</commentid>
    <comment_count>3</comment_count>
    <who name="David Ronis">David.Ronis</who>
    <bug_when>2009-07-14 08:09:58 -0700</bug_when>
    <thetext>It seems that g_mapped_file_free needs to be replaced by g_mapped_file_unref.  Doing so lets the compile finish.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>132830</commentid>
    <comment_count>4</comment_count>
      <attachid>33002</attachid>
    <who name="Jan Alonzo">jmalonzo</who>
    <bug_when>2009-07-17 19:34:47 -0700</bug_when>
    <thetext>Created attachment 33002
Use g_mapped_file_unref for GLIB version 2.22 onwards.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>132958</commentid>
    <comment_count>5</comment_count>
      <attachid>33002</attachid>
    <who name="Gustavo Noronha (kov)">gustavo</who>
    <bug_when>2009-07-18 16:12:46 -0700</bug_when>
    <thetext>Comment on attachment 33002
Use g_mapped_file_unref for GLIB version 2.22 onwards.

yep! r=me</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>132959</commentid>
    <comment_count>6</comment_count>
    <who name="Jan Alonzo">jmalonzo</who>
    <bug_when>2009-07-18 16:14:29 -0700</bug_when>
    <thetext>(In reply to comment #5)
&gt; (From update of attachment 33002 [details])
&gt; yep! r=me

Landed as http://trac.webkit.org/changeset/46101</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>33002</attachid>
            <date>2009-07-17 19:34:47 -0700</date>
            <delta_ts>2009-07-18 16:12:45 -0700</delta_ts>
            <desc>Use g_mapped_file_unref for GLIB version 2.22 onwards.</desc>
            <filename>bug-27230-20090718123444.patch</filename>
            <type>text/plain</type>
            <size>2015</size>
            <attacher name="Jan Alonzo">jmalonzo</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1dlYkNvcmUvQ2hhbmdlTG9nIGIvV2ViQ29yZS9DaGFuZ2VMb2cKaW5kZXgg
ZDE2MmY2MC4uYjRmYmQ5YiAxMDA2NDQKLS0tIGEvV2ViQ29yZS9DaGFuZ2VMb2cKKysrIGIvV2Vi
Q29yZS9DaGFuZ2VMb2cKQEAgLTEsMyArMSwxNSBAQAorMjAwOS0wNy0xNyAgSmFuIE1pY2hhZWwg
QWxvbnpvICA8am1hbG9uem9Ad2Via2l0Lm9yZz4KKworICAgICAgICBSZXZpZXdlZCBieSBOT0JP
RFkgKE9PUFMhKS4KKworICAgICAgICBbR3RrXSBzb3VwL1Jlc291cmNlSGFuZGxlU291cC5jcHA6
NTMzOiBlcnJvcjogJ2dfbWFwcGVkX2ZpbGVfZnJlZScgd2FzIG5vdCBkZWNsYXJlZCBpbiB0aGlz
IHNjb3BlCisgICAgICAgIGh0dHBzOi8vYnVncy53ZWJraXQub3JnL3Nob3dfYnVnLmNnaT9pZD0y
NzIzMAorCisgICAgICAgIFVzZSBnX21hcHBlZF9maWxlX3VucmVmIGZvciBHTElCIHZlcnNpb24g
Mi4yMiBvbndhcmRzLgorCisgICAgICAgICogcGxhdGZvcm0vbmV0d29yay9zb3VwL1Jlc291cmNl
SGFuZGxlU291cC5jcHA6CisgICAgICAgIChXZWJDb3JlOjpSZXNvdXJjZUhhbmRsZTo6c3RhcnRI
dHRwKToKKwogMjAwOS0wNy0xNyAgQW50b24gTXVoaW4gIDxhbnRvbm1AY2hyb21pdW0ub3JnPgog
CiAgICAgICAgIFJldmlld2VkIGJ5IERpbWl0cmkgR2xhemtvdi4KZGlmZiAtLWdpdCBhL1dlYkNv
cmUvcGxhdGZvcm0vbmV0d29yay9zb3VwL1Jlc291cmNlSGFuZGxlU291cC5jcHAgYi9XZWJDb3Jl
L3BsYXRmb3JtL25ldHdvcmsvc291cC9SZXNvdXJjZUhhbmRsZVNvdXAuY3BwCmluZGV4IDYxM2Y2
OTMuLmZhMjg0MGIgMTAwNjQ0Ci0tLSBhL1dlYkNvcmUvcGxhdGZvcm0vbmV0d29yay9zb3VwL1Jl
c291cmNlSGFuZGxlU291cC5jcHAKKysrIGIvV2ViQ29yZS9wbGF0Zm9ybS9uZXR3b3JrL3NvdXAv
UmVzb3VyY2VIYW5kbGVTb3VwLmNwcApAQCAtNTI3LDEwICs1MjcsMTUgQEAgYm9vbCBSZXNvdXJj
ZUhhbmRsZTo6c3RhcnRIdHRwKFN0cmluZyB1cmxTdHJpbmcpCiAKICAgICAgICAgICAgICAgICAg
ICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgICAgICAgICAgfQotCisjaWYgR0xJQl9D
SEVDS19WRVJTSU9OKDIsIDIyLCAwKQorICAgICAgICAgICAgICAgICAgICBTb3VwQnVmZmVyKiBz
b3VwQnVmZmVyID0gc291cF9idWZmZXJfbmV3X3dpdGhfb3duZXIoZ19tYXBwZWRfZmlsZV9nZXRf
Y29udGVudHMoZmlsZU1hcHBpbmcpLAorICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZ19tYXBwZWRfZmlsZV9nZXRf
bGVuZ3RoKGZpbGVNYXBwaW5nKSwKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGZpbGVNYXBwaW5nLCByZWludGVy
cHJldF9jYXN0PEdEZXN0cm95Tm90aWZ5PihnX21hcHBlZF9maWxlX3VucmVmKSk7CisjZWxzZQog
ICAgICAgICAgICAgICAgICAgICBTb3VwQnVmZmVyKiBzb3VwQnVmZmVyID0gc291cF9idWZmZXJf
bmV3X3dpdGhfb3duZXIoZ19tYXBwZWRfZmlsZV9nZXRfY29udGVudHMoZmlsZU1hcHBpbmcpLAog
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgZ19tYXBwZWRfZmlsZV9nZXRfbGVuZ3RoKGZpbGVNYXBwaW5nKSwKICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgIGZpbGVNYXBwaW5nLCByZWludGVycHJldF9jYXN0PEdEZXN0cm95Tm90aWZ5
PihnX21hcHBlZF9maWxlX2ZyZWUpKTsKKyNlbmRpZgogICAgICAgICAgICAgICAgICAgICBzb3Vw
X21lc3NhZ2VfYm9keV9hcHBlbmRfYnVmZmVyKGQtPm1fbXNnLT5yZXF1ZXN0X2JvZHksIHNvdXBC
dWZmZXIpOwogICAgICAgICAgICAgICAgICAgICBzb3VwX2J1ZmZlcl9mcmVlKHNvdXBCdWZmZXIp
OwogICAgICAgICAgICAgICAgIH0=
</data>
<flag name="review"
          id="17345"
          type_id="1"
          status="+"
          setter="gustavo"
    />
          </attachment>
      

    </bug>

</bugzilla>