tags 649828 + pending
thanks

Dear maintainer,

I've prepared an NMU for ttf-alee (versioned as 12+nmu1) and
uploaded it to DELAYED/7. Please feel free to tell me if I
should delay it longer.

Regards.
diff -Nru ttf-alee-12/debian/changelog ttf-alee-12+nmu1/debian/changelog
--- ttf-alee-12/debian/changelog	2008-10-08 06:18:12.000000000 +0200
+++ ttf-alee-12+nmu1/debian/changelog	2011-12-10 11:45:01.000000000 +0100
@@ -1,3 +1,20 @@
+ttf-alee (12+nmu1) unstable; urgency=low
+
+  * Non-maintainer upload to achieve the goal of removing defoma
+    (and modernize the package a littlke bit!)
+  * Drop defoma support. Closes: #649828
+  * Drop recommends on x-ttcidfontconf|fontconfig
+  * Add ${misc:Depends} to dependencies to properly cope with
+    dependencies triggerred by the use of debhelper utilities
+  * Bump debhelper compatibility level to 8
+  * Bump Standards-Version to 3.9.2 (checked)
+  * Use minimal dh7-style rules file
+  * Change section to fonts
+  * Avoid what seems to be a leading article in package description.
+    Also properly capitalize TrueType
+
+ -- Christian Perrier <bubu...@debian.org>  Sat, 10 Dec 2011 11:44:53 +0100
+
 ttf-alee (12) unstable; urgency=low
 
   * Change to The Artistic license 1.0 or any later version.
diff -Nru ttf-alee-12/debian/compat ttf-alee-12+nmu1/debian/compat
--- ttf-alee-12/debian/compat	2006-06-29 03:15:35.000000000 +0200
+++ ttf-alee-12+nmu1/debian/compat	2011-12-10 11:35:31.000000000 +0100
@@ -1 +1 @@
-5
+8
diff -Nru ttf-alee-12/debian/control ttf-alee-12+nmu1/debian/control
--- ttf-alee-12/debian/control	2008-10-08 06:18:59.000000000 +0200
+++ ttf-alee-12+nmu1/debian/control	2011-12-10 11:41:29.000000000 +0100
@@ -1,15 +1,14 @@
 Source: ttf-alee
-Section: x11
+Section: fonts
 Priority: optional
 Maintainer: A Lee <a...@debian.org>
-Build-Depends: debhelper (>= 5.0.31), defoma (>= 0.7.0)
-Standards-Version: 3.8.0
+Build-Depends: debhelper (>= 8)
+Standards-Version: 3.9.2
 
 Package: ttf-alee
 Architecture: all
-Depends: defoma
-Recommends: fontconfig, x-ttcidfont-conf
-Description: A Lee's free Hangul truetype fonts
+Depends: ${misc:Depends}
+Description: free Hangul TrueType fonts
  This package contains free Hangul truetype fonts made by A Lee.
  .
  Bandal, Bangwool, Guseul, Eunjin and EunjinNakseo are general purpose
diff -Nru ttf-alee-12/debian/defoma-hints ttf-alee-12+nmu1/debian/defoma-hints
--- ttf-alee-12/debian/defoma-hints	2006-08-23 05:03:15.000000000 +0200
+++ ttf-alee-12+nmu1/debian/defoma-hints	1970-01-01 01:00:00.000000000 +0100
@@ -1,66 +0,0 @@
-category truetype
-begin /usr/share/fonts/truetype/alee/Bandal.ttf
-  Family = Bandal
-  FontName = Bandal
-  Encoding = Unicode
-  Location = Korean
-  Charset = ISO8859-1 ISO8859-15 ISO10646-1 KSX1001
-  GeneralFamily = SansSerif
-  Weight = Medium
-  Width = Variable
-  Shape = NoSerif Upright
-  Foundry = ALee
-  Priority = 10
-end
-begin /usr/share/fonts/truetype/alee/Bangwool.ttf
-  Family = Bangwool
-  FontName = Bangwool
-  Encoding = Unicode
-  Location = English
-  Charset = ISO8859-1 ISO8859-15 ISO10646-1 KSX1001
-  GeneralFamily = SansSerif
-  Weight = Medium
-  Width = Variable
-  Shape = NoSerif Upright
-  Foundry = ALee
-  Priority = 10
-end
-begin /usr/share/fonts/truetype/alee/Eunjin.ttf
-  Family = Eunjin
-  FontName = Eunjin
-  Encoding = Unicode
-  Location = Korean
-  Charset = ISO8859-1 ISO8859-15 ISO10646-1 KSX1001
-  GeneralFamily = Script
-  Weight = Medium
-  Width = Variable
-  Shape = NoSerif Upright
-  Foundry = ALee
-  Priority = 10
-end
-begin /usr/share/fonts/truetype/alee/EunjinNakseo.ttf
-  Family = EunjinNakseo
-  FontName = EunjinNakseo
-  Encoding = Unicode
-  Location = Korean
-  Charset = ISO8859-1 ISO8859-15 ISO10646-1 KSX1001
-  GeneralFamily = Script
-  Weight = Medium
-  Width = Variable
-  Shape = NoSerif Upright
-  Foundry = ALee
-  Priority = 10
-end
-begin /usr/share/fonts/truetype/alee/Guseul.ttf
-  Family = Guseul
-  FontName = Guseul
-  Encoding = Unicode
-  Location = Korean
-  Charset = ISO10646-1 KSX1001
-  GeneralFamily = SansSerif
-  Weight = Medium
-  Width = Fixed
-  Shape = NoSerif Upright
-  Foundry = ALee
-  Priority = 10
-end
diff -Nru ttf-alee-12/debian/install ttf-alee-12+nmu1/debian/install
--- ttf-alee-12/debian/install	1970-01-01 01:00:00.000000000 +0100
+++ ttf-alee-12+nmu1/debian/install	2011-12-10 11:33:10.000000000 +0100
@@ -0,0 +1 @@
+*.ttf usr/share/fonts/truetype/alee
diff -Nru ttf-alee-12/debian/postinst ttf-alee-12+nmu1/debian/postinst
--- ttf-alee-12/debian/postinst	2007-01-30 13:54:02.000000000 +0100
+++ ttf-alee-12+nmu1/debian/postinst	2011-12-10 11:40:49.000000000 +0100
@@ -1,20 +1,9 @@
-#!/bin/sh
+#! /bin/sh
 
-#DEBHELPER#
+set -e
 
-if [ "$1" = "configure" ]; then
-    if [ -x "/usr/bin/mkfontdir" -o -x "/usr/bin/X11/mkfontdir" ]; then
-        if [ -d "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" ]; then
-            mkfontdir /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType
-        fi
-    fi
-    if [ -x "/usr/bin/fc-cache" ]; then
-        echo -n "Regenerating fonts cache... "
-        if (fc-cache -f -v 1>/var/log/fontconfig.log 2>&1); then
-            echo "done."
-        else
-            echo "failed; see /var/log/fontconfig.log for more information."
-            exit 1
-        fi
-    fi
+if dpkg-maintscript-helper supports rm_conffile 2>/dev/null; then
+  dpkg-maintscript-helper rm_conffile /etc/defoma/hints/ttf-alee.hints 12+nmu1 -- "$@"
 fi
+
+#DEBHELPER#
diff -Nru ttf-alee-12/debian/postrm ttf-alee-12+nmu1/debian/postrm
--- ttf-alee-12/debian/postrm	1970-01-01 01:00:00.000000000 +0100
+++ ttf-alee-12+nmu1/debian/postrm	2011-12-10 11:40:39.000000000 +0100
@@ -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-alee.hints 12+nmu1 -- "$@"
+fi
+
+#DEBHELPER#
diff -Nru ttf-alee-12/debian/preinst ttf-alee-12+nmu1/debian/preinst
--- ttf-alee-12/debian/preinst	1970-01-01 01:00:00.000000000 +0100
+++ ttf-alee-12+nmu1/debian/preinst	2011-12-10 11:40:45.000000000 +0100
@@ -0,0 +1,16 @@
+#! /bin/sh
+
+set -e
+
+if dpkg --compare-versions "$2" lt 12+nmu1; then
+	if [ -x "which defoma-font 2>/dev/null" ]; then
+		defoma-font purge /etc/defoma/hints/ttf-alee.hints
+	fi
+fi
+
+
+if dpkg-maintscript-helper supports rm_conffile 2>/dev/null; then
+  dpkg-maintscript-helper rm_conffile /etc/defoma/hints/ttf-alee.hints 12+nmu1 -- "$@"
+fi
+
+#DEBHELPER#
diff -Nru ttf-alee-12/debian/rules ttf-alee-12+nmu1/debian/rules
--- ttf-alee-12/debian/rules	2008-10-08 06:19:17.000000000 +0200
+++ ttf-alee-12+nmu1/debian/rules	2011-12-10 11:33:23.000000000 +0100
@@ -1,34 +1,3 @@
 #!/usr/bin/make -f
-
-build:
-clean:
-	dh_testdir
-	dh_testroot
-	dh_clean 
-
-install: build
-	dh_testdir
-	dh_testroot
-	dh_clean -k 
-	dh_installdirs
-	for x in *.ttf; do install -m 644 $$x $(CURDIR)/debian/ttf-alee/usr/share/fonts/truetype/alee; done
-
-binary-indep: build install
-	dh_testdir
-	dh_testroot
-	dh_installdocs
-	dh_installchangelogs 
-	dh_installdefoma
-	dh_link
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	dh_shlibdeps
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-binary-arch: build install
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
+%:
+	dh $@

Reply via email to