Go to file
Mike Gelfand bc380511db
Modernize CMake code (ongoing refactoring) (#4507)
* Reformat CMake code

* Bump minimum CMake version to 3.12

* Add target sources separately via `target_source()`

* Make `tr_win32_app_info()` add target sources on its own

* Don't use `include_directories()`

* Don't use `add_definitions()`

* Limit use of `add_compile_options()`

* Move VDKQueue target declaration to a subdirectory

* Add `tr_disable_source_files_compile()` helper

* Add `tr_target_glib_resources()` helper

* Add `tr_gettext_msgfmt()` helper

* Enable AUTOUIC for Qt client

* Enable AUTORCC for Qt client

* Remove AUTO{MOC,RCC,UIC} source group overrides

* Add `tr_target_idl_files()` helper

* Move source group setup to `tr_qt_add_translation()`

* Add `tr_target_xib_files()` helper

* Prefer `target_sources()` to intermediate variables

* Use explicit visibility versions of `target_*()` commands

* Prefer genexes to conditions in `target_*()` commands

* Add `tr_allow_compile_if()` helper

* Leave only top-level `project()`, remove the rest

* Minor fixups

* Fixup Mac QL plugin install

* Fixup IDE target folders and source groups
2023-01-01 19:49:48 +00:00
.github Update qt cmakelists to include support for building svg (#4437) 2022-12-27 17:18:51 +00:00
.tx Sync translations (#3968) 2022-10-15 21:21:13 +03:00
Transmission.xcodeproj Fixed DragOverlayWindow file icon and name (#4428) 2022-12-22 20:07:45 -06:00
cli Modernize CMake code (ongoing refactoring) (#4507) 2023-01-01 19:49:48 +00:00
cmake Modernize CMake code (ongoing refactoring) (#4507) 2023-01-01 19:49:48 +00:00
daemon Modernize CMake code (ongoing refactoring) (#4507) 2023-01-01 19:49:48 +00:00
dist/msi Modernize CMake code (ongoing refactoring) (#4507) 2023-01-01 19:49:48 +00:00
docs docs: add Qt dependencies for Windows build instructions and minor fixes (#4363) 2022-12-16 16:36:46 -06:00
extras fix: some typos (#3904) 2022-10-13 09:35:10 -05:00
gtk Modernize CMake code (ongoing refactoring) (#4507) 2023-01-01 19:49:48 +00:00
libtransmission Modernize CMake code (ongoing refactoring) (#4507) 2023-01-01 19:49:48 +00:00
licenses refactor: aggregate arc4 into libtransmission (#3684) 2022-08-20 13:41:40 -05:00
macosx Modernize CMake code (ongoing refactoring) (#4507) 2023-01-01 19:49:48 +00:00
news docs: add 4.0.0-beta.2 notes (#4252) 2022-12-01 17:48:39 -06:00
po Modernize CMake code (ongoing refactoring) (#4507) 2023-01-01 19:49:48 +00:00
qt Modernize CMake code (ongoing refactoring) (#4507) 2023-01-01 19:49:48 +00:00
release/windows Add Windows configuration to GHA sanity builds (#4200) 2022-11-26 16:14:37 +00:00
tests Modernize CMake code (ongoing refactoring) (#4507) 2023-01-01 19:49:48 +00:00
third-party Move jsonsl and wildmat to third-party (#4402) 2022-12-18 19:19:07 +00:00
utils Modernize CMake code (ongoing refactoring) (#4507) 2023-01-01 19:49:48 +00:00
web Modernize CMake code (ongoing refactoring) (#4507) 2023-01-01 19:49:48 +00:00
.clang-format Switch to clang-format for code formatting, include Mac client 2021-08-16 00:38:29 +03:00
.clang-format-ignore Move jsonsl and wildmat to third-party (#4402) 2022-12-18 19:19:07 +00:00
.clang-format-include Adopting .clang-format-include and .clang-format-ignore (#3047) 2022-05-13 18:48:33 -05:00
.gitignore ignoring /tests/**/*.out (#4324) 2022-12-07 20:16:09 -06:00
.gitmodules refactor: aggregate arc4 into libtransmission (#3684) 2022-08-20 13:41:40 -05:00
AUTHORS fix: some typos (#3904) 2022-10-13 09:35:10 -05:00
CMakeLists.txt Modernize CMake code (ongoing refactoring) (#4507) 2023-01-01 19:49:48 +00:00
CONTRIBUTING.md docs: fix various typos and misspellings (#2955) 2022-04-21 09:28:38 -05:00
COPYING Update Copyright Year to 2022. (#3352) 2022-06-28 09:07:12 -05:00
README.md Adopt localizedStringWithFormat for displayed quantities (#4109) 2022-11-14 18:30:03 +00:00
appveyor.yml Only run AppVeyor builds on `main` and versioned branches/tags (#4150) 2022-11-12 20:27:15 +00:00
code_style.sh refactor, ci: switch clang-format to LLVM 15 (#4297) 2022-12-02 09:57:50 -06:00
icon.png Adding icon.png for Sourcetree (#3250) 2022-06-10 12:34:46 -05:00
update-version-h.sh build: support semver versioning (#3867) 2022-10-05 16:53:10 -05:00

README.md

About

Transmission is a fast, easy, and free BitTorrent client. It comes in several flavors:

  • A native macOS GUI application
  • GTK+ and Qt GUI applications for Linux, BSD, etc.
  • A Qt-based Windows-compatible GUI application
  • A headless daemon for servers and routers
  • A web UI for remote controlling any of the above

Visit https://transmissionbt.com/ for more information.

Documentation

Transmission's documentation is currently out-of-date, but the team has recently begun a new project to update it and is looking for volunteers. If you're interested, please feel free to submit pull requests!

Command line interface notes

Transmission is fully supported in transmission-remote, the preferred cli client.

Three standalone tools to examine, create, and edit .torrent files exist: transmission-show, transmission-create, and transmission-edit, respectively.

Prior to development of transmission-remote, the standalone client transmission-cli was created. Limited to a single torrent at a time, transmission-cli is deprecated and exists primarily to support older hardware dependent upon it. In almost all instances, transmission-remote should be used instead.

Different distributions may choose to package any or all of these tools in one or more separate packages.

Building

Transmission has an Xcode project file (Transmission.xcodeproj) for building in Xcode.

For a more detailed description, and dependencies, visit How to Build Transmission in docs

Building a Transmission release from the command line

$ tar xf transmission-3.00.tar.xz
$ cd transmission-3.00
$ mkdir build
$ cd build
$ # Use -DCMAKE_BUILD_TYPE=RelWithDebInfo to build optimized binary.
$ cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo ..
$ make
$ sudo make install

Building Transmission from the nightly builds

Download a tarball from https://build.transmissionbt.com/job/trunk-linux/ and follow the steps from the previous section.

If you're new to building programs from source code, this is typically easier than building from Git.

Building Transmission from Git (first time)

$ git clone https://github.com/transmission/transmission Transmission
$ cd Transmission
$ git submodule update --init --recursive
$ mkdir build
$ cd build
$ # Use -DCMAKE_BUILD_TYPE=RelWithDebInfo to build optimized binary.
$ cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo ..
$ make
$ sudo make install

Building Transmission from Git (updating)

$ cd Transmission/build
$ make clean
$ git submodule foreach --recursive git clean -xfd
$ git pull --rebase --prune
$ git submodule update --recursive
$ # Use -DCMAKE_BUILD_TYPE=RelWithDebInfo to build optimized binary.
$ cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo ..
$ make
$ sudo make install

Contributing

Code Style

You would want to setup your editor to make use of the .clang-format file located in the root of this repository and the eslint/prettier rules in web/package.json.

If for some reason you are unwilling or unable to do so, there is a shell script which you can use: ./code_style.sh

Translations

See language translations.

Sponsors

[MacStadium] macOS CI builds are running on a M1 Mac Mini provided by MacStadium
[SignPath] Free code signing on Windows provided by SignPath.io, certificate by SignPath Foundation