Commit graph

45 commits

Author SHA1 Message Date
adam
10d13dac64 Changes 2.5.4:
I. IMPORTANT BUG FIXES
  - A   variant  of   vulnerability  CVE-2014-2240   was  identified
    (cf.  http://savannah.nongnu.org/bugs/?43661) and  fixed in  the
    new CFF driver.  All users should upgrade.
  - The new auto-hinter code using HarfBuzz crashed for some invalid
    fonts.
  - Many fixes to better protect against malformed input.

II. IMPORTANT CHANGES
  - Full auto-hinter support of the Devanagari script.
  - Experimental auto-hinter support of the Telugu script.
  - CFF stem darkening behaviour can now be controlled at build time
    using the eight macros
      CFF_CONFIG_OPTION_DARKENING_PARAMETER_{X,Y}{1,2,3,4}    .
  - Some fields in the `FT_Bitmap'  structure have been changed from
    signed to unsigned type, which better reflects the actual usage.
    It  is also  an additional  means to  protect against  malformed
    input.
    This  change doesn't  break  the ABI;  however,  it might  cause
    compiler warnings.

III. MISCELLANEOUS
  - Improvements to  the auto-hinter's algorithm to  recognize stems
    and local extrema.
  - Function `FT_Get_SubGlyph_Info' always returned an error even in
    case of success.
  - Version  2.5.1 introduced  major bugs  in  the cjk  part of  the
    auto-hinter, which are now fixed.
  - The  `FT_Sfnt_Tag'  enumeration  values  have  been  changed  to
    uppercase,  e.g.  `FT_SFNT_HEAD'.   The lowercase  variants  are
    deprecated.    This  is   for  orthogonality   with  all   other
    enumeration (and enumeration-like) values in FreeType.
  - `cmake' now supports builds of FreeType as an OS X framework and
    for iOS.
  - Improved project files for vc2010, introducing a property file.
  - The  documentation generator  for  the API  reference  has  been
    updated to produce  better HTML code (with proper  CSS).  At the
    same time, the documentation got a better structure.
  - The FT_LOAD_BITMAP_CROP flag is obsolete;  it is not used by any
    driver.
  - The  TrueType  DELTAP[123]  bytecode instructions  now  work  in
    subpixel hinting  mode as described in  the ClearType whitepaper
    (i.e., for touched points in the non-subpixel direction).
  - Many small improvements to the internal arithmetic routines.
2014-12-09 10:50:04 +00:00
jperkin
eeedc7cc4a Move bzip2 and zlib buildlink3 out of the png PKG_OPTION check, they are
unconditional dependencies.
2014-03-19 10:16:33 +00:00
drochner
ce7ab79180 make the optional-png logics work 2014-03-14 19:39:52 +00:00
ryoon
0b05d63141 Make png dependency as option, and move option to options.mk
Revert bump of BUILDLINK_ABI_DEPENDS.freetype2
2014-03-14 14:54:02 +00:00
obache
2ed555db0e To get USE_BUILTIN.freetype2, builtin.mk must be included. 2014-03-14 13:43:17 +00:00
ryoon
8e275e6108 graphics/png should be included when non-builtin freetype2.
Pointed out by obache@, thank you.
2014-03-14 13:38:20 +00:00
ryoon
cbf190eabe graphics/png is also needed now 2014-03-14 13:12:34 +00:00
spz
265337b551 security update, upstream short changelog ('here' being releasenotes):
FreeType 2.5.3
2014-03-08

FreeType 2.5.3 has been released. All users should upgrade due to fixed
vulnerability in the CFF driver (CVE-2014-2240).

Its main new feature is much enhanced support of auto-hinting SFNT fonts
(i.e., TrueType and CFF fonts) due to the use of the HarfBuzz library.
A more detailed description of this and other changes can be found here.

FreeType 2.5.2
2013-12-08

FreeType 2.5.2 has been released. It fixes a serious bug introduced
in version 2.5.1; all users should upgrade.

A listing of the changes can be found here.

FreeType 2.5.1
2013-11-25

FreeType 2.5.1 has been released, providing three major new features.

   - Support for the WOFF font format, contributed by Behdad Esfahbod.
   - The auto-hinter now supports Hebrew, together with improved support
     for Cyrillic and Greek.
   - The directory layout of the (installed) FreeType header files has
     been simplified.

Among other changes I want to mention that FreeType's TrueType debugger
(ttdebug) has been made more versatile. An exhaustive list of changes
can be found here.

FreeType 2.5
2013-06-19

FreeType 2.5 has been released. A major new feature is support for
color embedded bitmaps (eg. color emoji), contributed by Behdad Esfahbod
on behalf of Google. Additionally, Adobe's CFF engine is now the default,
which makes a good reason to change from the 2.4.x to the 2.5.x series.

On the technical side, the property API to access FreeType module
parameters (FT_Property_Set and FT_Property_Get) is now declared as
stable.

As usual, see this file for the complete release notes, which give
more details. And we have again blog entries from Adobe and Google.

FreeType 2.4.12
2013-05-08

FreeType 2.4.12 has been released. A major new feature is a new parsing
and hinting engine for CFF fonts, contributed by Adobe in collaboration
with Google. It was my job the last few months to fully adapt the code
to FreeType, and we are very pleased with the results. You might also
read the blog entries from Adobe and Google.

In connection with the new CFF engine, the demo programs, especially
ftview and ftdiff, have been improved a lot; as usual, more details
on the changes can be found in the release notes.
2014-03-13 23:26:35 +00:00
schmonz
ac9defc63c Let naive configure scripts find freetype-config (needed for latest php55-gd). 2014-01-12 21:19:33 +00:00
tron
2896f4fdd3 Try to fix the fallout caused by the fix for PR pkg/47882. Part 1:
Reduce "freetype2" API dependence to version 2.4.5 which is what
NetBSD 6.1 and NetBSD-current ship with. This version is new enough
even for the latest "pango" package.

This fixes problems under NetBSD-current where pkgsrc tried to use
the native "fontconfig" and pkgsrc "freetype2" which doesn't work
very well.
2013-06-04 18:02:58 +00:00
tron
a73780dfa5 Bump the required API version as well to enforce the new version
at build time.
2013-06-03 15:23:44 +00:00
wiz
c83ffb8583 Bump freetype2 and fontconfig dependencies to current pkgsrc versions,
to address issues with NetBSD-6(and earlier)'s fontconfig not being
new enough for pango.

While doing that, also bump freetype2 dependency to current pkgsrc
version.

Suggested by tron in PR 47882
2013-06-03 10:04:30 +00:00
sbd
04daa2f1b8 Recursive bump for graphics/freetype2 buildlink addition. 2011-11-01 06:00:33 +00:00
sbd
6867d3f9e1 Add missing archivers/bzip2 buildlink
Bump PKGREVISION
2011-11-01 05:57:41 +00:00
tnn
796d5278e3 freetype2's .pc file requests linkage with -lz, so pull in zlib's bl3.mk 2009-07-21 12:00:41 +00:00
joerg
2d1ba244e9 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.
2009-03-20 19:23:50 +00:00
jlam
c16221a4db Change the format of BUILDLINK_ORDER to contain depth information as well,
and add a new helper target and script, "show-buildlink3", that outputs
a listing of the buildlink3.mk files included as well as the depth at
which they are included.

For example, "make show-buildlink3" in fonts/Xft2 displays:

	zlib
	fontconfig
	    iconv
	    zlib
	    freetype2
	    expat
	freetype2
	Xrender
	    renderproto
2006-07-08 23:10:35 +00:00
jlam
9430e49307 Track information in a new variable BUILDLINK_ORDER that informs us
of the order in which buildlink3.mk files are (recursively) included
by a package Makefile.
2006-07-08 22:38:58 +00:00
rillig
96fc47c14f Aligned the last line of the buildlink3.mk files with the first line, so
that they look nicer.
2006-04-12 10:26:59 +00:00
reed
5abef9be14 Over 1200 files touched but no revisions bumped :)
RECOMMENDED is removed. It becomes ABI_DEPENDS.

BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo.

BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo.

BUILDLINK_DEPENDS does not change.

IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS
which defaults to "yes".

Added to obsolete.mk checking for IGNORE_RECOMMENDED.

I did not manually go through and fix any aesthetic tab/spacing issues.

I have tested the above patch on DragonFly building and packaging
subversion and pkglint and their many dependencies.

I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I
have used IGNORE_RECOMMENDED for a long time). I have been an active user
of IGNORE_RECOMMENDED since it was available.

As suggested, I removed the documentation sentences suggesting bumping for
"security" issues.

As discussed on tech-pkg.

I will commit to revbump, pkglint, pkg_install, createbuildlink separately.

Note that if you use wip, it will fail!  I will commit to pkgsrc-wip
later (within day).
2006-04-06 06:21:32 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
rillig
b71a1d488b Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-12-05 20:49:47 +00:00
tv
c487cb967a Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
2004-10-03 00:12:51 +00:00
wiz
07aa9a0d15 Depend on freetype2>=2.1.8, since dependent packages have been adapted to
the new version.
2004-05-18 10:21:16 +00:00
jlam
d0b4c54eb6 Split out the code that deals with checking whether the software is
built-in or not into a separate builtin.mk file.  The code to deal
checking for built-in software is much simpler to deal with in pkgsrc.

The buildlink3.mk file for a package will be of the usual format
regardless of the package, which makes it simpler for packagers to
update a package.

The builtin.mk file for a package must define a single yes/no variable
USE_BUILTIN.<pkg> that is used by bsd.buildlink3.mk to decide whether
to use the built-in software or to use the pkgsrc software.
2004-03-10 17:57:14 +00:00
recht
4de5532b13 Use tab instead of spaces for indentation to make pkglint happy. 2004-02-29 00:22:43 +00:00
jlam
bf6e059da4 Reorder some lines so that BUILDLINK_USE_BUILTIN.<pkg> set in the
environment overrides all other settings.
2004-02-18 16:35:27 +00:00
jlam
d2b62c66fb Create a new variable PREFER_NATIVE that has the opposite semantics
as PREFER_PKGSRC.  Preferences are determined by the most specific
instance of the package in either PREFER_PKGSRC or PREFER_NATIVE.  If
a package is specified in neither or in both variables, then PREFER_PKGSRC
has precedence over PREFER_NATIVE.
2004-02-12 02:35:06 +00:00
jlam
1edfa505ed Reorganize code so that any dependencies are checked as part of deciding
whether the software is built-in or not.  This facilitates implementing
the forthcoming PKGSRC_NATIVE variable.
2004-02-12 01:59:37 +00:00
reed
7baa7e4a1d Raise BUILDLINK_DEPENDS.freetype2 to at least 2.1.3.
Even 2.0.9 is not good enough for newer fontconfig; for example,
gtk2 won't buildlink correctly (and will use older X version of
include/freetype2/freetype/ftbdf.h) and libfontconfig needs
FT_Get_BDF_Property which is not defined.

No PKGREVISION bump is needed, because would not even build in
first place.
2004-02-09 20:20:43 +00:00
jlam
7699290f10 If we're passing through MAKEFLAGS variables whose values may contain
spaces, use the :Q modifier instead of double-quoting the value.  This
avoids breakage when executing the just-in-time su targets.
2004-02-06 19:04:24 +00:00
jlam
317cc72791 Make PREFER_PKGSRC just yes/no or a list of packages. This makes it
simpler to understand.
2004-02-05 07:17:14 +00:00
jlam
e7133cac25 Rename BUILDLINK_PREFER_PKGSRC to PREFER_PKGSRC so that we can use its
value outside of buildlink-related files.
2004-02-05 07:06:15 +00:00
jlam
07a9d8dfb2 Support a new global variable:
BUILDLINK_PREFER_PKGSRC
	This variable determines whether or not to prefer the pkgsrc
	versions of software that is also present in the base system.

	This variable is multi-state:
		defined, or "yes"	always prefer the pkgsrc versions
		not defined, or "no"	only use the pkgsrc versions if
					needed by dependency requirements

	This can also take a list of packages for which to prefer the
	pkgsrc-installed software.  The package names may be found by
	consulting the value added to BUILDLINK_PACKAGES in the
	buildlink[23].mk files for that package.
2004-02-05 06:58:02 +00:00
jlam
01a5abff01 Support BUILDLINK_DEPENDS.<pkg> being a list of values. 2004-01-24 03:12:31 +00:00
jlam
1e9c78c32d Make sure that <freetype/freetype.h> is found. Also if we use the
XFree86-supplied freetype2, then set USE_X11.
2004-01-24 01:46:16 +00:00
jlam
d279e6f535 Use S/+$// instead of C/\+$// to save a backslash. Very highly
recommended by seb :)
2004-01-05 11:05:44 +00:00
jlam
c9ff27d270 Sow BUILDLINK_USE_BUILTIN.<pkg> and reap _NEED_<PKG> variables. 2004-01-05 09:31:31 +00:00
jlam
47bb2aae5f Re-arrange to match example buildlink3.mk file in bsd.buildlink3.mk. 2004-01-04 23:34:04 +00:00
jlam
57635c2e5d Match the buildlink3.mk guidelines set out in revision 1.22 of
bsd.buildlink3.mk.
2003-09-30 10:18:57 +00:00
jlam
f339438669 Conform to latest buildlink3.mk guidelines using *_BUILDLINK3_MK guards
to protect more parts of buildlink3.mk files against multiple inclusion.
2003-09-30 00:42:32 +00:00
jlam
0aa210c78e Provide definitions for BUILDLINK_PREFIX.<pkg> when the dependency may be
satisfied by a base system (X11R6) component.
2003-09-14 01:47:51 +00:00
jlam
c74a02ee07 Need to use :C instead of :S to get the "pop" action to work properly. 2003-09-13 23:21:19 +00:00
jlam
440bc402a1 Move BUILDLINK_CHECK_BUILTIN.<pkg> documentation into bsd.buildlink3.mk. 2003-09-05 11:39:02 +00:00
jlam
54f69b4eda Add some buildlink3.mk files needed by x11-links>=0.13. 2003-09-02 07:12:16 +00:00