<feed xmlns='http://www.w3.org/2005/Atom'>
<title>subsurface.git/scripts/docker/mxe-build-container, branch v5.0.1</title>
<subtitle>forked from https://github.com/subsurface/subsurface</subtitle>
<id>https://git.tsegers.com/subsurface.git/atom?h=v5.0.1</id>
<link rel='self' href='https://git.tsegers.com/subsurface.git/atom?h=v5.0.1'/>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/'/>
<updated>2021-01-10T23:16:52Z</updated>
<entry>
<title>build-system: compile stats code on mobile OSs</title>
<updated>2021-01-10T23:16:52Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2021-01-08T20:53:27Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=b40354c7f28676d011de35e49b178d9aa789bbc7'/>
<id>urn:sha1:b40354c7f28676d011de35e49b178d9aa789bbc7</id>
<content type='text'>
Android and iOS use qmake, so add the code to the .pro file.
This also removes all remnants of QCharts includes and uses and all the
references to QCharts in our various build systems.

That was a brief but extremely useful detour.

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: remove Grantlee from the container setup scripts</title>
<updated>2020-10-08T19:19:39Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2020-10-07T19:48:38Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=21f1cf09f7de90080951dfb96d5ef638865624dc'/>
<id>urn:sha1:21f1cf09f7de90080951dfb96d5ef638865624dc</id>
<content type='text'>
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>build-system/MXE: build with more up to date MXE tools.</title>
<updated>2020-06-25T18:00:51Z</updated>
<author>
<name>Paul Buxton</name>
<email>paulbuxton.mail@googlemail.com</email>
</author>
<published>2020-05-30T11:21:22Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=a753845d5acd6d25ff74dc969a9ea6307d8abe6a'/>
<id>urn:sha1:a753845d5acd6d25ff74dc969a9ea6307d8abe6a</id>
<content type='text'>
- use hidapi grantlee and mdbtools from MXE
- update MXE version to use QT 5.15, and pull in libzstd and  CMake 3.17.3
- fix linking of winmm on windows build with new mxe
- add some instructions on building the container
- add some new dependancies from QT 5.15 to the packaging
- add a patch to MXE to Build qtconnectivity with native-win32-bluetooth

[Dirk Hohndel: small refactor]

Signed-off-by: Paul Buxton &lt;paulbuxton.mail@googlemail.com&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>GitHub Actions: deal with case sensitive file system</title>
<updated>2019-12-07T23:01:24Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2019-12-07T18:51:31Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=dd83ca9d59210ca11c4c2b4e8f1fb06817c9b567'/>
<id>urn:sha1:dd83ca9d59210ca11c4c2b4e8f1fb06817c9b567</id>
<content type='text'>
Sadly, there's an explicit change in the sources to of QtConnectivity
that requires this workaround when running the build on a case sensitive
file system.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>GitHub Actions: add two stage MXE container build</title>
<updated>2019-11-28T19:12:59Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2019-11-24T21:35:09Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=8c641402207dcee2f17de6f18c463a40b6434847'/>
<id>urn:sha1:8c641402207dcee2f17de6f18c463a40b6434847</id>
<content type='text'>
Based on ideas from Anton - both the basic building of containers in the first
place as well as the workaround for the 6h build limit.

Because GitHub Actions are limited to 6 hours we split the creation of the MXE
container into two steps and push the intermediary container after stage 1 to
docker hub. Right now each of the steps takes about 3.5 hours, so hopefully
even with changes in the future this will continue to work.

This commit also introduces use of docker hub instead of GitHub's own registry
(since strangely right now GitHub actions cannot run containers from GitHub's
private registry).

In order for this to work, we need to have the docker credentials in secrets in
GitHub. As a result, only people who can create branches in our repository can
easily test changes to the container images. Others can modify the code to use
a different docker hub account and provide those secrets in their own GitHub
account. Not ideal, but of course we cannot allow every pull request to
potentially overwrite docker images in our "official" docker hub account.

Suggested-by: Anton Lundin &lt;glance@acc.umu.se&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Revert "Windows build: Changesto build using mxebased hidapi,libusb and grantlee"</title>
<updated>2019-10-14T14:31:56Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2019-10-14T14:31:05Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=cd8e1eb15aa23e760a2e7a952652e92433f43a6c'/>
<id>urn:sha1:cd8e1eb15aa23e760a2e7a952652e92433f43a6c</id>
<content type='text'>
This reverts commit 60e63afb8219ca22001a4d1c5c0e6a7e27af89d5.

I merged this to early without paying attention to the fact that this
needed an updated build container as well.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Windows build: Changesto build using mxebased hidapi,libusb and grantlee</title>
<updated>2019-10-13T18:31:38Z</updated>
<author>
<name>Paul Buxton</name>
<email>paulbuxton.mail@googlemail.com</email>
</author>
<published>2019-09-07T09:51:20Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=60e63afb8219ca22001a4d1c5c0e6a7e27af89d5'/>
<id>urn:sha1:60e63afb8219ca22001a4d1c5c0e6a7e27af89d5</id>
<content type='text'>
Remove hidapi from manually built components and use the mxe based one instead.
Remove libzip as that is handled by mxe packages.
Update version of grantlee used to build with qt 5.13.1.
Also hide vscode files from git.

[Dirk Hohndel: combined two commits, cleaned up the commit message and removed
               one now incorrect comment line from mxe-based-build.sh]

Signed-off-by: Paul Buxton &lt;paulbuxton.mail@googlemail.com&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
</feed>
