source: general/prog/subversion.xml@ 69d2a66

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 69d2a66 was 69d2a66, checked in by Bruce Dubbs <bdubbs@…>, 8 years ago

Update to xf86-input-evdev-2.10.2.
Update to poppler-0.43.0.
Update to nautilus-3.20.1.
Update to webkitgtk-2.12.2.
Update to subversion-1.9.4.

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

  • Property mode set to 100644
File size: 17.6 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://www.apache.org/dist/subversion/subversion-&subversion-version;.tar.bz2">
9 <!ENTITY subversion-download-ftp " ">
10 <!ENTITY subversion-md5sum "29121a038f87641055a8183f49e9739f">
11 <!ENTITY subversion-size "7.6 MB">
12 <!ENTITY subversion-buildsize "165 MB (add 165 MB for bindings, 24 MB for docs, reportedly 800 MB for tests)">
13 <!ENTITY subversion-time "1.5 SBU (add 1.7 SBU for bindings, reportedly 67 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 &lfs79_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">Subversion Dependencies</bridgehead>
81
82 <bridgehead renderas="sect4">Required</bridgehead>
83 <para role="required">
84 <xref linkend="apr-util"/> and
85 <xref linkend="sqlite"/>
86 </para>
87
88 <bridgehead renderas="sect4">Recommended</bridgehead>
89 <para role="recommended">
90 <xref linkend="serf"/> (for handling http:// and https:// URLs)
91 </para>
92
93<!-- support for berkeley db is deprecated since 1.8
94 <note>
95 <para>
96 If you require the <application>Berkeley DB</application> back-end hooks
97 in <application>Subversion</application> to build or support BDB based
98 repositories, you must have <application>APR-util</application> linked to
99 the <application>Berkeley DB</application> library.
100 </para>
101 </note>
102-->
103
104 <bridgehead renderas="sect4">Optional</bridgehead>
105 <para role="optional">
106 <xref linkend="apache"/>,
107<!-- support for berkeley db is deprecated since 1.8
108 <xref linkend="db"/>,
109-->
110 <xref linkend="cyrus-sasl"/>,
111 <xref linkend="dbus"/>,
112<!-- <xref linkend="kdelibs"/> (for <ulink url="http://utils.kde.org/projects/kwalletmanager/">KWallet</ulink> support), -->
113 <xref linkend="python2"/> (with sqlite support for the tests),
114 <xref linkend="ruby"/>, and
115 <xref linkend="swig"/> (for building Perl, Python and Ruby bindings)
116 </para>
117
118 <bridgehead renderas="sect4">Optional (for the Java Bindings)</bridgehead>
119 <para role="optional">
120 One of <xref linkend="openjdk"/>,
121 <ulink url="http://www.inet.no/dante/">Dante</ulink> or
122 <ulink url="http://jikes.sourceforge.net/">Jikes</ulink>,
123 and <xref linkend="junit"/> (to test the Java bindings)
124 </para>
125
126 <para condition="html" role="usernotes">
127 User Notes: <ulink url="&blfs-wiki;/subversion"/>
128 </para>
129
130 </sect2>
131
132 <sect2 role="installation">
133 <title>Installation of Subversion</title>
134
135 <note>
136 <para>
137 This package may fail during the make phase when using multiple
138 processors. If this occurs try continuing with
139 <emphasis>make -j1</emphasis> or redo the entire build process with
140 fresh sources using <emphasis>-j1</emphasis>.
141 </para>
142 </note>
143
144 <para>
145 Install <application>Subversion</application> by running the following
146 commands:
147 </para>
148
149<screen><userinput>./configure --prefix=/usr \
150 --disable-static \
151 --with-apache-libexecdir &amp;&amp;
152make</userinput></screen>
153
154 <para>
155 If you have <xref linkend="doxygen"/> installed and you wish to build the
156 API documentation, issue: <command>doxygen doc/doxygen.conf</command>.
157 </para>
158
159 <para>
160 If you passed the <option>--enable-javahl</option> parameter to
161 <command>configure</command> and wish to build the Java bindings, issue
162 the following command:
163 </para>
164 <para>
165 <screen><command>make javahl</command></screen>
166 </para>
167
168 <para>
169 If you want to compile <application>Perl</application>,
170 <application>Python2</application>, or <application>Ruby</application>
171 bindings, issue any of the following command:
172 </para>
173 <para>
174 <screen><command>make swig-pl</command> # for <application>Perl</application>
175<command>make swig-py \
176 swig_pydir=/usr/lib/python&python2-majorver;/site-packages/libsvn \
177 swig_pydir_extra=/usr/lib/python&python2-majorver;/site-packages/svn</command> # for <application>Python</application>
178<command>make swig-rb</command> # for <application>Ruby</application></screen>
179 </para>
180
181 <para>
182 To test the results, issue: <command>make check</command>.
183 </para>
184
185 <para>
186 The Java bindings test, <command>make check-javahl</command>, fails due to
187 errors in the test suite. <!--To test the results of the Java bindings build,
188 issue <command>make check-javahl</command>. Note you must have the
189 <application>JUnit</application> testing framework installed.-->
190 </para>
191
192 <para>
193 To test the results of any of the <application>SWIG</application>
194 bindings, you can use any of the following commands:
195 <command>make check-swig-pl</command>,
196 <command> make check-swig-py</command>, or
197 <command>make check-swig-rb</command>.
198 </para>
199
200 <para>
201 The Ruby bindings test, <command>make check-swig-rb</command>, fails due
202 to errors in the test suite.
203 </para>
204
205 <para>
206 Now, as the <systemitem class="username">root</systemitem> user:
207 </para>
208
209<screen role="root"><userinput>make install &amp;&amp;
210
211install -v -m755 -d /usr/share/doc/subversion-&subversion-version; &amp;&amp;
212cp -v -R doc/* \
213 /usr/share/doc/subversion-&subversion-version;</userinput></screen>
214
215 <para>
216 If you built the Java bindings, issue the following command as the
217 <systemitem class="username">root</systemitem> user to install them:
218 </para>
219 <para>
220 <screen> <command>make install-javahl</command></screen>
221 </para>
222
223 <para>
224 If you built the <application>Perl</application>,
225 <application>Python2</application>, or
226 <application>Ruby</application> bindings, issue any of the following
227 commands as the <systemitem class="username">root</systemitem> user
228 to install them:
229 </para>
230 <para>
231 <screen><command>make install-swig-pl</command>
232<command>make install-swig-py \
233 swig_pydir=/usr/lib/python&python2-majorver;/site-packages/libsvn \
234 swig_pydir_extra=/usr/lib/python&python2-majorver;/site-packages/svn</command>
235<command>make install-swig-rb</command></screen>
236 </para>
237
238 </sect2>
239
240 <sect2 role="commands">
241 <title>Command Explanations</title>
242
243 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
244 href="../../xincludes/static-libraries.xml"/>
245
246 <para>
247 <parameter>--with-apache-libexecdir</parameter>:
248 If <xref linkend="apache"/> is installed, the shared
249 <application>Apache</application> modules are
250 built. This switch allows to have those modules installed to
251 <application>Apache</application>'s configured module dir instead
252 of <filename class="directory">/usr/libexec</filename>. It has no effect
253 if <application>Apache</application> is not installed.
254 </para>
255
256 <para>
257 <option>---disable-gmock</option>: Do not use the Googlemock testing
258 framework.
259 </para>
260
261 </sect2>
262
263 <sect2 role="configuration">
264 <title>Configuring Subversion</title>
265
266 <sect3 id="subversion-config">
267 <title>Config Files</title>
268
269 <para>
270 <filename>~/.subversion/config</filename> and
271 <filename>/etc/subversion/config</filename>
272 </para>
273
274 <indexterm zone="subversion subversion-config">
275 <primary sortas="e-AA.subversion/config">~/.subversion/config</primary>
276 </indexterm>
277
278 <indexterm zone="subversion subversion-config">
279 <primary sortas="e-etc-subversion-config">/etc/subversion/config</primary>
280 </indexterm>
281 </sect3>
282
283 <sect3>
284 <title>Configuration Information</title>
285
286 <para>
287 <filename>/etc/subversion/config</filename> is the
288 <application>Subversion</application> system-wide configuration file.
289 This file is used to specify defaults for different
290 <command>svn</command> commands.
291 </para>
292
293 <para>
294 <filename>~/.subversion/config</filename> is the user's personal
295 configuration file. It is used to override the system-wide defaults set
296 in <filename>/etc/subversion/config</filename>.
297 </para>
298 </sect3>
299
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, svnbench, svndumpfilter, svnfsfs, svnlook, svnmucc,
313 svnrdump, svnserve, svnsync, and svnversion
314 </seg>
315 <seg>
316 libsvn_*-1.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>,
319 <application>Python</application> and
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,
325 /usr/lib/python2.7/site-packages/{libsvn,svn},
326 /usr/lib/ruby/site_ruby/&lt;x.y.z&gt;/{,&lt;arch-linux&gt;-linux/}svn,
327 /usr/lib/svn-javahl, and
328 /usr/share/doc/subversion-&subversion-version;
329 </seg>
330 </seglistitem>
331 </segmentedlist>
332
333 <variablelist>
334 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
335 <?dbfo list-presentation="list"?>
336 <?dbhtml list-presentation="table"?>
337
338 <varlistentry id="svn">
339 <term><command>svn</command></term>
340 <listitem>
341 <para>
342 is a command-line client program used to access
343 <application>Subversion</application> repositories.
344 </para>
345 <indexterm zone="subversion svn">
346 <primary sortas="b-svn">svn</primary>
347 </indexterm>
348 </listitem>
349 </varlistentry>
350
351 <varlistentry id="svnadmin">
352 <term><command>svnadmin</command></term>
353 <listitem>
354 <para>
355 is a tool for creating, tweaking or repairing a
356 <application>Subversion</application> repository.
357 </para>
358 <indexterm zone="subversion svnadmin">
359 <primary sortas="b-svnadmin">svnadmin</primary>
360 </indexterm>
361 </listitem>
362 </varlistentry>
363
364 <varlistentry id="svnbench">
365 <term><command>svnbench</command></term>
366 <listitem>
367 <para>
368 is a benchmarking tool.
369 </para>
370 <indexterm zone="subversion svnbench">
371 <primary sortas="b-svnbench">svnbench</primary>
372 </indexterm>
373 </listitem>
374 </varlistentry>
375
376 <varlistentry id="svndumpfilter">
377 <term><command>svndumpfilter</command></term>
378 <listitem>
379 <para>
380 is a program for filtering <application>Subversion</application>
381 repository dumpfile format streams.
382 </para>
383 <indexterm zone="subversion svndumpfilter">
384 <primary sortas="b-svndumpfilter">svndumpfilter</primary>
385 </indexterm>
386 </listitem>
387 </varlistentry>
388
389 <varlistentry id="svnfsfs">
390 <term><command>svnfsfs</command></term>
391 <listitem>
392 <para>
393 is the FSFS (FileSystem atop of the FileSystem -
394 <application>Subversion</application> filesystem implementation)
395 repository manipulation tool.
396 </para>
397 <indexterm zone="subversion svnfsfs">
398 <primary sortas="b-svnfsfs">svnfsfs</primary>
399 </indexterm>
400 </listitem>
401 </varlistentry>
402
403 <varlistentry id="svnlook">
404 <term><command>svnlook</command></term>
405 <listitem>
406 <para>
407 is a tool for inspecting a <application>Subversion</application>
408 repository.
409 </para>
410 <indexterm zone="subversion svnlook">
411 <primary sortas="b-svnlook">svnlook</primary>
412 </indexterm>
413 </listitem>
414 </varlistentry>
415
416 <varlistentry id="svnmucc">
417 <term><command>svnmucc</command></term>
418 <listitem>
419 <para>
420 is a Multiple URL Command Client for <application>Subversion</application>.
421 </para>
422 <indexterm zone="subversion svnmucc">
423 <primary sortas="b-svnmucc">svnmucc</primary>
424 </indexterm>
425 </listitem>
426 </varlistentry>
427
428 <varlistentry id="svnrdump">
429 <term><command>svnrdump</command></term>
430 <listitem>
431 <para>
432 is a tool for dumping or loading a remote
433 <application>Subversion</application> repository.
434 </para>
435 <indexterm zone="subversion svnrdump">
436 <primary sortas="b-svnrdump">svnrdump</primary>
437 </indexterm>
438 </listitem>
439 </varlistentry>
440
441 <varlistentry id="svnserve">
442 <term><command>svnserve</command></term>
443 <listitem>
444 <para>
445 is a custom standalone server program, able to run as a daemon
446 process or invoked by SSH.
447 </para>
448 <indexterm zone="subversion svnserve">
449 <primary sortas="b-svnserve">svnserve</primary>
450 </indexterm>
451 </listitem>
452 </varlistentry>
453
454 <varlistentry id="svnsync">
455 <term><command>svnsync</command></term>
456 <listitem>
457 <para>
458 is a <application>Subversion</application> repository
459 synchronisation tool.
460 </para>
461 <indexterm zone="subversion svnsync">
462 <primary sortas="b-svnsync">svnsync</primary>
463 </indexterm>
464 </listitem>
465 </varlistentry>
466
467 <varlistentry id="svnversion">
468 <term><command>svnversion</command></term>
469 <listitem>
470 <para>
471 is used to report the version number and state of a working
472 <application>Subversion</application> repository copy.
473 </para>
474 <indexterm zone="subversion svnversion">
475 <primary sortas="b-svnversion">svnversion</primary>
476 </indexterm>
477 </listitem>
478 </varlistentry>
479
480 <varlistentry id="libsvn_star-1">
481 <term><filename class="libraryfile">libsvn_*-1.so</filename></term>
482 <listitem>
483 <para>
484 are the support libraries used by the
485 <application>Subversion</application> programs.
486 </para>
487 <indexterm zone="subversion libsvn_star-1">
488 <primary sortas="c-libsvn_star-1">libsvn_*-1.so</primary>
489 </indexterm>
490 </listitem>
491 </varlistentry>
492
493 <varlistentry id="mod_authz_svn">
494 <term><filename class="libraryfile">mod_authz_svn.so</filename></term>
495 <listitem>
496 <para>
497 is a plug-in module for the <application>Apache</application> HTTP
498 server, used to authenticate users to a
499 <application>Subversion</application> repository over the Internet
500 or an intranet.
501 </para>
502 <indexterm zone="subversion mod_authz_svn">
503 <primary sortas="c-mod_authz_svn">mod_authz_svn.so</primary>
504 </indexterm>
505 </listitem>
506 </varlistentry>
507
508 <varlistentry id="mod_dav_svn">
509 <term><filename class="libraryfile">mod_dav_svn.so</filename></term>
510 <listitem>
511 <para>
512 is a plug-in module for the <application>Apache</application> HTTP
513 server, used to make a <application>Subversion</application>
514 repository available to others over the Internet or an intranet.
515 </para>
516 <indexterm zone="subversion mod_dav_svn">
517 <primary sortas="c-mod_authz_svn">mod_dav_svn.so</primary>
518 </indexterm>
519 </listitem>
520 </varlistentry>
521
522 </variablelist>
523
524 </sect2>
525
526</sect1>
Note: See TracBrowser for help on using the repository browser.