source: general/prog/subversion.xml@ c084a2a

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.4 9.0 9.1 bdubbs/svn kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt 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 c084a2a was c084a2a, checked in by Pierre Labastie <pieere@…>, 5 years ago

Archive maven, archive junit, update to ant-1.10.5

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

  • Property mode set to 100644
File size: 18.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 "https://archive.apache.org/dist/subversion/subversion-&subversion-version;.tar.bz2">
8 <!ENTITY subversion-download-ftp " ">
9 <!ENTITY subversion-md5sum "5797bf701d2d868fa964c7bbc4931267">
10 <!ENTITY subversion-size "8.1 MB">
11 <!-- for 1.11.0
12 make javahl: 0.4 SBU 26 MB;
13 swig-pl swig-py and swig-rb: 1.6 SBU 90 MB -->
14 <!ENTITY subversion-buildsize "174 MB (add 116 MB for bindings, 24 MB for docs, 1.0 GB for tests)">
15 <!ENTITY subversion-time "0.5 SBU (Using parallelism=4; add 2.0 SBU for bindings, 5.5 SBU for tests)">
16]>
17
18<sect1 id="subversion" xreflabel="Subversion-&subversion-version;">
19 <?dbhtml filename="subversion.html"?>
20
21 <sect1info>
22 <othername>$LastChangedBy$</othername>
23 <date>$Date$</date>
24 </sect1info>
25
26 <title>Subversion-&subversion-version;</title>
27
28 <indexterm zone="subversion">
29 <primary sortas="a-Subversion">Subversion</primary>
30 </indexterm>
31
32 <sect2 role="package">
33 <title>Introduction to Subversion</title>
34
35 <para>
36 <application>Subversion</application> is a version control system that is
37 designed to be a compelling replacement for <application>CVS</application>
38 in the open source community. It extends and enhances
39 <application>CVS</application>' feature set, while maintaining a similar
40 interface for those already familiar with <application>CVS</application>.
41 These instructions install the client and server software used to
42 manipulate a <application>Subversion</application> repository. Creation of
43 a repository is covered at <xref linkend="svnserver"/>.
44 </para>
45
46 &lfs83_checked;
47
48 <bridgehead renderas="sect3">Package Information</bridgehead>
49 <itemizedlist spacing="compact">
50 <listitem>
51 <para>
52 Download (HTTP): <ulink url="&subversion-download-http;"/>
53 </para>
54 </listitem>
55 <listitem>
56 <para>
57 Download (FTP): <ulink url="&subversion-download-ftp;"/>
58 </para>
59 </listitem>
60 <listitem>
61 <para>
62 Download MD5 sum: &subversion-md5sum;
63 </para>
64 </listitem>
65 <listitem>
66 <para>
67 Download size: &subversion-size;
68 </para>
69 </listitem>
70 <listitem>
71 <para>
72 Estimated disk space required: &subversion-buildsize;
73 </para>
74 </listitem>
75 <listitem>
76 <para>
77 Estimated build time: &subversion-time;
78 </para>
79 </listitem>
80 </itemizedlist>
81
82 <bridgehead renderas="sect3">Subversion Dependencies</bridgehead>
83
84 <bridgehead renderas="sect4">Required</bridgehead>
85 <para role="required">
86 <xref linkend="apr-util"/> and
87 <xref linkend="sqlite"/>
88 </para>
89
90 <bridgehead renderas="sect4">Recommended</bridgehead>
91 <para role="recommended">
92 <xref linkend="serf"/> (for handling http:// and https:// URLs)
93 </para>
94
95<!-- support for berkeley db is deprecated since 1.8
96 <note>
97 <para>
98 If you require the <application>Berkeley DB</application> back-end hooks
99 in <application>Subversion</application> to build or support BDB based
100 repositories, you must have <application>APR-util</application> linked to
101 the <application>Berkeley DB</application> library.
102 </para>
103 </note>
104-->
105
106 <bridgehead renderas="sect4">Optional</bridgehead>
107 <para role="optional">
108 <xref linkend="apache"/>,
109<!-- support for berkeley db is deprecated since 1.8
110 <xref linkend="db"/>,
111-->
112 <xref linkend="cyrus-sasl"/>,
113 <xref linkend="dbus"/>,
114 <xref linkend="libsecret"/>,
115<!-- <xref linkend="kdelibs"/> (for <ulink url="http://utils.kde.org/projects/kwalletmanager/">KWallet</ulink> support), -->
116 <xref linkend="python2"/> (with sqlite support for the tests),
117 <xref linkend="ruby"/>,
118 <xref linkend="swig"/> (for building Perl, Python and Ruby bindings),
119 <ulink url="https://github.com/lz4/lz4/releases">LZ4</ulink>, and
120 <ulink url="http://git.netsurf-browser.org/libutf8proc.git/">UTF8proc</ulink>
121 </para>
122
123 <bridgehead renderas="sect4">Optional (for the Java Bindings)</bridgehead>
124 <para role="optional">
125 One of <xref linkend="openjdk"/>,
126 <ulink url="http://www.inet.no/dante/">Dante</ulink> or
127 <ulink url="http://jikes.sourceforge.net/">Jikes</ulink>,
128 and <ulink url="https://junit.org/junit4/">JUnit 4</ulink>
129 (to test the Java bindings).
130 </para>
131
132 <para condition="html" role="usernotes">
133 User Notes: <ulink url="&blfs-wiki;/subversion"/>
134 </para>
135
136 </sect2>
137
138 <sect2 role="installation">
139 <title>Installation of Subversion</title>
140
141 <note>
142 <para>
143 This package may fail during the make phase when using multiple
144 processors. If this occurs try continuing with
145 <emphasis>make -j1</emphasis> or redo the entire build process with
146 fresh sources using <emphasis>-j1</emphasis>.
147 </para>
148 </note>
149
150 <para>
151 Install <application>Subversion</application> by running the following
152 commands:
153 </para>
154
155<screen><userinput>./configure --prefix=/usr \
156 --disable-static \
157 --with-apache-libexecdir \
158 --with-lz4=internal \
159 --with-utf8proc=internal &amp;&amp;
160make</userinput></screen>
161
162 <para>
163 If you have <xref linkend="doxygen"/> installed and you wish to build the
164 API documentation, issue: <command>doxygen doc/doxygen.conf</command>.
165 </para>
166
167 <para>
168 If you passed the <option>--enable-javahl</option> parameter to
169 <command>configure</command> and wish to build the Java bindings, issue
170 the following command:
171 </para>
172 <para>
173 <screen><command>make javahl</command></screen>
174 </para>
175
176 <para>
177 If you want to compile <application>Perl</application>,
178 <application>Python2</application>, or <application>Ruby</application>
179 bindings, issue any of the following command:
180 </para>
181 <para>
182 <screen><command>make swig-pl</command> # for <application>Perl</application>
183<command>make swig-py \
184 swig_pydir=/usr/lib/python&python2-majorver;/site-packages/libsvn \
185 swig_pydir_extra=/usr/lib/python&python2-majorver;/site-packages/svn</command> # for <application>Python</application>
186<command>make swig-rb</command> # for <application>Ruby</application></screen>
187 </para>
188
189 <para>
190 To test the results, issue: <command>make check</command>.
191 </para>
192
193 <para>
194 To test the results of the Java bindings build,
195 issue <command>make check-javahl</command>. The
196 <application>JUnit</application> testing framework must be installed,
197 and the location of the JUnit jar has to be specified by passing the
198 <option>--with-junit=&lt;path to junit jar&gt;</option> parameter to
199 <command>configure</command>. Note that <application>JUnit</application>
200 is included in <xref linkend="apache-ant"/>, and can be accessed by
201 passing <option>--with-junit=/opt/ant/lib/junit-4.12.jar</option>
202 to <command>configure</command>.
203 </para>
204
205 <para>
206 To test the results of any of the <application>SWIG</application>
207 bindings, you can use any of the following commands:
208 <command>make check-swig-pl</command>,
209 <command> make check-swig-py</command>, or
210 <command>make check-swig-rb</command>.
211 </para>
212
213 <!-- <para>
214 The Ruby bindings test, <command>make check-swig-rb</command>, fails due
215 to errors in the test suite.
216 </para>
217 -->
218 <para>
219 Now, as the <systemitem class="username">root</systemitem> user:
220 </para>
221
222<screen role="root"><userinput>make install &amp;&amp;
223
224install -v -m755 -d /usr/share/doc/subversion-&subversion-version; &amp;&amp;
225cp -v -R doc/* \
226 /usr/share/doc/subversion-&subversion-version;</userinput></screen>
227
228 <para>
229 If you built the Java bindings, issue the following command as the
230 <systemitem class="username">root</systemitem> user to install them:
231 </para>
232 <para>
233 <screen> <command>make install-javahl</command></screen>
234 </para>
235
236 <para>
237 If you built the <application>Perl</application>,
238 <application>Python2</application>, or
239 <application>Ruby</application> bindings, issue any of the following
240 commands as the <systemitem class="username">root</systemitem> user
241 to install them:
242 </para>
243 <para>
244 <screen><command>make install-swig-pl</command>
245<command>make install-swig-py \
246 swig_pydir=/usr/lib/python&python2-majorver;/site-packages/libsvn \
247 swig_pydir_extra=/usr/lib/python&python2-majorver;/site-packages/svn</command>
248<command>make install-swig-rb</command></screen>
249 </para>
250
251 </sect2>
252
253 <sect2 role="commands">
254 <title>Command Explanations</title>
255
256 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
257 href="../../xincludes/static-libraries.xml"/>
258
259 <para>
260 <parameter>--with-apache-libexecdir</parameter>:
261 If <xref linkend="apache"/> is installed, the shared
262 <application>Apache</application> modules are
263 built. This switch allows to have those modules installed to
264 <application>Apache</application>'s configured module dir instead
265 of <filename class="directory">/usr/libexec</filename>. It has no effect
266 if <application>Apache</application> is not installed.
267 </para>
268
269 <para>
270 <parameter>--with-lz4=internal, --with-utf8proc=internal</parameter>:
271 Remove them if you have installed the optional dependencies.
272 </para>
273
274 <para>
275 <option>--enable-javahl</option>: enables compilation of Java high level
276 bindings. Running <command>make javahl</command> is necessary to do
277 the compilation.
278 </para>
279
280 <para>
281 <option>--with-junit=&lt;location of the junit jar file&gt;</option>:
282 gives the location of the junit jar, otherwise the javahl tests cannot
283 be run.
284 </para>
285
286 <para>
287 <option>--disable-gmock</option>: Do not use the Googlemock testing
288 framework.
289 </para>
290
291 </sect2>
292
293 <sect2 role="configuration">
294 <title>Configuring Subversion</title>
295
296 <sect3 id="subversion-config">
297 <title>Config Files</title>
298
299 <para>
300 <filename>~/.subversion/config</filename> and
301 <filename>/etc/subversion/config</filename>
302 </para>
303
304 <indexterm zone="subversion subversion-config">
305 <primary sortas="e-AA.subversion/config">~/.subversion/config</primary>
306 </indexterm>
307
308 <indexterm zone="subversion subversion-config">
309 <primary sortas="e-etc-subversion-config">/etc/subversion/config</primary>
310 </indexterm>
311 </sect3>
312
313 <sect3>
314 <title>Configuration Information</title>
315
316 <para>
317 <filename>/etc/subversion/config</filename> is the
318 <application>Subversion</application> system-wide configuration file.
319 This file is used to specify defaults for different
320 <command>svn</command> commands.
321 </para>
322
323 <para>
324 <filename>~/.subversion/config</filename> is the user's personal
325 configuration file. It is used to override the system-wide defaults set
326 in <filename>/etc/subversion/config</filename>.
327 </para>
328 </sect3>
329
330 </sect2>
331
332 <sect2 role="content">
333 <title>Contents</title>
334
335 <segmentedlist>
336 <segtitle>Installed Programs</segtitle>
337 <segtitle>Installed Libraries</segtitle>
338 <segtitle>Installed Directories</segtitle>
339
340 <seglistitem>
341 <seg>
342 svn, svnadmin, svnbench, svndumpfilter, svnfsfs, svnlook, svnmucc,
343 svnrdump, svnserve, svnsync, and svnversion
344 </seg>
345 <seg>
346 libsvn_*-1.so and optionally, a Java library, the mod_dav_svn.so and
347 and mod_authz_svn.so <application>Apache HTTP</application> DSO
348 modules and various <application>Perl</application>,
349 <application>Python</application> and
350 <application>Ruby</application> modules.
351 </seg>
352 <seg>
353 /usr/include/subversion-1,
354 /usr/lib/perl5/site_perl/&lfs-perl-version;/{,auto/}SVN,
355 /usr/lib/python2.7/site-packages/{libsvn,svn},
356 /usr/lib/ruby/site_ruby/&lt;x.y.z&gt;/{,&lt;arch-linux&gt;-linux/}svn,
357 /usr/lib/svn-javahl, and
358 /usr/share/doc/subversion-&subversion-version;
359 </seg>
360 </seglistitem>
361 </segmentedlist>
362
363 <variablelist>
364 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
365 <?dbfo list-presentation="list"?>
366 <?dbhtml list-presentation="table"?>
367
368 <varlistentry id="svn">
369 <term><command>svn</command></term>
370 <listitem>
371 <para>
372 is a command-line client program used to access
373 <application>Subversion</application> repositories.
374 </para>
375 <indexterm zone="subversion svn">
376 <primary sortas="b-svn">svn</primary>
377 </indexterm>
378 </listitem>
379 </varlistentry>
380
381 <varlistentry id="svnadmin">
382 <term><command>svnadmin</command></term>
383 <listitem>
384 <para>
385 is a tool for creating, tweaking or repairing a
386 <application>Subversion</application> repository.
387 </para>
388 <indexterm zone="subversion svnadmin">
389 <primary sortas="b-svnadmin">svnadmin</primary>
390 </indexterm>
391 </listitem>
392 </varlistentry>
393
394 <varlistentry id="svnbench">
395 <term><command>svnbench</command></term>
396 <listitem>
397 <para>
398 is a benchmarking tool.
399 </para>
400 <indexterm zone="subversion svnbench">
401 <primary sortas="b-svnbench">svnbench</primary>
402 </indexterm>
403 </listitem>
404 </varlistentry>
405
406 <varlistentry id="svndumpfilter">
407 <term><command>svndumpfilter</command></term>
408 <listitem>
409 <para>
410 is a program for filtering <application>Subversion</application>
411 repository dumpfile format streams.
412 </para>
413 <indexterm zone="subversion svndumpfilter">
414 <primary sortas="b-svndumpfilter">svndumpfilter</primary>
415 </indexterm>
416 </listitem>
417 </varlistentry>
418
419 <varlistentry id="svnfsfs">
420 <term><command>svnfsfs</command></term>
421 <listitem>
422 <para>
423 is the FSFS (FileSystem atop of the FileSystem -
424 <application>Subversion</application> filesystem implementation)
425 repository manipulation tool.
426 </para>
427 <indexterm zone="subversion svnfsfs">
428 <primary sortas="b-svnfsfs">svnfsfs</primary>
429 </indexterm>
430 </listitem>
431 </varlistentry>
432
433 <varlistentry id="svnlook">
434 <term><command>svnlook</command></term>
435 <listitem>
436 <para>
437 is a tool for inspecting a <application>Subversion</application>
438 repository.
439 </para>
440 <indexterm zone="subversion svnlook">
441 <primary sortas="b-svnlook">svnlook</primary>
442 </indexterm>
443 </listitem>
444 </varlistentry>
445
446 <varlistentry id="svnmucc">
447 <term><command>svnmucc</command></term>
448 <listitem>
449 <para>
450 is a Multiple URL Command Client for <application>Subversion</application>.
451 </para>
452 <indexterm zone="subversion svnmucc">
453 <primary sortas="b-svnmucc">svnmucc</primary>
454 </indexterm>
455 </listitem>
456 </varlistentry>
457
458 <varlistentry id="svnrdump">
459 <term><command>svnrdump</command></term>
460 <listitem>
461 <para>
462 is a tool for dumping or loading a remote
463 <application>Subversion</application> repository.
464 </para>
465 <indexterm zone="subversion svnrdump">
466 <primary sortas="b-svnrdump">svnrdump</primary>
467 </indexterm>
468 </listitem>
469 </varlistentry>
470
471 <varlistentry id="svnserve">
472 <term><command>svnserve</command></term>
473 <listitem>
474 <para>
475 is a custom standalone server program, able to run as a daemon
476 process or invoked by SSH.
477 </para>
478 <indexterm zone="subversion svnserve">
479 <primary sortas="b-svnserve">svnserve</primary>
480 </indexterm>
481 </listitem>
482 </varlistentry>
483
484 <varlistentry id="svnsync">
485 <term><command>svnsync</command></term>
486 <listitem>
487 <para>
488 is a <application>Subversion</application> repository
489 synchronisation tool.
490 </para>
491 <indexterm zone="subversion svnsync">
492 <primary sortas="b-svnsync">svnsync</primary>
493 </indexterm>
494 </listitem>
495 </varlistentry>
496
497 <varlistentry id="svnversion">
498 <term><command>svnversion</command></term>
499 <listitem>
500 <para>
501 is used to report the version number and state of a working
502 <application>Subversion</application> repository copy.
503 </para>
504 <indexterm zone="subversion svnversion">
505 <primary sortas="b-svnversion">svnversion</primary>
506 </indexterm>
507 </listitem>
508 </varlistentry>
509
510 <varlistentry id="libsvn_star-1">
511 <term><filename class="libraryfile">libsvn_*-1.so</filename></term>
512 <listitem>
513 <para>
514 are the support libraries used by the
515 <application>Subversion</application> programs.
516 </para>
517 <indexterm zone="subversion libsvn_star-1">
518 <primary sortas="c-libsvn_star-1">libsvn_*-1.so</primary>
519 </indexterm>
520 </listitem>
521 </varlistentry>
522
523 <varlistentry id="mod_authz_svn">
524 <term><filename class="libraryfile">mod_authz_svn.so</filename></term>
525 <listitem>
526 <para>
527 is a plug-in module for the <application>Apache</application> HTTP
528 server, used to authenticate users to a
529 <application>Subversion</application> repository over the Internet
530 or an intranet.
531 </para>
532 <indexterm zone="subversion mod_authz_svn">
533 <primary sortas="c-mod_authz_svn">mod_authz_svn.so</primary>
534 </indexterm>
535 </listitem>
536 </varlistentry>
537
538 <varlistentry id="mod_dav_svn">
539 <term><filename class="libraryfile">mod_dav_svn.so</filename></term>
540 <listitem>
541 <para>
542 is a plug-in module for the <application>Apache</application> HTTP
543 server, used to make a <application>Subversion</application>
544 repository available to others over the Internet or an intranet.
545 </para>
546 <indexterm zone="subversion mod_dav_svn">
547 <primary sortas="c-mod_authz_svn">mod_dav_svn.so</primary>
548 </indexterm>
549 </listitem>
550 </varlistentry>
551
552 </variablelist>
553
554 </sect2>
555
556</sect1>
Note: See TracBrowser for help on using the repository browser.