Changeset 31ff9f72


Ignore:
Timestamp:
12/15/2013 08:56:45 PM (9 years ago)
Author:
Pierre Labastie <pieere@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 7.10, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, krejzi/svn, lazarus, nosym, perl-modules, plabs/python-mods, qt5new, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/soup3, xry111/test-20220226
Children:
975fb37e
Parents:
3da508c
Message:

Move SWIG and Python to recommended deps for subversion

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

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • general/prog/subversion.xml

    r3da508c r31ff9f72  
    8888    <bridgehead renderas="sect4">Recommended</bridgehead>
    8989    <para role="recommended">
    90       <xref linkend="openssl"/> and
    91       <xref linkend="serf"/> (for handling http:// and https:// URLs)
     90      <xref linkend="openssl"/>,
     91      <xref linkend="python2"/> (with sqlite support for the tests),
     92      <xref linkend="serf"/> (for handling http:// and https:// URLs), and
     93      <xref linkend="swig"/> (for building Perl, Python and optionally Ruby
     94      bindings)
    9295    </para>
    9396
     
    112115      <xref linkend="dbus"/>,
    113116      <xref linkend="kdelibs"/> (for <ulink url="http://utils.kde.org/projects/kwalletmanager/">KWallet</ulink> support),
    114       <xref linkend="python2"/> (required to run the test suite) and
    115117      <xref linkend="ruby"/>
    116118    </para>
     
    124126    </para>
    125127
    126     <bridgehead renderas="sect4">Optional (for the SWIG Bindings)</bridgehead>
    127     <para role="optional">
    128       <xref linkend="swig"/>
    129     </para>
    130 
    131128    <para condition="html" role="usernotes">
    132129      User Notes: <ulink url="&blfs-wiki;/subversion"/>
     
    142139    </para>
    143140
    144 <screen><userinput>./configure --prefix=/usr    \
     141<screen><userinput>sed -i 's#Makefile.PL.in$#&amp; libsvn_swig_perl#' Makefile.in &amp;&amp;
     142./configure --prefix=/usr    \
    145143            --disable-static \
    146             --with-apache-libexecdir=$(/usr/bin/apxs -q libexecdir) &amp;&amp;
    147 make</userinput></screen>
     144            --with-apache-libexecdir &amp;&amp;
     145make &amp;&amp;
     146make swig-pl &amp;&amp;
     147make swig-py swig_pydir=/usr/lib/python&python2-majorver;/site-packages/libsvn \
     148     swig_pydir_extra=/usr/lib/python&python2-majorver;/site-packages/svn</userinput></screen>
    148149
    149150    <para>
     
    160161<screen><userinput>make javahl</userinput></screen>
    161162
    162     <para>
     163<!--    <para>
    163164      If you have a multi core CPU and normally run <command>make</command> with
    164165      multiple jobs (eg <command>make -j4</command>) then a bug in the
     
    169170
    170171<screen><userinput>sed -i 's#Makefile.PL.in$#&amp; libsvn_swig_perl#' Makefile.in</userinput></screen>
    171 
    172     <para>
    173       To compile the <application>Perl</application>,
    174       <application>Python</application> or <application>Ruby</application>
    175       bindings issue any of the following commands:
    176     </para>
    177 <screen><userinput>make swig-pl &amp;&amp;
    178 make swig-py swig_pydir=/usr/lib/python&python2-majorver;/site-packages/libsvn \
    179      swig_pydir_extra=/usr/lib/python&python2-majorver;/site-packages/svn      &amp;&amp;
    180 make swig-rb</userinput></screen>
     172-->
     173    <para>
     174      To compile <application>Ruby</application>
     175      bindings, issue the following command:
     176    </para>
     177<screen><userinput>make swig-rb</userinput></screen>
    181178
    182179    <para>
     
    205202
    206203<screen role="root"><userinput>make install &amp;&amp;
     204make install-swig-pl &amp;&amp;
     205make install-swig-py swig_pydir=/usr/lib/python&python2-majorver;/site-packages/libsvn    \
     206                     swig_pydir_extra=/usr/lib/python&python2-majorver;/site-packages/svn &amp;&amp;
    207207install -v -m755 -d /usr/share/doc/subversion-&subversion-version; &amp;&amp;
    208208cp      -v -R       doc/* \
     
    217217
    218218    <para>
    219       If you built any of the <application>SWIG</application> bindings, issue
    220       any of the following commands as the
    221       <systemitem class="username">root</systemitem> user to install them:
    222     </para>
    223 
    224 <screen role="root"><userinput>make install-swig-pl &amp;&amp;
    225 make install-swig-py swig_pydir=/usr/lib/python&python2-majorver;/site-packages/libsvn    \
    226                      swig_pydir_extra=/usr/lib/python&python2-majorver;/site-packages/svn &amp;&amp;
    227 make install-swig-rb</userinput></screen>
     219      If you built the <application>SWIG</application>
     220      <application>Ruby</application> bindings, issue the following commands
     221      as the <systemitem class="username">root</systemitem> user to install
     222      them:
     223    </para>
     224
     225<screen role="root"><userinput>make install-swig-rb</userinput></screen>
    228226
    229227  </sect2>
     
    232230    <title>Command Explanations</title>
    233231
     232    <para>
     233      <command>sed -i 's#Makefile.PL.in$...</command>: Corrects a
     234       bug in the <filename>Makefile</filename>, which prevents using
     235       parallel jobs for Perl bindings.
     236    </para>
     237
    234238    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    235239      href="../../xincludes/static-libraries.xml"/>
    236240
    237241    <para>
    238       <parameter>--with-apache-libexecdir=...</parameter>:
     242      <parameter>--with-apache-libexecdir</parameter>:
    239243      This switch sets <application>Apache HTTPD</application>
    240244      module install dir.
     245    </para>
     246
     247    <para>
     248      <command>make swig-&lt;language&gt;</command>: Builds &lt;language&gt;
     249      bindings.
     250    </para>
     251
     252    <para>
     253      <command>make install-swig-&lt;language&gt;</command>: Installs
     254      &lt;language&gt; bindings.
    241255    </para>
    242256
     
    304318        <seg>
    305319          /usr/include/subversion-1,
    306           /usr/lib/perl5/site_perl/&lfs-perl-version;/auto/SVN (optional),
    307           /usr/lib/perl5/site_perl/&lfs-perl-version;/SVN (optional),
    308           /usr/lib/python&python2-majorver;/site-packages/libsvn (optional),
    309           /usr/lib/python&python2-majorver;/site-packages/svn (optional),
     320          /usr/lib/perl5/site_perl/&lfs-perl-version;/auto/SVN,
     321          /usr/lib/perl5/site_perl/&lfs-perl-version;/SVN,
     322          /usr/lib/python&python2-majorver;/site-packages/libsvn,
     323          /usr/lib/python&python2-majorver;/site-packages/svn,
    310324          /usr/lib/ruby/site_ruby/&lt;x.y&gt;/i686-linux/svn (optional),
    311325          /usr/lib/ruby/site_ruby/&lt;x.y&gt;/svn (optional),
  • introduction/welcome/changelog.xml

    r3da508c r31ff9f72  
    4848      <itemizedlist>
    4949        <listitem>
     50          <para>[pierre] - Move SWIG and Python to recommended deps for
     51          Subversion.</para>
     52        </listitem>
     53        <listitem>
    5054          <para>[fernando] - Gparted from a menu: "ssh-askpass" and "pkexec".
    5155          Fixes <ulink url="&blfs-ticket-root;4454">#4454</ulink>.</para>
Note: See TracChangeset for help on using the changeset viewer.