Package: pango1.0 / 1.42.1-2


Package Version Patches format
pango1.0 1.42.1-2 3.0 (quilt)

Patch series

view the series file
Patch File delta Description Move fribidi to Requires.private.patch | (download) | 3 2 + 1 - 0 !
1 file changed, 2 insertions(+), 1 deletion(-) move fribidi to requires.private

In current versions of pkg-config, the most appropriate place for
most library dependencies is Requires.private. This avoids
"overlinking" when an executable is linked to the pango shared library:
in modern OSs, a shared library's library dependencies are
automatically loaded by the dynamic linker along with that shared

It isn't immediately clear whether fribidi is meant to support being
statically linked, so this is the conservative change that assumes it is.
If it is not meant to support being statically linked, another
possibility would be to remove the pkg-config dependency entirely.
See <>.

Using Requires.private also has the effect of adding fribidi's
CFLAGS to the output of `pkg-config --cflags pango`. That is in fact
unnecessary here, because fribidi is only used internally, so proposes a new
dependency type "Requires.internal" which would additionally omit
fribidi from `pkg-config --cflags pango`. However, this is not yet
supported in pkg-config, so it cannot be used yet.

For more details on Requires.private please see this article by the
current Debian pkg-config maintainer and former upstream
pkg-config maintainer:,_sonames_and_Requires.private/
and this description of the various dependency types that can exist:

Signed-off-by: Simon McVittie <>