source: general/prog/subversion.xml@ 70789c20

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 70789c20 was 70789c20, checked in by Igor Živković <igor@…>, 11 years ago

Subversion: kdelibs are required for KWallet support (thanks Armin)

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@11196 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 "454b9f398415c3504435bf8c3f6ed127">
11 <!ENTITY subversion-size "5.8 MB">
12 <!ENTITY subversion-buildsize "115 MB (additional 585 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 &lfs73_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 <xref linkend="kdelibs"/> (for KWallet support) 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</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 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
248 href="../../xincludes/static-libraries.xml"/>
249
250<!-- <para>
251 <parameter>CC="gcc -std=gnu99"</parameter>: If you want to compile
252 <filename class="libraryfile">mod_dav_svn.so</filename> to use with
253 <application>Apache</application>, configure will complain that your C
254 compiler is not the same as the one that compiled
255 <application>Apache</application>. To prevent this happening you can add
256 <parameter>CC="gcc -std=gnu99"</parameter> (or whatever
257 <application>Apache</application> used) to the
258 <command>configure</command> options.
259 </para> -->
260 </sect2>
261
262 <sect2 role="configuration">
263 <title>Configuring Subversion</title>
264
265 <sect3 id="subversion-config">
266 <title>Config Files</title>
267
268 <para>
269 <filename>~/.subversion/config</filename> and
270 <filename>/etc/subversion/config</filename>
271 </para>
272
273 <indexterm zone="subversion subversion-config">
274 <primary sortas="e-AA.subversion/config">~/.subversion/config</primary>
275 </indexterm>
276
277 <indexterm zone="subversion subversion-config">
278 <primary sortas="e-etc-subversion-config">/etc/subversion/config</primary>
279 </indexterm>
280 </sect3>
281
282 <sect3>
283 <title>Configuration Information</title>
284
285 <para>
286 <filename>/etc/subversion/config</filename> is the
287 <application>Subversion</application> system-wide configuration file.
288 This file is used to specify defaults for different
289 <command>svn</command> commands.
290 </para>
291
292 <para>
293 <filename>~/.subversion/config</filename> is the user's personal
294 configuration file. It is used to override the system-wide defaults set
295 in <filename>/etc/subversion/config</filename>.
296 </para>
297 </sect3>
298 </sect2>
299
300 <sect2 role="content">
301 <title>Contents</title>
302
303 <segmentedlist>
304 <segtitle>Installed Programs</segtitle>
305 <segtitle>Installed Libraries</segtitle>
306 <segtitle>Installed Directories</segtitle>
307
308 <seglistitem>
309 <seg>
310 svn, svnadmin, svndumpfilter, svnlook, svnserve, svnsync and
311 svnversion
312 </seg>
313 <seg>
314 libsvn*.so and optionally, a Java library, the mod_dav_svn.so, and
315 and mod_authz_svn.so <application>Apache HTTP</application> DSO
316 modules and various <application>Perl</application> and
317 <application>Python</application>
318 <!-- <application>Ruby</application> --> modules.
319 </seg>
320 <seg>
321 /usr/include/subversion-1,
322 /usr/lib/perl5/site_perl/&lfs-perl-version;/auto/SVN (optional),
323 /usr/lib/perl5/site_perl/&lfs-perl-version;/SVN (optional),
324 /usr/lib/ruby/site_ruby/&lt;x.y&gt;/i686-linux/svn (al),
325 /usr/lib/svn-javahl (optional),
326 /usr/lib/svn-python (optional) and
327 /usr/share/doc/subversion-&subversion-version;
328 </seg>
329 </seglistitem>
330 </segmentedlist>
331
332 <variablelist>
333 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
334 <?dbfo list-presentation="list"?>
335 <?dbhtml list-presentation="table"?>
336
337 <varlistentry id="svn">
338 <term><command>svn</command></term>
339 <listitem>
340 <para>
341 is a command-line client program used to access
342 <application>Subversion</application> repositories.
343 </para>
344 <indexterm zone="subversion svn">
345 <primary sortas="b-svn">svn</primary>
346 </indexterm>
347 </listitem>
348 </varlistentry>
349
350 <varlistentry id="svnadmin">
351 <term><command>svnadmin</command></term>
352 <listitem>
353 <para>
354 is a tool for creating, tweaking or repairing a
355 <application>Subversion</application> repository.
356 </para>
357 <indexterm zone="subversion svnadmin">
358 <primary sortas="b-svnadmin">svnadmin</primary>
359 </indexterm>
360 </listitem>
361 </varlistentry>
362
363 <varlistentry id="svndumpfilter">
364 <term><command>svndumpfilter</command></term>
365 <listitem>
366 <para>
367 is a program for filtering <application>Subversion</application>
368 repository dumpfile format streams.
369 </para>
370 <indexterm zone="subversion svndumpfilter">
371 <primary sortas="b-svndumpfilter">svndumpfilter</primary>
372 </indexterm>
373 </listitem>
374 </varlistentry>
375
376 <varlistentry id="svnlook">
377 <term><command>svnlook</command></term>
378 <listitem>
379 <para>
380 is a tool for inspecting a <application>Subversion</application>
381 repository.
382 </para>
383 <indexterm zone="subversion svnlook">
384 <primary sortas="b-svnlook">svnlook</primary>
385 </indexterm>
386 </listitem>
387 </varlistentry>
388
389 <varlistentry id="svnrdump">
390 <term><command>svnrdump</command></term>
391 <listitem>
392 <para>
393 is a tool for dumping or loading a remote
394 <application>Subversion</application> repository.
395 </para>
396 <indexterm zone="subversion svnrdump">
397 <primary sortas="b-svnrdump">svnrdump</primary>
398 </indexterm>
399 </listitem>
400 </varlistentry>
401
402 <varlistentry id="svnserve">
403 <term><command>svnserve</command></term>
404 <listitem>
405 <para>
406 is a custom standalone server program, able to run as a daemon
407 process or invoked by SSH.
408 </para>
409 <indexterm zone="subversion svnserve">
410 <primary sortas="b-svnserve">svnserve</primary>
411 </indexterm>
412 </listitem>
413 </varlistentry>
414
415 <varlistentry id="svnsync">
416 <term><command>svnsync</command></term>
417 <listitem>
418 <para>
419 is a <application>Subversion</application> repository
420 synchronisation tool.
421 </para>
422 <indexterm zone="subversion svnsync">
423 <primary sortas="b-svnsync">svnsync</primary>
424 </indexterm>
425 </listitem>
426 </varlistentry>
427
428 <varlistentry id="svnversion">
429 <term><command>svnversion</command></term>
430 <listitem>
431 <para>
432 is used to report the version number and state of a working
433 <application>Subversion</application> repository copy.
434 </para>
435 <indexterm zone="subversion svnversion">
436 <primary sortas="b-svnversion">svnversion</primary>
437 </indexterm>
438 </listitem>
439 </varlistentry>
440
441 <varlistentry id="libsvn_star">
442 <term><filename class="libraryfile">libsvn_*.so</filename></term>
443 <listitem>
444 <para>
445 are the support libraries used by the
446 <application>Subversion</application> programs.
447 </para>
448 <indexterm zone="subversion libsvn_star">
449 <primary sortas="c-libsvn_star">libsvn_*.so</primary>
450 </indexterm>
451 </listitem>
452 </varlistentry>
453
454 <varlistentry id="mod_authz_svn">
455 <term><filename class="libraryfile">mod_authz_svn.so</filename></term>
456 <listitem>
457 <para>
458 is a plug-in module for the <application>Apache</application> HTTP
459 server, used to authenticate users to a
460 <application>Subversion</application> repository over the Internet
461 or an intranet.
462 </para>
463 <indexterm zone="subversion mod_authz_svn">
464 <primary sortas="c-mod_authz_svn">mod_authz_svn.so</primary>
465 </indexterm>
466 </listitem>
467 </varlistentry>
468
469 <varlistentry id="mod_dav_svn">
470 <term><filename class="libraryfile">mod_dav_svn.so</filename></term>
471 <listitem>
472 <para>
473 is a plug-in module for the <application>Apache</application> HTTP
474 server, used to make a <application>Subversion</application>
475 repository available to others over the Internet or an intranet.
476 </para>
477 <indexterm zone="subversion mod_dav_svn">
478 <primary sortas="c-mod_authz_svn">mod_dav_svn.so</primary>
479 </indexterm>
480 </listitem>
481 </varlistentry>
482 </variablelist>
483 </sect2>
484</sect1>
Note: See TracBrowser for help on using the repository browser.