Changeset 5aca57c0


Ignore:
Timestamp:
03/05/2021 09:12:48 PM (4 years ago)
Author:
Pierre Labastie <pieere@…>
Branches:
11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 12.2, gimp3, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/for-12.3, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/spidermonkey128, xry111/test-20220226, xry111/xf86-video-removal
Children:
32d76f00
Parents:
136321c7
Message:

Remove reference to python2 in newt, and prevent building python2 modules

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@24345 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/graphlib/newt.xml

    r136321c7 r5aca57c0  
    8787      <xref role="runtime" linkend="gpm"/> (runtime)
    8888    </para>
    89 
     89<!-- Python 3 can be used, do not tell about python2
    9090    <bridgehead renderas="sect4">Optional</bridgehead>
    9191    <para role="optional">
    9292      <xref linkend="python2"/>
    9393    </para>
    94 
     94-->
    9595    <para condition="html" role="usernotes">User Notes:
    9696      <ulink url="&blfs-wiki;/newt"/>
     
    106106    </para>
    107107
    108 <screen><userinput>sed -e 's/^LIBNEWT =/#&amp;/' \
     108<screen><userinput>sed -e 's/^LIBNEWT =/#&amp;/'                   \
    109109    -e '/install -m 644 $(LIBNEWT)/ s/^/#/' \
    110     -e 's/$(LIBNEWT)/$(LIBNEWTSONAME)/g' \
    111     -i Makefile.in                           &amp;&amp;
    112 
    113 ./configure --prefix=/usr --with-gpm-support &amp;&amp;
     110    -e 's/$(LIBNEWT)/$(LIBNEWTSONAME)/g'    \
     111    -i Makefile.in                          &amp;&amp;
     112
     113./configure --prefix=/usr           \
     114            --with-gpm-support      \
     115            --with-python=python&python3-majorver; &amp;&amp;
    114116make</userinput></screen>
    115117
     
    130132
    131133    <para>
     134      <command>sed -e ... -i Makefile.in</command>: Disables installation of a
     135      static library.
     136    </para>
     137
     138    <para>
    132139      <parameter>--with-gpm-support</parameter>: This switch enables mouse support for newt
    133140      applications through GPM.
     
    135142
    136143    <para>
    137       <command>sed -e ... -i Makefile.in</command>: Disables installation of a
    138       static library.
     144      <parameter>--with-python=python&python3-majorver;</parameter>: By giving
     145      explicitly the name of the directory where python modules reside, this
     146      switch prevents building the python2 module.
    139147    </para>
    140148
     
    152160        <seg> whiptail </seg>
    153161        <seg> libnewt.so, whiptcl.so, and
    154         /usr/lib/python{&python2-majorver;,&python3-majorver;}/site-packages/_snack.so </seg>
     162        /usr/lib/python&python3-majorver;/site-packages/_snack.so </seg>
    155163        <seg> None </seg>
    156164      </seglistitem>
Note: See TracChangeset for help on using the changeset viewer.