FreeBSD Bugzilla – Attachment 146432 Details for
Bug 193082
[patch] Mk, keywords: Don't run expensive font commands when building packages
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
fonts-package-building.patch (text/plain), 2.83 KB, created by
Adam Weinberger
on 2014-08-28 02:27:01 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Adam Weinberger
Created:
2014-08-28 02:27:01 UTC
Size:
2.83 KB
patch
obsolete
>Index: Keywords/fc.ucl >=================================================================== >--- Keywords/fc.ucl (revision 366330) >+++ Keywords/fc.ucl (working copy) >@@ -4,7 +4,7 @@ > > actions: [dirrmtry] > post-install: <<EOD >- fc-cache -s %D/%@ 2>/dev/null || true >+ [ -z "${PACKAGE_BUILDING}" ] && fc-cache -s %D/%@ 2>/dev/null || true > EOD > post-deinstall: <<EOD > fc-cache -s %D/%@ 2>/dev/null || true >Index: Keywords/fcfontsdir.ucl >=================================================================== >--- Keywords/fcfontsdir.ucl (revision 366330) >+++ Keywords/fcfontsdir.ucl (working copy) >@@ -4,9 +4,9 @@ > > actions: [dirrmtry] > post-install: <<EOD >- fc-cache -s %D/%@ 2>/dev/null || true >- mkfontscale %D/%@ 2>/dev/null || true >- mkfontdir %D/%@ 2>/dev/null || true >+ [ -z "${PACKAGE_BUILDING}" ] && fc-cache -s %D/%@ 2>/dev/null || true >+ [ -z "${PACKAGE_BUILDING}" ] && mkfontscale %D/%@ 2>/dev/null || true >+ [ -z "${PACKAGE_BUILDING}" ] && mkfontdir %D/%@ 2>/dev/null || true > EOD > post-deinstall: <<EOD > fc-cache -s %D/%@ 2>/dev/null || true >Index: Keywords/fcfontsdir.yaml >=================================================================== >--- Keywords/fcfontsdir.yaml (revision 366330) >+++ Keywords/fcfontsdir.yaml (working copy) >@@ -4,9 +4,9 @@ > > actions: [dirrmtry] > post-install: | >- fc-cache -s %D/%@ 2>/dev/null || true >- mkfontscale %D/%@ 2>/dev/null || true >- mkfontdir %D/%@ 2>/dev/null || true >+ [ -z "${PACKAGE_BUILDING}" ] && fc-cache -s %D/%@ 2>/dev/null || true >+ [ -z "${PACKAGE_BUILDING}" ] && mkfontscale %D/%@ 2>/dev/null || true >+ [ -z "${PACKAGE_BUILDING}" ] && mkfontdir %D/%@ 2>/dev/null || true > post-deinstall: | > fc-cache -s %D/%@ 2>/dev/null || true > mkfontscale %D/%@ 2>/dev/null || true >Index: Keywords/fontsdir.ucl >=================================================================== >--- Keywords/fontsdir.ucl (revision 366330) >+++ Keywords/fontsdir.ucl (working copy) >@@ -4,8 +4,8 @@ > > actions: [dirrmtry] > post-install: <<EOD >- mkfontscale %D/%@ 2>/dev/null || true >- mkfontdir %D/%@ 2>/dev/null || true >+ [ -z "${PACKAGE_BUILDING}" ] && mkfontscale %D/%@ 2>/dev/null || true >+ [ -z "${PACKAGE_BUILDING}" ] && mkfontdir %D/%@ 2>/dev/null || true > EOD > post-deinstall: <<EOD > mkfontscale %D/%@ 2>/dev/null || true >Index: Keywords/fontsdir.yaml >=================================================================== >--- Keywords/fontsdir.yaml (revision 366330) >+++ Keywords/fontsdir.yaml (working copy) >@@ -4,8 +4,8 @@ > > actions: [dirrmtry] > post-install: | >- mkfontscale %D/%@ 2>/dev/null || true >- mkfontdir %D/%@ 2>/dev/null || true >+ [ -z "${PACKAGE_BUILDING}" ] && mkfontscale %D/%@ 2>/dev/null || true >+ [ -z "${PACKAGE_BUILDING}" ] && mkfontdir %D/%@ 2>/dev/null || true > post-deinstall: | > mkfontscale %D/%@ 2>/dev/null || true > if [ -e %D/%@/fonts.scale -a "`stat -f '%%z' %D/%@/fonts.scale 2>/dev/null`" = '2' ]; then
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 193082
:
146414
|
146429
| 146432