Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Solar System Flatpak

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.

To know more refer: https://github.com/sugarlabs/solar-system

## How To Build

```
git clone https://github.com/flathub/org.sugarlabs.SolarSystem.git
cd org.sugarlabs.SolarSystem
flatpak -y --user install org.gnome.{Platform,Sdk}//44
flatpak-builder --user --force-clean --install build org.sugarlabs.SolarSystem.json
```

## Check For Updates

Install the flatpak external data checker
```
flatpak --user install org.flathub.flatpak-external-data-checker
```

Now to update every single module to the latest stable version use
```
cd org.sugarlabs.SolarSystem
flatpak run --filesystem=$PWD org.flathub.flatpak-external-data-checker org.sugarlabs.SolarSystem.json
```
8 changes: 6 additions & 2 deletions org.sugarlabs.SolarSystem.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"app-id": "org.sugarlabs.SolarSystem",
"base": "org.sugarlabs.BaseApp",
"base-version": "22.06",
"base-version": "23.06",
"runtime": "org.gnome.Platform",
"runtime-version": "42",
"runtime-version": "44",
"sdk": "org.gnome.Sdk",
"separate-locales": false,
"command": "sugarapp",
Expand Down Expand Up @@ -36,6 +36,10 @@
"type": "patch",
"path": "solarsystem-screen.patch"
},
{
"type": "patch",
"path": "solarsystem-webkitfix.patch"
},
{
"type": "patch",
"path": "solarsystem-info.patch"
Expand Down
13 changes: 13 additions & 0 deletions solarsystem-webkitfix.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/infoview.py b/infoview.py
index 6466fff..b1a604e 100644
--- a/infoview.py
+++ b/infoview.py
@@ -23,7 +23,7 @@ from constants import CelestialBodyType
from utils import get_data_file

gi.require_version("Gtk", "3.0")
-gi.require_version("WebKit2", "4.0")
+gi.require_version("WebKit2", "4.1")

from gi.repository import Gtk
from gi.repository import WebKit2