From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id OJaBGZz2c2f9ZAEAqHPOHw:P1 (envelope-from ) for ; Tue, 31 Dec 2024 13:50:20 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id OJaBGZz2c2f9ZAEAqHPOHw (envelope-from ) for ; Tue, 31 Dec 2024 14:50:20 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=OZ19i2LK; dkim=fail ("headers rsa verify failed") header.d=lostca.se header.s=anamika header.b=dtf+g5W7; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1735653020; 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: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=wO7fOWOYZHtNiya9N1pYpjUszvYrTPU+yQBI9h5St1U=; b=bipX2mJW1su3nL0Y+0NW2GBuSiP8TxgfZHmJ1iabinBVpZwPhxBenHtXHuPn96p9WSrk08 WskfKmadCzPf2/xJZQJ49STwqSsunOH/ZDtvGZZy0/C5iynsBqk8ZsMiVpegp7d1Y8W2QC 2nuc33rMpOI+GfRx7MxwcPab5tLZpv6qlQny8sgrM6uMuV4Qr7ITazZeBYYXtktV7ZsBtd o6TR2Lm4dh4iOh3JcQqw2PJgGZ96wmimOyhgQHFcpL7QFtljDnFDIKErI3vdxXLGR2bzzk gbnU9PWfjPXKqW7VduYp1zKcU6WfX4o5ebOUP/C4DQUYyJks/UxMpIBegD1McQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=OZ19i2LK; dkim=fail ("headers rsa verify failed") header.d=lostca.se header.s=anamika header.b=dtf+g5W7; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1735653020; a=rsa-sha256; cv=none; b=Yb1dgfNvY6P8c4FHCGJGWShAAuie9qTUgCskPblz7+NzP8Ms8iPBgApMZ1UnJk+UlAKRmc A5DWzbaSmQkOlp7rP9mYLX/z0pF6M/1Ut5qlzmAy4oiY3h1Bg4BKul6cL8LXvOjkLbc/Qn FHUYv7suyzHZss+qBUokCDFVayXmg073I3xMbuSvvy0TIZTqiGL9dvnC7xusTMvHTWpCFZ cnl7AK7IS5xAM3IyQSR9vR9z7b0VyFbcplWROYwXtPdRcqnnzzRPo0K5t25RvS1/+9MuCj cT2PaaD+AxiQwmNnSfGzOVl+hzGGOxES7f0kqk56UbhRG25wSlcMFKuRodetyw== 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 ED3137914A for ; Tue, 31 Dec 2024 14:50:19 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tScdL-0002aB-U8; Tue, 31 Dec 2024 08:50:08 -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 1tScdH-0002Yu-23 for guix-patches@gnu.org; Tue, 31 Dec 2024 08:50:04 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tScdG-0004s4-Nt for guix-patches@gnu.org; Tue, 31 Dec 2024 08:50:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=In-Reply-To:References:From:Date:Mime-Version:To:Subject; bh=wO7fOWOYZHtNiya9N1pYpjUszvYrTPU+yQBI9h5St1U=; b=OZ19i2LKO5rvpFOdja20vTF2VjpozclwCKonEKxaUab3v9UU7/RYhC5czWpt7IX4wTW1pWy1RO91CHArS6Tlrrktu4pxcvEkuesHcUbrpFbNyq3Ig12kzdkToIi5t1TRHAgHfgygRep0vf+2gXmCixFC8BnfOoAIbgT9GYJzzPde0mXyhC5tf1vnemLmeEdzWTrkukab1ID3Ssr2EHlXZIWq2KEFEJD0tIyyebgmoqi6RwCI4/QP2MvadrEQygNCySShB7i0XP9s5nWjOUiB1AhvnbzdeyYTTD7isaRlZ5V0OI34wsbAjKl2B7NgAEV38jfYaHd7LwzSSQ8D8ZYlGw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tScdG-0004I8-Gn for guix-patches@gnu.org; Tue, 31 Dec 2024 08:50:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#73936] [PATCH v2] gnu: Add tuner. Resent-From: "Ashish SHUKLA" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 31 Dec 2024 13:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73936 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: zhengjunjie@iscas.ac.cn, 73936@debbugs.gnu.org Cc: ludo@gnu.org X-Debbugs-Original-To: "Zheng Junjie" , "Ashish SHUKLA via Guix-patches via" X-Debbugs-Original-Cc: ludo@gnu.org, 73936@debbugs.gnu.org Received: via spool by 73936-submit@debbugs.gnu.org id=B73936.173565297916380 (code B ref 73936); Tue, 31 Dec 2024 13:50:02 +0000 Received: (at 73936) by debbugs.gnu.org; 31 Dec 2024 13:49:39 +0000 Received: from localhost ([127.0.0.1]:34263 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tSccs-0004G2-Me for submit@debbugs.gnu.org; Tue, 31 Dec 2024 08:49:39 -0500 Received: from anamika.lostca.se ([65.21.75.227]:35070) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tSccq-0004Fi-94 for 73936@debbugs.gnu.org; Tue, 31 Dec 2024 08:49:37 -0500 Received: from localhost (unknown [IPv6:2a02:9140:3880:ce00:9249:c9f4:72fc:df48]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: abbe) by anamika.lostca.se (Postfix) with ESMTPSA id 807A3449FA; Tue, 31 Dec 2024 13:49:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lostca.se; s=anamika; t=1735652969; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=wO7fOWOYZHtNiya9N1pYpjUszvYrTPU+yQBI9h5St1U=; b=dtf+g5W7sjW166TTkMd2EOUIptfaW6PQEWUw646eRj2X9ygsfJHY+c5F8poD0wyKtb7XwJ fd2MkRpvpt7+pJQBf7hpxpJzb+K+0RkthDx93YG3ita7iWz+XPL9dWrHJxRpzFx0PpXIZk CC0rVWDTxJbPg79h3PjOOTN5L2gALSQ= Mime-Version: 1.0 Content-Type: multipart/signed; boundary=305ae696af67d4edf8c2d520d233da4404d5bc6b6aa7bb4c378d02ce3d02; micalg=pgp-sha512; protocol="application/pgp-signature" Date: Tue, 31 Dec 2024 13:49:26 +0000 Message-Id: X-Mailer: aerc 0.18.2 References: <87ikr2nlgc.fsf@gnu.org> <0de8a22a5980b7560fa6776f8e63be5eee1c27ac.1735651477.git.ashish.is@lostca.se> <874j2kotr2.fsf@iscas.ac.cn> In-Reply-To: <874j2kotr2.fsf@iscas.ac.cn> 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: , Reply-to: Ashish SHUKLA X-ACL-Warn: , Ashish SHUKLA via Guix-patches From: Ashish SHUKLA via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: ED3137914A X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -3.79 X-Spam-Score: -3.79 X-TUID: C+w1EELX+1JU --305ae696af67d4edf8c2d520d233da4404d5bc6b6aa7bb4c378d02ce3d02 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8; format=Flowed El 2024-12-31 21:40, Zheng Junjie escribi=C3=B3: > Ashish SHUKLA via Guix-patches via writes: > > > * gnu/packages/music.scm (tuner): New variable. > > > > Change-Id: I4ceb4b06069c460785b477cc017dc249f786dfa1 > > --- > > gnu/packages/music.scm | 54 ++++++++++++++++++++++++++++++++++++++++++ > > 1 file changed, 54 insertions(+) > > > > diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm > > index 6825f14dcc..77922d9576 100644 > > --- a/gnu/packages/music.scm > > +++ b/gnu/packages/music.scm > > @@ -59,6 +59,7 @@ > > ;;; Copyright =C2=A9 2024 Parnikkapore > > ;;; Copyright =C2=A9 2024 hapster > > ;;; Copyright =C2=A9 2024 Nikita Domnitskii > > +;;; Copyright =C2=A9 2024 Ashish SHUKLA > > ;;; > > ;;; This file is part of GNU Guix. > > ;;; > > @@ -168,6 +169,7 @@ (define-module (gnu packages music) > > #:use-module (gnu packages ncurses) > > #:use-module (gnu packages netpbm) > > #:use-module (gnu packages networking) > > + #:use-module (gnu packages pantheon) > > #:use-module (gnu packages pcre) > > #:use-module (gnu packages pdf) > > #:use-module (gnu packages perl) > > @@ -2868,6 +2870,58 @@ (define-public bristol > > is subjective.") > > (license license:gpl3+))) > > =20 > > +(define-public tuner > > + (package > > + (name "tuner") > > + (version "1.5.6") > > + (source (origin > > + (method git-fetch) > > + (uri (git-reference > > + (url "https://github.com/louis77/tuner") > > + (commit (string-append "v" version)))) > > + (file-name (git-file-name name version)) > > + (sha256 (base32 "0zz91n56vdwhjwqscl21016i4l4lx3m6ja0fnra= pmf16bdl0rrai")))) > > + (build-system meson-build-system) > > + (native-inputs > > + (list desktop-file-utils ; update-desktop-database > > + gettext-minimal > > + `(,glib "bin") ; glib-compile-schemas > > + ; for org.gnome.system.proxy schema > > + gsettings-desktop-schemas > > + `(,gtk "bin") ; gtk-update-icon-cache > > + pkg-config > > + vala)) > > + (inputs > > + (list bash-minimal > > + glib > > + granite-6 > > + gtk+ > > + libgee > > + gstreamer > > + gst-plugins-base ; for gstreamer 'playbin' > > + gst-plugins-good ; for gstreamer 'scaletempo' > > + gst-plugins-bad > > + libsoup > > + json-glib-minimal)) > > + (arguments > > + (list > > + #:glib-or-gtk? #t > > + #:phases > > + #~(modify-phases %standard-phases > > + (add-after 'install 'wrap-tuner > > + (lambda* (#:key outputs #:allow-other-keys) > > + (let ((out (assoc-ref outputs "out")) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > please remove it. > > + (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"= ))) > > + (wrap-program (string-append out "/bin/com.github.lou= is77.tuner") > ^^^ for gexp, just use #= $output > > And this application's bin is com.github.louis77.tuner, maybe add a > soft link called tuner? Of course, this comment can be ignored. It's upstream's preference to have their executable named like this, so I'm= not in the opinion of changing it. Thanks! --=20 Ashish SHUKLA | GPG: F682 CDCC 39DC 0FEA E116 20B6 C746 CFA9 E74F A4B0 "If I destroy you, what business is it of yours ?" (Dark Forest, Liu Cixin) --305ae696af67d4edf8c2d520d233da4404d5bc6b6aa7bb4c378d02ce3d02 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKoBAABCgCSFiEE9oLNzDncD+rhFiC2x0bPqedPpLAFAmdz9mhfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEY2 ODJDRENDMzlEQzBGRUFFMTE2MjBCNkM3NDZDRkE5RTc0RkE0QjAUHGFzaGlzaC5p c0Bsb3N0Y2Euc2UACgkQx0bPqedPpLBPQw/+Kremo2gzkEfeqxeBndLFXNeZe81c EG9g0kOTf/eiRLbWJXcdOgR7aCNr6B1F43XaPHAqQLd68n05Iay2Tc0hI+9OOGoZ o8YTw8dSMfZN+bpUsvaxxlshsJDHRLmJ8m2h0slOA0Zmqzd8Kg+/x2Qte1xf+YmD 4aLwxXxdSSI64IcOYgvvILrRNTpB3lsbvxWcQ96cTbEZZU1VCehKq+tYydIzVRq9 q+iAyDQMjTw4oygv4BXtuBKzElBNy4LTv0o6RFY/bdr/WCg+LQjFB6XnYhX37XrP brGkvv4YY5aomYP7ZICfq2hnexl4Fp2dRXJMyNnva788kJ1r/fRXuFBMq5lrZoaP KOseh9u4nVqJjcGFAsoUm3Dl+IVLZXJ4ilGDXN/I08AKRugFe9oaDq6ti4lW6+qm cmm02fLVDvCN6Dq8xq2ICVuLCT6l8Iamczsgb6FT1mqjkv8lt60/vDI6T7elFu0y 6v1LKI/XrFIO5VhBRLJrfdn0BnvqBm0bxvdP5y5y1v+QSyTMsszfslfupHG1ACns LfKTPP+GHms+KcQFCeXdhEKzRofQFgmL5oO/VnUykqtJ1GNjVIt+j3M05ZsCiC+2 svzaTyV+nFpXwPLcyus8nhGwxb1HHmKrP/M29OrO27EErSLRJ0gyWgm9+X2gTBuF q2BRsyU1VzyUNb8= =tgpI -----END PGP SIGNATURE----- --305ae696af67d4edf8c2d520d233da4404d5bc6b6aa7bb4c378d02ce3d02--