libxcb: Force the usage of python3 if python2 is installed, and also add

command explanations
This commit is contained in:
Douglas R. Reno 2021-05-18 17:50:14 -05:00
parent 7246c35922
commit 5a86470b8b
2 changed files with 18 additions and 1 deletions

View File

@ -44,6 +44,10 @@
<listitem>
<para>May 18th, 2021</para>
<itemizedlist>
<listitem>
<para>[renodr] - Force libxcb to use python3, even if python2 is
present on the system.</para>
</listitem>
<listitem>
<para>[renodr] - Adapt some scripts in subversion to python3.</para>
</listitem>

View File

@ -103,7 +103,9 @@
commands:
</para>
<screen><userinput>CFLAGS="${CFLAGS:--O2 -g} -Wno-error=format-extra-args" ./configure $XORG_CONFIG \
<screen><userinput>CFLAGS="${CFLAGS:--O2 -g} -Wno-error=format-extra-args" \
PYTHON=python3 \
./configure $XORG_CONFIG \
--without-doxygen \
--docdir='${datadir}'/doc/libxcb-&libxcb-version; &amp;&amp;
make</userinput></screen>
@ -123,6 +125,17 @@ make</userinput></screen>
<sect2 role="commands">
<title>Command Explanations</title>
<para>
<parameter>CFLAGS=...</parameter>: This variable fixes building this
package with GCC-10 and later.
</para>
<para>
<parameter>PYTHON=python3</parameter>: This variable forces configure to
use python3 instead of python2. The configure script for this package
will automatically default to python2 if it is present.
</para>
<para>
<parameter>--without-doxygen</parameter>: Do not use doxygen to
generate API documentation (default: auto). Without it, if