Skip to content

Commit

Permalink
Update runtimes to 23.08 and GNOME 45
Browse files Browse the repository at this point in the history
  • Loading branch information
hfiguiere authored and TingPing committed Oct 5, 2023
1 parent d91865c commit 8b47acf
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion docs/available-runtimes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ comes with the corresponding SDK for building, and extensions for specific uses.

What is mentioned here is just a high level look at the contents. To have up
to date information simply install the runtime and open a shell inside of it
(``flatpak run org.freedesktop.Sdk//22.08``) from there you can look around or
(``flatpak run org.freedesktop.Sdk//23.08``) from there you can look around or
use tools like ``pkg-config --list-all``. In the runtime shell you can also
inspect ``/usr/manifest.json``, which lists the sources used to build it.

Expand Down
8 changes: 4 additions & 4 deletions docs/electron.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ To get setup for the build, download or clone the sample app from GitHub,
and navigate to the ``/flatpak`` directory in the terminal. You must also
install the Electron base app and the Node.js SDK extension::

$ flatpak install flathub org.electronjs.Electron2.BaseApp//22.08
$ flatpak install flathub org.freedesktop.Sdk.Extension.node18//22.08
$ flatpak install flathub org.electronjs.Electron2.BaseApp//23.08
$ flatpak install flathub org.freedesktop.Sdk.Extension.node18//23.08

Then you can run the build::

Expand All @@ -48,7 +48,7 @@ ID. It also configures the runtime and SDK:
app-id: org.flathub.electron-sample-app
runtime: org.freedesktop.Platform
runtime-version: '22.08'
runtime-version: '23.08'
sdk: org.freedesktop.Sdk
The Freedesktop runtime is generally the best runtime to use with Electron
Expand All @@ -65,7 +65,7 @@ manifest:
.. code-block:: yaml
base: org.electronjs.Electron2.BaseApp
base-version: '22.08'
base-version: '23.08'
Base apps are described in :doc:`dependencies`. Using the Electron base
app is much faster and more convenient than manually building Electron
Expand Down
6 changes: 3 additions & 3 deletions docs/first-build.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ dependencies. Each runtime has a matching SDK (Software Development Kit), which
contains all the things that are in the runtime, plus headers and development
tools. This SDK is required to build apps for the runtime.

In this tutorial we will use the Freedesktop 22.08 runtime and SDK. To
In this tutorial we will use the Freedesktop 23.08 runtime and SDK. To
install these, run::

$ flatpak install flathub org.freedesktop.Platform//22.08 org.freedesktop.Sdk//22.08
$ flatpak install flathub org.freedesktop.Platform//23.08 org.freedesktop.Sdk//23.08

2. Create the app
-----------------
Expand All @@ -46,7 +46,7 @@ manifest to the hello world app, add the following to an empty file:
app-id: org.flatpak.Hello
runtime: org.freedesktop.Platform
runtime-version: '22.08'
runtime-version: '23.08'
sdk: org.freedesktop.Sdk
command: hello.sh
modules:
Expand Down
2 changes: 1 addition & 1 deletion docs/manifests.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ For example, the GNOME Dictionary manifest includes:
app-id: org.gnome.Dictionary
runtime: org.gnome.Platform
runtime-version: '44'
runtime-version: '45'
sdk: org.gnome.Sdk
command: gnome-dictionary
Expand Down
6 changes: 3 additions & 3 deletions docs/multiarch.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ app, define an extension point for it in the app manifest:
add-extensions:
org.freedesktop.Platform.Compat.i386:
directory: lib/i386-linux-gnu
version: '22.08'
version: '23.08'
# This is not strictly required, but needed for debugging 32-bit programs
org.freedesktop.Platform.Compat.i386.Debug:
directory: lib/debug/lib/i386-linux-gnu
version: '22.08'
version: '23.08'
no-autodownload: true
For GNOME runtime, use ``org.gnome.Platform.Compat.i386`` instead.
Expand All @@ -51,7 +51,7 @@ in general, you'll also need 32-bit GL drivers. Add an extension point for it:
org.freedesktop.Platform.GL32:
directory: lib/i386-linux-gnu/GL
version: '1.4'
versions: 22.08;1.4
versions: 23.08;1.4
subdirectories: true
no-autodownload: true
autodelete: false
Expand Down

0 comments on commit 8b47acf

Please sign in to comment.