49 Commits

Author SHA1 Message Date
John Morris
09c87cf811 build-aux/snap/snapcraft.yaml: python3.8 -> 3.10
Fix traceback when selecting "Project" menu "Launch the terminal block
creation plugin" item:

    Traceback (most recent call last):
      File "/snap/qelectrotech/1973/bin/qet_tb_generator", line 33, in <module>
        sys.exit(load_entry_point('qet-tb-generator==1.3.1', 'console_scripts', 'qet_tb_generator')())
      File "/snap/qelectrotech/1973/bin/qet_tb_generator", line 25, in importlib_load_entry_point
        return next(matches).load()
      File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 171, in load
        module = import_module(match.group('module'))
      File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
        return _bootstrap._gcd_import(name[level:], package, level)
      File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
      File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
      File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
      File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
      File "<frozen importlib._bootstrap_external>", line 883, in exec_module
      File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
      File "/snap/qelectrotech/1973/lib/python3.10/site-packages/src/main.py", line 98, in <module>
        import src.PySimpleGUI as sg
      File "/snap/qelectrotech/1973/lib/python3.10/site-packages/src/PySimpleGUI.py", line 95, in <module>
        import tkinter as tk
    ModuleNotFoundError: No module named 'tkinter'
2025-01-29 00:22:17 -06:00
Laurent Trinques
e3e48d3966
Fix snapcraft.yaml 2024-12-14 16:09:07 +01:00
Laurent Trinques
fe3ffd890b
Update snapcraft.yaml 2024-10-31 11:15:50 +01:00
Laurent Trinques
59253019ff
Update snapcraft.yaml 2024-09-30 06:13:24 +02:00
Laurent Trinques
b2a999cec5
Update snapcraft.yaml 2024-09-29 14:38:39 +02:00
Laurent Trinques
f1cb63cf0c
Snap elementeditor: remove old plugin DXFtoQET 2024-09-29 14:37:25 +02:00
Laurent Trinques
69338962bc
revert Update snapcraft.yaml 2024-05-05 20:46:37 +02:00
Laurent Trinques
78005f812a
Update snapcraft.yaml 2024-05-05 16:30:12 +02:00
Laurent Trinques
3479b98242
Update snapcraft.yaml 2024-05-05 16:02:41 +02:00
Laurent Trinques
2ae3d3d5ae
Update snapcraft.yaml 2023-11-13 10:33:16 +01:00
Laurent Trinques
4d5a235887
Update snapcraft.yaml 2023-10-13 09:13:47 +02:00
Laurent Trinques
7829669b07
Update snapcraft.yaml
change Environment variables 
SNAPCRAFT_*→ CRAFT_*
2023-09-06 18:35:42 +02:00
Laurent Trinques
02d31874ae
Update snapcraft.yaml 2023-09-06 17:49:52 +02:00
Laurent Trinques
525ce6124d
Update snapcraft.yaml
replace 'snapcraftctl' with 'craftctl' to 
migrate from core20 to core22
2023-09-06 17:34:07 +02:00
Laurent Trinques
f2ef554290
Update snapcraft.yaml
change to kf5-5-108-qt-5-15-10-core22-sdk
2023-09-06 16:28:57 +02:00
Laurent Trinques
660707bf28
Update snapcraft.yaml 2023-09-05 15:06:47 +02:00
Laurent Trinques
6423dfe3cc
Update snapcraft.yaml 2023-09-05 14:43:11 +02:00
Laurent Trinques
1f75953648
Update snapcraft.yaml 2023-09-05 14:17:41 +02:00
Laurent Trinques
920274acc1
Update snapcraft.yaml 2023-09-05 14:15:44 +02:00
Laurent Trinques
9ba24337f9
Update snapcraft.yaml 2023-09-05 14:12:46 +02:00
Laurent Trinques
55297efab9
Update snapcraft.yaml 2023-09-05 14:10:08 +02:00
Laurent Trinques
fe6814c65f
Update snapcraft.yaml 2023-09-05 14:05:00 +02:00
Laurent Trinques
5289fc7527
Update snapcraft.yaml 2023-09-05 14:03:01 +02:00
Laurent Trinques
341bfa5d10
Update snapcraft.yaml 2023-09-05 13:38:13 +02:00
Laurent Trinques
8433fbeec2
Update snapcraft.yaml 2023-09-05 13:30:07 +02:00
Laurent Trinques
219d17840b
Update snapcraft.yaml 2023-09-05 12:59:02 +02:00
Laurent Trinques
2154461b1d
Update snapcraft.yaml 2023-09-05 11:53:55 +02:00
Laurent Trinques
e8c876c88e
Update snapcraft.yaml 2023-09-05 10:51:50 +02:00
Laurent Trinques
e6abff81bb
Update snapcraft.yaml 2023-09-05 10:34:04 +02:00
Laurent Trinques
6ec41f7ceb
Update snapcraft.yaml 2023-09-05 10:27:43 +02:00
Laurent Trinques
1748280b80 Try to fix Github action to build snap 2023-05-10 16:54:02 +02:00
Laurent Trinques
2a1d3ae1f1 Try to fix Github action to build snap 2023-05-10 10:20:38 +02:00
Maximilian Federle
782eaff4d2 snap: Remove framework snap prompt
Now that https://github.com/snapcore/snapcraft/pull/3596 has been
released in snapcraft 6.0.1, drop the prompt that tells users to
disconnect the old framework snap.

Also drop --enable-experimental-extensions from CI  because kde-neon
has been declared stable for core20.
2022-01-14 18:12:45 +01:00
Maximilian Federle
5055e93114 snap: Port to core20 2021-11-20 16:57:45 +01:00
Laurent Trinques
ebeeb04aa4 Fix typo in URL 2021-11-16 13:31:52 +01:00
Laurent Trinques
f0413ce9a5 SNAP change Github source to https://github.com/raulroda/qet_tb_generator-plugin 2021-11-16 13:30:02 +01:00
Laurent Trinques
c7648fe2af Snap : try to add PySimpleGUI python-packages 2021-05-21 19:38:11 +02:00
Maximilian Federle
0907830d67 snap: Fix whitespace in snapcraft.yaml 2020-09-27 12:44:08 +02:00
Laurent Trinques
65ba816859 Try to fix Snap package with sqite3 new depend 2020-09-24 12:19:30 +02:00
Laurent Trinques
d5f3531d66 Snap remove i386 architecture 2020-05-06 10:46:10 +02:00
Laurent Trinques
df3dd717d0 Enable only amd64 i386 architectures 2020-05-06 10:05:47 +02:00
Laurent Trinques
1320d12535 Refresh github link for DXFtoQET-2020 2020-05-06 09:49:03 +02:00
Maximilian Federle
74d5d0f6ef snap: Use symlinks instead of bind-mounts
As per https://snapcraft.io/docs/snap-layouts,
bind-mounts significantly increase the startup time of the snap.
Use symlinks instead for better performance.
2020-04-17 05:29:31 +02:00
Maximilian Federle
983d78727c snap: Set correct PYTHONPATH
Fix qet-tb-generator not being able to find
its packages.
2020-04-17 05:29:31 +02:00
Maximilian Federle
07d3fd1ed4 snap: Use SNAP_USER_COMMON as HOME
This prevents the config and the user collection from being
backed up by snapd on update. If the user reverts qelectrotech,
the current collection will thus not be overwritten by the
possibly outdated backup.

Add a migration script that automatically transfers the user's .qet
directory to the new location.
2020-04-17 05:29:31 +02:00
Maximilian Federle
6867bf813a snap: Do not ship files already included in content snaps
Remove all files from prime that are already included in our content
snaps, which reduces snap size considerably.
2020-04-17 05:29:31 +02:00
Maximilian Federle
b9002ab4da snap: Use kde-frameworks-5-core18-sdk to build
Use kde-neon's corresponding sdk snap instead of
build-packages.
2020-04-17 05:29:31 +02:00
Maximilian Federle
5b1bd22b30 snap: Use kde-neon extension
The kde-neon extension reduces our boilerplate in snapcraft.yaml
and reduces the snap size considerably, as we do not need to ship
any library that is already included in the kde-frameworks-5-core18
snap itself.

This limits qelectrotech builds to the architectures supported
by kde-frameworks-5-core18, i.e. only amd64.
2020-04-17 05:29:31 +02:00
Mathieu Bridon
3f38f4b16c build: Move the Snap recipes
Snapcraft can find its build recipes in 2 places:

* a snap/ directory at the top of the sources;
* a build-aux/snap/ directory, since Snapcraft 3.3;

This commit moves from the former to the latter, so that we can group
all the packaging recipes together.
2020-02-14 14:43:36 +01:00