win7 32位
1,编译器软件:visual studio 2010
2,安装必备工具
Wix35.msi
http://wix.sourceforge.net
ActivePerl-5.14.2.1402-MSWin32-x86-295342.msi
http://www.activestate.com/Products/ActivePerl
python-2.6.6.msi
http://www.python.org/windows
libxml2-python-2.7.7.win32-py2.6.exe
http://users.skynet.be/sbi/libxml-python
nant-0.91-bin.zip
http://nant.sourceforge.net
jdk1.6
http://java.sun.com
将python wix nant配置到path环境变量
必备文件:
hunspell.rar
http://myp6spy.googlecode.com/files/hunspell.rar
Tools-1.7.7z
http://tortoisesvn.googlecode.com/files/Tools-1.7.7z
dictionaries/thesauri
http://lingucomponent.openoffice.org/
注:dictionaries/thesauri可直接在TortoiseSVN安装目录的Languages目录下复制。
源码:
openssl-1.0.0a.tar.gz
http://www.openssl.org/source
zlib125.zip
http://www.gzip.org/zlib
准备工作:
tortoisesvn源码地址:http://tortoisesvn.googlecode.com/svn/trunk/
1. 在你的硬盘上创建新目录,例如 SVN。确认你最少有 1.5 GB 剩余空间!
2. 在目录 SVN 中创建新目录 "common"。
3. 在目录 "common" 中解压 openssl 源代码,改名为 "openssl"。
4. 在目录 "common" 中解压 zlib 源代码,改名为 "zlib"。
5. 将 dictionaries/thesauri 复制到 "common\spell"。注意文件名称很重要!必须为 en_US.aff,en_US.dic,en_GB.aff 和 en_GB.dic。
6. 从 Subversion 版本库将 TortoiseSVN 源代码检出到目录 SVN\TortoiseSVN。
7. 解压文件 "tools.zip",建议目录是 "SVN\TortoiseSVN\Tools"。注意: 目录 tools 的路径不能包含特殊字符或空格。
8. 将位于 TSVN 根目录的文件 default.build.user.tmpl 复制到同一目录下,并重命名为
default.build.user。然后调整文件中使用的路径为你的真实路径。
9. 将文件 doc\doc.build.user.tmpl复制到同一目录下,并重命名为doc.build.user。然后调整文件中使用的路径为你的真实路径。
注意:某些语言的文档需要特别的配置。如果在目录 doc\xsl\languagecode\ 有文件
"userconfig.template.xml",那么将其复制到 "userconfig.xml", 然后调整文件中使用的路径为你的真实路径。
10. SVN根目录下的ext\hunspell文件夹内有三个文件需要替换。
编译源码:
1,编译32位tortoisesvn
编译生成tortoisesvn安装程序msi: nant release setup
编译生成语言包:nant release LanguagePacks
编译完成后安装文件生成在 svn\tortoisesvn\bin\ 目录。
注:修改svn\tortoisesvn\Languages\Languages.txt中可减少不需要生成的语言包。我只保留zh_CN.
编译中可能报以下文件找不到,可从tortoisesvn安装目录中找到该文件放到以下目录中。
..\..\doc\output\TortoiseSVN_en.chm
..\..\doc\output\TortoiseMerge_en.chm
2,编译64位tortoisesvn
打开 "Microsoft Visual Studio 2010" -> "Visual Studio Tools" -> "Visual Studio 2010 x64 Cross Tools Command Prompt",切换到 TSVN 源代码目录
编译生成tortoisesvn安装程序msi: nant x64 cross release setup 报以下错误,还未解决
[link] E:\sources\svn\tortoisesvn\ext\apr\release_x64\apr_fnmatch.obj : fatal error LNK1112: 模块计算机类型“X86”与目标计算机类型“x64”冲突。
不知有没有高人能够指导下。貌似是apache apr模块无法在x64中编译成功。
参考资料:
编译TortoiseSVN源代码
http://www.cnblogs.com/xiongpq/archive/2010/04/12/1710576.html
分享到:
相关推荐
TortoiseSVN1.7.8.23174-x64位中文包
TortoiseSVN-1.7.12.24070-x64-svn-1.7.9 and TortoiseSVN-1.7.13.24257-win32-svn-1.7.10
TortoiseSVN 1.7.12 简体中文语言包
TortoiseSVN-1.7.11.23600 中文版
subclipse1.8.x与TortoiseSVN1.7.x
TortoiseSVN1.7(32位),符合软件开发过程中版本控制的基本要求,配合服务器版一起使用,非常方便,具体使用方法请参考http://blog.csdn.net/cnlht
svn(subversion)是近年来崛起的版本管理工具,是cvs的接班人。目前,绝大多数开源软件都使用svn作为代码版本管理软件。
winx64TortoiseSVN-1.7.6.22632-x64 TortoiseSVN-1.7.6.22632-x64-svn-1.7.4TortoiseSVN-1.7.6.22632-x64-svn-1.7.4TortoiseSVN-1.7.6.22632-x64-svn-1.7.4
TortoiseSVN1.7(64位),运行于64位操作系统上,达到软件开发过程中版本控制的要求,配合服务器版一起使用,非常方便,具体使用方法请参考http://blog.csdn.net/cnlht
TortoiseSVN1.7.10.23359简体中文语言包
Tortoise资料与支持菜单页面推荐 “The TortoiseSVN 1.7 Beginner's Guide is a well written book, as its title says for beginners. ”
TortoiseSvn1.7.x的中文语言包
TortoiseSVN-1.7.2.22327-win32-svn-1.7.2.msi
TortoiseSVN 1.7.7.22907 64位客户端 版本 对应eclipse插件是:http://subclipse.tigris.org/update_1.10.x 以上两步安装完成之后导入svn检出的项目,右击工程-->Team-->Share Project即可自动识别,确认完成...
TortoiseSVN1.7.10.23359版加中文包目前最新版
包含两个版本TortoiseSVN-1.7.6.22632-win32-svn-1.7.4 TortoiseSVN-1.7.6.22632-x64-svn-1.7.4
TortoiseSVN-1.7.10.23359-win32-svn-1.7.7
TortoiseSVN-1.7.1.22161 语言包 32位 64位
TortoiseSVN-1.7.6.22632英文安装包以及汉化包
安装TortoiseSVN 1.7.5.22551 X64 和 VisualSVN_client_2.5.1 配套。