--- qgit-1.5.7.orig/debian/changelog
+++ qgit-1.5.7/debian/changelog
@@ -0,0 +1,48 @@
+qgit (1.5.7-1~bpo40+1) etch-backports; urgency=low
+
+  * build for etch.
+  * debian/control: add Uploaders: Gerrit Pape <pape@smarden.org>.
+
+ -- Gerrit Pape <pape@smarden.org>  Wed,  7 Nov 2007 12:14:03 +0000
+
+qgit (1.5.7-1) unstable; urgency=low
+
+  * New upstream release 
+  * Closes: #441570, #441280
+  * Get rid of config.sub and config.guess, Closes: #441286
+
+ -- Wartan Hachaturow <wart@debian.org>  Thu, 13 Sep 2007 00:18:01 +0400
+
+qgit (1.5.5-1) unstable; urgency=low
+
+  * New upstream release
+  * Closes: #412451
+
+ -- Wartan Hachaturow <wart@debian.org>  Sat, 17 Mar 2007 12:31:40 +0300
+
+qgit (1.5.1-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Wartan Hachaturow <wart@debian.org>  Sat, 16 Sep 2006 00:15:41 +0400
+
+qgit (1.4-1) unstable; urgency=low
+
+  * New upstream release
+  * Minor package description improvement, Closes: #373640
+
+ -- Wartan Hachaturow <wart@debian.org>  Wed, 30 Aug 2006 22:39:49 +0400
+
+qgit (1.3-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Wartan Hachaturow <wart@debian.org>  Wed, 14 Jun 2006 01:08:32 +0400
+
+qgit (1.2-1) unstable; urgency=low
+
+  * Initial release
+  * Closes: #366160
+
+ -- Wartan Hachaturow <wart@debian.org>  Wed,  3 May 2006 14:43:11 +0400
+
--- qgit-1.5.7.orig/debian/compat
+++ qgit-1.5.7/debian/compat
@@ -0,0 +1 @@
+4
--- qgit-1.5.7.orig/debian/menu
+++ qgit-1.5.7/debian/menu
@@ -0,0 +1,2 @@
+?package(qgit):needs="X11" section="Apps/Programming"\
+  title="qgit" command="/usr/bin/qgit"
--- qgit-1.5.7.orig/debian/postinst
+++ qgit-1.5.7/debian/postinst
@@ -0,0 +1,42 @@
+#! /bin/sh
+# postinst script for qgit
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <postinst> `configure' <most-recently-configured-version>
+#        * <old-postinst> `abort-upgrade' <new version>
+#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
+#          <new-version>
+#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
+#          <failed-install-package> <version> `removing'
+#          <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+#
+
+case "$1" in
+    configure)
+
+    ;;
+
+    abort-upgrade|abort-remove|abort-deconfigure)
+
+    ;;
+
+    *)
+        echo "postinst called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+
--- qgit-1.5.7.orig/debian/dirs
+++ qgit-1.5.7/debian/dirs
@@ -0,0 +1 @@
+usr/bin
--- qgit-1.5.7.orig/debian/docs
+++ qgit-1.5.7/debian/docs
@@ -0,0 +1,2 @@
+exception_manager.txt
+README
--- qgit-1.5.7.orig/debian/control
+++ qgit-1.5.7/debian/control
@@ -0,0 +1,26 @@
+Source: qgit
+Section: x11
+Priority: optional
+Maintainer: Wartan Hachaturow <wart@debian.org>
+Uploaders: Gerrit Pape <pape@smarden.org>
+Build-Depends: debhelper (>= 4.0.0), libqt3-mt-dev (>= 3.2.0), qt3-dev-tools (>= 3)
+Standards-Version: 3.6.2
+
+Package: qgit
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, git-core (>= 1.3.0)
+Recommends: stgit
+Description: Qt application for viewing GIT trees
+ With qgit you will be able to browse revision tree, view patch content
+ and changed files, graphically following different development branches.
+ Main features:
+  - View revisions, diffs, files history, files annotation, archive tree.
+  - Commit changes visually cherry picking modified files.
+  - Apply or format patch series from selected commits, drag and
+    drop commits between two instances of qgit.
+  - qgit implements a GUI for the most common StGIT commands like push/pop
+    and apply/format patches. You can also create new patches or refresh
+    current top one using the same semantics of git commit, i.e.
+    cherry picking single modified files.
+ .
+
--- qgit-1.5.7.orig/debian/postrm
+++ qgit-1.5.7/debian/postrm
@@ -0,0 +1,38 @@
+#! /bin/sh
+# postrm script for qgit
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <postrm> `remove'
+#        * <postrm> `purge'
+#        * <old-postrm> `upgrade' <new-version>
+#        * <new-postrm> `failed-upgrade' <old-version>
+#        * <new-postrm> `abort-install'
+#        * <new-postrm> `abort-install' <old-version>
+#        * <new-postrm> `abort-upgrade' <old-version>
+#        * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+case "$1" in
+       purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+
+
+        ;;
+
+    *)
+        echo "postrm called with unknown argument \`$1'" >&2
+        exit 1
+
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
--- qgit-1.5.7.orig/debian/manpages
+++ qgit-1.5.7/debian/manpages
@@ -0,0 +1 @@
+debian/qgit.1
--- qgit-1.5.7.orig/debian/qgit.1
+++ qgit-1.5.7/debian/qgit.1
@@ -0,0 +1,42 @@
+.\"                                      Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH qgit 1 "2006-05-07"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh        disable hyphenation
+.\" .hy        enable hyphenation
+.\" .ad l      left justify
+.\" .ad b      justify to both left and right margins
+.\" .nf        disable filling
+.\" .fi        enable filling
+.\" .br        insert line break
+.\" .sp <n>    insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+qgit \- QT interface to git trees, with stgit support.
+.SH SYNOPSIS
+.B qgit
+.SH DESCRIPTION
+QGit is a git GUI viewer built on Qt/C++. With QGit, you will be able to browse
+git revisions history, view patch content and changed files, graphically follow
+development branches.
+.PP
+QGit also offers some 
+.IR stgit
+integration, providing commands to move through the patch stack.
+.SH OPTIONS
+This program currently does not have any options.
+.SH SEE ALSO
+.BR git (7)
+.br
+The program is documented fully by
+.IR "The QGit handbook",
+available via the Help submenu.
+.SH AUTHOR
+QGit was written by Marco Costalba <mcostalba@users.sourceforge.net>
+.PP
+This manual page was written by Wartan Hachaturow <wart@debian.org>,
+for the Debian project (but may be used by others).
--- qgit-1.5.7.orig/debian/rules
+++ qgit-1.5.7/debian/rules
@@ -0,0 +1,99 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+
+# These are used for cross-compiling and for saving the configure script
+# from having to guess our platform (since we know it already)
+DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -O0
+else
+	CFLAGS += -O2
+endif
+
+config.status: configure
+	dh_testdir
+	# Add here commands to configure the package.
+	CFLAGS="$(CFLAGS) -Wl,-z,defs" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info
+
+
+build: build-stamp
+
+build-stamp:  config.status
+	dh_testdir
+
+	# Add here commands to compile the package.
+	$(MAKE)
+	#docbook-to-man debian/qgit.sgml > qgit.1
+
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp 
+
+	# Add here commands to clean up after the build process.
+	-$(MAKE) distclean
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k 
+	dh_installdirs
+
+	# Add here commands to install the package into debian/qgit.
+	$(MAKE) install DESTDIR=$(CURDIR)/debian/qgit
+
+
+# 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_installchangelogs ChangeLog
+	dh_installdocs
+	dh_installexamples
+#	dh_install
+	dh_installmenu
+#	dh_installdebconf	
+#	dh_installlogrotate
+#	dh_installemacsen
+#	dh_installpam
+#	dh_installmime
+#	dh_installinit
+#	dh_installcron
+#	dh_installinfo
+	dh_installman
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+#	dh_perl
+#	dh_python
+#	dh_makeshlibs
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install 
--- qgit-1.5.7.orig/debian/copyright
+++ qgit-1.5.7/debian/copyright
@@ -0,0 +1,9 @@
+This package was debianized by Wartan Hachaturow <wart@debian.org> on
+Wed,  3 May 2006 14:43:11 +0400.
+
+It was downloaded from http://sourceforge.net/projects/qgit
+
+Copyright Holder: Marco Costalba <mcostalaba@users.sourceforge.net>
+
+License: GPLv2
+A copy of the GPL can be found in /usr/share/common-licenses/GPL-2
