Gtk torrent client built on libtorrent-rasterbar
A minimalistic lightweight bittorrent client written by some aspies from the 4chan technology board.
- Fork this repository
- Make a new branch
- Make your changes
- Make a pull request to this repo
As a collaborator
- Make a new branch on this repository
- Make your changes
- Make a pull request
- (optional) label it "PR: Merging" or "PR: Ready"
We are using tabs for indentations. Fortunately, we are allowed to use
spaces to align code. Will this cause a mess aligning due to different tab
sizes? Yes. So let's all agree to use tabsize=8
.
gTorrent uses astyle to format our code. You can find more about it here
Install astyle, then run the scripts/format.sh
from the root of the
repo, so that somebody else doesn't have to fix your indents.
We are using our own, loosely based off kernel style. If something's not specified here, either follow what others have done or use your better judgement.
- If/else statements get their opening braces on a newline.
- Functions get their own opening braces.
- Avoid stupid fucking sepples shitty features that aren't usable whenever possible.
Links to the documentation of each library.
Remember, you want libtorrent 1.0.0+, which your distro probably doesn't have. You need to compile this from source to have compile gtorrent.
Get the code with:
git clone --recursive https://github.com/gtorrent/gtorrent-gtk.git
because we have a submodule of gtorrent-core in this repository.
- cmake (make)
- git (make)
- boost
- glibmm
- gtkmm
- libtorrent-rasterbar
- libnotify
$ mkdir -p build/ && cd build/
$ cmake ..
$ make
The version of libgtkmm in 14.04 is a bit out of date. To fix this do:
$ sudo add-apt-repository ppa:gnome3-team/gnome3-staging
$ sudo apt-get update
$ sudo apt-get dist-upgrade
You have it easier, dumbass nerds and your "bleeding edge" repos. Install from the AUR
This won't be actively maintained until a full release of gtorrent has been made. Just compile from source.