From: Tanguy LE CARROUR <tanguy@bioneland.org>
To: 54090@debbugs.gnu.org, Andrew Tropin <andrew@trop.in>
Cc: ludo@gnu.org, maximedevos@telenet.be, mail@nicolasgoaziou.fr
Subject: [bug#54090] [PATCH v3] gnu: Add tessen.
Date: Tue, 29 Mar 2022 09:45:49 +0200 [thread overview]
Message-ID: <164853994977.10199.12301788225779739759@localhost> (raw)
In-Reply-To: <87r16q2bva.fsf@trop.in>
Hi Andrew,
Quoting Andrew Tropin (2022-03-25 18:14:17)
> > Quoting Andrew Tropin (2022-03-25 16:10:25)
> >> On 2022-03-11 08:54, Tanguy Le Carrour wrote:
> >>
> >> > * gnu/packages/password-utils.scm (tessen): New variable.
> >> > […]
> >> > + (arguments
> >> > + (list #:tests?
> >> > + #f ;no tests
> >> > + #:phases
> >> > + #~(modify-phases %standard-phases
> >> > + (add-after 'unpack 'patch-wtype-path
> >> > + (lambda* (#:key inputs #:allow-other-keys)
> >> > + (substitute* "tessen"
> >> > + (("wtype") (search-input-file inputs "/bin/wtype")))))
> >> > + (delete 'configure)) ;no configure script
> >> > + #:make-flags
> >> > + #~(list (string-append "PREFIX="
> >> > […]
> >>
> >> Sorry, for comming up late, but the path to wl-copy binary should be
> >> hardcoded as well.
> >>
> >> /gnu/store/f48prcjwpw8wrfz0srjf096a9s8fja2w-profile/bin/tessen: line 476: wl-copy: command not found
> >
> > Oh, my bad! I'm not using the "copy to clipboard" feature. Fortunatly,
> > the patch is trivial. But, before submitting it, I have a question!…
> >
> > Why not also add as inputs and substitute `pass`, `gopass`, `wofi`,
>
> We can't hardcode pass, because it's an optional dependency with
> explicit alternative and user can prefer gopass, so we keep tessen to
> use the first option available in $PATH and fail if there is no pass or
> gopass available.
>
> The same for rofi, fuzzel, bemenu, wofi, dmenu. Due to design of tessen
> we can't know "compile time", which one will be used.
>
> > `notify-send`, `xdg-open`… that are also used by tessen?!
>
> IMO, notify-send and xdg-open are good candidates for inclusion to
> inputs.
It would make sense, indeed! I'm submitting a patch using the same bug ID.
Cheers,
--
Tanguy
prev parent reply other threads:[~2022-03-29 7:46 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-21 17:43 [bug#54090] [PATCH 0/2] gnu: Add tessen Tanguy Le Carrour
2022-02-21 18:33 ` [bug#54090] [PATCH 1/2] gnu: Add wtype Tanguy Le Carrour
2022-02-21 18:33 ` [bug#54090] [PATCH 2/2] gnu: Add tessen Tanguy Le Carrour
2022-03-03 22:30 ` [bug#54090] [PATCH 0/2] " Ludovic Courtès
2022-03-06 18:40 ` Tanguy LE CARROUR
2022-03-06 19:33 ` Maxime Devos
2022-03-03 22:28 ` Ludovic Courtès
2022-03-10 6:53 ` [bug#54090] [PATCH v2] " Tanguy Le Carrour
2022-03-10 18:56 ` Nicolas Goaziou
2022-03-11 7:52 ` Tanguy LE CARROUR
2022-03-11 7:54 ` [bug#54090] [PATCH v3] " Tanguy Le Carrour
2022-03-16 14:45 ` bug#54090: [PATCH 0/2] " Ludovic Courtès
2022-03-16 15:01 ` [bug#54090] " Tanguy LE CARROUR
2022-03-25 15:10 ` [bug#54090] [PATCH v3] " Andrew Tropin
2022-03-25 16:22 ` Tanguy LE CARROUR
2022-03-25 17:14 ` Andrew Tropin
2022-03-29 7:45 ` Tanguy LE CARROUR [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=164853994977.10199.12301788225779739759@localhost \
--to=tanguy@bioneland.org \
--cc=54090@debbugs.gnu.org \
--cc=andrew@trop.in \
--cc=ludo@gnu.org \
--cc=mail@nicolasgoaziou.fr \
--cc=maximedevos@telenet.be \
/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 external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.