Your message dated Sun, 13 Jan 2008 22:02:03 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#418296: fixed in leafpad 0.8.13-1
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: leafpad
Version: 0.8.9-2
Severity: normal
Tags: patch

Attached is a untested patch.  Hope it works!

Regards,

-- 
roktas
From 3788f25e38b4ffd5d8baf0eefbb6c06d407782fa Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Recai_Okta=C5=9F?= <[EMAIL PROTECTED]>
Date: Mon, 9 Apr 2007 00:37:10 +0300
Subject: [PATCH] Add support for gnome-text-editor alternative.
---
 debian/postinst |   27 +++++++++++++++++++++++++++
 debian/prerm    |   23 +++++++++++++++++++++++
 2 files changed, 50 insertions(+), 0 deletions(-)

diff --git a/debian/postinst b/debian/postinst
new file mode 100644
index 0000000..1037c5c
--- /dev/null
+++ b/debian/postinst
@@ -0,0 +1,27 @@
+#! /bin/sh
+
+set -e
+
+case "$1" in
+configure)
+       # Register leafpad as a gnome-text-editor in the alternatives system.
+       update-alternatives \
+               --install /usr/bin/gnome-text-editor \
+                       gnome-text-editor /usr/bin/leafpad 40 \
+               --slave /usr/share/man/man1/gnome-text-editor.1.gz \
+                       gnome-text-editor.1.gz /usr/share/man/man1/leafpad.1.gz
+       ;;
+
+abort-upgrade|abort-remove|abort-deconfigure)
+       ;;
+
+*)
+       echo "postinst called with unknown argument \`$1'" >&2
+       exit 0
+       ;;
+esac
+
+#DEBHELPER#
+
+exit 0
+
diff --git a/debian/prerm b/debian/prerm
new file mode 100644
index 0000000..a54e0f7
--- /dev/null
+++ b/debian/prerm
@@ -0,0 +1,23 @@
+#! /bin/sh
+
+set -e
+
+case "$1" in
+remove|upgrade|deconfigure)
+       # Unregister leafpad as a gnome-text-editor in the alternatives system.
+       update-alternatives --remove gnome-text-editor /usr/bin/leafpad ||:
+       ;;
+
+failed-upgrade)
+       ;;
+
+*)
+       echo "prerm called with unknown argument \`$1'" >&2
+       exit 0
+       ;;
+esac
+
+#DEBHELPER#
+
+exit 0
+
-- 
1.4.1.1

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Source: leafpad
Source-Version: 0.8.13-1

We believe that the bug you reported is fixed in the latest version of
leafpad, which is due to be installed in the Debian FTP archive:

leafpad_0.8.13-1.diff.gz
  to pool/main/l/leafpad/leafpad_0.8.13-1.diff.gz
leafpad_0.8.13-1.dsc
  to pool/main/l/leafpad/leafpad_0.8.13-1.dsc
leafpad_0.8.13-1_i386.deb
  to pool/main/l/leafpad/leafpad_0.8.13-1_i386.deb
leafpad_0.8.13.orig.tar.gz
  to pool/main/l/leafpad/leafpad_0.8.13.orig.tar.gz



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Julien Lavergne <[EMAIL PROTECTED]> (supplier of updated leafpad package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Tue, 20 Nov 2007 00:19:29 +0100
Source: leafpad
Binary: leafpad
Architecture: source i386
Version: 0.8.13-1
Distribution: unstable
Urgency: low
Maintainer: Carlos Z.F. Liu <[EMAIL PROTECTED]>
Changed-By: Julien Lavergne <[EMAIL PROTECTED]>
Description: 
 leafpad    - GTK+ based simple text editor
Closes: 376015 418296 445702 456787
Changes: 
 leafpad (0.8.13-1) unstable; urgency=low
 .
   [ Loic Minier ]
   * Add a get-orig-source target to retrieve the upstream tarball.
 .
   [ Sven Arvidsson ]
   * Register as gnome-text-editor in the alternatives system;
     thanks roktas. (Closes: #418296)
 .
   [ Julien Lavergne ]
   * New upstream version (Closes: #445702)
    - Printing support with GTK+2.10 (Closes: #376015)
   * debian/control.in
    - Move Homepage to offcial field
    - Bump libgtk-dev to >= 2.10
    - Suggest evince-gtk for Print Preview
    - Bump debhelper version to 5
    - Bump Standards-Version to 3.7.3 (No changes needed)
    - Wrap build-deps and deps.
   * debian/rule
    - Delete --disable-print flag
    - Delete autotools cdbs rules, include in gnome rules
   * debian/patches/70_relibtoolize_noguessub.patch : drop, take upstream.
   * debian/menu : Fix lintian warning in section.
 .
   [ Loic Minier ]
   * Merge changes bu Julien Lavergne; closes: #456787.
   * Cleanups.
Files: 
 25dc075df858c638149ba770d9d73df6 766 editors optional leafpad_0.8.13-1.dsc
 b946964501b984e975025d510cfa39e9 266535 editors optional 
leafpad_0.8.13.orig.tar.gz
 250ebc1c0b64bbf214233db29b882cfe 4825 editors optional leafpad_0.8.13-1.diff.gz
 73d2855175148284d7122d47730ed1ed 94534 editors optional 
leafpad_0.8.13-1_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHiolr4VUX8isJIMARAlSZAJ9+lcW/TGgsJo7PicXDGoBegYfTFACgjKu4
hocqfSk8q/+NiZEnpV+fUtQ=
=4643
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to