mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-11 15:39:36 -05:00
23d1894b2b
### ### The commented-out examples below are intended to demonstrate ### how to use this file. ### Section for authentication and authorization customizations. [auth] ### Set store-passwords to 'no' to avoid storing passwords in the ### auth/ area of your config directory. It defaults to 'yes'. ### Note that this option only prevents saving of *new* passwords; ### it doesn't invalidate existing passwords. (To do that, remove ### the cache files by hand as described in the Subversion book.) # store-passwords = no ### Set store-auth-creds to 'no' to avoid storing any subversion ### credentials in the auth/ area of your config directory. ### It defaults to 'yes'. Note that this option only prevents ### saving of *new* credentials; it doesn't invalidate existing ### caches. (To do that, remove the cache files by hand.) # store-auth-creds = no ### Section for configuring external helper applications. [helpers] ### Set editor to the command used to invoke your text editor. ### This will override the environment variables that Subversion ### examines by default to find this information ($EDITOR, ### et al). # editor-cmd = editor (vi, emacs, notepad, etc.) ### Set diff-cmd to the absolute path of your 'diff' program. ### This will override the compile-time default, which is to use ### Subversion's internal diff implementation. # diff-cmd = diff_program (diff, gdiff, etc.) ### Set diff3-cmd to the absolute path of your 'diff3' program. ### This will override the compile-time default, which is to use ### Subversion's internal diff3 implementation. # diff3-cmd = diff3_program (diff3, gdiff3, etc.) ### Set diff3-has-program-arg to 'true' or 'yes' if your 'diff3' ### program accepts the '--diff-program' option. # diff3-has-program-arg = [true | false] ### Section for configuring tunnel agents. [tunnels] ### Configure svn protocol tunnel schemes here. By default, only ### the 'ssh' scheme is defined. You can define other schemes to ### be used with 'svn+scheme://hostname/path' URLs. A scheme ### definition is simply a command, optionally prefixed by an ### environment variable name which can override the command if it ### is defined. The command (or environment variable) may contain ### arguments, using standard shell quoting for arguments with ### spaces. The command will be invoked as: ### <command> <hostname> svnserve -t ### (If the URL includes a username, then the hostname will be ### passed to the tunnel agent as <user>@<hostname>.) If the ### built-in ssh scheme were not predefined, it could be defined ### as: # ssh = $SVN_SSH ssh ### If you wanted to define a new 'rsh' scheme, to be used with ### 'svn+rsh:' URLs, you could do so as follows: # rsh = rsh ### Or, if you wanted to specify a full path and arguments: # rsh = /path/to/rsh -l myusername ### On Windows, if you are specifying a full path to a command, ### use a forward slash (/) or a paired backslash (\\) as the ### path separator. A single backslash will be treated as an ### escape for the following character. ### Section for configuring miscelleneous Subversion options. [miscellany] ### Set global-ignores to a set of whitespace-delimited globs ### which Subversion will ignore in its 'status' output, and ### while importing or adding files and directories. # global-ignores = *.o *.lo *.la #*# .*.rej *.rej .*~ *~ .#* .DS_Store ### Set log-encoding to the default encoding for log messages # log-encoding = latin1 ### Set use-commit-times to make checkout/update/switch/revert ### put last-committed timestamps on every file touched. # use-commit-times = yes ### Set no-unlock to prevent 'svn commit' from automatically ### releasing locks on files. # no-unlock = yes ### Set enable-auto-props to 'yes' to enable automatic properties ### for 'svn add' and 'svn import', it defaults to 'no'. ### Automatic properties are defined in the section 'auto-props'. # enable-auto-props = yes ### Section for configuring automatic properties. [auto-props] ### The format of the entries is: ### file-name-pattern = propname[=value][;propname[=value]...] ### The file-name-pattern can contain wildcards (such as '*' and ### '?'). All entries which match will be applied to the file. ### Note that auto-props functionality must be enabled, which ### is typically done by setting the 'enable-auto-props' option. # *.c = svn:eol-style=native # *.cpp = svn:eol-style=native # *.h = svn:eol-style=native # *.dsp = svn:eol-style=CRLF # *.dsw = svn:eol-style=CRLF # *.sh = svn:eol-style=native;svn:executable # *.txt = svn:eol-style=native # *.png = svn:mime-type=image/png # *.jpg = svn:mime-type=image/jpeg # Makefile = svn:eol-style=native git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@250 b45a01b8-16f6-495d-af2f-9b41ad6348cc |
||
---|---|---|
.. | ||
dbase | ||
dht | ||
fltkgui | ||
pqi | ||
rsiface | ||
rsserver | ||
scripts | ||
serialiser | ||
server | ||
tcponudp | ||
upnp | ||
util | ||
BUGS | ||
FAQ | ||
licence | ||
make.opt | ||
Makefile | ||
Readme.txt | ||
Readme.txt-V0.2.1 | ||
TODO |
Compiling + Running RetroShare (V0.3.0) ------------------------------------------------------------- Quick Requirements: --------------------------------------------- Libraries/Tools: C/C++ Compiler. (standard on Linux/cygwin) OpenSSL-0.9.7g-xpgp KadC Dht library Qt-4.2 development libraries. RetroShare Source Code: ( from sf.net/projects/retroshare) Qt-GUI-XXX.tgz retroshare-src-v0.3.XXX.tgz Windows Requirements: Cygwin (Windows Only) Pthreads (Windows Only) Zlib (Windows Only) --------------------------------------------- OpenSSL-0.9.7g-xpgp is available at: http://www.lunamutt.com/retroshare/openssl-0.9.7g-xpgp-0.1c.tgz KadC (latest) is available from sourceforge.net Download/Compile as per instructions... --------------------------------------------- Compiling Linux --------------------------------------------- (1) compile openSSL-0.9.7g-xpgp. (2) compile KadC. (and correct the library) (4) Modify ./make.opts (4a) modify the Makefile so that: OS=Linux or OS=Win (4c) Define SSL_DIR to point to openSSL-0.9.7g-xpgp. (4c) Define KADC_DIR to point to KadC (5) type: make This builds ./lib/libretroshare.a, and the various test programs. There is server-only (no GUI) executable compiled in ./rsiface/retroshare-nogui, you can run this to check that its working. --------------------------------------------- Compiling Linux (Alternative Instructions from Bharath) --------------------------------------------- here's how to compiled retroshare on ubuntu linux: compile openssl: 1. Get the patched version of openssl (openssl-0.9.7g-xpgp, from http://www.lunamutt.com) 2. run: ./config make make test compile KadC: 1. Get KadC library from http://kadc.sourceforge.net/ 2. run: make install packages needed for retroshare compile: sudo apt-get install libxft-dev sudo apt-get install libXinerama-dev complile retroshare: 1. set directories in make.opt: RS_DIR=/home/dev/rs-v0.3.0-pr8/src SSL_DIR=/home/dev/openssl-0.9.7g-xpgp-0.1c KADC_DIR=/home/dev/KadC 2. comment out the directory declarations uncer Cygwin since that will override your directory declarations from 1. 3. change RSLIBS = -L$(LIBDIR) -lretroshare -L$(SSL_DIR) -lssl -lcrypto -lpthread -lKadC to RSLIBS = -L$(LIBDIR) -lretroshare -L$(SSL_DIR) -lssl -lcrypto -lpthread -L$(KADC_DIR) -lKadC 4. run: make Hope this helps. --------------------------------------------- Compiling the Qt GUI _____________________________________________ (1) untar the Qt-GUI source package. run qmake, tar -xvzf Qt-GUI-XXXX.tgz cd Qt-Gui-XXX/src/ qmake-qt4 Retroshare.pro (2) tweak the makefile: The default makefile doesn't have the links to the retroshare libraries. It should something like this: RSLIBS = -L/home/dev/prog/devel/rs-v0.3.0XXX/src/lib -lretroshare -lKadC SSLLIBS = -L/home/dev/prog/devel/openssl-0.9.7g-xpgp -lssl -lcrypto LIBS = $(SUBLIBS) $(RSLIBS) $(SSLLIBS) -L/usr/lib -lQtXml -lQtGui -lQtNetwork -lQtCore -lpthread This should build you an executable: RetroShare. ------------------------------------------------ This has been compiled on the following platforms: (a) Debian Linux (stable/testing/unstable) (b) Suse Linux (9.X/10.X) (c) WinXP ------------------------------------------------ WIN XP Compilation. ------------------------------------------------ This much harder, and more perilous than the Linux compilation: It requires both the cygwin and the mingw compilers... Need: Cygwin development environment Qt4.2 opensource development kit + MinGw. source code for all libraries. In Brief: UNDER Cygwin: (1) Compile openssl-xpgp. (2) Compile pthreads. (3) Compile zlib. (4) Compile KadC. (there are some tweaks, needed to the code) (5) Compile retroshare-v0.3.0 UNDER Mingw: (6) Compile the Qt-Gui. Email me if you're having trouble: retroshare@lunamutt.com ---------------------------------------------