diff options
author | wiz <wiz@pkgsrc.org> | 2013-04-10 11:41:37 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2013-04-10 11:41:37 +0000 |
commit | 076fddf5de66e970ce9297bac65ab366fd44a333 (patch) | |
tree | dd0312133792242816ae548a15c51fe25ee248cd | |
parent | a390682732d8f41706865a12c55cbd13d342d473 (diff) | |
download | pkgsrc-076fddf5de66e970ce9297bac65ab366fd44a333.tar.gz |
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.
-rw-r--r-- | fonts/fontconfig/Makefile | 5 | ||||
-rw-r--r-- | fonts/fontconfig/PLIST | 6 | ||||
-rw-r--r-- | fonts/fontconfig/distinfo | 10 | ||||
-rw-r--r-- | fonts/fontconfig/patches/patch-ab | 6 |
4 files changed, 15 insertions, 12 deletions
diff --git a/fonts/fontconfig/Makefile b/fonts/fontconfig/Makefile index 7c5447df6d5..9982b21e1f7 100644 --- a/fonts/fontconfig/Makefile +++ b/fonts/fontconfig/Makefile @@ -1,7 +1,6 @@ -# $NetBSD: Makefile,v 1.80 2013/03/15 17:07:14 drochner Exp $ +# $NetBSD: Makefile,v 1.81 2013/04/10 11:41:37 wiz Exp $ -DISTNAME= fontconfig-2.10.91 -PKGREVISION= 1 +DISTNAME= fontconfig-2.10.92 CATEGORIES= fonts MASTER_SITES= http://www.fontconfig.org/release/ diff --git a/fonts/fontconfig/PLIST b/fonts/fontconfig/PLIST index 2506d571f91..97aedc82a42 100644 --- a/fonts/fontconfig/PLIST +++ b/fonts/fontconfig/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.22 2013/03/14 19:32:32 drochner Exp $ +@comment $NetBSD: PLIST,v 1.23 2013/04/10 11:41:37 wiz Exp $ bin/fc-cache bin/fc-cat bin/fc-list @@ -74,11 +74,13 @@ man/man3/FcConfigGetCurrent.3 man/man3/FcConfigGetFontDirs.3 man/man3/FcConfigGetFonts.3 man/man3/FcConfigGetRescanInterval.3 +man/man3/FcConfigGetSysRoot.3 man/man3/FcConfigHome.3 man/man3/FcConfigParseAndLoad.3 man/man3/FcConfigReference.3 man/man3/FcConfigSetCurrent.3 man/man3/FcConfigSetRescanInterval.3 +man/man3/FcConfigSetSysRoot.3 man/man3/FcConfigSubstitute.3 man/man3/FcConfigSubstituteWithPat.3 man/man3/FcConfigUptoDate.3 @@ -262,11 +264,13 @@ share/doc/fontconfig/fontconfig-devel/fcconfiggetcurrent.html share/doc/fontconfig/fontconfig-devel/fcconfiggetfontdirs.html share/doc/fontconfig/fontconfig-devel/fcconfiggetfonts.html share/doc/fontconfig/fontconfig-devel/fcconfiggetrescaninterval.html +share/doc/fontconfig/fontconfig-devel/fcconfiggetsysroot.html share/doc/fontconfig/fontconfig-devel/fcconfighome.html share/doc/fontconfig/fontconfig-devel/fcconfigparseandload.html share/doc/fontconfig/fontconfig-devel/fcconfigreference.html share/doc/fontconfig/fontconfig-devel/fcconfigsetcurrent.html share/doc/fontconfig/fontconfig-devel/fcconfigsetrescaninterval.html +share/doc/fontconfig/fontconfig-devel/fcconfigsetsysroot.html share/doc/fontconfig/fontconfig-devel/fcconfigsubstitute.html share/doc/fontconfig/fontconfig-devel/fcconfigsubstitutewithpat.html share/doc/fontconfig/fontconfig-devel/fcconfiguptodate.html diff --git a/fonts/fontconfig/distinfo b/fonts/fontconfig/distinfo index 856cf3a0066..d51b71706e7 100644 --- a/fonts/fontconfig/distinfo +++ b/fonts/fontconfig/distinfo @@ -1,10 +1,10 @@ -$NetBSD: distinfo,v 1.39 2013/03/15 16:20:13 drochner Exp $ +$NetBSD: distinfo,v 1.40 2013/04/10 11:41:37 wiz Exp $ -SHA1 (fontconfig-2.10.91.tar.gz) = ad6f0b59a60717c71941a65d49e06a74d5205d29 -RMD160 (fontconfig-2.10.91.tar.gz) = aafb1e0176296168c54904e6151465f77d99fcf0 -Size (fontconfig-2.10.91.tar.gz) = 1793107 bytes +SHA1 (fontconfig-2.10.92.tar.gz) = 8fb6f6f5d590a9397aa36ffa225c44dca4876e47 +RMD160 (fontconfig-2.10.92.tar.gz) = cf71b33229b76afe101ca6a861e67731952f9d63 +Size (fontconfig-2.10.92.tar.gz) = 1819236 bytes SHA1 (patch-aa) = c0e2e282383e8fab643d0a10fa47e42ebb4e8ae8 -SHA1 (patch-ab) = 71925f19d55a0daf382f4ac31c5010180173ae50 +SHA1 (patch-ab) = 04d21073e6e585c5317e5c29d2d1918d240ce233 SHA1 (patch-ac) = c4f9904842c43246321cb982af78c1a61d06ad75 SHA1 (patch-af) = becdaa40180fd8aaa828faf3776ccd70d460e67e SHA1 (patch-ba) = e4f116b777a8046615569ae6e89545ad3c7abf77 diff --git a/fonts/fontconfig/patches/patch-ab b/fonts/fontconfig/patches/patch-ab index fc1dd054c8e..18c3ee22159 100644 --- a/fonts/fontconfig/patches/patch-ab +++ b/fonts/fontconfig/patches/patch-ab @@ -1,12 +1,12 @@ -$NetBSD: patch-ab,v 1.11 2012/06/10 16:12:47 wiz Exp $ +$NetBSD: patch-ab,v 1.12 2013/04/10 11:41:37 wiz Exp $ ---- src/fccache.c.orig 2012-03-10 06:24:46.000000000 +0000 +--- src/fccache.c.orig 2013-03-21 09:50:26.000000000 +0000 +++ src/fccache.c @@ -31,6 +31,7 @@ #include <dirent.h> #include <string.h> #include <sys/types.h> +#include <sys/stat.h> - #include <time.h> #include <assert.h> #if defined(HAVE_MMAP) || defined(__CYGWIN__) + # include <unistd.h> |