evince r3372 - trunk
- From: chpe svn gnome org
- To: svn-commits-list gnome org
- Subject: evince r3372 - trunk
- Date: Wed, 21 Jan 2009 16:58:22 +0000 (UTC)
Author: chpe
Date: Wed Jan 21 16:58:21 2009
New Revision: 3372
URL: http://svn.gnome.org/viewvc/evince?rev=3372&view=rev
Log:
Bug 568220 â need pkg-config file
Added:
trunk/evince-backend.pc.in
trunk/evince-view.pc.in
Modified:
trunk/ChangeLog
trunk/Makefile.am
trunk/configure.ac
Modified: trunk/Makefile.am
==============================================================================
--- trunk/Makefile.am (original)
+++ trunk/Makefile.am Wed Jan 21 16:58:21 2009
@@ -14,6 +14,11 @@
SUBDIRS += thumbnailer
endif
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = \
+ evince-backend-$(EV_API_VERSION).pc \
+ evince-view-$(EV_API_VERSION).pc
+
# Applications
intltool_extra = intltool-extract.in intltool-merge.in intltool-update.in
Modified: trunk/configure.ac
==============================================================================
--- trunk/configure.ac (original)
+++ trunk/configure.ac Wed Jan 21 16:58:21 2009
@@ -54,6 +54,8 @@
GTK_REQUIRED=2.12.0
GLIB_REQUIRED=2.18.0
KEYRING_REQUIRED=2.22.0
+AC_SUBST([GLIB_REQUIRED])
+AC_SUBST([GTK_REQUIRED])
GNOME_ICON_THEME_REQUIRED=2.17.1
LIBXML_REQUIRED=2.5.0
@@ -481,6 +483,9 @@
thumbnailer/Makefile
])
+AC_CONFIG_FILES(evince-backend-[]ev_api_version[].pc:evince-backend.pc.in)
+AC_CONFIG_FILES(evince-view-[]ev_api_version[].pc:evince-view.pc.in)
+
AC_OUTPUT
echo "
Added: trunk/evince-backend.pc.in
==============================================================================
--- (empty file)
+++ trunk/evince-backend.pc.in Wed Jan 21 16:58:21 2009
@@ -0,0 +1,11 @@
+prefix= prefix@
+exec_prefix= exec_prefix@
+libdir= libdir@
+includedir= includedir@/evince/@EV_API_VERSION@
+
+Name: Evince Backend
+Description: GNOME document viewer backend library
+Version: @VERSION@
+Requires: gio-2.0 >= @GLIB_REQUIRED@ gtk+-2.0 >= @GTK_REQUIRED@
+Libs: -L${libdir} -levbackend
+Cflags: -I${includedir}
Added: trunk/evince-view.pc.in
==============================================================================
--- (empty file)
+++ trunk/evince-view.pc.in Wed Jan 21 16:58:21 2009
@@ -0,0 +1,11 @@
+prefix= prefix@
+exec_prefix= exec_prefix@
+libdir= libdir@
+includedir= includedir@/evince/@EV_API_VERSION@
+
+Name: Evince View
+Description: GNOME document viewer view library
+Version: @VERSION@
+Requires: evince-backend- EV_API_VERSION@ = @VERSION@ gthread-2.0
+Libs: -L${libdir} -levview
+Cflags: -I${includedir}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]