1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-03-05 11:08:04 +00:00
No description
Find a file
Mike Gelfand 192a76b621
Move GTK compatibility definitions into a separate header (#4493)
* Move GTK compatibility macros into a separate header

* Fix Cairo compatibility checks

* Move Glib-namespaced definitions to GtkCompat header

* Remove unused stringify definitions since we're using fmtlib
2022-12-29 02:42:20 +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
cli Use C++ (not C) warning flags for GTK client (#4395) 2022-12-18 01:02:03 +00:00
cmake Remove Xcode project in favor of CMake (#4147) 2022-11-12 20:01:57 +00:00
daemon Addressed various warnings (#4414) 2022-12-21 14:21:16 -06:00
dist/msi Update qt cmakelists to include support for building svg (#4437) 2022-12-27 17:18:51 +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 Move GTK compatibility definitions into a separate header (#4493) 2022-12-29 02:42:20 +00:00
libtransmission refactor: udp_core constructor (#4469) 2022-12-28 02:03:35 -06:00
licenses refactor: aggregate arc4 into libtransmission (#3684) 2022-08-20 13:41:40 -05:00
macosx Fix BlockListDownloader unzipFrom (#4473) 2022-12-27 22:08:48 -06:00
news docs: add 4.0.0-beta.2 notes (#4252) 2022-12-01 17:48:39 -06:00
po Sync translations (#4247) 2022-11-26 16:32:26 +00:00
qt Fix progress bars positioning in Qt client on Mac (#4489) 2022-12-28 14:46:23 +00:00
release/windows Add Windows configuration to GHA sanity builds (#4200) 2022-11-26 16:14:37 +00:00
tests refactor: tr_globalIPv6() returns a std::optional<tr_address> (#4464) 2022-12-25 07:55:51 -06:00
third-party Move jsonsl and wildmat to third-party (#4402) 2022-12-18 19:19:07 +00:00
Transmission.xcodeproj Fixed DragOverlayWindow file icon and name (#4428) 2022-12-22 20:07:45 -06:00
utils Automatically (re)order include directives (GTK client) (#4475) 2022-12-26 21:13:21 +00:00
web build(deps): bump loader-utils from 2.0.3 to 2.0.4 in /web (#4212) 2022-11-18 22:32:38 -06:00
.clang-format
.clang-format-ignore Move jsonsl and wildmat to third-party (#4402) 2022-12-18 19:19:07 +00:00
.clang-format-include
.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
appveyor.yml Only run AppVeyor builds on main and versioned branches/tags (#4150) 2022-11-12 20:27:15 +00:00
AUTHORS fix: some typos (#3904) 2022-10-13 09:35:10 -05:00
CMakeLists.txt Update qt cmakelists to include support for building svg (#4437) 2022-12-27 17:18:51 +00:00
code_style.sh refactor, ci: switch clang-format to LLVM 15 (#4297) 2022-12-02 09:57:50 -06:00
CONTRIBUTING.md
COPYING Update Copyright Year to 2022. (#3352) 2022-06-28 09:07:12 -05:00
icon.png
README.md Adopt localizedStringWithFormat for displayed quantities (#4109) 2022-11-14 18:30:03 +00:00
update-version-h.sh build: support semver versioning (#3867) 2022-10-05 16:53:10 -05:00

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