Patch to export the defs files



Hi there,

I'm working on maemo port of evolution-python and I have some patches
that may be useful in the upstream distribution. The first one is
attached in this email, it exports the defs file to pkgdatadir/defs/
(/usr/share/evolution-python/defs).

I'm still fixing the other ones which include:

- Export enumerations (contact fields, query types)
- Type EBookView (through codegen)
- Type EBookQuery (hand made)

Still in my wishlist is a configure option of --with-ecal, which would
strip all ecal components (not needed by maemo).

Thanks.

--
Lauro Moura ("lmoura" on Freenode)
INdT/Recife
http://lauro.wordpress.com
Index: evolution-python-0.0.1/src/Makefile.am
===================================================================
--- evolution-python-0.0.1.orig/src/Makefile.am	2007-07-09 16:43:54.000000000 -0300
+++ evolution-python-0.0.1/src/Makefile.am	2007-07-09 16:43:57.000000000 -0300
@@ -21,6 +21,9 @@
 
 nodist_evolution_la_SOURCES = evolution.c
 
+defsdir = $(pkgdatadir)/defs
+defs_DATA = evolution.defs
+
 CLEANFILES = evolution.c
 EXTRA_DIST = \
 	evolution.defs \
Index: evolution-python-0.0.1/Makefile.am
===================================================================
--- evolution-python-0.0.1.orig/Makefile.am	2007-07-09 16:43:54.000000000 -0300
+++ evolution-python-0.0.1/Makefile.am	2007-07-09 16:43:57.000000000 -0300
@@ -3,6 +3,9 @@
 pcdatadir = $(libdir)/pkgconfig
 pcdata_DATA = evolution-python.pc
 
+defsdir = $(pkgdatadir)/defs
+defs_DATA =
+
 EXTRA_DIST = \
 	AUTHORS NEWS INSTALL COPYING README \
 	ChangeLog \
Index: evolution-python-0.0.1/evolution-python.pc.in
===================================================================
--- evolution-python-0.0.1.orig/evolution-python.pc.in	2007-07-09 16:43:54.000000000 -0300
+++ evolution-python-0.0.1/evolution-python.pc.in	2007-07-09 16:43:57.000000000 -0300
@@ -2,8 +2,9 @@
 exec_prefix= exec_prefix@
 includedir= includedir@
 datadir= datadir@
+pkgdatadir= datadir@/evolution-python
 
-defsdir=${datadir}/pygtk/2.0/defs
+defsdir=${pkgdatadir}/defs
 argtypesdir=${datadir}/pygtk/2.0/argtypes
 
 Name: evolution-python


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]