On 14/03/2022 20:12, Achim Gratz wrote:
Jon Turney writes:
lib/pkg_info.cygport: implement automatic determination of the
appropriate perl5_0xy requirement
1. In __list_deps(), this should look at the files list in $@, not at
files in $D, as that causes it to identify a perl5_0xy dependency for
all subpackages, irrespective of which package (if any) contains the
files in the vendor_perl directory.

I guess I didn't have a package with those characteristics.  Will change.

2. This only identifies the perl5_0xy requirement for packages which
own files in the vendor_perl directory, not for packages which contain
executables or shared libraries dynamically linked with
cygperl5_xy.dll.   That should at least be mentioned in the patch
commentary.

Hmm.  Example package to test this with?

The list I have (which might not be correct, and probably isn't complete) is:

known_packages = [
    'perl-gdal',
    'hexchat-perl',
    'irssi',
    'postgresql-contrib',
    'postgresql-plperl',
    'rxvt-unicode',
    'weechat-perl',
    'znc-perl',
]

Reply via email to