ports/179608: [patch] chinese/ttfm leftovers in dependent fonts
Antoine Brodin
antoine at freebsd.org
Sun Jun 16 07:20:01 UTC 2013
>Number: 179608
>Category: ports
>Synopsis: [patch] chinese/ttfm leftovers in dependent fonts
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sun Jun 16 07:20:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Antoine Brodin
>Release: FreeBSD 9.1-RELEASE-p3 amd64
>Organization:
none
>Environment:
System: FreeBSD pepperseed.dreadbsd.org 9.1-RELEASE-p3 FreeBSD 9.1-RELEASE-p3 #0: Mon Apr 29 18:27:25 UTC 2013 root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
Currently, ports using chinese/ttfm/Makefile.ttf have leftovers on uninstall.
For instance:
=======================<phase: deinstall >============================
===> Deinstalling for chinese/arphicttf
===> Deinstalling zh-arphicttf-2.11_2
...
=========================================================================
====>> Checking for extra files and directories
====>> Files or directories left over:
%%XFONTSDIR%%/fonts.dir
%%XFONTSDIR%%/fonts.scale
@dirrm %%XFONTSDIR%%
Analysis shows that the last font is not removed from fonts.dir
>How-To-Repeat:
poudriere bulk -t chinese/arphicttf
>Fix:
The attached patch is enough to workaround this problem, it was tested with:
poudriere bulk -t chinese/fireflyttf chinese/CJKUnifonts chinese/opendesktop-fonts chinese/moettf chinese/arphicttf chinese/CNS11643-font chinese/cwtexttf vietnamese/urwvn vietnamese/vietunicode-hannom vietnamese/vietunicode-trichlor vietnamese/vietunicode-web1
--- ttfm.diff begins here ---
Index: chinese/ttfm/Makefile.ttf
===================================================================
--- chinese/ttfm/Makefile.ttf (revision 321006)
+++ chinese/ttfm/Makefile.ttf (working copy)
@@ -71,6 +71,7 @@
. for ttf in ${TTF}
@${ECHO_CMD} "@unexec %D/bin/ttfm.sh --remove ${module} ${FONTSDIR}/${ttf} || true" >> ${TMPPLIST}
. endfor
+ @${ECHO_CMD} "@unexec %D/bin/ttfm.sh --remove ${module} ${FONTSDIR}/ttfmremovemeharder.ttf > /dev/null 2>&1 || true" >> ${TMPPLIST}
.endfor
.for ttf in ${TTF}
@${ECHO_CMD} "${FONTSDIR_REL}/${ttf}" >> ${TMPPLIST}
--- ttfm.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list