mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-03 17:33:25 +00:00
devel-docs: quick command to get the right flatpak runtime version.
For debugging the flatpak, we often ask people to install the SDK and debug data. Yet there might be several branches of the GNOME SDK installed at once, hence flatpak will ask which version to install. This quick command can be copy-pasted as it's a way to detect which runtime is being used by your flatpak-ed GIMP.
This commit is contained in:
parent
21add2c994
commit
f3ee39c3c4
1 changed files with 2 additions and 1 deletions
|
@ -160,7 +160,8 @@ Here is how you can find the proper code line in the Flatpak (provided
|
|||
you use the right flatpak commit):
|
||||
|
||||
```
|
||||
$ flatpak install flathub org.gimp.GIMP.Debug org.gnome.Sdk.Debug
|
||||
$ RUNTIME_VERSION=$(flatpak run org.gimp.GIMP//stable -v |grep runtime=runtime/org.gnome.Platform/ |sed 's$runtime=runtime/org.gnome.Platform/$$')
|
||||
$ flatpak install flathub org.gimp.GIMP.Debug org.gnome.Sdk/$RUNTIME_VERSION org.gnome.Sdk.Debug/$RUNTIME_VERSION
|
||||
$ flatpak run --devel --command=bash org.gimp.GIMP
|
||||
(flatpak) $ gdb /app/bin/gimp-2.10
|
||||
(gdb) info line *(file_open_image+0x4e8)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue