Commit Graph

28 Commits (d88ed3f2ee2fc81680550b576140982235db4a4e)

Author SHA1 Message Date
Maximilian Federle c65e31bece snap: Port to core22
- Migration according to https://forum.snapcraft.io/t/micro-howto-migrate-from-core20-to-core22/30188
- Also declare all snaps stable
2022-08-09 13:49:00 -04:00
tinywrkb e6e217b7df flatpak: Keep CLI enabled 2022-07-08 17:26:19 +03:00
tinywrkb 1c5db4d564 flatpak: Cleanup: Update and move module specific value to module cleanup arrays 2022-07-08 17:26:19 +03:00
tinywrkb 2d19afaaef flatpak: Cosmetics
The sources array is usually at the end of a module.
Maybe nitpicking, but the module name will be used as a folder name, and camelcase for folder names is less common on Linux.
2022-07-08 17:26:19 +03:00
tinywrkb 63e420ed11 flatpak: finish-args: Drop unsupported JSON comment and cosmetics 2022-07-08 17:26:19 +03:00
tinywrkb c7dbd54e01 flatpak: libjson-c: Enable threading and disable static libs 2022-07-08 17:26:19 +03:00
tinywrkb 2fdcf228ff flatpak: gtkmm: Avoid building demos and tests 2022-07-08 17:26:19 +03:00
tinywrkb d5f4e6f200 flatpak: Use meson buildsystem where possible 2022-07-08 17:26:19 +03:00
tinywrkb 356e6759b3 flatpak: Add eigen module 2022-07-08 17:26:19 +03:00
tinywrkb 8314d74c59 flatpak: Update modules to latest versions 2022-07-08 17:26:19 +03:00
tinywrkb fef5cc4e4b flatpak: Add f-e-d-c properties to depends, retain comments, and cosmetics 2022-07-08 17:26:19 +03:00
tinywrkb 4a210bdf75 flatpak: Update runtime to 21.08 2022-07-08 17:26:19 +03:00
Ryan Pavlik c4522dbd0d flatpak: Update manifest.
We don't apparently need home dir access, the portal works fine.
2022-07-08 17:26:19 +03:00
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
Ryan Pavlik 8fbefa1ae5 Update flatpak manifest more. 2021-04-22 15:48:16 -04:00
Ryan Pavlik 7f5bb401c3 Update flatpak manifest 2021-04-22 15:48:16 -04: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
whitequark 0b7b8a40e2 Linux: add Flatpak integration.
To test it, use:
  $ ./pkg/flatpak/build.sh
  $ flatpak install ./pkg/flatpak/solvespace.flatpak
  $ flatpak run com.solvespace.SolveSpace
2019-05-11 17:04:25 +00:00