Package: hanzim
Version: 1:1.3-1
Severity: normal
Tags: patch

Hi,

Attached is the diff for my hanzim 1:1.3-1.1 NMU.

-- 
 .''`.             Fuck your fascist beauty standards
: :' :   
`. `'           Proudly running unstable Debian GNU/Linux
  `-     www.amayita.com  www.malapecora.com  www.chicasduras.com
diff -u hanzim-1.3/debian/changelog hanzim-1.3/debian/changelog
--- hanzim-1.3/debian/changelog
+++ hanzim-1.3/debian/changelog
@@ -1,3 +1,13 @@
+hanzim (1:1.3-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Get rid of the /usr/doc link in postinst (Closes: #359419).
+  * Fixed the copyright file (Closes: #302963).
+  * Upgraded to DH_COMPAT=4
+  * Lintian: unquoted-string-in-menu-item
+
+ -- Amaya Rodrigo Sastre <[EMAIL PROTECTED]>  Sat, 15 Jul 2006 20:08:30 +0200
+
 hanzim (1:1.3-1) unstable; urgency=medium
 
   * New upstream release.  This should go into woody.
@@ -97,3 +106,0 @@
-Local variables:
-mode: debian-changelog
-End:
diff -u hanzim-1.3/debian/copyright hanzim-1.3/debian/copyright
--- hanzim-1.3/debian/copyright
+++ hanzim-1.3/debian/copyright
@@ -9,13 +9,8 @@
-Copyright (straight from the README):
+Copyright Adrian Robert <[EMAIL PROTECTED]>
+
+You are free to distribute this software under the terms of the GNU General
+Public Licence.
+
+On Debian systems, the complete text of the GNU General Public Licence can be
+found in /usr/share/common-licenses/GPL file.
 
-    This program 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.  Please see the file "COPYING"
-    for details.  If you have not received it along with this program,
-    please write to the Free Software Foundation, Inc., 59 Temple Place,
-    Suite 330, Boston, MA  02111-1307  USA.
-    
-    The database files "bushou.gb", "parts.gb", "zidianf.gb", and "cidianf.gb"
-    (though not their contents per se) are hereby also distributed under this
-    license.
diff -u hanzim-1.3/debian/hanzim.menu hanzim-1.3/debian/hanzim.menu
--- hanzim-1.3/debian/hanzim.menu
+++ hanzim-1.3/debian/hanzim.menu
@@ -1,2 +1,2 @@
-?package(hanzim):needs=X11 section=Apps/Text\
+?package(hanzim):needs="X11" section="Apps/Text"\
   title="Hanzi Master" command="/usr/bin/hanzim"
diff -u hanzim-1.3/debian/postinst hanzim-1.3/debian/postinst
--- hanzim-1.3/debian/postinst
+++ hanzim-1.3/debian/postinst
@@ -8,7 +8,10 @@
 case "$1" in
     configure|reconfigure)
        /usr/bin/hanzim -buildDB
-    
+
+        if [ -d /usr/doc -a -h /usr/doc/hanzim -a -d /usr/share/doc/hanzim ]; 
then
+                rm -f /usr/doc/hanzim
+        fi
     ;;
 
     abort-upgrade|abort-remove|abort-deconfigure)
diff -u hanzim-1.3/debian/rules hanzim-1.3/debian/rules
--- hanzim-1.3/debian/rules
+++ hanzim-1.3/debian/rules
@@ -5,7 +5,7 @@
 #export DH_VERBOSE=1
 
 # This is the debhelper compatability version to use.
-export DH_COMPAT=1
+export DH_COMPAT=4
 
 configure: configure-stamp
 configure-stamp:
@@ -40,10 +40,10 @@
        dh_clean -k
        dh_installdirs
 
-       # Add here commands to install the package into debian/tmp.
-       $(MAKE) install DESTDIR=`pwd`/debian/tmp
+       # Add here commands to install the package 
+       $(MAKE) install DESTDIR=`pwd`/debian/hanzim
        cp debian/lintian.overrides \
-               `pwd`/debian/tmp/usr/share/lintian/overrides/hanzim
+               `pwd`/debian/hanzim/usr/share/lintian/overrides/hanzim
 
 
 # Build architecture-independent files here.
diff -u hanzim-1.3/debian/control hanzim-1.3/debian/control
--- hanzim-1.3/debian/control
+++ hanzim-1.3/debian/control
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Roger So <[EMAIL PROTECTED]>
 Standards-Version: 3.5.6
-Build-Depends: debhelper (>= 2.0.72), tcl8.3-dev, tk8.3-dev
+Build-Depends: debhelper (>= 4), tcl8.3-dev, tk8.3-dev
 
 Package: hanzim
 Architecture: any
only in patch2:
unchanged:
--- hanzim-1.3.orig/debian/postinst.debhelper
+++ hanzim-1.3/debian/postinst.debhelper
@@ -0,0 +1,10 @@
+# Automatically added by dh_installdocs
+if [ "$1" = configure ] && which install-docs >/dev/null 2>&1; then
+       install-docs -i /usr/share/doc-base/hanzim
+fi
+# End automatically added section
+# Automatically added by dh_installmenu
+if [ "$1" = "configure" ] && [ -x "`which update-menus 2>/dev/null`" ]; then
+       update-menus
+fi
+# End automatically added section
only in patch2:
unchanged:
--- hanzim-1.3.orig/debian/prerm.debhelper
+++ hanzim-1.3/debian/prerm.debhelper
@@ -0,0 +1,6 @@
+# Automatically added by dh_installdocs
+if [ "$1" = remove ] || [ "$1" = upgrade ] && \
+   which install-docs >/dev/null 2>&1; then
+       install-docs -r hanzim
+fi
+# End automatically added section
only in patch2:
unchanged:
--- hanzim-1.3.orig/debian/postrm.debhelper
+++ hanzim-1.3/debian/postrm.debhelper
@@ -0,0 +1,3 @@
+# Automatically added by dh_installmenu
+if [ -x "`which update-menus 2>/dev/null`" ]; then update-menus ; fi
+# End automatically added section

Reply via email to