From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id qJbWCCnkkWKAbwEAbAwnHQ (envelope-from ) for ; Sat, 28 May 2022 10:58:17 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id GPveCCnkkWKgUwAA9RJhRA (envelope-from ) for ; Sat, 28 May 2022 10:58:17 +0200 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 9EC3342ED for ; Sat, 28 May 2022 10:58:15 +0200 (CEST) Received: from localhost ([::1]:42892 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nusH0-0000ze-Bk for larch@yhetil.org; Sat, 28 May 2022 04:58:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36818) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nusGo-0000zQ-2n for guix-patches@gnu.org; Sat, 28 May 2022 04:58:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42506) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nusGn-0000Xu-PH for guix-patches@gnu.org; Sat, 28 May 2022 04:58:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nusGn-0007hD-Ou for guix-patches@gnu.org; Sat, 28 May 2022 04:58:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55516] [PATCH v2] gnu: Add quodlibet. Resent-From: Remco van 't Veer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 28 May 2022 08:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55516 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 55516@debbugs.gnu.org Cc: liliana.prikler@ist.tugraz.at, ludo@gnu.org, jaft.r@outlook.com, Remco van 't Veer Received: via spool by 55516-submit@debbugs.gnu.org id=B55516.165372827729572 (code B ref 55516); Sat, 28 May 2022 08:58:01 +0000 Received: (at 55516) by debbugs.gnu.org; 28 May 2022 08:57:57 +0000 Received: from localhost ([127.0.0.1]:36403 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nusGd-0007gp-L4 for submit@debbugs.gnu.org; Sat, 28 May 2022 04:57:56 -0400 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:32801) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nusGZ-0007gV-Lb for 55516@debbugs.gnu.org; Sat, 28 May 2022 04:57:50 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 7EF795C00D7; Sat, 28 May 2022 04:57:42 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Sat, 28 May 2022 04:57:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=remworks.net; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm3; t=1653728262; x= 1653814662; bh=ofBSwCBxydVl7hp71yqI8REcIXxgXpnxh1GipfztfcM=; b=a cqjAiovpyD6Tjkae2ycdHQYkPVYnbxw+vPSEKJB4WePTQ/z82oDBZCYmh8L6MP2Y RxM9VdQXFFYYxSWAMRXzGCGmFXnZ+behkmL0Qt9AttZkmAM4awJJaXi3B1zdgy59 zxUkyMcG/l4BKwQq/0TZxk+Jv7D0adSq58bhJd0bjYUNCzOEyr3RKDPj5OMBuebc yvBD5cro9TLXhnF1i+ss0Qb4DGtUXJ0ReV+y5AkYRl5450O1HSY3ZpzKyec1Sz+4 26ITlfhr7Txcr7fmt6xdx+FT95kJ3VPNVWF0Y2oIdSSbDJT965LMQ3jwZx8b56C0 mKG8Qg9nDr9Az2iJU+cJQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1653728262; x= 1653814662; bh=ofBSwCBxydVl7hp71yqI8REcIXxgXpnxh1GipfztfcM=; b=S i+MzzVoTwFnwOI3fL8gUi7UnFLJ6MQ7l749dUfkp5cPrMJ0oQlqmH+45uI4SO/OX Ex1Xjqei2Ww9+ETBnbi5FfpX2WkdKnm3n6ZUh40ZNOWjHlC/4qHi0lXCz9AGL66U oGX6a0IzCxljGCEjZWPhGDDpq/l78FqKOlP/fjfB/jTL/cQX+wXuwJhrcdX1Wk9T /O3ITLB6i1HYjALAlKnXi77IYEVJmOI6i8l+FRQT8Sw6EeVc8A3NnUXMhcN4ZPJI zvmrfBxqPLbG+23zC92WqTEnHZRKqkkzm7NR4RRYTjNxqmY5E1CSlktMeNOwkglL au0nswU4KTj554OnOPZ9A== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrkedugddutdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecufghrlhcuvffnffculddujedmnecujfgurhephffvve fufffkofgjfhggtgfgsehtkeertdertdejnecuhfhrohhmpeftvghmtghouchvrghnucdk thcugggvvghruceorhgvmhgtohesrhgvmhifohhrkhhsrdhnvghtqeenucggtffrrghtth gvrhhnpedvhfefffevhfeludetgfdtheetvdeifefhteehveevgeeggfeiudekhfevkeej geenucffohhmrghinhepmhhushhikhgtuhgsvgdrtghomhdpghhithhhuhgsrdgtohhmne cuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprhifvhes fhgrshhtmhgrihhlrdgtohhm X-ME-Proxy: Feedback-ID: i568842cc:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 28 May 2022 04:57:41 -0400 (EDT) From: Remco van 't Veer Date: Sat, 28 May 2022 10:57:18 +0200 Message-Id: <20220528085718.27307-1-remco@remworks.net> X-Mailer: git-send-email 2.36.1 In-Reply-To: <874k1ad4ka.fsf_-_@gnu.org> References: <874k1ad4ka.fsf_-_@gnu.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" 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=1653728295; h=from:from:sender:sender: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=ofBSwCBxydVl7hp71yqI8REcIXxgXpnxh1GipfztfcM=; b=gxDQnbI49fas819npZFXzyQ49UrIxc27BxdO0Qf6ZXNuFoVP9F2n6OoWPW+oS/yk8r09HN udA5/dMtCQ4w1IJV/aOZjgPUk2zNC07dCuD1SDPoSVMyWFXqG6D+uf4kSBl6pstjKvPbXa 4XXj0WAgCAgsueyfBh/hK95nTFKCBUQFaosTYkkPNPjkpVBGywMySkuRegaR9qehfI3jfA +T9ajJGfarhc016ajM1E8wW+QwKhpr7pMZH8EaPXna9UC7wrJ9dPeWI7Z0BVNieekxTgje 9t2hdZIhL/TD7qdoasBsh8HYecND/4Vt46u3+kQEmhOT/cwPOhcUQBMVkV7SVQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1653728295; a=rsa-sha256; cv=none; b=QDXcp1fFmLbtKdXMNQUHp0hhRfHwMQqcx107zbob8h185SCIBLBHnp4S2d4P2HgFePabjX h58EzMTaCuuzpdmQIFCuqS3YbSwWXMx2WYlswrGEZWetGprATOPr+WZHnGGBfZsVlAGxeH 53xBVNQNIRgMqf3/eqemVLwAbQB1zGVJki1YMd34tG1BPN8n0EwbgwoiMgFcrA9/AifLDF DOXZREZIr3rftXvPuP3LxLEJVjsy89pP9gIxthLS67gFRdf3JF/EECayZ7it1SyjiWXKNw mj9/Fj3tjkzsy93OOvQcNJYpfLV/wNsEifbxjt9UYJOb/TWHE0gJj77PBG44KQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=remworks.net header.s=fm3 header.b="a cqjAio"; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b="S i+MzzV"; dmarc=none; 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: 1.85 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=remworks.net header.s=fm3 header.b="a cqjAio"; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b="S i+MzzV"; dmarc=none; 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: 9EC3342ED X-Spam-Score: 1.85 X-Migadu-Scanner: scn0.migadu.com X-TUID: r3tMBKiCkuFG * gnu/packages/music.scm (quodlibet): New variable. --- gnu/packages/music.scm | 94 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 94 insertions(+) diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm index b224a145d5..7db6c2a037 100644 --- a/gnu/packages/music.scm +++ b/gnu/packages/music.scm @@ -45,6 +45,7 @@ ;;; Copyright © 2021 Xinglu Chen ;;; Copyright © 2021 Thomas Albers Raviola ;;; Copyright © 2022 Sughosha +;;; Copyright © 2022 Remco van 't Veer ;;; ;;; This file is part of GNU Guix. ;;; @@ -153,6 +154,7 @@ (define-module (gnu packages music) #:use-module (gnu packages protobuf) #:use-module (gnu packages pulseaudio) ;libsndfile #:use-module (gnu packages python) + #:use-module (gnu packages python-build) #:use-module (gnu packages python-check) #:use-module (gnu packages python-compression) #:use-module (gnu packages python-web) @@ -6878,3 +6880,95 @@ (define-public musikcube streaming audio server.") (home-page "https://musikcube.com/") (license license:bsd-3))) + +(define-public quodlibet + (package + (name "quodlibet") + (version "4.5.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/quodlibet/quodlibet") + (commit (string-append "release-" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1i5k93k3bfp7hpcwkbr865mbj9jam3jv2a5k1bazcyp4f5vdrb0v")))) + (build-system python-build-system) + (arguments + `(#:modules ((guix build gnu-build-system) + (guix build python-build-system) + ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:) + (guix build utils)) + #:imported-modules (,@%gnu-build-system-modules + (guix build python-build-system) + (guix build glib-or-gtk-build-system)) + #:tests? #t + #:phases + (modify-phases %standard-phases + + (add-before 'check 'test-suite-wants-to-home-directory + (lambda _ + (setenv "HOME" (getcwd)) + #t)) + + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (if tests? + (begin + (invoke "xvfb-run" "pytest" + "--disable-warnings" ; ignored upstream + "--ignore=tests/test_browsers_iradio.py" ; needs network + "--ignore=tests/quality" ; broken upstream + )) + (format #t "test suite not run~%")))) + + (add-after 'install 'glib-or-gtk-wrap ; ensure icons loaded + (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)) + + (add-after 'install 'wrap-gi-typelib ; GObject Introspection + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out")) + (gi-typelib-path (getenv "GI_TYPELIB_PATH"))) + (for-each (lambda (prog) + (wrap-program (string-append out "/bin/" prog) + `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))) + '("exfalso" "quodlibet"))) + #t))))) + + (native-inputs + (list xvfb-run gettext-minimal)) + (inputs + (list adwaita-icon-theme + gtk+ ;; propagates gdk-pixbuf+svg + glib + gsettings-desktop-schemas + gst-plugins-bad + gst-plugins-base + gst-plugins-good + gst-plugins-ugly + gstreamer + gtk+ + hicolor-icon-theme + librsvg + libsoup-minimal-2 + python + python-cheetah + python-dbus + python-feedparser + python-gst + python-iniconfig + python-mutagen + python-pycairo + python-pygobject + python-pytest + python-sgmllib3k + python-toml)) + (home-page "https://github.com/quodlibet/quodlibet") + (synopsis "Audio library, manager & player") + (description "Quod Libet is a cross-platform audio / music management +program. It provides many ways to view your local library, and supports +streaming audio and feeds (podcasts etc). It has extremely flexible metadata +editing and searching capabilities. Ex Falso is a program that uses the same +tag editing back-end as Quod Libet, but isn’t connected to an audio player.") + (license license:gpl2+))) -- 2.36.1