packages depending from libxml2_2

Brian Inglis Brian.Inglis@SystematicSW.ab.ca
Fri Nov 6 20:28:52 GMT 2026


On 2026-11-06 04:57, Jon Turney via Cygwin-apps wrote:
> On 06/11/2026 10:35, Marco Atzeri via Cygwin-apps wrote:
>> On 05/11/2026 19:42, Jon Turney via Cygwin-apps wrote:
>>> On 04/11/2026 16:39, Marco Atzeri via Cygwin-apps wrote:
>>>> Hi Jon,
>>>>
>>>> just uploaded libxml2_2-2.13.9-3
>>>>
>>>> I will wait few days before uploading 2.15.4-2
>>>>
>>>> $ find . -name "*.xz"
>>>> ./libxml2/libxml2-2.15.4-2-src.tar.xz
>>>> ./libxml2/libxml2-2.15.4-2-x86_64.tar.xz
>>>> ./libxml2/libxml2-debuginfo/libxml2-debuginfo-2.15.4-2-x86_64.tar.xz
>>>> ./libxml2/libxml2-devel/libxml2-devel-2.15.4-2-x86_64.tar.xz
>>>> ./libxml2/libxml2-doc/libxml2-doc-2.15.4-2-x86_64.tar.xz
>>>> ./libxml2/libxml2_16/libxml2_16-2.15.4-2-x86_64.tar.xz
>>>> ./libxml2/python312-libxml2/python312-libxml2-2.15.4-2-x86_64.tar.xz
>>>> ./libxml2/python39-libxml2/python39-libxml2-2.15.4-2-x86_64.tar.xz
>>>>
>>>> probably the best way to handle is for every package that requires libxml2 
>>>> to add libxml2_2 dependency
>>>
>>> Just so I'm understanding correctly: libxml2 and libxml2_2 both provide 
>>> cygxml2-2.dll?
>>
>> Hi Jon,
>>
>> until 2.13.9-2 libxml2
>> contained both the utilities and the dll
>>
>> /usr/bin/xmlcatalog.exe
>> /usr/bin/xmllint.exe
>> /usr/bin/cygxml2-2.dll
>>
>> now from 2.13.9-3 they are split
>>
>> $ cygcheck -l libxml2 |grep bin
>> /usr/bin/xmlcatalog.exe
>> /usr/bin/xmllint.exe
>>
>> $ cygcheck -l libxml2_2 |grep bin
>> /usr/bin/cygxml2-2.dll
> 
> Aha! That makes sense.
> 
> OK. I see what you are trying to do now.
> 
>> libxml2 2.13.9-3 now pulls libxml2_2.
>>
>> I assume most of the programs requiring libxml2 need only the cygxml2-2.dll 
>> but it is possible that some require also the *.exe utilities
>>
>> from 2.15.4-2 libxml2 will pull libxml2_16
> 
> Hmm...  It would be easier to put the executables in a new package called 
> 'libxml-utils' or 'libxml-tools' or similar.
> 
> Then we won't need to mess with the things that already point to libxml2 (which 
> can stay as an alias for libxml2_2 for old packages).
> 
> (Although there will be, as you mention, some change for anything which wants 
> xmllint).
> 
>> /usr/bin/cygxml2-16.dll
>>
>> after I will upload 2.15.4-2 any package that needs cygxml2-2.dll
>> will have a missing pull and we will heard complaints from new installation 
>> and from people upgrading after 2.15.4-2 is deployed.
>>
>> Easy solution is for the current packages that requires libxml2 to require 
>> also libxml2_2. This will maintain consistency until every of those package is 
>> updated
>>
>> Does make sense ?
>> I would like to avoid that on  2.15.4-2 libxml2 directly pull both libxml2_16 
>> and libxml2_2

One package I have has split SOversion levels, so everything in the package 
depends on the top level SO/DLL, the top level SO depends on the base SO/DLL, 
and everything else can depend on either level SO/DLL.

IMHO any build-require tools should go into the -devel sub-pkg, separate from 
any non-developer user display, update, or processing utilities.

There do not seem to be any COPYING, LICEN[CS]E, COPYRIGHT, README, or similar 
doc files included with the DLL to say that it may be used under the MIT 
licence, everything is in the optional -doc subpackage: either it should be 
required, or (some) package docs should be in with the DLL IMHO.

I prefer to install html docs using cygport HTMLDOCS under doc/.../html, for 
consistency and ease of access without GTK, and provide a symlink from 
gtk-doc/html/libxml2 for anyone who uses Programming/Devhelp GTK-Doc, and can 
figure out how to get it to display a wide enough list of docs left pane to see 
the names of the packages the docs are for! ;^>

-- 
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 à retrancher  but when there is no more to cut
                                 -- Antoine de Saint-Exupéry


More information about the Cygwin-apps mailing list