source: general/prog/subversion.xml@ 7dfb8c9

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 7dfb8c9 was 7dfb8c9, checked in by Pierre Labastie <pieere@…>, 10 years ago

Update references to swig

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

  • Property mode set to 100644
File size: 16.5 KB
RevLine 
[a91dd56]1<?xml version="1.0" encoding="ISO-8859-1"?>
[6732c094]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[a91dd56]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
[cd51da4]7 <!ENTITY subversion-download-http
8 "http://archive.apache.org/dist/subversion/subversion-&subversion-version;.tar.bz2">
[37c1117]9 <!ENTITY subversion-download-ftp " ">
[ab93658]10 <!ENTITY subversion-md5sum "77349caf0ef5a612c9718c53516a9934">
11 <!ENTITY subversion-size "6.6 MB">
12 <!ENTITY subversion-buildsize "150 MB (additional 968 MB for tests)">
13 <!ENTITY subversion-time "0.9 SBU (additional 12.6 SBU for tests)">
[a91dd56]14]>
15
16<sect1 id="subversion" xreflabel="Subversion-&subversion-version;">
[11a05ad]17 <?dbhtml filename="subversion.html"?>
[8d0d2eb]18
[11a05ad]19 <sect1info>
20 <othername>$LastChangedBy$</othername>
21 <date>$Date$</date>
22 </sect1info>
[8d0d2eb]23
[11a05ad]24 <title>Subversion-&subversion-version;</title>
[8d0d2eb]25
[11a05ad]26 <indexterm zone="subversion">
27 <primary sortas="a-Subversion">Subversion</primary>
28 </indexterm>
29
30 <sect2 role="package">
31 <title>Introduction to Subversion</title>
32
[cd51da4]33 <para>
34 <application>Subversion</application> is a version control system that is
35 designed to be a compelling replacement for <application>CVS</application>
36 in the open source community. It extends and enhances
37 <application>CVS</application>' feature set, while maintaining a similar
38 interface for those already familiar with <application>CVS</application>.
39 These instructions install the client and server software used to
40 manipulate a <application>Subversion</application> repository. Creation of
41 a repository is covered at <xref linkend="svnserver"/>.
42 </para>
[8d0d2eb]43
[31d2934]44 &lfs74_checked;
[d8069d7]45
[11a05ad]46 <bridgehead renderas="sect3">Package Information</bridgehead>
47 <itemizedlist spacing="compact">
48 <listitem>
[cd51da4]49 <para>
50 Download (HTTP): <ulink url="&subversion-download-http;"/>
51 </para>
[11a05ad]52 </listitem>
53 <listitem>
[cd51da4]54 <para>
55 Download (FTP): <ulink url="&subversion-download-ftp;"/>
56 </para>
[11a05ad]57 </listitem>
58 <listitem>
[cd51da4]59 <para>
60 Download MD5 sum: &subversion-md5sum;
61 </para>
[11a05ad]62 </listitem>
63 <listitem>
[cd51da4]64 <para>
65 Download size: &subversion-size;
66 </para>
[11a05ad]67 </listitem>
68 <listitem>
[cd51da4]69 <para>
70 Estimated disk space required: &subversion-buildsize;
71 </para>
[11a05ad]72 </listitem>
73 <listitem>
[cd51da4]74 <para>
75 Estimated build time: &subversion-time;
76 </para>
[2174baa]77 </listitem>
[11a05ad]78 </itemizedlist>
[b279414]79
[db0eb6a]80 <bridgehead renderas="sect3">Subversion Dependencies</bridgehead>
[8d0d2eb]81
[84f9b731]82 <bridgehead renderas="sect4">Required</bridgehead>
[cd51da4]83 <para role="required">
[299d5c54]84 <xref linkend="apr-util"/> and
[1476aabf]85 <xref linkend="sqlite"/>
[cd51da4]86 </para>
87
[299d5c54]88 <bridgehead renderas="sect4">Recommended</bridgehead>
89 <para role="recommended">
90 <xref linkend="openssl"/> and
91 <xref linkend="serf"/> (for handling http:// and https:// URLs)
92 </para>
93
[7c1b53e]94<!-- support for berkeley db is deprecated since 1.8
[1476aabf]95 <note>
96 <para>
97 If you require the <application>Berkeley DB</application> back-end hooks
98 in <application>Subversion</application> to build or support BDB based
99 repositories, you must have <application>APR-util</application> linked to
100 the <application>Berkeley DB</application> library.
101 </para>
102 </note>
[7c1b53e]103-->
[84f9b731]104
[11a05ad]105 <bridgehead renderas="sect4">Optional</bridgehead>
[cd51da4]106 <para role="optional">
[1476aabf]107 <xref linkend="apache"/>,
[7c1b53e]108<!-- support for berkeley db is deprecated since 1.8
[cd51da4]109 <xref linkend="db"/>,
[7c1b53e]110-->
[cd51da4]111 <xref linkend="cyrus-sasl"/>,
[b279414]112 <xref linkend="dbus"/>,
[1476aabf]113 <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
[b279414]115 <xref linkend="ruby"/>
[cd51da4]116 </para>
117
118 <bridgehead renderas="sect4">Optional (for the Java Bindings)</bridgehead>
119 <para role="optional">
[0d7900a]120 One of <xref linkend="openjdk"/>,
[1476aabf]121 <ulink url="http://www.inet.no/dante/">Dante</ulink> or
[cd51da4]122 <ulink url="http://oss.software.ibm.com/developerworks/opensource/jikes/">Jikes</ulink>,
123 and <xref linkend="junit"/> (to test the Java bindings)
124 </para>
125
126 <bridgehead renderas="sect4">Optional (for the SWIG Bindings)</bridgehead>
127 <para role="optional">
[7dfb8c9]128 <xref linkend="swig"/>
[cd51da4]129 </para>
130
131 <para condition="html" role="usernotes">
132 User Notes: <ulink url="&blfs-wiki;/subversion"/>
133 </para>
[11a05ad]134 </sect2>
[8d0d2eb]135
[11a05ad]136 <sect2 role="installation">
137 <title>Installation of Subversion</title>
138
[cd51da4]139 <para>
140 Install <application>Subversion</application> by running the following
141 commands:
142 </para>
[11a05ad]143
[2d7f6e67]144<screen><userinput>./configure --prefix=/usr \
[b26bc4c]145 --disable-static \
146 --with-apache-libexecdir=$(/usr/bin/apxs -q libexecdir) &amp;&amp;
[11a05ad]147make</userinput></screen>
148
[cd51da4]149 <para>
150 If you have <xref linkend="doxygen"/> installed and you wish to build the
151 API documentation, issue: <command>doxygen doc/doxygen.conf</command>.
152 </para>
[84f9b731]153
[cd51da4]154 <para>
155 If you passed the <option>--enable-javahl</option> parameter to
156 <command>configure</command> and wish to build the Java bindings, issue
157 the following command:
158 </para>
[11a05ad]159
160<screen><userinput>make javahl</userinput></screen>
161
[cd51da4]162 <para>
163 If you have a multi core CPU and normally run <command>make</command> with
164 multiple jobs (eg <command>make -j4</command>) then a bug in the
165 <filename>Makefile</filename> will prevent the
166 <application>Perl</application> bindings compiling correctly. Fix the
167 <filename>Makefile</filename> with this sed:
168 </para>
169
[c1d37550]170<screen><userinput>sed -i 's#Makefile.PL.in$#&amp; libsvn_swig_perl#' Makefile.in</userinput></screen>
[cd51da4]171
172 <para>
[1476aabf]173 To compile the <application>Perl</application>,
174 <application>Python</application> or <application>Ruby</application>
175 bindings issue any of the following commands:
[cd51da4]176 </para>
[11a05ad]177<screen><userinput>make swig-pl &amp;&amp;
[9f3155e]178make 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;
[1476aabf]180make swig-rb</userinput></screen>
[707406b]181
[cd51da4]182 <para>
[9d4c21c]183 To test the results, issue: <command>make -k check</command>. One test
184 (wc-queries-test) is known to fail with recent versions of SQLite.
[cd51da4]185 </para>
[707406b]186
[cd51da4]187 <para>
188 To test the results of the Java bindings build, issue
189 <command>make check-javahl</command>. Note you must have the
190 <application>JUnit</application> testing framework installed.
191 </para>
[37c1117]192
[cd51da4]193 <para>
[1476aabf]194 To test the results of any of the <application>SWIG</application>
195 bindings, you can use any of the following commands:
[cd51da4]196 </para>
[37c1117]197
198<screen><userinput>make check-swig-pl &amp;&amp;
[1476aabf]199make check-swig-py &amp;&amp;
200make check-swig-rb </userinput></screen>
[11a05ad]201
[cd51da4]202 <para>
203 Now, as the <systemitem class="username">root</systemitem> user:
204 </para>
205
206<screen role="root"><userinput>make install &amp;&amp;
[37c1117]207install -v -m755 -d /usr/share/doc/subversion-&subversion-version; &amp;&amp;
[0446bed]208cp -v -R doc/* \
209 /usr/share/doc/subversion-&subversion-version;</userinput></screen>
[a91dd56]210
[cd51da4]211 <para>
212 If you built the Java bindings, issue the following command as the
213 <systemitem class="username">root</systemitem> user to install them:
214 </para>
215
216<screen role="root"><userinput>make install-javahl</userinput></screen>
[4d6e546]217
[cd51da4]218 <para>
219 If you built any of the <application>SWIG</application> bindings, issue
[1476aabf]220 any of the following commands as the
[cd51da4]221 <systemitem class="username">root</systemitem> user to install them:
222 </para>
[4d6e546]223
[cd51da4]224<screen role="root"><userinput>make install-swig-pl &amp;&amp;
[9f3155e]225make 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;
[1476aabf]227make install-swig-rb</userinput></screen>
[8d0d2eb]228
[cd51da4]229 </sect2>
230
231 <sect2 role="commands">
232 <title>Command Explanations</title>
233
[c1d37550]234 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
235 href="../../xincludes/static-libraries.xml"/>
[cd51da4]236
[b26bc4c]237 <para>
238 <parameter>--with-apache-libexecdir=...</parameter>:
239 This switch sets <application>Apache HTTPD</application>
240 module install dir.
241 </para>
242
[11a05ad]243 </sect2>
[8d0d2eb]244
[11a05ad]245 <sect2 role="configuration">
246 <title>Configuring Subversion</title>
247
248 <sect3 id="subversion-config">
249 <title>Config Files</title>
[8d0d2eb]250
[cd51da4]251 <para>
252 <filename>~/.subversion/config</filename> and
253 <filename>/etc/subversion/config</filename>
254 </para>
[8d0d2eb]255
[11a05ad]256 <indexterm zone="subversion subversion-config">
257 <primary sortas="e-AA.subversion/config">~/.subversion/config</primary>
258 </indexterm>
[8d0d2eb]259
[11a05ad]260 <indexterm zone="subversion subversion-config">
261 <primary sortas="e-etc-subversion-config">/etc/subversion/config</primary>
262 </indexterm>
263 </sect3>
[8d0d2eb]264
[11a05ad]265 <sect3>
266 <title>Configuration Information</title>
[8d0d2eb]267
[cd51da4]268 <para>
269 <filename>/etc/subversion/config</filename> is the
270 <application>Subversion</application> system-wide configuration file.
271 This file is used to specify defaults for different
272 <command>svn</command> commands.
273 </para>
274
275 <para>
276 <filename>~/.subversion/config</filename> is the user's personal
277 configuration file. It is used to override the system-wide defaults set
278 in <filename>/etc/subversion/config</filename>.
279 </para>
[11a05ad]280 </sect3>
[b279414]281
[11a05ad]282 </sect2>
[8d0d2eb]283
[11a05ad]284 <sect2 role="content">
285 <title>Contents</title>
[8d0d2eb]286
[11a05ad]287 <segmentedlist>
288 <segtitle>Installed Programs</segtitle>
289 <segtitle>Installed Libraries</segtitle>
290 <segtitle>Installed Directories</segtitle>
[8d0d2eb]291
[11a05ad]292 <seglistitem>
[cd51da4]293 <seg>
[66c47415]294 svn, svnadmin, svndumpfilter, svnlook, svnmucc, svnrdump, svnserve,
295 svnsync, and svnversion
[cd51da4]296 </seg>
297 <seg>
[1476aabf]298 libsvn_*-1.so and optionally, a Java library, the mod_dav_svn.so and
[cd51da4]299 and mod_authz_svn.so <application>Apache HTTP</application> DSO
[66c47415]300 modules and various <application>Perl</application>,
301 <application>Python</application> and
302 <application>Ruby</application> modules.
[cd51da4]303 </seg>
304 <seg>
305 /usr/include/subversion-1,
[f524a8f]306 /usr/lib/perl5/site_perl/&lfs-perl-version;/auto/SVN (optional),
307 /usr/lib/perl5/site_perl/&lfs-perl-version;/SVN (optional),
[97834b7]308 /usr/lib/python&python2-majorver;/site-packages/libsvn (optional),
[b26bc4c]309 /usr/lib/python&python2-majorver;/site-packages/svn (optional),
[b279414]310 /usr/lib/ruby/site_ruby/&lt;x.y&gt;/i686-linux/svn (optional),
[3dc61c4]311 /usr/lib/ruby/site_ruby/&lt;x.y&gt;/svn (optional),
[97834b7]312<!-- /usr/lib/svn-python/libsvn (optional),
[3dc61c4]313 /usr/lib/svn-python/svn (optional),
[97834b7]314-->
[b26bc4c]315 /usr/lib/svn-javahl (optional), and
[cd51da4]316 /usr/share/doc/subversion-&subversion-version;
317 </seg>
[11a05ad]318 </seglistitem>
319 </segmentedlist>
[8d0d2eb]320
[11a05ad]321 <variablelist>
322 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
323 <?dbfo list-presentation="list"?>
324 <?dbhtml list-presentation="table"?>
[8d0d2eb]325
[11a05ad]326 <varlistentry id="svn">
327 <term><command>svn</command></term>
328 <listitem>
[cd51da4]329 <para>
330 is a command-line client program used to access
331 <application>Subversion</application> repositories.
332 </para>
[11a05ad]333 <indexterm zone="subversion svn">
334 <primary sortas="b-svn">svn</primary>
335 </indexterm>
336 </listitem>
337 </varlistentry>
[8d0d2eb]338
[11a05ad]339 <varlistentry id="svnadmin">
340 <term><command>svnadmin</command></term>
341 <listitem>
[cd51da4]342 <para>
343 is a tool for creating, tweaking or repairing a
344 <application>Subversion</application> repository.
345 </para>
[11a05ad]346 <indexterm zone="subversion svnadmin">
347 <primary sortas="b-svnadmin">svnadmin</primary>
348 </indexterm>
349 </listitem>
350 </varlistentry>
[8d0d2eb]351
[11a05ad]352 <varlistentry id="svndumpfilter">
353 <term><command>svndumpfilter</command></term>
354 <listitem>
[cd51da4]355 <para>
356 is a program for filtering <application>Subversion</application>
357 repository dumpfile format streams.
358 </para>
[11a05ad]359 <indexterm zone="subversion svndumpfilter">
360 <primary sortas="b-svndumpfilter">svndumpfilter</primary>
361 </indexterm>
362 </listitem>
363 </varlistentry>
[8d0d2eb]364
[11a05ad]365 <varlistentry id="svnlook">
366 <term><command>svnlook</command></term>
367 <listitem>
[cd51da4]368 <para>
369 is a tool for inspecting a <application>Subversion</application>
370 repository.
371 </para>
[11a05ad]372 <indexterm zone="subversion svnlook">
373 <primary sortas="b-svnlook">svnlook</primary>
374 </indexterm>
375 </listitem>
376 </varlistentry>
[8d0d2eb]377
[66c47415]378 <varlistentry id="svnmucc">
379 <term><command>svnmucc</command></term>
380 <listitem>
381 <para>
382 is a Multiple URL Command Client for <application>Subversion</application>.
383 </para>
384 <indexterm zone="subversion svnmucc">
385 <primary sortas="b-svnmucc">svnmucc</primary>
386 </indexterm>
387 </listitem>
388 </varlistentry>
389
[cd51da4]390 <varlistentry id="svnrdump">
391 <term><command>svnrdump</command></term>
392 <listitem>
393 <para>
394 is a tool for dumping or loading a remote
395 <application>Subversion</application> repository.
396 </para>
397 <indexterm zone="subversion svnrdump">
398 <primary sortas="b-svnrdump">svnrdump</primary>
399 </indexterm>
400 </listitem>
401 </varlistentry>
402
[11a05ad]403 <varlistentry id="svnserve">
404 <term><command>svnserve</command></term>
405 <listitem>
[cd51da4]406 <para>
407 is a custom standalone server program, able to run as a daemon
408 process or invoked by SSH.
409 </para>
[11a05ad]410 <indexterm zone="subversion svnserve">
411 <primary sortas="b-svnserve">svnserve</primary>
412 </indexterm>
413 </listitem>
414 </varlistentry>
[8d0d2eb]415
[cd51da4]416 <varlistentry id="svnsync">
417 <term><command>svnsync</command></term>
[11a05ad]418 <listitem>
[cd51da4]419 <para>
420 is a <application>Subversion</application> repository
421 synchronisation tool.
422 </para>
423 <indexterm zone="subversion svnsync">
424 <primary sortas="b-svnsync">svnsync</primary>
[11a05ad]425 </indexterm>
426 </listitem>
427 </varlistentry>
[8d0d2eb]428
[cd51da4]429 <varlistentry id="svnversion">
430 <term><command>svnversion</command></term>
[11a05ad]431 <listitem>
[cd51da4]432 <para>
433 is used to report the version number and state of a working
434 <application>Subversion</application> repository copy.
435 </para>
436 <indexterm zone="subversion svnversion">
437 <primary sortas="b-svnversion">svnversion</primary>
[11a05ad]438 </indexterm>
439 </listitem>
440 </varlistentry>
[8d0d2eb]441
[1476aabf]442 <varlistentry id="libsvn_star-1">
443 <term><filename class="libraryfile">libsvn_*-1.so</filename></term>
[11a05ad]444 <listitem>
[cd51da4]445 <para>
446 are the support libraries used by the
447 <application>Subversion</application> programs.
448 </para>
[1476aabf]449 <indexterm zone="subversion libsvn_star-1">
450 <primary sortas="c-libsvn_star-1">libsvn_*-1.so</primary>
[11a05ad]451 </indexterm>
452 </listitem>
453 </varlistentry>
[8d0d2eb]454
[11a05ad]455 <varlistentry id="mod_authz_svn">
[cd51da4]456 <term><filename class="libraryfile">mod_authz_svn.so</filename></term>
[11a05ad]457 <listitem>
[cd51da4]458 <para>
459 is a plug-in module for the <application>Apache</application> HTTP
460 server, used to authenticate users to a
461 <application>Subversion</application> repository over the Internet
462 or an intranet.
463 </para>
[11a05ad]464 <indexterm zone="subversion mod_authz_svn">
465 <primary sortas="c-mod_authz_svn">mod_authz_svn.so</primary>
466 </indexterm>
467 </listitem>
468 </varlistentry>
[8d0d2eb]469
[11a05ad]470 <varlistentry id="mod_dav_svn">
[cd51da4]471 <term><filename class="libraryfile">mod_dav_svn.so</filename></term>
[11a05ad]472 <listitem>
[cd51da4]473 <para>
474 is a plug-in module for the <application>Apache</application> HTTP
475 server, used to make a <application>Subversion</application>
476 repository available to others over the Internet or an intranet.
477 </para>
[11a05ad]478 <indexterm zone="subversion mod_dav_svn">
479 <primary sortas="c-mod_authz_svn">mod_dav_svn.so</primary>
480 </indexterm>
481 </listitem>
482 </varlistentry>
[b279414]483
[11a05ad]484 </variablelist>
[b279414]485
[11a05ad]486 </sect2>
[b279414]487
[a91dd56]488</sect1>
Note: See TracBrowser for help on using the repository browser.