Up to [NetBSD + pkgsrc-wip] / pkgsrc / graphics / silgraphite
Request diff between arbitrary revisions - Display revisions graphically
Keyword substitution: kv
Default branch: MAIN
Simply and speed up buildlink3.mk files and processing. This changes the buildlink3.mk files to use an include guard for the recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS, BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of enter/exit marker, which can be used to reconstruct the tree and to determine first level includes. Avoiding := for large variables (BUILDLINK_ORDER) speeds up parse time as += has linear complexity. The include guard reduces system time by avoiding reading files over and over again. For complex packages this reduces both %user and %sys time to half of the former time.
Import silgraphite from pkgsrc-wip. Graphite is a project under development within SIL's Non-Roman Script Initiative and Language Software Development groups to provide rendering capabilities for complex non-Roman writing systems. Its smart-font engine is the bit that takes a Unicode string, font formatting information (features, size, etc.), and a font, and returns a set of positioned glyphs. Graphite also does more than this, in that it can handle cursor tracking and interaction with the application for string selection, etc.
Initial revision