[gnome-disk-utility] Build/install readme: Install GNOME nightly runtime



commit 3c30a6342808a88e26bb41f3a64bc5acf68230dc
Author: Kai Lüke <kailueke riseup net>
Date:   Mon Aug 26 23:55:43 2019 +0200

    Build/install readme: Install GNOME nightly runtime
    
    Add .Platform and .Sdk install instructions which
    were missing.

 INSTALL | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/INSTALL b/INSTALL
index b0fb9535..088c657e 100644
--- a/INSTALL
+++ b/INSTALL
@@ -44,9 +44,13 @@ from git, and then start the built UDisks binary,
 replacing the system daemon:
 
 Using Flatpak to build and run GNOME Disks and UDisks (both from web sources):
+  # (skip these two steps if you already installed the nightly GNOME runtime)
+  flatpak --user remote-add --if-not-exists gnome-nightly https://sdk.gnome.org/gnome-nightly.flatpakrepo
+  flatpak --user install gnome-nightly org.gnome.Platform//master org.gnome.Sdk//master
+  # build GNOME Disks and all dependencies
   flatpak-builder app flatpak/org.gnome.DiskUtility.json
   # now run UDisks as system service, replacing your system's instance
-  sudo bwrap --tmpfs / --proc /proc --bind /sys /sys --dev-bind /dev /dev --dir /tmp --ro-bind 
/home/kai/.local/share/flatpak/runtime/org.gnome.Platform/x86_64/master/active/files /usr --bind /etc /etc 
--bind /var /var --bind /run /run --symlink usr/lib64 /lib64 --ro-bind app/files /app --chdir / 
--die-with-parent /app/libexec/udisks2/udisksd -r
+  sudo bwrap --tmpfs / --proc /proc --bind /sys /sys --dev-bind /dev /dev --dir /tmp --ro-bind 
~/.local/share/flatpak/runtime/org.gnome.Platform/x86_64/master/active/files /usr --bind /etc /etc --bind 
/var /var --bind /run /run --symlink usr/lib64 /lib64 --ro-bind app/files /app --chdir / --die-with-parent 
/app/libexec/udisks2/udisksd -r
   # in a new terminal in the current folder:
   flatpak-builder --run app flatpak/org.gnome.DiskUtility.json gnome-disks
   # or LD_LIBRARY_PATH=app/files/lib/ app/files/bin/gnome-disks to run without any sandboxing
@@ -74,7 +78,7 @@ Build a Flatpak app with your local source code changes:
   flatpak build app meson --prefix=/app _build
   flatpak build app ninja -C _build install
   flatpak-builder --finish-only --repo=repo app flatpak/org.gnome.DiskUtility.json
-  # Now you can already run it the same as above and with UDisks through the LD_LIBRARY_PATH trick
+  # Now you can already run it the same way as above (flatpak-builder --run app …, and restart UDisks 
through bwrap)
   # or you can continue to do the following step to create a Flatpak bundle.
   flatpak build-bundle repo org.gnome.DiskUtility.flatpak 
--runtime-repo=https://sdk.gnome.org/gnome-nightly.flatpakrepo org.gnome.DiskUtility
   # Install the resulting org.gnome.DiskUtility.flatpak file:


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]