<?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>143443</bug_id>
          
          <creation_ts>2015-04-06 07:52:23 -0700</creation_ts>
          <short_desc>[GTK] install-dependencies should install the right version of geoclue</short_desc>
          <delta_ts>2015-04-06 08:31:58 -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>INVALID</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>cgarcia</cc>
    
    <cc>mcatanzaro</cc>
    
    <cc>mrobinson</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1083083</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2015-04-06 07:52:23 -0700</bug_when>
    <thetext>Our install-dependencies script is installing the wrong version of geoclue.

Note, Debian seems to have the .pc file for new geoclue in the main package rather than a -dev package, as far as I can tell. That seems like a bug...?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1083084</commentid>
    <comment_count>1</comment_count>
      <attachid>250204</attachid>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2015-04-06 07:54:29 -0700</bug_when>
    <thetext>Created attachment 250204
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1083086</commentid>
    <comment_count>2</comment_count>
      <attachid>250204</attachid>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2015-04-06 07:56:39 -0700</bug_when>
    <thetext>Comment on attachment 250204
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=250204&amp;action=review

&gt; Tools/gtk/install-dependencies:61
&gt; +        geoclue-2.0 \

Don&apos;t we need the -dev package? is 2.0 available in the bots?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1083088</commentid>
    <comment_count>3</comment_count>
    <who name="Martin Robinson">mrobinson</who>
    <bug_when>2015-04-06 08:16:27 -0700</bug_when>
    <thetext>(In reply to comment #0)
&gt; Our install-dependencies script is installing the wrong version of geoclue.
&gt; 
&gt; Note, Debian seems to have the .pc file for new geoclue in the main package
&gt; rather than a -dev package, as far as I can tell. That seems like a bug...?

I wouldn&apos;t say it is &quot;wrong&quot; since both versions of Geoclue are supported. I wonder if it&apos;s possible to do this without the entire script failing on older versions of Debian or Ubuntu though.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1083092</commentid>
    <comment_count>4</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2015-04-06 08:31:34 -0700</bug_when>
    <thetext>(In reply to comment #2)
&gt; Don&apos;t we need the -dev package? 

See comment #0

&gt; is 2.0 available in the bots?

I dunno; how do I check this? geoclue2 was a dependency of GNOME 3.10, so I presume you have it by now, but it looks like it was only added to Debian last summer, so it depends on how new the bots are. Do they run this script?

(In reply to comment #3)
&gt; I wouldn&apos;t say it is &quot;wrong&quot; since both versions of Geoclue are supported.

Hm, for some reason I thought only the newer geoclue was supported. Then I guess we don&apos;t need this patch.

&gt; I
&gt; wonder if it&apos;s possible to do this without the entire script failing on
&gt; older versions of Debian or Ubuntu though.

Hm... on Fedora it would cause the script to fail, but geoclue2 exists on F20, the oldest supported version, so it doesn&apos;t matter. I don&apos;t know if apt-get would fail or just ignore the missing package, but I would guess fail.

TBH, since old geoclue is supported, I&apos;d say we can just close this bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>250204</attachid>
            <date>2015-04-06 07:54:29 -0700</date>
            <delta_ts>2015-04-06 08:31:50 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-143443-20150406095341.patch</filename>
            <type>text/plain</type>
            <size>1878</size>
            <attacher name="Michael Catanzaro">mcatanzaro</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMTgyMzU4CmRpZmYgLS1naXQgYS9Ub29scy9DaGFuZ2VMb2cg
Yi9Ub29scy9DaGFuZ2VMb2cKaW5kZXggNzk1MWRhMDk5OWUyNGNlN2NhYTgzODE0YzVjNWYwOGM2
OGE2ZDI2ZC4uNTNkOGZmZjlkNTY0N2Q3YzgxNWJmMDUwMjJjZjNiNDY2ZTU3YjRmNSAxMDA2NDQK
LS0tIGEvVG9vbHMvQ2hhbmdlTG9nCisrKyBiL1Rvb2xzL0NoYW5nZUxvZwpAQCAtMSwzICsxLDE0
IEBACisyMDE1LTA0LTA2ICBNaWNoYWVsIENhdGFuemFybyAgPG1jYXRhbnphcm9AZ25vbWUub3Jn
PgorCisgICAgICAgIFtHVEtdIGluc3RhbGwtZGVwZW5kZW5jaWVzIHNob3VsZCBpbnN0YWxsIHRo
ZSByaWdodCB2ZXJzaW9uIG9mIGdlb2NsdWUKKyAgICAgICAgaHR0cHM6Ly9idWdzLndlYmtpdC5v
cmcvc2hvd19idWcuY2dpP2lkPTE0MzQ0MworCisgICAgICAgIFJldmlld2VkIGJ5IE5PQk9EWSAo
T09QUyEpLgorCisgICAgICAgIEluc3RhbGwgZ2VvY2x1ZTIgaW5zdGVhZCBvZiB0aGUgb3JpZ2lu
YWwgZ2VvY2x1ZS4KKworICAgICAgICAqIGd0ay9pbnN0YWxsLWRlcGVuZGVuY2llczo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1kZXYgXAog
ICAgICAgICBsaWJnbDEtbWVzYS1nbHggXApAQCAtMTkzLDcgKzE5Myw3IEBAIGZ1bmN0aW9uIGlu
c3RhbGxEZXBlbmRlbmNpZXNXaXRoUGFjbWFuIHsKICAgICAgICAgYXRrIFwKICAgICAgICAgZW5j
aGFudCBcCiAgICAgICAgIGZhYWQyIFwKLSAgICAgICAgZ2VvY2x1ZSBcCisgICAgICAgIGdlb2Ns
dWUyIFwKICAgICAgICAgZ29iamVjdC1pbnRyb3NwZWN0aW9uIFwKICAgICAgICAgbWVzYSBcCiAg
ICAgICAgIG1lc2EtbGliZ2wgXApAQCAtMzAxLDcgKzMwMSw3IEBAIGZ1bmN0aW9uIGluc3RhbGxG
ZWRvcmFEZXBlbmRlbmNpZXMgewogICAgICAgICBmb250Y29uZmlnLWRldmVsIFwKICAgICAgICAg
ZnJlZXR5cGUtZGV2ZWwgXAogICAgICAgICBnY2MtYysrIFwKLSAgICAgICAgZ2VvY2x1ZS1kZXZl
bCBcCisgICAgICAgIGdlb2NsdWUyLWRldmVsIFwKICAgICAgICAgZ2V0dGV4dC1kZXZlbCBcCiAg
ICAgICAgIGdvYmplY3QtaW50cm9zcGVjdGlvbi1kZXZlbCBcCiAgICAgICAgIGdwZXJmIFwK
</data>

          </attachment>
      

    </bug>

</bugzilla>