--- tuxonice-userui-0.7.3.orig/debian/dirs +++ tuxonice-userui-0.7.3/debian/dirs @@ -0,0 +1,2 @@ +usr/lib/tuxonice-userui/ +usr/share/initramfs-tools/hooks/ --- tuxonice-userui-0.7.3.orig/debian/changelog +++ tuxonice-userui-0.7.3/debian/changelog @@ -0,0 +1,124 @@ +tuxonice-userui (0.7.3-1) unstable; urgency=low + + * New upstream release. Closes: #512302. + * Add debian/watch. + * Get rid of deprecated linda override. + * Get rid of now useless suspend2-userui dummy package. + * debian/control: + + Fix mispelling in description. + + Add ${misc:Depends} to Depends in case the result of a call to + debhelper tools adds extra dependencies. + + Bump debhelper Build-Depends to take advantage of dh_lintian. + * debian/copyright: + + Update copyright years. + + Reorganize to make it clearer. + * Add ramdisk support. Thanks to Dylan Thurston. Closes: #499856. + + Add debian/postinst and debian/postrm. + + debian/control: + - Add Depends against initramfs-tools. + + debian/NEWS: + - Add entry explaining how to use it. + * Add 01_dont-display-reboot-option-on-resume.patch to not display + reboot option when resuming. Closes: #424943. + + Add debian/README.source according to the policy. + + debian/control: + - Add Build-Depends on quilt. + + debian/rules: + - Include CDBS patchsys-quilt.mk. + + -- Arnaud Fontaine Thu, 05 Mar 2009 22:42:46 +0000 + +tuxonice-userui (0.7.2+clean-4) unstable; urgency=low + + * New email address. + * Drop useless debian/control.in. + * debian/control: + + Update Standards-Version to 3.8.0. + + Wrap Build-Depends field. + * Drop patches which are now useless because this is done in + debian/rules directly. + * Don't build tuxoniceui_usplash binary on ia64 because usplash is + unavailable on ia64. Closes: #423714. + + -- Arnaud Fontaine Mon, 30 Jun 2008 16:13:53 +0200 + +tuxonice-userui (0.7.2+clean-3) unstable; urgency=low + + * Rename suspend2-userui to tuxonice-userui. Closes: #446147. + * Add debian/shlibs.local because libusplash doesn't provide a shlibs + file yet, see #453847. Closes: #453816. + * debian/control*: + + Move Homepage field to the source package (dpkg supports it now). + + -- Arnaud Fontaine Sat, 01 Dec 2007 14:52:59 +0000 + +suspend2-userui (0.7.2+clean-2) unstable; urgency=low + + * Add debian/patches/01_nostrip.diff for handling nostrip build + option. Closes: #438077. + + -- Arnaud Fontaine Mon, 27 Aug 2007 15:35:40 +0200 + +suspend2-userui (0.7.2+clean-1) unstable; urgency=low + + * New upstream release. Closes: #426189. + * Drop useless debian/patches/fix-ftbfs-ia64.diff. + * debian/control*: + + Add depends against libusplash-dev. + + -- Arnaud Fontaine Sun, 22 Jul 2007 11:07:59 +0200 + +suspend2-userui (0.7.0-1) unstable; urgency=low + + * New upstream release. + - Fix bug which happened with suspend2 > 2.2.9. Closes: #409511. + - Remove fix-syscall.diff which has been added upstream. + * Add lintian and linda overrides for statically linked binaries. + + -- Arnaud Fontaine Sat, 17 Feb 2007 14:28:54 +0100 + +suspend2-userui (0.6.4-3) unstable; urgency=low + + * debian/patches/fix-ftbfs-ia64.diff: + - New patch which fixes FTBFS on ia64 because PAGE_MASK shouldn't + be used from userspace. + + -- Arnaud Fontaine Thu, 4 Jan 2007 20:48:51 +0100 + +suspend2-userui (0.6.4-2) unstable; urgency=low + + * Adopted package with maintainers permission. + * Switch to cdbs and hereby support build-indep target. + Closes: #395774. + * debian/control: + - Replace any in favor of the architectures supported by suspend2. + Closes: #389325. + * New patch which fixes obsolete syscall usage. Thanks to Ted + Percival . Closes: #389317. + * Move binaries from /usr/sbin to /usr/lib/suspend2-userui according + to the FHS. + - New patch which fixes makefile install path. + + -- Arnaud Fontaine Sun, 31 Dec 2006 17:16:47 +0100 + +suspend2-userui (0.6.4-1) unstable; urgency=low + + * New upstream release. + * Updated to Standards-Version 3.7.2. No changes necessary. + + -- Thomas Schoepf Tue, 29 Aug 2006 18:53:51 +0200 + +suspend2-userui (0.6.3-1) unstable; urgency=low + + * New upstream release. + * New maintainer. Thanks Martin! + * Closes: #324988: ITP: suspend2-userui -- user-space interfaces for + software suspend2 + + -- Thomas Schoepf Wed, 8 Feb 2006 21:08:21 +0100 + +suspend2-userui (0.5.3-1) unstable; urgency=low + + * Initial release. + + -- martin f. krafft Tue, 23 Aug 2005 15:30:13 +0200 --- tuxonice-userui-0.7.3.orig/debian/NEWS +++ tuxonice-userui-0.7.3/debian/NEWS @@ -0,0 +1,29 @@ +tuxonice-userui (0.7.3-1) unstable; urgency=low + + * Add ramdisk support, which means you can now include tuxonice-userui + binaries within a ramdisk by simply running 'update-initramfs + -u'. This command is automatically run on package installation. + + -- Arnaud Fontaine Tue, 20 Jan 2009 11:51:00 +0000 + +tuxonice-userui (0.7.2+clean-3) unstable; urgency=low + + * Rename suspend2-userui packages to tuxonice-userui. + + -- Arnaud Fontaine Sat, 01 Dec 2007 15:12:57 +0000 + +suspend2-userui (0.7.2-1) unstable; urgency=low + + * suspend2-userui binaries prefix has been changed from 'suspend2_' + to 'tuxonice_'. + + -- Arnaud Fontaine Sun, 22 Jul 2007 11:41:46 +0200 + +suspend2-userui (0.6.4-2) unstable; urgency=low + + * Move binaries from /usr/sbin to /usr/lib/suspend2-userui because + these binaries aren't intended to be executed directly by + users. You have to update your configuration in order to modify + the path of binaries. + + -- Arnaud Fontaine Mon, 1 Jan 2007 23:39:50 +0100 --- tuxonice-userui-0.7.3.orig/debian/shlibs.local +++ tuxonice-userui-0.7.3/debian/shlibs.local @@ -0,0 +1 @@ +libusplash 0 libusplash0 --- tuxonice-userui-0.7.3.orig/debian/initramfs.hook +++ tuxonice-userui-0.7.3/debian/initramfs.hook @@ -0,0 +1,49 @@ +#!/bin/sh +# -*- shell-script -*- + +PREREQ="" + +prereqs() +{ + echo "$PREREQ" +} + +case $1 in + prereqs) + prereqs + exit 0 + ;; +esac + +. /usr/share/initramfs-tools/hook-functions + +TUXONICE_ENABLED=/sys/power/tuxonice/user_interface/enabled + +# Don't do anything if the kernel does not support tuxonice_userui, +# nor the module is there +if [ -f ${TUXONICE_ENABLED} ]; then + if [ `cat ${TUXONICE_ENABLED}` = 0 ]; then + echo "TuxOnIce user interface is disabled, skipping..." + exit 0 + fi +elif [ ! -f ${MODULESDIR}/kernel/power/tuxonice_userui.ko ]; then + echo "This kernel does not seem to support TuxOnIce user interface, skipping..." + exit 0 +fi + +# Add the module and its dependencies and load it automatically if it +# exists +force_load tuxonice_userui + +TUXONICEDIR=/usr/lib/tuxonice-userui + +mkdir -p ${DESTDIR}${TUXONICEDIR} + +copy_exec ${TUXONICEDIR}/tuxoniceui_text ${TUXONICEDIR} +copy_exec ${TUXONICEDIR}/tuxoniceui_fbsplash ${TUXONICEDIR} + +# The following file does not exist on ia64 as usplash is not +# available on this architecture +if [ -x ${TUXONICEDIR}/tuxoniceui_usplash ]; then + copy_exec ${TUXONICEDIR}/tuxoniceui_usplash ${TUXONICEDIR} +fi --- tuxonice-userui-0.7.3.orig/debian/compat +++ tuxonice-userui-0.7.3/debian/compat @@ -0,0 +1 @@ +6 --- tuxonice-userui-0.7.3.orig/debian/rules +++ tuxonice-userui-0.7.3/debian/rules @@ -0,0 +1,20 @@ +#!/usr/bin/make -f +# -*- mode: makefile; coding: utf-8 -*- + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/makefile.mk +include /usr/share/cdbs/1/rules/patchsys-quilt.mk + +# usplash is not available on ia64 +ifeq ($(DEB_HOST_ARCH_CPU),ia64) +DEB_MAKE_BUILD_TARGET := tuxoniceui_text tuxoniceui_fbsplash +else +DEB_MAKE_BUILD_TARGET := tuxoniceui_text tuxoniceui_fbsplash tuxoniceui_usplash +endif + +binary-post-install/tuxonice-userui:: + install -m 755 -t $(CURDIR)/debian/tuxonice-userui/usr/lib/tuxonice-userui/ \ + $(DEB_MAKE_BUILD_TARGET) + + install -m 755 debian/initramfs.hook \ + $(CURDIR)/debian/tuxonice-userui/usr/share/initramfs-tools/hooks/tuxonice_userui --- tuxonice-userui-0.7.3.orig/debian/README.source +++ tuxonice-userui-0.7.3/debian/README.source @@ -0,0 +1,6 @@ +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. + +You can find explanations about quilt usage in the following file: +/usr/share/doc/quilt/README.source --- tuxonice-userui-0.7.3.orig/debian/docs +++ tuxonice-userui-0.7.3/debian/docs @@ -0,0 +1,2 @@ +KERNEL_API +USERUI_API --- tuxonice-userui-0.7.3.orig/debian/watch +++ tuxonice-userui-0.7.3/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://www.tuxonice.net/downloads/all/tuxonice-userui-(.*)\.tar\.gz --- tuxonice-userui-0.7.3.orig/debian/lintian-overrides +++ tuxonice-userui-0.7.3/debian/lintian-overrides @@ -0,0 +1,3 @@ +# tuxonice-userui needs to be statically linked because called by the +# kernel at startup +tuxonice-userui: statically-linked-binary --- tuxonice-userui-0.7.3.orig/debian/control +++ tuxonice-userui-0.7.3/debian/control @@ -0,0 +1,26 @@ +Source: tuxonice-userui +Priority: extra +Section: misc +Maintainer: Arnaud Fontaine +Build-Depends: cdbs (>= 0.4.23-1.1), + debhelper (>= 6.0.7), + libmng-dev (>= 1.0.5), + libfreetype6-dev, + libpng12-dev, + libusplash-dev [!ia64], + quilt +Standards-Version: 3.8.0 +Homepage: http://www.tuxonice.net/userui + +Package: tuxonice-userui +Architecture: i386 ia64 powerpc ppc64 amd64 +Depends: ${shlibs:Depends}, ${misc:Depends}, initramfs-tools +Recommends: hibernate +Description: user-space interfaces for TuxOnIce + TuxOnIce is an alternative implementation to suspend a Linux machine + by writing its state to memory for later resuming. A kernel patch for + TuxOnIce is available separately. + . + This package provides several user interfaces which improve the + user's experience during the suspend and resume processes. It is not + needed for TuxOnIce functionality. --- tuxonice-userui-0.7.3.orig/debian/postinst +++ tuxonice-userui-0.7.3/debian/postinst @@ -0,0 +1,11 @@ +#!/bin/sh + +set -e + +if [ "$1" = "configure" ]; then + update-initramfs -u +fi + +#DEBHELPER# + +exit 0 --- tuxonice-userui-0.7.3.orig/debian/copyright +++ tuxonice-userui-0.7.3/debian/copyright @@ -0,0 +1,43 @@ +This is the Debian/Ubuntu package for tuxonice-userui. The package was +debianised by martin f. krafft . It was +maintained by Thomas Schoepf and is now +maintained by Arnaud Fontaine . + +It was downloaded from http://www.tuxonice.net/downloads/ + +Authors: + Bernard Blackham + Henrix Brix Andersen + +Files: * + Copyright (C) 2005-2009 Bernard Blackham + +Files: fbplash/* + Copyright (C) 2005-2009 Bernard Blackham + Copyright (C) 2004-2009 Michal Januszewski + +All the files are under the following 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-2'. + +The Debian specific changes are copyright (c) 1996-2005 Martin F. +Krafft, copyright (c) 2006 Thomas Schoepf, and copyright (c) 2006-2009 +Arnaud Fontaine, and distributed under the terms of the Artistic +License. On Debian systems, the full license text may be found in +`/usr/share/common-licenses/Artistic'. --- tuxonice-userui-0.7.3.orig/debian/postrm +++ tuxonice-userui-0.7.3/debian/postrm @@ -0,0 +1,9 @@ +#!/bin/sh + +set -e + +update-initramfs -u + +#DEBHELPER# + +exit 0 --- tuxonice-userui-0.7.3.orig/debian/patches/01_dont-display-reboot-option-on-resume.patch +++ tuxonice-userui-0.7.3/debian/patches/01_dont-display-reboot-option-on-resume.patch @@ -0,0 +1,26 @@ +Index: tuxonice-userui-0.7.3/userui_text.c +=================================================================== +--- tuxonice-userui-0.7.3.orig/userui_text.c 2009-01-20 12:05:09.000000000 +0000 ++++ tuxonice-userui-0.7.3/userui_text.c 2009-01-20 12:08:52.000000000 +0000 +@@ -77,11 +77,17 @@ + */ + static void update_help(int update_all) + { +- const char intro_text[] = "%-18s R: %s reboot after suspend "; +- move_cursor_to(video_num_columns - sizeof(intro_text) - 16, video_num_lines); +- printf(intro_text, +- (can_use_escape) ? "Esc: Abort suspend / resume" : "", ++ char intro_text[64]; ++ ++ if (resuming) ++ sprintf(intro_text, "%s", (can_use_escape) ? "Esc: Abort resume " : ""); ++ else ++ sprintf(intro_text, "%sR: %s reboot after suspend ", ++ (can_use_escape) ? "Esc: Abort suspend " : "", + (suspend_action & (1 << SUSPEND_REBOOT)) ? "Disable":"Enable"); ++ ++ move_cursor_to(video_num_columns - strlen(intro_text), video_num_lines); ++ printf(intro_text); + } + + /* text_prepare_status --- tuxonice-userui-0.7.3.orig/debian/patches/series +++ tuxonice-userui-0.7.3/debian/patches/series @@ -0,0 +1 @@ +01_dont-display-reboot-option-on-resume.patch