[Poppler-bugs] [Bug 9730] uninstalled .pc file for poppler

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jun 17 11:53:58 PDT 2010


https://bugs.freedesktop.org/show_bug.cgi?id=9730

--- Comment #3 from Brian Cameron <brian.cameron at oracle.com> 2010-06-17 11:53:58 PDT ---

When we build our packages, we build several modules and package them into a
single package.  We build libspectre, poppler, poppler-data and evince.  We
build them all without installing them and then package them.  Since evince
depends on poppler, this only works if poppler has an uninstalled-pc file and
when building evince we set PKG_CONFIG_PATH to the directory which contains any
needed uninstalled-pc files it depends upon (such as the poppler one).

This is how pkg-config is supposed to work and a standard interface.  You can
refer to the pkg-config man page for more details of how uninstalled.pc files
and PKG_CONFIG_PATH is used by pkg-config.

No change in evince is needed.  If evince provides pc files, then it could also
provide uninstalled-pc files to support people building evince and not
installing it, and then building stuff that depends on evince.  However,
whether or not evince supports uninstalled-pc files is really a separate issue.

It would be nice if poppler supported this feature, so can this trivial patch
go upstraem.  Most GNOME libraries support this feature since building stuff
without installing is not that uncommon.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Poppler-bugs mailing list