From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 oDnVBef7iGK7TAAAbAwnHQ (envelope-from ) for ; Sat, 21 May 2022 16:49:11 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id VL+1Bef7iGK2fAAAauVa8A (envelope-from ) for ; Sat, 21 May 2022 16:49:11 +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 9226A2C320 for ; Sat, 21 May 2022 16:49:10 +0200 (CEST) Received: from localhost ([::1]:36982 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nsQPl-0001iZ-Ca for larch@yhetil.org; Sat, 21 May 2022 10:49:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40926) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nsQPe-0001h6-Ln for guix-patches@gnu.org; Sat, 21 May 2022 10:49:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:48898) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nsQPe-00010r-D0 for guix-patches@gnu.org; Sat, 21 May 2022 10:49:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nsQPe-0002I9-BL for guix-patches@gnu.org; Sat, 21 May 2022 10:49:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55516] [PATCH] gnu: Add quodlibet. Resent-From: Remco van 't Veer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 21 May 2022 14:49:02 +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, jaft.r@outlook.com, Remco van 't Veer Received: via spool by 55516-submit@debbugs.gnu.org id=B55516.16531445178767 (code B ref 55516); Sat, 21 May 2022 14:49:02 +0000 Received: (at 55516) by debbugs.gnu.org; 21 May 2022 14:48:37 +0000 Received: from localhost ([127.0.0.1]:42795 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nsQP9-0002HD-QW for submit@debbugs.gnu.org; Sat, 21 May 2022 10:48:37 -0400 Received: from wout5-smtp.messagingengine.com ([64.147.123.21]:56193) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nsQP5-0002Gw-Oa for 55516@debbugs.gnu.org; Sat, 21 May 2022 10:48:31 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id D40EA32002F9; Sat, 21 May 2022 10:48:21 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Sat, 21 May 2022 10:48:22 -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=1653144501; x= 1653230901; bh=zRt760vW8bPWepuNHA5CfOj2jN8TTIBcNAY+r6z2G5k=; b=C 9wyE/R1FlBu0Li8NuyEA34Re9xXELUtyDUReYxgEFbVRhpqRQqA/8vD28r2hJwrv pSzBCgDjzs/RdqCfCQfV6qKj5nRZUU7AHyJnrC2gSUbvnoLI3pUSmCOQFKzbLEDN EqOF6v0Mve0oG7cwj4kyTwEPuF4P1O5pufe1hEwg/95jzURgsJupltI1F2xhb6UT hLLkU/+E46ugtRczmwItqw6EChrUEomjGnvRmPjitiyb6wzzOToT+xic/Nash9KM wZIDtDF1cZn/9SilMjaq7Nw1r1n6gKBlVxO8DlAD67dfcnGFmjgLd3C13WqDS/yk cilzn6rbG8LU/+jH3nQ8Q== 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=1653144501; x= 1653230901; bh=zRt760vW8bPWepuNHA5CfOj2jN8TTIBcNAY+r6z2G5k=; b=N hMhCPeWyWUF2+em+8Y+gxkjxKsDvdG2QCt1iUr+o/Drcq+UmMHL8V8c29qwvuMK1 y89QtFGmkQAUSdcOim4s+xc7Y8YAHxcl6GUgsp+5SoXpkSplnSpdjVIPYJ7RXIgG oYmmMhkA+IRf9UblN1ZQOkDTtFu9gp01o/w2FY68qORBVoEb4lXc/j0MpDYxsR2D oxzuD50S8w4K5OxL8ZrzOk9GltJ5IXzn0SQ29nmSREVzGv/LiUooySWDsN90Mw3a 75PLOvMMwKLs9V9e61LiNVUjwAD8loR+3hm+Ohntf2QD4ZrnphA3pkO4vqmtW4FR K8kuo5nJtC8vZxHzIxbvQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrieeigdejhecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecufghrlhcuvffnffculddujedmnecujfgurhephffvve fufffkofgjfhggtgfgsehtkeertdertdejnecuhfhrohhmpeftvghmtghouchvrghnucdk thcugggvvghruceorhgvmhgtohesrhgvmhifohhrkhhsrdhnvghtqeenucggtffrrghtth gvrhhnpedvhfefffevhfeludetgfdtheetvdeifefhteehveevgeeggfeiudekhfevkeej geenucffohhmrghinhepmhhushhikhgtuhgsvgdrtghomhdpghhithhhuhgsrdgtohhmne cuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprhifvhes fhgrshhtmhgrihhlrdgtohhm X-ME-Proxy: Feedback-ID: i568842cc:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 21 May 2022 10:48:20 -0400 (EDT) From: Remco van 't Veer Date: Sat, 21 May 2022 16:48:01 +0200 Message-Id: <20220521144801.25624-1-remco@remworks.net> X-Mailer: git-send-email 2.36.1 In-Reply-To: <87pmk7ueoq.fsf@remworks.net> References: <87pmk7ueoq.fsf@remworks.net> 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=1653144550; 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=zRt760vW8bPWepuNHA5CfOj2jN8TTIBcNAY+r6z2G5k=; b=UMzIsI1g5h6MpRyeYfhcc7A5TPln1xOHY1In7JHfHo9kaZMpTTQMXqCtzz/E81nvkvtsXr C6txVuACgG1yMqB3gQ4EKoQE9EbfCqqWkPMDdV2MWXe5zrngfBEctrBxtFY1/7gwEY5Kvx VMFZLaDeD0AV90zdvcPWRs31yvf84viPd570KyBWCDa3kYquodg+s8DzKWLi77RyCBVyKT WZeTLE60+gfEpVxggpTZiAdhmL1jDHtVy9W9MFmCldFiDuaVfcd1NHsmTQ8XyA+zwQKNpC rB1RPhXKcPdKMtjyhTiAHMHf/AmNKqZ3S16Vq+rgzFyt0BKeGbb9M0pcGqrlrQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1653144550; a=rsa-sha256; cv=none; b=FEDFCG/bcf4kgTmAP0gBo5F+jxFFxFKvB+2YJ+w4cNRGOQotJ1AHLZrbArjT9VLCfjQVFM Pjlu8ZTCxIPDmH39iOchdT+Sq9hbjnPM53qRFGihREEOtmOB1BkNUnYTwJn3BJVkW7zsui QDiUpXpGpozOpHJDzXLFJYqGyKR3YfeggNsf4KehI6/jvhWla+uuLt5ibr6Xam3gP99LZa GoP8bf31EUkjtbqzaO9x+XXMW+nGtrAHH0kkbLQuszo5gNGG8cJLpwvZeOPf8+sU2SmOJW wK+siesH8+SX4dODss7LjCCzSbLxyJfG1BdUll4FQWz6zyri76KFQrwh9Q86kA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=remworks.net header.s=fm3 header.b="C 9wyE/R"; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b="N hMhCPe"; 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="C 9wyE/R"; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b="N hMhCPe"; 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: 9226A2C320 X-Spam-Score: 1.85 X-Migadu-Scanner: scn1.migadu.com X-TUID: 1KMFibLgKWGF * gnu/packages/music.scm (quodlibet): New variable. --- gnu/packages/music.scm | 93 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 93 insertions(+) diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm index 210af3b166..5b4abc2e4e 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) @@ -6877,3 +6879,94 @@ (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 'start-xorg-server + (lambda* (#:key inputs #:allow-other-keys) + (setenv "HOME" (getcwd)) ; test suite wants to home directory + #t)) + + (replace 'check + (lambda* (#:key tests? inputs #:allow-other-keys) + (if tests? + (begin + (invoke "dbus-run-session" "--" "xvfb-run" "pytest" "-vv" + "--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 dbus)) + (inputs + (list adwaita-icon-theme + gdk-pixbuf + glib + 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