Bug#1108177: libmd4c-dev: contains /usr/include/md4c-html.h which better should be in libmd4c-html0-dev
Subject: libmd4c-dev: contains /usr/include/md4c-html.h which better should be in libmd4c-html0-dev
Package: libmd4c-dev
Version: 0.5.2-2
Severity: normal
Hi,
LibreOffice 26.2 will use md4c, cf. https://cgit.freedesktop.org/libreoffice/core/commit/?id=8539f39c84fce346fe334b62b7b7fe3bd60d9287.
And it uses both md4c.h and md4c-html.h (see the configure.ac part) and the libraries. (And unfortunately doesn't use pkg-config...)
# dpkg -L libmd4c-dev
/.
/usr
/usr/include
/usr/include/md4c-html.h
/usr/include/md4c.h
/usr/lib
/usr/lib/x86_64-linux-gnu
/usr/lib/x86_64-linux-gnu/cmake
/usr/lib/x86_64-linux-gnu/cmake/md4c
/usr/lib/x86_64-linux-gnu/cmake/md4c/md4cConfig-none.cmake
/usr/lib/x86_64-linux-gnu/cmake/md4c/md4cConfig.cmake
/usr/lib/x86_64-linux-gnu/pkgconfig
/usr/lib/x86_64-linux-gnu/pkgconfig/md4c.pc
/usr/share
/usr/share/doc
/usr/share/doc/libmd4c-dev
/usr/share/doc/libmd4c-dev/changelog.Debian.amd64.gz
/usr/share/doc/libmd4c-dev/changelog.Debian.gz
/usr/share/doc/libmd4c-dev/changelog.gz
/usr/share/doc/libmd4c-dev/copyright
/usr/lib/x86_64-linux-gnu/libmd4c.so
So far so good, with libmd4c-dev there the check for md4c-html.h would succeed but then it probably would fail to link since
the .so is not there which is only in libmd4c-html0-dev:
# dpkg -L libmd4c-html0-dev
/.
/usr
/usr/lib
/usr/lib/x86_64-linux-gnu
/usr/lib/x86_64-linux-gnu/pkgconfig
/usr/lib/x86_64-linux-gnu/pkgconfig/md4c-html.pc
/usr/share
/usr/share/doc
/usr/share/doc/libmd4c-html0-dev
/usr/share/doc/libmd4c-html0-dev/changelog.Debian.amd64.gz
/usr/share/doc/libmd4c-html0-dev/changelog.Debian.gz
/usr/share/doc/libmd4c-html0-dev/changelog.gz
/usr/share/doc/libmd4c-html0-dev/copyright
/usr/lib/x86_64-linux-gnu/libmd4c-html.so
I think md4c-html.h should be moved to libmd4c-html0-dev as that is what it supposedly is for?
[ Will work around by B-D'ing on both for now. ]
Regards,
Rene
Reply to: