$ brew tap homebrew/versions
(tapped)$ brew info subversion17
subversion17: stable 1.7.11
http://subversion.apache.org/
Not installed
From: https://github.com/homebrew/homebrew-versions/commits/master/subversion17.rb
==> Dependencies
Build: pkg-config
Required: neon, serf, sqlite==> Options
--java
Build Java bindings
--perl
Build Perl bindings
--ruby
Build Ruby bindings
--unicode-path
Include support for OS X UTF-8-MAC filename
--universal
Build a universal binary
--with-homebrew-openssl
Include OpenSSL support via Homebrew
--with-python
Build with python support
$ vi /usr/local/Library/Taps/homebrew-versions/subversion17.rb
1234
# Patch for Subversion handling of OS X UTF-8-MAC filename.ifbuild.include?'unicode-path'ps<<"https://raw.github.com/gist/3044094/1648c28f6133bcbb68b76b42669b0dc237c02dba/patch-path.c.diff"end
ここを
1234
# Patch for Subversion handling of OS X UTF-8-MAC filename.ifbuild.include?'unicode-path'ps<<"https://gist.github.com/jeffstyr/3044094/raw/1648c28f6133bcbb68b76b42669b0dc237c02dba/patch-path.c.diff"end
こうします。
再度インストールしてみます。
12345678910111213141516171819202122232425
$ brew install subversion17 --unicode-path
==> Downloading http://www.apache.org/dyn/closer.cgi?path=subversion/subversion-1.7.11.tar.bz2
Already downloaded: /Library/Caches/Homebrew/subversion17-1.7.11.tar.bz2
==> Downloading patches
######################################################################## 100.0%==> Patching
patching file subversion/libsvn_subr/path.c
==> ./configure --prefix=/usr/local/Cellar/subversion17/1.7.11 --with-apr=/usr/local/Library/ENV/4.3 --with-zlib=/usr --with-sqlite=/usr/local/opt/sqlite --with-serf=/usr/local/opt/serf --dis
==> make==> make install==> make tools==> make install-tools
==> Caveats
This unicode-path version implements a hack to deal with composed/decomposed
unicode handling on Mac OS X which is different from linux and windows.
It is an implementation of solution 1 from
http://svn.collab.net/repos/svn/trunk/notes/unicode-composition-for-filenames
which _WILL_ break some setups. Please be sure you understand what you
are asking for when you install this version.
Bash completion has been installed to:
/usr/local/etc/bash_completion.d
==> Summary
🍺 /usr/local/Cellar/subversion17/1.7.11: 106 files, 8.1M, built in 4.8 minutes