From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 2Kb6K8IRLmKk3gAAgWs5BA (envelope-from ) for ; Sun, 13 Mar 2022 16:46:10 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id uJmZKMIRLmKkXgEAauVa8A (envelope-from ) for ; Sun, 13 Mar 2022 16:46:10 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 240E22DEFB for ; Sun, 13 Mar 2022 16:46:10 +0100 (CET) Received: from localhost ([::1]:47438 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nTQQ4-0007dy-LN for larch@yhetil.org; Sun, 13 Mar 2022 11:46:08 -0400 Received: from eggs.gnu.org ([209.51.188.92]:41960) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nTQPy-0007da-T4 for guix-patches@gnu.org; Sun, 13 Mar 2022 11:46:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:49253) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nTQPy-0006bJ-LP for guix-patches@gnu.org; Sun, 13 Mar 2022 11:46:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nTQPy-0001sa-Cp for guix-patches@gnu.org; Sun, 13 Mar 2022 11:46:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54273] [PATCH V3] gnu : nicotine+: Update to 3.2.1. References: <20220306054551.19383-1-fatimatoothpaste@disroot.org> In-Reply-To: <20220306054551.19383-1-fatimatoothpaste@disroot.org> Resent-From: Fatima Toothpaste Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 13 Mar 2022 15:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54273 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: maximedevos@telenet.be, ludo@gnu.org Cc: 54273@debbugs.gnu.org, Fatima Toothpaste Received: via spool by 54273-submit@debbugs.gnu.org id=B54273.16471863197141 (code B ref 54273); Sun, 13 Mar 2022 15:46:02 +0000 Received: (at 54273) by debbugs.gnu.org; 13 Mar 2022 15:45:19 +0000 Received: from localhost ([127.0.0.1]:43149 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nTQPH-0001r6-00 for submit@debbugs.gnu.org; Sun, 13 Mar 2022 11:45:19 -0400 Received: from knopi.disroot.org ([178.21.23.139]:58682) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nTQPF-0001qz-6i for 54273@debbugs.gnu.org; Sun, 13 Mar 2022 11:45:17 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 7C564400BE; Sun, 13 Mar 2022 16:45:16 +0100 (CET) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id y8kEAZ3K8GP8; Sun, 13 Mar 2022 16:45:15 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1647186315; bh=uJlJKm63DwaHDRyfc5OY9Wfgaq6+Sqlatftqm/7PB74=; h=From:To:Cc:Subject:Date; b=F2n7PwYtm06sR9rjbLq9On4JzAzv6FB+aGoDLvFKeUEZEfWk11MubY062CJydVxwR 08ykMR2+KM2gSodPAkRrRl1HWFd2zU/556UigApAUDInntxbG2dvqJtUQUXXQcXWG/ kyVJRDC7dQ/o8Y3NalY76QQYISYF4hoWF3MdG2m3rGWSOiqsVLMX0UhHCv1e5hOT8i b8e9MHRHMOZvrAvxJWN1c//ITSpKtNeb6aPIjpV9TuYKGGOj0hk2xgITBPzLZajai+ cXzpBNJxLiGA0HZmD1R4dp9kPjxikCF3NApqZufNziyciEnU+c2vl+BA4blJGlxHdl yssYuxVpbQowQ== Date: Mon, 14 Mar 2022 00:41:24 +0900 Message-Id: <20220313154124.18317-1-fatimatoothpaste@disroot.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: Fatima Toothpaste X-ACL-Warn: , Fatima Toothpaste via Guix-patches From: Fatima Toothpaste via Guix-patches via X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1647186370; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=75jwH6xO33ElPmu6wTwddRmaKfRBhKu3JCfYwNnFS8U=; b=Dc11B9VzLOWy2mM7WcTlGteoR8cjgGs4C7QLNgk4cwxFE1U7d8ZKbdh23Gms7OfwEVk7bg oqZqlJEm/p02nRd+QpB/9UGn+qGFrOGZ97zlqUaqGMLm+KZ5neBPMzxd2Wo6NRqLUlgy1Q U9h6P7IfHexdbIaxtF272i1f+bjGbRUf0JJQsRZz4rv78dBcjtnkTMCAyPN+vOsyoxu32h k6t8bTgZeN+U3BTt0CZ6aEvwSajuWcTjtGGezoJ2EeVDfBWlJ4Np5ACgTdAJHUYtFe6QBq SiqxwjdWtLhVQIDJXA+yyvhZXujVIZHi83VrTYUz/fX8fOrSkYKhMXyDEYo9YQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1647186370; a=rsa-sha256; cv=none; b=S1wLT+PBnQOKFfoQSVRui8Zh6UN/1GGxH4/tdbMrskLUGlDmsYScjXm7sCXGaxuQMN0SKu ew0SmfwRT+lpeIsnAUHid2fdvB4TdzjV8rgocDNK0G0L1krOVc+TvF8y4X21l+tKq4wDxk emFq/p53cFryfv5eUfF/l+u0fiHuX77Q5Abh3K5ZnALTnHCnGoltlrR96JEoqCQ5KB2dhx Pw3hCmgIcyStSDy1489PNtyKz0/Ak/hrjizWXwZKbbio5k0MHMXY7LLHmEwKl7CVKl3fk9 xh/Cp4+aTbGD44dJ406NDDQyLrScpdgPzsGxmumd9bloZobxgXgT5Fg92wKyVw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=F2n7PwYt; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.87 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=F2n7PwYt; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 240E22DEFB X-Spam-Score: -3.87 X-Migadu-Scanner: scn0.migadu.com X-TUID: edl9VSpJhjmH * gnu/packages/nicotine.scm (nicotine+): Update to 3.2.1. [source]: Delete network requried tests in snippet. [arguments]: Remove trailing #t. Replae 'check phase to run proper test. [inputs]: Add bash-minimal, gspell, libappindicator. [native-inputs]: Remove python-pytest. Add xvfb-run. [home-page]: Update URL. --- gnu/packages/nicotine.scm | 31 ++++++++++++++++++++----------- 1 file changed, 20 insertions(+), 11 deletions(-) diff --git a/gnu/packages/nicotine.scm b/gnu/packages/nicotine.scm index 8e194697de..d46c5603f3 100644 --- a/gnu/packages/nicotine.scm +++ b/gnu/packages/nicotine.scm @@ -1,5 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2020 Martin Becze +;;; Copyright © 2022 Fatima Toothpaste ;;; ;;; This file is part of GNU Guix. ;;; @@ -21,23 +22,29 @@ (define-module (gnu packages nicotine) #:use-module (guix packages) #:use-module (guix git-download) #:use-module (guix build-system python) + #:use-module (gnu packages bash) + #:use-module (gnu packages freedesktop) #:use-module (gnu packages glib) + #:use-module (gnu packages gnome) #:use-module (gnu packages gettext) #:use-module (gnu packages gtk) - #:use-module (gnu packages check) - #:use-module (gnu packages mp3)) + #:use-module (gnu packages mp3) + #:use-module (gnu packages xorg)) (define-public nicotine+ (package (name "nicotine+") - (version "2.1.2") + (version "3.2.1") (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/Nicotine-Plus/nicotine-plus") (commit version))) (file-name (git-file-name name version)) - (sha256 (base32 "18rra8yqjr10z23chzcp53ncbd5fhm0iqgqxpbxfq7a10za02v6l")))) + (sha256 (base32 "1x08z5lvkdl62dkc11vrsackgzsh1vr9vp3vgsgfzjyrvlsybmfw")) + (modules '((guix build utils))) + (snippet '(begin + (delete-file-recursively "test/integration"))))) (build-system python-build-system) (arguments `(#:imported-modules ((guix build glib-or-gtk-build-system) @@ -55,18 +62,20 @@ (define-public nicotine+ "/bin/nicotine")) (gi-typelib-path (getenv "GI_TYPELIB_PATH"))) (wrap-program prog - `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))) - #t))) + `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))))) (add-after 'wrap-program 'glib-or-gtk-wrap (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)) (add-after 'glib-or-gtk-wrap 'glib-or-gtk-compile-schemas - (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-schemas))))) + (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-schemas)) + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "xvfb-run" "python" "-m" "unittest"))))))) (inputs - (list gtk+ python-pygobject python-pytaglib)) + (list bash-minimal gspell gtk+ python-pygobject libappindicator python-pytaglib)) (native-inputs - `(("python-pytest" ,python-pytest) - ("gettext" ,gettext-minimal))) - (home-page "https://nicotine-plus.github.io/nicotine-plus/") + (list gettext-minimal xvfb-run)) + (home-page "https://nicotine-plus.org/") (synopsis "Graphical client for Soulseek") (description "Nicotine+ is a graphical client for the Soulseek peer-to-peer -- 2.34.0