GNOME Bugzilla – Bug 385129
Need uninstalled.pc file for building on Solaris
Last modified: 2007-04-30 02:22:08 UTC
On Solaris we group multiple python modules (e.g. pygobject, pycairo, pyorbit, pygtk2, pyspi) into one package. Because of the build method, we use an uninstalled.pc file in pygobject so that the other modules can build. The attached patch creates an uninstalled.pc file and updates configure.ac.
Created attachment 78215 [details] [review] Create uninstalled.pc file and update configure.ac
Comment on attachment 78215 [details] [review] Create uninstalled.pc file and update configure.ac >--- /dev/null 2005-10-27 18:34:42.000000000 -0400 >+++ pygtk-2.7.4/pygobject-2.0-uninstalled.pc.in 2005-10-27 18:27:31.486513000 -0400 >@@ -0,0 +1,22 @@ >+prefix=@prefix@ >+exec_prefix=@exec_prefix@ >+includedir=@includedir@ >+datarootdir=@datarootdir@ >+datadir=@datadir@ These seems to be unused, I think we're better of removing them. >+# you can use the --variable=pygtkincludedir argument to >+# pkg-config to get this value. You might want to use this to >+# install additional headers. >+pygtkincludedir=${pc_top_builddir}/${pcfiledir}/gobject Where do the pc_top_builddir/pcfiledir variables come from?
> Where do the pc_top_builddir/pcfiledir variables come from? pkg-config defines them. The pkg-config manpage (http://www.die.net/doc/linux/man/man1/pkg-config.1.html) describes pc_top_builddir as a 'magic variable'. I couldn't find good information other than this basic manpage. You'll have to trust me, or look at glib-2.0-uninstalled.pc (http://svn.gnome.org/viewcvs/glib/trunk/glib-2.0-uninstalled.pc.in?view=log).
(In reply to comment #3) > > Where do the pc_top_builddir/pcfiledir variables come from? > pkg-config defines them. The pkg-config manpage > (http://www.die.net/doc/linux/man/man1/pkg-config.1.html) describes > pc_top_builddir as a 'magic variable'. I couldn't find good information other > than this basic manpage. You'll have to trust me, or look at > glib-2.0-uninstalled.pc > (http://svn.gnome.org/viewcvs/glib/trunk/glib-2.0-uninstalled.pc.in?view=log). > Okay, fair enough, I didn't know about them. But you should still remove the unused variables defined in the top of the .pc file.
Created attachment 86017 [details] [review] Create uninstalled.pc file and update configure.ac Remove unneeded variables.
Thanks for the patch Damien. Committed as revision 652.