pkgsrc/print/xetex/Makefile

79 lines
2.5 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.74 2018/04/28 20:19:12 wiz Exp $
DISTNAME= texlive-20170524-source
PKGNAME= xetex-0.99997
PKGREVISION= 11
CATEGORIES= print
MASTER_SITES= ftp://tug.org/historic/systems/texlive/2017/
EXTRACT_SUFX= .tar.xz
MAINTAINER= minskim@NetBSD.org
HOMEPAGE= http://www.tug.org/xetex/
COMMENT= TeX system with Unicode and modern font technologies
CONFLICTS+= web2c<=7.5.7
DEPENDS+= dvipdfmx>=20140525:../../print/dvipdfmx
EXTRACT_ELEMENTS= ${DISTNAME}/build-aux \
Update xetex to 0.9999.3 Changes: * Fix bug with extensible accents resulting in invalid glyph id some times. * Fix alternate index in multiple alternates features to be start from zero like pre-0.9999 XeTeX. * Document multiple alternates syntax in the reference documentation. * Fix regression in \XeTeXOT* primitives with fonts where the number of languages in a given script is not the same in both GSUB and GPOS tables. * Add a workaround for a bug in clang headers to allow building with it on Mac. * Fix regression in loading PNG files on Mac. * Fix multiple regression with vertical text layout. * Update to HarfBuzz 0.9.15 fixing a couple of regressions with Arabic non spacing marks and Hangul jamo. * Various build fixes for third party libraries. * XeTeX reference is now included in the release tarball. * Fix loading font files on PPC Mac OS 10.5 (and potentially other versions of Mac). * Fix handling of ‘script’ and ‘language’ font options to be treated again as OpenType not ISO tags, so that passing version 2 Indic script tags works (though this is generally not needed as HarfBuzz will always use version 2 shaping if the font has it, regardless of the tag used). * Fix loading JPEG images that do not specify a resolution. * When printing multi-byte characters to log or terminal avoid inserting new lines in the middle of the characters, and count the characters not the bytes when calculating line length. * Update to HarfBuzz 0.9.14, a couple of Indic and Hangul shaping bugs. * Port OpenType layout from ICU LayoutEngine to HarfBuzz. * Port Graphite layout to from SilGraphite to HarfBuzz and Graphite2. * Port AAT font layout and font searching on Mac from the deprecated ATS/ATSUI to Core Text, and image support on Mac from QuickTime to ImageIO framework. XeTeX can be finally built on 64-bit Mac! Work contributed by Jiang Jiang.
2013-12-03 23:25:34 +01:00
${DISTNAME}/libs/graphite2 \
${DISTNAME}/libs/harfbuzz \
${DISTNAME}/libs/xpdf \
${DISTNAME}/texk/web2c
GNU_CONFIGURE= yes
2018-01-29 12:44:27 +01:00
USE_LANGUAGES= c99 c++11
USE_LIBTOOL= yes
USE_TOOLS+= gmake lex perl pkg-config yacc
CONFIGURE_ARGS+= --disable-aleph --disable-etex --disable-pdftex \
--disable-luatex --disable-mf --disable-mf-nowin \
--with-x=no \
--disable-luajittex \
Updated to TexLive 2016: Updated print/cjkutils to 4.8.4nb1 Updated print/dviljk to 2.6.5nb7 Updated print/dvipdfmx to 20160307 Updated print/dvipsk to 5.996 Updated print/kpathsea to 6.2.2 Updated print/lacheck to 1.28nb1 Updated print/luatex to 0.95 Updated print/ptexenc to 1.3.4 Updated print/seetexk to 1.1nb2 Updated print/tex4ht to 0.0.20160522 Updated print/vlna to 1.5nb2 Updated print/web2c to 2016 Updated print/xdvik to 22.87.03 Updated print/xetex to 0.99996 Updated print/xpdfopen to 0.86nb1 Updated print/tex-IEEEtran{,-doc} to 1.8b Updated print/tex-abc{,-doc} to 2.0b Updated print/tex-aleph to 0.2.40768 Updated print/tex-algorithm2e{,-doc} to 5.1 Updated print/tex-algorithms{,-doc} to 0.1 Updated print/tex-amsmath{,-doc} to 2.15b Updated print/tex-babel{,-doc} to 3.9r Updated print/tex-babel-bosnian to 1.1 Updated print/tex-babel-estonian to 1.1a Updated print/tex-babel-french to 3.2c Updated print/tex-babel-friulan to 1.3 Updated print/tex-babel-greek to 1.9f Updated print/tex-babel-hungarian to 1.5c Updated print/tex-babel-icelandic to 1.2b Updated print/tex-babel-latin to 3.5 Updated print/tex-babel-russian to 1.3h Updated print/tex-babel-spanish to 5.0p Updated print/tex-babel-vietnamese to 1.4 Updated print/tex-babel-welsh to 1.1a Updated print/tex-biblatex{,-doc} to 3.4 Updated print/tex-booktabs{,-doc} to 1.618033 Updated print/tex-breqn to 0.98d Updated print/tex-caption{,-doc} to 20160202 Updated print/tex-chess-problem-diagrams{,-doc} to 1.12 Updated print/tex-cjk-gs-integrate{,-doc} to 20160115.0 Updated print/tex-cjk-ko{,-doc} to 1.8 Updated print/tex-cjkpunct{,-doc} to 4.8.4 Updated print/tex-context{,-doc} to 2016 Updated print/tex-csplain to 2016 Updated print/tex-csquotes{,-doc} to 5.1g Updated print/tex-ctable to 1.31 Updated print/tex-cweb{,-doc} to 3.64af Updated print/tex-datatool{,-doc} to 2.25 Updated print/tex-dvipdfmx{,-doc} to 2016 Updated print/tex-dvipdfmx-def to 4.08 Updated print/tex-dvips{,-doc} to 2016 Updated print/tex-eplain{,-doc} to 3.8 Updated print/tex-etex-pkg{,-doc} to 2.6 Updated print/tex-europasscv{,-doc} to 2016 Updated print/tex-fix2col{,-doc} to 0.04 Updated print/tex-font-change{,-doc} to 2015.2 Updated print/tex-glossaries{,-doc} to 4.23 Updated print/tex-graphics{,-doc} to 1.0r Updated print/tex-hausarbeit-jura{,-doc} to 1.4 Updated print/tex-hyperref{,-doc} to 6.83n Updated print/tex-hyph-utf8{,-doc} to 2016 Updated print/tex-hyphen-afrikaans to 2016 Updated print/tex-hyphen-ancientgreek to 2016 Updated print/tex-hyphen-arabic to 2016 Updated print/tex-hyphen-armenian to 2016 Updated print/tex-hyphen-base to 2016 Updated print/tex-hyphen-basque to 2016 Updated print/tex-hyphen-bulgarian to 2016 Updated print/tex-hyphen-catalan to 2016 Updated print/tex-hyphen-chinese to 2016 Updated print/tex-hyphen-coptic to 2016 Updated print/tex-hyphen-croatian to 2016 Updated print/tex-hyphen-czech to 2016 Updated print/tex-hyphen-danish to 2016 Updated print/tex-hyphen-dutch to 2016 Updated print/tex-hyphen-english to 2016 Updated print/tex-hyphen-esperanto to 2016 Updated print/tex-hyphen-estonian to 2016 Updated print/tex-hyphen-ethiopic to 2016 Updated print/tex-hyphen-farsi to 2016 Updated print/tex-hyphen-finnish to 2016 Updated print/tex-hyphen-french to 2016 Updated print/tex-hyphen-friulan to 2016 Updated print/tex-hyphen-galician to 2016 Updated print/tex-hyphen-georgian to 2016 Updated print/tex-hyphen-german to 2016 Updated print/tex-hyphen-greek to 2016 Updated print/tex-hyphen-hungarian to 2016 Updated print/tex-hyphen-icelandic to 2016 Updated print/tex-hyphen-indic to 2016 Updated print/tex-hyphen-indonesian to 2016 Updated print/tex-hyphen-interlingua to 2016 Updated print/tex-hyphen-irish to 2016 Updated print/tex-hyphen-italian to 2016 Updated print/tex-hyphen-kurmanji to 2016 Updated print/tex-hyphen-latin to 3.1.2016 Updated print/tex-hyphen-latvian to 2016 Updated print/tex-hyphen-lithuanian to 2016 Updated print/tex-hyphen-mongolian to 2016 Updated print/tex-hyphen-norwegian to 2016 Updated print/tex-hyphen-piedmontese to 2016 Updated print/tex-hyphen-polish to 3.0a.2016 Updated print/tex-hyphen-portuguese to 2016 Updated print/tex-hyphen-romanian to 2016 Updated print/tex-hyphen-romansh to 2016 Updated print/tex-hyphen-russian to 2016 Updated print/tex-hyphen-sanskrit to 2016 Updated print/tex-hyphen-serbian to 1.0a.2016 Updated print/tex-hyphen-slovak to 2016 Updated print/tex-hyphen-slovenian to 2016 Updated print/tex-hyphen-spanish to 4.5.2016 Updated print/tex-hyphen-swedish to 2016 Updated print/tex-hyphen-thai to 2016 Updated print/tex-hyphen-turkish to 2016 Updated print/tex-hyphen-turkmen to 2016 Updated print/tex-hyphen-ukrainian to 2016 Updated print/tex-hyphen-uppersorbian to 2016 Updated print/tex-hyphen-welsh to 2016 Updated print/tex-ifluatex{,-doc} to 1.4 Updated print/tex-koma-script to 3.20 Updated print/tex-kotex-oblivoir{,-doc} to 2.1.7 Updated print/tex-kotex-plain{,-doc} to 2.1.1.a Updated print/tex-kotex-utf{,-doc} to 2.1.2 Updated print/tex-kotex-utils{,-doc} to 2.1.0 Updated print/tex-kpathsea{,-doc} to 2016 Updated print/tex-latex{,-doc} to 2016 Updated print/tex-latex-bin to 2016 Updated print/tex-latexconfig to 2016 Updated print/tex-leaflet{,-doc} to 1.1a Updated print/tex-lettrine{,-doc} to 1.9 Updated print/tex-lollipop{,-doc} to 1.06 Updated print/tex-luatex to 0.95 Updated print/tex-mathtools to 1.18 Updated print/tex-media9{,-doc} to 0.68 Updated print/tex-memoir{,-doc} to 3.7f Updated print/tex-mhchem{,-doc} to 4.04 Updated print/tex-microtype{,-doc} to 2.6a Updated print/tex-minted{,-doc} to 2.1 Updated print/tex-musixtex{,-doc} to 1.22 Updated print/tex-oberdiek{,-doc} to 2016 Updated print/tex-pageslts to 1.2f Updated print/tex-paralist{,-doc} to 2.5 Updated print/tex-pdfcomment{,-doc} to 2.3b Updated print/tex-pdfpages{,-doc} to 0.5f Updated print/tex-pdftex{,-doc} to 2016 Updated print/tex-pgf{,-doc} to 3.0.1a Updated print/tex-pgfplots{,-doc} to 1.13 Updated print/tex-pict2e{,-doc} to 0.3b Updated print/tex-plain to 3.141592653.40274 Updated print/tex-polyglossia{,-doc} to 1.42.4 Updated print/tex-powerdot to 1.5a Updated print/tex-preview{,-doc} to 11.89 Updated print/tex-ptex to 3.2pl41220 Updated print/tex-realscripts{,-doc} to 0.3d Updated print/tex-schwalbe-chess{,-doc} to 2.1 Updated print/tex-showlabels{,-doc} to 1.7 Updated print/tex-siunitx{,-doc} to 2.6q Updated print/tex-sttools{,-doc} to 1.8 Updated print/tex-tetex{,-doc} to 3.0.41059 Updated print/tex-tex4ht{,-doc} to 2016 Updated print/tex-texinfo to 5.1.40618 Updated print/tex-texlive-scripts to 2016 Updated print/tex-texlive.infra to 2016 Updated print/tex-titlesec{,-doc} to 2.10.2 Updated print/tex-tools{,-doc} to 2016 Updated print/tex-toptesi{,-doc} to 5.91 Updated print/tex-udesoftec{,-doc} to 1.5.2 Updated print/tex-xcjk2uni{,-doc} to 0.6 Updated print/tex-xcolor{,-doc} to 2.12 Updated print/tex-xetex{,-doc} to 2016 Updated print/tex-xetex-def to 4.08 Updated print/tex-xetexconfig to 2016 Updated print/tex-xltxtra{,-doc} to 0.6 Added print/tex-pbibtex-base{,-doc} version 0.0.2016 Added print/tex-ptex-base{,-doc} version 0.0.2016 Added print/tex-tex-ini-files{,-doc} version 2016 Added print/tex-unicode-data{,-doc} version 1.4a Added print/tex-updmap-map version 2016
2016-06-16 06:05:58 +02:00
--disable-mflua --disable-mfluajit \
--disable-mp --disable-pmp --disable-upmp \
--disable-ptex --disable-eptex --disable-uptex --disable-euptex \
--disable-web-progs \
--enable-web2c --enable-xetex
CONFIGURE_ARGS+= --with-system-poppler
CONFIGURE_ARGS+= \
--with-fontconfig-includes=${BUILDLINK_PREFIX.fontconfig}/include \
--with-fontconfig-libdir=${BUILDLINK_PREFIX.fontconfig}/lib
CONFIGURE_ARGS+= --with-system-kpathsea
CONFIGURE_ARGS+= --with-system-zlib \
--with-zlib-includes=${BUILDLINK_PREFIX.zlib}/include \
--with-zlib-libdir=${BUILDLINK_PREFIX.zlib}/lib
Update xetex to 0.9999.3 Changes: * Fix bug with extensible accents resulting in invalid glyph id some times. * Fix alternate index in multiple alternates features to be start from zero like pre-0.9999 XeTeX. * Document multiple alternates syntax in the reference documentation. * Fix regression in \XeTeXOT* primitives with fonts where the number of languages in a given script is not the same in both GSUB and GPOS tables. * Add a workaround for a bug in clang headers to allow building with it on Mac. * Fix regression in loading PNG files on Mac. * Fix multiple regression with vertical text layout. * Update to HarfBuzz 0.9.15 fixing a couple of regressions with Arabic non spacing marks and Hangul jamo. * Various build fixes for third party libraries. * XeTeX reference is now included in the release tarball. * Fix loading font files on PPC Mac OS 10.5 (and potentially other versions of Mac). * Fix handling of ‘script’ and ‘language’ font options to be treated again as OpenType not ISO tags, so that passing version 2 Indic script tags works (though this is generally not needed as HarfBuzz will always use version 2 shaping if the font has it, regardless of the tag used). * Fix loading JPEG images that do not specify a resolution. * When printing multi-byte characters to log or terminal avoid inserting new lines in the middle of the characters, and count the characters not the bytes when calculating line length. * Update to HarfBuzz 0.9.14, a couple of Indic and Hangul shaping bugs. * Port OpenType layout from ICU LayoutEngine to HarfBuzz. * Port Graphite layout to from SilGraphite to HarfBuzz and Graphite2. * Port AAT font layout and font searching on Mac from the deprecated ATS/ATSUI to Core Text, and image support on Mac from QuickTime to ImageIO framework. XeTeX can be finally built on 64-bit Mac! Work contributed by Jiang Jiang.
2013-12-03 23:25:34 +01:00
CONFIGURE_ARGS+= --with-system-libpng
CONFIGURE_ARGS+= --with-system-freetype2
CONFIGURE_ARGS+= --with-system-teckit
Update xetex to 0.9999.3 Changes: * Fix bug with extensible accents resulting in invalid glyph id some times. * Fix alternate index in multiple alternates features to be start from zero like pre-0.9999 XeTeX. * Document multiple alternates syntax in the reference documentation. * Fix regression in \XeTeXOT* primitives with fonts where the number of languages in a given script is not the same in both GSUB and GPOS tables. * Add a workaround for a bug in clang headers to allow building with it on Mac. * Fix regression in loading PNG files on Mac. * Fix multiple regression with vertical text layout. * Update to HarfBuzz 0.9.15 fixing a couple of regressions with Arabic non spacing marks and Hangul jamo. * Various build fixes for third party libraries. * XeTeX reference is now included in the release tarball. * Fix loading font files on PPC Mac OS 10.5 (and potentially other versions of Mac). * Fix handling of ‘script’ and ‘language’ font options to be treated again as OpenType not ISO tags, so that passing version 2 Indic script tags works (though this is generally not needed as HarfBuzz will always use version 2 shaping if the font has it, regardless of the tag used). * Fix loading JPEG images that do not specify a resolution. * When printing multi-byte characters to log or terminal avoid inserting new lines in the middle of the characters, and count the characters not the bytes when calculating line length. * Update to HarfBuzz 0.9.14, a couple of Indic and Hangul shaping bugs. * Port OpenType layout from ICU LayoutEngine to HarfBuzz. * Port Graphite layout to from SilGraphite to HarfBuzz and Graphite2. * Port AAT font layout and font searching on Mac from the deprecated ATS/ATSUI to Core Text, and image support on Mac from QuickTime to ImageIO framework. XeTeX can be finally built on 64-bit Mac! Work contributed by Jiang Jiang.
2013-12-03 23:25:34 +01:00
CONFIGURE_ARGS+= --with-system-icu
Update xetex to 0.9999.3 Changes: * Fix bug with extensible accents resulting in invalid glyph id some times. * Fix alternate index in multiple alternates features to be start from zero like pre-0.9999 XeTeX. * Document multiple alternates syntax in the reference documentation. * Fix regression in \XeTeXOT* primitives with fonts where the number of languages in a given script is not the same in both GSUB and GPOS tables. * Add a workaround for a bug in clang headers to allow building with it on Mac. * Fix regression in loading PNG files on Mac. * Fix multiple regression with vertical text layout. * Update to HarfBuzz 0.9.15 fixing a couple of regressions with Arabic non spacing marks and Hangul jamo. * Various build fixes for third party libraries. * XeTeX reference is now included in the release tarball. * Fix loading font files on PPC Mac OS 10.5 (and potentially other versions of Mac). * Fix handling of ‘script’ and ‘language’ font options to be treated again as OpenType not ISO tags, so that passing version 2 Indic script tags works (though this is generally not needed as HarfBuzz will always use version 2 shaping if the font has it, regardless of the tag used). * Fix loading JPEG images that do not specify a resolution. * When printing multi-byte characters to log or terminal avoid inserting new lines in the middle of the characters, and count the characters not the bytes when calculating line length. * Update to HarfBuzz 0.9.14, a couple of Indic and Hangul shaping bugs. * Port OpenType layout from ICU LayoutEngine to HarfBuzz. * Port Graphite layout to from SilGraphite to HarfBuzz and Graphite2. * Port AAT font layout and font searching on Mac from the deprecated ATS/ATSUI to Core Text, and image support on Mac from QuickTime to ImageIO framework. XeTeX can be finally built on 64-bit Mac! Work contributed by Jiang Jiang.
2013-12-03 23:25:34 +01:00
CONFIGURE_DIRS= libs/graphite2
CONFIGURE_DIRS+= libs/harfbuzz
CONFIGURE_DIRS+= libs/xpdf
CONFIGURE_DIRS+= texk/web2c
SUBST_CLASSES+= paths
SUBST_MESSAGE.paths= Setting paths to commands.
SUBST_STAGE.paths= pre-configure
SUBST_FILES.paths= texk/web2c/xetexdir/XeTeX_ext.c
SUBST_SED.paths= -e 's,@XDVIPDFMX@,${LOCALBASE}/bin/xdvipdfmx,g'
INSTALLATION_DIRS+= bin
2018-01-29 12:44:27 +01:00
CFLAGS.SunOS+= -D_XOPEN_SOURCE_EXTENDED=0
.include "../../converters/TECkit/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../fonts/fontconfig/buildlink3.mk"
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
BUILDLINK_API_DEPENDS.kpathsea+= kpathsea>=6.2.1
.include "../../print/kpathsea/buildlink3.mk"
.include "../../print/poppler/buildlink3.mk"
.include "../../print/poppler-includes/buildlink3.mk"
Update xetex to 0.9999.3 Changes: * Fix bug with extensible accents resulting in invalid glyph id some times. * Fix alternate index in multiple alternates features to be start from zero like pre-0.9999 XeTeX. * Document multiple alternates syntax in the reference documentation. * Fix regression in \XeTeXOT* primitives with fonts where the number of languages in a given script is not the same in both GSUB and GPOS tables. * Add a workaround for a bug in clang headers to allow building with it on Mac. * Fix regression in loading PNG files on Mac. * Fix multiple regression with vertical text layout. * Update to HarfBuzz 0.9.15 fixing a couple of regressions with Arabic non spacing marks and Hangul jamo. * Various build fixes for third party libraries. * XeTeX reference is now included in the release tarball. * Fix loading font files on PPC Mac OS 10.5 (and potentially other versions of Mac). * Fix handling of ‘script’ and ‘language’ font options to be treated again as OpenType not ISO tags, so that passing version 2 Indic script tags works (though this is generally not needed as HarfBuzz will always use version 2 shaping if the font has it, regardless of the tag used). * Fix loading JPEG images that do not specify a resolution. * When printing multi-byte characters to log or terminal avoid inserting new lines in the middle of the characters, and count the characters not the bytes when calculating line length. * Update to HarfBuzz 0.9.14, a couple of Indic and Hangul shaping bugs. * Port OpenType layout from ICU LayoutEngine to HarfBuzz. * Port Graphite layout to from SilGraphite to HarfBuzz and Graphite2. * Port AAT font layout and font searching on Mac from the deprecated ATS/ATSUI to Core Text, and image support on Mac from QuickTime to ImageIO framework. XeTeX can be finally built on 64-bit Mac! Work contributed by Jiang Jiang.
2013-12-03 23:25:34 +01:00
.include "../../textproc/icu/buildlink3.mk"
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/texk/web2c/xetex ${DESTDIR}${PREFIX}/bin
.include "../../mk/bsd.pkg.mk"