Subject: CVS commit: pkgsrc/fonts/fontconfig
From: Thomas Klausner
Date: 2013-04-10 13:41:37
Message id: 20130410114137.94DEE175DD@cvs.netbsd.org

Log Message:
Update to 2.10.92:

    Bump version to 2.10.92

    Minor fix

    Bump libtool revision

    Minor cleanup

    Bug 38737 - Wishlist: support FC_POSTSCRIPT_NAME
    Add the PostScript name into the cache and the matcher.
    Scoring the better font against the PostScript name by
    the forward-matching.

    Fix a SIGSEGV on FcPatternGet* with NULL pattern

    Fix crash with FcConfigSetCurrent(NULL)

    Do not copy FC_*LANG_OBJECT even if it's not available on the pattern
    those objects are linked to the corresponding string objects.
    this may causes inconsistency that those objects has more values
    than them.

    Bug 59456 - Adding a --sysroot like option to fc-cache
    Add an ability to set the system root to generate the caches.
    In order to do this, new APIs, FcConfigGetSysRoot() and
    FcConfigSetSysRoot() is available.

    Fix a memory leak

    Fix broken sort order with FcFontSort()
    which was introduced by 4eab908c8679a797ac7016b77a93ee41bb11b0fc

    Fix a crash when the object is non-builtin object

    Fix a typo

    Bug 60783 - Add Liberation Sans Narrow to 30-metric-aliases.conf
    Add Liberation Sans Narrow as an alias for Arial Narrow

    Bug 60748 - broken conf.d/10-autohint.conf and conf.d/10-unhinted.conf
    Move the target of recipes to the "pattern" from the "font".
    This is to ensure the targeted objects is updated by them
    prior to FcDefaultSubstitute() so that it can adds the default
    values properly.

    Accept digits as part of OpenType script tags
    They've been used since 2005.

    Add Culmus foundry to the vendor list
    Maps fonts produced by the Culmus project
    <http://culmus.sourceforge.net>
    to the XLFD foundry name culmus.
    For TrueType fonts, maps the vendor code CLM from the TrueType vendor
    id field.
    For Type1 fonts, which use heuristics to guess mappings to XLFD
    foundries from
    words in the copyright notice, add the names of the main contributors
    to
    the Culmus product to recognize the fonts under their copyright.
    Patch from Maxim Iorsh

    Use LOG_COMPILER and AM_TESTS_ENVIRONMENT
    TESTS_ENVIRONMENT is deprecated and should be reserved to the user to
    override the test environment
    <ext>_LOG_COMPILER is meant to contain the program that runs the test
    with <ext> extension
    LOG_COMPILER is for extensionless tests
    AM_TESTS_ENVIRONMENT is meant to set the environment for the tests
      https://bugs.freedesktop.org/show_bug.cgi?id=60192
    Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>

    Bump the cache version to 4

    Update _FcMatchers definition logic
    to make it easier to maintain. also added FC_HASH_OBJECT to be matched
    in the pattern, prior to FC_FILE_OBJECT.

    Bug 60312 - DIST_SUBDIRS should never appear in a conditional
    As it is documented like this:
    If SUBDIRS is defined conditionally using Automake conditionals,
    Automake will define DIST_SUBDIRS automatically from the possible
    values of SUBDIRS in all conditions.
    So we don't need to re-define DIST_SUBDIRS in Makefile.am unless
    we use AC_SUBST to define SUBDIRS.
    Patch from Quentin Glidic

    Bug 50733 - Add font-file hash?
    Add "hash" object which contains SHA256 hash value (so far) computed
    from the font file.

    Use AM_MISSING_PROG instead of hardcoding missing

    Revert "test: Use SH_LOG_COMPILER and AM_TESTS_ENVIRONMENT"
    This reverts commit 2146b0307a3476892723104481f27f8484451c52.
    That change introduces incompatibility and seems not working with
    older releases of automake, including automake 1.12.2.

    test: Use SH_LOG_COMPILER and AM_TESTS_ENVIRONMENT
    TESTS_ENVIRONMENT is deprecated and should be reserved to the user to
    override the test environment
    <ext>_LOG_COMPILER is meant to contain the program that runs the test
    with <ext> extension
    AM_TESTS_ENVIRONMENT is meant to set the environment for the tests
      https://bugs.freedesktop.org/show_bug.cgi?id=60192
    Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>

    Use AM_MISSING_PROG instead of hardcoding missing

    Modernize configure.ac

    Bug 23757 - Add mode="delete" to <edit>
    Add two edit mode, "delete" and "delete_all".
    what values are being deleted depends on <test> as documented.
    if the target object is same to what is tested, matching value there
    will be deleted. otherwise all of values in the object will be
    deleted.
    so this would means both edit mode will not take any expressions.
    e.g.
    Given that the testing is always true here, the following rules:
      <match>
        <test name="foo" compare="eq">
          <string>bar</string>
        </test>
        <edit name="foo" mode="delete"/>
      </match>
    will removes "bar" string from "foo" object. and:
      <match>
        <test name="foo" compare="eq">
          <string>foo</string>
        </test>
        <edit name="bar" mode="delete"/>
      </match>
    will removes all of values in "bar" object.

    build: Only use PKG_INSTALLDIR if available
    It's only in pkg-config 0.27 or newer, but 0.25 at least is still
    fairly widespread.

    Use the PKG_INSTALLDIR macro.

    Bug 59385 - Do the right thing for intermixed edit and test elements
    This changes allows to have multiple mathcing rules in one <match>
    block
    in the same order.

    remove the unnecessary code

    Add another approach to FC_PRGNAME for Solaris 10 or before
    Patch from Raimund Steger

    Fix installation on MinGW32
    Patch from LRN

    Fix mkstemp absence for some platform
    Patch from LRN and modified to make more generic.

    Add missing file descriptor to F_DUPFD_CLOEXEC
    Patch from Matthieu Herrb

    Fix readlink failure
    As reported by Raimund Steger.

    Better fix for 2fe5ddfd
    Drop realpath() and fix breakage on Win32

    Fix FC_PRGNAME default
    As reported by Raimund Steger.

    Fix fc-cache crash caused by looking up NULL object incorrectly
    We were returning a skiplist node when looking up NULL!

    Minor

    Remove unused checks for common functions
    The check results of these were never actually used.

    Improve FcGetPrgname() to work on BSD

    Bug 59379 - FC_PRGNAME
    Can be used for per-application configuration.

    Bug 50497 - RFE: Add OpenType feature tags support
    Add FC_FONT_FEATURES to store the feature tags to be enabled.

    Fix the build fail on MinGW
    Reported at
    http://lists.freedesktop.org/archives/fontconfig/2013-January/004601.html
    just warn at the runtime instead of the compile time. it somewhat
    works
    on even MinGW since FcMakeTempfile() isn't used on Win32 so far.

    Minor

    Copy all values from pattern to font if the font doesn't have
    the element
    Bug 59376 - FcFontRenderPrepare enhancement

    Ensure we find the uninstalled fontconfig header
    Patch from Colin Walters.

    Respect $NOCONFIGURE
    Patch from Colin Walters.

Files:
RevisionActionfile
1.81modifypkgsrc/fonts/fontconfig/Makefile
1.23modifypkgsrc/fonts/fontconfig/PLIST
1.40modifypkgsrc/fonts/fontconfig/distinfo
1.12modifypkgsrc/fonts/fontconfig/patches/patch-ab