diff --git a/debian/changelog b/debian/changelog
index 1db2d409375030e568627172ea9eae03279de779..8850d39ede7492c6937f4a91b3ac6adbadcef9d3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,37 @@
+gajim (0.13.1-1) unstable; urgency=low
+
+  * New upstream release. Closes: #559905
+  * Update PyGTK requirement to 2.12.0 minimum
+  * Fix filetransfer proxies testing, keepalive handling, memory leak.
+    Closes: #524514
+  * Better connection. Closes: #547267
+  * Fix proxy test on startup. Closes: #453910
+  * Fix sound playing. Closes: #527275
+  * Update debhelper compatibility level to 7
+
+ -- Yann Leboulanger <asterix@lagaule.org>  Sun, 29 Nov 2009 01:21:04 +0100
+
+gajim (0.12.5-1) unstable; urgency=low
+
+  * New upstream release which fixes file transfer. Closes: #544466
+  * Fix history manager. Closes: #539109
+  * Fix custom host / port usage. Closes: #539267
+  * update python-gnome* dependancies. Closes: #541553
+
+ -- Yann Leboulanger <asterix@lagaule.org>  Sun, 08 Aug 2009 00:06:15 +0100
+
+gajim (0.12.3-1) unstable; urgency=low
+
+  * New upstream release.
+  * OS info are now caches. Closes: #509675
+  * keepalive system has been improved. Closes: #521144
+  * Recommends python-crypto for encryption. Closes: #513892
+  * update to 3.8.2 Debian Policy
+  * update to debhelper V6
+  * added watch file
+
+ -- Yann Leboulanger <asterix@lagaule.org>  Sun, 24 Jun 2009 20:46:15 +0100
+
 gajim (0.12.1-1) unstable; urgency=low
 
   * New upstream release.
diff --git a/debian/compat b/debian/compat
index b8626c4cff2849624fb67f87cd0ad72b163671ad..7f8f011eb73d6043d2e6db9d2c101195ae2801f2 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-4
+7
diff --git a/debian/control b/debian/control
index 1c7c58c887f3310a0f90cbf75a597212788cc6f6..a6820d7e3935bfa0c22ef8669fda3f8e687dc78a 100644
--- a/debian/control
+++ b/debian/control
@@ -1,21 +1,21 @@
 Source: gajim
 Section: net
 Priority: optional
-Maintainer: Yann Le Boulanger <asterix@lagaule.org>
-Build-Depends: debhelper (>= 5.0.37.2), cdbs (>= 0.4.43), python-support (>= 0.7.1), python-dev, libgtk2.0-dev, python-gtk2-dev, libgtkspell-dev, gettext (>= 0.17-4), libxss-dev, intltool (>= 0.40.1), imagemagick, python-central (>= 0.5), libdbus-1-dev
+Maintainer: Yann Leboulanger <asterix@lagaule.org>
+Build-Depends: debhelper (>= 7), cdbs (>= 0.4.43), python-support (>= 0.7.1), python-dev, libgtk2.0-dev, python-gtk2-dev, gettext (>= 0.17-4), intltool (>= 0.40.1), imagemagick, python-central (>= 0.5)
 Build-Conflicts: python2.3
 XS-Python-Version: >= 2.4
-Standards-Version: 3.7.3
+Standards-Version: 3.8.3
 Homepage: http://www.gajim.org
-Vcs-Svn: svn://svn.gajim.org/gajim/
-Vcs-Browser: http://trac.gajim.org/browser
+Vcs-Hg: http://hg.gajim.org/gajim/
+Vcs-Browser: http://hg.gajim.org/gajim/file
 
 Package: gajim
 Architecture: any
 XB-Python-Version: ${python:Versions}
-Depends: python (>= 2.4), python-support (>= 0.7.1), python-glade2 (>= 2.8.0), python-gtk2 (>= 2.12.0), python-pysqlite2 | python (>= 2.5), dnsutils, libc6
-Recommends: dbus, python-dbus, notification-daemon, python-gnupginterface, python-openssl
-Suggests: python-gnome2, nautilus-sendto, avahi-daemon, python-avahi, network-manager, libgtkspell0, aspell-en, python-gnome2-desktop (>= 2.16.0), gnome-keyring, python-sexy, python-kerberos (>= 1.1)
+Depends: ${misc:Depends}, ${shlibs:Depends}, ${python:Depends}, python-support (>= 0.7.1), python-glade2 (>= 2.12.0), python-gtk2 (>= 2.12.0), dnsutils
+Recommends: dbus, python-dbus, notification-daemon, python-gnupginterface, python-openssl, python-crypto
+Suggests: python-gconf, python-gnome2, nautilus-sendto, avahi-daemon, python-avahi, network-manager, libgtkspell0, aspell-en, python-gnomeikeyring, gnome-keyring, python-sexy, python-kerberos (>= 1.1), texlive-latex-base, dvipng
 Description: Jabber client written in PyGTK
  Gajim is a Jabber client. It has a tabbed user interface with normal chats,
  group chats, and has many features such as, TLS, GPG, SSL, multiple accounts,
diff --git a/debian/copyright b/debian/copyright
index a4b8e0515567768441a0ca627a8a1494f8a9f509..a00527a96c6efd9cec732bad06275419e9afa9ec 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -2,12 +2,12 @@ This package was debianized by Yann Leboulanger asterix@lagaule.org on
 Wed, 16 Jun 2005 20:00:00 +0100.
 
 It was downloaded from:
- http://www.gajim.org/downloads/gajim-0.11.0.tar.gz
+ http://www.gajim.org/downloads/gajim-0.13.tar.gz
 
 Upstream Authors:
       - Yann Le Boulanger <asterix@lagaule.org>
-      - Dimitur Kirov <dkirov@gmail.com>
-      - Travis Shirk <travis@pobox.com>
+      - Jean-Marie Traissard <jim@lapin.org>
+      - Stephan Erb <steve-e@h3c.de>
  
 
 Copyright: (c) 2003-2009 Gajim Team
@@ -22,7 +22,7 @@ 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 Debian system; see the file /usr/share/common-licenses/GPL. If not,
+along with Debian system; see the file /usr/share/common-licenses/GPL-3. If not,
 write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
 Boston, MA  02110-1301, USA.
 
diff --git a/debian/gajim.lintian b/debian/gajim.lintian
deleted file mode 100644
index 6380cf3a9c2e20c3287f100d6f8039e83485210b..0000000000000000000000000000000000000000
--- a/debian/gajim.lintian
+++ /dev/null
@@ -1 +0,0 @@
-gajim binary: script-not-executable
diff --git a/debian/gajim.manpages b/debian/gajim.manpages
index 435281b2174e5d3478e628f29c0f61e79525f83b..4cc64fecad3bc03672bb6497d1de649ceeedc734 100644
--- a/debian/gajim.manpages
+++ b/debian/gajim.manpages
@@ -1 +1,3 @@
 data/gajim.1
+data/gajim-remote.1
+debian/gajim-history-manager.1
diff --git a/debian/rules b/debian/rules
index f5af9a300493fa81721e0660e54d7f141b63aafa..0d45fd06c1d78e642693623cacfcf3362a9bf016 100755
--- a/debian/rules
+++ b/debian/rules
@@ -16,4 +16,3 @@ binary-install/gajim::
 	rm $(DEB_DESTDIR)/usr/share/gajim/src/common/GnuPGInterface.py*
 	dh_pysupport -pgajim
 	convert $(DEB_DESTDIR)/usr/share/pixmaps/gajim.png -resize 32x32 $(DEB_DESTDIR)/usr/share/pixmaps/gajim.xpm
-	install -m 0644 debian/gajim.lintian $(DEB_DESTDIR)/usr/share/lintian/overrides/gajim