Commit graph

194 commits

Author SHA1 Message Date
nia
eb24ea3405 fontconfig: Sync config changes with netbsd 2020-11-05 17:41:28 +00:00
nia
b1237624dc fontconfig: Avoid selecting bitmap fonts included as part of X11 that
are also included as scalable fonts as part of macOS.

Many websites will attempt to select these fonts, which results in
very strange, poor quality rendering.

This should keep legacy X11 applications that want the old "Helvetica"
and "Times" fonts working, but prevent them from being selected by
applications that want scalable fonts.

It should not prevent "Helvetica" or "Times" from being selected
if the user installs a scalable version.

Bump PKGREVISION
2020-10-05 09:36:34 +00:00
tnn
d9a1b319d8 also need an implementation of uuid_compare() for the test suite 2020-08-18 09:27:38 +00:00
tnn
882286df36 fontconfig: drop libuuid dependency. Bump PKGREVISION.
Provide minimal subset of libuuid functions in FILESDIR.
http://mail-index.netbsd.org/tech-pkg/2020/08/18/msg023687.html

(Apologies for not waiting for comments on the discussion thread.
I think a quick fix is important since this solves significant fallout
for X11_TYPE=modular users.)
2020-08-18 08:19:17 +00:00
leot
0e49372c4e *: revbump after fontconfig bl3 changes (libuuid removal) 2020-08-17 20:17:15 +00:00
leot
bc01416fb6 fontconfig: remove libuuid bl3 inclusion in buildlink3.mk
libuuid is marked as a private dependency and it is an implementation
detail.

On some platforms (e.g. NetBSD) by including libuuid bl3 fonts/fontconfig was
unconditionally installed due that.

Problem originally analyzed by <wiz> in:

 <https://mail-index.NetBSD.org/tech-pkg/2019/06/19/msg021438.html>

And change proposed on tech-pkg@:

 <https://mail-index.NetBSD.org/tech-pkg/2020/07/13/msg023550.html>

Thanks to <wiz> also for reviews, suggestions and discussions!
2020-08-17 15:23:28 +00:00
rillig
7e61fbb150 fonts: align variable assignments
pkglint -Wall -F --only aligned --only indent -r

No manual corrections.
2019-11-02 22:24:37 +00:00
gdt
266e6e4869 fonts/fontconfig: Bump bl3 API_dEPENDS to 2.11.91
If the base fontconfig is old, and some but not all fontconfig-using
packages need newer, we end up with some binaries having two different
fontconfigs.  Adjust fontconfig's API_DEPENDS to 2.11.91, because
pango needs at least that.  This means that pkgsrc fontconfig will
always be used on netbsd-8.

The only sound approach appears to be a hard choice of system vs
pkgsrc fontconfig, without per-package overrides, but that's a bigger
step.  We could also consider changing API_DEPENDS to match the pkgsrc
fontconfig, so base is only used if newer.

(Needs a revbump.)

As discussed on tech-pkg.
2019-09-09 12:22:03 +00:00
riastradh
cac7886aba TOOL_DEPENDS, not BUILD_DEPENDS, for a tool we run at build-time. 2019-07-09 15:46:10 +00:00
gavan
0d5e686ab6 Remove duplicate changes entry 2019-04-26 15:05:14 +00:00
maya
135194e1fc fontconfig: ignore errors from this command.
Besides native xorg+xorg sets, modular xorg, there is also
native xorg+no xorg sets, and apparently the build doesn't fail in
this case.

Reported by John D. Baker in pkgsrc-users.
2018-09-17 06:56:22 +00:00
joerg
e9ef8d3ec7 Remove fontconfig files from x11-links, they can confuse ld later on. 2018-09-14 19:02:38 +00:00
joerg
f3a5e84a59 Repeat after me: I have never ever used .../.libs directly. 2018-09-06 15:27:21 +00:00
wiz
c3f2cec8fa fontconfig: update to 2.13.1.
Changes not found.
2018-09-02 20:30:43 +00:00
tnn
e02a8aa07d fontconfig: needs libbz2 2018-08-31 09:06:07 +00:00
schmonz
3ec7d51cc0 Since fontconfig depends on devel/gettext-lib (as of 2.13.0nb1),
anything depending on fontconfig does too. Add it to buildlink3.mk.
This is a high-impact change to commit during the freeze, but seems both
correct and necessary, and has wiz@'s OK.
2018-03-31 04:30:33 +00:00
joerg
2cd53b23b8 Since fontconfig wants to build message catalogs now, depend on msgfmt. 2018-03-24 17:33:04 +00:00
joerg
23b2dc6a41 Don't detect "GNU" gettext, but any reasonable libintl implementation. 2018-03-24 17:08:31 +00:00
fhajny
36b81b4186 fonts/fontconfig: Requires devel/gettext-lib. Bump PKGREVISION, may result in a PLIST change. 2018-03-24 15:44:54 +00:00
ryoon
315e03234a Add required newer freetype2 to fix X11_TYPE=native build partially 2018-03-13 21:45:20 +00:00
bsiegert
1961f90cf9 Fix inverted logic for the conditional uuid dependency.
The buildlink3.mk should be included for OSes _except_ Darwin.

The proper fix for this would be to have a devel/libuuid/builtin.mk that
detects builtinness.
2018-03-12 19:13:53 +00:00
adam
2d6ef1e1fd Do not look for libuuid on Darwin, it is built-in. 2018-03-12 11:44:52 +00:00
adam
1210bc5505 Do not look for libuuid on Darwin, it is built-in. 2018-03-12 11:28:08 +00:00
wiz
c57215a7b2 Recursive bumps for fontconfig and libzip dependency changes. 2018-03-12 11:15:24 +00:00
wiz
91cd9f20fe fontconfig: finish update to 2.13.0 2018-03-12 08:00:34 +00:00
wiz
8c8d851f89 fontconfig: update to 2.13.0.
Finally we have made new stable release, 2.13.0 here. summaries for
changes since last stable release of 2.12.6 are:
- Improve the footprint on cache creation
- emoji/math fonts support
- variable fonts support
- config file description support
- allow sharing caches with bind-mounted dirs
- bug fixes
2018-03-11 17:54:03 +00:00
he
e2b1756231 Add a workaround for the Old in-tree fontconfig headers
on netbsd-6 (build fix).
Bump PKGREVISION.
2018-01-15 08:59:15 +00:00
wiz
4b4470be21 fontconfig: update to 2.12.6.
2.12.6

Akira TAGOH (4):
      und_zsye.orth: polish to get for NotoEmoji-Regular.ttf
      Revert "Keep the same behavior to the return value of FcConfigParseAndLoad"
      Fix again to keep the same behavior to the return value of FcConfigParseAndLoad
      Update libtool revision

Behdad Esfahbod (2):
      Minor
      [fc-query] Fix linking order

David Kaspar [Dee'Kej] (1):
      conf.d: Drop aliases for (URW)++ fonts

Florian Müllner (1):
      build: Remove references to deleted file
2017-10-02 14:42:44 +00:00
wiz
aa59978f15 Updated fontconfig to 2.12.5.
I've released fontconfig-2.12.5 that contains Emoji/Math fonts
support in family name and lang, new APIs, to get the binding type
from FcPattern, and to load a configuration from memory. and some
bug fixes.
2017-09-10 21:13:44 +00:00
wiz
9103d0c0a9 Updated fontconfig to 2.12.4.
2.12.4

Akira TAGOH (5):
      Force regenerate fcobjshash.h when updating Makefile
      Fix the build failure when srcdir != builddir and have gperf 3.1 or later installed
      Add a testcase for Bug#131804
      Update libtool revision
      Fix distcheck error

Florent Rougon (6):
      FcCharSetHash(): use the 'numbers' values to compute the hash
      fc-lang: gracefully handle the case where the last language initial is < 'z'
      Fix an off-by-one error in FcLangSetIndex()
      Fix erroneous test on language id in FcLangSetPromote()
      FcLangSetCompare(): fix bug when two charsets come from different "buckets"
      FcCharSetFreezeOrig(), FcCharSetFindFrozen(): use all buckets of freezer->orig_hash_table

Helmut Grohne (1):
      fix cross compilation

Jan Alexander Steffens (heftig) (1):
      Fix testing PCF_CONFIG_OPTION_LONG_FAMILY_NAMES (CFLAGS need to be right)

Josselin Mouette (1):
      Treat C.UTF-8 and C.utf8 locales as built in the C library.

Masamichi Hosoda (1):
      Bug 99360 - Fix cache file update on MinGW
2017-08-14 20:30:24 +00:00
wiz
c55e2d2364 Add upstream bug report URL. 2017-06-20 11:42:09 +00:00
wiz
863b9b68fb Updated fontconfig to 2.12.3.
2.12.3

Akira TAGOH (1):
      Fix make check fail with freetype-2.7.1 and 2.8 with PCF_CONFIG_OPTION_LONG_FAMILY_NAMES enabled.

2.12.2

Akira TAGOH (8):
      Don't call perror() if no changes happens in errno
      Fix FcCacheOffsetsValid()
      Fix the build issue with gperf 3.1
      Fix the build issue on GNU/Hurd
      Update a bit for the changes in FreeType 2.7.1
      Add the description of FC_LANG envvar to the doc
      Bug 101202 - fontconfig FTBFS if docbook-utils is installed
      Update libtool revision

Alan Coopersmith (1):
      Correct cache version info in doc/fontconfig-user.sgml

Khem Raj (1):
      Avoid conflicts with integer width macros from TS 18661-1:2014

Masamichi Hosoda (2):
      Fix PostScript font alias name
      Update aliases for URW June 2016
2017-06-20 11:36:40 +00:00
jperkin
9911f03667 Apply upstream patch for https://bugs.freedesktop.org/show_bug.cgi?id=97546
which fixes cache generation on OSX.  Raised in joyent/pkgsrc#506.

Bump PKGREVISION.
2017-05-30 16:53:14 +00:00
wiz
68f33444d8 Fix build with native X.org.
The installed version of this library was found and used instead of the
one build by the package, leading to problems when the pkgsrc one had
symbols the native one doesn't have. Add libtool path to compiler
search path to fix this.

From spz.
2016-09-18 13:18:20 +00:00
wiz
65237df3dc Updated fontconfig to 2.12.1.
I've released 2.12.1 containing some fixes:
- IMPORTANT: properly validate offsets in cache files. see changelog and
  CVE-2016-5384 for more details. thanks to Tobias Stoeckmann for catching
  this up!
- build issues regarding to Python.
- add --with-default-hinting to configure.
- fix segfault in FcWeightFromOpenType()
2016-08-19 12:52:30 +00:00
wiz
9ea083857d Updated fontconfig to 2.12.0.
Here is the announcement for the stable release after 2 years, which
many features and bug fixes contains.

Summary of the changes since last stable release is:
- - Support the size specific design selection in OS/2 table version 5
- - Allow the modification on 'lang' and 'charset' objects
- - Increase the refcount in FcConfigSetCurrent()
- - some updates in orth files
- - Add --error-on-no-fonts option to fc-cache
- - Use lang=und instead of lang=xx for "undetermined"
- - Add FC_WEIGHT_DEMILIGHT and change from 65 to 55
- - Add FC_COLOR
- - Treat color fonts as scalable
- - no FC_LANG added with FcConfigSubstitute() when it has "und"
- - Hardcode blanks in library
- - Support symbol fonts
- - Unicode 8.0 support
- - Add hintstyle templates and default hintslight
- - GX font support
- - Improve the footprint issue on updating caches
- - Bump the cache version to 6
- - more bug fixes
- - and more...
2016-06-19 20:48:55 +00:00
agc
efd9ad4549 Remove duplicate SHA512 digests that crept in. 2015-11-04 17:41:15 +00:00
agc
b9f9b025f5 Add SHA512 digests for distfiles for fonts category
Problems found locating distfiles:
	Package acroread7-chsfont: missing distfile acrobat7-fonts/chsfont.tar.gz
	Package acroread7-font-share: missing distfile acrobat7-fonts/korfont.tar.gz
	Package acroread7-korfont: missing distfile acrobat7-fonts/korfont.tar.gz
	Package acroread9-chtfont: missing distfile acrobat9-fonts/FontPack910_cht_i486-linux.tar.bz2
	Package acroread9-jpnfont: missing distfile acrobat9-fonts/FontPack910_jpn_i486-linux.tar.bz2
	Package cyberbase-ttf: missing distfile cyberbit-ttf/Cyberbase.ZIP
	Package cyberbit-ttf: missing distfile cyberbit-ttf/Cyberbit.ZIP
	Package pixel-sagas-startrek: missing distfile PS_Font_Fontana.zip
	Package pixel-sagas-startrek: missing distfile PS_Font_Montalban.zip
	Package pixel-sagas-startrek: missing distfile PS_Font_Probert.zip
	Package pixel-sagas-startrek: missing distfile PS_Font_Sternbach.zip
	Package pixel-sagas-startrek: missing distfile PS_Font_Trek_Arrowcaps.zip
	Package umefont-ttf: missing distfile umefont_560.tar.xz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
2015-11-03 20:44:27 +00:00
bsiegert
1eafdbc5a9 Remove the Latin-1 umlaut from the header comment of the patch. It messes
with sed on El Capitan, which apparently assumes valid UTF-8 inputs.
2015-10-27 20:20:31 +00:00
wiz
e83357c745 Use lib/X11/fonts when referencing X11PREFIX.
From Izumi Tsutsui in PR 50062.
Bump PKGREVISION.
2015-07-19 08:11:08 +00:00
wiz
cda18437be Remove pkgviews: don't set PKG_INSTALLATION_TYPES in Makefiles. 2014-10-09 14:05:50 +00:00
ryoon
315fb89d15 Fix build under SCO OpenServer 5.0.7/3.2.
It seems that SCO OSR5 does not provide scandir(3), provide custom scandir().
2014-07-15 14:48:34 +00:00
wiz
1adfb71852 Move fonts from lib/X11/fonts to share/fonts/X11.
As discussed on tech-pkg.

Bump PKGREVISION.
2014-06-01 16:35:31 +00:00
wiz
dc1b7cc0d1 Also look in share/fonts/X11, as before in some cases. 2014-05-21 08:45:39 +00:00
adam
dfa12f3d6c Search standard font paths on OS X 2014-05-21 08:42:55 +00:00
wiz
6ad0fd87e7 Update to 2.11.1:
I'm pleased to announce that we have a new release of fontconfig,
2.11.1 here now, which contains bug fixes.
2014-04-01 21:21:28 +00:00
obache
ba7fea220d no "--with-freetype-config" configure option now. 2014-02-06 09:41:08 +00:00
wiz
065cb7ccdf Try fixing build on Solaris 10, from Akira TAGOH (upstream). 2013-10-30 23:53:10 +00:00
wiz
d3fa5b9146 Add patch from Akira TAGOH for fixing test/test-migration.c on Solaris. 2013-10-21 08:21:04 +00:00
richard
c8f47b642b disable tests in fontconfig given problems on at least WIN32 and Solaris 2013-10-19 10:36:08 +00:00