Re: [ITA] ruby 3.2.2

2023-04-23 Thread Daisuke Fujimura via Cygwin-apps
> This is what I get for not trying these things. I think nesting the > substitution like that isn't valid in bash, so maybe: > > SOVERSION=${VERSION%.*} > ruby_PROVIDES="ruby_${SOVERSION//./}" > > actually works? It worked. Thank you very much. ``` $ cygport ruby.cygport vars ruby_PROVIDES decl

[PATCH setup 2/2] Detect filename collisions between packages

2023-04-23 Thread Jon Turney via Cygwin-apps
Detect filename collisions between packages Don't check filenames under /etc/postinstall/ for collisions Report when filename collisions exist Add option '--collisions' to enable Notes: Reading file catalog from a package is moderately expensive in terms of I/O: To extract all the filenames from

[PATCH setup 1/2] Add underlying() method to io_stream class

2023-04-23 Thread Jon Turney via Cygwin-apps
Add underlying() method to io_stream class. This saves having to pass around both original and decompressed stream, just so you can call tell() on the original stream. For a non-compressed stream, it simply returns that io_stream object. In the case of a compressed stream, this returns the io_st

[PATCH setup 0/2] Detect filename collisions between packages

2023-04-23 Thread Jon Turney via Cygwin-apps
This is a woefully underoptimized implementation of detecting filename collisions between packages, so it's hidden behind the command line option '--collisions' to enable it. A good implementation probably (i) collects the filenames at the same time as checksumming the archive, or has them attache

Re: [ITA] ruby 3.2.2

2023-04-23 Thread Jon Turney via Cygwin-apps
On 22/04/2023 13:04, Daisuke Fujimura via Cygwin-apps wrote: Are you planning to adopt also the ruby-* sub-packages ? I intend to do that. 2. Modify cygport and release it. - Add code to detect dependencies on `ruby_xy`. - It is similar to the process for `perl5_xy0`. -