Codebase list tilix / 4ca0d2e
Update flatpak instructions gnunn1 5 years ago
4 changed file(s) with 10 addition(s) and 42 deletion(s). Raw diff Collapse all Expand all
00 ### Building Tilix Flatpak Bundle
11
2 This folder contains the scripts required to build Terminix as an Flatpak bundle. Flatpak allows desktop applications to be distributed independently of traditional Linux package managers, applications distributed in this way run in a sandboxed environment. Additional information on Flatpak can be found [here](http://flatpak.org/).
2 This folder contains the scripts required to build Tilix as an Flatpak bundle. Flatpak allows desktop applications to be distributed independently of traditional Linux package managers, applications distributed in this way run in a sandboxed environment. Additional information on Flatpak can be found [here](http://flatpak.org/).
33
44 The first step to building the Tilix Flatpak Bundle is to install the flatpak framework. This will vary by distribution, see [Getting Flatpak](http://flatpak.org/getting.html).
55
66 Once that is done you will need to install the Gnome runtimes, this can be done by following the instructions on the [Flatpak wiki](http://docs.flatpak.org/en/latest/getting-setup.html). The specific steps you need are as follows:
77 )
88 ```
9 $ flatpak --user remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
10 $ flatpak --user install flathub org.gnome.Platform 3.24
11 $ flatpak --user install flathub org.gnome.Sdk 3.24
9 flatpak install flathub org.gnome.Sdk 3.28
10 flatpak install flathub org.gnome.Platform 3.28
1211 ```
1312 With all the dependencies in place, you can now build the bundle:
1413
1514 ```
16 ./build.sh
17 flatpak build-bundle ./repo tilix.flatpak com.gexperts.Tilix
15 flatpak-builder --install flatpak-builder com.gexperts.Tilix.yaml
1816 ```
17
18 And then run the application:
19
20 ```
21 flatpak run com.gexperts.Tilix
22 ```
+0
-16
experimental/flatpak/build.sh less more
0 #! /bin/sh
1
2 BUILD_DIR=$PWD/builddir
3 JSON=com.gexperts.Tilix.json
4 REPO=$PWD/repo
5
6 ./clean.sh
7
8 echo "Building with flatpak-builder..."
9 flatpak-builder --repo=$REPO $BUILD_DIR $JSON
10
11 echo "Adding repo..."
12 flatpak --user remote-add --no-gpg-verify tilix-repo $REPO
13
14 echo "Installing Tilix..."
15 flatpak --user install tilix-repo com.gexperts.Tilix
+0
-17
experimental/flatpak/clean.sh less more
0 #! /bin/sh
1
2 BUILD_DIR=$PWD/builddir
3 JSON=com.gexperts.Tilix.json
4 REPO=$PWD/repo
5
6 echo "Uninstalling Tilix..."
7 flatpak --user uninstall com.gexperts.Tilix
8
9 echo "Removing repo..."
10 flatpak --user remote-delete tilix-repo
11
12 echo "Removing repo..."
13 rm -rf $REPO
14
15 echo "Removing build dir..."
16 rm -rf $BUILD_DIR
+0
-3
experimental/flatpak/run.sh less more
0 #! /bin/sh
1
2 flatpak run com.gexperts.Tilix