public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
From: Brian Inglis <Brian.Inglis@SystematicSw.ab.ca>
To: cygwin-apps@cygwin.com
Subject: Re: [ITP] lesspipe 2.13 - less pager input file preprocessor
Date: Sun, 23 Jun 2024 14:12:49 -0600	[thread overview]
Message-ID: <5a88c1d3-50b2-4b6a-b0f4-63d994c0e60d@SystematicSw.ab.ca> (raw)
In-Reply-To: <5df9b1ab-098f-4180-b1a4-4c76855ea919@dronecode.org.uk>

On 2024-06-23 08:01, Jon Turney via Cygwin-apps wrote:
> 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.

Thanks Jon

>> 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/ ?

These are all working copies for playground builds with original and 
intermediate commands and notes from install scripts and messages.

I will clean up before merging into master and building a release.

-- 
Take care. Thanks, Brian Inglis              Calgary, Alberta, Canada

La perfection est atteinte                   Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter  not when there is no more to add
mais lorsqu'il n'y a plus rien à retirer     but when there is no more to cut
                                 -- Antoine de Saint-Exupéry

  reply	other threads:[~2024-06-23 20:12 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
2024-06-23 20:12     ` Brian Inglis [this message]
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=5a88c1d3-50b2-4b6a-b0f4-63d994c0e60d@SystematicSw.ab.ca \
    --to=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).