head 1.55; access; symbols pkgsrc-2023Q4:1.55.0.2 pkgsrc-2023Q4-base:1.55 pkgsrc-2023Q3:1.53.0.4 pkgsrc-2023Q3-base:1.53 pkgsrc-2023Q2:1.53.0.2 pkgsrc-2023Q2-base:1.53 pkgsrc-2023Q1:1.52.0.2 pkgsrc-2023Q1-base:1.52 pkgsrc-2022Q4:1.50.0.22 pkgsrc-2022Q4-base:1.50 pkgsrc-2022Q3:1.50.0.20 pkgsrc-2022Q3-base:1.50 pkgsrc-2022Q2:1.50.0.18 pkgsrc-2022Q2-base:1.50 pkgsrc-2022Q1:1.50.0.16 pkgsrc-2022Q1-base:1.50 pkgsrc-2021Q4:1.50.0.14 pkgsrc-2021Q4-base:1.50 pkgsrc-2021Q3:1.50.0.12 pkgsrc-2021Q3-base:1.50 pkgsrc-2021Q2:1.50.0.10 pkgsrc-2021Q2-base:1.50 pkgsrc-2021Q1:1.50.0.8 pkgsrc-2021Q1-base:1.50 pkgsrc-2020Q4:1.50.0.6 pkgsrc-2020Q4-base:1.50 pkgsrc-2020Q3:1.50.0.4 pkgsrc-2020Q3-base:1.50 pkgsrc-2020Q2:1.50.0.2 pkgsrc-2020Q2-base:1.50 pkgsrc-2020Q1:1.49.0.4 pkgsrc-2020Q1-base:1.49 pkgsrc-2019Q4:1.49.0.6 pkgsrc-2019Q4-base:1.49 pkgsrc-2019Q3:1.49.0.2 pkgsrc-2019Q3-base:1.49 pkgsrc-2019Q2:1.47.0.12 pkgsrc-2019Q2-base:1.47 pkgsrc-2019Q1:1.47.0.10 pkgsrc-2019Q1-base:1.47 pkgsrc-2018Q4:1.47.0.8 pkgsrc-2018Q4-base:1.47 pkgsrc-2018Q3:1.47.0.6 pkgsrc-2018Q3-base:1.47 pkgsrc-2018Q2:1.47.0.4 pkgsrc-2018Q2-base:1.47 pkgsrc-2018Q1:1.47.0.2 pkgsrc-2018Q1-base:1.47 pkgsrc-2017Q4:1.46.0.14 pkgsrc-2017Q4-base:1.46 pkgsrc-2017Q3:1.46.0.12 pkgsrc-2017Q3-base:1.46 pkgsrc-2017Q2:1.46.0.8 pkgsrc-2017Q2-base:1.46 pkgsrc-2017Q1:1.46.0.6 pkgsrc-2017Q1-base:1.46 pkgsrc-2016Q4:1.46.0.4 pkgsrc-2016Q4-base:1.46 pkgsrc-2016Q3:1.46.0.2 pkgsrc-2016Q3-base:1.46 pkgsrc-2016Q2:1.45.0.14 pkgsrc-2016Q2-base:1.45 pkgsrc-2016Q1:1.45.0.12 pkgsrc-2016Q1-base:1.45 pkgsrc-2015Q4:1.45.0.10 pkgsrc-2015Q4-base:1.45 pkgsrc-2015Q3:1.45.0.8 pkgsrc-2015Q3-base:1.45 pkgsrc-2015Q2:1.45.0.6 pkgsrc-2015Q2-base:1.45 pkgsrc-2015Q1:1.45.0.4 pkgsrc-2015Q1-base:1.45 pkgsrc-2014Q4:1.45.0.2 pkgsrc-2014Q4-base:1.45 pkgsrc-2014Q3:1.44.0.6 pkgsrc-2014Q3-base:1.44 pkgsrc-2014Q2:1.44.0.4 pkgsrc-2014Q2-base:1.44 pkgsrc-2014Q1:1.44.0.2 pkgsrc-2014Q1-base:1.44 pkgsrc-2013Q4:1.36.0.6 pkgsrc-2013Q4-base:1.36 pkgsrc-2013Q3:1.36.0.4 pkgsrc-2013Q3-base:1.36 pkgsrc-2013Q2:1.36.0.2 pkgsrc-2013Q2-base:1.36 pkgsrc-2013Q1:1.33.0.12 pkgsrc-2013Q1-base:1.33 pkgsrc-2012Q4:1.33.0.10 pkgsrc-2012Q4-base:1.33 pkgsrc-2012Q3:1.33.0.8 pkgsrc-2012Q3-base:1.33 pkgsrc-2012Q2:1.33.0.6 pkgsrc-2012Q2-base:1.33 pkgsrc-2012Q1:1.33.0.4 pkgsrc-2012Q1-base:1.33 pkgsrc-2011Q4:1.33.0.2 pkgsrc-2011Q4-base:1.33 pkgsrc-2011Q3:1.31.0.18 pkgsrc-2011Q3-base:1.31 pkgsrc-2011Q2:1.31.0.16 pkgsrc-2011Q2-base:1.31 pkgsrc-2011Q1:1.31.0.14 pkgsrc-2011Q1-base:1.31 pkgsrc-2010Q4:1.31.0.12 pkgsrc-2010Q4-base:1.31 pkgsrc-2010Q3:1.31.0.10 pkgsrc-2010Q3-base:1.31 pkgsrc-2010Q2:1.31.0.8 pkgsrc-2010Q2-base:1.31 pkgsrc-2010Q1:1.31.0.6 pkgsrc-2010Q1-base:1.31 pkgsrc-2009Q4:1.31.0.4 pkgsrc-2009Q4-base:1.31 pkgsrc-2009Q3:1.31.0.2 pkgsrc-2009Q3-base:1.31 pkgsrc-2009Q2:1.30.0.4 pkgsrc-2009Q2-base:1.30 pkgsrc-2009Q1:1.30.0.2 pkgsrc-2009Q1-base:1.30 pkgsrc-2008Q4:1.29.0.24 pkgsrc-2008Q4-base:1.29 pkgsrc-2008Q3:1.29.0.22 pkgsrc-2008Q3-base:1.29 cube-native-xorg:1.29.0.20 cube-native-xorg-base:1.29 pkgsrc-2008Q2:1.29.0.18 pkgsrc-2008Q2-base:1.29 cwrapper:1.29.0.16 pkgsrc-2008Q1:1.29.0.14 pkgsrc-2008Q1-base:1.29 pkgsrc-2007Q4:1.29.0.12 pkgsrc-2007Q4-base:1.29 pkgsrc-2007Q3:1.29.0.10 pkgsrc-2007Q3-base:1.29 pkgsrc-2007Q2:1.29.0.8 pkgsrc-2007Q2-base:1.29 pkgsrc-2007Q1:1.29.0.6 pkgsrc-2007Q1-base:1.29 pkgsrc-2006Q4:1.29.0.4 pkgsrc-2006Q4-base:1.29 pkgsrc-2006Q3:1.29.0.2 pkgsrc-2006Q3-base:1.29 pkgsrc-2006Q2:1.27.0.2 pkgsrc-2006Q2-base:1.27 pkgsrc-2006Q1:1.25.0.2 pkgsrc-2006Q1-base:1.25 pkgsrc-2005Q4:1.24.0.2 pkgsrc-2005Q4-base:1.24 pkgsrc-2005Q3:1.23.0.8 pkgsrc-2005Q3-base:1.23 pkgsrc-2005Q2:1.23.0.6 pkgsrc-2005Q2-base:1.23 pkgsrc-2005Q1:1.23.0.4 pkgsrc-2005Q1-base:1.23 pkgsrc-2004Q4:1.23.0.2 pkgsrc-2004Q4-base:1.23 pkgsrc-2004Q3:1.22.0.4 pkgsrc-2004Q3-base:1.22 pkgsrc-2004Q2:1.22.0.2 pkgsrc-2004Q2-base:1.22 pkgsrc-2004Q1:1.21.0.2 pkgsrc-2004Q1-base:1.21 pkgsrc-2003Q4:1.6.0.2 pkgsrc-2003Q4-base:1.6; locks; strict; comment @# @; 1.55 date 2023.11.12.13.20.31; author wiz; state Exp; branches; next 1.54; commitid SjpNXQIV5XeZ3kME; 1.54 date 2023.11.09.20.18.58; author nia; state Exp; branches; next 1.53; commitid jWlbAN1r8ivNtYLE; 1.53 date 2023.04.01.11.52.32; author riastradh; state Exp; branches; next 1.52; commitid OqrBjxHH5TlwOojE; 1.52 date 2023.02.09.19.49.45; author wiz; state Exp; branches; next 1.51; commitid MHH2EksOU56S5TcE; 1.51 date 2023.01.29.14.00.22; author ryoon; state Exp; branches; next 1.50; commitid pQQ7xQOrDZ8LvrbE; 1.50 date 2020.06.03.08.40.21; author adam; state Exp; branches; next 1.49; commitid zdRtYneY1qU5VKaC; 1.49 date 2019.09.09.12.40.50; author wiz; state Exp; branches; next 1.48; commitid 7qbq2ZYgBVDLRkCB; 1.48 date 2019.09.09.12.26.04; author gdt; state Exp; branches; next 1.47; commitid GPBANlxqoAYNMkCB; 1.47 date 2018.01.07.13.04.14; author rillig; state Exp; branches; next 1.46; commitid dlppcM1x04atAWlA; 1.46 date 2016.07.09.12.23.16; author adam; state Exp; branches; next 1.45; commitid rV2YIoDqhluyXDdz; 1.45 date 2014.12.09.10.50.04; author adam; state Exp; branches; next 1.44; commitid 2wdfULzJ6Ich1m1y; 1.44 date 2014.03.19.10.16.33; author jperkin; state Exp; branches; next 1.43; commitid H4iT0hWyTsYPlitx; 1.43 date 2014.03.14.19.39.52; author drochner; state Exp; branches; next 1.42; commitid nvo9tfAr4TKcDHsx; 1.42 date 2014.03.14.14.54.02; author ryoon; state Exp; branches; next 1.41; commitid gAdRfq0QVSJg3Gsx; 1.41 date 2014.03.14.13.43.17; author obache; state Exp; branches; next 1.40; commitid llomVmtVnx1LEFsx; 1.40 date 2014.03.14.13.38.20; author ryoon; state Exp; branches; next 1.39; commitid Kx643iZo2gxbDFsx; 1.39 date 2014.03.14.13.12.34; author ryoon; state Exp; branches; next 1.38; commitid xZPTL23XnqwuuFsx; 1.38 date 2014.03.13.23.26.35; author spz; state Exp; branches; next 1.37; commitid EVH5Z5dSnDlJUAsx; 1.37 date 2014.01.12.21.19.33; author schmonz; state Exp; branches; next 1.36; commitid mZY6GImC7LTS8Skx; 1.36 date 2013.06.04.18.02.58; author tron; state Exp; branches 1.36.6.1; next 1.35; commitid Vv5XHXD8blLjbkSw; 1.35 date 2013.06.03.15.23.44; author tron; state Exp; branches; next 1.34; commitid xKD9bVEtlDMslbSw; 1.34 date 2013.06.03.10.05.11; author wiz; state Exp; branches; next 1.33; commitid kGMtnUPdN4amz9Sw; 1.33 date 2011.11.01.06.01.32; author sbd; state Exp; branches; next 1.32; 1.32 date 2011.11.01.05.57.41; author sbd; state Exp; branches; next 1.31; 1.31 date 2009.07.21.12.00.41; author tnn; state Exp; branches; next 1.30; 1.30 date 2009.03.20.19.24.38; author joerg; state Exp; branches; next 1.29; 1.29 date 2006.07.08.23.10.51; author jlam; state Exp; branches; next 1.28; 1.28 date 2006.07.08.22.39.18; author jlam; state Exp; branches; next 1.27; 1.27 date 2006.04.12.10.27.17; author rillig; state Exp; branches; next 1.26; 1.26 date 2006.04.06.06.22.02; author reed; state Exp; branches; next 1.25; 1.25 date 2006.02.05.23.09.30; author joerg; state Exp; branches; next 1.24; 1.24 date 2005.12.05.20.50.20; author rillig; state Exp; branches; next 1.23; 1.23 date 2004.10.03.00.14.50; author tv; state Exp; branches; next 1.22; 1.22 date 2004.05.18.10.21.16; author wiz; state Exp; branches; next 1.21; 1.21 date 2004.03.10.17.57.14; author jlam; state Exp; branches; next 1.20; 1.20 date 2004.02.29.00.22.43; author recht; state Exp; branches; next 1.19; 1.19 date 2004.02.18.16.35.27; author jlam; state Exp; branches; next 1.18; 1.18 date 2004.02.12.02.35.06; author jlam; state Exp; branches; next 1.17; 1.17 date 2004.02.12.01.59.38; author jlam; state Exp; branches; next 1.16; 1.16 date 2004.02.09.20.20.43; author reed; state Exp; branches; next 1.15; 1.15 date 2004.02.06.19.04.25; author jlam; state Exp; branches; next 1.14; 1.14 date 2004.02.05.07.17.14; author jlam; state Exp; branches; next 1.13; 1.13 date 2004.02.05.07.06.15; author jlam; state Exp; branches; next 1.12; 1.12 date 2004.02.05.06.58.03; author jlam; state Exp; branches; next 1.11; 1.11 date 2004.01.24.03.12.32; author jlam; state Exp; branches; next 1.10; 1.10 date 2004.01.24.01.46.16; author jlam; state Exp; branches; next 1.9; 1.9 date 2004.01.05.11.05.45; author jlam; state Exp; branches; next 1.8; 1.8 date 2004.01.05.09.31.31; author jlam; state Exp; branches; next 1.7; 1.7 date 2004.01.04.23.34.06; author jlam; state Exp; branches; next 1.6; 1.6 date 2003.09.30.10.18.57; author jlam; state Exp; branches; next 1.5; 1.5 date 2003.09.30.00.42.32; author jlam; state Exp; branches; next 1.4; 1.4 date 2003.09.14.01.47.51; author jlam; state Exp; branches; next 1.3; 1.3 date 2003.09.13.23.21.20; author jlam; state Exp; branches; next 1.2; 1.2 date 2003.09.05.11.39.03; author jlam; state Exp; branches; next 1.1; 1.1 date 2003.09.02.07.12.17; author jlam; state Exp; branches; next ; 1.36.6.1 date 2014.03.14.08.21.50; author tron; state Exp; branches; next 1.36.6.2; commitid pBhucrWeoVcMSDsx; 1.36.6.2 date 2014.03.17.09.30.55; author tron; state Exp; branches; next 1.36.6.3; commitid 0hjcYuQXm6lua2tx; 1.36.6.3 date 2014.03.22.18.21.02; author spz; state Exp; branches; next ; commitid ezAa7kQusMxoWItx; desc @@ 1.55 log @*: revebump for new brotli option for freetype2 Addresses PR 57693 @ text @# $NetBSD: buildlink3.mk,v 1.54 2023/11/09 20:18:58 nia Exp $ BUILDLINK_TREE+= freetype2 .if !defined(FREETYPE2_BUILDLINK3_MK) FREETYPE2_BUILDLINK3_MK:= BUILDLINK_API_DEPENDS.freetype2+= freetype2>=2.13.0 BUILDLINK_ABI_DEPENDS.freetype2?= freetype2>=2.13.2nb1 BUILDLINK_PKGSRCDIR.freetype2?= ../../graphics/freetype2 BUILDLINK_INCDIRS.freetype2?= include/freetype2 BUILDLINK_FILES.freetype2+= bin/freetype-config FREETYPE_CONFIG?= ${BUILDLINK_PREFIX.freetype2}/bin/freetype-config CONFIGURE_ENV+= FREETYPE_CONFIG=${FREETYPE_CONFIG:Q} .include "../../archivers/bzip2/buildlink3.mk" .include "../../devel/zlib/buildlink3.mk" pkgbase := freetype2 .include "../../mk/pkg-build-options.mk" .if ${PKG_BUILD_OPTIONS.freetype2:Mbrotli} .include "../../archivers/brotli/buildlink3.mk" .endif .if ${PKG_BUILD_OPTIONS.freetype2:Mpng} CHECK_BUILTIN.freetype2:= yes .include "../../graphics/freetype2/builtin.mk" CHECK_BUILTIN.freetype2:= no . if ${USE_BUILTIN.freetype2:tl} != yes . include "../../graphics/png/buildlink3.mk" . endif .endif .endif # FREETYPE2_BUILDLINK3_MK BUILDLINK_TREE+= -freetype2 @ 1.54 log @freetype2: Second part of previous. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.53 2023/04/01 11:52:32 riastradh Exp $ d9 1 @ 1.53 log @graphics/freetype2: Bump BUILDLINK_API_DEPENDS to cope with brotli. Otherwise if an earlier version of freetype2 is installed, dependent packages fail to build with messages like this: ===> Creating toolchain wrappers for fontconfig-2.14.2 ERROR: brotli>=1.0.1 is not installed; can't buildlink files. (If there's a better way to deal with this that doesn't trigger excessive rebuilds of freetype2 when older versions are acceptable, feel free to do this differently!) @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.52 2023/02/09 19:49:45 wiz Exp $ a16 1 .include "../../archivers/brotli/buildlink3.mk" d23 4 @ 1.52 log @freetype2: pkglint autofixes @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.51 2023/01/29 14:00:22 ryoon Exp $ d8 1 a8 1 BUILDLINK_API_DEPENDS.freetype2+= freetype2>=2.8.1 @ 1.51 log @freetype2: Add brotli to buildlink3.mk to fix build of consumers @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.50 2020/06/03 08:40:21 adam Exp $ d29 1 a29 1 . if empty(USE_BUILTIN.freetype2:M[yY][eE][sS]) @ 1.50 log @freetype2: updated to 2.10.2 CHANGES BETWEEN 2.10.1 and 2.10.2 I. IMPORTANT CHANGES - Support of WOFF2 fonts. This code contribution was Nikhil Ramakrishnan's GSoC 2019 project. II. MISCELLANEOUS - Function `FT_Get_Var_Axis_Flags' returned random data for Type 1 MM fonts. - Type 1 fonts with non-integer metrics are now supported by the new (CFF) engine introduced in FreeType 2.9. - Drop support for Python 2 in Freetype's API reference generator `docwriter' (Python >= 3.5 is required for targets `make refdoc' and `make refdoc-venv'). - Auto-hinter support for Hanifi Rohingya. - Document the `FT2_KEEP_ALIVE' debugging environment variable. - The Visual C++ (and Visual C) project files for Windows builds no longer generate libraries that contain the FreeType version in its filenames. Instead, a resource file gets used to make the libraries contain the corresponding information. - The next release will remove Jam build support. - The `ftbench' demo program has a new test for testing the `FT_Glyph_Stroke' functionality. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.49 2019/09/09 12:40:50 wiz Exp $ d17 1 @ 1.49 log @freetype2: remove ABI depends that's lower than API depends It will have no effect. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.48 2019/09/09 12:26:04 gdt Exp $ d23 1 a23 1 .if !empty(PKG_BUILD_OPTIONS.freetype2:Mpng) @ 1.48 log @fonts/fontconfig: Bump bl3 API_dEPENDS to 2.11.91 If the base freetype is old, and some but not all freetype-using packages need newer, we end up with some binaries having two different freetypes. Adjust freetype's API_DEPENDS to 2.8.1, because pango needs at least that. This means that pkgsrc freetype will always be used on netbsd-8. (ABI_DEPENDS should perhaps be bumped as well, and it's hard to believe that there has been no ABI change since 2.4.11.) (Needs a revbump.) As discussed on tech-pkg. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.47 2018/01/07 13:04:14 rillig Exp $ a8 1 BUILDLINK_ABI_DEPENDS.freetype2+= freetype2>=2.4.11 @ 1.47 log @Fix indentation in buildlink3.mk files. The actual fix as been done by "pkglint -F */*/buildlink3.mk", and was reviewed manually. There are some .include lines that still are indented with zero spaces although the surrounding .if is indented. This is existing practice. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.46 2016/07/09 12:23:16 adam Exp $ d8 1 a8 1 BUILDLINK_API_DEPENDS.freetype2+= freetype2>=2.4.5 @ 1.46 log @Changes 2.6.4: FreeType 2.6.4 has been released. The most important change is a new bytecode hinting mode for TrueType fonts that finally activates subpixel hinting (a.k.a. ClearType hinting) by default. The new release also brings support for the following new scripts in the auto-hinter: Armenian, Cherokee, Ethiopic, Georgian, Gujarati, Gurmukhi, Malayalam, Sinhala, and Tamil. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.45 2014/12/09 10:50:04 adam Exp $ d30 1 a30 1 . include "../../graphics/png/buildlink3.mk" @ 1.45 log @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. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.44 2014/03/19 10:16:33 jperkin Exp $ d10 2 a11 2 BUILDLINK_PKGSRCDIR.freetype2?= ../../graphics/freetype2 BUILDLINK_INCDIRS.freetype2?= include/freetype2 @ 1.44 log @Move bzip2 and zlib buildlink3 out of the png PKG_OPTION check, they are unconditional dependencies. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.43 2014/03/14 19:39:52 drochner Exp $ d29 3 a31 3 .if empty(USE_BUILTIN.freetype2:M[yY][eE][sS]) .include "../../graphics/png/buildlink3.mk" .endif @ 1.43 log @make the optional-png logics work @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.42 2014/03/14 14:54:02 ryoon Exp $ d18 3 a28 2 .include "../../archivers/bzip2/buildlink3.mk" .include "../../devel/zlib/buildlink3.mk" d33 1 @ 1.42 log @Make png dependency as option, and move option to options.mk Revert bump of BUILDLINK_ABI_DEPENDS.freetype2 @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.41 2014/03/14 13:43:17 obache Exp $ d18 3 @ 1.41 log @To get USE_BUILTIN.freetype2, builtin.mk must be included. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.40 2014/03/14 13:38:20 ryoon Exp $ d9 1 a9 1 BUILDLINK_ABI_DEPENDS.freetype2+= freetype2>=2.4.12 d18 1 d28 1 @ 1.40 log @graphics/png should be included when non-builtin freetype2. Pointed out by obache@@, thank you. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.39 2014/03/14 13:12:34 ryoon Exp $ d18 4 @ 1.39 log @graphics/png is also needed now @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.38 2014/03/13 23:26:35 spz Exp $ d20 1 d22 1 @ 1.38 log @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. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.37 2014/01/12 21:19:33 schmonz Exp $ d20 1 @ 1.37 log @Let naive configure scripts find freetype-config (needed for latest php55-gd). @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.36 2013/06/04 18:02:58 tron Exp $ d9 1 a9 1 BUILDLINK_ABI_DEPENDS.freetype2+= freetype2>=2.4.11 @ 1.36 log @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. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.35 2013/06/03 15:23:44 tron Exp $ d13 2 @ 1.36.6.1 log @Pullup ticket #4345 - requested by taca graphics/freetype2: build fix for depending packages Revisions pulled up: - graphics/freetype2/buildlink3.mk 1.37 --- Module Name: pkgsrc Committed By: schmonz Date: Sun Jan 12 21:19:33 UTC 2014 Modified Files: pkgsrc/graphics/freetype2: buildlink3.mk Log Message: Let naive configure scripts find freetype-config (needed for latest php55-gd). @ text @d1 1 a1 1 # $NetBSD$ a12 2 BUILDLINK_FILES.freetype2+= bin/freetype-config @ 1.36.6.2 log @Pullup ticket #4347 - requested by spz graphics/freetype2: security update Revisions pulled up: - graphics/freetype2/Makefile 1.92-1.94 - graphics/freetype2/PLIST 1.21 - graphics/freetype2/buildlink3.mk 1.38-1.43 - graphics/freetype2/distinfo 1.51 - graphics/freetype2/options.mk 1.1-1.2 --- Module Name: pkgsrc Committed By: spz Date: Thu Mar 13 23:26:35 UTC 2014 Modified Files: pkgsrc/graphics/freetype2: Makefile PLIST buildlink3.mk distinfo Log Message: 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. --- Module Name: pkgsrc Committed By: ryoon Date: Fri Mar 14 13:12:34 UTC 2014 Modified Files: pkgsrc/graphics/freetype2: buildlink3.mk Log Message: graphics/png is also needed now --- Module Name: pkgsrc Committed By: ryoon Date: Fri Mar 14 13:38:20 UTC 2014 Modified Files: pkgsrc/graphics/freetype2: buildlink3.mk Log Message: graphics/png should be included when non-builtin freetype2. Pointed out by obache@@, thank you. --- Module Name: pkgsrc Committed By: obache Date: Fri Mar 14 13:43:17 UTC 2014 Modified Files: pkgsrc/graphics/freetype2: buildlink3.mk Log Message: To get USE_BUILTIN.freetype2, builtin.mk must be included. --- Module Name: pkgsrc Committed By: ryoon Date: Fri Mar 14 14:54:02 UTC 2014 Modified Files: pkgsrc/graphics/freetype2: Makefile buildlink3.mk Added Files: pkgsrc/graphics/freetype2: options.mk Log Message: Make png dependency as option, and move option to options.mk Revert bump of BUILDLINK_ABI_DEPENDS.freetype2 --- Module Name: pkgsrc Committed By: drochner Date: Fri Mar 14 19:39:52 UTC 2014 Modified Files: pkgsrc/graphics/freetype2: Makefile buildlink3.mk options.mk Log Message: make the optional-png logics work @ text @a17 8 pkgbase := freetype2 .include "../../mk/pkg-build-options.mk" .if !empty(PKG_BUILD_OPTIONS.freetype2:Mpng) CHECK_BUILTIN.freetype2:= yes .include "../../graphics/freetype2/builtin.mk" CHECK_BUILTIN.freetype2:= no a19 4 .if empty(USE_BUILTIN.freetype2:M[yY][eE][sS]) .include "../../graphics/png/buildlink3.mk" .endif .endif @ 1.36.6.3 log @Pullup ticket #4350 - requested by tron graphics/freetype2: build fix Revisions pulled up: - graphics/freetype2/buildlink3.mk 1.44 ------------------------------------------------------------------- Module Name: pkgsrc Committed By: jperkin Date: Wed Mar 19 10:16:33 UTC 2014 Modified Files: pkgsrc/graphics/freetype2: buildlink3.mk Log Message: Move bzip2 and zlib buildlink3 out of the png PKG_OPTION check, they are unconditional dependencies. To generate a diff of this commit: cvs rdiff -u -r1.43 -r1.44 pkgsrc/graphics/freetype2/buildlink3.mk @ text @a17 3 .include "../../archivers/bzip2/buildlink3.mk" .include "../../devel/zlib/buildlink3.mk" d26 2 a31 1 @ 1.35 log @Bump the required API version as well to enforce the new version at build time. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.34 2013/06/03 10:05:11 wiz Exp $ d8 1 a8 1 BUILDLINK_API_DEPENDS.freetype2+= freetype2>=2.4.11 @ 1.34 log @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 @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.33 2011/11/01 06:01:32 sbd Exp $ d8 1 a8 1 BUILDLINK_API_DEPENDS.freetype2+= freetype2>=2.1.8 @ 1.33 log @Recursive bump for graphics/freetype2 buildlink addition. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.32 2011/11/01 05:57:41 sbd Exp $ d9 1 a9 1 BUILDLINK_ABI_DEPENDS.freetype2+= freetype2>=2.4.7nb2 @ 1.32 log @Add missing archivers/bzip2 buildlink Bump PKGREVISION @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.31 2009/07/21 12:00:41 tnn Exp $ d9 1 a9 1 BUILDLINK_ABI_DEPENDS.freetype2+= freetype2>=2.4.7nb1 @ 1.31 log @freetype2's .pc file requests linkage with -lz, so pull in zlib's bl3.mk @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.30 2009/03/20 19:24:38 joerg Exp $ d9 1 a9 1 BUILDLINK_ABI_DEPENDS.freetype2+= freetype2>=2.1.10nb1 d16 1 @ 1.30 log @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. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.29 2006/07/08 23:10:51 jlam Exp $ d15 2 @ 1.29 log @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 @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.28 2006/07/08 22:39:18 jlam Exp $ d3 1 a3 2 BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ FREETYPE2_BUILDLINK3_MK:= ${FREETYPE2_BUILDLINK3_MK}+ d5 2 a6 3 .if !empty(BUILDLINK_DEPTH:M+) BUILDLINK_DEPENDS+= freetype2 .endif a7 5 BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nfreetype2} BUILDLINK_PACKAGES+= freetype2 BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}freetype2 .if !empty(FREETYPE2_BUILDLINK3_MK:M+) d15 1 d17 1 a17 3 .endif # FREETYPE2_BUILDLINK3_MK BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} @ 1.28 log @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. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.27 2006/04/12 10:27:17 rillig Exp $ d12 1 a12 1 BUILDLINK_ORDER+= freetype2 @ 1.27 log @Aligned the last line of the buildlink3.mk files with the first line, so that they look nicer. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.26 2006/04/06 06:22:02 reed Exp $ d12 1 @ 1.26 log @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). @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.25 2006/02/05 23:09:30 joerg Exp $ d24 1 a24 1 BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} @ 1.25 log @Recursive revision bump / recommended bump for gettext ABI change. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.24 2005/12/05 20:50:20 rillig Exp $ d14 2 a15 2 BUILDLINK_DEPENDS.freetype2+= freetype2>=2.1.8 BUILDLINK_RECOMMENDED.freetype2+= freetype2>=2.1.10nb1 @ 1.24 log @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 @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.23 2004/10/03 00:14:50 tv Exp $ d15 1 a15 1 BUILDLINK_RECOMMENDED.freetype2+= freetype2>=2.1.9nb1 @ 1.23 log @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. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.22 2004/05/18 10:21:16 wiz Exp $ d20 1 a20 1 CONFIGURE_ENV+= FREETYPE_CONFIG="${FREETYPE_CONFIG}" @ 1.22 log @Depend on freetype2>=2.1.8, since dependent packages have been adapted to the new version. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.21 2004/03/10 17:57:14 jlam Exp $ d15 1 @ 1.21 log @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. that is used by bsd.buildlink3.mk to decide whether to use the built-in software or to use the pkgsrc software. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.20 2004/02/29 00:22:43 recht Exp $ d14 1 a14 1 BUILDLINK_DEPENDS.freetype2+= freetype2>=2.1.0 @ 1.20 log @Use tab instead of spaces for indentation to make pkglint happy. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.19 2004/02/18 16:35:27 jlam Exp $ d6 6 a11 1 .include "../../mk/bsd.prefs.mk" d14 1 a14 2 BUILDLINK_PACKAGES+= freetype2 BUILDLINK_DEPENDS.freetype2+= freetype2>=2.1.3 a16 92 .endif # FREETYPE2_BUILDLINK3_MK BUILDLINK_CHECK_BUILTIN.freetype2?= NO _FREETYPE2_FREETYPE_H= ${X11BASE}/include/freetype2/freetype/freetype.h _X11_TMPL= ${X11BASE}/lib/X11/config/X11.tmpl .if !defined(BUILDLINK_IS_BUILTIN.freetype2) BUILDLINK_IS_BUILTIN.freetype2= NO . if exists(${_FREETYPE2_FREETYPE_H}) && exists(${_X11_TMPL}) _IS_BUILTIN.freetype2!= \ if ${GREP} -q BuildFreetype2Library ${_X11_TMPL}; then \ ${ECHO} "YES"; \ else \ ${ECHO} "NO"; \ fi BUILDLINK_IS_BUILTIN.freetype2= ${_IS_BUILTIN.freetype2} . if !empty(BUILDLINK_CHECK_BUILTIN.freetype2:M[nN][oO]) && \ !empty(_IS_BUILTIN.freetype2:M[yY][eE][sS]) # # Create an appropriate package name for the built-in freetype2 distributed # with the system. This package name can be used to check against # BUILDLINK_DEPENDS. to see if we need to install the pkgsrc version # or if the built-in one is sufficient. # _FREETYPE2_MAJOR!= \ ${AWK} '/\#define[ ]*FREETYPE_MAJOR/ { print $$3 }' ${_FREETYPE2_FREETYPE_H} _FREETYPE2_MINOR!= \ ${AWK} '/\#define[ ]*FREETYPE_MINOR/ { print "."$$3 }' ${_FREETYPE2_FREETYPE_H} _FREETYPE2_PATCH!= \ ${AWK} 'BEGIN { patch=0; } /\#define[ ]*FREETYPE_PATCH/ { patch=$$3; } END { print "."patch; }' ${_FREETYPE2_FREETYPE_H} _FREETYPE2_VERSION= ${_FREETYPE2_MAJOR}${_FREETYPE2_MINOR}${_FREETYPE2_PATCH} _FREETYPE2_PKG= freetype2-${_FREETYPE2_VERSION} BUILDLINK_IS_BUILTIN.freetype2?= YES . for _depend_ in ${BUILDLINK_DEPENDS.freetype2} . if !empty(BUILDLINK_IS_BUILTIN.freetype2:M[yY][eE][sS]) BUILDLINK_IS_BUILTIN.freetype2!= \ if ${PKG_ADMIN} pmatch '${_depend_}' ${_FREETYPE2_PKG}; then \ ${ECHO} "YES"; \ else \ ${ECHO} "NO"; \ fi . endif . endfor . endif . endif MAKEFLAGS+= BUILDLINK_IS_BUILTIN.freetype2=${BUILDLINK_IS_BUILTIN.freetype2} .endif .if !empty(BUILDLINK_CHECK_BUILTIN.freetype2:M[yY][eE][sS]) BUILDLINK_USE_BUILTIN.freetype2= YES .endif .if !defined(BUILDLINK_USE_BUILTIN.freetype2) . if !empty(BUILDLINK_IS_BUILTIN.freetype2:M[yY][eE][sS]I) BUILDLINK_USE_BUILTIN.freetype2= YES . else BUILDLINK_USE_BUILTIN.freetype2= NO . endif . if !empty(PREFER_NATIVE:M[yY][eE][sS]) && \ !empty(BUILDLINK_IS_BUILTIN.freetype2:M[yY][eE][sS]) BUILDLINK_USE_BUILTIN.freetype2= YES . endif . if !empty(PREFER_PKGSRC:M[yY][eE][sS]) BUILDLINK_USE_BUILTIN.freetype2= NO . endif . if !empty(PREFER_NATIVE:Mfreetype2) && \ !empty(BUILDLINK_IS_BUILTIN.freetype2:M[yY][eE][sS]) BUILDLINK_USE_BUILTIN.freetype2= YES . endif . if !empty(PREFER_PKGSRC:Mfreetype2) BUILDLINK_USE_BUILTIN.freetype2= NO . endif .endif .if !empty(BUILDLINK_USE_BUILTIN.freetype2:M[nN][oO]) # # If we depend on the package, depend on the latest version with a library # major number bump. # BUILDLINK_DEPENDS.freetype2+= freetype2>=2.1.3 . if !empty(BUILDLINK_DEPTH:M+) BUILDLINK_DEPENDS+= freetype2 . endif .endif .if !empty(FREETYPE2_BUILDLINK3_MK:M+) . if !empty(BUILDLINK_USE_BUILTIN.freetype2:M[yY][eE][sS]) BUILDLINK_PREFIX.freetype2= ${X11BASE} USE_X11= yes . endif d20 1 @ 1.19 log @Reorder some lines so that BUILDLINK_USE_BUILTIN. set in the environment overrides all other settings. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.18 2004/02/12 02:35:06 jlam Exp $ d31 1 a31 1 !empty(_IS_BUILTIN.freetype2:M[yY][eE][sS]) @ 1.18 log @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. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.17 2004/02/12 01:59:38 jlam Exp $ d62 1 a62 1 .if !empty(BUILDLINK_IS_BUILTIN.freetype2:M[yY][eE][sS]I) a63 2 .else BUILDLINK_USE_BUILTIN.freetype2= NO d66 2 a67 2 .if !empty(PREFER_NATIVE:M[yY][eE][sS]) && \ !empty(BUILDLINK_IS_BUILTIN.freetype2:M[yY][eE][sS]) d69 1 a69 2 .endif .if !empty(PREFER_PKGSRC:M[yY][eE][sS]) d71 4 a74 3 .endif .if !empty(PREFER_NATIVE:Mfreetype2) && \ !empty(BUILDLINK_IS_BUILTIN.freetype2:M[yY][eE][sS]) d76 2 a77 2 .endif .if !empty(PREFER_PKGSRC:Mfreetype2) d79 3 a81 3 .endif .if !empty(BUILDLINK_CHECK_BUILTIN.freetype2:M[yY][eE][sS]) d83 4 @ 1.17 log @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. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.16 2004/02/09 20:20:43 reed Exp $ d68 12 a79 2 .if !empty(PREFER_PKGSRC:M[yY][eE][sS]) || \ !empty(PREFER_PKGSRC:Mfreetype2) @ 1.16 log @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. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.15 2004/02/06 19:04:25 jlam Exp $ d23 1 a23 1 BUILDLINK_IS_BUILTIN.freetype2!= \ d29 3 a31 18 . endif MAKEFLAGS+= \ BUILDLINK_IS_BUILTIN.freetype2=${BUILDLINK_IS_BUILTIN.freetype2} .endif .if !empty(PREFER_PKGSRC:M[yY][eE][sS]) || \ !empty(PREFER_PKGSRC:Mfreetype2) BUILDLINK_USE_BUILTIN.freetype2= NO .endif .if !empty(BUILDLINK_CHECK_BUILTIN.freetype2:M[yY][eE][sS]) BUILDLINK_USE_BUILTIN.freetype2= YES .endif .if !defined(BUILDLINK_USE_BUILTIN.freetype2) . if !empty(BUILDLINK_IS_BUILTIN.freetype2:M[nN][oO]) BUILDLINK_USE_BUILTIN.freetype2= NO . else d46 4 a49 4 BUILDLINK_USE_BUILTIN.freetype2?= YES . for _depend_ in ${BUILDLINK_DEPENDS.freetype2} . if !empty(BUILDLINK_USE_BUILTIN.freetype2:M[yY][eE][sS]) BUILDLINK_USE_BUILTIN.freetype2!= \ d55 3 a57 2 . endif . endfor d59 16 a74 2 MAKEFLAGS+= \ BUILDLINK_USE_BUILTIN.freetype2=${BUILDLINK_USE_BUILTIN.freetype2} @ 1.15 log @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. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.14 2004/02/05 07:17:14 jlam Exp $ d10 1 a10 1 BUILDLINK_DEPENDS.freetype2+= freetype2>=2.0.1 @ 1.14 log @Make PREFER_PKGSRC just yes/no or a list of packages. This makes it simpler to understand. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.13 2004/02/05 07:06:15 jlam Exp $ d31 1 a31 1 BUILDLINK_IS_BUILTIN.freetype2="${BUILDLINK_IS_BUILTIN.freetype2}" d74 1 a74 1 BUILDLINK_USE_BUILTIN.freetype2="${BUILDLINK_USE_BUILTIN.freetype2}" @ 1.13 log @Rename BUILDLINK_PREFER_PKGSRC to PREFER_PKGSRC so that we can use its value outside of buildlink-related files. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.12 2004/02/05 06:58:03 jlam Exp $ d34 2 a35 3 .if defined(PREFER_PKGSRC) . if empty(PREFER_PKGSRC) || !empty(PREFER_PKGSRC:M[yY][eE][sS]) || \ !empty(PREFER_PKGSRC:Mfreetype2) a36 1 . endif @ 1.12 log @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. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.11 2004/01/24 03:12:32 jlam Exp $ d34 3 a36 4 .if defined(BUILDLINK_PREFER_PKGSRC) . if empty(BUILDLINK_PREFER_PKGSRC) || \ !empty(BUILDLINK_PREFER_PKGSRC:M[yY][eE][sS]) || \ !empty(BUILDLINK_PREFER_PKGSRC:Mfreetype2) @ 1.11 log @Support BUILDLINK_DEPENDS. being a list of values. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.10 2004/01/24 01:46:16 jlam Exp $ d34 8 @ 1.10 log @Make sure that is found. Also if we use the XFree86-supplied freetype2, then set USE_X11. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.9 2004/01/05 11:05:45 jlam Exp $ d10 1 a10 1 BUILDLINK_DEPENDS.freetype2?= freetype2>=2.0.1 d56 3 a58 1 _FREETYPE2_DEPENDS= ${BUILDLINK_DEPENDS.freetype2} d60 1 a60 1 if ${PKG_ADMIN} pmatch '${_FREETYPE2_DEPENDS}' ${_FREETYPE2_PKG}; then \ d65 2 d77 1 a77 1 BUILDLINK_DEPENDS.freetype2= freetype2>=2.1.3 d93 1 a93 1 BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} @ 1.9 log @Use S/+$// instead of C/\+$// to save a backslash. Very highly recommended by seb :) @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.8 2004/01/05 09:31:31 jlam Exp $ d12 1 d82 1 @ 1.8 log @Sow BUILDLINK_USE_BUILTIN. and reap _NEED_ variables. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.7 2004/01/04 23:34:06 jlam Exp $ d87 1 a87 1 BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:C/\+$//} @ 1.7 log @Re-arrange to match example buildlink3.mk file in bsd.buildlink3.mk. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.6 2003/09/30 10:18:57 jlam Exp $ d6 2 d9 1 a9 2 . include "../../mk/bsd.prefs.mk" d24 1 a24 1 ${ECHO} YES; \ d26 1 a26 1 ${ECHO} NO; \ d29 2 a30 1 MAKEFLAGS+= BUILDLINK_IS_BUILTIN.freetype2=${BUILDLINK_IS_BUILTIN.freetype2} d34 1 a34 1 _NEED_FREETYPE2= NO d37 1 a37 1 .if !defined(_NEED_FREETYPE2) d39 1 a39 1 _NEED_FREETYPE2= YES d56 1 a56 1 _NEED_FREETYPE2!= \ d58 2 a60 2 else \ ${ECHO} "YES"; \ d63 2 a64 1 MAKEFLAGS+= _NEED_FREETYPE2="${_NEED_FREETYPE2}" d67 1 a67 1 .if ${_NEED_FREETYPE2} == "YES" d79 1 a79 3 . if ${_NEED_FREETYPE2} == "YES" BUILDLINK_PACKAGES+= freetype2 . else @ 1.6 log @Match the buildlink3.mk guidelines set out in revision 1.22 of bsd.buildlink3.mk. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.5 2003/09/30 00:42:32 jlam Exp $ d6 1 a6 1 .if !empty(FREETYPE2_BUILDLINK3_MK:M\+) d70 1 a70 1 . if !empty(BUILDLINK_DEPTH:M\+) d75 1 a75 1 .if !empty(FREETYPE2_BUILDLINK3_MK:M\+) d81 3 @ 1.5 log @Conform to latest buildlink3.mk guidelines using *_BUILDLINK3_MK guards to protect more parts of buildlink3.mk files against multiple inclusion. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.4 2003/09/14 01:47:51 jlam Exp $ d3 2 a4 4 BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ .if !defined(FREETYPE2_BUILDLINK3_MK) FREETYPE2_BUILDLINK3_MK= YES d6 1 d75 1 a75 1 .if !defined(FREETYPE2_BUILDLINK3_MK) d83 1 a83 1 BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:C/\+$//} @ 1.4 log @Provide definitions for BUILDLINK_PREFIX. when the dependency may be satisfied by a base system (X11R6) component. @ text @d1 3 a3 1 # $NetBSD: buildlink3.mk,v 1.3 2003/09/13 23:21:20 jlam Exp $ d6 1 a6 2 FREETYPE2_BUILDLINK3_MK= # defined BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ d8 1 a8 1 .include "../../mk/bsd.prefs.mk" d12 1 d34 3 a36 1 .else d62 1 d74 4 d79 1 a79 1 .else d81 2 a82 1 .endif a84 1 .endif # FREETYPE2_BUILDLINK3_MK @ 1.3 log @Need to use :C instead of :S to get the "pop" action to work properly. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.2 2003/09/05 11:39:03 jlam Exp $ d70 2 @ 1.2 log @Move BUILDLINK_CHECK_BUILTIN. documentation into bsd.buildlink3.mk. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.1 2003/09/02 07:12:17 jlam Exp $ d72 1 a72 1 BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/\+$//} @ 1.1 log @Add some buildlink3.mk files needed by x11-links>=0.13. @ text @d1 1 a1 1 # $NetBSD$ a11 5 # If BUILDLINK_CHECK_BUILTIN. is "YES", then _only_ run the check # to see whether this is builtin to the system. The result can be found # by checking the value of BUILDLINK_IS_BUILTIN. (either "YES" or # "NO"). # @