mirror of
https://github.com/transmission/transmission.git
synced 2026-04-17 23:54:19 +01:00
(trunk) housekeeping: (1) add standard svn properties for $Id$ substitution in some files (2) add #include guards in a couple of libtransmission headers (3) refresh build instructions in README
This commit is contained in:
61
README
61
README
@@ -1,32 +1,32 @@
|
||||
README for Transmission
|
||||
=======================
|
||||
ABOUT
|
||||
|
||||
Transmission is a fast, easy, and free BitTorrent client.
|
||||
Transmission is a fast, easy, and free BitTorrent client.
|
||||
It comes in several flavors:
|
||||
|
||||
It runs on Mac OS X (Cocoa interface) and
|
||||
Linux/NetBSD/FreeBSD/OpenBSD (GTK+ and Qt interfaces).
|
||||
* A native Mac OS X GUI application
|
||||
* GTK+ and Qt GUI applications for Linux, BSD, etc.
|
||||
* A headless daemon for servers and routers
|
||||
* A web UI for remote controlling any of the above
|
||||
|
||||
Visit http://www.transmissionbt.com/ for more information.
|
||||
Visit http://www.transmissionbt.com/ for more information.
|
||||
|
||||
BUILDING
|
||||
|
||||
Building Transmission
|
||||
=====================
|
||||
Transmission has an Xcode project file (Transmission.xcodeproj)
|
||||
for building in Xcode.
|
||||
|
||||
Transmission has an Xcode project file (Transmission.xcodeproj)
|
||||
for building in Xcode.
|
||||
For a more detailed description, and dependancies, visit:
|
||||
http://trac.transmissionbt.com/wiki/
|
||||
|
||||
For a more detailed description, and dependancies, visit:
|
||||
http://trac.transmissionbt.com/wiki/
|
||||
Building a Transmission release from the command line:
|
||||
|
||||
Building a Transmission release from the command line:
|
||||
$ xz -d -c transmission-1.80.tar.xz | tar xf -
|
||||
$ cd transmission-1.80
|
||||
$ ./configure
|
||||
$ make
|
||||
$ sudo make install
|
||||
|
||||
$ tar xvfj transmission-1.40.tar.bz2
|
||||
$ cd transmission-1.40
|
||||
$ ./configure -q && make -s
|
||||
$ su (if necessary for the next line)
|
||||
$ make install
|
||||
|
||||
Building Transmission from the nightly builds:
|
||||
Building Transmission from the nightly builds:
|
||||
|
||||
Download a tarball from http://build.transmissionbt.com/job/trunk-linux-inc/
|
||||
and follow the steps from the previous section.
|
||||
@@ -34,25 +34,22 @@ Building Transmission from the nightly builds:
|
||||
If you're new to building programs from source code, this is typically
|
||||
easier than building from SVN.
|
||||
|
||||
Building Transmission from SVN (First Time):
|
||||
Building Transmission from SVN (First Time):
|
||||
|
||||
$ svn co svn://svn.m0k.org/Transmission/trunk Transmission
|
||||
$ cd Transmission
|
||||
$ ./autogen.sh && make -s
|
||||
$ su (if necessary for the next line)
|
||||
$ make install
|
||||
$ ./autogen.sh
|
||||
$ make
|
||||
$ sudo make install
|
||||
|
||||
Building Transmission from SVN (Updating):
|
||||
Building Transmission from SVN (Updating):
|
||||
|
||||
$ cd Transmission
|
||||
$ make clean
|
||||
$ svn up
|
||||
$ ./update-version-h.sh
|
||||
$ make -s
|
||||
$ su (if necessary for the next line)
|
||||
$ make install
|
||||
$ make
|
||||
$ sudo make install
|
||||
|
||||
|
||||
|
||||
Notes for building on Solaris' C compiler: User av reports success with
|
||||
this invocation: ./configure CC=c99 CXX=CC CFLAGS='-D__EXTENSIONS__ -mt'
|
||||
Notes for building on Solaris' C compiler: User av reports success with
|
||||
this invocation: ./configure CC=c99 CXX=CC CFLAGS='-D__EXTENSIONS__ -mt'
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
*/
|
||||
|
||||
#ifndef __TRANSMISSION__
|
||||
#error only libtransmission should #include this header.
|
||||
#error only libtransmission should #include this header.
|
||||
#endif
|
||||
|
||||
#ifndef TR_BITFIELD_H
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
* This exemption does not extend to derived works not owned by
|
||||
* the Transmission project.
|
||||
*
|
||||
* $Id:$
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
#ifndef __TRANSMISSION__
|
||||
|
||||
@@ -10,13 +10,13 @@
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
#ifndef TR_COMPLETION_H
|
||||
#define TR_COMPLETION_H
|
||||
|
||||
#ifndef __TRANSMISSION__
|
||||
#error only libtransmission should #include this header.
|
||||
#endif
|
||||
|
||||
#ifndef TR_COMPLETION_H
|
||||
#define TR_COMPLETION_H
|
||||
|
||||
#include <assert.h>
|
||||
|
||||
#include "transmission.h"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/******************************************************************************
|
||||
* $Id$
|
||||
*
|
||||
* Copyright (c) 2005-2008 Transmission authors and contributors
|
||||
* Copyright (c) 2005-2010 Transmission authors and contributors
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/******************************************************************************
|
||||
* $Id$
|
||||
*
|
||||
* Copyright (c) 2005-2008 Transmission authors and contributors
|
||||
* Copyright (c) 2005-2010 Transmission authors and contributors
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
@@ -23,7 +23,7 @@
|
||||
*****************************************************************************/
|
||||
|
||||
#ifndef __TRANSMISSION__
|
||||
#error only libtransmission should #include this header.
|
||||
#error only libtransmission should #include this header.
|
||||
#endif
|
||||
|
||||
#include "transmission.h"
|
||||
|
||||
@@ -10,6 +10,10 @@
|
||||
* $Id:$
|
||||
*/
|
||||
|
||||
#ifndef __TRANSMISSION__
|
||||
#error only libtransmission should #include this header.
|
||||
#endif
|
||||
|
||||
#ifndef TR_MAGNET_H
|
||||
#define TR_MAGNET_H 1
|
||||
|
||||
|
||||
@@ -10,13 +10,13 @@
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
#ifndef TR_PLATFORM_H
|
||||
#define TR_PLATFORM_H
|
||||
|
||||
#ifndef __TRANSMISSION__
|
||||
#error only libtransmission should #include this header.
|
||||
#endif
|
||||
|
||||
#ifndef TR_PLATFORM_H
|
||||
#define TR_PLATFORM_H
|
||||
|
||||
#if defined( WIN32 )
|
||||
#define TR_PATH_DELIMITER '\\'
|
||||
#define TR_PATH_DELIMITER_STR "\\"
|
||||
|
||||
Reference in New Issue
Block a user