public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
From: Jon Turney <jon.turney@dronecode.org.uk>
To: Brian Inglis <Brian.Inglis@SystematicSw.ab.ca>
Cc: cygwin-apps@cygwin.com
Subject: Re: [ITP] lesspipe 2.13 - less pager input file preprocessor
Date: Sun, 23 Jun 2024 15:01:23 +0100	[thread overview]
Message-ID: <5df9b1ab-098f-4180-b1a4-4c76855ea919@dronecode.org.uk> (raw)
In-Reply-To: <612c808d-cbf7-4de5-bece-266fc41e018c@SystematicSW.ab.ca>

On 15/06/2024 16:11, Brian Inglis via Cygwin-apps wrote:
> [Forgot attachments]
> 
> On 2024-06-14 23:22, Brian Inglis via Cygwin-apps wrote:
>> I would like to provide a Cygwin package for lesspipe, to automatically
>> show archive contents or information about many file types, with
>> enhanced or coloured output, without having to remember which filter
>> commands are required to do so, as I have been using it for many years.

Thanks, I added this to your packages.

> src_compile() {
>     cd $S
> #   cygautoreconf

What value does this comment have?

>     lndirs
>     cd $B
> #   cygconf

Ditto.

>     ./configure --prefix=/usr
>     cygmake
> }
> 
> 
> src_install() {
>     cd $B
> #   install -D "${srcdir}"/lesspipe.sh "${pkgdir}"/etc/profile.d/lesspipe.sh
> #   verbose cp lesspipe.sh $C/profile.d.sh
> # In bash, please preload the completion, dynamic invocation does not work
> # . /usr/share/bash-completion/less_completion
> # Or consider installing the file less_completion in /etc/bashcompletion.d [sic]
>     dodir   /etc/bash_completion.d
>     insinto /etc/bash_completion.d
>     doins   less_completion
>     cyginstall
>     verbose rm -f $D/usr/share/bash-completion/less_completion

It seems like this might be more clearly sequenced:

* do standard install
* comment about the following steps
* remove completion file from non-working location
* install completion file in working location

or could the completion file just be moved post-install, from ${D} 
/usr/share/bash-completion/ to ${D}/etc/bash_completion.d/ ?

> }
> 


  reply	other threads:[~2024-06-23 14:01 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-15  5:22 Brian Inglis
2024-06-15 15:11 ` Brian Inglis
2024-06-23 14:01   ` Jon Turney [this message]
2024-06-23 20:12     ` Brian Inglis
2024-06-26  4:49       ` Brian Inglis

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=5df9b1ab-098f-4180-b1a4-4c76855ea919@dronecode.org.uk \
    --to=jon.turney@dronecode.org.uk \
    --cc=Brian.Inglis@SystematicSw.ab.ca \
    --cc=cygwin-apps@cygwin.com \
    /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.
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).