-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtoolbox-gnome-40-create.sh
executable file
·59 lines (43 loc) · 1.19 KB
/
toolbox-gnome-40-create.sh
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
# toolbox
#variables
project_folder=${HOME}/Documents/projects
toolbox_name=f34gs
REPOS=(
libgweather
gsettings-desktop-schemas
mutter
gtk
clutter
gnome-shell
)
# outside the toolbox
#toolbox create --release 34 ${toolbox_name}
#toolbox enter ${toolbox_name}
# preparing for building
sudo dnf upgrade -y
sudo dnf install -y dbus-daemon
sudo dnf builddep -y ${REPOS[@]}
# building
mkdir -p ${project_folder}
for repo in ${REPOS[@]}; do
cd ${project_folder}
if [ ${repo}!=gnome-shell ]
then
git clone https://gitlab.gnome.org/GNOME/${repo}.git
mkdir ${project_folder}/${repo}/build
cd ${project_folder}/${repo}/build
meson --prefix=/usr
ninja
sudo ninja install
else
git clone https://gitlab.gnome.org/feaneron/gnome-shell.git
cd ${project_folder}/${repo}
git checkout gbsneto/40-stuff
mkdir ${project_folder}/${repo}/build
cd ${project_folder}/${repo}/build
meson --prefix=/usr
ninja
sudo ninja install
fi
done
MUTTER_DEBUG_DUMMY_MODE_SPECS=1920x1080 WAYLAND_DISPLAY=wayland-1 dbus-run-session -- gnome-shell --nested --wayland