Package Details: transmission-cli-git 4.0.3.r546.g52d1c1f34-5

Git Clone URL: https://aur.archlinux.org/transmission-cli-git.git (read-only, click to copy)
Package Base: transmission-cli-git
Description: Fast, easy, and free BitTorrent client (CLI tools and daemon and web client)
Upstream URL: https://www.transmissionbt.com/
Licenses: GPL-2.0-or-later
Conflicts: transmission-cli
Provides: transmission-cli
Submitter: lonaowna
Maintainer: EndlessEden (cephian, glitsj16)
Last Packager: glitsj16
Votes: 6
Popularity: 0.000024
First Submitted: 2018-01-17 23:20 (UTC)
Last Updated: 2024-03-08 13:07 (UTC)

Required by (52)

Sources (3)

Pinned Comments

EndlessEden commented on 2023-07-07 06:54 (UTC) (edited on 2023-07-09 03:17 (UTC) by EndlessEden)

Will resolve when I get home. Sorry for delay.

Update co-maintainer list @glitsj16 -- you have been added.

(Sorry I dont have any other time right now)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 Next › Last »

FabioLolix commented on 2023-07-09 14:25 (UTC)

Adding git version in pkgdesc= is pointless, that's already implicit by the package name transmission-cli-git

FabioLolix commented on 2023-07-09 14:23 (UTC)

Removing git submodules from source=() and using git submodule update --init --recursive isn't an improvement https://wiki.archlinux.org/title/VCS_package_guidelines#Git_submodules

glitsj16 commented on 2023-07-09 14:18 (UTC) (edited on 2023-07-09 14:18 (UTC) by glitsj16)

Currently there's quite a lot of upstream activity. To speed up the git build you can use sccache with cmake:

  • add sccache to makedepends;
  • add the following flags to cmake in the build() function
    -DCMAKE_C_COMPILER_LAUNCHER=sccache \
    -DCMAKE_CXX_COMPILER_LAUNCHER=sccache \
    

glitsj16 commented on 2023-07-09 14:11 (UTC)

@EndlessEden Thank you for the co-maintainer work.

@cipher699 Description updated.

Supporting the web client needed adding npm to makedepends. Additionally added the check() function, so this is now as close to the official package as we can get it.

cipher699 commented on 2023-07-09 06:51 (UTC)

Thank you @cephian. Could you please update the description Fast, easy, and free BitTorrent client (CLI tools, daemon and web client) - git version

cephian commented on 2023-07-09 06:16 (UTC)

Hi cipher699, I've added your changes as well as enabled the web client. It makes sense that this version should have the same options enabled as the official package.

cipher699 commented on 2023-07-09 05:19 (UTC)

Hi, thanks everyone for updating the PKGBUILD. I think these changes are also needed.

diff --git a/PKGBUILD b/PKGBUILD
index aa8da98..fe3591b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -45,21 +45,13 @@ pkgver() {

 prepare() {
    cd $_pkgbase
-   git submodule init
-   git -c protocol.file.allow=always submodule update \
-       third-party/fast_float \
-       third-party/fmt \
-       third-party/googletest \
-       third-party/libutp \
-       third-party/small \
-       third-party/utfcpp \
-       third-party/wide-integer
+    git submodule update --init --recursive
 }

 build() {
    cd $_pkgbase

-    CFLAGS+=" -ffat-lto-objects"
+    export CFLAGS+=" -ffat-lto-objects"

    cmake -G Ninja \
         -DCMAKE_BUILD_TYPE=RelWithDebInfo \

And can we add the web client, since transmission-cli in the main repo has it. And this can be the git version of it.

cephian commented on 2023-07-09 02:49 (UTC)

I've updated the package. Other people here are probably better versed in AUR packaging and/or transmission than I am, so let me know if there's anything it should change. You may have to delete cached sources from a previous version if you're rebuilding.

It seems like the bug in the "small" library has been patched in the transmission upstream master, so the patch is no longer necessary. glitsj16's PKGBUILD without the patch still did not work, but I changed the command in package() from make to ninja and it worked. Thanks to glitsj16 for the help.

rekman commented on 2023-07-09 01:58 (UTC)

I think libsmall needs to be added to the submodules unpacked in prepare(), viz.

    git config submodule.third-party/small.url "$srcdir/small"
[...]
    git -c protocol.file.allow=always submodule update \
[...]
    third-party/small

EndlessEden commented on 2023-07-07 06:54 (UTC) (edited on 2023-07-09 03:17 (UTC) by EndlessEden)

Will resolve when I get home. Sorry for delay.

Update co-maintainer list @glitsj16 -- you have been added.

(Sorry I dont have any other time right now)