Package: xfonts-cmex-big5p
Version: 0.1-5
Severity: normal
Tags: patch

Hi,

Attached is the diff for my xfonts-cmex-big5p 0.1-5.1 NMU.

-- 
 .''`.             Fuck your fascist beauty standards
: :' :   
`. `'           Proudly running unstable Debian GNU/Linux
  `-     www.amayita.com  www.malapecora.com  www.chicasduras.com
diff -u xfonts-cmex-big5p-0.1/debian/postinst 
xfonts-cmex-big5p-0.1/debian/postinst
--- xfonts-cmex-big5p-0.1/debian/postinst
+++ xfonts-cmex-big5p-0.1/debian/postinst
@@ -1,10 +1,10 @@
 #!/bin/sh
-
 set -e
 
-if [ "$1" != "configure" ]
-then
-    exit 0
+if [ "$1" = "configure" ]; then
+        if [ -d /usr/doc -a -h /usr/doc/xfonts-cmex-big5p -a -d 
/usr/share/doc/xfonts-cmex-big5p ]; then
+                rm -f /usr/doc/xfonts-cmex-big5p
+        fi
 fi
 
 # Clean up the mess from the old xfntbig5p-cmex24m package.
diff -u xfonts-cmex-big5p-0.1/debian/changelog 
xfonts-cmex-big5p-0.1/debian/changelog
--- xfonts-cmex-big5p-0.1/debian/changelog
+++ xfonts-cmex-big5p-0.1/debian/changelog
@@ -1,3 +1,13 @@
+xfonts-cmex-big5p (0.1-5.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Get rid of the /usr/doc link in postinst (Closes: #359607).
+  * Build-Depends: debhelper (>=5.0.31)
+  * Install fonts in the right place (Closes: #362363).
+  * Revamped packaging a bit
+
+ -- Amaya Rodrigo Sastre <[EMAIL PROTECTED]>  Sun, 16 Jul 2006 16:20:17 +0200
+
 xfonts-cmex-big5p (0.1-5) unstable; urgency=low
 
   * Added code in postinst to rmdir /usr/X11R6/lib/X11/fonts/chinese
@@ -68,4 +77,0 @@
-Local variables:
-mode: debian-changelog
-add-log-mailing-address: "[EMAIL PROTECTED]"
-End:
diff -u xfonts-cmex-big5p-0.1/debian/control 
xfonts-cmex-big5p-0.1/debian/control
--- xfonts-cmex-big5p-0.1/debian/control
+++ xfonts-cmex-big5p-0.1/debian/control
@@ -1,15 +1,15 @@
 Source: xfonts-cmex-big5p
-Build-Depends: debhelper (>= 2.0.72), bzip2, xutils
 Section: x11
 Priority: optional
 Maintainer: Anthony Fok <[EMAIL PROTECTED]>
-Standards-Version: 3.1.1
+Standards-Version: 3.7.2
+Build-Depends: debhelper (>=5.0.31), bzip2, xutils
 
 Package: xfonts-cmex-big5p
 Architecture: all
 Replaces: xfntbig5p-cmex24m
 Provides: xfntbig5p-cmex24m
-Depends: xutils, xbase-clients
+Depends: xutils, xbase-clients, ${shlibs:Depends}
 Suggests: xfs | xserver
 Conflicts: xfntbig5p-cmex24m
 Description: Big5+ Chinese Mingti bitmap font (by CMEX & DynaLab) for X11
diff -u xfonts-cmex-big5p-0.1/debian/rules xfonts-cmex-big5p-0.1/debian/rules
--- xfonts-cmex-big5p-0.1/debian/rules
+++ xfonts-cmex-big5p-0.1/debian/rules
@@ -1,12 +1,14 @@
 #!/usr/bin/make -f
 
+export DH_COMPAT=5
+
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
 package = xfonts-cmex-big5p
 SHELL = /bin/sh
 
-X11_fontpath = usr/X11R6/lib/X11/fonts/misc
+X11_fontpath = usr/share/fonts/X11/misc
 etc_fontpath = etc/X11/fonts/misc
 
 build: build-stamp
@@ -34,8 +36,8 @@
        dh_installdirs $(X11_fontpath) $(etc_fontpath)
 
        # Add here commands to install the files into debian/tmp
-       cp -av *.pcf.gz debian/tmp/$(X11_fontpath)
-       cp -av debian/$(package).alias debian/tmp/$(etc_fontpath)
+       cp -av *.pcf.gz debian/xfonts-cmex-big5p/$(X11_fontpath)
+       cp -av debian/$(package).alias debian/xfonts-cmex-big5p/$(etc_fontpath)
 
 # Build architecture-independent files here.
 binary-indep: build install
@@ -47,7 +49,6 @@
        dh_installxfonts
        dh_compress
        dh_fixperms
-       dh_suidregister
        dh_installdeb
        dh_gencontrol
        dh_md5sums

Reply via email to