glabels-qt icon indicating copy to clipboard operation
glabels-qt copied to clipboard

Windows and Mac installer

Open samdolt opened this issue 6 years ago • 7 comments

Add an easy way to build and package for Windows and Mac using "craft" from KDE https://community.kde.org/Craft

Craft manages dependencies and builds libraries and applications from source Craft can create setup.exe and OSX bundle

Proof of concept:

  • Source: https://github.com/samdolt/glabels-qt
  • Craft Config File: https://github.com/samdolt/glabels-qt/blob/master/glabels-qt.py
  • CI Config File: https://github.com/samdolt/glabels-qt/blob/master/azure-pipelines.yml
  • CI Build: https://dev.azure.com/dolt-ch-lab/glabels-qt/_build

install1 install2 install3 install4 install5

If this method would be accepted, I can make a pull request (My code need some cleaning), and add support for a macOS CI build.

samdolt avatar Oct 07 '18 18:10 samdolt

Link for the windows installer file from CI: https://dev.azure.com/dolt-ch-lab/_apis/resources/Containers/2205657?itemPath=drop%2Fglabels-qt-master-dbfc13c-windows-msvc2017_64-cl.exe

Warning: Proof of concept only, Not optimized at all (1.6Go after install), bundle clang and llvm, mysql, ...

samdolt avatar Oct 07 '18 20:10 samdolt

In any case it's worth to publish such a -- maybe still buggy and incomplete -- Windows installer, as long as we don't have a stable (or at least beta) release anyway. +1 from me.

mariobl avatar Oct 16 '18 09:10 mariobl

After a little work, I have a working installer for Windows 7/8/10 64 bit (only tested on W10):

https://dev.azure.com/dolt-ch-lab/_apis/resources/Containers/2269829?itemPath=drop%2Fglabels-qt-master-f3f9f29-windows-msvc2017_64-cl.exe

Need only 90MB and create a start menu entry.

This installer was build on Azure Pipeline, a free CI tools for public Github repository by Micrososft. CI Config: https://github.com/samdolt/glabels-qt/blob/master/azure-pipelines.yml KDE Craft config: https://github.com/samdolt/craft-blueprints-glabels-qt.git

I will make a pull-request with a cleaned up version of azure-pipelines.yml later this weeks. Then after enabling Azure Pipeline on this repo we could have an installer for every commit in master, and Windows Build status for every pull-request

capture2

samdolt avatar Oct 21 '18 18:10 samdolt

Sounds good! I will give it a try next week.

jimevins avatar Oct 21 '18 21:10 jimevins

After a little work, I have a working installer for Windows 7/8/10 64 bit (only tested on W10):

https://dev.azure.com/dolt-ch-lab/_apis/resources/Containers/2269829?itemPath=drop%2Fglabels-qt-master-f3f9f29-windows-msvc2017_64-cl.exe

I wanted to try this out, but I got a ... is not authorized to access this resource message.

jimevins avatar Nov 02 '18 23:11 jimevins

Is there an (easy?) way to build a 32bit Windows version?

schweini avatar Oct 28 '21 19:10 schweini

Would be amazing to have it available via Chocolatey !

silopolis avatar Nov 15 '21 13:11 silopolis