--- geany-0.12.orig/debian/watch
+++ geany-0.12/debian/watch
@@ -0,0 +1,4 @@
+version=3
+
+#http://sf.net/geany/geany-(.*)\.tar\.gz
+http://files.uvena.de/geany/geany-(.*)\.tar\.gz
--- geany-0.12.orig/debian/docs
+++ geany-0.12/debian/docs
@@ -0,0 +1,3 @@
+NEWS
+README
+TODO
--- geany-0.12.orig/debian/dirs
+++ geany-0.12/debian/dirs
@@ -0,0 +1 @@
+usr/bin
--- geany-0.12.orig/debian/changelog
+++ geany-0.12/debian/changelog
@@ -0,0 +1,88 @@
+geany (0.12-1~bpo40+2) etch-backports; urgency=low
+
+  * Rebuilt for etch.
+  * debian/control: Decreased GTK+ build dependency to 2.8.
+
+ -- Enrico Tröger <enrico.troeger@uvena.de>  Sun,  2 Dec 2007 19:42:39 +0100
+
+geany (0.12-1) unstable; urgency=low
+
+  * New upstream release
+    - Updates scintilla component (Closes: #438876, #426766)
+    - Add mimetype declaration in the .desktop file (Closes: #416620)
+  * Add intltool to Build-Depends
+
+ -- Damián Viano <des@debian.org>  Mon, 29 Oct 2007 18:24:05 -0300
+
+geany (0.11-2) unstable; urgency=low
+
+  * Add versioned dependency against libgtk2.0-dev since geany code depends on
+    it for notebook dnd at the moment
+
+ -- Damián Viano <des@debian.org>  Mon, 11 Jun 2007 14:47:31 -0300
+
+geany (0.11-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Damián Viano <des@debian.org>  Thu, 24 May 2007 07:15:52 -0300
+
+geany (0.10.2-3) unstable; urgency=low
+
+  * Change suggests to newer libvte, thanks to Andreas Tscharner (Closes: #421568)
+
+ -- Damián Viano <des@debian.org>  Mon, 30 Apr 2007 20:17:06 -0300
+
+geany (0.10.2-2) unstable; urgency=low
+
+  * Upload to get geany 0.10.2 into sid
+  * Change maintainer mail address
+
+ -- Damián Viano <des@debian.org>  Sat, 28 Apr 2007 08:34:00 -0300
+
+geany (0.10.2-1) experimental; urgency=low
+
+  * New upstream release
+
+ -- Damián Viano <debian@damianv.com.ar>  Sun, 25 Feb 2007 16:39:56 -0300
+
+geany (0.10.1-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Damián Viano <debian@damianv.com.ar>  Sun, 25 Feb 2007 15:31:13 -0300
+
+geany (0.10-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Damián Viano <debian@damianv.com.ar>  Sun, 24 Dec 2006 12:17:24 -0300
+
+geany (0.9-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Damián Viano <debian@damianv.com.ar>  Fri, 29 Sep 2006 06:13:18 -0300
+
+geany (0.8-1) unstable; urgency=low
+
+  * New upstream release
+    - Fixed clipboard commands used in the find entry and Scribble (Closes: #377060)
+    - Don't autocomplete constructs inside a string (Closes: #377090)
+
+ -- Damián Viano <debian@damianv.com.ar>  Wed,  9 Aug 2006 19:35:11 -0300
+
+geany (0.7.1-1) unstable; urgency=low
+
+  * New upstream release
+    - Added Scintilla license
+  * debian/copyright: included Scintilla license and copyright
+
+ -- Damián Viano <debian@damianv.com.ar>  Sun, 25 Jun 2006 12:10:13 -0300
+
+geany (0.7-1) unstable; urgency=low
+
+  * Initial release (Closes: #360760)
+
+ -- Damián Viano <debian@damianv.com.ar>  Tue,  6 Jun 2006 12:54:23 -0300
+
--- geany-0.12.orig/debian/copyright
+++ geany-0.12/debian/copyright
@@ -0,0 +1,52 @@
+This package was debianized by Damián Viano <des@debian.org> on
+Tue,  6 Jun 2006 11:39:58 -0300.
+
+It was downloaded from http://files.uvena.de/geany/
+
+For geany:
+
+Copyright Holder: 2005-2006 Enrico Tröger <enrico.troeger@uvena.de>
+                       2006 Nick Treleaven <nick.treleaven@btinternet.com>
+
+License:
+
+   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; either version 2 of the License, or
+   (at your option) any later version.
+
+   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 systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL'.
+
+
+For Scintilla library:
+
+Copyright Holder: 1998-2006 Neil Hodgson <neilh@scintilla.org>
+
+License: 
+
+   All Rights Reserved 
+
+   Permission to use, copy, modify, and distribute this software and its 
+   documentation for any purpose and without fee is hereby granted, 
+   provided that the above copyright notice appear in all copies and that 
+   both that copyright notice and this permission notice appear in 
+   supporting documentation. 
+   
+   NEIL HODGSON DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS 
+   SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY 
+   AND FITNESS, IN NO EVENT SHALL NEIL HODGSON BE LIABLE FOR ANY 
+   SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 
+   WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, 
+   WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 
+   TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE 
+   OR PERFORMANCE OF THIS SOFTWARE. 
--- geany-0.12.orig/debian/compat
+++ geany-0.12/debian/compat
@@ -0,0 +1 @@
+5
--- geany-0.12.orig/debian/geany.xpm
+++ geany-0.12/debian/geany.xpm
@@ -0,0 +1,48 @@
+/* XPM */
+static char *icon[] = {
+/* columns rows colors chars-per-pixel */
+"32 32 10 1",
+"  c black",
+". c #738494",
+"X c #B52121",
+"o c red",
+"O c orange",
+"+ c #FFD600",
+"@ c yellow",
+"# c gray74",
+"$ c gray87",
+"% c None",
+/* pixels */
+"%%%%%%%%%%%$$##%%%%%%%%%%%%%%%%%",
+"%%%%%%%%%$######%%%%%%%%%%%%%%%%",
+"%%%%%%$$$#######$$#%$$#%%%%%%%%%",
+"%%%%%##############$###%%%%%%%%%",
+"%%%$$###################%$$$#%%%",
+"%$$########################.%##%",
+"%###########.%#####%.####.%%%%%%",
+"%%#.#.#.#.#.#%%%#..%%.%%%%%%%%%%",
+"%%.#.##%%#.#.%%%%%%%%%%%%%%%%%%%",
+"%.#.#..%%%..%%%%%%%%%%%%%%%++O%%",
+"...#.%%%%%%%%%%%%%%%%%%%%%+%%%+%",
+".%%%%%%%%%%%%%%%%%%%%%%%%+%%%%+%",
+"%@@%%%%%%%%%%%@+O%%%%%%%+%%%%%%+",
+"%%@%%%%%%%%%%@+++O%%%%%%+%%%%%%+",
+"%%@+%%%%%%%%%%@+O%%%%%%+O%%%%%%+",
+"%%%@+%%%%%%@@+++++O%%+OO%%%%%%%+",
+"%%%%@+%%%%@+o++++X+++XO%%%%%%%%+",
+"%%%%@++%%o+ooX++ooX+oXX%%%%%%%%+",
+"%%%%%@++%o+ooX++ooX+oXXO%%%%%%+%",
+"%%%%%@++++++o++++X+++X+OO%%%%%+%",
+"%%%%%%@+++++++++++++++OO%+%%%+%%",
+"%%%%%%%@+++++++++++++OO%%%++O%%%",
+"%%%%%%%%@+++++++++++OO%%%%%%%%%%",
+"%%%%%%%%%@@+++++++OOO%%%%%%%%%%%",
+"%%%%%%%%%%%%@@+++OO%%%%%%%%%%%%%",
+"%%%%%%%%%%%%%%%+%%%%%%%%%%%%%%%%",
+"%%%%%%%%%%%%%@@+OO%%%%%%%%%%%%%%",
+"%%%%%%%%%%@@@+++++OOO%%%%%%%%%%%",
+"%%%%%%%@@@@+++O+@+++OOOO%%%%%%%%",
+"%%%%%@@@@++++OO+@@++++OOOO%%%%%%",
+"%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%",
+"%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%"
+};
--- geany-0.12.orig/debian/manpages
+++ geany-0.12/debian/manpages
@@ -0,0 +1 @@
+doc/geany.1
--- geany-0.12.orig/debian/install
+++ geany-0.12/debian/install
@@ -0,0 +1 @@
+debian/geany.xpm /usr/share/pixmaps/
--- geany-0.12.orig/debian/NEWS
+++ geany-0.12/debian/NEWS
@@ -0,0 +1,16 @@
+geany (0.11-1) unstable; urgency=low
+
+  Tab is now used for construct completion (for, if, etc.), but
+  it is configurable with the new 'Complete construct' keybinding.
+
+  Template files are now stored in ~/.geany/templates/ and the 'template.'
+  filename prefix is no longer used. You will need to move any custom
+  template files you have.
+
+  Inserting a file header is now optional for filetype templates.  Use the
+  string '{fileheader}' to mark where the file header should be placed.
+
+  Drag'n'Drop of text inside the editor widget will now move the text
+  instead of copying it.
+
+ -- Damián Viano <des@debian.org>  Thu, 24 May 2007 15:12:58 -0300
--- geany-0.12.orig/debian/control
+++ geany-0.12/debian/control
@@ -0,0 +1,28 @@
+Source: geany
+Section: devel
+Priority: optional
+Maintainer: Damián Viano <des@debian.org>
+Build-Depends: debhelper (>= 5.0.0), dpatch, libgtk2.0-dev (>= 2.8), libglib2.0-dev, libatk1.0-dev, libpango1.0-dev, intltool
+Standards-Version: 3.7.2
+
+Package: geany
+Architecture: any
+Depends: ${shlibs:Depends}
+Suggests: libvte9, doc-base
+Description: A fast and lightweight IDE
+ Geany is a small and lightweight integrated development environment.
+ It was developed to provide a small and fast IDE, which has only a
+ few dependencies from other packages. It is using only the GTK2 toolkit
+ and therefore you need only the GTK2 runtime libraries to run Geany.
+ .
+ The basic features of Geany are:
+  - syntax highlighting
+  - code completion
+  - auto completion of constructs like if, for and while, XML and HTML
+  - call tips
+  - folding
+  - many supported filetypes like C, Java, PHP, HTML, Python, Perl, Pascal
+  - symbol lists
+  - embedded terminal emulation
+ .
+ Homepage: http://geany.uvena.de
--- geany-0.12.orig/debian/rules
+++ geany-0.12/debian/rules
@@ -0,0 +1,87 @@
+#!/usr/bin/make -f
+
+# 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)
+
+include /usr/share/dpatch/dpatch.make
+
+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 --enable-vte --enable-pipe --enable-the-force
+
+
+build: build-stamp
+
+build-stamp: config.status patch
+	dh_testdir
+
+	# Add here commands to compile the package.
+	$(MAKE)
+
+	touch build-stamp
+
+clean: unpatch
+	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/geany.
+	$(MAKE) install DESTDIR=$(CURDIR)/debian/geany
+	-rm -f $(CURDIR)/debian/geany/usr/share/geany/GPL-2
+	-rm -f $(CURDIR)/debian/geany/usr/share/doc/geany/COPYING \
+	       $(CURDIR)/debian/geany/usr/share/doc/geany/ScintillaLicense.txt \
+	       $(CURDIR)/debian/geany/usr/share/doc/geany/AUTHORS \
+	       $(CURDIR)/debian/geany/usr/share/doc/geany/ChangeLog
+
+
+# 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_install
+	dh_installmenu
+	dh_installman
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install patch unpatch
--- geany-0.12.orig/debian/geany.doc-base
+++ geany-0.12/debian/geany.doc-base
@@ -0,0 +1,13 @@
+Document: geany
+Title: geany manual
+Author: Enrico Tröger, Nick Treleaven, Frank Lanitz
+Abstract: This document describes the usage of the Geany IDE, it also 
+ describes how to get, compile and install geany. 
+Section: Apps/Editors
+
+Format: text
+Files: /usr/share/doc/geany/manual.txt.gz
+
+Format: HTML
+Index: /usr/share/doc/geany/html/index.html
+Files: /usr/share/doc/geany/html/*
--- geany-0.12.orig/debian/menu
+++ geany-0.12/debian/menu
@@ -0,0 +1,3 @@
+?package(geany):needs="X11" section="Apps/Editors" \
+	icon="/usr/share/pixmaps/geany.xpm"\
+  title="Geany" command="/usr/bin/geany"
--- geany-0.12.orig/debian/patches/00list
+++ geany-0.12/debian/patches/00list
@@ -0,0 +1 @@
+20_change_gpl_location
--- geany-0.12.orig/debian/patches/20_change_gpl_location.dpatch
+++ geany-0.12/debian/patches/20_change_gpl_location.dpatch
@@ -0,0 +1,19 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 20_change_gpl_location.dpatch by Damián Viano <des@debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Small patch to use common-licenses
+
+@DPATCH@
+diff -urNad geany-0.9~/src/about.c geany-0.9/src/about.c
+--- geany-0.9~/src/about.c	2006-09-26 11:00:30.000000000 -0300
++++ geany-0.9/src/about.c	2006-09-29 21:44:27.000000000 -0300
+@@ -240,7 +240,7 @@
+ 	label = gtk_label_new(_("License"));
+ 	gtk_widget_show(label);
+ 
+-	g_snprintf(buffer, sizeof(buffer), "%s" G_DIR_SEPARATOR_S "GPL-2", app->datadir);
++	g_snprintf(buffer, sizeof(buffer), "/usr/share/common-licenses/GPL-2");
+ 
+ 	g_file_get_contents(buffer, &license_text, NULL, NULL);
+ 	if (license_text == NULL)
