From unknown Fri Jun 20 07:10:24 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#75644 <75644@debbugs.gnu.org> To: bug#75644 <75644@debbugs.gnu.org> Subject: Status: [PATCH] gnu: Add rtorrent-xml-rpc. Reply-To: bug#75644 <75644@debbugs.gnu.org> Date: Fri, 20 Jun 2025 14:10:24 +0000 retitle 75644 [PATCH] gnu: Add rtorrent-xml-rpc. reassign 75644 guix-patches submitter 75644 Divya Ranjan severity 75644 normal tag 75644 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 18 03:06:19 2025 Received: (at submit) by debbugs.gnu.org; 18 Jan 2025 08:06:19 +0000 Received: from localhost ([127.0.0.1]:39920 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tZ3qV-00061W-5l for submit@debbugs.gnu.org; Sat, 18 Jan 2025 03:06:19 -0500 Received: from lists.gnu.org ([2001:470:142::17]:46034) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tZ3qQ-00061H-OK for submit@debbugs.gnu.org; Sat, 18 Jan 2025 03:06:17 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tZ3qL-00033M-BS for guix-patches@gnu.org; Sat, 18 Jan 2025 03:06:09 -0500 Received: from latitanza.investici.org ([82.94.249.234]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tZ3qI-0008Ui-UK for guix-patches@gnu.org; Sat, 18 Jan 2025 03:06:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=subvertising.org; s=stigmate; t=1737187561; bh=FGkwt9Hnyp+CH6s5jkErbSZcMW7OQGXRiM9QOQJNJi0=; h=From:To:Cc:Subject:Date:From; b=CKLT9SbHmuxvQEV+IM+6r3uO7LfFmyX+eYbfjiYLzMxSlMDbYynHxmqyP85lRQuRf o3yuJl++iPaH6eBv/awT4scnqIZmE5NaQD6oFrfLBAZpOOHmmqicad8JKNYJpnkSvR dsgfY0ujNSimVYiXyCGcGKq244XReazFffuRU9b0= Received: from mx3.investici.org (unknown [127.0.0.1]) by latitanza.investici.org (Postfix) with ESMTP id 4YZq154ptyzGp62; Sat, 18 Jan 2025 08:06:01 +0000 (UTC) Received: from [82.94.249.234] (mx3.investici.org [82.94.249.234]) (Authenticated sender: divya@subvertising.org) by localhost (Postfix) with ESMTPSA id 4YZq150201zGp5Y; Sat, 18 Jan 2025 08:06:00 +0000 (UTC) From: Divya Ranjan To: guix-patches@gnu.org Subject: [PATCH] gnu: Add rtorrent-xml-rpc. Date: Sat, 18 Jan 2025 08:05:46 +0000 Message-ID: <20250118080548.22699-1-divya@subvertising.org> X-Mailer: git-send-email 2.47.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=82.94.249.234; envelope-from=divya@subvertising.org; helo=latitanza.investici.org X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) X-Debbugs-Envelope-To: submit Cc: Divya Ranjan X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.1 (/) * gnu/packages/bittorrent.scm (rtorrent-xml-rpc): New variable. --- gnu/packages/bittorrent.scm | 72 ++++++++++++++++++++++--------------- 1 file changed, 43 insertions(+), 29 deletions(-) diff --git a/gnu/packages/bittorrent.scm b/gnu/packages/bittorrent.scm index 0d52d25e08..1e2e42f064 100644 --- a/gnu/packages/bittorrent.scm +++ b/gnu/packages/bittorrent.scm @@ -20,6 +20,7 @@ ;;; Copyright © 2023 Clément Lassieur ;;; Copyright © 2024 Noisytoot ;;; Copyright © 2024 Zheng Junjie <873216071@qq.com> +;;; Copyright © 2025 Divya Ranjan Pattanaik ;;; ;;; This file is part of GNU Guix. ;;; @@ -256,39 +257,52 @@ (define-public rtorrent (home-page "https://github.com/rakshasa/rtorrent") (license l:gpl2+))) -(define-public tremc - (let ((commit "d8deaa5ac25bb45a2ca3a930309d6ecc74836a54") - (revision "1")) +(define-public rtorrent-xml-rpc (package - (name "tremc") - (version (git-version "0.9.3" revision commit)) - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/tremc/tremc") - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "08kpqmgisja98918f2hlmdrld5662dqlkssp0pqlki38l6fvbj7r")))) - (build-system gnu-build-system) + (inherit rtorrent) + (name "rtorrent-xml-rpc") (arguments - `(#:tests? #f ; no test suite - #:make-flags - (list (string-append "PREFIX=" (assoc-ref %outputs "out"))) - #:phases - (modify-phases %standard-phases - ;; The software is just a Python script that must be copied into place. - (delete 'configure) - (delete 'build)))) + `(#:configure-flags '("--with-xmlrpc-c"))) (inputs - (list python)) - (synopsis "Console client for the Transmission BitTorrent daemon") - (description "Tremc is a console client, with a curses interface, for the + (modify-inputs (package-inputs rtorrent) + (append xmlrpc-c))) + (description + "rTorrent is a BitTorrent client with an ncurses interface. It supports +full encryption, DHT, PEX, and Magnet Links. Built with XML-RPC support."))) + +(define-public tremc + (let ((commit "d8deaa5ac25bb45a2ca3a930309d6ecc74836a54") + (revision "1")) + (package + (name "tremc") + (version (git-version "0.9.3" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/tremc/tremc") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "08kpqmgisja98918f2hlmdrld5662dqlkssp0pqlki38l6fvbj7r")))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f ; no test suite + #:make-flags + (list (string-append "PREFIX=" (assoc-ref %outputs "out"))) + #:phases + (modify-phases %standard-phases + ;; The software is just a Python script that must be copied into place. + (delete 'configure) + (delete 'build)))) + (inputs + (list python)) + (synopsis "Console client for the Transmission BitTorrent daemon") + (description "Tremc is a console client, with a curses interface, for the Transmission BitTorrent daemon.") - (home-page "https://github.com/tremc/tremc") - (license l:gpl3+)))) + (home-page "https://github.com/tremc/tremc") + (license l:gpl3+)))) (define-public aria2 (package -- 2.47.1 From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 13 08:54:31 2025 Received: (at 75644) by debbugs.gnu.org; 13 Feb 2025 13:54:31 +0000 Received: from localhost ([127.0.0.1]:41440 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tiZfj-0003aO-En for submit@debbugs.gnu.org; Thu, 13 Feb 2025 08:54:31 -0500 Received: from smtpm1.myservices.hosting ([185.26.105.232]:55118) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tiZfg-0003a7-0n for 75644@debbugs.gnu.org; Thu, 13 Feb 2025 08:54:28 -0500 Received: from mail1.netim.hosting (unknown [185.26.106.174]) by smtpm1.myservices.hosting (Postfix) with ESMTP id F18162058A; Thu, 13 Feb 2025 14:54:25 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mail1.netim.hosting (Postfix) with ESMTP id 3800080098; Thu, 13 Feb 2025 14:54:25 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mail1.netim.hosting Received: from mail1.netim.hosting ([127.0.0.1]) by localhost (mail1-2.netim.hosting [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id pHtrrC-dFklv; Thu, 13 Feb 2025 14:54:25 +0100 (CET) Received: from [192.168.1.239] (unknown [10.192.1.83]) (Authenticated sender: lumen@makinata.eu) by mail1.netim.hosting (Postfix) with ESMTPSA id CFA0280079; Thu, 13 Feb 2025 14:54:24 +0100 (CET) Message-ID: Date: Thu, 13 Feb 2025 13:54:24 +0000 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [bug#75644] [PATCH] gnu: Add rtorrent-xml-rpc. To: Divya Ranjan References: <20250118080548.22699-1-divya@subvertising.org> Content-Language: en-US From: Bruno Victal In-Reply-To: <20250118080548.22699-1-divya@subvertising.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 75644 Cc: 75644@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Divya, On 2025-01-18 08:05, Divya Ranjan via Guix-patches via wrote: > * gnu/packages/bittorrent.scm (rtorrent-xml-rpc): New variable. Is it worth defining a package variant just for the XML-RPC support? Why not just build rtorrent with XML-RPC baked in? Unless there's a cycle= or XML-RPC addition increases the package size by intolerable amounts, I'd say you should simply enable the feature in the base rtorrent package= otherwise if everyone starts defining "minimalist" package variants its g= oing to result in a combinatorial explosion. My 2=C2=A2, --=20 Cheers, Bruno.