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.006293
First Submitted: 2018-01-17 23:20 (UTC)
Last Updated: 2024-03-08 13:07 (UTC)

Required by (39)

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 »

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)

glitsj16 commented on 2023-07-07 05:05 (UTC) (edited on 2023-07-07 09:57 (UTC) by glitsj16)

@cephian Did you use the latest revision of my PKGBUILD? Those libsmall errors should have been fixed in revision 6. Upstream has a fix for building from git (https://github.com/transmission/transmission/pull/5743) but that isn't merged yet. Feel free to post your errors somewhere and we can have a look what's going on. Also, don't worry about co-maintainership. Although I do appreciate people's comments about it, the main thing for me personally is getting a properly working PKGBUILD out to AUR users.

cephian commented on 2023-07-07 04:39 (UTC) (edited on 2023-07-07 04:41 (UTC) by cephian)

As a co-maintainer myself (who was added because I fixed something in the comments) I don't seem to have permissions to add another co-maintainer. I would be happy to update the package but glitsj16's fixed PKGBUILD still does not build for me. In particular I seem to get errors building libsmall which complain about uintptr not being defined in src/transmission/third-party/small/include/small/detail/exception/scope_guard.hpp. I tried to just patch this manually but it still failed at a later stage of compilation. I'm not sure if I have the bandwidth to debug this myself, but if someone helps or posts a PKGBUILD which works on my system I will update this package.