Patch: add compilation of gnomevfs module in maemo



	Hi,

	As gnomevfs API is supported in Maemo, it would be great if we can make
tinymail include compilation of gnomevfs module (and TnyVfsStream).

	I prepared a patch for this. This modifies the configure.ac to include
the module in maemo platform, and added also the corresponding packages
to debian/control.maemo.

-- 
Jose Dapena Paz <jdapena igalia com>
Igalia
Index: debian/control.maemo
===================================================================
--- debian/control.maemo	(revisión: 1918)
+++ debian/control.maemo	(copia de trabajo)
@@ -137,3 +137,28 @@
  and NNTP. It can be used to send messages over SMTP and by using sendmail.
  .
  This package contains the development files for libtinymail-maemo.
+
+Package: libtinymail-gnomevfs-1.0-0
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: memory-effective framework for accessing e-mail - Camel library
+ Tinymail is a development framework for accessing E-mail services using
+ devices with few memory resources.
+ .
+ It supports local mail storage (Maildir,mh,spool & mbox), IMAP, Exchange
+ and NNTP. It can be used to send messages over SMTP and by using sendmail.
+ .
+ This package contains the library for GNOME VFS specific functionality.
+
+Package: libtinymail-gnomevfs-1.0-0-dev
+Architecture: any
+Depends: libtinymail-gnomevfs-1.0-0 (= ${binary:Version})
+Description: memory-effective framework for accessing e-mail - development files
+ Tinymail is a development framework for accessing E-mail services using
+ devices with few memory resources.
+ .
+ It supports local mail storage (Maildir,mh,spool & mbox), IMAP, Exchange
+ and NNTP. It can be used to send messages over SMTP and by using sendmail.
+ .
+ This package contains the development files for libtinymail-gnomevfs.
+
Index: configure.ac
===================================================================
--- configure.ac	(revisión: 1918)
+++ configure.ac	(copia de trabajo)
@@ -83,6 +83,7 @@
         build_gtkhtml=false
         build_mozembed=false
         build_gnome=false
+	build_maemo=true
         with_html_component=none
 	build_uigtk=true
 	build_demoui=true
@@ -299,12 +300,17 @@
 extragtkpkgs="libgnomeui-2.0 gnome-keyring-1"
 extratnypkgs="gnome-vfs-2.0"
   PKG_CHECK_MODULES(LIBTINYMAIL_GNOMEVFS, glib-2.0 >= 2.8 gobject-2.0 gnome-vfs-2.0)
+elif test x$build_maemo = xtrue; then
+extragtkpkgs=
+extratnypkgs="gnome-vfs-2.0"
+  PKG_CHECK_MODULES(LIBTINYMAIL_GNOMEVFS, glib-2.0 >= 2.8 gobject-2.0 gnome-vfs-2.0)
 else
   LIBTINYMAIL_GNOMEVFS_CFLAGS=
   LIBTINYMAIL_GNOMEVFS_LIBS=
   extragtkpkgs=
   extratnypkgs=
 fi
+
 AC_SUBST(LIBTINYMAIL_GNOMEVFS_CFLAGS)
 AC_SUBST(LIBTINYMAIL_GNOMEVFS_LIBS)
 
@@ -371,6 +377,7 @@
 fi
 
 
+AM_CONDITIONAL(BUILD_MAEMO, test x$build_maemo = xtrue)
 
 
 
Index: Makefile.am
===================================================================
--- Makefile.am	(revisión: 1918)
+++ Makefile.am	(copia de trabajo)
@@ -16,6 +16,10 @@
 SUBDIRS += libtinymailui-mozembed 
 endif
 
+if BUILD_MAEMO
+SUBDIRS += libtinymail-gnomevfs
+endif
+
 SUBDIRS += libtinymail-camel $(PLATFORMDIR) 
 
 if BUILD_ACAP


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