[Poppler-bugs] [Bug 9730] uninstalled .pc file for poppler
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Jun 21 23:23:03 PDT 2010
https://bugs.freedesktop.org/show_bug.cgi?id=9730
--- Comment #10 from Brian Cameron <brian.cameron at oracle.com> 2010-06-21 23:23:03 PDT ---
Forgive me, but I am new to cmake. After looking at the poppler code a bit
more,
I think I understand what you are asking for.
Let me see if I understand. I believe you are telling me that in order to
support cmake, it is necessary to be able to build the uninstalled.pc files
from
the uninstalled.pc.in files by doing the following:
- Adding a macro to cmake/modules/PopplerMacros.cmake that builds the
uninstalled
pkg-config file but doesn't install it. Perhaps something like
macro(POPPLER_CREATE_UNINSTALLED_PKGCONFIG generated_file)
if(NOT WIN32)
configure_file(${generated_file}.cmake
${CMAKE_CURRENT_BINARY_DIR}/${generated_file} @ONLY)
endif(NOT WIN32)
endmacro(POPPLER_CREATE_UNINSTALLED_PKGCONFIG)
- Then we'd need to add lines for each uninstalled pc file in the toplevel
CMakeLists.txt file, something like:
poppler_create_uninstalled_pkgconfig(poppler.pc lib${LIB_SUFFIX}/pkgconfig)
Is that what is needed in addition to providing the uninstalled.pc files and
modifying configure.ac to build the uninstalled.pc files from the
uninstalled.pc.in files for users who use configure?
--
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