The patch I formerly sent had a smal copy/paster error. Here's a fixed patch.
--
diff -Nru ttf-alee-13.old/debian/changelog ttf-alee-13/debian/changelog --- ttf-alee-13.old/debian/changelog 2011-11-18 07:47:31.109762605 +0100 +++ ttf-alee-13/debian/changelog 2011-11-18 07:48:45.134509866 +0100 @@ -1,3 +1,10 @@ +ttf-alee (13) UNRELEASED; urgency=low + + * Drop defoma support + * Stop recommending obsolete fontconfig and x-ttcid-fontconf + + -- Christian Perrier <bubu...@debian.org> Fri, 18 Nov 2011 07:47:39 +0100 + ttf-alee (12) unstable; urgency=low * Change to The Artistic license 1.0 or any later version. diff -Nru ttf-alee-13.old/debian/control ttf-alee-13/debian/control --- ttf-alee-13.old/debian/control 2011-11-18 07:47:31.113762644 +0100 +++ ttf-alee-13/debian/control 2011-11-18 07:48:24.114297664 +0100 @@ -2,13 +2,11 @@ Section: x11 Priority: optional Maintainer: A Lee <a...@debian.org> -Build-Depends: debhelper (>= 5.0.31), defoma (>= 0.7.0) +Build-Depends: debhelper (>= 5.0.31) Standards-Version: 3.8.0 Package: ttf-alee Architecture: all -Depends: defoma -Recommends: fontconfig, x-ttcidfont-conf Description: A Lee's free Hangul truetype fonts This package contains free Hangul truetype fonts made by A Lee. . diff -Nru ttf-alee-13.old/debian/postinst ttf-alee-13/debian/postinst --- ttf-alee-13.old/debian/postinst 2011-11-18 07:47:31.113762644 +0100 +++ ttf-alee-13/debian/postinst 2011-11-25 07:37:17.055142755 +0100 @@ -1,20 +1,7 @@ -#!/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 13 -- "$@" fi diff -Nru ttf-alee-13.old/debian/postrm ttf-alee-13/debian/postrm --- ttf-alee-13.old/debian/postrm 1970-01-01 01:00:00.000000000 +0100 +++ ttf-alee-13/debian/postrm 2011-11-25 07:36:37.634359893 +0100 @@ -0,0 +1,7 @@ +#! /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 13 -- "$@" +fi diff -Nru ttf-alee-13.old/debian/preinst ttf-alee-13/debian/preinst --- ttf-alee-13.old/debian/preinst 1970-01-01 01:00:00.000000000 +0100 +++ ttf-alee-13/debian/preinst 2011-11-28 07:44:24.111253560 +0100 @@ -0,0 +1,14 @@ +#! /bin/sh + +set -e + +if dpkg --compare-versions "$2" lt 13; 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 13 -- "$@" +fi
signature.asc
Description: Digital signature