source: general/prog/subversion.xml@ 597ac4bd

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 597ac4bd was 597ac4bd, checked in by Douglas R. Reno <renodr@…>, 8 years ago

Update to libdrm-2.4.69
Restored Xorg-Server dependencies and systemd specific info to systemd
Added seds to subversion, libva, and libX11 to silence more libtool warnings
Typo fixes

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

  • Property mode set to 100644
File size: 17.9 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;&gcc6_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>sed -i "/seems to be moved/s/^/#/" build/ltmain.sh &amp;&amp;
150./configure --prefix=/usr \
151 --disable-static \
152 --with-apache-libexecdir &amp;&amp;
153make</userinput></screen>
154
155 <para>
156 If you have <xref linkend="doxygen"/> installed and you wish to build the
157 API documentation, issue: <command>doxygen doc/doxygen.conf</command>.
158 </para>
159
160 <para>
161 If you passed the <option>--enable-javahl</option> parameter to
162 <command>configure</command> and wish to build the Java bindings, issue
163 the following command:
164 </para>
165 <para>
166 <screen><command>make javahl</command></screen>
167 </para>
168
169 <para>
170 If you want to compile <application>Perl</application>,
171 <application>Python2</application>, or <application>Ruby</application>
172 bindings, issue any of the following command:
173 </para>
174 <para>
175 <screen><command>make swig-pl</command> # for <application>Perl</application>
176<command>make swig-py \
177 swig_pydir=/usr/lib/python&python2-majorver;/site-packages/libsvn \
178 swig_pydir_extra=/usr/lib/python&python2-majorver;/site-packages/svn</command> # for <application>Python</application>
179<command>make swig-rb</command> # for <application>Ruby</application></screen>
180 </para>
181
182 <para>
183 To test the results, issue: <command>make check</command>.
184 </para>
185
186 <para>
187 The Java bindings test, <command>make check-javahl</command>, fails due to
188 errors in the test suite. <!--To test the results of the Java bindings build,
189 issue <command>make check-javahl</command>. Note you must have the
190 <application>JUnit</application> testing framework installed.-->
191 </para>
192
193 <para>
194 To test the results of any of the <application>SWIG</application>
195 bindings, you can use any of the following commands:
196 <command>make check-swig-pl</command>,
197 <command> make check-swig-py</command>, or
198 <command>make check-swig-rb</command>.
199 </para>
200
201 <para>
202 The Ruby bindings test, <command>make check-swig-rb</command>, fails due
203 to errors in the test suite.
204 </para>
205
206 <para>
207 Now, as the <systemitem class="username">root</systemitem> user:
208 </para>
209
210<screen role="root"><userinput>make install &amp;&amp;
211
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 <para>
221 <screen> <command>make install-javahl</command></screen>
222 </para>
223
224 <para>
225 If you built the <application>Perl</application>,
226 <application>Python2</application>, or
227 <application>Ruby</application> bindings, issue any of the following
228 commands as the <systemitem class="username">root</systemitem> user
229 to install them:
230 </para>
231 <para>
232 <screen><command>make install-swig-pl</command>
233<command>make install-swig-py \
234 swig_pydir=/usr/lib/python&python2-majorver;/site-packages/libsvn \
235 swig_pydir_extra=/usr/lib/python&python2-majorver;/site-packages/svn</command>
236<command>make install-swig-rb</command></screen>
237 </para>
238
239 </sect2>
240
241 <sect2 role="commands">
242 <title>Command Explanations</title>
243
244 <para>
245 <command>sed -i ... build/ltmain.sh</command>: This sed silences several
246 annoying and useless warnings emitted from libtool.
247 </para>
248
249 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
250 href="../../xincludes/static-libraries.xml"/>
251
252 <para>
253 <parameter>--with-apache-libexecdir</parameter>:
254 If <xref linkend="apache"/> is installed, the shared
255 <application>Apache</application> modules are
256 built. This switch allows to have those modules installed to
257 <application>Apache</application>'s configured module dir instead
258 of <filename class="directory">/usr/libexec</filename>. It has no effect
259 if <application>Apache</application> is not installed.
260 </para>
261
262 <para>
263 <option>---disable-gmock</option>: Do not use the Googlemock testing
264 framework.
265 </para>
266
267 </sect2>
268
269 <sect2 role="configuration">
270 <title>Configuring Subversion</title>
271
272 <sect3 id="subversion-config">
273 <title>Config Files</title>
274
275 <para>
276 <filename>~/.subversion/config</filename> and
277 <filename>/etc/subversion/config</filename>
278 </para>
279
280 <indexterm zone="subversion subversion-config">
281 <primary sortas="e-AA.subversion/config">~/.subversion/config</primary>
282 </indexterm>
283
284 <indexterm zone="subversion subversion-config">
285 <primary sortas="e-etc-subversion-config">/etc/subversion/config</primary>
286 </indexterm>
287 </sect3>
288
289 <sect3>
290 <title>Configuration Information</title>
291
292 <para>
293 <filename>/etc/subversion/config</filename> is the
294 <application>Subversion</application> system-wide configuration file.
295 This file is used to specify defaults for different
296 <command>svn</command> commands.
297 </para>
298
299 <para>
300 <filename>~/.subversion/config</filename> is the user's personal
301 configuration file. It is used to override the system-wide defaults set
302 in <filename>/etc/subversion/config</filename>.
303 </para>
304 </sect3>
305
306 </sect2>
307
308 <sect2 role="content">
309 <title>Contents</title>
310
311 <segmentedlist>
312 <segtitle>Installed Programs</segtitle>
313 <segtitle>Installed Libraries</segtitle>
314 <segtitle>Installed Directories</segtitle>
315
316 <seglistitem>
317 <seg>
318 svn, svnadmin, svnbench, svndumpfilter, svnfsfs, svnlook, svnmucc,
319 svnrdump, svnserve, svnsync, and svnversion
320 </seg>
321 <seg>
322 libsvn_*-1.so and optionally, a Java library, the mod_dav_svn.so and
323 and mod_authz_svn.so <application>Apache HTTP</application> DSO
324 modules and various <application>Perl</application>,
325 <application>Python</application> and
326 <application>Ruby</application> modules.
327 </seg>
328 <seg>
329 /usr/include/subversion-1,
330 /usr/lib/perl5/site_perl/&lfs-perl-version;/{,auto/}SVN,
331 /usr/lib/python2.7/site-packages/{libsvn,svn},
332 /usr/lib/ruby/site_ruby/&lt;x.y.z&gt;/{,&lt;arch-linux&gt;-linux/}svn,
333 /usr/lib/svn-javahl, and
334 /usr/share/doc/subversion-&subversion-version;
335 </seg>
336 </seglistitem>
337 </segmentedlist>
338
339 <variablelist>
340 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
341 <?dbfo list-presentation="list"?>
342 <?dbhtml list-presentation="table"?>
343
344 <varlistentry id="svn">
345 <term><command>svn</command></term>
346 <listitem>
347 <para>
348 is a command-line client program used to access
349 <application>Subversion</application> repositories.
350 </para>
351 <indexterm zone="subversion svn">
352 <primary sortas="b-svn">svn</primary>
353 </indexterm>
354 </listitem>
355 </varlistentry>
356
357 <varlistentry id="svnadmin">
358 <term><command>svnadmin</command></term>
359 <listitem>
360 <para>
361 is a tool for creating, tweaking or repairing a
362 <application>Subversion</application> repository.
363 </para>
364 <indexterm zone="subversion svnadmin">
365 <primary sortas="b-svnadmin">svnadmin</primary>
366 </indexterm>
367 </listitem>
368 </varlistentry>
369
370 <varlistentry id="svnbench">
371 <term><command>svnbench</command></term>
372 <listitem>
373 <para>
374 is a benchmarking tool.
375 </para>
376 <indexterm zone="subversion svnbench">
377 <primary sortas="b-svnbench">svnbench</primary>
378 </indexterm>
379 </listitem>
380 </varlistentry>
381
382 <varlistentry id="svndumpfilter">
383 <term><command>svndumpfilter</command></term>
384 <listitem>
385 <para>
386 is a program for filtering <application>Subversion</application>
387 repository dumpfile format streams.
388 </para>
389 <indexterm zone="subversion svndumpfilter">
390 <primary sortas="b-svndumpfilter">svndumpfilter</primary>
391 </indexterm>
392 </listitem>
393 </varlistentry>
394
395 <varlistentry id="svnfsfs">
396 <term><command>svnfsfs</command></term>
397 <listitem>
398 <para>
399 is the FSFS (FileSystem atop of the FileSystem -
400 <application>Subversion</application> filesystem implementation)
401 repository manipulation tool.
402 </para>
403 <indexterm zone="subversion svnfsfs">
404 <primary sortas="b-svnfsfs">svnfsfs</primary>
405 </indexterm>
406 </listitem>
407 </varlistentry>
408
409 <varlistentry id="svnlook">
410 <term><command>svnlook</command></term>
411 <listitem>
412 <para>
413 is a tool for inspecting a <application>Subversion</application>
414 repository.
415 </para>
416 <indexterm zone="subversion svnlook">
417 <primary sortas="b-svnlook">svnlook</primary>
418 </indexterm>
419 </listitem>
420 </varlistentry>
421
422 <varlistentry id="svnmucc">
423 <term><command>svnmucc</command></term>
424 <listitem>
425 <para>
426 is a Multiple URL Command Client for <application>Subversion</application>.
427 </para>
428 <indexterm zone="subversion svnmucc">
429 <primary sortas="b-svnmucc">svnmucc</primary>
430 </indexterm>
431 </listitem>
432 </varlistentry>
433
434 <varlistentry id="svnrdump">
435 <term><command>svnrdump</command></term>
436 <listitem>
437 <para>
438 is a tool for dumping or loading a remote
439 <application>Subversion</application> repository.
440 </para>
441 <indexterm zone="subversion svnrdump">
442 <primary sortas="b-svnrdump">svnrdump</primary>
443 </indexterm>
444 </listitem>
445 </varlistentry>
446
447 <varlistentry id="svnserve">
448 <term><command>svnserve</command></term>
449 <listitem>
450 <para>
451 is a custom standalone server program, able to run as a daemon
452 process or invoked by SSH.
453 </para>
454 <indexterm zone="subversion svnserve">
455 <primary sortas="b-svnserve">svnserve</primary>
456 </indexterm>
457 </listitem>
458 </varlistentry>
459
460 <varlistentry id="svnsync">
461 <term><command>svnsync</command></term>
462 <listitem>
463 <para>
464 is a <application>Subversion</application> repository
465 synchronisation tool.
466 </para>
467 <indexterm zone="subversion svnsync">
468 <primary sortas="b-svnsync">svnsync</primary>
469 </indexterm>
470 </listitem>
471 </varlistentry>
472
473 <varlistentry id="svnversion">
474 <term><command>svnversion</command></term>
475 <listitem>
476 <para>
477 is used to report the version number and state of a working
478 <application>Subversion</application> repository copy.
479 </para>
480 <indexterm zone="subversion svnversion">
481 <primary sortas="b-svnversion">svnversion</primary>
482 </indexterm>
483 </listitem>
484 </varlistentry>
485
486 <varlistentry id="libsvn_star-1">
487 <term><filename class="libraryfile">libsvn_*-1.so</filename></term>
488 <listitem>
489 <para>
490 are the support libraries used by the
491 <application>Subversion</application> programs.
492 </para>
493 <indexterm zone="subversion libsvn_star-1">
494 <primary sortas="c-libsvn_star-1">libsvn_*-1.so</primary>
495 </indexterm>
496 </listitem>
497 </varlistentry>
498
499 <varlistentry id="mod_authz_svn">
500 <term><filename class="libraryfile">mod_authz_svn.so</filename></term>
501 <listitem>
502 <para>
503 is a plug-in module for the <application>Apache</application> HTTP
504 server, used to authenticate users to a
505 <application>Subversion</application> repository over the Internet
506 or an intranet.
507 </para>
508 <indexterm zone="subversion mod_authz_svn">
509 <primary sortas="c-mod_authz_svn">mod_authz_svn.so</primary>
510 </indexterm>
511 </listitem>
512 </varlistentry>
513
514 <varlistentry id="mod_dav_svn">
515 <term><filename class="libraryfile">mod_dav_svn.so</filename></term>
516 <listitem>
517 <para>
518 is a plug-in module for the <application>Apache</application> HTTP
519 server, used to make a <application>Subversion</application>
520 repository available to others over the Internet or an intranet.
521 </para>
522 <indexterm zone="subversion mod_dav_svn">
523 <primary sortas="c-mod_authz_svn">mod_dav_svn.so</primary>
524 </indexterm>
525 </listitem>
526 </varlistentry>
527
528 </variablelist>
529
530 </sect2>
531
532</sect1>
Note: See TracBrowser for help on using the repository browser.