--- startupmanager-1.9.13.orig/debian/pycompat
+++ startupmanager-1.9.13/debian/pycompat
@@ -0,0 +1 @@
+2
--- startupmanager-1.9.13.orig/debian/copyright
+++ startupmanager-1.9.13/debian/copyright
@@ -0,0 +1,37 @@
+This package was debianized by Jimmy Rönnholm <jimmy.ronnholm@telia.com> on
+Sun, 14 Jan 2007 19:27:51 +0100.
+
+It was downloaded from http://launchpad.net/startup-manager/
+
+Upstream Author: Jimmy Rönnholm <jimmy.ronnholm@telia.com>
+
+Copyright:
+   Copyright (C) 2006-2009 Jimmy Rönnholm <jimmy.ronnholm@telia.com>
+
+po/*
+   Copyright (c) 2007-2009 Rosetta Contributors and Canonical Ltd 2009
+
+License:
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+
+On Debian systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL-2'.
+
+The Debian packaging is (C) 2007, Jimmy Rönnholm <jimmy.ronnholm@telia.com> and
+is licensed under the GPL, see above.
--- startupmanager-1.9.13.orig/debian/watch
+++ startupmanager-1.9.13/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://sf.net/startup-manager/startupmanager_(.*)\.tar\.gz
--- startupmanager-1.9.13.orig/debian/dirs
+++ startupmanager-1.9.13/debian/dirs
@@ -0,0 +1 @@
+/usr/sbin
--- startupmanager-1.9.13.orig/debian/install
+++ startupmanager-1.9.13/debian/install
@@ -0,0 +1,2 @@
+data/*.glade /usr/share/startupmanager
+data/*.svg /usr/share/startupmanager
--- startupmanager-1.9.13.orig/debian/control
+++ startupmanager-1.9.13/debian/control
@@ -0,0 +1,22 @@
+Source: startupmanager
+Section: utils
+Priority: optional
+Maintainer: Python Applications Packaging Team <python-apps-team@lists.alioth.debian.org>
+Uploaders: Marco Rodrigues <gothicx@sapo.pt>
+Build-Depends: cdbs (>= 0.4.49), debhelper (>= 5.0.38), python-all (>= 2.4.4-2), python-support (>= 0.5.6)
+Build-Depends-Indep: intltool, gnome-doc-utils
+Standards-Version: 3.8.4
+Vcs-Svn: svn://svn.debian.org/python-apps/packages/startupmanager/trunk
+Vcs-Browser: http://svn.debian.org/viewsvn/python-apps/packages/startupmanager/trunk/
+XS-Python-Version: all
+Homepage: https://launchpad.net/startup-manager
+
+Package: startupmanager
+XB-Python-Version: ${python:Versions}
+Architecture: all
+Depends: ${python:Depends}, ${misc:Depends}, python-glade2 (>= 2.12), python-gnome2 (>= 2.20), python-libxml2 (>= 2.6.30), x11-xserver-utils, yelp, grub | grub-pc, menu
+Description: Grub, Usplash and Splash screen configuration
+ StartUp-Manager configures some settings for grub, usplash and
+ splash screens. It provides an easy to use interface.
+ .
+ It is originally a Ubuntu project, adapted for Debian.
--- startupmanager-1.9.13.orig/debian/startupmanager.1
+++ startupmanager-1.9.13/debian/startupmanager.1
@@ -0,0 +1,34 @@
+.\"                                      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(1)
+.TH STARTUPMANAGER 1 "February 16, 2007"
+.\" 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
+STARTUPMANAGER \- Grub, Usplash and Splash screen configuration
+.SH SYNOPSIS
+.B startupmanager
+.SH DESCRIPTION
+This manual page documents briefly the
+.B startupmanager
+commands.
+.PP
+.\" TeX users may be more comfortable with the \fB<whatever>\fP and
+.\" \fI<whatever>\fP escape sequences to invode bold face and italics,
+.\" respectively.
+\fBstartupmanager\fP is a program to change settings for Grub, Usplash and Splash.
+.SH AUTHOR
+startupmanager was written by Jimmy Ronnholm.
+.PP
+This manual page was written by Jimmy Ronnholm <jimmy.ronnholm@telia.com>.
--- startupmanager-1.9.13.orig/debian/prerm
+++ startupmanager-1.9.13/debian/prerm
@@ -0,0 +1,6 @@
+#!/bin/sh -e
+
+# remove pyc and pyo files from older versions of this package
+find /usr/share/startupmanager -name '*\.py[co]' -delete
+
+#DEBHELPER#
--- startupmanager-1.9.13.orig/debian/docs
+++ startupmanager-1.9.13/debian/docs
@@ -0,0 +1,2 @@
+README
+AUTHORS
--- startupmanager-1.9.13.orig/debian/rules
+++ startupmanager-1.9.13/debian/rules
@@ -0,0 +1,15 @@
+#!/usr/bin/make -f
+
+DEB_PYTHON_SYSTEM=pysupport
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/python-distutils.mk
+include /usr/share/cdbs/1/rules/simple-patchsys.mk
+
+DEB_INSTALL_MANPAGES_startupmanager := debian/startupmanager.1
+
+binary-install/startupmanager::
+	dh_pysupport
+
+binary-predeb/startupmanager::
+	$(RM) -r debian/startupmanager/usr/lib
--- startupmanager-1.9.13.orig/debian/preinst
+++ startupmanager-1.9.13/debian/preinst
@@ -0,0 +1,11 @@
+#!/bin/sh
+# TODO: remove this file after releasing Squeeze
+set -e
+if [ "$1" = upgrade ]
+then
+        if dpkg --compare-versions "$2" lt 1.9.13-1; then
+                pycentral pkgremove startupmanager
+        fi
+fi
+
+#DEBHELPER#
--- startupmanager-1.9.13.orig/debian/changelog
+++ startupmanager-1.9.13/debian/changelog
@@ -0,0 +1,133 @@
+startupmanager (1.9.13-5) unstable; urgency=low
+
+  * debian/control:
+    + Change XS-P-V to all for Python 2.6 transition (Closes: #570564).
+    + Bump Standards-Version to 3.8.4 (no changes needed).
+    + Fix lintian warning about the python-all-dev at b-d-i.
+
+ -- Marco Rodrigues <gothicx@sapo.pt>  Mon, 21 Feb 2010 22:19:03 +0000
+
+startupmanager (1.9.13-4) unstable; urgency=low
+
+  * debian/control:
+    + Replace grub2 (dummy package) by grub-pc. Thanks Colin Watson.
+
+ -- Marco Rodrigues <gothicx@sapo.pt>  Thu, 15 Oct 2009 20:04:08 +0100
+
+startupmanager (1.9.13-3) unstable; urgency=low
+
+  * debian/control:
+    + Bump Standards-Version to 3.8.3 (no changes).
+    + Add grub2 to Depends.
+    + Add Usplash to short and long description.
+  * debian/startupmanager.1:
+    + Add supported Usplash to manual.
+
+ -- Marco Rodrigues <gothicx@sapo.pt>  Thu, 17 Sep 2009 12:51:12 +0100
+
+startupmanager (1.9.13-2) unstable; urgency=low
+
+  * Re-add patches directory. Missing in the last upload.
+  * debian/patches:
+    + Correct patch to add su-to-root to desktop file.
+  * debian/copyright:
+    + Bump copyright years for translation files.
+    + Point package license to GPL-2 to make lintian happy.
+
+ -- Marco Rodrigues <gothicx@sapo.pt>  Fri, 10 Jul 2009 17:32:16 +0100
+
+startupmanager (1.9.13-1) unstable; urgency=low
+
+  * New upstream version.
+  * Add preinst to remove pycentral files.
+  * debian/control:
+    + Bump Standards-Version to 3.8.2 (no changes).
+    + Migrate from pycentral to pysupport.
+    + Add x11-xserver-utils (provides xrandr) to Depends.
+  * debian/rules:
+    + Migrate from pycentral to pysupport.
+  * debian/watch:
+    + Fix upstream package name to check latest version.
+  * debian/copyright:
+    + Bump copyright years.
+
+ -- Marco Rodrigues <gothicx@sapo.pt>  Mon, 06 Jul 2009 22:56:06 +0100
+
+startupmanager (1.9.12-1) unstable; urgency=low
+
+  [ Marco Rodrigues ]
+  * New upstream version.
+  * Bump Standards-Version to 3.8.0 (no changes).
+  * debian/control:
+    + Remove Vincent Legout from Uploaders. Thanks for your work.
+    + Add ${misc:Depends} to Depends to remove
+      lintian warning.
+    + Add -e option to sh to remove lintian warning.
+    + Remove imagemagick from Depends like upstream.
+
+  [ Sandro Tosi ]
+  * debian/control
+    - switch Vcs-Browser field to viewsvn
+
+ -- Marco Rodrigues <gothicx@sapo.pt>  Tue, 23 Dec 2008 09:51:41 +0000
+
+startupmanager (1.9.11-1) unstable; urgency=low
+
+  * New upstream version.
+  * debian/control:
+    + Bump python-central to version 0.6.
+
+ -- Marco Rodrigues <gothicx@sapo.pt>  Sun, 23 Mar 2008 22:05:17 +0000
+
+startupmanager (1.9.10-2) unstable; urgency=low
+
+  * debian/control:
+    + Add 'menu' package to Depends to use su-to-root (LP: #182770).
+
+ -- Marco Rodrigues <gothicx@sapo.pt>  Mon, 14 Jan 2008 19:55:47 +0000
+
+startupmanager (1.9.10-1) unstable; urgency=low
+
+  * New upstream version.
+    + Remove 01_menu_checklength.diff, because it's applied upstream.
+  * Add fix_desktop_file patch that replaces gksu with su-to-root
+
+ -- Marco Rodrigues <gothicx@sapo.pt>  Sun, 06 Jan 2008 23:25:12 +0000
+
+startupmanager (1.9.9-2) unstable; urgency=low
+
+  [ Marco Rodrigues ]
+  * Add version check to cdbs, debhelper and python-all-dev.
+  * Update Standards-Version to 3.7.3.
+  * Bump debhelper to version 0.5.38.
+
+  [ Kumar Appaiah ]
+  * debian/patches:
+    + Add 01_menu_checklength.diff to fix failure if default
+      entry to boot is bigger than total. Thanks to Andrea Colangelo
+      for the patch. (Closes: #459203)
+  * debian/copyright:
+    + Convert to UTF-8.
+  * debian/rules:
+    + Remove /usr/lib directory, as it is empty.
+  * debian/control:
+    + Remove myself from uploaders.
+  
+ -- Marco Rodrigues <gothicx@sapo.pt>  Sat, 05 Jan 2008 13:32:07 +0100
+
+startupmanager (1.9.9-1) unstable; urgency=low
+
+  * New upstream version
+    - Changed executable location from /usr/bin/ to /usr/sbin/
+    - Removed debian directory from tarball.
+    - Removed .xml2po.mo and python-build-stamp-2.5 from tarball.
+  * Removed 02_use_sbin.diff, because it's applied upstream.
+  * Removed 01_fix_exit_function.diff, because it's applied upstream.
+
+ -- Marco Rodrigues <gothicx@sapo.pt>  Sun, 04 Nov 2007 14:02:56 +0000
+
+startupmanager (1.9.8-1) unstable; urgency=low
+
+  * Initial release (Closes: #441376).
+
+ -- Marco Rodrigues <gothicx@sapo.pt>  Wed, 24 Oct 2007 22:54:16 +0000
--- startupmanager-1.9.13.orig/debian/menu
+++ startupmanager-1.9.13/debian/menu
@@ -0,0 +1,4 @@
+?package(startupmanager):needs="X11" \
+  section="Applications/System/Administration" \
+  title="Startup-Manager" \
+  command="su-to-root -X -c /usr/sbin/startupmanager"
--- startupmanager-1.9.13.orig/debian/compat
+++ startupmanager-1.9.13/debian/compat
@@ -0,0 +1 @@
+5
--- startupmanager-1.9.13.orig/debian/patches/fix_desktop_file.patch
+++ startupmanager-1.9.13/debian/patches/fix_desktop_file.patch
@@ -0,0 +1,11 @@
+--- data/startupmanager.desktop.in_orig	2008-01-07 01:39:48.000000000 +0100
++++ data/startupmanager.desktop.in	2008-01-07 01:41:09.000000000 +0100
+@@ -1,7 +1,7 @@
+ [Desktop Entry]
+ _Name=StartUp-Manager
+ _Comment=Change settings for the bootloader and splash screen
+-Exec=/usr/sbin/startupmanager
++Exec=su-to-root -X -c /usr/sbin/startupmanager
+ Icon=startupmanager
+ NotShowIn=KDE;
+ Terminal=false
