--- libtinymail-0.0.6.orig/debian/patches/build_gtkhtml.dpatch +++ libtinymail-0.0.6/debian/patches/build_gtkhtml.dpatch @@ -0,0 +1,31 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## build_gtkhtml.dpatch by Steve Kowalik +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Set build_gtkhtml to true if we turn it on ... + +@DPATCH@ +diff -urNad libtinymail-0.0.6~/configure libtinymail-0.0.6/configure +--- libtinymail-0.0.6~/configure 2007-12-24 05:07:26.000000000 +1100 ++++ libtinymail-0.0.6/configure 2008-01-04 10:58:54.000000000 +1100 +@@ -24590,7 +24590,7 @@ + gtkhtml) + build_webkit=false + build_mozembed=false +- build_gtkhtml=false ++ build_gtkhtml=true + build_demoui=true + ;; + none) +diff -urNad libtinymail-0.0.6~/configure.ac libtinymail-0.0.6/configure.ac +--- libtinymail-0.0.6~/configure.ac 2007-12-24 04:39:55.000000000 +1100 ++++ libtinymail-0.0.6/configure.ac 2008-01-04 10:58:47.000000000 +1100 +@@ -139,7 +139,7 @@ + gtkhtml) + build_webkit=false + build_mozembed=false +- build_gtkhtml=false ++ build_gtkhtml=true + build_demoui=true + ;; + none) --- libtinymail-0.0.6.orig/debian/patches/00list +++ libtinymail-0.0.6/debian/patches/00list @@ -0,0 +1 @@ +build_gtkhtml --- libtinymail-0.0.6.orig/debian/patches/xul-fixes.dpatch +++ libtinymail-0.0.6/debian/patches/xul-fixes.dpatch @@ -0,0 +1,29 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## xul-fixes.dpatch by Steve Kowalik +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Make sure we use the unstable gtkmozembed headers. + +@DPATCH@ +diff -urNad libtinymail-0.0.6~/configure libtinymail-0.0.6/configure +--- libtinymail-0.0.6~/configure 2007-12-24 05:07:26.000000000 +1100 ++++ libtinymail-0.0.6/configure 2008-01-03 11:15:39.000000000 +1100 +@@ -26358,6 +26358,7 @@ + echo "${ECHO_T}yes" >&6; } + : + fi ++ LIBTINYMAILUI_MOZEMBED_CFLAGS="${LIBTINYMAILUI_MOZEMBED_CFLAGS} `$PKG_CONFIG --cflags --define-variable=includetype=unstable $mozilla_gtkmozembed`" + MOZILLA_HOME="$mozilla_home" + + cat >>confdefs.h <<_ACEOF +diff -urNad libtinymail-0.0.6~/configure.ac libtinymail-0.0.6/configure.ac +--- libtinymail-0.0.6~/configure.ac 2007-12-24 04:39:55.000000000 +1100 ++++ libtinymail-0.0.6/configure.ac 2008-01-03 11:15:23.000000000 +1100 +@@ -370,6 +370,7 @@ + extraplatpkgs="$mozilla_xpcom $mozilla_gtkmozembed" + extratnypkgs="$extratnypkgs $extraplatpkgs" + PKG_CHECK_MODULES(LIBTINYMAILUI_MOZEMBED, $extraplatpkgs glib-2.0 >= 2.8 gobject-2.0 gtk+-2.0 $extragtkpkgs) ++ LIBTINYMAILUI_MOZEMBED_CFLAGS="${LIBTINYMAILUI_MOZEMBED_CFLAGS} `$PKG_CONFIG --cflags --define-variable=includetype=unstable $mozilla_gtkmozembed`" + MOZILLA_HOME="$mozilla_home" + AC_DEFINE_UNQUOTED(MOZILLA_HOME,"$mozilla_home",["The path of the mozilla engine"]) + else --- libtinymail-0.0.6.orig/debian/control +++ libtinymail-0.0.6/debian/control @@ -0,0 +1,209 @@ +Source: libtinymail +Section: mail +Priority: optional +Maintainer: Ubuntu Mobile Developers +Standards-Version: 3.7.2 +Build-Depends: debhelper (>= 5), pkg-config, libgtk2.0-dev, libgnomevfs2-dev, libgnomeui-dev, libgnome-keyring-dev, libgtkhtml3.14-dev, libnm-glib-dev, libosso-dev, libtelepathy-glib-dev, dpatch + +Package: libtinymail-1.0-0 +Architecture: any +Depends: ${shlibs:Depends} +Description: Framework for mobile applications with e-mail + Tinymail is a library for developing mobile applications with e-mail + functionality. The framework provides components that aid the developer + with the user interface and, of course also with the connectivity and the + caching of messages. + . + It supports local mail storage (Maildir, mh, spool & mbox), IMAP, POP and + NNTP. It can also be used to send messages over SMTP and by using sendmail. + . + This package contains the shared libraries, along with a demo UI. + +Package: libtinymail-dev +Architecture: any +Depends: libtinymail-1.0-0 (= ${binary:Version}) +Description: Framework for mobile applications with e-mail + Tinymail is a library for developing mobile applications with e-mail + functionality. The framework provides components that aid the developer + with the user interface and, of course also with the connectivity and the + caching of messages. + . + It supports local mail storage (Maildir, mh, spool & mbox), IMAP, POP and + NNTP. It can also be used to send messages over SMTP and by using sendmail. + . + This package contains the static libraries, along with the include files. + +Package: libtinymail-gnomevfs-1.0-0 +Architecture: any +Depends: ${shlibs:Depends} +Description: Framework for mobile applications with e-mail - GnomeVFS library + Tinymail is a library for developing mobile applications with e-mail + functionality. The framework provides components that aid the developer + with the user interface and, of course also with the connectivity and the + caching of messages. + . + It supports local mail storage (Maildir, mh, spool & mbox), IMAP, POP and + NNTP. It can also be used to send messages over SMTP and by using sendmail. + . + This package contains the shared libraries utilising GnomeVFS. + +Package: libtinymail-gnomevfs-dev +Architecture: any +Depends: libtinymail-gnomevfs-1.0-0 (= ${binary:Version}) +Description: Framework for mobile applications with e-mail - GnomeVFS library + Tinymail is a library for developing mobile applications with e-mail + functionality. The framework provides components that aid the developer + with the user interface and, of course also with the connectivity and the + caching of messages. + . + It supports local mail storage (Maildir, mh, spool & mbox), IMAP, POP and + NNTP. It can also be used to send messages over SMTP and by using sendmail. + . + This package contains the static libraries utilising GnomeVFS, along with + include files. + +Package: libtinymail-camel-1.0-0 +Architecture: any +Depends: ${shlibs:Depends} +Description: Framework for mobile applications with e-mail - Camel library + Tinymail is a library for developing mobile applications with e-mail + functionality. The framework provides components that aid the developer + with the user interface and, of course also with the connectivity and the + caching of messages. + . + It supports local mail storage (Maildir, mh, spool & mbox), IMAP, POP and + NNTP. It can also be used to send messages over SMTP and by using sendmail. + . + This package contains the shared libraries utilising Camel, and Camel-Lite. + +Package: libtinymail-camel-dev +Architecture: any +Depends: libtinymail-camel-1.0-0 (= ${binary:Version}) +Description: Framework for mobile applications with e-mail - Camel library + Tinymail is a library for developing mobile applications with e-mail + functionality. The framework provides components that aid the developer + with the user interface and, of course also with the connectivity and the + caching of messages. + . + It supports local mail storage (Maildir, mh, spool & mbox), IMAP, POP and + NNTP. It can also be used to send messages over SMTP and by using sendmail. + . + This package contains the static libraries utilising Camel and Camel-Lite, + along with the associated include files. + +Package: libtinymail-maemo-1.0-0 +Architecture: any +Depends: ${shlibs:Depends} +Description: Framework for mobile applications with e-mail - Maemo library + Tinymail is a library for developing mobile applications with e-mail + functionality. The framework provides components that aid the developer + with the user interface and, of course also with the connectivity and the + caching of messages. + . + It supports local mail storage (Maildir, mh, spool & mbox), IMAP, POP and + NNTP. It can also be used to send messages over SMTP and by using sendmail. + . + This package contains the shared libraries utilising Maemo. + +Package: libtinymail-maemo-dev +Architecture: any +Depends: libtinymail-maemo-1.0-0 (= ${binary:Version}) +Description: Framework for mobile applications with e-mail - Maemo library + Tinymail is a library for developing mobile applications with e-mail + functionality. The framework provides components that aid the developer + with the user interface and, of course also with the connectivity and the + caching of messages. + . + It supports local mail storage (Maildir, mh, spool & mbox), IMAP, POP and + NNTP. It can also be used to send messages over SMTP and by using sendmail. + . + This package contains the static libraries utilising Maemo, along with + include files. + +Package: libtinymailui-1.0-0 +Architecture: any +Depends: ${shlibs:Depends} +Description: Framework for mobile applications with e-mail - UI library + Tinymail is a library for developing mobile applications with e-mail + functionality. The framework provides components that aid the developer + with the user interface and, of course also with the connectivity and the + caching of messages. + . + It supports local mail storage (Maildir, mh, spool & mbox), IMAP, POP and + NNTP. It can also be used to send messages over SMTP and by using sendmail. + . + This package contains the shared libraries for the UI. + +Package: libtinymailui-dev +Architecture: any +Depends: libtinymailui-1.0-0 (= ${binary:Version}) +Description: Framework for mobile applications with e-mail - UI library + Tinymail is a library for developing mobile applications with e-mail + functionality. The framework provides components that aid the developer + with the user interface and, of course also with the connectivity and the + caching of messages. + . + It supports local mail storage (Maildir, mh, spool & mbox), IMAP, POP and + NNTP. It can also be used to send messages over SMTP and by using sendmail. + . + This package contains the static libraries for the UI, along with the + include files. + +Package: libtinymailui-gtk-1.0-0 +Architecture: any +Depends: ${shlibs:Depends} +Description: Framework for mobile applications with e-mail - GTK library + Tinymail is a library for developing mobile applications with e-mail + functionality. The framework provides components that aid the developer + with the user interface and, of course also with the connectivity and the + caching of messages. + . + It supports local mail storage (Maildir, mh, spool & mbox), IMAP, POP and + NNTP. It can also be used to send messages over SMTP and by using sendmail. + . + This package contains the shared libraries utilising GTK for the UI library. + +Package: libtinymailui-gtk-dev +Architecture: any +Depends: libtinymailui-gtk-1.0-0 (= ${binary:Version}) +Description: Framework for mobile applications with e-mail - GTK library + Tinymail is a library for developing mobile applications with e-mail + functionality. The framework provides components that aid the developer + with the user interface and, of course also with the connectivity and the + caching of messages. + . + It supports local mail storage (Maildir, mh, spool & mbox), IMAP, POP and + NNTP. It can also be used to send messages over SMTP and by using sendmail. + . + This package contains the static libraries utilising GTK for the UI library, + along with include files. + +Package: libtinymail-tp-1.0-0 +Architecture: any +Depends: ${shlibs:Depends} +Description: Framework for mobile applications with e-mail - Telepathy library + Tinymail is a library for developing mobile applications with e-mail + functionality. The framework provides components that aid the developer + with the user interface and, of course also with the connectivity and the + caching of messages. + . + It supports local mail storage (Maildir, mh, spool & mbox), IMAP, POP and + NNTP. It can also be used to send messages over SMTP and by using sendmail. + . + This package contains the shared libraries utilising Telepathy. + +Package: libtinymail-tp-dev +Architecture: any +Depends: libtinymail-tp-1.0-0 (= ${binary:Version}) +Description: Framework for mobile applications with e-mail - Telepathy library + Tinymail is a library for developing mobile applications with e-mail + functionality. The framework provides components that aid the developer + with the user interface and, of course also with the connectivity and the + caching of messages. + . + It supports local mail storage (Maildir, mh, spool & mbox), IMAP, POP and + NNTP. It can also be used to send messages over SMTP and by using sendmail. + . + This package contains the static libraries utilising Telepathy, along with + include files. + --- libtinymail-0.0.6.orig/debian/rules +++ libtinymail-0.0.6/debian/rules @@ -0,0 +1,57 @@ +#!/usr/bin/make -f + +include /usr/share/dpatch/dpatch.make + +build: patch build-stamp + +build-stamp: + dh_testdir + + # Add here commands to compile the package. + ./configure --prefix=/usr --with-platform=maemo --enable-demoui --enable-gnome --enable-tp --with-html-component=gtkhtml + $(MAKE) + +clean: clean-patched unpatch +clean-patched: + dh_testdir + dh_testroot + rm -f build-stamp + + # Add here commands to clean up after the build process. + [ ! -f Makefile ] || $(MAKE) distclean + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/tmp + $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installdocs -a + dh_installchangelogs ChangeLog + dh_install --sourcedir=debian/tmp --fail-missing + dh_link -a + dh_strip -a + dh_compress -a + dh_fixperms -a + dh_makeshlibs -V -a + dh_installdeb -a + dh_shlibdeps -a + dh_gencontrol -a + dh_md5sums -a + dh_builddeb -a + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install + --- libtinymail-0.0.6.orig/debian/compat +++ libtinymail-0.0.6/debian/compat @@ -0,0 +1 @@ +5 --- libtinymail-0.0.6.orig/debian/changelog +++ libtinymail-0.0.6/debian/changelog @@ -0,0 +1,62 @@ +libtinymail (0.0.6-0ubuntu2) hardy; urgency=low + + * Actually remember a conversation that happened late last year and use + GtkHTML instead of xulrunner. + + -- Steve Kowalik Fri, 04 Jan 2008 09:56:53 +1100 + +libtinymail (0.0.6-0ubuntu1) hardy; urgency=low + + * New upstream release. + * Patches dropped, fixed upstream: + - Compile libtinymailui-gnome-keyring with -fPIC. + - Pull down tny-maemo-device-priv.h from SVN. + - Disables conic if it doesn't exist. + - Add some UI locker functions from SVN. + * xulrunner-1.9 has changed libxul-embedding-1.9 to libxul-embedding, so + twiddle debian/rules. + * Rip out 99.9% of the gtkmozembed 1.9 patch, replacing it with one that + only makes sure we use the unstable headers. + + -- Steve Kowalik Thu, 03 Jan 2008 11:50:42 +1100 + +libtinymail (0.0.5-0ubuntu2) hardy; urgency=low + + [ Loic Minier ] + * Update xul patch to provide configure flags for misc Mozilla pkg-config + modules and to look for libxul-embedding for xpcom and gtkmozembed; set + the nss and nspr modules to "no" via configure flags (as to disable them) + and set gtkmozembed and xpcom modules to libxul-embedding-1.9 for now. + * Use ${binary:Version} instead of ${source:Version} for dependencies across + arch: any packages. + * Honor make distclean failures. + * Fix typo in libtinymail-tp-dev depends (use libtinymail-tp-1.0-0 instead + of -telepathy). + + [ Steve Kowalik ] + * Add a patch from SVN to add some UI locker functions. + + -- Steve Kowalik Wed, 05 Dec 2007 11:55:31 +1100 + +libtinymail (0.0.5-0ubuntu1) hardy; urgency=low + + * New upstream release. + * Add a patch that disables conic if it doesn't exist. + + -- Steve Kowalik Tue, 27 Nov 2007 13:08:28 +1100 + +libtinymail (0.0.4-0ubuntu1) hardy; urgency=low + + * New upstream release. + + -- Steve Kowalik Fri, 09 Nov 2007 09:34:48 +1100 + +libtinymail (0.0.2-0ubuntu1) gutsy; urgency=low + + * Initial release. + * Patches added: + - Compile libtinymailui-gnome-keyring with -fPIC. + - Pull down tny-maemo-device-priv.h from SVN. + + -- Steve Kowalik Fri, 12 Oct 2007 11:21:12 +1000 + --- libtinymail-0.0.6.orig/debian/copyright +++ libtinymail-0.0.6/debian/copyright @@ -0,0 +1,55 @@ +This is libtinymail, a framework for using e-mail on mobile devices. It was +first Debianized on Wed, 3 Oct 2007 15:55:45 +1000 by Steve Kowalik + + +Upstream Author: Philip Van Hoof + +The following copyright applies to all of files in this package, with the +following exceptions: libtinymail-test/*.c, tests/c-demo/*.c, +tests/shared/account-store.h, tests/memory/memory-test.c, tests/functional/*.c + + Copyright (C) 2006-2007 Philip Van Hoof + All rights reserved. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with this library; if not, write to the + Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, + Boston, MA 02110-1301, USA. + +The complete text of the LGPL can be found in /usr/share/common-licenses/LGPL +on Debian systems. + +The following files are under the following copyright: libtinymail-test/*.c, +tests/c-demo/*.c, tests/shared/account-store.h, tests/memory/memory-test.c, +tests/functional/*.c + + Copyright (C) 2006-2007 Philip Van Hoof + All rights reserved. + + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU General Public License as published by the Free + Software Foundation; either version 2 of the License, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + +The complete text of the GPL can be found in /usr/share/common-licenses/GPL +on Debian systems. + --- libtinymail-0.0.6.orig/debian/libtinymail-gnomevfs-1.0-0.install +++ libtinymail-0.0.6/debian/libtinymail-gnomevfs-1.0-0.install @@ -0,0 +1 @@ +usr/lib/libtinymail-gnomevfs-1.0.so.* --- libtinymail-0.0.6.orig/debian/libtinymail-dev.install +++ libtinymail-0.0.6/debian/libtinymail-dev.install @@ -0,0 +1,5 @@ +usr/include/libtinymail-1.0/* +usr/lib/libtinymail-1.0.so +usr/lib/libtinymail-1.0.a +usr/lib/libtinymail-1.0.la +usr/lib/pkgconfig/libtinymail-1.0.pc --- libtinymail-0.0.6.orig/debian/libtinymail-maemo-1.0-0.install +++ libtinymail-0.0.6/debian/libtinymail-maemo-1.0-0.install @@ -0,0 +1 @@ +usr/lib/libtinymail-maemo-1.0.so.* --- libtinymail-0.0.6.orig/debian/libtinymailui-1.0-0.install +++ libtinymail-0.0.6/debian/libtinymailui-1.0-0.install @@ -0,0 +1 @@ +usr/lib/libtinymailui-1.0.so.* --- libtinymail-0.0.6.orig/debian/libtinymail-gnomevfs-dev.install +++ libtinymail-0.0.6/debian/libtinymail-gnomevfs-dev.install @@ -0,0 +1,5 @@ +usr/include/libtinymail-gnomevfs-1.0/* +usr/lib/libtinymail-gnomevfs-1.0.so +usr/lib/libtinymail-gnomevfs-1.0.a +usr/lib/libtinymail-gnomevfs-1.0.la +usr/lib/pkgconfig/libtinymail-gnomevfs-1.0.pc --- libtinymail-0.0.6.orig/debian/libtinymailui-gtk-1.0-0.install +++ libtinymail-0.0.6/debian/libtinymailui-gtk-1.0-0.install @@ -0,0 +1 @@ +usr/lib/libtinymailui-gtk-1.0.so.* --- libtinymail-0.0.6.orig/debian/libtinymail-camel-dev.install +++ libtinymail-0.0.6/debian/libtinymail-camel-dev.install @@ -0,0 +1,17 @@ +usr/include/libtinymail-camel-1.0/* +usr/include/libedataserver-lite/* +usr/include/camel-lite/* +usr/lib/libtinymail-camel-1.0.so +usr/lib/libtinymail-camel-1.0.a +usr/lib/libtinymail-camel-1.0.la +usr/lib/libcamel-lite-1.2.so +usr/lib/libcamel-lite-1.2.a +usr/lib/libcamel-lite-1.2.la +usr/lib/libcamel-lite-provider-1.2.so +usr/lib/libcamel-lite-provider-1.2.a +usr/lib/libcamel-lite-provider-1.2.la +usr/lib/camel-lite-1.2/camel-providers/*.a +usr/lib/camel-lite-1.2/camel-providers/*.la +usr/lib/pkgconfig/libtinymail-camel-1.0.pc +usr/lib/pkgconfig/camel-lite-1.2.pc +usr/lib/pkgconfig/camel-lite-provider-1.2.pc --- libtinymail-0.0.6.orig/debian/libtinymail-maemo-dev.install +++ libtinymail-0.0.6/debian/libtinymail-maemo-dev.install @@ -0,0 +1,5 @@ +usr/include/libtinymail-maemo-1.0/* +usr/lib/libtinymail-maemo-1.0.so +usr/lib/libtinymail-maemo-1.0.a +usr/lib/libtinymail-maemo-1.0.la +usr/lib/pkgconfig/libtinymail-maemo-1.0.pc --- libtinymail-0.0.6.orig/debian/libtinymailui-gtk-dev.install +++ libtinymail-0.0.6/debian/libtinymailui-gtk-dev.install @@ -0,0 +1,5 @@ +usr/include/libtinymailui-gtk-1.0/* +usr/lib/libtinymailui-gtk-1.0.so +usr/lib/libtinymailui-gtk-1.0.a +usr/lib/libtinymailui-gtk-1.0.la +usr/lib/pkgconfig/libtinymailui-gtk-1.0.pc --- libtinymail-0.0.6.orig/debian/libtinymailui-dev.install +++ libtinymail-0.0.6/debian/libtinymailui-dev.install @@ -0,0 +1,5 @@ +usr/include/libtinymailui-1.0/* +usr/lib/libtinymailui-1.0.so +usr/lib/libtinymailui-1.0.a +usr/lib/libtinymailui-1.0.la +usr/lib/pkgconfig/libtinymailui-1.0.pc --- libtinymail-0.0.6.orig/debian/libtinymail-1.0-0.install +++ libtinymail-0.0.6/debian/libtinymail-1.0-0.install @@ -0,0 +1,2 @@ +usr/bin/tny-demoui +usr/lib/libtinymail-1.0.so.* --- libtinymail-0.0.6.orig/debian/libtinymail-tp-1.0-0.install +++ libtinymail-0.0.6/debian/libtinymail-tp-1.0-0.install @@ -0,0 +1 @@ +usr/lib/libtinymail-tp-1.0.so.* --- libtinymail-0.0.6.orig/debian/libtinymail-camel-1.0-0.install +++ libtinymail-0.0.6/debian/libtinymail-camel-1.0-0.install @@ -0,0 +1,5 @@ +usr/lib/libtinymail-camel-1.0.so.* +usr/lib/libcamel-lite-1.2.so.* +usr/lib/libcamel-lite-provider-1.2.so.* +usr/lib/camel-lite-1.2/camel-providers/*.so +usr/lib/camel-lite-1.2/camel-providers/*.urls --- libtinymail-0.0.6.orig/debian/libtinymail-tp-dev.install +++ libtinymail-0.0.6/debian/libtinymail-tp-dev.install @@ -0,0 +1,5 @@ +usr/include/libtinymail-tp-1.0/* +usr/lib/libtinymail-tp-1.0.so +usr/lib/libtinymail-tp-1.0.a +usr/lib/libtinymail-tp-1.0.la +usr/lib/pkgconfig/libtinymail-tp-1.0.pc