<feed xmlns='http://www.w3.org/2005/Atom'>
<title>subsurface.git/scripts, branch v4.9.9</title>
<subtitle>forked from https://github.com/subsurface/subsurface</subtitle>
<id>https://git.tsegers.com/subsurface.git/atom?h=v4.9.9</id>
<link rel='self' href='https://git.tsegers.com/subsurface.git/atom?h=v4.9.9'/>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/'/>
<updated>2020-10-31T23:09:37Z</updated>
<entry>
<title>build-system: build libmtp for macOS if requested</title>
<updated>2020-10-31T23:09:37Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2020-10-31T23:09:26Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=43f15f1b481dc2dd90e56f87f63a3d01d91bccba'/>
<id>urn:sha1:43f15f1b481dc2dd90e56f87f63a3d01d91bccba</id>
<content type='text'>
If we are building our own dependencies (usually only for release builds), we
now also need to build libmtp.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>build-system: switch to the 32/64bit MXE build container</title>
<updated>2020-10-30T23:36:08Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2020-10-30T18:28:00Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=f425bbbde3ce775962db4ee71a3e6cd1431cd49a'/>
<id>urn:sha1:f425bbbde3ce775962db4ee71a3e6cd1431cd49a</id>
<content type='text'>
This doesn't actually build 32 bit binaries, yet. One step at a time.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>build-system: create an MXE docker container for both 32 &amp; 64 bit</title>
<updated>2020-10-30T23:36:08Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2020-10-30T18:15:34Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=03e2d1e045bed568a613140ce3084158d22a6571'/>
<id>urn:sha1:03e2d1e045bed568a613140ce3084158d22a6571</id>
<content type='text'>
This should allow us to then do both 32 and 64 bit Windows builds in our CI/CD
and of course for our releases.

In order to still be able to use this container in a GitHub action, aggressively
remove things that we won't need during the build. Since we use the experimental
-squash argument during docker build, this should get us a much smaller container
image in the end.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>build-system: Docker build for 64bit MXE</title>
<updated>2020-10-30T19:24:36Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2020-10-28T21:19:45Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=e71e715cd347d3dc1e503695d7a747f175123e9e'/>
<id>urn:sha1:e71e715cd347d3dc1e503695d7a747f175123e9e</id>
<content type='text'>
We previously tried to build the MXE Docker container on GitHub using
an Action, but that really didn't work well and was a lot more trouble
than it was worth.

So this goes back to an offline build mechanism where I simply create
an updated Docker image when needed and push that to Docker Hub.

But this nearly hides the most interesting change here - we are finally
switching to using 64bit binaries on Windows. It's 2020 and fewer than
1% of our users use 32bit Windows machines. We'll need to expand this
to be able to have both a 32bit and a 64bit version of Subsurface for
Windows. But for now, this solves the problem for 99% of our users.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>build-system: first steps towards a 64bit Windows build</title>
<updated>2020-10-30T19:24:36Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2020-10-28T17:55:02Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=e9073a7570f490ad169dbd92a7d6f102c423c2ca'/>
<id>urn:sha1:e9073a7570f490ad169dbd92a7d6f102c423c2ca</id>
<content type='text'>
This is barely scratching the surface (no put intended), and of course the
container needs to be updated, first, to have a 64bit version of MXE installed,
but this seems to help make libmtp build correctly.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>build-system: add libmtp for our Windows builds</title>
<updated>2020-10-30T19:24:36Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2020-10-28T14:15:20Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=cdf1865246563fde47a1cf2a5fc3c0fd70b8e5ba'/>
<id>urn:sha1:cdf1865246563fde47a1cf2a5fc3c0fd70b8e5ba</id>
<content type='text'>
This uses latest master (as that's the only one that has the explicit
Descent Mk2i support in it).

Right now, unfortunately the MXE build fails.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>build-system: improve finding of libdivecomputer.a</title>
<updated>2020-10-17T04:11:44Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2020-10-17T04:11:19Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=6586438bf6ba3157e958c03d150aefbeb1a2e98d'/>
<id>urn:sha1:6586438bf6ba3157e958c03d150aefbeb1a2e98d</id>
<content type='text'>
On some systems it ends up in lib64 instead of lib.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>build-system: fix libgit2 detection</title>
<updated>2020-10-17T03:23:37Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2020-10-17T02:06:32Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=86396e9904f18e2379689ce4d7f83a88dc3016d1'/>
<id>urn:sha1:86396e9904f18e2379689ce4d7f83a88dc3016d1</id>
<content type='text'>
Usually ldconfig isn't in the user's path.

Suggested-by: Cristian Ionescu-Idbohrn &lt;cristian.ionescu-idbohrn@axis.com&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>build-system: switch to current libhidapi</title>
<updated>2020-10-16T21:14:50Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2020-10-14T00:25:40Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=0aaa65443348500d3b2621c68ca1e93c43d61d24'/>
<id>urn:sha1:0aaa65443348500d3b2621c68ca1e93c43d61d24</id>
<content type='text'>
A few years ago the upstream for libhidapi changed - it became part of the
libusb GitHub org. Switching to the latest version appears to fix some odd
problems with talking to the Suunto Eon Steele/Core dive computers on macOS (at
least I can no longer reproduce the problem after switching to the current
version).

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>build-system: remove Grantlee references from legacy scripts</title>
<updated>2020-10-08T19:19:39Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2020-10-07T19:46:06Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=b40c8de35bba632612426e9f8483a4547f5d2a0e'/>
<id>urn:sha1:b40c8de35bba632612426e9f8483a4547f5d2a0e</id>
<content type='text'>
I debated about this commit... we don't use these scripts any more, but it
seems like it would be worse to leave the Grantlee references in them. Yet of
course this is all no longer tested. Maybe it is time to delete the scripts
from the tree.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
</feed>
