From 0435b45895f701f4758ac24b629f553513ef846a Mon Sep 17 00:00:00 2001 From: Mike Kestner Date: Fri, 23 Sep 2005 22:36:33 +0000 Subject: [PATCH] 2005-09-23 Mike Kestner * configure.in.in : expand glib-sharp-2.0.pc. * glib/glib-sharp-2.0.pc.in : new pc file template. * glib/Makefile.am : dist and install pc file. * gtk/gtk-sharp-2.0.pc.in : Require glib-sharp-2.0. svn path=/trunk/gtk-sharp/; revision=50641 --- ChangeLog | 7 +++++++ configure.in.in | 1 + glib/Makefile.am | 3 +++ glib/glib-sharp-2.0.pc.in | 10 ++++++++++ gtk/gtk-sharp-2.0.pc.in | 3 ++- 5 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 glib/glib-sharp-2.0.pc.in diff --git a/ChangeLog b/ChangeLog index 5f5c4001b..ff3d53422 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2005-09-23 Mike Kestner + + * configure.in.in : expand glib-sharp-2.0.pc. + * glib/glib-sharp-2.0.pc.in : new pc file template. + * glib/Makefile.am : dist and install pc file. + * gtk/gtk-sharp-2.0.pc.in : Require glib-sharp-2.0. + 2005-09-21 Mike Kestner * bootstrap* : expose POLICY_VERSIONS variable. diff --git a/configure.in.in b/configure.in.in index ea8689fd3..d32d59825 100644 --- a/configure.in.in +++ b/configure.in.in @@ -265,6 +265,7 @@ parser/gapi2-parser generator/Makefile generator/gapi2-codegen glib/Makefile +glib/glib-sharp-2.0.pc glib/glib-sharp.dll.config glib/glue/Makefile pango/Makefile diff --git a/glib/Makefile.am b/glib/Makefile.am index 4dbe416c4..a66305c96 100644 --- a/glib/Makefile.am +++ b/glib/Makefile.am @@ -4,6 +4,8 @@ TARGET = $(ASSEMBLY) ASSEMBLY = $(ASSEMBLY_NAME).dll ASSEMBLY_NAME = glib-sharp noinst_DATA = $(ASSEMBLY) $(ASSEMBLY).config $(POLICY_ASSEMBLIES) +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = glib-sharp-2.0.pc CLEANFILES = $(ASSEMBLY) $(ASSEMBLY).mdb gtk-sharp.snk AssemblyInfo.cs $(POLICY_ASSEMBLIES) $(POLICY_CONFIGS) DISTCLEANFILES = $(ASSEMBLY).config @@ -65,6 +67,7 @@ dist_sources = $(sources) EXTRA_DIST = \ $(dist_sources) \ $(ASSEMBLY).config.in \ + glib-sharp-2.0.pc.in \ makefile.win32 gtk-sharp.snk: $(top_srcdir)/gtk-sharp.snk diff --git a/glib/glib-sharp-2.0.pc.in b/glib/glib-sharp-2.0.pc.in new file mode 100644 index 000000000..23e5ecb06 --- /dev/null +++ b/glib/glib-sharp-2.0.pc.in @@ -0,0 +1,10 @@ +prefix=@prefix@ +exec_prefix=${prefix} +libdir=${exec_prefix}/lib + + +Name: GLib# +Description: GLib# - .NET Binding for the glib library. +Version: @VERSION@ +Cflags: +Libs: -r:${libdir}/mono/@PACKAGE_VERSION@/glib-sharp.dll diff --git a/gtk/gtk-sharp-2.0.pc.in b/gtk/gtk-sharp-2.0.pc.in index e6e008203..d26cc767b 100644 --- a/gtk/gtk-sharp-2.0.pc.in +++ b/gtk/gtk-sharp-2.0.pc.in @@ -8,4 +8,5 @@ Name: Gtk# Description: Gtk# - GNOME .NET Binding Version: @VERSION@ Cflags: -I:${gapidir}/pango-api.xml -I:${gapidir}/atk-api.xml -I:${gapidir}/gdk-api.xml -I:${gapidir}/gtk-api.xml -Libs: -r:${libdir}/mono/@PACKAGE_VERSION@/glib-sharp.dll -r:${libdir}/mono/@PACKAGE_VERSION@/pango-sharp.dll -r:${libdir}/mono/@PACKAGE_VERSION@/atk-sharp.dll -r:${libdir}/mono/@PACKAGE_VERSION@/gdk-sharp.dll -r:${libdir}/mono/@PACKAGE_VERSION@/gtk-sharp.dll +Libs: -r:${libdir}/mono/@PACKAGE_VERSION@/pango-sharp.dll -r:${libdir}/mono/@PACKAGE_VERSION@/atk-sharp.dll -r:${libdir}/mono/@PACKAGE_VERSION@/gdk-sharp.dll -r:${libdir}/mono/@PACKAGE_VERSION@/gtk-sharp.dll +Requires: glib-sharp-2.0