Package: essays1743
Version: 1.0-4
Severity: normal
Tags: patch pending

Dear maintainer,

I've prepared an NMU for essays1743 (versioned as 1.0-4.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. $PACKAGE is 
replaced with the name of the package and $VERSION with the version 

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 essays1743-1.0/debian/control essays1743-1.0/debian/control
--- essays1743-1.0/debian/control
+++ essays1743-1.0/debian/control
@@ -3,14 +3,14 @@
 Priority: optional
 Maintainer: Mauro Lizaur <[email protected]>
 Build-Depends: debhelper (>= 5)
-Build-Depends-Indep: defoma, fontforge
+Build-Depends-Indep: fontforge
 Standards-Version: 3.8.0
 Homepage: http://www.thibault.org/fonts/essays/
 
 Package: ttf-essays1743
 Architecture: all
 Recommends: x-ttcidfont-conf | fontconfig
-Depends: defoma, ${misc:Depends}
+Depends: ${misc:Depends}
 Description: Essays 1743 TrueType font
  This font is based on the typeface used in a 1743 English translation of
  Montaigne's Essays. It contains normal, bold, italic and bold italic
diff -u essays1743-1.0/debian/changelog essays1743-1.0/debian/changelog
--- essays1743-1.0/debian/changelog
+++ essays1743-1.0/debian/changelog
@@ -1,3 +1,11 @@
+essays1743 (1.0-4.1) unstable; urgency=low
+
+  * Non-maintainer upload to achieve removal of defoma
+  * Drop defoma support (remove hints, add maintainer scripts to deal
+    with hints, drop dependencies, etc.)
+
+ -- Christian Perrier <[email protected]>  Thu, 21 Jul 2011 16:24:14 +0200
+
 essays1743 (1.0-4) unstable; urgency=low
 
   * New maintainer (closes: #452966)
reverted:
--- essays1743-1.0/debian/defoma-hints
+++ essays1743-1.0.orig/debian/defoma-hints
@@ -1,49 +0,0 @@
-category truetype
-begin /usr/share/fonts/truetype/ttf-essays/Essays1743-BoldItalic.ttf
-  Family = Essays1743
-  FontName = Essays1743-BoldItalic
-  Encoding = Unicode
-  Location = English
-  Charset = ISO8859-1
-  GeneralFamily = Roman
-  Weight = Bold
-  Width = Variable
-  Shape = Normal Italic
-  Priority = 20
-end
-begin /usr/share/fonts/truetype/ttf-essays/Essays1743-Bold.ttf
-  Family = Essays1743
-  FontName = Essays1743-Bold
-  Encoding = Unicode
-  Location = English
-  Charset = ISO8859-1
-  GeneralFamily = Roman
-  Weight = Bold
-  Width = Variable
-  Shape = Normal Upright
-  Priority = 20
-end
-begin /usr/share/fonts/truetype/ttf-essays/Essays1743-Italic.ttf
-  Family = Essays1743
-  FontName = Essays1743-Italic
-  Encoding = Unicode
-  Location = English
-  Charset = ISO8859-1
-  GeneralFamily = Roman
-  Weight = Medium
-  Width = Variable
-  Shape = Normal Italic
-  Priority = 20
-end
-begin /usr/share/fonts/truetype/ttf-essays/Essays1743.ttf
-  Family = Essays1743
-  FontName = Essays1743-Medium
-  Encoding = Unicode
-  Location = English
-  Charset = ISO8859-1
-  GeneralFamily = Roman
-  Weight = Medium
-  Width = Variable
-  Shape = Normal Upright
-  Priority = 20
-end
diff -u essays1743-1.0/debian/rules essays1743-1.0/debian/rules
--- essays1743-1.0/debian/rules
+++ essays1743-1.0/debian/rules
@@ -24,7 +24,6 @@
 	dh_testroot
 	dh_installchangelogs 
 	dh_installdocs
-	dh_installdefoma
 	dh_compress
 	dh_fixperms
 	dh_installdeb
only in patch2:
unchanged:
--- essays1743-1.0.orig/debian/postinst
+++ essays1743-1.0/debian/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-essays1743.hints 1:5.1.20080914-1 -- "$@"
+fi
+
+#DEBHELPER#
+

Reply via email to