[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Pkg-fonts-devel] Bug#660061: ttf-wqy-zenhei: please remove recommends on x-ttcidfont-conf



Package: ttf-wqy-zenhei
Version: 0.9.45-3.1
Followup-For: Bug #660061
User: ubuntu-devel@lists.ubuntu.com
Usertags: origin-ubuntu precise ubuntu-patch

Hi guys,

In order to try to get defoma and x-ttcidfont-conf out of Ubuntu main for
precise, I've uploaded ttf-wqy-zenhei to Ubuntu with the attached patch. 
Please consider applying it in Debian as well.

Note that this also drops the maintainer scripts, because they're not needed
- fontconfig uses triggers to automatically pick up new fonts.

Thanks for considering the patch.

--
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek@ubuntu.com                                     vorlon@debian.org
=== modified file 'debian/control'
--- debian/control	2011-06-27 14:41:41 +0000
+++ debian/control	2012-04-16 22:11:47 +0000
@@ -10,7 +10,6 @@
 Package: ttf-wqy-zenhei
 Architecture: all
 Depends: ${misc:Depends}, fontconfig (>=2.3.1-1)
-Recommends: x-ttcidfont-conf (>= 10)
 Description: "WenQuanYi Zen Hei" A Hei-Ti Style (sans-serif) Chinese font
  WenQuanYi Zen Hei is a Hei-Ti style (sans-serif type) Chinese font.
  It was designed for general purpose text formatting and on-screen

=== removed file 'debian/postinst'
--- debian/postinst	2010-03-12 09:32:00 +0000
+++ debian/postinst	1970-01-01 00:00:00 +0000
@@ -1,12 +0,0 @@
-#!/bin/sh
-set -e
-#DEBHELPER#
-
-if [ "$1" = configure -a -x /usr/bin/fc-cache ]
-then
-       echo -n "Regenerating fonts cache... "
-       HOME=/root fc-cache -f -v 1>/var/log/fontconfig.log 2>&1 || \
-       (echo "failed; see /var/log/fontconfig.log for more information."; \
-        exit 1)
-       echo "done."
-fi


Reply to: