Commit Graph

12 Commits (3fe634956355e4078fd0ee43542444f0b4222212)

Author SHA1 Message Date
Maximilian Federle 39ca23f38e
snap: add g++ as build package (#1175)
It got dropped in 34efb6de77 by mistake.
2022-01-02 20:50:02 +01:00
Maximilian Federle 34efb6de77
CMake Fixes + Snap port to core20 (#1174)
* CMake: use PROJECT_VERSION instead of solvespace_*_VERSION

In 006539b, solvespace_MAJOR_VERSION etc. were removed.
However, these variables were still referenced in some places.
Solution: Use PROJECT_VERSION instead.

* CMake: re-add link directories for solvespace target

006539b removed the call to link_directories for gtkmm, jsonc & fontconfig.
This leads to linking errors if those libraries are in "non-standard"
paths.
Fix this by introducing a target specific target_link_directories call.

Fixes #1173

* snap: port to core20 & adapt to CMake changes

Moving to core20 was long overdue anyway, and
the recent CMake changes necessitated some fixes.
Also switch to LZO compression for (way) better cold start
performance.
2022-01-02 20:04:57 +01:00
Koen Schmeets b71c728262 Try to fix snap release by adding libcairo2-dev dependency 2022-01-02 13:56:14 +01:00
Koen Schmeets 4ad5d42a24 Add missing eigen submodule in some scripts 2021-12-31 14:40:47 -05:00
ruevs 942bf3f354 Remove Q3DO export.
It was added in 3a3a2755b as a potential way to export colorful meshes
to Horizon EDA but ended up being supported only by SolveSpace. Since no
software can consume the exported q3do files the feature is superfluous.

See https://github.com/solvespace/solvespace/issues/795 for details.
2020-11-21 13:02:39 -05:00
Maximilian Federle aa83681da7 snap: enable OpenMP and LTO 2020-10-21 19:04:34 -04:00
наб cbac182edf Add and build mimalloc at 07c6e60a5a3bd7de09e4a170cd97bafba59cfafd 2020-07-12 02:37:07 +00:00
Maximilian Federle f5415b3fe6 snap: Upgrade from gnome-3-28 extension to gnome-3-34
Using gnome-3-34 gives us a newer stack in general
and also provides us with a sdk build-snap, so we don't need
to specify as many build-packages and stage-packages.

This makes the snap slimmer and delegates the responsibility
for security updates to the gnome platform snap for even more
packages.
2020-04-17 09:17:53 +00:00
Maximilian Federle 13b461d750 snap: Use symlink instead of bind-mount for layout
As per https://snapcraft.io/docs/snap-layouts,
bind-mounts significantly increase the startup time of the snap.
Use symlink instead for better performance.
2020-04-16 18:56:13 +00:00
Maximilian Federle bae84b27e4 snap: Fix missing extension for cli
solvespace-cli needs the gnome-3-28 extension to find its libraries.
2020-02-14 10:01:51 +00:00
Maximilian Federle 1cd727d9dc snap: Remove superfluous files from package
Remove all files from snap that are already included in the base snap
or in any connected content snaps.

The main advantage is the massively reduced snap size:
From ~70 MB down to ~6 MB.
2020-02-14 10:01:51 +00:00
Maximilian Federle 219df31c53 Linux: add support for building snap packages. 2019-09-11 10:12:53 +00:00