[Pkg-fonts-devel] Bug#648873: cm-super: Please drop defoma support

Christian Perrier bubulle at debian.org
Tue Nov 15 17:47:55 UTC 2011


Package: cm-super
Severity: important
Tags: patch
User: pabs at debian.org
Usertags: defoma-removal

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.

pkg-fonts-devel at lists.alioth.debian.org
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, please
remove any use of defoma or x-ttcidfont-conf from your package. Here
are some things that you might want to check in your package:

If installing your package causes defoma to modify the defoma
configuration file for fontconfig (/etc/fonts/conf.d/30-defoma.conf),
then you need to migrate those changes to a file in the fontconfig
directory /etc/fonts/conf.avail with a symlink in /etc/fonts/conf.d.
In some cases the config produced by defoma was not appropriate in the
first place and should be dropped.

Remove any mentions of defoma, defoma-doc, psfontmgr or
x-ttcidfont-conf from your debian/control file.

If you are running dh_installdefoma in your debian/rules file, simply
remove that call.

If you are shipping a defoma hint file, then you will need to remove
it on upgrade. You can do so by adding 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

If you were using defoma in your maintainer scripts (postrm, postinst
etc, dh_installdefoma usually handles them) then on upgrade from a
version before the one that dropped you need to run defoma-app purge
$PACKAGE, but only if the defoma-app binary is available and
executable.

A patch implementing this is attached to this bug report.

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (101, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.0.0-2-686-pae (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cm-super.patch
Type: text/x-diff
Size: 15314 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-fonts-devel/attachments/20111115/e22b0c96/attachment-0001.patch>


More information about the Pkg-fonts-devel mailing list