source: general/prog/subversion.xml@ 0d7900a

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.4 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 0d7900a was 0d7900a, checked in by Randy McMurchy <randy@…>, 11 years ago

Removed extraneous spaces from blank lines and at the end of lines in the .xml

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

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