[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: freetype: incorrect shlibs file generation

Hi Hugh,

Hugh McMaster <hugh.mcmaster@outlook.com> (2017-12-21):
> Assuming I understand the problem correctly, the attached patch should help.
> After compiling and installing, I have the following in
> /var/lib/dpkg/info/libfreetype6:amd64.shlibs:
>     libfreetype 6 libfreetype6 (>= 2.8)
>     udeb: libfreetype 6 libfreetype6-udeb (>= 2.8)

Yeah, that would look good to me, provided there's nothing added in a
x.y.z version that would make the udeb depend on x.y (in the metadata
section) while it actually depends on a feature introduced in a x.y.z
(on a shared object level).

FWIW dh_makeshlibs supports being called with a -V option. Excerpt of
its manpage:
| If -V is specified with no dependency information, the current upstream
| version of the package is plugged into a dependency that looks like
| "packagename (>= packageversion)". Note that in debhelper compatibility
| levels before v4, the Debian part of the package version number is also
| included. If -V is specified with parameters, the parameters can be
| used to specify the exact dependency information needed (be sure to
| include the package name).

That might be a safer approach?

Cyril Brulebois (kibi@debian.org)            <https://debamax.com/>
D-I release manager -- Release team member -- Freelance Consultant

Attachment: signature.asc
Description: PGP signature

Reply to: