~ubuntu-branches/debian/sid/subversion/sid

« back to all changes in this revision

Viewing changes to tools/dev/unix-build/README

  • Committer: Package Import Robot
  • Author(s): James McCoy, Peter Samuelson, James McCoy
  • Date: 2014-01-12 19:48:33 UTC
  • mfrom: (0.2.10)
  • Revision ID: package-import@ubuntu.com-20140112194833-w3axfwksn296jn5x
Tags: 1.8.5-1
[ Peter Samuelson ]
* New upstream release.  (Closes: #725787) Rediff patches:
  - Remove apr-abi1 (applied upstream), rename apr-abi2 to apr-abi
  - Remove loosen-sqlite-version-check (shouldn't be needed)
  - Remove java-osgi-metadata (applied upstream)
  - svnmucc prompts for a changelog if none is provided. (Closes: #507430)
  - Remove fix-bdb-version-detection, upstream uses "apu-config --dbm-libs"
  - Remove ruby-test-wc (applied upstream)
  - Fix “svn diff -r N file” when file has svn:mime-type set.
    (Closes: #734163)
  - Support specifying an encoding for mod_dav_svn's environment in which
    hooks are run.  (Closes: #601544)
  - Fix ordering of “svnadmin dump” paths with certain APR versions.
    (Closes: #687291)
  - Provide a better error message when authentication fails with an
    svn+ssh:// URL.  (Closes: #273874)
  - Updated Polish translations.  (Closes: #690815)

[ James McCoy ]
* Remove all traces of libneon, replaced by libserf.
* patches/sqlite_3.8.x_workaround: Upstream fix for wc-queries-test test
  failurse.
* Run configure with --with-apache-libexecdir, which allows removing part of
  patches/rpath.
* Re-enable auth-test as upstream has fixed the problem of picking up
  libraries from the environment rather than the build tree.
  (Closes: #654172)
* Point LD_LIBRARY_PATH at the built auth libraries when running the svn
  command during the build.  (Closes: #678224)
* Add a NEWS entry describing how to configure mod_dav_svn to understand
  UTF-8.  (Closes: #566148)
* Remove ancient transitional package, libsvn-ruby.
* Enable compatibility with Sqlite3 versions back to Wheezy.
* Enable hardening flags.  (Closes: #734918)
* patches/build-fixes: Enable verbose build logs.
* Build against the default ruby version.  (Closes: #722393)

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
 
23
23
Usage
24
24
=====
25
 
First, choose a directory $(SVN_DEV) to set up the environment. Note
26
 
that this directory cannot be changed later because the script
27
 
hardcodes build and link paths relative to the current working
28
 
directory.
29
 
 
30
 
To fetch and build trunk, simply don't pass anything.
 
25
First, choose a directory $(SVN_DEV) to set up the environment.
 
26
For example, $(SVN_DEV) could be the directory "~/svn".
 
27
Note that this directory cannot be changed later because the script
 
28
hardcodes build and link paths relative to the current working directory.
 
29
 
 
30
  $ mkdir $(SVN_DEV)
 
31
 
 
32
Now change into this directory and make the Makefile available in it:
 
33
 
 
34
  $ cd $(SVN_DEV)
 
35
  $ svn checkout https://svn.apache.org/repos/asf/subversion/trunk/tools/dev/unix-build
 
36
  $ ln -s unix-build/Makefile.svn Makefile
 
37
 
 
38
To fetch and build trunk, simply don't pass anything, just run 'make':
 
39
 
 
40
  $ cd $(SVN_DEV)
 
41
  $ make
 
42
 
31
43
Pass the branch you want to build in BRANCH, e.g.
32
44
        $ make BRANCH="1.5.x"
33
45
You can also pass a tag to build: 
39
51
When the script has finished fetching and building, it uses
40
52
$(SVN_DEV)/prefix to install Subversion libraries and
41
53
binaries. $(SVN_DEV)/prefix/svn-trunk (or whatever you choose to
42
 
build) will contain the latest Subversion binaries: you should add
43
 
$(SVN_DEV)/prefix/svn-trunk/bin to your $PATH to use them. The
44
 
Makefile in $(SVN_DEV)/svn-trunk is configured to build with sane
 
54
build) will contain the latest Subversion binaries. You can add
 
55
$(SVN_DEV)/prefix/svn-trunk/bin to your $PATH to use them:
 
56
 
 
57
  $ export PATH="$(SVN_DEV)/prefix/svn-trunk/bin:$PATH"
 
58
 
 
59
The Makefile in $(SVN_DEV)/svn-trunk is configured to build with sane
45
60
options: while developing Subversion, simply `svn up` to pull the
46
61
latest changes, `make` and `make install` to install the binaries in
47
 
$(SVN_DEV)/prefix/svn-trunk.
48
 
 
49
 
If at any point, you want to re-configure any of the packages to the
50
 
default configuration in Makefile.svn, just run the "<PACKAGE>-reset"
51
 
target in Makefile.svn before trying to rebuild again. If, in the
52
 
extreme case, you want to remove everything including the installed
53
 
binaries effectively returning to the starting point, use the "nuke"
54
 
target.
 
62
$(SVN_DEV)/prefix/svn-trunk. This usually works fine. If not, you may
 
63
need to use the 'svn-reset' target and recompile everything.
 
64
 
 
65
If at any point, you want to recompile any of the packages with the
 
66
default configuration in Makefile.svn, use the *-clean and *-reset
 
67
target in Makefile.svn before trying to rebuild again. For example:
 
68
 
 
69
  $ make svn-clean
 
70
  $ make svn-reset
 
71
  $ make
 
72
 
 
73
Or, if you want to recompile svn and all dependencies:
 
74
 
 
75
  $ make clean
 
76
  $ make reset
 
77
  $ make
 
78
 
 
79
If you want to remove everything including the installed binaries effectively
 
80
returning to the starting point, use the "nuke" target (BE CAREFUL, this will
 
81
remove the 'svn' binary compiled from trunk which you might need to manage
 
82
existing working copies):
 
83
 
 
84
  $ make nuke
55
85
 
56
86
Extended usage
57
87
==============