Skip to content

Commit

Permalink
Upgrade to elementary 6.1 runtime (#25)
Browse files Browse the repository at this point in the history
* Upgrade runtime to 6.1
Upgrade flatpak runtime to version 6.1 and remove Accounts permission which is no longer needed.

* Partially fix "Show file" button
Rename "Show file" button in downloads page into "Show downloads" and make it always open downloads directory to circumvent issue with native file chooser inside of flatpak.

* Fix issue with trashing client certificates
Move individual pk.pem and cert.pem files into trash and delete their parent directory to bypass flatpak/xdg-desktop-portal#518

* Fix icon spacing in header bar
Simplify HeaderBar layout and re-introduce the spacing lost in migration to platform version 6.1

* Solve build warning
Solve warnings that appeared after upgrade to platform version 6.1

* Add details on local flatpak build
Add details for installing elementary runtime prior to building flatpak locally.

* Update po files

* Add 1.3.1 release notes
Add release notes and transition to using tag-based github links for screenshots.
  • Loading branch information
Antolius authored Dec 18, 2021
1 parent 4250b3b commit c67d3ef
Show file tree
Hide file tree
Showing 11 changed files with 311 additions and 149 deletions.
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,24 @@ ninja hr.from.josipantolis.starfish-update-po

## Package

Starfish is packaged as a Flatpak. You can build and install it locally with:
Starfish is packaged with Flatpak and based on `io.elementary.Platform` runtime. In order to build it locally you may need to install the runtime first:

```sh
flatpak install --user io.elementary.Sdk//6.1
```

After that you can build and install Starfish itself with:

```sh
flatpak-builder build hr.from.josipantolis.starfish.yml --user --install --force-clean
```

And run it with:

```sh
flatpak run hr.from.josipantolis.starfish
```

## License

[GNU GPLv3](COPYING)
Expand Down
25 changes: 18 additions & 7 deletions data/starfish.appdata.xml.in
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,17 @@
<p>Starfish is a beginner-friendly desktop client for Gemini protol. It supports all core features of Gemini, such as beautiful rendering of text based content and encrypted communication with servers. On top of those Starfish offers comforts of modern browsers, like local browsing history, tabs and favorites.</p>
</description>
<releases>
<release version="1.3.1" date="2021-12-18">
<description>
<p>A smaller release with some housekeeping and a couple of bug fixes:</p>
<ul>
<li>Deleting client certificates is fixed: you can now send them to trash, and restore them from there if you change your mind.</li>
<li>The "Show file" button in the download page is renamed to "Show Downloads" and now opens the Downloads directory.</li>
<li>Address bar now stretches to fill more horizontal space making longer Gemini addresses readable.</li>
<li>The app is updated to use the new elementary 6.1 runtime.</li>
</ul>
</description>
</release>
<release version="1.3.0" date="2021-12-16">
<description>
<p>Input page received a series of improvements this time around:</p>
Expand Down Expand Up @@ -78,31 +89,31 @@
<url type="bugtracker">https://github.com/starfish-app/starfish/issues</url>
<screenshots>
<screenshot type="default">
<image>https://raw.githubusercontent.com/starfish-app/starfish/main/data/screenshots/styling.png</image>
<image>https://raw.githubusercontent.com/starfish-app/starfish/1.3.1/data/screenshots/styling.png</image>
<caption>Gemini pages are displayed with your chosen accent color and light or dark style</caption>
</screenshot>
<screenshot>
<image>https://raw.githubusercontent.com/starfish-app/starfish/main/data/screenshots/intro-to-gemini.png</image>
<image>https://raw.githubusercontent.com/starfish-app/starfish/1.3.1/data/screenshots/intro-to-gemini.png</image>
<caption>gentle introduction to Gemini is provided to help you find your bearings</caption>
</screenshot>
<screenshot>
<image>https://raw.githubusercontent.com/starfish-app/starfish/main/data/screenshots/search-and-toc.png</image>
<image>https://raw.githubusercontent.com/starfish-app/starfish/1.3.1/data/screenshots/search-and-toc.png</image>
<caption>page search and table of contents help you navigate larger gemtext pages</caption>
</screenshot>
<screenshot>
<image>https://raw.githubusercontent.com/starfish-app/starfish/main/data/screenshots/certificates.png</image>
<image>https://raw.githubusercontent.com/starfish-app/starfish/1.3.1/data/screenshots/certificates.png</image>
<caption>connection to Gemini sites is secured by both server and client certificates</caption>
</screenshot>
<screenshot>
<image>https://raw.githubusercontent.com/starfish-app/starfish/main/data/screenshots/cert-picker.png</image>
<image>https://raw.githubusercontent.com/starfish-app/starfish/1.3.1/data/screenshots/cert-picker.png</image>
<caption>using multiple client certificates you can create as many online identities as you wish</caption>
</screenshot>
<screenshot>
<image>https://raw.githubusercontent.com/starfish-app/starfish/main/data/screenshots/image.png</image>
<image>https://raw.githubusercontent.com/starfish-app/starfish/1.3.1/data/screenshots/image.png</image>
<caption>images, in addition to gemtext pages, are displayed inside the app</caption>
</screenshot>
<screenshot>
<image>https://raw.githubusercontent.com/starfish-app/starfish/main/data/screenshots/dyslexia-font.png</image>
<image>https://raw.githubusercontent.com/starfish-app/starfish/1.3.1/data/screenshots/dyslexia-font.png</image>
<caption>Gemini pages can be displayed using the dyslexia friendly font and varying text size</caption>
</screenshot>
</screenshots>
Expand Down
4 changes: 1 addition & 3 deletions hr.from.josipantolis.starfish.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
app-id: hr.from.josipantolis.starfish
runtime: io.elementary.Platform
runtime-version: '6'
runtime-version: '6.1'
sdk: io.elementary.Sdk
command: hr.from.josipantolis.starfish
finish-args:
Expand All @@ -11,8 +11,6 @@ finish-args:
- '--share=network'
# Needed for opening local files with files:// URI scheme
- '--filesystem=home:ro'
# Nedded for perfer-color-scheme
- '--system-talk-name=org.freedesktop.Accounts'
modules:
- name: gtkspell
config-opts:
Expand Down
Loading

0 comments on commit c67d3ef

Please sign in to comment.