source: general/prog/subversion.xml@ b4c7420

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 b4c7420 was b4c7420, checked in by Bruce Dubbs <bdubbs@…>, 11 years ago

Update to subversion-1.8.0
Update to qemu-1.5.1
Update to poppler-0.22.5

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