author | Edouard Tisserant <edouard.tisserant@gmail.com> |
Fri, 12 Aug 2022 13:14:33 +0200 | |
changeset 84 | 8e01f3bb59df |
parent 82 | 90da520cbaa5 |
child 86 | 3564991cd359 |
permissions | -rw-r--r-- |
79
a8b434605895
Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1 |
name: beremiz |
a8b434605895
Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2 |
version: '1.3-beta2' |
a8b434605895
Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
3 |
summary: Beremiz |
a8b434605895
Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
4 |
description: | |
81
a95b2fa896e9
SNAP: add SVGHMI and OPC-UA dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
79
diff
changeset
|
5 |
Beremiz is Free and Open Source PLC. It brings Free Software IDE (GPL) and Runtime (LGPL) for machine automation, conforming to IEC-61131. |
a95b2fa896e9
SNAP: add SVGHMI and OPC-UA dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
79
diff
changeset
|
6 |
# TODO icon |
a95b2fa896e9
SNAP: add SVGHMI and OPC-UA dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
79
diff
changeset
|
7 |
|
79
a8b434605895
Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
8 |
|
a8b434605895
Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
9 |
grade: devel |
a8b434605895
Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
10 |
confinement: devmode |
a8b434605895
Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
11 |
base: core20 |
a8b434605895
Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
12 |
|
a8b434605895
Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
13 |
parts: |
a8b434605895
Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
14 |
|
a8b434605895
Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
15 |
python-deps: |
a8b434605895
Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
16 |
# This part provides all python2 dependencies, including interpreter |
a8b434605895
Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
17 |
# More particularily, it builds latest PIP supporting python2 from git |
a8b434605895
Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
18 |
# and uses it to collect and buid other Beremiz dependencies. |
81
a95b2fa896e9
SNAP: add SVGHMI and OPC-UA dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
79
diff
changeset
|
19 |
# |
79
a8b434605895
Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
20 |
# rational: |
a8b434605895
Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
21 |
# - python plugin doesn't support python2 anymore on core20+ |
a8b434605895
Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
22 |
# - attempts to get python2+pip+virtualenv in a core20 based snap failed |
81
a95b2fa896e9
SNAP: add SVGHMI and OPC-UA dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
79
diff
changeset
|
23 |
|
79
a8b434605895
Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
24 |
plugin: nil |
a8b434605895
Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
25 |
source: https://github.com/pypa/pip/archive/refs/tags/20.3.4.tar.gz |
a8b434605895
Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
26 |
build-packages: |
a8b434605895
Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
27 |
- libssl-dev |
a8b434605895
Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
28 |
- libgtk-3-dev |
a8b434605895
Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
29 |
- libgl1-mesa-dev |
a8b434605895
Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
30 |
- libglu1-mesa-dev |
a8b434605895
Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
31 |
- python2-dev |
a8b434605895
Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
32 |
|
a8b434605895
Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
33 |
stage-packages: |
a8b434605895
Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
34 |
- python2 |
a8b434605895
Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
35 |
- python-setuptools |
a8b434605895
Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
36 |
|
a8b434605895
Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
37 |
override-build: | |
a8b434605895
Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
38 |
# For some reasons site-packages needs to be created and |
a8b434605895
Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
39 |
# added to PYTHONPATH during PIP (own) build. |
81
a95b2fa896e9
SNAP: add SVGHMI and OPC-UA dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
79
diff
changeset
|
40 |
# Apparently not anymore when snap is executed. |
79
a8b434605895
Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
41 |
mkdir $SNAPCRAFT_PART_INSTALL/usr/lib/python2.7/site-packages |
81
a95b2fa896e9
SNAP: add SVGHMI and OPC-UA dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
79
diff
changeset
|
42 |
PYTHONPATH=$SNAPCRAFT_PART_INSTALL/usr/lib/python2.7/site-packages \ |
a95b2fa896e9
SNAP: add SVGHMI and OPC-UA dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
79
diff
changeset
|
43 |
$SNAPCRAFT_PART_INSTALL/usr/bin/python2 $SNAPCRAFT_PART_SRC/setup.py \ |
a95b2fa896e9
SNAP: add SVGHMI and OPC-UA dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
79
diff
changeset
|
44 |
install --prefix $SNAPCRAFT_PART_INSTALL/usr |
a95b2fa896e9
SNAP: add SVGHMI and OPC-UA dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
79
diff
changeset
|
45 |
PYTHONPATH=$SNAPCRAFT_PART_INSTALL/usr/lib/python2.7/site-packages \ |
a95b2fa896e9
SNAP: add SVGHMI and OPC-UA dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
79
diff
changeset
|
46 |
$SNAPCRAFT_PART_INSTALL/usr/bin/pip install \ |
a95b2fa896e9
SNAP: add SVGHMI and OPC-UA dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
79
diff
changeset
|
47 |
lxml \ |
a95b2fa896e9
SNAP: add SVGHMI and OPC-UA dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
79
diff
changeset
|
48 |
future \ |
a95b2fa896e9
SNAP: add SVGHMI and OPC-UA dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
79
diff
changeset
|
49 |
matplotlib \ |
a95b2fa896e9
SNAP: add SVGHMI and OPC-UA dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
79
diff
changeset
|
50 |
msgpack_python \ |
a95b2fa896e9
SNAP: add SVGHMI and OPC-UA dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
79
diff
changeset
|
51 |
u-msgpack-python \ |
a95b2fa896e9
SNAP: add SVGHMI and OPC-UA dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
79
diff
changeset
|
52 |
zeroconf2 \ |
a95b2fa896e9
SNAP: add SVGHMI and OPC-UA dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
79
diff
changeset
|
53 |
enum34 \ |
a95b2fa896e9
SNAP: add SVGHMI and OPC-UA dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
79
diff
changeset
|
54 |
pyro \ |
a95b2fa896e9
SNAP: add SVGHMI and OPC-UA dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
79
diff
changeset
|
55 |
sslpsk \ |
a95b2fa896e9
SNAP: add SVGHMI and OPC-UA dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
79
diff
changeset
|
56 |
posix_spawn \ |
a95b2fa896e9
SNAP: add SVGHMI and OPC-UA dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
79
diff
changeset
|
57 |
twisted \ |
a95b2fa896e9
SNAP: add SVGHMI and OPC-UA dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
79
diff
changeset
|
58 |
nevow \ |
a95b2fa896e9
SNAP: add SVGHMI and OPC-UA dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
79
diff
changeset
|
59 |
autobahn \ |
a95b2fa896e9
SNAP: add SVGHMI and OPC-UA dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
79
diff
changeset
|
60 |
click \ |
a95b2fa896e9
SNAP: add SVGHMI and OPC-UA dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
79
diff
changeset
|
61 |
opcua \ |
a95b2fa896e9
SNAP: add SVGHMI and OPC-UA dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
79
diff
changeset
|
62 |
pycountry \ |
a95b2fa896e9
SNAP: add SVGHMI and OPC-UA dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
79
diff
changeset
|
63 |
fonttools \ |
a95b2fa896e9
SNAP: add SVGHMI and OPC-UA dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
79
diff
changeset
|
64 |
Brotli \ |
79
a8b434605895
Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
65 |
wxPython==4.1.1 |
a8b434605895
Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
66 |
|
a8b434605895
Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
67 |
beremiz: |
a8b434605895
Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
68 |
# Beremiz python source + GCC toolchain |
a8b434605895
Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
69 |
# source tree is expected to be just aside snap directory |
a8b434605895
Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
70 |
plugin: nil |
a8b434605895
Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
71 |
source: beremiz |
a8b434605895
Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
72 |
source-type: local |
a8b434605895
Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
73 |
stage-packages: |
a8b434605895
Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
74 |
- gcc |
a8b434605895
Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
75 |
- libc6 |
a8b434605895
Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
76 |
- libc6-dev |
a8b434605895
Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
77 |
- linux-libc-dev |
a8b434605895
Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
78 |
- libgcc-9-dev |
a8b434605895
Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
79 |
- libgcc-s1 |
a8b434605895
Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
80 |
override-build: | |
a8b434605895
Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
81 |
cp -a $SNAPCRAFT_PART_SRC $SNAPCRAFT_PART_INSTALL/beremiz |
a8b434605895
Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
82 |
|
a8b434605895
Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
83 |
matiec: |
a8b434605895
Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
84 |
# Matiec ST, SFC and IL compiler. |
a8b434605895
Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
85 |
# source tree is expected to be just aside snap directory |
a8b434605895
Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
86 |
plugin: nil |
a8b434605895
Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
87 |
source: matiec |
a8b434605895
Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
88 |
source-type: local |
a8b434605895
Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
89 |
build-packages: |
a8b434605895
Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
90 |
- build-essential |
a8b434605895
Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
91 |
- automake |
a8b434605895
Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
92 |
- flex |
a8b434605895
Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
93 |
- bison |
a8b434605895
Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
94 |
override-build: | |
a8b434605895
Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
95 |
autoreconf -i && ./configure && make |
a8b434605895
Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
96 |
cp -a $SNAPCRAFT_PART_BUILD $SNAPCRAFT_PART_INSTALL/matiec |
81
a95b2fa896e9
SNAP: add SVGHMI and OPC-UA dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
79
diff
changeset
|
97 |
|
82
90da520cbaa5
SNAP: add Modbus source and dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
81
diff
changeset
|
98 |
modbus: |
90da520cbaa5
SNAP: add Modbus source and dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
81
diff
changeset
|
99 |
plugin: nil |
90da520cbaa5
SNAP: add Modbus source and dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
81
diff
changeset
|
100 |
source: Modbus |
90da520cbaa5
SNAP: add Modbus source and dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
81
diff
changeset
|
101 |
source-type: local |
90da520cbaa5
SNAP: add Modbus source and dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
81
diff
changeset
|
102 |
build-packages: |
90da520cbaa5
SNAP: add Modbus source and dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
81
diff
changeset
|
103 |
- build-essential |
90da520cbaa5
SNAP: add Modbus source and dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
81
diff
changeset
|
104 |
- automake |
90da520cbaa5
SNAP: add Modbus source and dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
81
diff
changeset
|
105 |
override-build: | |
90da520cbaa5
SNAP: add Modbus source and dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
81
diff
changeset
|
106 |
make |
90da520cbaa5
SNAP: add Modbus source and dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
81
diff
changeset
|
107 |
cp -a $SNAPCRAFT_PART_BUILD $SNAPCRAFT_PART_INSTALL/Modbus |
90da520cbaa5
SNAP: add Modbus source and dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
81
diff
changeset
|
108 |
|
81
a95b2fa896e9
SNAP: add SVGHMI and OPC-UA dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
79
diff
changeset
|
109 |
open62541: |
a95b2fa896e9
SNAP: add SVGHMI and OPC-UA dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
79
diff
changeset
|
110 |
plugin: nil |
a95b2fa896e9
SNAP: add SVGHMI and OPC-UA dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
79
diff
changeset
|
111 |
source: open62541 |
a95b2fa896e9
SNAP: add SVGHMI and OPC-UA dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
79
diff
changeset
|
112 |
source-type: local |
a95b2fa896e9
SNAP: add SVGHMI and OPC-UA dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
79
diff
changeset
|
113 |
build-packages: |
a95b2fa896e9
SNAP: add SVGHMI and OPC-UA dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
79
diff
changeset
|
114 |
- build-essential |
a95b2fa896e9
SNAP: add SVGHMI and OPC-UA dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
79
diff
changeset
|
115 |
- cmake |
a95b2fa896e9
SNAP: add SVGHMI and OPC-UA dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
79
diff
changeset
|
116 |
override-build: | |
a95b2fa896e9
SNAP: add SVGHMI and OPC-UA dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
79
diff
changeset
|
117 |
mkdir build && cd build && cmake .. && make |
a95b2fa896e9
SNAP: add SVGHMI and OPC-UA dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
79
diff
changeset
|
118 |
cp -a $SNAPCRAFT_PART_BUILD $SNAPCRAFT_PART_INSTALL/open62541 |
79
a8b434605895
Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
119 |
|
81
a95b2fa896e9
SNAP: add SVGHMI and OPC-UA dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
79
diff
changeset
|
120 |
inkscape: |
a95b2fa896e9
SNAP: add SVGHMI and OPC-UA dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
79
diff
changeset
|
121 |
# CLI only, used in SVGHMI build |
a95b2fa896e9
SNAP: add SVGHMI and OPC-UA dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
79
diff
changeset
|
122 |
# GUI fails to launch couldn't find a way |
a95b2fa896e9
SNAP: add SVGHMI and OPC-UA dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
79
diff
changeset
|
123 |
plugin: nil |
a95b2fa896e9
SNAP: add SVGHMI and OPC-UA dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
79
diff
changeset
|
124 |
stage-packages: |
a95b2fa896e9
SNAP: add SVGHMI and OPC-UA dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
79
diff
changeset
|
125 |
- inkscape |
a95b2fa896e9
SNAP: add SVGHMI and OPC-UA dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
79
diff
changeset
|
126 |
- libgtk-3-0 |
a95b2fa896e9
SNAP: add SVGHMI and OPC-UA dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
79
diff
changeset
|
127 |
# libgtk3 needs to be explicitely given |
a95b2fa896e9
SNAP: add SVGHMI and OPC-UA dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
79
diff
changeset
|
128 |
# otherwise wxGtk doesn't start, with this error : |
a95b2fa896e9
SNAP: add SVGHMI and OPC-UA dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
79
diff
changeset
|
129 |
# libgtk-3.so.0: undefined symbol: pango_font_family_get_face |
a95b2fa896e9
SNAP: add SVGHMI and OPC-UA dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
79
diff
changeset
|
130 |
# ... why ? |
a95b2fa896e9
SNAP: add SVGHMI and OPC-UA dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
79
diff
changeset
|
131 |
|
79
a8b434605895
Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
132 |
revisiontxt: |
a8b434605895
Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
133 |
# Makefile generated "revisions.txt" |
a8b434605895
Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
134 |
plugin: nil |
a8b434605895
Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
135 |
source: . |
a8b434605895
Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
136 |
source-type: local |
a8b434605895
Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
137 |
override-build: | |
a8b434605895
Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
138 |
cp $SNAPCRAFT_PART_SRC/revisions.txt $SNAPCRAFT_PART_INSTALL |
a8b434605895
Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
139 |
|
a8b434605895
Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
140 |
apps: |
a8b434605895
Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
141 |
ide: |
81
a95b2fa896e9
SNAP: add SVGHMI and OPC-UA dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
79
diff
changeset
|
142 |
# Launcher for the IDE |
79
a8b434605895
Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
143 |
environment: |
a8b434605895
Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
144 |
SYSROOT: $SNAP |
a8b434605895
Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
145 |
command: usr/bin/python2 $SNAP/beremiz/Beremiz.py |
a8b434605895
Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
146 |
extensions: [gnome-3-38] |
a8b434605895
Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
147 |
|
a8b434605895
Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
148 |
beremiz: |
81
a95b2fa896e9
SNAP: add SVGHMI and OPC-UA dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
79
diff
changeset
|
149 |
# Beremiz Command Line interface |
79
a8b434605895
Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
150 |
environment: |
a8b434605895
Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
151 |
SYSROOT: $SNAP |
a8b434605895
Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
152 |
command: usr/bin/python2 $SNAP/beremiz/Beremiz_cli.py |
81
a95b2fa896e9
SNAP: add SVGHMI and OPC-UA dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
79
diff
changeset
|
153 |
|
a95b2fa896e9
SNAP: add SVGHMI and OPC-UA dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
79
diff
changeset
|
154 |
runtime: |
a95b2fa896e9
SNAP: add SVGHMI and OPC-UA dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
79
diff
changeset
|
155 |
# Standalone runtime |
a95b2fa896e9
SNAP: add SVGHMI and OPC-UA dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
79
diff
changeset
|
156 |
environment: |
a95b2fa896e9
SNAP: add SVGHMI and OPC-UA dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
79
diff
changeset
|
157 |
SYSROOT: $SNAP |
a95b2fa896e9
SNAP: add SVGHMI and OPC-UA dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
79
diff
changeset
|
158 |
command: usr/bin/python2 $SNAP/beremiz/Beremiz_service.py |