Adapt NetworkManager to changes in pygobject3

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@23734 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Douglas R. Reno 2020-09-19 21:15:55 +00:00
parent b56f4046dd
commit 96ce7d5bb6
2 changed files with 16 additions and 0 deletions

View File

@ -44,6 +44,10 @@
<listitem>
<para>September 19th, 2020</para>
<itemizedlist>
<listitem>
<para>[renodr] - Adapt NetworkManager to build with the latest
pygobject.</para>
</listitem>
<listitem>
<para>[renodr] - Adapt the tests in libpeas to meson-0.55. Note that
this affects the new version of libpeas as well.</para>

View File

@ -189,6 +189,18 @@ sed -e 's/Qt/&amp;5/' \
<screen><userinput>grep -rl '^#!.*python$' | xargs sed -i '1s/python/&amp;3/'</userinput></screen>
<!-- I am really uncomfortable with the length of this sed statement, but I
can't find an easy way to trim it since it's using an extended regular
expression. See https://pastebin.com/gRDeqPs8 and
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/commit/7d26773138dd4270c45e131761d4e6be58f64d12
for more details. -->
<para>
Adapt an internal tool to the latest pygobject:
</para>
<screen><userinput remap="pre">sed -i -E '/(setting name)/{s/(description=).%s./\1%s/; N; s/(class_desc)/xml_quoteattr(\1)/}' tools/generate-docs-nm-settings-docs-gir.py</userinput></screen>
<para>
Install <application>NetworkManager</application> by running the
following commands: