login | register | take an anonymous note | public notes

subversion, svn, Leopard 

pre-composed utf-8 patched subversion

If you are using Japanese or some of european languages characters in name of files or directories on subversion repository which is also accessed from platforms other than Ma OS X. This patched version of subversion is for you.
See the url below for details:
http://subversion.tigris.org/issues/show_bug.cgi?id=2464

I made a little patch for the issue and a instruction of how to build binary with it lines below.

curl -O http://www.opensource.apple.com/darwinsource/tarballs/other/subversion-16.tar.gz
curl -O http://www.opensource.apple.com/darwinsource/tarballs/other/neon-8.tar.gz
curl -O http://subversion.tigris.org/nonav/issues/showattachment.cgi/813/utf8precompose_macosx_2.patch
tar xzf subversion-16.tar.gz
tar xzf neon-8.tar.gz
patch -p0 < utf8precompose_macosx_2.patch
mv neon-8/neon subversion-16/subversion
cd subversion-16/subversion
./configure --with-ssl
make
sudo make install
# patched version of svn will be installed on /usr/local/bin,
# make sure you have /usr/local/bin in your PATH environment variable.

If you have trouble about using https with the binary you built, you may get /opt/local/bin/pkg-config as a result of `which pkg-config`, you can prepend environment variable before configure command like this:

PKG_CONFIG_PATH=/usr/local/lib/pkgconfig configure --with-ssl

Back