unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: Sergiu Ivanov <sivanov@colimite.fr>
Cc: 60840@debbugs.gnu.org
Subject: [bug#60840] [PATCH 0/3] gnu: volctl: Update to 0.9.3.
Date: Mon, 16 Jan 2023 12:06:19 -0500	[thread overview]
Message-ID: <87wn5m5rzo.fsf_-_@gmail.com> (raw)
In-Reply-To: <87h6wr8lah.fsf@colimite.fr> (Sergiu Ivanov's message of "Sun, 15 Jan 2023 23:49:58 +0100")

Hi again,

Sergiu Ivanov <sivanov@colimite.fr> writes:

>>From b92cdb4ce99bc7ad45e0caba7f863db5931741db Mon Sep 17 00:00:00 2001
> From: Sergiu Ivanov <sivanov@colimite.fr>
> Date: Sun, 15 Jan 2023 23:16:02 +0100
> Subject: [PATCH 2/3] gnu: packages: Add python-pulsectl.

[...]

> +(define-public python-pulsectl
> +  (package
> +    (name "python-pulsectl")
> +    (version "22.3.2")
> +    (source (origin
> +              (method url-fetch)
> +              (uri (pypi-uri "pulsectl" version))
> +              (sha256
> +               (base32
> +                "115ha1cwpd2r84ssnxdbr59hgs0jbx0lz3xpqli64kmxxqf4w5yc"))))
> +    (build-system python-build-system)
> +    (inputs (list pulseaudio))
> +    (arguments
> +     `(#:tests? #f
> +       #:phases
> +       (modify-phases %standard-phases
> +         (add-after 'unpack 'patch-path
> +           (lambda* (#:key inputs #:allow-other-keys)
> +             (let ((pulse (assoc-ref inputs "pulseaudio")))
> +               (substitute* "pulsectl/_pulsectl.py"
> +                 (("libpulse.so.0")
> +                  (string-append pulse "/lib/libpulse.so.0")))

Sorry, I forgot to mention in my previous reply: here, you could use
(search-input-file inputs "lib/libpulse.so.0"), which has the added
benefit of failing if the file cannot be found in the inputs arguments.

-- 
Thanks,
Maxim




  parent reply	other threads:[~2023-01-16 17:07 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-15 22:35 [bug#60840] [PATCH 0/3] gnu: volctl: Update to 0.9.3 Sergiu Ivanov
     [not found] ` <handler.60840.B.167382229432354.ack@debbugs.gnu.org>
2023-01-15 22:46   ` [bug#60840] [PATCH 1/3] gnu: volctl: Make the synopsis line shorter Sergiu Ivanov
2023-01-16 16:56     ` [bug#60840] [PATCH 0/3] gnu: volctl: Update to 0.9.3 Maxim Cournoyer
2023-01-21 22:20       ` Sergiu Ivanov
2023-01-15 22:49   ` [bug#60840] [PATCH 2/3] gnu: packages: Add python-pulsectl Sergiu Ivanov
2023-01-16 17:01     ` [bug#60840] [PATCH 0/3] gnu: volctl: Update to 0.9.3 Maxim Cournoyer
     [not found]       ` <871qnnfqu1.fsf@univ-evry.fr>
2023-01-22 21:28         ` bug#60840: " Maxim Cournoyer
2023-01-23 17:38           ` [bug#60840] " Sergiu Ivanov
2023-01-16 17:06     ` Maxim Cournoyer [this message]
2023-01-21 22:30       ` Sergiu Ivanov
2023-01-15 22:51   ` [bug#60840] [PATCH 3/3] " Sergiu Ivanov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87wn5m5rzo.fsf_-_@gmail.com \
    --to=maxim.cournoyer@gmail.com \
    --cc=60840@debbugs.gnu.org \
    --cc=sivanov@colimite.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).