Simplify the flatpak instructions

Tue, 14 Jan 2025 00:09:34 -0600

author
Gary Kramlich <grim@reaperworld.com>
date
Tue, 14 Jan 2025 00:09:34 -0600
changeset 43138
511e14c1caea
parent 43137
8d1d2ab65c87
child 43139
7b9d197a5e16

Simplify the flatpak instructions

This recommends getting flatpak-builder from flathub and tells it to install
dependencies from flathub.

I also ignored the ^repo/ since we use it in the instructions.

Testing Done:
Clean out my flatpaks and followed the directions.

Reviewed at https://reviews.imfreedom.org/r/3744/

.hgignore file | annotate | diff | comparison | revisions
README file | annotate | diff | comparison | revisions
--- a/.hgignore	Mon Jan 13 02:41:19 2025 -0600
+++ b/.hgignore	Tue Jan 14 00:09:34 2025 -0600
@@ -10,4 +10,5 @@
 ^build(.+)?\/
 win32-install-dir(\.release)?
 po\/pidgin3\.pot$
+^repo/
 ^subprojects\/.+\/
--- a/README	Mon Jan 13 02:41:19 2025 -0600
+++ b/README	Tue Jan 14 00:09:34 2025 -0600
@@ -25,23 +25,23 @@
 ### Flatpak
 
 Building with Flatpak is very straight forward. To get started you'll need to
-make sure that you have the `flatpak` and `flatpak-builder` packages installed
-for your distribution. You may find the official
-[Flatpak Setup page](https://flathub.org/setup) useful here, unfortunately they
-don't mention flatpak builder.
+make sure that you have the `flatpak` and `flatpak-builder` packages installed.
+You may find the official [Flatpak Setup page](https://flathub.org/setup)
+useful here.
 
-Next, you'll need to make sure you have the org.gnome.Sdk installed. You can
-install it system wide or just for your user, but the command below will
-install for your user.
+Once Flatpak is setup, you can install the `flatpak-builder` flatpak to make
+sure you have the most recent version. You can install it with the following
+command:
 
 ```
-flatpak install --user org.gnome.Sdk//47
+flatpak install --user org.flatpak.Builder
 ```
 
-Finally, you can build and install Pidgin3 with this command:
+Now that you have `flatpak` and `flatpak-builder` installed, you can build and
+install Pidgin3 with this command:
 
 ```
-flatpak-builder --user --force-clean build-flatpak --install im.pidgin.Pidgin3.yml
+flatpak run org.flatpak.Builder --user --force-clean --sandbox --install-deps-from=flathub --repo=repo build-flatpak --install im.pidgin.Pidgin3.yml
 ```
 
 Once that's successful, you can run it with `flatpak run im.pidgin.Pidgin3`

mercurial