]> matita.cs.unibo.it Git - helm.git/commitdiff
* added .pc file
authorLuca Padovani <luca.padovani@unito.it>
Tue, 15 Jul 2003 17:45:16 +0000 (17:45 +0000)
committerLuca Padovani <luca.padovani@unito.it>
Tue, 15 Jul 2003 17:45:16 +0000 (17:45 +0000)
* IDL interface version computed from package version

helm/gtkmathview-bonobo/configure.ac
helm/gtkmathview-bonobo/gtkmathview-bonobo.pc.in [new file with mode: 0644]
helm/gtkmathview-bonobo/src/.cvsignore
helm/gtkmathview-bonobo/src/GNOME_GtkMathView.server.in

index 6f3c1596f9a00db0f714cf38a91855e1aaf0ff7f..db0e236ffb8bd8ba66807c9b55f1fae50699324c 100644 (file)
@@ -11,6 +11,9 @@ AC_SUBST(VERSION)
 GTKMATHVIEW_BONOBO_VERSION_INFO=`echo $VERSION | awk -F. '{ printf "%d:%d:%d", $1+$2, $3, $2 }'`
 AC_SUBST(GTKMATHVIEW_BONOBO_VERSION_INFO)
 
+GTKMATHVIEW_BONOBO_IDL_INTERFACE_VERSION=`echo $VERSION | awk -F. '{ printf "%d.%d", $1, $2 }'`
+AC_SUBST(GTKMATHVIEW_BONOBO_IDL_INTERFACE_VERSION)
+
 AC_ARG_ENABLE(
        profile,
        [  --enable-profile[=ARG]  include profiling information [default=no]],
@@ -91,6 +94,7 @@ AC_SUBST(BONOBOUI_LIBS)
 
 AC_CONFIG_FILES([
  Makefile 
+ gtkmathview-bonobo.pc
  src/Makefile
  src/GNOME_GtkMathView.server
 ])
diff --git a/helm/gtkmathview-bonobo/gtkmathview-bonobo.pc.in b/helm/gtkmathview-bonobo/gtkmathview-bonobo.pc.in
new file mode 100644 (file)
index 0000000..aa94996
--- /dev/null
@@ -0,0 +1,14 @@
+# This is a comment
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+datadir=@datadir@
+
+Name: GtkMathView-Bonobo
+Description: Bonobo interfaces for GtkMathView
+Version: @VERSION@
+Requires: gtkmathview libbonoboui-2.0
+Libs: @DOM_LIBS@ -L${libdir} -lgtkmathview-bonobo
+Cflags: @DOM_CFLAGS@ -I${includedir}/@PACKAGE@
+
index 9cabbbc5a32886d04294fa1764b208531fc1be1e..c150801c57747d594bf5b578c1e8e952b090d3e8 100644 (file)
@@ -4,3 +4,4 @@ GNOME_GtkMathView.server
 Makefile
 Makefile.in
 gtkmathview-bonobo.lo
+libgtkmathview-bonobo.la
index 766d135b204855b9cf37dd7f2642bf6efcc03a55..b867a3d0257f8cd2ad2ff9da498568ac4441ee96 100644 (file)
@@ -1,6 +1,6 @@
 <oaf_info>
 
-<oaf_server iid="OAFIID:GNOME_GtkMathView_Factory:@GTKMATHVIEW_BONOBO_INTERFACE_VERSION@" type="shlib"
+<oaf_server iid="OAFIID:GNOME_GtkMathView_Factory:@GTKMATHVIEW_BONOBO_IDL_INTERFACE_VERSION@" type="shlib"
                location="@GTKMATHVIEW_BONOBO_LIB_LOCATION@">
 
                <oaf_attribute name="repo_ids" type="stringv">