[issue3585] pkg-config support
New submission from Clinton Roy <[EMAIL PROTECTED]>: This patch adds pkg-config support to the python build, a python.pc file is installed in the pkgconfig directory such that autoconf buildsystems can trivially link against the python library. Diff made against revision 65796 -- components: Build files: pkgconfig.diff keywords: patch messages: 71305 nosy: ClintonRoy severity: normal status: open title: pkg-config support type: feature request versions: Python 2.6 Added file: http://bugs.python.org/file11142/pkgconfig.diff ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue3585> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3585] pkg-config support
Clinton Roy <[EMAIL PROTECTED]> added the comment: Thanks for the comments Amaury, this patch uses ${VERSION} throughout so that it can be applied across branches. cheers, Added file: http://bugs.python.org/file11152/pkgconfig.diff ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue3585> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3585] pkg-config support
Clinton Roy <[EMAIL PROTECTED]> added the comment: This version sets Libs.private for static compiles. Any chance this will make it into the 2.6/3.0 release candidates ? cheers, Added file: http://bugs.python.org/file11368/pkgconfig.diff ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue3585> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3585] pkg-config support
Clinton Roy added the comment: Is there anything I can do to move this forward at all? cheers, ___ Python tracker <http://bugs.python.org/issue3585> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3585] pkg-config support
Clinton Roy added the comment: Oh, you meant for me to reply =) - Do all unix-like system support pkg-config? Yes. It even works on windows. - Is $(LIBDIR)/pkgconfig the only choice for installing this file? While pkg-config can be told to look in other directories for pc files (via modifying the PKGCONFIGPATH env variable) it looks in /usr/lib/pkgconfig by default, so that's where pc files should be put by default. - Shouldn't this file be installed only if the pkg-config utility is present, or if the directory $(LIBDIR)/pkgconfig already exists? Technically I suppose so, but I've not seen any package actually bother. The patches I have made available are very similar to pkg-config packages I've seen for many other packages. cheers, ___ Python tracker <http://bugs.python.org/issue3585> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3585] pkg-config support
Clinton Roy added the comment: Hi Sol, It's just a data file I suppose, Python should not need a dependency on pkg-config, and neither should there be a python-pkgconfig package that just contains the python.pc file. I think the approach to just always install the python.pc file is the right one. -- ___ Python tracker <http://bugs.python.org/issue3585> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3585] pkg-config support
Clinton Roy added the comment: Not that I can see, or remember. Revised patch attached. Tyop fixed as well. Please note there seem to be some issues with svn head atm, pyconfig.h.in and configure would seem to be out of whack with configure.in, this patch does not include changes to those generated files. -- Added file: http://bugs.python.org/file14057/pkgconfig.diff ___ Python tracker <http://bugs.python.org/issue3585> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com