--- dates-0.4.11.orig/debian/changelog
+++ dates-0.4.11/debian/changelog
@@ -0,0 +1,183 @@
+dates (0.4.11-0ubuntu0moblin1) karmic; urgency=low
+
+  * New upstream release
+  * desktop-change-name.patch: Dropped, Moblin dropped it too.
+
+ -- Michael Terry <michael.terry@canonical.com>  Wed, 21 Oct 2009 14:48:39 -0400
+
+dates (0.4.8-1ubuntu1moblin3) karmic; urgency=low
+
+  * Rebuild for karmic.
+
+ -- Chris Cheney <chris.cheney@canonical.com>  Wed, 23 Sep 2009 11:00:00 -0500
+
+dates (0.4.8-1ubuntu1moblin2) jaunty; urgency=low
+
+  * debian/control: build against eds-dbus
+
+ -- Michael Terry <michael.terry@canonical.com>  Tue, 18 Aug 2009 15:14:24 -0400
+
+dates (0.4.8-1ubuntu1moblin1) jaunty; urgency=low
+
+  * debian/patches/desktop-change-name.patch: "Dates" to "Calendar" (from
+    Moblin packaging)
+  * debian/patches/dates-window-size-moblin.patch: Hard code a different
+    window size and zoom more fitting for moblin. (from Moblin packaging)
+
+ -- Michael Terry <michael.terry@canonical.com>  Mon, 17 Aug 2009 12:17:39 -0400
+
+dates (0.4.8-1ubuntu1) karmic; urgency=low
+
+  * merge from debian/unstable, remaining changes:
+    - 02_ubuntu_desktop_file_location.patch: Only install the desktop-file
+      to /usr/share/applications
+
+ -- Andreas Moog <amoog@ubuntu.com>  Thu, 23 Jul 2009 13:31:05 +0200
+
+dates (0.4.8-1) unstable; urgency=low
+
+  * New upstream release, acknowlege NMUs
+  * Remove 02_fix-missing-includes.patch, fixed upstream.
+  * Bump Standards
+
+ -- Ross Burton <ross@debian.org>  Wed, 22 Jul 2009 21:27:46 +0100
+
+dates (0.4.6-1.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTBFS due to missing GETTEXT_PACKAGE by including <config.h> where
+    needed, thanks to Elías A. M. for the patch (Closes: #527679):
+     - 02_fix-missing-includes.patch
+  * Set urgency to “medium” as this bug affects testing too.
+
+ -- Cyril Brulebois <kibi@debian.org>  Sun, 19 Jul 2009 19:00:59 +0200
+
+dates (0.4.6-1.1ubuntu2) karmic; urgency=low
+
+  * Dump 03_ubuntu_desktop_file_onlyshowin.patch, it isn't needed any more. 
+
+ -- Steve Kowalik <stevenk@ubuntu.com>  Thu, 04 Jun 2009 19:46:54 +1000
+
+dates (0.4.6-1.1ubuntu1) karmic; urgency=low
+
+  * Merge from debian unstable, remaining changes:
+    - debian/patches
+        - 02_ubuntu_desktop_file_location.patch: Only install the .desktop file to
+          /usr/share/applications.
+        - 03_ubuntu_desktop_file_onlyshowin.patch: Add OnlyShowIn to the .desktop file.
+        - 04_missing_configh_include.patch:
+          Fix FTBFS due to missing include of config.h (LP: #356039)
+
+ -- Andreas Moog <amoog@ubuntu.com>  Tue, 02 Jun 2009 20:17:58 +0200
+
+dates (0.4.6-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * 01_hildon-includes.patch: patch from Riku Voipio to add missing 
+    hildon includes. Closes: #519633.
+
+ -- Josselin Mouette <joss@debian.org>  Mon, 23 Mar 2009 21:00:50 +0100
+
+dates (0.4.6-1ubuntu1) intrepid; urgency=low
+
+  * Add two patches:
+    - desktop-file-location.patch: Only install the .desktop file to
+      /usr/share/applications.
+    - desktop-file-onlyshowin.patch: Add OnlyShowIn to the .desktop file.
+  * Munge Maintainer as per spec.
+
+ -- Steve Kowalik <stevenk@ubuntu.com>  Wed, 07 May 2008 16:46:25 +1000
+
+dates (0.4.6-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Rob Bradford <robster@debian.org>  Wed, 27 Feb 2008 12:04:28 +0000
+
+dates (0.4.5-1) unstable; urgency=low
+
+  [ Loic Minier ]
+  
+  * New upstream release.
+    - Drop temporary usr/include and usr/lib exclusion hack.
+  * Rework to build a Hildon flavor of the package.
+    - New binary package dates-hildon; add conflicts with dates and update
+      descriptions; add install files for both packages.
+    - Add build hooks for configure, build, and install to add flavor /
+      package specific rules and configure flags.
+    - Build-dep on libhildon-1-dev (>= 0.12.0), libdbus-1-dev, libosso-dev for
+      the Hildon flavor.
+  * Include CDBS' utils for list-missing.
+
+  [ Ross Burton ]
+  * Update Standards Version
+  * Add explicit Copyright statement to debian/copyright
+  
+ -- Ross Burton <ross@debian.org>  Wed, 20 Feb 2008 16:06:27 +0000
+
+dates (0.4.4-1) unstable; urgency=low
+
+  * New upstream release.
+  * Remove old libglade build-dep
+  * Remove libgtkdatesview packages
+
+ -- Ross Burton <ross@debian.org>  Thu, 12 Jul 2007 20:56:31 +0100
+
+dates (0.4.3-1) unstable; urgency=low
+
+  * New upstream release.
+  * Update Standards.
+
+ -- Ross Burton <ross@debian.org>  Tue,  5 Jun 2007 09:17:18 +0100
+
+dates (0.4.1-2) unstable; urgency=low
+
+  * Rebuild for new EDS.
+
+ -- Ross Burton <ross@debian.org>  Wed, 25 Apr 2007 16:25:46 +0100
+
+dates (0.4.1-1) unstable; urgency=low
+
+  * New upstream release.
+  * Add Rob as an uploader
+
+ -- Ross Burton <ross@debian.org>  Fri, 13 Apr 2007 14:41:31 +0100
+
+dates (0.4.0-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Rob Bradford <rob@openedhand.com>  Thu, 12 Apr 2007 16:55:14 +0100
+
+dates (0.3.1-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Ross Burton <ross@debian.org>  Sat,  3 Feb 2007 18:27:06 +0000
+
+dates (0.3-2) unstable; urgency=low
+
+  * Actually install the man page.
+
+ -- Ross Burton <ross@debian.org>  Fri,  2 Feb 2007 16:35:55 +0000
+
+dates (0.3-1) unstable; urgency=low
+
+  * New upstream release
+    - Add man page (Closes: #402206)
+
+ -- Ross Burton <ross@debian.org>  Fri,  2 Feb 2007 14:29:42 +0000
+
+dates (0.2-1) unstable; urgency=low
+
+  * New upstream release.
+  * Add evolution-data-server dependency.
+
+ -- Ross Burton <ross@debian.org>  Tue,  5 Dec 2006 11:19:31 +0000
+
+dates (0.1-1) unstable; urgency=low
+
+  * Initial release.
+
+ -- Ross Burton <ross@debian.org>  Mon, 17 Jul 2006 16:34:37 +0100
+
--- dates-0.4.11.orig/debian/dates-hildon.install
+++ dates-0.4.11/debian/dates-hildon.install
@@ -0,0 +1,8 @@
+etc
+usr/bin
+usr/share/applications
+usr/share/dates
+usr/share/dbus-1/services
+usr/share/icons
+usr/share/locale
+usr/share/man
--- dates-0.4.11.orig/debian/control
+++ dates-0.4.11/debian/control
@@ -0,0 +1,32 @@
+Source: dates
+Section: gnome
+Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
+XSBC-Original-Maintainer: Ross Burton <ross@debian.org>
+Uploaders: Rob Bradford <robster@debian.org>
+Priority: optional
+Build-Depends: debhelper (>= 4.0.0), cdbs, autotools-dev, intltool, libgtk2.0-dev, libgconf2-dev, libecaldbus1.2-dev (>= 1.8), libhildon-1-dev (>= 0.12.0), libdbus-1-dev, libosso-dev
+Standards-Version: 3.8.2
+
+Package: dates
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, evolution-data-server-dbus
+Conflicts: dates-hildon
+Description: a calendar optimised for embedded devices
+ Dates is a small, lightweight calendar.  Dates features an innovative, unified,
+ zooming view and is designed for use on hand-held devices, such as the Nokia
+ 770 or the Sharp Zaurus series of PDAs.
+ .
+ This flavour is suitable for desktop systems such as GNOME; for the Hildon
+ flavour of Dates, see the dates-hildon package.
+
+Package: dates-hildon
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, evolution-data-server-dbus
+Conflicts: dates
+Description: a calendar optimised for embedded devices - Hildon flavour
+ Dates is a small, lightweight calendar.  Dates features an innovative, unified,
+ zooming view and is designed for use on hand-held devices, such as the Nokia
+ 770 or the Sharp Zaurus series of PDAs.
+ .
+ This flavour is suitable for the Hildon Desktop; for other desktop systems such
+ as GNOME, see the dates package.
--- dates-0.4.11.orig/debian/compat
+++ dates-0.4.11/debian/compat
@@ -0,0 +1 @@
+4
--- dates-0.4.11.orig/debian/copyright
+++ dates-0.4.11/debian/copyright
@@ -0,0 +1,54 @@
+This package was debianized by Ross Burton <ross@debian.org> on
+Mon, 17 Jul 2006 16:33:58 +0100.
+
+It was downloaded from http://projects.o-hand.com/dates/
+
+Copyright (C) 2005-2008 OpenedHand Ltd
+
+Upstream Author: Chris Lord <chris@openedhand.com>
+
+Copyright:
+
+Portions of the software are licensed under the GPL:
+
+   This package 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; version 2 dated June, 1991.
+
+   This package 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 package; if not, write to the Free Software Foundation, Inc., 51
+   Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
+On Debian GNU/Linux systems, the complete text of the GNU General Public License
+can be found in `/usr/share/common-licenses/GPL-2'.
+
+
+Other portions are licensed under the LGPL:
+
+   This library is free software; you can redistribute it and/or modify it under
+   the terms of the GNU Lesser 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 Lesser General Public License for more
+   details.
+
+   You should have received a copy of the GNU Lesser 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.
+
+On Debian GNU/Linux systems, the complete text of the GNU General Public License
+can be found in `/usr/share/common-licenses/LGPL'.
+
+
+Executive Summary:
+
+  The GtkDatesView library (/usr/lib/libgtkdatesview.so.*) is LGPL.  The Dates
+  executable itself is GPL.
--- dates-0.4.11.orig/debian/dates.install
+++ dates-0.4.11/debian/dates.install
@@ -0,0 +1,6 @@
+usr/bin
+usr/share/applications
+usr/share/dates
+usr/share/icons
+usr/share/locale
+usr/share/man
--- dates-0.4.11.orig/debian/rules
+++ dates-0.4.11/debian/rules
@@ -0,0 +1,46 @@
+#!/usr/bin/make -f
+
+# build each flavor in a different dir
+BUILDBASEDIR := $(CURDIR)/debian/build
+DEB_BUILDDIR := $(BUILDBASEDIR)/standard
+DEB_BUILDDIR_dates-hildon := $(BUILDBASEDIR)/hildon
+
+include /usr/share/cdbs/1/class/autotools.mk
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/utils.mk
+include /usr/share/cdbs/1/class/gnome.mk
+
+# Optimise the linking and only depend on directly required libraries
+DEB_CONFIGURE_SCRIPT_ENV += LDFLAGS="-Wl,-O1 -Wl,--as-needed"
+
+# install each build flavor into a different dir
+INSTALLBASEDIR := $(CURDIR)/debian/tmp
+DEB_DESTDIR := $(INSTALLBASEDIR)/standard
+DEB_DESTDIR_dates-hildon := $(INSTALLBASEDIR)/hildon
+# and teach dh_install about it
+DEB_DH_INSTALL_ARGS = --sourcedir=$(if $(findstring dates-hildon,$(cdbs_curpkg)),$(DEB_DESTDIR_dates-hildon),$(DEB_DESTDIR))
+
+# Hildon flavor flags
+DEB_CONFIGURE_HILDON_FLAGS += --enable-hildon
+
+configure/dates-hildon:: $(DEB_BUILDDIR_dates-hildon)/config.status
+$(DEB_BUILDDIR_dates-hildon)/config.status:
+	cd $(DEB_BUILDDIR_dates-hildon) && \
+		$(DEB_CONFIGURE_SCRIPT_ENV) \
+			$(DEB_CONFIGURE_SCRIPT) \
+				$(DEB_CONFIGURE_NORMAL_ARGS) \
+				$(cdbs_configure_flags) \
+				$(DEB_CONFIGURE_EXTRA_FLAGS) \
+				$(DEB_CONFIGURE_USER_FLAGS) \
+				$(DEB_CONFIGURE_HILDON_FLAGS)
+
+build/dates-hildon::
+	make -C $(DEB_BUILDDIR_dates-hildon)
+
+install/dates-hildon::
+	make -C $(DEB_BUILDDIR_dates-hildon) install DESTDIR=$(DEB_DESTDIR_dates-hildon)
+
+clean::
+	rm -rf $(BUILDBASEDIR)
+
--- dates-0.4.11.orig/debian/patches/01_hildon-includes.patch
+++ dates-0.4.11/debian/patches/01_hildon-includes.patch
@@ -0,0 +1,14 @@
+diff -urN orig/dates-0.4.6/src/dates_callbacks.c 
+dates-0.4.6/src/dates_callbacks.c
+--- orig/dates-0.4.6/src/dates_callbacks.c      2008-02-27 
+11:04:52.000000000 +0000
++++ dates-0.4.6/src/dates_callbacks.c   2009-03-14 19:40:15.000000000 
++0000
+@@ -30,6 +30,7 @@
+
+ #ifdef WITH_HILDON
+ #include <libosso.h>
++#include <hildon/hildon-defines.h>
+ #include <hildon/hildon-window.h>
+ #include <hildon/hildon-program.h>
+ #include <hildon/hildon-time-editor.h>
--- dates-0.4.11.orig/debian/patches/02_ubuntu_desktop_file_location.patch
+++ dates-0.4.11/debian/patches/02_ubuntu_desktop_file_location.patch
@@ -0,0 +1,28 @@
+diff -Nur dates-0.4.6/data/Makefile.am dates-0.4.6.new/data/Makefile.am
+--- dates-0.4.6/data/Makefile.am	2008-02-27 21:13:02.000000000 +1100
++++ dates-0.4.6.new/data/Makefile.am	2008-05-07 15:22:04.000000000 +1000
+@@ -3,11 +3,7 @@
+ uidir = $(pkgdatadir)
+ ui_DATA = oh-about-logo.png
+ 
+-if WITH_HILDON
+-desktopdir = $(datadir)/applications/hildon
+-else
+ desktopdir = $(datadir)/applications
+-endif
+ 
+ desktop_in_files = dates.desktop.in
+ desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
+diff -Nur dates-0.4.6/data/Makefile.in dates-0.4.6.new/data/Makefile.in
+--- dates-0.4.6/data/Makefile.in	2008-02-27 22:36:46.000000000 +1100
++++ dates-0.4.6.new/data/Makefile.in	2008-05-07 15:23:47.000000000 +1000
+@@ -228,8 +225,7 @@
+ man1_MANS = dates.1
+ uidir = $(pkgdatadir)
+ ui_DATA = oh-about-logo.png
+-@WITH_HILDON_FALSE@desktopdir = $(datadir)/applications
+-@WITH_HILDON_TRUE@desktopdir = $(datadir)/applications/hildon
++desktopdir = $(datadir)/applications
+ desktop_in_files = dates.desktop.in
+ desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
+ @WITH_HILDON_TRUE@servicedir = $(datadir)/dbus-1/services
--- dates-0.4.11.orig/debian/patches/dates-window-size-moblin.patch
+++ dates-0.4.11/debian/patches/dates-window-size-moblin.patch
@@ -0,0 +1,28 @@
+diff --git a/src/dates_gtk.c b/src/dates_gtk.c
+index 30bf86c..a91b312 100644
+--- a/src/dates_gtk.c
++++ b/src/dates_gtk.c
+@@ -51,7 +51,8 @@ create_main_window (DatesData * d, GtkWidget * toolbar,
+ 
+ 	d->main_window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
+ 	gtk_window_set_title (GTK_WINDOW (d->main_window), _("Dates"));
+-	gtk_window_set_default_size (GTK_WINDOW (d->main_window), 480, 360);
++	gtk_window_set_default_size (GTK_WINDOW (d->main_window), 964, 540);
++	gtk_window_set_position (GTK_WINDOW (d->main_window), GTK_WIN_POS_CENTER);
+ 
+ 	main_vbox = gtk_vbox_new (FALSE, 0);
+ 	gtk_widget_show (main_vbox);
+diff --git a/src/dates_main.c b/src/dates_main.c
+index ce05fe8..a9c77e4 100644
+--- a/src/dates_main.c
++++ b/src/dates_main.c
+@@ -438,7 +438,8 @@ main (int argc, char **argv)
+ 	if (!client) {
+ 		g_error ("Failed to retrieve default gconf client");
+ 	}
+-	data.zoom    = gconf_client_get_int (client, DATES_GCONF_ZOOM, NULL);
++	//data.zoom    = gconf_client_get_int (client, DATES_GCONF_ZOOM, NULL);
++	data.zoom    =  16;
+ 	data.comp    = NULL;
+ 	data.widgets = NULL;
+ 	data.waiting = NONE;
