--- nted-1.10.7.orig/debian/control
+++ nted-1.10.7/debian/control
@@ -0,0 +1,30 @@
+Source: nted
+Section: sound
+Priority: optional
+Maintainer: Gilles Filippini <pini@debian.org>
+Homepage: http://vsr.informatik.tu-chemnitz.de/staff/jan/nted/nted.xhtml
+Build-Depends: debhelper (>= 7.0.50~), autotools-dev, libasound2-dev, libcairo2-dev, libgtk2.0-dev, quilt (>= 0.46-7~), xmlto, poxml
+Standards-Version: 3.8.4
+
+Package: nted
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Recommends: nted-doc
+Description: Musical score editor
+ NtEd is a GTK+ score editor. It intends to be really WYSIWYG: what you 
+ see on the screen is exactly what you get on printer output. It supports 
+ up to 4 voices per staff, drum notes, 5 lyrics lines, N-Tuplets, context
+ changes, repeats with alternatives, configurable music instruments per
+ staff, MIDI / MusicXML import, PS / PDF / SVG / PNG / Lilypond / MIDI
+ export. Scores can be played through the ALSA sequencer.
+
+Package: nted-doc
+Section: doc
+Architecture: all
+Depends: ${misc:Depends}
+Recommends: yelp
+Description: NtEd documentation
+ NtEd is a WYSIWYG GTK+ score editor.
+ .
+ This package contains the accompanying HTML documentation. It is available
+ online through the nted application provided that yelp is available.
--- nted-1.10.7.orig/debian/README.source
+++ nted-1.10.7/debian/README.source
@@ -0,0 +1,83 @@
+This file is used to keep track of packaging choices, known issues and TO-DOs.
+
+* The code won't compile with gcc option "-pedantic"
+  because ISO-C++ forbids the type "unsigned long long". But upstream
+  does need this type which BTW seems to be widely supported.
+
+* dpkg-shlibdeps warnings:
+    dpkg-shlibdeps: warning: dependency on libfontconfig.so.1 could be avoided if "debian/nted/usr/bin/nted" were not uselessly linked against it (they use none of its symbols).
+    dpkg-shlibdeps: warning: dependency on libatk-1.0.so.0 could be avoided if "debian/nted/usr/bin/nted" were not uselessly linked against it (they use none of its symbols).
+    dpkg-shlibdeps: warning: dependency on libgio-2.0.so.0 could be avoided if "debian/nted/usr/bin/nted" were not uselessly linked against it (they use none of its symbols).
+    dpkg-shlibdeps: warning: dependency on libgmodule-2.0.so.0 could be avoided if "debian/nted/usr/bin/nted" were not uselessly linked against it (they use none of its symbols).
+    dpkg-shlibdeps: warning: dependency on libpangoft2-1.0.so.0 could be avoided if "debian/nted/usr/bin/nted" were not uselessly linked against it (they use none of its symbols).
+  These warnings are still there despite using the --as-needed ld flag.  I
+  decide to live with it for the moment: I don't think bypassing pkg-config
+  is a good long-term solution.
+
+* Documentation packaging
+  I chose to provide both DocBook and HTML files with the nted-doc package:
+  The NtEd online help uses yelp and DocBook files whereas dwww needs the
+  HTML files.
+
+
+====================================
+HOW TO PATCH UPSTREAM SOURCE CODE
+====================================
+
+This package uses quilt to manage all modifications to the upstream
+source.  Changes are stored in the source package as diffs in
+debian/patches and applied during the build.
+
+To configure quilt to use debian/patches instead of patches, you want
+either to export QUILT_PATCHES=debian/patches in your environment
+or use this snippet in your ~/.quiltrc:
+
+    for where in ./ ../ ../../ ../../../ ../../../../ ../../../../../; do
+        if [ -e ${where}debian/rules -a -d ${where}debian/patches ]; then
+                export QUILT_PATCHES=debian/patches
+        fi
+    done
+
+To get the fully patched source after unpacking the source package, cd to
+the root level of the source package and run:
+
+    quilt push -a
+
+The last patch listed in debian/patches/series will become the current
+patch.
+
+To add a new set of changes, first run quilt push -a, and then run:
+
+    quilt new <patch>
+
+where <patch> is a descriptive name for the patch, used as the filename in
+debian/patches.  Then, for every file that will be modified by this patch,
+run:
+
+    quilt add <file>
+
+before editing those files.  You must tell quilt with quilt add what files
+will be part of the patch before making changes or quilt will not work
+properly.  After editing the files, run:
+
+    quilt refresh
+
+to save the results as a patch.
+
+Alternately, if you already have an external patch and you just want to
+add it to the build system, run quilt push -a and then:
+
+    quilt import -P <patch> /path/to/patch
+    quilt push -a
+
+(add -p 0 to quilt import if needed). <patch> as above is the filename to
+use in debian/patches.  The last quilt push -a will apply the patch to
+make sure it works properly.
+
+To remove an existing patch from the list of patches that will be applied,
+run:
+
+    quilt delete <patch>
+
+You may need to run quilt pop -a to unapply patches first before running
+this command.
--- nted-1.10.7.orig/debian/nted-doc.README.Debian
+++ nted-1.10.7/debian/nted-doc.README.Debian
@@ -0,0 +1,7 @@
+nted-doc for Debian
+-------------------
+
+The HTML documentation files are installed under `/usr/share/doc/nted',
+not `/usr/share/doc/nted-doc'.
+
+ -- Gilles Filippini <gilles.filippini@free.fr>  Mon, 08 Oct 2007 18:20:12 +0200
--- nted-1.10.7.orig/debian/nted.examples
+++ nted-1.10.7/debian/nted.examples
@@ -0,0 +1 @@
+datafiles/nted/examples/.
--- nted-1.10.7.orig/debian/copyright
+++ nted-1.10.7/debian/copyright
@@ -0,0 +1,48 @@
+Format-Specification:
+ http://dep.debian.net/deps/dep5/
+Upstream-Name: NtEd
+Upstream-Maintainer: Jörg Anders <j.anders@informatik.tu-chemnitz.de>
+Upstream-Source:
+ http://vsr.informatik.tu-chemnitz.de/staff/jan/nted/nted.xhtml
+
+Files: *
+Copyright: © 2007-2010 Jörg Anders <j.anders@informatik.tu-chemnitz.de>
+License: GPL-2+
+
+Files: doc/*
+Copyright: © 2007-2010 Jörg Anders <j.anders@informatik.tu-chemnitz.de>
+License: GFDL-1.2+
+
+Files: doc/*/Makefile.*
+Copyright: © 2007-2010 Jörg Anders <j.anders@informatik.tu-chemnitz.de>
+License: GPL-2+
+
+Files: datafiles/nted/ntedfont.pfa
+Copyright: © 2007-2010 Jörg Anders <j.anders@informatik.tu-chemnitz.de>
+License: GPL-2+ with font exemption
+ As a special exception, if you create a document which uses this font, and
+ embed this font or unaltered portions of this font into the document, this font
+ does not by itself cause the resulting document to be covered by the GNU
+ General Public License. This exception does not however invalidate any other
+ reasons why the document might be covered by the GNU General Public License. If
+ you modify this font, you may extend this exception to your version of the
+ font, but you are not obligated to do so. If you do not wish to do so, delete
+ this exception statement from your version. 
+
+Files: datafiles/nted/examples/*
+License: PD
+ See the file ABOUT_THE_EXAMPLES.TXT.
+
+Files: debian/*
+Copyright: © 2007-2010, Gilles Filippini <gilles.filippini@free.fr>
+License: GPL-2+
+
+License: GPL-2+
+ On Debian systems the full text of the GNU General Public License version 2
+ can be found in the `/usr/share/common-licenses/GPL-2' file.
+
+License: GFDL-1.2+
+ On Debian GNU/Linux systems, the complete text of the GNU Free Documentation
+ License version 1.2 can be found in `/usr/share/common-licenses/GFDL-1.2'.
+
+
--- nted-1.10.7.orig/debian/compat
+++ nted-1.10.7/debian/compat
@@ -0,0 +1 @@
+5
--- nted-1.10.7.orig/debian/nted-doc.doc-base.es
+++ nted-1.10.7/debian/nted-doc.doc-base.es
@@ -0,0 +1,9 @@
+Document: nted-es
+Title: NtEd documentation, Spanish translation
+Author: Jörg Anders, Massimiliano G. G.
+Abstract: Full documentation for the musical score editor NtEd.
+Section: Sound
+
+Format: HTML
+Index: /usr/share/doc/nted/es/index.html
+Files: /usr/share/doc/nted/es/*.html
--- nted-1.10.7.orig/debian/nted-doc.doc-base
+++ nted-1.10.7/debian/nted-doc.doc-base
@@ -0,0 +1,9 @@
+Document: nted
+Title: NtEd documentation
+Author: Jörg Anders
+Abstract: Full documentation for the musical score editor NtEd.
+Section: Sound
+
+Format: HTML
+Index: /usr/share/doc/nted/en/index.html
+Files: /usr/share/doc/nted/en/*.html
--- nted-1.10.7.orig/debian/nted-doc.doc-base.it
+++ nted-1.10.7/debian/nted-doc.doc-base.it
@@ -0,0 +1,9 @@
+Document: nted-it
+Title: NtEd documentation, Italian translation
+Author: Jörg Anders, Mariano Marini
+Abstract: Full documentation for the musical score editor NtEd.
+Section: Sound
+
+Format: HTML
+Index: /usr/share/doc/nted/it/index.html
+Files: /usr/share/doc/nted/it/*.html
--- nted-1.10.7.orig/debian/changelog
+++ nted-1.10.7/debian/changelog
@@ -0,0 +1,840 @@
+nted (1.10.7-1) unstable; urgency=low
+
+  * New upstream version:
+    + In a given staff each voice can be assigned a different instrument
+    + Tremolo notes
+    + New slur insertion method
+    + Crescendo, decrescendo, ritardando, accelerato: the parameters aren't
+      asolute values anymore, but volume or tempo differences
+    + Ukrainian GUI translation
+    + Bug fixes
+
+ -- Gilles Filippini <pini@debian.org>  Fri, 21 May 2010 22:06:20 +0200
+
+nted (1.9.22-2) unstable; urgency=low
+
+  * debian/control: drop the Build-Depends on yelp
+  * debian/rules: force YELP=/usr/bin/yelp during configure 
+
+ -- Gilles Filippini <pini@debian.org>  Tue, 06 Apr 2010 22:18:34 +0200
+
+nted (1.9.22-1) unstable; urgency=low
+
+  * New upstream version:
+    + Grupetto signs (turn and reverse turn)
+    + Bug fixes
+    + Duch GUI translation updated
+  * Updated patches:
+    + linking: partially fixed upstream; keep the --as-needed part
+    + linking.generated: companion patch updated too
+
+  * debian/source/format: 1.0 
+  * debian/control:
+    + Versioned Build-Depends on quilt (see #548094)
+
+ -- Gilles Filippini <pini@debian.org>  Sun, 04 Apr 2010 19:39:24 +0200
+
+nted (1.9.18-1) unstable; urgency=low
+
+  * New upstream version:
+    + Improved scrolling during replay
+    + New GUI translation: chinese
+    + Updated GUI translation: russian
+    + Bug fixes:
+      - Lilypond lyrics export
+      - Polyphonie placement when the first voice has lyrics
+
+  * debian/rules:
+    + Guard scriptlets with set -e
+    + Generate debian/nted-doc.install
+  * debian nted-doc.install removed 
+  * debian/nted-doc.doc-base.fr added 
+  * debian/copyright: bumped copyright year to 2010
+  * debian/control: bumped Standards-Version to 3.8.4 (no change needed)
+
+ -- Gilles Filippini <pini@debian.org>  Fri, 12 Mar 2010 22:25:33 +0100
+
+nted (1.9.16-1) unstable; urgency=low
+
+  * New upstream version:
+    + MusicXML import improvements
+    + Channel change through arbitrary text
+    + New LilyPond export option "keep beams"
+    + New Russian GUI translation
+    + Spanish doc translation updated
+    + Bug fixes
+  * New patch:
+    + warnings: fixes trivial compilation warnings
+
+  * debian/control:
+    + Update Maintainer with my new address @debian.org
+    + Remove DM-Upload-Allowed (no more needed)
+
+ -- Gilles Filippini <pini@debian.org>  Mon, 18 Jan 2010 23:57:11 +0100
+
+nted (1.9.6-1) unstable; urgency=low
+
+  * New Upstream Version:
+    + Instrument change from inserting arbitrary text
+    + Dotted tempo signs
+    + Adjustable metronome volume
+    + PageUp and PageDown keys binded to actual page up and page down actions
+    + Spanish doc and GUI translation updated
+    + Fix PDF export bug
+    + Fix grace notes handling
+    + Other bug fixes
+  * debian/watch:
+    + Update to match new upstream source location
+  * debian/rules:
+    + Rewrite to use the dh command sequencer
+  * debian/control:
+    + Raise versioned dependency to debhelper (>= 7.0.50~) for the dh
+      sequencer
+  * Remove patches (abandonned):
+    + makefile-am-pkg-config
+    + makefile-in-automake
+  * New patches:
+    + linking
+      Handle linking fixes to satisfy both binutils-gold (Closes: #555780) and
+      dpkg-shlibdeps
+    + linking.generated
+      Resulting patch for autotools generated files
+  * debian/README.source:
+    + Acknowledge remaining dpkg-shlibdeps warnings
+    + Drop the deprecated note about ${misc:Depends}
+
+ -- Gilles Filippini <gilles.filippini@free.fr>  Mon, 16 Nov 2009 00:47:32 +0100
+
+nted (1.9.2-1) unstable; urgency=low
+
+  * New Upstream Version:
+    + New configurable drum notation
+    + Lyrics editor
+    + Import / export lyrics
+    + Change accidentals
+    + Remove chord notes with <Del>
+    + Lilypond: export of chord names, hairpins, and drum notes
+    + Spanish doc and GUI translation updated
+    + French GUI translation updated
+    + Duch GUI translation updated
+    + Bug fixes
+  * doc-base registration 
+
+ -- Gilles Filippini <gilles.filippini@free.fr>  Tue, 03 Nov 2009 22:34:32 +0100
+
+nted (1.8.1-1) unstable; urgency=low
+
+  * New Upstream Version
+    + Score creation through midi keyboard
+    + Spanish doc and GUI translation updated
+    + Bug fixes
+
+ -- Gilles Filippini <gilles.filippini@free.fr>  Mon, 28 Sep 2009 09:25:10 +0200
+
+nted (1.7.0-1) unstable; urgency=low
+
+  * New Upstream Version
+    + Note insertion through midi keyboard
+    + Correct presentation of clef, key signature, and time signature change
+    + Easier placement of clef, key signature, and time signature change
+      especially at end of line
+    + New time signature symbols
+    + Breath signs
+    + Consistency changes in the menu
+    + Spanish and Dutch translation updated
+    + pt_BR doc translation removed
+    + Other bug fixes
+  * Removed patch (applied upstream):
+    + warnings-1.6.0. 
+
+ -- Gilles Filippini <gilles.filippini@free.fr>  Tue, 15 Sep 2009 23:32:07 +0200
+
+nted (1.6.5-1) unstable; urgency=low
+
+  * New Upstream Version:
+    + Italien documentation translation updated
+    + Bug fixes
+  * debian/control:
+    + Build-Depends: remove cdbs
+    + Standards-Version: bump to 3.8.3 (no change needed)
+  * Updated patch:
+    + warnings-1.6.0: remove unused variables.
+
+ -- Gilles Filippini <gilles.filippini@free.fr>  Mon, 31 Aug 2009 23:15:43 +0200
+
+nted (1.6.4-1) unstable; urgency=low
+
+  * New Upstream Version:
+    + Spanish translation and documentation
+    + Faster MIDI import
+    + Better positionning algorithm
+    + Bug fixes
+  * debian/rules: Compute the doc translation list
+  * debian/nted-doc.install: Add the new translations pt_BR and es.
+  * Refresh patches:
+    + makefile-am-pkg-config
+    + makefile-in-automake
+    + warnings-1.6.0
+  * debian/copyright: Refer to versionned GPL-2 and GFDL-1.2 licenses. 
+
+ -- Gilles Filippini <gilles.filippini@free.fr>  Thu, 06 Aug 2009 23:21:52 +0200
+
+nted (1.6.0-1) unstable; urgency=low
+
+  * New upstream release:
+    + Totally new MIDI import algorithm. Special effort was made to
+      distribute the MIDI notes into different voices and to recognize
+      triplets
+    + Last measure handling in upbeat scores
+  * debian/rules:
+    + Switch from cdbs to debhelper
+    + Add pt_BR to the LANGUAGES list
+  * debian/control:
+    + Standards-Version: bump to 3.8.2 (no change needed)
+    + Bump debhelper build-depends to >= 7
+    + DM-Upload-Allowed: yes 
+
+ -- Gilles Filippini <gilles.filippini@free.fr>  Mon, 29 Jun 2009 15:25:23 +0200
+
+nted (1.5.1-1) unstable; urgency=low
+
+  * New Upstream Version:
+    + Bug fixes
+  * debian/copyright:
+    + Rework to match the DEP 5 proposal
+    + Add a Files section for nted fonts licensed under GPL2+ with font
+      exemption as specified in the new upstream file COPYING.FONT.TXT
+  * lintian -iI clean:
+    + debian/patches/*: add a description to each patch 
+    + debian/patches/remove-encoding-key-in-desktop-file: new patch to remove
+      deprecated encoding key in the desktop file
+    + debian/control:
+      - Depends: add ${misc:Depends} to both nted and nted-doc
+      - add details to the nted-doc long description
+
+ -- Gilles Filippini <gilles.filippini@free.fr>  Tue, 26 May 2009 23:28:51 +0200
+
+nted (1.5.0-2) unstable; urgency=low
+
+  * debian/README.source:
+    + Pasted the quilt README.source to explain how to modify the upstream
+      source code (required by policy 3.8.1, §4.14)
+  * debian/control:
+    + Bumped to policy 3.8.1.
+    + Recommends: removed dwww since it pulls a dependency on apache
+      (Closes: 516470). 
+
+ -- Gilles Filippini <gilles.filippini@free.fr>  Mon, 23 Mar 2009 22:05:53 +0100
+
+nted (1.5.0-1) unstable; urgency=low
+
+  * New upstream release:
+    + Floating toolbox
+  * New patch:
+    + warnings-1.5.0: warning fixes (advertised upstream) 
+
+ -- Gilles Filippini <gilles.filippini@free.fr>  Wed, 21 Jan 2009 01:01:05 +0100
+
+nted (1.4.17-1) unstable; urgency=low
+
+  * New upstream release:
+    + French translation updated
+    + bug fixes
+  * Removed patch (applied upstream):
+    + warnings-1.4.15
+
+  * debian/control: updated the long description field.
+
+ -- Gilles Filippini <gilles.filippini@free.fr>  Fri, 12 Dec 2008 21:22:42 +0100
+
+nted (1.4.15-1) unstable; urgency=low
+
+  * New upstream release:
+    + PDF export
+    + Arbitrary chord names
+    + Italian translation updated
+  * New patch:
+    + warnings-1.4.15: misplaced parentheses (advertised upstream)
+
+ -- Gilles Filippini <gilles.filippini@free.fr>  Tue, 11 Nov 2008 19:37:49 +0100
+
+nted (1.4.7-1) unstable; urgency=low
+
+  * New upstream release:
+    + Continuously scaled scores
+    + Lilypond export for scaled scores
+    + Exports SVG and PNG
+    + Musical signs in text (for instance: "D.S. al \O" => "D.S. al <coda>")
+    + Hideable rests
+    + Verticaly moveable rests
+    + Measure numbers
+
+ -- Gilles Filippini <gilles.filippini@free.fr>  Fri, 24 Oct 2008 20:38:37 +0200
+
+nted (1.3.4-1) unstable; urgency=low
+
+  * New upstream release:
+    + Chord annotations
+    + Guitar chord diagrams with lilypond export
+    + Nested braces in brackets
+    + Score terminating end bar
+
+ -- Gilles Filippini <gilles.filippini@free.fr>  Mon, 13 Oct 2008 09:20:08 +0200
+
+nted (1.2.3-1) unstable; urgency=low
+
+  * New upstream release:
+    + Bug fixes.
+
+  * debian/copyright: bumped to rev. 228 of the format proposal (no change
+    needed).
+
+ -- Gilles Filippini <gilles.filippini@free.fr>  Fri, 26 Sep 2008 21:20:54 +0200
+
+nted (1.2.1-1) unstable; urgency=low
+
+  * New upstream release:
+    + Segno can be attached to rests. 
+
+ -- Gilles Filippini <gilles.filippini@free.fr>  Sun, 21 Sep 2008 21:43:35 +0200
+
+nted (1.2.0-1) unstable; urgency=low
+
+  * New upstream release:
+    + Staff extraction
+    + Test alignment w/r notes (left, right, center)
+    + D.S / Da Capo al Fine / Coda with correct replay
+
+ -- Gilles Filippini <gilles.filippini@free.fr>  Thu, 18 Sep 2008 23:12:00 +0200
+
+nted (1.1.0-1) unstable; urgency=low
+
+  * New upstream release:
+    + Multiple windows with inter-window copy/paste.
+
+ -- Gilles Filippini <gilles.filippini@free.fr>  Fri, 12 Sep 2008 22:47:16 +0200
+
+nted (1.0.6-1) unstable; urgency=low
+
+  * New upstream release:
+    + Transpose function.
+
+ -- Gilles Filippini <gilles.filippini@free.fr>  Wed, 20 Aug 2008 20:00:13 +0200
+
+nted (1.0.4-1) unstable; urgency=low
+
+  * New upstream release:
+    + Customized global spacing between staves.
+    + Customized note spacing per measure.
+    + Stem direction per measure.
+    + Accidentals of all voices before all notes.
+    + Dutch translation updated.
+
+ -- Gilles Filippini <gilles.filippini@free.fr>  Mon, 18 Aug 2008 16:33:52 +0200
+
+nted (0.27.1-1) unstable; urgency=low
+
+  * New upstream release:
+    + More user control over stems and beams.
+    + Stave selection for lilypond export.
+  * Removed patch (applied upstream):
+    + warning-suggest-parentheses
+
+  * debian/copyright:
+    + Reworked to conform to rev. 226 of the format proposal.
+    + Upstream URL updated.
+
+ -- Gilles Filippini <gilles.filippini@free.fr>  Sun, 10 Aug 2008 23:10:32 +0200
+
+nted (0.26.1-1) unstable; urgency=low
+
+  * New upstream release:
+    + Customized beams
+    + Customized ties
+  * debian/watch: the tarball moved from .tgz to .tar.gz
+  * New patch:
+    + warning-suggest-parentheses: fixes c++ condition warnings revealed
+      by g++ 4.3.1.
+  * Removed patch (applied upstream):
+    + makefile-am-stamp-po
+  * Refreshed patches:
+    + makefile-in-automake
+
+  * debian/rules:
+    + post-patches-stamp: touch config.h.in to prevent an unneeded
+      autoheader run.
+    + get-orig-source: uses uscan to fetch the latest nted source release
+      instead of the release matching the package.
+
+ -- Gilles Filippini <gilles.filippini@free.fr>  Mon, 07 Jul 2008 22:49:12 +0200
+
+nted (0.25.2-1) unstable; urgency=low
+
+  * New upstream release:
+    + No more trailing empty systems
+    + Play transposed
+    + Complete makefiles reorganization
+    + New directory structure for doc files
+  * debian/nted-doc.install:
+    + Handle properly the new nted directory structure for doc files.
+  * debian/nted.install:
+    + The nted icon has moved to /usr/share/pixmaps
+  * Removed patch (applied upstream):
+    + warnings-0.24.1
+  * New patch:
+    + makefile-am-stamp-po: add the distclean removing of po/stamp-po so that
+      the source tree stays clean after two builds in a row.
+  * Refreshed patches:
+    + makefile-am-pkg-config
+    + makefile-in-automake
+
+  * debian/packaging-notes.txt: renamed to debian/README.source (debian-policy
+    3.8.0)
+  * debian/control: bumped standards version to 3.8.0.
+
+ -- Gilles Filippini <gilles.filippini@free.fr>  Thu, 19 Jun 2008 00:13:20 +0200
+
+nted (0.24.1-2) unstable; urgency=low
+
+  * Release bumped to 0.24.1-2 to Close 483698 (Closes: 483698) 
+
+ -- Gilles Filippini <gilles.filippini@free.fr>  Fri, 30 May 2008 18:36:48 +0200
+
+nted (0.24.1-1) unstable; urgency=low
+
+  * New upstream release:
+    + Note insertion via numerical keys.
+    + Compilation warnings cleanned.
+  * debian/packaging-notes.txt:
+    + Removed the "Warnings upstream won't fix" section since there is no
+      more warning now.
+  * New patch:
+    + warnings-0.24.1: handle a couple of compilation warnings / errors related
+      to numeric data casts on amd64 arch.
+
+  * debian/copyright: bumped to rev 129 of the format proposal (no change
+    needed). 
+
+ -- Gilles Filippini <gilles.filippini@free.fr>  Fri, 30 May 2008 09:45:42 +0200
+
+nted (0.24.0-1) unstable; urgency=low
+
+  * New upstream release:
+    + Note insertion via PC keyboard.
+  * Removed patch:
+    + warning-0.23.1: applied upstream.
+
+  * debian/copyright: reworked to conform to rev 115 of the format proposal. 
+
+ -- Gilles Filippini <gilles.filippini@free.fr>  Fri, 23 May 2008 22:26:50 +0200
+
+nted (0.23.1-1) unstable; urgency=low
+
+  * New upstream release:
+    + MIDI import
+    + French GUI translation (Closes: 475144)
+    + Doc italian translation
+  * debian/control:
+    + Updated long description field
+  * Added patch:
+    + warning-0.23.1: fixes a bunch of compilation warnings
+
+  * debian/copyright: reworked to conforms to rev 103 of the format proposal. 
+  * debian/rules:
+    + added get-orig-source target
+    + generalized the trick to keep original doc/<LANGUAGE>/<LANGUAGE>.po
+      files unmodified after two builds in a row
+
+ -- Gilles Filippini <gilles.filippini@free.fr>  Thu, 08 May 2008 17:17:56 +0200
+
+nted (0.22.3-1) unstable; urgency=low
+
+  * New upstream release:
+    - It is now possible to insert arbitrary text over staves with possibility
+      to influence the MIDI tempo and volume (e.g. "Allegro molto con brio").
+
+ -- Gilles Filippini <gilles.filippini@free.fr>  Sat, 05 Apr 2008 16:28:29 +0200
+
+nted (0.22.2-1) unstable; urgency=low
+
+  * New upstream release:
+    - New musical sign: arpeggio.
+    - Two more examples: example10.ntd and example11.ntd.
+
+ -- Gilles Filippini <gilles.filippini@free.fr>  Mon, 31 Mar 2008 22:42:27 +0200
+
+nted (0.22.1-1) unstable; urgency=low
+
+  * New upstream release:
+    - New musical signs: accelerato, ritardando, fermata.
+
+ -- Gilles Filippini <gilles.filippini@free.fr>  Thu, 27 Mar 2008 22:03:22 +0100
+
+nted (0.21.1-1) unstable; urgency=low
+
+  * New upstream release:
+    - Crescendo and de-crescendo.
+
+ -- Gilles Filippini <gilles.filippini@free.fr>  Mon, 17 Mar 2008 21:20:08 +0100
+
+nted (0.20.1-1) unstable; urgency=low
+
+  * New upstream release:
+    - Staves muting.
+
+ -- Gilles Filippini <gilles.filippini@free.fr>  Sun, 09 Mar 2008 11:06:39 +0100
+
+nted (0.20.0-1) unstable; urgency=low
+
+  * New upstream release:
+    - Slurs
+
+  * debian/control:
+    - fixed GTK+ spelling error reported by lintian.
+
+ -- Gilles Filippini <gilles.filippini@free.fr>  Mon, 25 Feb 2008 16:59:10 +0100
+
+nted (0.19.1-1) unstable; urgency=low
+
+  * New upstream release:
+    - Dynamics
+    - Tempo markers
+
+ -- Gilles Filippini <gilles.filippini@free.fr>  Fri, 15 Feb 2008 22:59:42 +0100
+
+nted (0.18.5-1) unstable; urgency=low
+
+  * New upstream release:
+    - bugfixes
+  * Patch removed:
+    - warnings-0.18.4 (accepted upstream)
+
+ -- Gilles Filippini <gilles.filippini@free.fr>  Tue, 05 Feb 2008 21:02:03 +0100
+
+nted (0.18.4-1) unstable; urgency=low
+
+  * New upstream release:
+    - One more example: example9.ntd
+  * New patch:
+    - warnings-0.18.4: fixes 3 minors g++ warnings
+  * Removed patch:
+    - doc-makefile-am (accepted upstream)
+  * Refreshed patches:
+    - makefile-in-automake
+    - doc-requirements
+
+ -- Gilles Filippini <gilles.filippini@free.fr>  Mon, 04 Feb 2008 21:37:02 +0100
+
+nted (0.18.2-1) unstable; urgency=low
+
+  * New upstream release (Closes: 462567):
+    - more accidentals and articulations
+    - the documentation is now a build target
+    - online help tied to the documentation using yelp
+  * Added a binary package to handle the documentation: nted-doc
+    (Closes: 445873)
+  * debian/copyright:
+    - added a section for the documentation licensing (GFDL-1.2+)
+  * debian/packaging-notes.txt:
+    - added a section related to the documentation
+    packaging
+  * debian/rules:
+    - keep doc/de/de.po unmodified in the source package after two buils in a
+      row.
+  * New patches:
+    - doc-makefile-am: added $(DESTDIR) to the documentation install path
+    - doc-requirements: changed the message issued when on line documentation
+      isn't available to explicitly state it requires the yelp and nted-doc
+      packages.
+  * Removed patches:
+    - makefile-am-doc: integrated upstream
+  * Refreshed patches:
+    - makefile-am-pkg-config
+    - makefile-in-automake
+
+ -- Gilles Filippini <gilles.filippini@free.fr>  Fri, 01 Feb 2008 00:20:34 +0100
+
+nted (0.17.1-1) unstable; urgency=low
+
+  * New upstream release:
+    - upbeats
+    - the documentation is now included in the source code tarball
+  * New patch:
+    - makefile-am-doc: the Makefile.in files shouldn't be removed by the clean
+      target.
+  * Refreshed patch:
+    - makefile-in-automake.
+
+ -- Gilles Filippini <gilles.filippini@free.fr>  Tue, 22 Jan 2008 23:33:34 +0100
+
+nted (0.16.2-1) unstable; urgency=low
+
+  * New upstream release (Closes: 460426):
+    - Improved MusicXML import
+    - New clefs
+
+ -- Gilles Filippini <gilles.filippini@free.fr>  Mon, 14 Jan 2008 11:48:57 +0100
+
+nted (0.16.0-1) unstable; urgency=low
+
+  * New upstream release:
+    - MusicXML import
+    - New example: example8.ntd
+  * debian/control: long description updated.
+  * debian/patches/makefile-in-automake: patch refreshed.
+
+ -- Gilles Filippini <gilles.filippini@free.fr>  Tue, 08 Jan 2008 23:01:33 +0100
+
+nted (0.15.0-1) unstable; urgency=low
+
+  * New upstream release:
+    - PAN (Stereo position), Chorus, Reverberation
+    - Connected staffs using braces or brackets
+    - Connected bar lines between connected staffs
+    - Staff names
+  * debian/control: long description updated. 
+
+ -- Gilles Filippini <gilles.filippini@free.fr>  Fri, 04 Jan 2008 21:55:59 +0100
+
+nted (0.14.0-1) unstable; urgency=low
+
+  * New upstream release:
+    - Drum notes.
+
+ -- Gilles Filippini <gilles.filippini@free.fr>  Wed, 02 Jan 2008 22:07:35 +0100
+
+nted (0.13.0-1) unstable; urgency=low
+
+  * New upstream release:
+    - grace notes
+    - new example: example7.ntd.
+
+ -- Gilles Filippini <gilles.filippini@free.fr>  Thu, 20 Dec 2007 21:22:00 +0100
+
+nted (0.12.4-1) unstable; urgency=low
+
+  * New upstream release:
+    - Bug fix in the File -> New dialog: the score information wasn't reset.
+
+  * debian/control: updated long description to match features added since
+    0.6.x release.
+
+  * debian/rules: target clean: suppressed *.gmo files removing as is now
+    correctly handled via po/Makefile.am.
+
+ -- Gilles Filippini <gilles.filippini@free.fr>  Wed, 19 Dec 2007 15:34:26 +0100
+
+nted (0.12.3-1) unstable; urgency=low
+
+  * New upstream release:
+    - Score informations (title, composer, ...)
+  * Patches not needed anymore (applied upstream or obsoleted):
+    - makefile-am-examples
+  * Refreshed patches to match the new source code:
+    - makefile-am-pkg-config
+    - makefile-in-automake
+
+ -- Gilles Filippini <gilles.filippini@free.fr>  Sat, 15 Dec 2007 21:50:01 +0100
+
+nted (0.12.2-1) unstable; urgency=low
+
+  * New upstream release (Closes: 455900):
+    - up to five lyrics lines
+    - no more need of libpaps
+    - two more examples: example5.ntd and example6.ntd
+  * debian/control (Build-Depends): no more need for libpaps-dev
+  * Patches not needed anymore (applied upstream or obsoleted):
+    - po-makefile-am-clean
+    - makefile-am-clean
+    - mainwindow-warnings
+    - warning-unused-variable
+  * New patches:
+    - makefile-am-examples: the EXAMPLES variable is of no use there since
+      examples are handled via datafiles/Makefile.am
+  * Refreshed patches to match the new source code:
+    - makefile-am-pkg-config
+    - makefile-in-automake
+
+  * debian/packaging-notes.txt: typo: s/fugure/figure/
+
+ -- Gilles Filippini <gilles.filippini@free.fr>  Thu, 13 Dec 2007 21:28:12 +0100
+
+nted (0.12.1-1) unstable; urgency=low
+
+  * New upstream release:
+    - uses libpaps to handle non latin characters in lyrics.
+  * debian/control: Build-Depends on libpaps-dev
+  * debian/patches/makefile-am-clean: clean stamp-h1 generated by the
+    configure step
+  * debian/patches/warning-unused-variable: removed an unused variable to
+    prevent a g++ warning
+  * debian/patches/mainwindow-warnings:
+    - fixed a deprecated conversion to gchar* from string constant
+    - removed an unused variable (tmpfile)
+
+  * debian/control: Upgraded to policy 3.7.3
+
+ -- Gilles Filippini <gilles.filippini@free.fr>  Tue, 11 Dec 2007 23:31:47 +0100
+
+nted (0.12.0-1) unstable; urgency=low
+
+  * New upstream release:
+    - Clef signature changes
+    - Lyrics (experimental)
+  * debian/patces/po-makefile-am-clean: clean target should remove gmo files.
+  * debian/patches/mainwindow-warning: in NedMainWindow class declaration,
+    changed members declaration order to avoid a warning during instance
+    initialisation.
+
+  * debian/patches/makefile-am-pkg-config: replaced `pkg-config --libs
+    gtk+-2.0 cairo` with -lgtk-x11-2.0 to avoid dpkg-shlibdeps warnings.
+
+ -- Gilles Filippini <gilles.filippini@free.fr>  Mon, 10 Dec 2007 22:11:16 +0100
+
+nted (0.10.0-3) unstable; urgency=low
+
+  * debian/control, debian/rules: switched to CDBS.
+
+ -- Gilles Filippini <gilles.filippini@free.fr>  Fri, 07 Dec 2007 21:39:22 +0100
+
+nted (0.10.0-2) unstable; urgency=low
+
+  * debian/packaging-notes.txt:
+    - Added a note about the gcc warning: the address of ‘xxx’ will always
+      evaluate as ‘true’
+
+  * debian/patches, debian/rules, debian/control:
+    - Use quilt to handle patches when needed
+
+  * Makefile.am: patched distclean to remove .deps, some Makefile left,
+    config.sub, and config.guess.
+  * debian/rules: removed the cleanning part which is now done in Makefile.am.
+
+  * debian/patches/configure-stderr-redirections:
+    - fixed erroned redirections 2>1 to 2>&1
+
+ -- Gilles Filippini <gilles.filippini@free.fr>  Wed, 05 Dec 2007 22:31:49 +0100
+
+nted (0.10.0-1) unstable; urgency=low
+
+  * New upstream release:
+    - Clef change
+    - swedish translation
+
+  * debian/control: removed useless ${misc:Depends}
+  * debian/packaging-notes.txt: added this file to keep track of packaging
+    choices, known issues and TO-DOs.
+
+  * debian/copyright: reworked to conform to the machine-interpretable format
+    proposal (see http://wiki.debian.org/Proposals/CopyrightFormat)
+
+ -- Gilles Filippini <gilles.filippini@free.fr>  Mon, 03 Dec 2007 22:34:31 +0100
+
+nted (0.9.5-2) unstable; urgency=low
+
+  * debian/docs: updated so that the ABOUT_THE_EXAMPLES.TXT file is included
+    in the package's doc directory. 
+
+ -- Gilles Filippini <gilles.filippini@free.fr>  Tue, 20 Nov 2007 22:08:40 +0100
+
+nted (0.9.5-1) unstable; urgency=low
+
+  * New upstream release:
+    - ABOUT_THE_EXAMPLES.TXT: file added to state about the example files
+      copyright.
+  * debian/copyright: updated to link to the example files copyright
+    statement. 
+
+ -- Gilles Filippini <gilles.filippini@free.fr>  Tue, 20 Nov 2007 21:39:28 +0100
+
+nted (0.9.4-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Gilles Filippini <gilles.filippini@free.fr>  Mon, 19 Nov 2007 15:49:44 +0100
+
+nted (0.9.3-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Gilles Filippini <gilles.filippini@free.fr>  Sat, 17 Nov 2007 10:00:52 +0100
+
+nted (0.9.2-2) unstable; urgency=low
+
+  * debian/rules: target clean removes man/Makefile 
+
+ -- Gilles Filippini <gilles.filippini@free.fr>  Wed, 14 Nov 2007 12:56:52 +0100
+
+nted (0.9.2-1) unstable; urgency=low
+
+  * New upstream release:
+    - po/de.po, po/nl.po: author field
+    - bug fixes
+
+ -- Gilles Filippini <gilles.filippini@free.fr>  Tue, 13 Nov 2007 21:32:20 +0100
+
+nted (0.9.0-1) unstable; urgency=low
+
+  * New upstream release:
+    - Time change signature
+    - No more const char * warnings
+    - Man page integrated upstream
+    - po/Makefile.am patched so that debian/dirs isn't necessary anymore
+
+ -- Gilles Filippini <gilles.filippini@free.fr>  Mon, 12 Nov 2007 18:24:32 +0100
+
+nted (0.8.1-2) unstable; urgency=low
+
+  * debian/rules, debian/watch, debian/nted.1: superfluous comments removed.
+  * debian/nted.1: typo in the date fixed.
+
+ -- Gilles Filippini <gilles.filippini@free.fr>  Thu, 01 Nov 2007 13:50:18 +0100
+
+nted (0.8.1-1) unstable; urgency=low
+
+  * New upstream release:
+    - Repeats with alternatives.
+
+ -- Gilles Filippini <gilles.filippini@free.fr>  Sun, 28 Oct 2007 22:17:09 +0100
+
+nted (0.7.1-1) unstable; urgency=low
+
+  * New upstream release.
+  * Italian translation.
+
+ -- Gilles Filippini <gilles.filippini@free.fr>  Sat, 13 Oct 2007 23:55:18 +0200
+
+nted (0.7.0-1) unstable; urgency=low
+
+  * New upstream version.
+  * NtEd can run without the ALSA MIDI sequencer. In this case replay is
+    disabled.
+  * A new entry in the FAQ to deal with the startup error message "Cannot
+    open ALSA MIDI sequencer --> replay won't work ..."
+  * New upstream url.
+
+  * Added debian/watch file.
+
+  * debian/control
+    - Use the "Homepage:" field to specify the upstream URL.
+    - Updated long description to acknowledge that NtEd is also a player.
+
+  * debian/rules
+    - Some cleaning not handled by upstream distclean (.debs,
+      datafiles/Makefile and po/Makefile).
+
+ -- Gilles Filippini <gilles.filippini@free.fr>  Thu, 11 Oct 2007 22:21:26 +0200
+
+nted (0.6.2-1) unstable; urgency=low
+
+  * New upstream release 0.6.2.
+  * Added /usr/share/locale/<locale>/LC_MESSAGES directories into debian/dirs.
+
+ -- Gilles Filippini <gilles.filippini@free.fr>  Fri, 05 Oct 2007 22:33:53 +0200
+
+nted (0.6.1-1) unstable; urgency=low
+
+  * Initial release (Closes: #444673)
+
+ -- Gilles Filippini <gilles.filippini@free.fr>  Sun, 30 Sep 2007 15:40:26 +0200
+
--- nted-1.10.7.orig/debian/nted-doc.doc-base.fr
+++ nted-1.10.7/debian/nted-doc.doc-base.fr
@@ -0,0 +1,9 @@
+Document: nted-fr
+Title: NtEd documentation, French translation
+Author: Jörg Anders, Willy Baré
+Abstract: Full documentation for the musical score editor NtEd.
+Section: Sound
+
+Format: HTML
+Index: /usr/share/doc/nted/fr/index.html
+Files: /usr/share/doc/nted/fr/*.html
--- nted-1.10.7.orig/debian/manpages
+++ nted-1.10.7/debian/manpages
@@ -0,0 +1 @@
+man/nted.1
--- nted-1.10.7.orig/debian/rules
+++ nted-1.10.7/debian/rules
@@ -0,0 +1,77 @@
+#!/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.
+#
+# Modified to make a template file for a multi-binary package with separated
+# build-arch and build-indep targets  by Bill Allombert 2001
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# This has to be exported to make some magic below work.
+export DH_OPTIONS
+
+#let's help configure to figure out our host/build system
+DEB_HOST_ARCH   ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
+DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE))
+  CONFFLAGS += --build $(DEB_HOST_GNU_TYPE)
+else
+  CONFFLAGS += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
+endif
+
+CONFFLAGS += --prefix=/usr
+
+#let's take care of optimization + debug builds
+CFLAGS += -Wall -g
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+        CFLAGS += -O0
+else
+        CFLAGS += -O2
+endif
+
+# Preserving doc/<LANGUAGE>/<LANGUAGE>.po from build changes so that the
+# source package remains the same after two builds in a row
+DOC_LANGUAGES := $(shell grep '^SUBDIRS' $(CURDIR)/doc/Makefile.am | sed 's/^.* docimages en //')
+%:
+	dh --with quilt  $@
+
+override_dh_auto_configure:
+	touch aclocal.m4
+	touch config.h.in
+	touch configure
+	find $(CURDIR) -name Makefile.in -exec touch {} \;
+	YELP=/usr/bin/yelp dh_auto_configure
+	# See DOC_LANGUAGES
+	set -e; for DL in $(DOC_LANGUAGES); do \
+	  /usr/bin/test -f $(CURDIR)/doc/$$DL/$$DL.po.keep || cp -a $(CURDIR)/doc/$$DL/$$DL.po $(CURDIR)/doc/$$DL/$$DL.po.keep; \
+	done
+	# generated debian/nted-doc.install
+	set -e; for DIR in docimages en $(DOC_LANGUAGES); do \
+	  echo "debian/tmp/usr/share/doc/nted/$$DIR" >> $(CURDIR)/debian/nted-doc.install; \
+	done
+
+override_dh_clean:
+	# See DOC_LANGUAGES
+	set -e; for DL in $(DOC_LANGUAGES); do \
+	  ( /usr/bin/test ! -f $(CURDIR)/doc/$$DL/$$DL.po.keep || mv -f $(CURDIR)/doc/$$DL/$$DL.po.keep $(CURDIR)/doc/$$DL/$$DL.po); \
+	done
+	rm -f $(CURDIR)/debian/nted-doc.install
+	dh_clean
+
+override_dh_install:
+	dh_install
+	# Remove examples: they are handled by debian/nted.examples
+	rm -fr $(CURDIR)/debian/nted/usr/share/nted/examples/
+
+override_dh_compress:
+	dh_compress -X.docbook
+
+get-orig-source:
+	uscan
--- nted-1.10.7.orig/debian/nted-doc.doc-base.de
+++ nted-1.10.7/debian/nted-doc.doc-base.de
@@ -0,0 +1,9 @@
+Document: nted-de
+Title: NtEd documentation, German translation
+Author: Jörg Anders
+Abstract: Full documentation for the musical score editor NtEd.
+Section: Sound
+
+Format: HTML
+Index: /usr/share/doc/nted/de/index.html
+Files: /usr/share/doc/nted/de/*.html
--- nted-1.10.7.orig/debian/watch
+++ nted-1.10.7/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://vsr.informatik.tu-chemnitz.de/staff/jan/nted/sources/nted-(.*)\.tar.gz
--- nted-1.10.7.orig/debian/nted.menu
+++ nted-1.10.7/debian/nted.menu
@@ -0,0 +1,8 @@
+?package(nted):needs="X11"\
+	section="Applications/Sound"\
+	title="NtEd"\
+	command="/usr/bin/nted"\
+	longtitle="The NtEd Musical Score Editor"\
+	hints="MIDI,Music Editor"\
+	description="NtEd is a musical score editor with MIDI and \
+postscript export."
--- nted-1.10.7.orig/debian/nted.install
+++ nted-1.10.7/debian/nted.install
@@ -0,0 +1,5 @@
+debian/tmp/usr/share/nted
+debian/tmp/usr/share/locale
+debian/tmp/usr/share/applications
+debian/tmp/usr/share/pixmaps
+debian/tmp/usr/bin
--- nted-1.10.7.orig/debian/nted.docs
+++ nted-1.10.7/debian/nted.docs
@@ -0,0 +1,2 @@
+FAQ
+ABOUT_THE_EXAMPLES.TXT
--- nted-1.10.7.orig/debian/patches/linking.generated
+++ nted-1.10.7/debian/patches/linking.generated
@@ -0,0 +1,39 @@
+Companion patch of linking to transform makefile.in accordingly.
+Index: nted/Makefile.in
+===================================================================
+--- nted.orig/Makefile.in	2010-04-02 22:11:24.000000000 +0200
++++ nted/Makefile.in	2010-04-02 22:24:01.000000000 +0200
+@@ -100,6 +100,8 @@
+ 	chords/libchords.a idiotseditor/libidiotseditor.a \
+ 	$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
+ 	$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
++nted_LINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(nted_LDFLAGS) \
++	$(LDFLAGS) -o $@
+ DEFAULT_INCLUDES = -I.@am__isrc@
+ depcomp = $(SHELL) $(top_srcdir)/depcomp
+ am__depfiles_maybe = depfiles
+@@ -246,6 +248,7 @@
+ PACKAGE_NAME = @PACKAGE_NAME@
+ PACKAGE_STRING = @PACKAGE_STRING@
+ PACKAGE_TARNAME = @PACKAGE_TARNAME@
++PACKAGE_URL = @PACKAGE_URL@
+ PACKAGE_VERSION = @PACKAGE_VERSION@
+ PANGO_CFLAGS = @PANGO_CFLAGS@
+ PANGO_LIBS = @PANGO_LIBS@
+@@ -345,6 +348,7 @@
+ 	freespacer.h pangocairotext.h freechordname.h midiimporter.h \
+ 	midirecorder.h
+ nted_LDADD = commands/libcommands.a dialogs/libdialogs.a chords/libchords.a idiotseditor/libidiotseditor.a $(CAIRO_LIBS) $(PANGO_LIBS) $(GTK_LIBS) $(X11_LIBS) -lasound
++nted_LDFLAGS = --as-needed
+ ACLOCAL_AMFLAGS = -I m4
+ EXTRA_DIST = config.rpath INSTALL README
+ all: config.h
+@@ -442,7 +446,7 @@
+ 	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
+ nted$(EXEEXT): $(nted_OBJECTS) $(nted_DEPENDENCIES) 
+ 	@rm -f nted$(EXEEXT)
+-	$(CXXLINK) $(nted_OBJECTS) $(nted_LDADD) $(LIBS)
++	$(nted_LINK) $(nted_OBJECTS) $(nted_LDADD) $(LIBS)
+ 
+ mostlyclean-compile:
+ 	-rm -f *.$(OBJEXT)
--- nted-1.10.7.orig/debian/patches/linking
+++ nted-1.10.7/debian/patches/linking
@@ -0,0 +1,13 @@
+Add LDFLAGS --as-needed to cope with dpkg-shlibdeps warnings
+Index: nted/Makefile.am
+===================================================================
+--- nted.orig/Makefile.am	2010-04-02 22:11:24.000000000 +0200
++++ nted/Makefile.am	2010-04-02 22:21:58.000000000 +0200
+@@ -52,6 +52,7 @@
+ 	freechord.h freespacer.h pangocairotext.h freechordname.h midiimporter.h midirecorder.h
+ 
+ nted_LDADD = commands/libcommands.a dialogs/libdialogs.a chords/libchords.a idiotseditor/libidiotseditor.a $(CAIRO_LIBS) $(PANGO_LIBS) $(GTK_LIBS) $(X11_LIBS) -lasound
++nted_LDFLAGS = --as-needed
+ 
+ 
+ cleanup: maintainer-clean cleanup-local
--- nted-1.10.7.orig/debian/patches/remove-encoding-key-in-desktop-file
+++ nted-1.10.7/debian/patches/remove-encoding-key-in-desktop-file
@@ -0,0 +1,11 @@
+Remove the deprecated encoding key in the desktop file.
+Index: nted/datafiles/applications/nted.desktop
+===================================================================
+--- nted.orig/datafiles/applications/nted.desktop	2009-05-26 20:16:46.000000000 +0200
++++ nted/datafiles/applications/nted.desktop	2009-05-26 20:16:55.000000000 +0200
+@@ -1,5 +1,4 @@
+ [Desktop Entry]
+-Encoding=UTF-8
+ Exec=nted
+ Icon=nted.png
+ StartupNotify=true
--- nted-1.10.7.orig/debian/patches/doc-requirements
+++ nted-1.10.7/debian/patches/doc-requirements
@@ -0,0 +1,16 @@
+Clarify the message issued when the online documentation isn't available.
+Index: nted/mainwindow.cpp
+===================================================================
+--- nted.orig/mainwindow.cpp	2010-05-21 21:29:44.000000000 +0200
++++ nted/mainwindow.cpp	2010-05-21 21:39:38.000000000 +0200
+@@ -4109,8 +4109,8 @@
+ 	NedMainWindow *main_window = (NedMainWindow *) data;
+ 	char arg[1024];
+ 	if (main_window->m_docu == NULL || access(YELP_PATH, X_OK)) {
+-		NedResource::Info(_("Excuse! The documentation is not available\n"
+-				"due to an installation error"));
++		NedResource::Info(_("Online documentation requires yelp and\n"
++				"nted-doc packages"));
+ 		return;
+ 	}
+ 	switch (fork()) {
--- nted-1.10.7.orig/debian/patches/series
+++ nted-1.10.7/debian/patches/series
@@ -0,0 +1,5 @@
+remove-encoding-key-in-desktop-file
+linking
+linking.generated
+doc-requirements
+warnings
--- nted-1.10.7.orig/debian/patches/warnings
+++ nted-1.10.7/debian/patches/warnings
@@ -0,0 +1,27 @@
+Fix trivial compilation warnings.
+Index: nted/commands/changetimsigcommand.cpp
+===================================================================
+--- nted.orig/commands/changetimsigcommand.cpp	2010-01-18 22:37:59.000000000 +0100
++++ nted/commands/changetimsigcommand.cpp	2010-01-18 22:38:35.000000000 +0100
+@@ -26,7 +26,7 @@
+ 
+ NedChangeTimeSigCommand::NedChangeTimeSigCommand(NedMainWindow *main_window, int newnum, int newdenom, unsigned int newsymbol) :
+ m_main_window(main_window), m_new_num(newnum), m_new_denom(newdenom), m_new_symbol(newsymbol) {
+-	unsigned int duration = m_main_window->m_numerator * WHOLE_NOTE / m_main_window->m_denominator;
++	int duration = m_main_window->m_numerator * WHOLE_NOTE / m_main_window->m_denominator;
+ 	if (duration == m_new_num * WHOLE_NOTE / m_new_denom) {
+ 		m_new_upbeat_inverse = m_main_window->m_upbeat_inverse;
+ 	}
+Index: nted/pangocairotext.cpp
+===================================================================
+--- nted.orig/pangocairotext.cpp	2010-01-18 22:39:05.000000000 +0100
++++ nted/pangocairotext.cpp	2010-01-18 22:40:29.000000000 +0100
+@@ -399,7 +399,7 @@
+ 		computeCursorPosition();
+ 		return;
+ 	}
+-	if (m_cursor_idx == g_utf8_strlen(m_measure_text, -1)) {
++	if (m_cursor_idx == (unsigned int)g_utf8_strlen(m_measure_text, -1)) {
+ 		strcpy(str1, m_text);
+ 		strcat(str1, text);
+ 		setText(str1, zoom, m_hide_hyphen);
--- nted-1.10.7.orig/debian/source/format
+++ nted-1.10.7/debian/source/format
@@ -0,0 +1 @@
+1.0
