nautilus: add workaround for libportal-0.5

It's tested with nautilus-40.2 and 41.1.  41.1 still needs it.
This commit is contained in:
Xi Ruoyao 2021-12-31 20:28:15 +08:00
parent 75b6dff1a0
commit b50ef7e635
No known key found for this signature in database
GPG Key ID: D95E4716CCBB34DC

View File

@ -115,6 +115,14 @@
<sect2 role="installation">
<title>Installation of Nautilus</title>
<para>
Fix an issue building <application>Nautilus</application> with
libportal-0.5 or later:
</para>
<screen><userinput>sed "/dependency/s@'libportal'@'libportal-gtk3'@" -i meson.build
sed "/portal-gtk3/s@portal/@portal-gtk3/@" -i src/nautilus-files-view.c</userinput></screen>
<para>
Install <application>Nautilus</application> by running the following
commands: