Package: unifont
Version: 1:5.1.20080914-1
Severity: normal
Tags: patch pending

Dear maintainer,

I've prepared an NMU for unifont (versioned as 1:5.1.20080914-1.1) and
uploaded it to DELAYED/7. Please feel free to tell me if I
should delay it longer.

Your package ships a defoma hint file or depends on or uses defoma or 
x-ttcidfont-conf. defoma is in the process of being removed from Debian:

http://wiki.debian.org/OldPkgRemovals#defoma

If you have any questions about this transition, please contact the Debian 
Fonts Task Force on our mailing list. We are also interested in new people if 
you want to help us maintain, check and discuss fonts.

[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-fonts-devel
http://pkg-fonts.alioth.debian.org/
http://wiki.debian.org/Fonts

To help us complete the transition from defoma to fontconfig, the NMU
removes any use of defoma from your package. 

- Remove any mentions of defoma from debian/control 

- remove dh_installdefoma in debian/rules

- remove the defoma hint file and remove it on upgrade. This is done this 
snippet to your postinst, postrm and preinst maintainer scripts. You should 
replace $PACKAGE with the name of the package and $VERSION with the version 
where you are making the defoma hint conffile obsolete and removable:

if dpkg-maintscript-helper supports rm_conffile 2>/dev/null; then
  dpkg-maintscript-helper rm_conffile /etc/defoma/hints/$PACKAGE.hints $VERSION 
-- "$@"
fi


Regards.
diff -u unifont-5.1.20080914/debian/changelog unifont-5.1.20080914/debian/changelog
--- unifont-5.1.20080914/debian/changelog
+++ unifont-5.1.20080914/debian/changelog
@@ -1,3 +1,10 @@
+unifont (1:5.1.20080914-1.1) unstable; urgency=low
+
+  * Non-maintainer upload to achieve release goal of getting rid
+    of defoma.
+
+ -- Christian Perrier <[email protected]>  Wed, 20 Jul 2011 22:14:06 +0200
+
 unifont (1:5.1.20080914-1) unstable; urgency=low
 
   * Changed unifont.ttf location in defoma-hints file. (Closes: #498874)
reverted:
--- unifont-5.1.20080914/debian/ttf-unifont.defoma-hints
+++ unifont-5.1.20080914.orig/debian/ttf-unifont.defoma-hints
@@ -1,15 +0,0 @@
-category truetype
-begin /usr/share/fonts/truetype/unifont/unifont.ttf
-  Family = GNU-Unifont
-  FontName = Unifont
-  Encoding = Unicode
-  Location = English
-  Charset = ISO10646-1
-  UniCharset = ISO10646-1
-  GeneralFamily = Typewriter
-  Weight = Medium
-  Width = Variable
-  Shape = NoSerif Upright
-  Foundry = unifoundry.com
-  Priority = 20
-end
diff -u unifont-5.1.20080914/debian/rules unifont-5.1.20080914/debian/rules
--- unifont-5.1.20080914/debian/rules
+++ unifont-5.1.20080914/debian/rules
@@ -33,7 +33,6 @@
 	dh_installdocs -i
 	dh_installchangelogs -i
 	dh_installxfonts -i
-	dh_installdefoma -i
 	( [ -x /usr/bin/dh_lintian ] && dh_lintian -i ) || /bin/true
 	dh_link -i
 	dh_compress -i
diff -u unifont-5.1.20080914/debian/control unifont-5.1.20080914/debian/control
--- unifont-5.1.20080914/debian/control
+++ unifont-5.1.20080914/debian/control
@@ -4,7 +4,6 @@
 Maintainer: Paul Hardy <[email protected]>
 Uploaders: Anthony Fok <[email protected]>
 Build-Depends: debhelper (>= 5.0.31)
-Build-Depends-Indep: defoma (>= 0.7.0)
 Standards-Version: 3.8.0
 Homepage: http://unifoundry.com
 
@@ -53,7 +52,6 @@
 
 Package: ttf-unifont
 Architecture: all
-Depends: defoma
 Description: TrueType version of the GNU Unifont
  This is a bitmap font converted into a scalable TrueType outline
  font.  Each pixel in the original bitmap font is represented as
only in patch2:
unchanged:
--- unifont-5.1.20080914.orig/debian/ttf-unifont.preinst
+++ unifont-5.1.20080914/debian/ttf-unifont.preinst
@@ -0,0 +1,9 @@
+#!/bin/sh
+set -e
+
+if dpkg-maintscript-helper supports rm_conffile 2>/dev/null; then
+  dpkg-maintscript-helper rm_conffile /etc/defoma/hints/ttf-unifont.hints 1:5.1.20080914-1 -- "$@"
+fi
+
+#DEBHELPER#
+
only in patch2:
unchanged:
--- unifont-5.1.20080914.orig/debian/ttf-unifont.postinst
+++ unifont-5.1.20080914/debian/ttf-unifont.postinst
@@ -0,0 +1,9 @@
+#!/bin/sh
+set -e
+
+if dpkg-maintscript-helper supports rm_conffile 2>/dev/null; then
+  dpkg-maintscript-helper rm_conffile /etc/defoma/hints/ttf-unifont.hints 1:5.1.20080914-1 -- "$@"
+fi
+
+#DEBHELPER#
+
only in patch2:
unchanged:
--- unifont-5.1.20080914.orig/debian/ttf-unifont.postrm
+++ unifont-5.1.20080914/debian/ttf-unifont.postrm
@@ -0,0 +1,9 @@
+#!/bin/sh
+set -e
+
+if dpkg-maintscript-helper supports rm_conffile 2>/dev/null; then
+  dpkg-maintscript-helper rm_conffile /etc/defoma/hints/ttf-unifont.hints 1:5.1.20080914-1 -- "$@"
+fi
+
+#DEBHELPER#
+

Reply via email to