Skip to content

Commit c836561

Browse files
authored
Merge pull request #3 from sparshg/master
2 parents b071ab5 + c0d7139 commit c836561

File tree

3 files changed

+46
-2
lines changed

3 files changed

+46
-2
lines changed

README.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Solar System Flatpak
2+
3+
The Solar System activity is a tool to encourage children to learn more about the planets and their moons (natural satellites). It is the author's hope that this tool serves as a practical and interactve way to explore astronomy.
4+
5+
To know more refer: https://github.com/sugarlabs/solar-system
6+
7+
## How To Build
8+
9+
```
10+
git clone https://github.com/flathub/org.sugarlabs.SolarSystem.git
11+
cd org.sugarlabs.SolarSystem
12+
flatpak -y --user install org.gnome.{Platform,Sdk}//44
13+
flatpak-builder --user --force-clean --install build org.sugarlabs.SolarSystem.json
14+
```
15+
16+
## Check For Updates
17+
18+
Install the flatpak external data checker
19+
```
20+
flatpak --user install org.flathub.flatpak-external-data-checker
21+
```
22+
23+
Now to update every single module to the latest stable version use
24+
```
25+
cd org.sugarlabs.SolarSystem
26+
flatpak run --filesystem=$PWD org.flathub.flatpak-external-data-checker org.sugarlabs.SolarSystem.json
27+
```

org.sugarlabs.SolarSystem.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"app-id": "org.sugarlabs.SolarSystem",
33
"base": "org.sugarlabs.BaseApp",
4-
"base-version": "22.06",
4+
"base-version": "23.06",
55
"runtime": "org.gnome.Platform",
6-
"runtime-version": "42",
6+
"runtime-version": "44",
77
"sdk": "org.gnome.Sdk",
88
"separate-locales": false,
99
"command": "sugarapp",
@@ -36,6 +36,10 @@
3636
"type": "patch",
3737
"path": "solarsystem-screen.patch"
3838
},
39+
{
40+
"type": "patch",
41+
"path": "solarsystem-webkitfix.patch"
42+
},
3943
{
4044
"type": "patch",
4145
"path": "solarsystem-info.patch"

solarsystem-webkitfix.patch

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
diff --git a/infoview.py b/infoview.py
2+
index 6466fff..b1a604e 100644
3+
--- a/infoview.py
4+
+++ b/infoview.py
5+
@@ -23,7 +23,7 @@ from constants import CelestialBodyType
6+
from utils import get_data_file
7+
8+
gi.require_version("Gtk", "3.0")
9+
-gi.require_version("WebKit2", "4.0")
10+
+gi.require_version("WebKit2", "4.1")
11+
12+
from gi.repository import Gtk
13+
from gi.repository import WebKit2

0 commit comments

Comments
 (0)