Package: iceconf
Version: 0.99.33-1.1
Severity: normal
Tags: patch

Hi,

Attached is the diff for my iceconf 0.99.33-1.2 NMU.

-- 
 .''`.             Fuck your fascist beauty standards
: :' :   
`. `'           Proudly running unstable Debian GNU/Linux
  `-     www.amayita.com  www.malapecora.com  www.chicasduras.com
diff -u iceconf-0.99.33/debian/changelog iceconf-0.99.33/debian/changelog
--- iceconf-0.99.33/debian/changelog
+++ iceconf-0.99.33/debian/changelog
@@ -1,3 +1,11 @@
+iceconf (0.99.33-1.2) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Get rid of the /usr/doc link in postinst (Closes: #359435).
+  * Revamped packaging a bit
+
+ -- Amaya Rodrigo Sastre <[EMAIL PROTECTED]>  Sun, 16 Jul 2006 22:18:27 +0200
+
 iceconf (0.99.33-1.1) unstable; urgency=low
 
   * Adjusted package to policy 3.5.2 
@@ -54,3 +61,0 @@
-Local variables:
-mode: debian-changelog
-End:
diff -u iceconf-0.99.33/debian/menu iceconf-0.99.33/debian/menu
--- iceconf-0.99.33/debian/menu
+++ iceconf-0.99.33/debian/menu
@@ -1,2 +1,2 @@
-?package(iceconf):needs=X11 section=Apps/Tools\
+?package(iceconf):needs="X11" section="Apps/Tools"\
   title="iceconf" command="/usr/bin/iceconf"
diff -u iceconf-0.99.33/debian/control iceconf-0.99.33/debian/control
--- iceconf-0.99.33/debian/control
+++ iceconf-0.99.33/debian/control
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Jules Bean <[EMAIL PROTECTED]>
 Standards-Version: 3.5.2
-Build-Depends: debhelper, icewm, libgtk-perl
+Build-Depends: debhelper (>=4), icewm, libgtk-perl
 
 Package: iceconf
 Architecture: all
diff -u iceconf-0.99.33/debian/copyright iceconf-0.99.33/debian/copyright
--- iceconf-0.99.33/debian/copyright
+++ iceconf-0.99.33/debian/copyright
@@ -6,19 +6,9 @@
-Upstream Author(s): Richard Hestilow [EMAIL PROTECTED]
+Upstream Author: Richard Hestilow [EMAIL PROTECTED]
 
-Copyright:
+Copyright: Richard Hestilow 
 
-This program is free software; you may 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, or (at your option)
-any later version.
+You are free to distribute this software under the terms of the GNU General
+Public Licence either version 2, or (at your option) any later version.
+On Debian systems, the complete text of the GNU General Public Licence can be
+found in /usr/share/common-licenses/GPL file.
 
-This 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.
-
-A copy of the GNU General Public License is available as
-/usr/share/common-licenses/GPL in the Debian GNU/Linux distribution or
-on the World Wide Web at http://www.gnu.org/copyleft/gpl.html.  You can
-also obtain it by writing to the Free Software Foundation, Inc., 59
-Temple Place - Suite 330, Boston, MA 02111-1307, USA.
diff -u iceconf-0.99.33/debian/rules iceconf-0.99.33/debian/rules
--- iceconf-0.99.33/debian/rules
+++ iceconf-0.99.33/debian/rules
@@ -6,6 +6,8 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
+export DH_COMPAT=4
+
 build: build-stamp
 build-stamp:
        dh_testdir
@@ -35,7 +37,7 @@
        dh_installdirs
 
        # Add here commands to install the package into debian/tmp.
-       $(MAKE) install prefix=`pwd`/debian/tmp/usr
+       $(MAKE) install prefix=`pwd`/debian/iceconf/usr
 
        touch install-stamp
 
@@ -51,15 +53,16 @@
        dh_installexamples
        dh_installmenu
        dh_installcron
-       dh_installmanpages
-       ln -s ../man7/undocumented.7.gz 
debian/tmp/usr/share/man/man1/iceconf.1.gz
-       rm -f debian/tmp/usr/doc/iceconf/ChangeLog
+       dh_installman
+       ln -s ../man7/undocumented.7.gz 
debian/iceconf/usr/share/man/man1/iceconf.1.gz
+       rm -f debian/iceconf/usr/doc/iceconf/ChangeLog
        dh_undocumented
        dh_installchangelogs ChangeLog
-       install -m 644 icemenu `pwd`/debian/tmp/usr/share/doc/iceconf
+       gzip -9 `pwd`/debian/iceconf/usr/share/doc/iceconf/ChangeLog
+       install -m 644 icemenu `pwd`/debian/iceconf/usr/share/doc/iceconf
        dh_strip
-       dh_compress
        dh_fixperms
+       dh_compress 
        dh_installdeb
        dh_shlibdeps
        dh_gencontrol
only in patch2:
unchanged:
--- iceconf-0.99.33.orig/debian/postinst
+++ iceconf-0.99.33/debian/postinst
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+if [ "$1" = "configure" ]; then
+        if [ -d /usr/doc -a -h /usr/doc/iceconf -a -d /usr/share/doc/iceconf 
]; then
+                rm -f /usr/doc/iceconf
+        fi
+fi
+
+#DEBHELPER#
only in patch2:
unchanged:
--- iceconf-0.99.33.orig/debian/postrm.debhelper
+++ iceconf-0.99.33/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
only in patch2:
unchanged:
--- iceconf-0.99.33.orig/debian/postinst.debhelper
+++ iceconf-0.99.33/debian/postinst.debhelper
@@ -0,0 +1,5 @@
+# Automatically added by dh_installmenu
+if [ "$1" = "configure" ] && [ -x "`which update-menus 2>/dev/null`" ]; then
+       update-menus
+fi
+# End automatically added section

Reply via email to