source: general/prog/subversion.xml@ b279414

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 b279414 was b279414, checked in by Krejzi <krejzi@…>, 11 years ago

Actualy update subversion (check for new deps, removed deps). We need serf library for it now, no neon support anymore.

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

  • Property mode set to 100644
File size: 15.3 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 "f053a9948dfe5c70eff5c00509723214">
11 <!ENTITY subversion-size "6.4 MB">
12 <!ENTITY subversion-buildsize "132 MB (additional 780 MB for tests)">
13 <!ENTITY subversion-time "1.1 SBU (additional 7 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">Subversion Dependencies</bridgehead>
81
82 <bridgehead renderas="sect4">Required</bridgehead>
83 <para role="required">
84 <xref linkend="apr-util"/>,
85 Serf,
86 <!-- <xref linkend="serf"/> and -->
87 <xref linkend="sqlite"/>
88 </para>
89
90 <note>
91 <para>
92 If you require the <application>Berkeley DB</application> back-end hooks
93 in <application>Subversion</application> to build or support BDB based
94 repositories, you must have <application>APR-util</application> linked to
95 the <application>Berkeley DB</application> library.
96 </para>
97 </note>
98
99 <bridgehead renderas="sect4">Optional</bridgehead>
100 <para role="optional">
101 <xref linkend="apache"/>,
102 <xref linkend="db"/>,
103 <xref linkend="cyrus-sasl"/>,
104 <xref linkend="dbus"/>,
105 <xref linkend="libgnome-keyring"/>,
106 <xref linkend="kdelibs"/> (for <ulink url="http://utils.kde.org/projects/kwalletmanager/">KWallet</ulink> support),
107 <xref linkend="python2"/> (required to run the test suite) and
108 <xref linkend="ruby"/>
109 </para>
110
111 <bridgehead renderas="sect4">Optional (for the Java Bindings)</bridgehead>
112 <para role="optional">
113 One of <xref linkend="openjdk"/>,
114 <ulink url="http://www.inet.no/dante/">Dante</ulink> or
115 <ulink url="http://oss.software.ibm.com/developerworks/opensource/jikes/">Jikes</ulink>,
116 and <xref linkend="junit"/> (to test the Java bindings)
117 </para>
118
119 <bridgehead renderas="sect4">Optional (for the SWIG Bindings)</bridgehead>
120 <para role="optional">
121 <ulink url="http://www.swig.org/">SWIG</ulink>
122 </para>
123
124 <para condition="html" role="usernotes">
125 User Notes: <ulink url="&blfs-wiki;/subversion"/>
126 </para>
127 </sect2>
128
129 <sect2 role="installation">
130 <title>Installation of Subversion</title>
131
132 <para>
133 Install <application>Subversion</application> by running the following
134 commands:
135 </para>
136
137<screen><userinput>./configure --prefix=/usr --disable-static &amp;&amp;
138make</userinput></screen>
139
140 <para>
141 If you have <xref linkend="doxygen"/> installed and you wish to build the
142 API documentation, issue: <command>doxygen doc/doxygen.conf</command>.
143 </para>
144
145 <para>
146 If you passed the <option>--enable-javahl</option> parameter to
147 <command>configure</command> and wish to build the Java bindings, issue
148 the following command:
149 </para>
150
151<screen><userinput>make javahl</userinput></screen>
152
153 <para>
154 If you have a multi core CPU and normally run <command>make</command> with
155 multiple jobs (eg <command>make -j4</command>) then a bug in the
156 <filename>Makefile</filename> will prevent the
157 <application>Perl</application> bindings compiling correctly. Fix the
158 <filename>Makefile</filename> with this sed:
159 </para>
160
161<screen><userinput>sed -i 's#Makefile.PL.in$#&amp; libsvn_swig_perl#' Makefile.in</userinput></screen>
162
163 <para>
164 To compile the <application>Perl</application>,
165 <application>Python</application> or <application>Ruby</application>
166 bindings issue any of the following commands:
167 </para>
168<screen><userinput>make swig-pl &amp;&amp;
169make swig-py &amp;&amp;
170make swig-rb</userinput></screen>
171
172 <para>
173 To test the results, issue: <command>make check</command>.
174 </para>
175
176 <para>
177 To test the results of the Java bindings build, issue
178 <command>make check-javahl</command>. Note you must have the
179 <application>JUnit</application> testing framework installed.
180 </para>
181
182 <para>
183 To test the results of any of the <application>SWIG</application>
184 bindings, you can use any of the following commands:
185 </para>
186
187<screen><userinput>make check-swig-pl &amp;&amp;
188make check-swig-py &amp;&amp;
189make check-swig-rb </userinput></screen>
190
191 <para>
192 Now, as the <systemitem class="username">root</systemitem> user:
193 </para>
194
195<screen role="root"><userinput>make install &amp;&amp;
196install -v -m755 -d /usr/share/doc/subversion-&subversion-version; &amp;&amp;
197cp -v -R doc/* \
198 /usr/share/doc/subversion-&subversion-version;</userinput></screen>
199
200 <para>
201 If you built the Java bindings, issue the following command as the
202 <systemitem class="username">root</systemitem> user to install them:
203 </para>
204
205<screen role="root"><userinput>make install-javahl</userinput></screen>
206
207 <para>
208 If you built any of the <application>SWIG</application> bindings, issue
209 any of the following commands as the
210 <systemitem class="username">root</systemitem> user to install them:
211 </para>
212
213<screen role="root"><userinput>make install-swig-pl &amp;&amp;
214make install-swig-py &amp;&amp;
215make install-swig-rb</userinput></screen>
216
217 <para>
218 In order for <application>Python</application> to automatically discover
219 the bindings, add
220 <filename class="directory">/usr/lib/svn-python</filename> to the
221 <envar>PYTHONPATH</envar> environment variable to the system or personal
222 profiles.
223 </para>
224
225 </sect2>
226
227 <sect2 role="commands">
228 <title>Command Explanations</title>
229
230 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
231 href="../../xincludes/static-libraries.xml"/>
232
233 </sect2>
234
235 <sect2 role="configuration">
236 <title>Configuring Subversion</title>
237
238 <sect3 id="subversion-config">
239 <title>Config Files</title>
240
241 <para>
242 <filename>~/.subversion/config</filename> and
243 <filename>/etc/subversion/config</filename>
244 </para>
245
246 <indexterm zone="subversion subversion-config">
247 <primary sortas="e-AA.subversion/config">~/.subversion/config</primary>
248 </indexterm>
249
250 <indexterm zone="subversion subversion-config">
251 <primary sortas="e-etc-subversion-config">/etc/subversion/config</primary>
252 </indexterm>
253 </sect3>
254
255 <sect3>
256 <title>Configuration Information</title>
257
258 <para>
259 <filename>/etc/subversion/config</filename> is the
260 <application>Subversion</application> system-wide configuration file.
261 This file is used to specify defaults for different
262 <command>svn</command> commands.
263 </para>
264
265 <para>
266 <filename>~/.subversion/config</filename> is the user's personal
267 configuration file. It is used to override the system-wide defaults set
268 in <filename>/etc/subversion/config</filename>.
269 </para>
270 </sect3>
271
272 </sect2>
273
274 <sect2 role="content">
275 <title>Contents</title>
276
277 <segmentedlist>
278 <segtitle>Installed Programs</segtitle>
279 <segtitle>Installed Libraries</segtitle>
280 <segtitle>Installed Directories</segtitle>
281
282 <seglistitem>
283 <seg>
284 svn, svnadmin, svndumpfilter, svnlook, svnrdump, svnserve, svnsync, and
285 svnversion
286 </seg>
287 <seg>
288 libsvn_*-1.so and optionally, a Java library, the mod_dav_svn.so and
289 and mod_authz_svn.so <application>Apache HTTP</application> DSO
290 modules and various <application>Perl</application> and
291 <application>Python</application>
292 <!-- <application>Ruby</application> --> modules.
293 </seg>
294 <seg>
295 /usr/include/subversion-1,
296 /usr/lib/perl5/site_perl/&lfs-perl-version;/auto/SVN (optional),
297 /usr/lib/perl5/site_perl/&lfs-perl-version;/SVN (optional),
298 /usr/lib/ruby/site_ruby/&lt;x.y&gt;/i686-linux/svn (optional),
299 /usr/lib/svn-javahl (optional),
300 /usr/lib/svn-python (optional), and
301 /usr/share/doc/subversion-&subversion-version;
302 </seg>
303 </seglistitem>
304 </segmentedlist>
305
306 <variablelist>
307 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
308 <?dbfo list-presentation="list"?>
309 <?dbhtml list-presentation="table"?>
310
311 <varlistentry id="svn">
312 <term><command>svn</command></term>
313 <listitem>
314 <para>
315 is a command-line client program used to access
316 <application>Subversion</application> repositories.
317 </para>
318 <indexterm zone="subversion svn">
319 <primary sortas="b-svn">svn</primary>
320 </indexterm>
321 </listitem>
322 </varlistentry>
323
324 <varlistentry id="svnadmin">
325 <term><command>svnadmin</command></term>
326 <listitem>
327 <para>
328 is a tool for creating, tweaking or repairing a
329 <application>Subversion</application> repository.
330 </para>
331 <indexterm zone="subversion svnadmin">
332 <primary sortas="b-svnadmin">svnadmin</primary>
333 </indexterm>
334 </listitem>
335 </varlistentry>
336
337 <varlistentry id="svndumpfilter">
338 <term><command>svndumpfilter</command></term>
339 <listitem>
340 <para>
341 is a program for filtering <application>Subversion</application>
342 repository dumpfile format streams.
343 </para>
344 <indexterm zone="subversion svndumpfilter">
345 <primary sortas="b-svndumpfilter">svndumpfilter</primary>
346 </indexterm>
347 </listitem>
348 </varlistentry>
349
350 <varlistentry id="svnlook">
351 <term><command>svnlook</command></term>
352 <listitem>
353 <para>
354 is a tool for inspecting a <application>Subversion</application>
355 repository.
356 </para>
357 <indexterm zone="subversion svnlook">
358 <primary sortas="b-svnlook">svnlook</primary>
359 </indexterm>
360 </listitem>
361 </varlistentry>
362
363 <varlistentry id="svnrdump">
364 <term><command>svnrdump</command></term>
365 <listitem>
366 <para>
367 is a tool for dumping or loading a remote
368 <application>Subversion</application> repository.
369 </para>
370 <indexterm zone="subversion svnrdump">
371 <primary sortas="b-svnrdump">svnrdump</primary>
372 </indexterm>
373 </listitem>
374 </varlistentry>
375
376 <varlistentry id="svnserve">
377 <term><command>svnserve</command></term>
378 <listitem>
379 <para>
380 is a custom standalone server program, able to run as a daemon
381 process or invoked by SSH.
382 </para>
383 <indexterm zone="subversion svnserve">
384 <primary sortas="b-svnserve">svnserve</primary>
385 </indexterm>
386 </listitem>
387 </varlistentry>
388
389 <varlistentry id="svnsync">
390 <term><command>svnsync</command></term>
391 <listitem>
392 <para>
393 is a <application>Subversion</application> repository
394 synchronisation tool.
395 </para>
396 <indexterm zone="subversion svnsync">
397 <primary sortas="b-svnsync">svnsync</primary>
398 </indexterm>
399 </listitem>
400 </varlistentry>
401
402 <varlistentry id="svnversion">
403 <term><command>svnversion</command></term>
404 <listitem>
405 <para>
406 is used to report the version number and state of a working
407 <application>Subversion</application> repository copy.
408 </para>
409 <indexterm zone="subversion svnversion">
410 <primary sortas="b-svnversion">svnversion</primary>
411 </indexterm>
412 </listitem>
413 </varlistentry>
414
415 <varlistentry id="libsvn_star-1">
416 <term><filename class="libraryfile">libsvn_*-1.so</filename></term>
417 <listitem>
418 <para>
419 are the support libraries used by the
420 <application>Subversion</application> programs.
421 </para>
422 <indexterm zone="subversion libsvn_star-1">
423 <primary sortas="c-libsvn_star-1">libsvn_*-1.so</primary>
424 </indexterm>
425 </listitem>
426 </varlistentry>
427
428 <varlistentry id="mod_authz_svn">
429 <term><filename class="libraryfile">mod_authz_svn.so</filename></term>
430 <listitem>
431 <para>
432 is a plug-in module for the <application>Apache</application> HTTP
433 server, used to authenticate users to a
434 <application>Subversion</application> repository over the Internet
435 or an intranet.
436 </para>
437 <indexterm zone="subversion mod_authz_svn">
438 <primary sortas="c-mod_authz_svn">mod_authz_svn.so</primary>
439 </indexterm>
440 </listitem>
441 </varlistentry>
442
443 <varlistentry id="mod_dav_svn">
444 <term><filename class="libraryfile">mod_dav_svn.so</filename></term>
445 <listitem>
446 <para>
447 is a plug-in module for the <application>Apache</application> HTTP
448 server, used to make a <application>Subversion</application>
449 repository available to others over the Internet or an intranet.
450 </para>
451 <indexterm zone="subversion mod_dav_svn">
452 <primary sortas="c-mod_authz_svn">mod_dav_svn.so</primary>
453 </indexterm>
454 </listitem>
455 </varlistentry>
456
457 </variablelist>
458
459 </sect2>
460
461</sect1>
Note: See TracBrowser for help on using the repository browser.