Go to file
Mike Gelfand 1c330d56fe
Support CMake 3.28+ in CI jobs on Windows (#6854)
* Support building Qt using CMake 3.28+

CMake 3.28 dropped support for deriving installation prefix(es) based on
PATH environment variable on Windows. Since all the other built packages
already pass necessary prefix path(s) explicitly via CMAKE_PREFIX_PATH
and it works for them, do the same for Qt 6 as well. Building Qt 5 isn't
affected as it doesn't use CMake.

* Fix environment variable name in `windows` build job

Using wrong name resulted in empty `CMAKE_PREFIX_PATH` CMake setting
value, which showed the effects of CMake 3.28 changes yet again.
2024-05-25 01:54:30 +01:00
.github Support CMake 3.28+ in CI jobs on Windows (#6854) 2024-05-25 01:54:30 +01:00
.tx Sync translations (#3968) 2022-10-15 21:21:13 +03:00
Transmission.xcodeproj fix: Sparkle Version Comparator (#5263) (#6623) 2024-03-31 11:56:34 -05:00
cli fix: use user-preferred locale (#5444) 2023-04-27 09:11:06 -05:00
cmake Fix libdeflate find module never finding anything (#4968) 2023-02-20 21:09:24 +00:00
daemon fix: a couple of logging format issues (#6463) 2023-12-30 18:30:35 -06:00
dist/msi Build additional packages for Qt 5 on Appveyor (#4855) 2023-02-12 22:12:09 +00:00
docs docs: update documentation of logging levels (#5700) 2023-06-30 12:29:32 -05:00
extras fix: some typos (#3904) 2022-10-13 09:35:10 -05:00
gtk chore: add Add <launchable> tag to GTK client metainfo (#6720) (#6779) 2024-05-24 10:10:59 -05:00
libtransmission fixup! fix: store seconds downloading/seeding when stopping torrent 2024-05-24 19:01:14 -05:00
licenses refactor: aggregate arc4 into libtransmission (#3684) 2022-08-20 13:41:40 -05:00
macosx fix: Sparkle Version Comparator (#5263) (#6623) 2024-03-31 11:56:34 -05:00
news docs: add 4.0.6 release notes 2024-05-24 16:29:52 -05:00
po Sync translations (#5391) 2023-04-14 03:00:44 +01:00
qt fix compatibility with clang-format 18 (#6690) (#6699) 2024-03-15 23:29:26 -05:00
release/windows Support CMake 3.28+ in CI jobs on Windows (#6854) 2024-05-25 01:54:30 +01:00
tests fix compatibility with clang-format 18 (#6690) (#6699) 2024-03-15 23:29:26 -05:00
third-party chore: bump libutp (#6251) 2024-01-25 20:40:56 +08:00
utils fix: transmission-remote only list every other label (fixes #5571) (#5572) 2023-06-11 20:20:29 -05:00
web chore: fix linter css warning 2024-05-24 16:28:55 -05: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 Fix WebUtilsTest.urlParse and psl_builtin for Xcode (#4642) 2023-01-31 23:51:04 -06:00
.gitmodules build: bump libdeflate snapshot to 1.17 (#4596) 2023-01-15 09:55:16 -06:00
AUTHORS docs: update AUTHORS (#5286) 2023-03-24 13:51:32 -05:00
CMakeLists.txt chore: bump version to 4.0.6 2024-05-24 16:35:22 -05:00
CONTRIBUTING.md docs: fix various typos and misspellings (#2955) 2022-04-21 09:28:38 -05:00
COPYING chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
README.md docs: improve build instructions (#4980) 2023-03-06 12:11:13 -06:00
appveyor.yml Build additional packages for Qt 5 on Appveyor (#4855) 2023-02-12 22:12:09 +00:00
code_style.sh build: minor ci cleanup (#4652) 2023-01-24 01:02:48 -06:00
icon.png chore: improve lossless compression of png files (#5586) 2023-06-10 19:02:37 -05:00
update-version-h.sh fix: Sparkle Version Comparator (#5263) (#6623) 2024-03-31 11:56:34 -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 optimzed binary with debug information. (preferred)
# Use -DCMAKE_BUILD_TYPE=Release to build full 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 optimzed binary with debug information. (preferred)
# Use -DCMAKE_BUILD_TYPE=Release to build full 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 optimzed binary with debug information. (preferred)
# Use -DCMAKE_BUILD_TYPE=Release to build full 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