public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
From: Chad Dougherty <crd@acm.org>
To: Jon Turney <jon.turney@dronecode.org.uk>,
	"cygwin-apps@cygwin.com" <cygwin-apps@cygwin.com>,
	Jari Aalto <jari.aalto@cante.net>
Subject: Re: [ITP] rsync 3.2.6
Date: Sun, 9 Oct 2022 20:28:10 -0400	[thread overview]
Message-ID: <3a8aa97d-932a-f0d9-2507-1680d2795b5d@acm.org> (raw)
In-Reply-To: <c9f62b84-f1bf-e14a-5837-1c42364e5dd3@dronecode.org.uk>

On 2022-10-09 10:23, Jon Turney wrote:
 > Thanks for looking into updating this.  I'd like to give the existing
 > maintainer first refusal, though.
 >

Absolutely.  It's totally OK with me if Jari would rather still maintain 
this.  I just figured I'd try my hand at the process in the meantime, 
particularly since it was using the old build method.

> Comments on this cygport:
> 
>> REQUIRES="libiconv2 libssl1.1 libxxhash0 libzstd1 liblz4_1"
> 
> You don't (and in fact, shouldn't, because you then need to remember to 
> manually update them e.g. when soversions change) list here packages 
> that cygport can automatically detect as dependencies.
> 

I see, thanks.  Fixed in my working repo here:
https://github.com/crd477/cygports/tree/main/rsync

>> # Enable this function for releases that work without autoreconf
>> src_compile()
> 
> You should only override the default src_compile if it doesn't work.
> 
> The fact that autoreconf isn't apparently necessary, doesn't mean it 
> should be omitted, since that means that future fixes to the 
> autoconfiguration machinery aren't automatically incorporated into the 
> package, but will only appear when upstream updates the autotools used 
> to generate the distributed autoconfiguration files.
> 

I see.

I tried but the default src_compile() didn't work.  According to the 
INSTALL file, the autoconf should only be done on a git checkout, not 
the release tarball.

The specific comment in the cygport file was actually a holdover from 
one I was using as an example so I've clarified it.

> (I think this topic is touched upon in the cygport reference manual in 
> the section on cygautoreconf, but perhaps that could be clearer)
> 

I actually hadn't read that section yet.  The warning in the reference 
manual is pretty clear now that I see it though.  Might it be a good 
idea to issue a warning diagnostic at src_compile time if cygautoreconf 
is skipped but it looks like the source code should be able to handle it?

> Comparing the contents of the packages this produced with the current 
> package, there are various /usr/share/doc/rsync/*.{html,txt} files which 
> are no longer packaged.  Is this intentional?
> 

It was not really intentional.  The only reason they were left out is 
that they weren't part of the default install rule.
I've also addressed this in the working repo mentioned above.

Thanks for taking the time to review this.  I really appreciate it. 
rsync is an important tool so I'm a little anxious about screwing it up 
for some other user of the package.

-- 
     -Chad


  parent reply	other threads:[~2022-10-10  0:28 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-06  1:29 Chad Dougherty
2022-10-06 17:24 ` Adam Dinwoodie
2022-10-06 18:20   ` Chad Dougherty
2022-10-06 20:01   ` Ken Brown
2022-10-09 14:23 ` Jon Turney
2022-10-09 21:18   ` Brian Inglis
2022-10-10  0:28   ` Chad Dougherty [this message]
2022-10-10  7:15     ` ASSI
2022-10-26  0:44   ` Chad Dougherty
2022-12-02 15:07   ` Jon Turney

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=3a8aa97d-932a-f0d9-2507-1680d2795b5d@acm.org \
    --to=crd@acm.org \
    --cc=cygwin-apps@cygwin.com \
    --cc=jari.aalto@cante.net \
    --cc=jon.turney@dronecode.org.uk \
    /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).