-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsnapcraft.yaml
143 lines (137 loc) · 3.69 KB
/
snapcraft.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
name: pharo
version: 6.0.0.5
version-script: |
if [ "$SNAPCRAFT_GRADE" = "stable" ]
then
echo $SNAPCRAFT_PROJECT_VERSION
else
echo $SNAPCRAFT_PROJECT_VERSION-$(build_scripts/dev_version.sh)
fi
summary: Pharo 6 Smalltalk
description: |
This package contains the 6.0 32 & 64 bit threaded VMs and images.
Available commands:
pharo runs the vm in headless mode.
pharo.ui runs the vm with display.
pharo.cleanimage copies the image and changes file to the working directory.
pharo.getimage copies the latest 6.0 VM from http://get.pharo.org
pharo.sqlite3 runs the sqlite3 command line utility.
pharo.config configures system thread priority, see below.
pharo.cleanimage32 and pharo.getimage32 are the
32 bit equivalents of the commands listed above.
System Configuration:
This Pharo VM uses a threaded heartbeat that requires elevated priority.
Permission is granted by creating /etc/security/limits.d/pharo.conf
with the appropriate contents. Running pharo.config will create or
overwrite the configuration file. This command must be run as root:
$ sudo pharo.config
This command only needs to be run once, and you must log out and
back in for the changes to take effect.
Web Site:
The Pharo web site: http://pharo.org/
Snapcraft package source: https://github.com/akgrant43/pharo-snap
grade: stable
confinement: classic
apps:
pharo:
command: bin/desktop-launch $SNAP/usr/bin/pharo --nodisplay
ui:
command: bin/desktop-launch $SNAP/usr/bin/pharo
sqlite3:
command: usr/bin/sqlite3
cleanimage:
command: usr/bin/cleanimage
getimage:
command: usr/bin/getimage
cleanimage32:
command: usr/bin/cleanimage32
getimage32:
command: usr/bin/getimage32
config:
command: usr/bin/CONFIG
parts:
pharo:
source: ./
plugin: make
after:
- desktop-glib-only
xdg-open:
plugin: autotools
source: https://github.com/snapcore/snapd-xdg-open.git
source-type: git
build-packages:
- autoconf
- automake
- bash-completion
- build-essential
- cmake
- debhelper
- devscripts
- g++
- gcc-multilib
- gcc-4.8
- g++-4.8
- gcc-4.8-multilib
- git
- libasound2-dev
- libasound2-dev:i386
- libasound2:i386
- libasound2-plugins:i386
- libc6-dev:i386
- libfreetype6-dev
- libfreetype6-dev:i386
- libgl1-mesa-dev
- libgl1-mesa-dev:i386
- libgl1-mesa-glx:i386
- libglapi-mesa:i386
#- libglib2.0-dev:i386
- libice-dev:i386
#- libpulse-dev
#- libpulse-dev:i386
- libsm-dev:i386
- libssl1.0.0:i386
- libssl-dev
- libssl-dev:i386
- libtool
- libx11-dev
- libx11-dev:i386
- libxext-dev
- libxext-dev:i386
- locales-all
- patchelf
- ruby
- unzip
- uuid-dev
- uuid-dev:i386
- xz-utils
- zip
stage-packages:
- gcc-multilib
- libc-bin:i386
- libx11-6:i386
- libgl1-mesa-glx:i386
- libfontconfig1:i386
- libssl1.0.0:i386
- libcairo2-dev:i386
- libc6:i386
- libexpat1:i386
- libgnome2-bin
- libasound2:i386
- libasound2-dev:i386
- libasound2-plugins:i386
- libssl-dev:i386
- libfreetype6-dev:i386
- libsm-dev:i386
- libice-dev:i386
- libgl1-mesa-dev:i386
- libxext-dev:i386
- libglapi-mesa:i386
- uuid-dev:i386
- sqlite3
- libsqlite3-dev
- libsqlite3-dev:i386
- git
- vim
- curl
- unzip
- locales-all