<div dir="auto"><div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Feb 17, 2021, 9:35 PM Rich Shepard <<a href="mailto:rshepard@appl-ecosys.com">rshepard@appl-ecosys.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Wed, 17 Feb 2021, Jeremy Hansen wrote:<br>
<br>
> Those are taken directly from the SlackBuild script. It's how the script<br>
> determines whether or not to pass --disable-nmea-source to the configure<br>
> script.<br>
<br>
Jeremy,<br>
<br>
Thanks for pointing me to the problem and its solution.<br>
<br>
When I went to rebuild geoclue2 I checked the current SBo version with what<br>
I have here; they're the same. So I used the existing build script.<br>
<br>
Reading your message I downloaded the build script from the SBo repo and<br>
diff'd it against the one here:<br>
<br>
$ diff geoclue2.SlackBuild geoclue2/geoclue2.SlackBuild <br>
4c4<br>
< # Copyright 2017 Aaditya Bagga <<a href="mailto:aaditya_gnulinux@zoho.com" target="_blank" rel="noreferrer">aaditya_gnulinux@zoho.com</a>><br>
---<br>
> # Copyright 2017-2018 Aaditya Bagga <<a href="mailto:aaditya_gnulinux@zoho.com" target="_blank" rel="noreferrer">aaditya_gnulinux@zoho.com</a>><br>
73,74c73,74<br>
< # to avoid avahi as a dependency add --disable-nmea-source<br>
< # to the configure options<br>
---<br>
> avahi_opts='--disable-nmea-source'<br>
> [ "${AVAHI:-no}" != "no" ] && avahi_opts=''<br>
85a86<br>
>   $avahi_opts \<br>
<br>
The one that's been here since 2017 was modified in 2018 to include the<br>
missing lines. I assumed that if the source tarballs were the same version<br>
the build scripts would also be the same. That's been the case with other<br>
packages but now we know, not with geoclue2.<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">You should never expect that the SlackBuilds haven't changed just because the source tarballs haven't. You should always grab the latest as they might include changes, fixes, or patches. If the update is substantial, the maintainer is supposed to update the BUILD variable of the SlackBuild.</div><div dir="auto"><br></div><div dir="auto">If you're going to build packages manually, it would probably be good to keep a local git repo of SBo and update that before running SlackBuilds.</div><div dir="auto"><br></div><div dir="auto">You can create the repo by running:</div><div dir="auto"><br></div><div dir="auto">git clone git://<a href="http://git.slackbuilds.org/slackbuilds.git">git.slackbuilds.org/slackbuilds.git</a> sbo-repo</div><div dir="auto"><br></div><div dir="auto">Then you can update it by going in the directory and running:</div><div dir="auto"><br></div><div dir="auto">git pull</div><div dir="auto"><br></div><div dir="auto">Hopefully this will prevent</div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
</blockquote></div></div></div>