Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Aug 2014 22:27:12 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 193082] New: [patch] Mk, keywords: Don't run expensive font commands when building packages
Message-ID:  <bug-193082-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193082

            Bug ID: 193082
           Summary: [patch] Mk, keywords: Don't run expensive font
                    commands when building packages
           Product: Ports Tree
           Version: Latest
          Hardware: Any
                OS: Any
            Status: Needs Triage
          Severity: Affects Some People
          Priority: ---
         Component: Infrastructure
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: adamw@FreeBSD.org

Created attachment 146414
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=146414&action=edit
patch

When building X-based packages, there are long pauses with lots of
disk-thrashing when font packages are installed, while fc-cache, mkfontscale,
and mkfontdir are run. Oftentimes installing those font packages takes longer
than building the actual port, especially with ccache running.

I suspect that those steps can be safely skipped in a package-building
environment.

This patch alters the fc, fcfontsdir, and fontsdir keywords to simply skip
those steps when PACKAGE_BUILDING is defined. It would be interesting to see
whether it breaks stuff in an exp-run.

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-193082-13>