r14213 - in /packages/unstable/leafpad/debian: changelog control.in postinst prerm rules watch
lool at users.alioth.debian.org
lool at users.alioth.debian.org
Sun Jan 13 21:54:55 UTC 2008
Author: lool
Date: Sun Jan 13 21:54:55 2008
New Revision: 14213
URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=14213
Log:
* Cleanups.
Modified:
packages/unstable/leafpad/debian/changelog
packages/unstable/leafpad/debian/control.in
packages/unstable/leafpad/debian/postinst
packages/unstable/leafpad/debian/prerm
packages/unstable/leafpad/debian/rules
packages/unstable/leafpad/debian/watch
Modified: packages/unstable/leafpad/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/leafpad/debian/changelog?rev=14213&op=diff
==============================================================================
--- packages/unstable/leafpad/debian/changelog (original)
+++ packages/unstable/leafpad/debian/changelog Sun Jan 13 21:54:55 2008
@@ -25,6 +25,7 @@
[ Loic Minier ]
* Merge changes bu Julien Lavergne; closes: #456787.
+ * Cleanups.
-- Julien Lavergne <julien.lavergne at gmail.com> Tue, 20 Nov 2007 00:19:29 +0100
Modified: packages/unstable/leafpad/debian/control.in
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/leafpad/debian/control.in?rev=14213&op=diff
==============================================================================
--- packages/unstable/leafpad/debian/control.in (original)
+++ packages/unstable/leafpad/debian/control.in Sun Jan 13 21:54:55 2008
@@ -3,19 +3,18 @@
Priority: optional
Maintainer: Carlos Z.F. Liu <carlosliu at users.sourceforge.net>
Uploaders: @GNOME_TEAM@
-Build-Depends: cdbs,
- debhelper (>= 5),
- pkg-config,
- libgtk2.0-dev (>= 2.10),
- gnome-pkg-tools
+Build-Depends: cdbs,
+ debhelper (>= 5),
+ pkg-config,
+ libgtk2.0-dev (>= 2.10),
+ gnome-pkg-tools
Standards-Version: 3.7.3
Homepage: http://tarot.freeshell.org/leafpad/
Package: leafpad
Architecture: any
-Depends: ${shlibs:Depends},
- ${misc:Depends}
-Recommends:
+Depends: ${shlibs:Depends},
+ ${misc:Depends}
Suggests: evince-gtk
Description: GTK+ based simple text editor
Leafpad is a simple GTK+ based text editor, the user interface is
Modified: packages/unstable/leafpad/debian/postinst
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/leafpad/debian/postinst?rev=14213&op=diff
==============================================================================
--- packages/unstable/leafpad/debian/postinst (original)
+++ packages/unstable/leafpad/debian/postinst Sun Jan 13 21:54:55 2008
@@ -1,27 +1,15 @@
-#! /bin/sh
+#!/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
+if [ "$1" = configure ]; then
+ # 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
+fi
#DEBHELPER#
-exit 0
-
Modified: packages/unstable/leafpad/debian/prerm
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/leafpad/debian/prerm?rev=14213&op=diff
==============================================================================
--- packages/unstable/leafpad/debian/prerm (original)
+++ packages/unstable/leafpad/debian/prerm Sun Jan 13 21:54:55 2008
@@ -1,23 +1,14 @@
-#! /bin/sh
+#!/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 ||:
- ;;
+ 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
-
Modified: packages/unstable/leafpad/debian/rules
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/leafpad/debian/rules?rev=14213&op=diff
==============================================================================
--- packages/unstable/leafpad/debian/rules (original)
+++ packages/unstable/leafpad/debian/rules Sun Jan 13 21:54:55 2008
@@ -1,8 +1,6 @@
#!/usr/bin/make -f
-# -*- mode: makefile; coding: utf-8 -*-
GNOME_DOWNLOAD_URL = http://download.savannah.gnu.org/releases/leafpad/$(GNOME_TARBALL)
-
include /usr/share/cdbs/1/class/gnome.mk
include /usr/share/cdbs/1/rules/debhelper.mk
@@ -10,12 +8,6 @@
include /usr/share/gnome-pkg-tools/1/rules/uploaders.mk
-include /usr/share/gnome-pkg-tools/1/rules/gnome-get-source.mk
-#DEB_CONFIGURE_EXTRA_FLAGS += --enable-chooser
DEB_CONFIGURE_EXTRA_FLAGS += --disable-emacs
DEB_INSTALL_MANPAGES_leafpad += debian/leafpad.1
-#install/leafpad::
-# install -m 0644 debian/leafpad.xpm debian/leafpad/usr/share/pixmaps
-
-#binary-install/leafpad::
-# dh_desktop
Modified: packages/unstable/leafpad/debian/watch
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/leafpad/debian/watch?rev=14213&op=diff
==============================================================================
--- packages/unstable/leafpad/debian/watch (original)
+++ packages/unstable/leafpad/debian/watch Sun Jan 13 21:54:55 2008
@@ -1,10 +1,2 @@
-# Example watch control file for uscan
-# Rename this file to "watch" and then you can run the "uscan" command
-# to check for upstream updates and more.
-# See uscan(1) for format
-
-# Compulsory line, this is a version 3 file
version=3
-
http://savannah.nongnu.org/download/leafpad/leafpad-(.*)\.tar\.gz
-
More information about the pkg-gnome-commits
mailing list