[82979] trunk/dports/tex/texlive-bin
dports at macports.org
dports at macports.org
Mon Aug 22 20:24:47 PDT 2011
Revision: 82979
http://trac.macports.org/changeset/82979
Author: dports at macports.org
Date: 2011-08-22 20:24:45 -0700 (Mon, 22 Aug 2011)
Log Message:
-----------
texlive-bin:
* patch xdvipdfmx to properly handle dfonts containing multiple faces
(#30745)
* do not build dvipng; allows removing the gd dependency and its
license conflict
Modified Paths:
--------------
trunk/dports/tex/texlive-bin/Portfile
Added Paths:
-----------
trunk/dports/tex/texlive-bin/files/patch-texk_xdvipdfmx_src_cidtype2.c.diff
Modified: trunk/dports/tex/texlive-bin/Portfile
===================================================================
--- trunk/dports/tex/texlive-bin/Portfile 2011-08-23 01:50:26 UTC (rev 82978)
+++ trunk/dports/tex/texlive-bin/Portfile 2011-08-23 03:24:45 UTC (rev 82979)
@@ -6,6 +6,7 @@
name texlive-bin
version 2011
+revision 1
categories tex
maintainers dports
@@ -37,7 +38,6 @@
depends_lib port:fontconfig \
port:freetype \
- port:gd2 \
port:libpng \
port:ncurses \
port:zlib \
@@ -65,6 +65,7 @@
patch-texk_texlive_context_mtxrun.diff \
patch-texk_texlive_linked_scripts_Makefile.in.diff \
patch-texk_xdvik_xdvi-sh.in.diff \
+ patch-texk_xdvipdfmx_src_cidtype2.c.diff \
patch-utils_chktex_Makefile.in.diff
@@ -100,10 +101,9 @@
reinplace "s|kpse_cv_have_Carbon=yes|kpse_cv_have_Carbon=no|" ${worksrcpath}/texk/xdv2pdf/configure
}
- # Do the same for xdvipdfmx regardless of whether +atsui is set,
- # because it will want to use deprecated fontconfig APIs that are
- # only available if fontconfig is compiled with
- # --with-old-mac-fonts
+ # Force xdvipdfmx to use multi-platform freetype API as freetype is not
+ # compiled with --with-old-mac-fonts. A patch helps xdvipdfmx accept dfont
+ # files that freetype can handle.
reinplace "s|kpse_cv_have_ApplicationServices=yes|kpse_cv_have_ApplicationServices=no|" ${worksrcpath}/texk/xdvipdfmx/configure
}
@@ -145,6 +145,7 @@
--disable-etex \
--disable-detex \
--disable-dvi2tty \
+ --disable-dvipng \
--disable-ps2eps \
--disable-psutils \
--disable-t1utils \
Added: trunk/dports/tex/texlive-bin/files/patch-texk_xdvipdfmx_src_cidtype2.c.diff
===================================================================
--- trunk/dports/tex/texlive-bin/files/patch-texk_xdvipdfmx_src_cidtype2.c.diff (rev 0)
+++ trunk/dports/tex/texlive-bin/files/patch-texk_xdvipdfmx_src_cidtype2.c.diff 2011-08-23 03:24:45 UTC (rev 82979)
@@ -0,0 +1,20 @@
+--- texk/xdvipdfmx/src/cidtype2.c 2010-03-30 02:14:53.000000000 +0200
++++ texk/xdvipdfmx/src/cidtype2.c 2011-08-15 19:34:36.000000000 +0200
+@@ -559,7 +559,7 @@
+ ERROR("Invalid TTC index in %s.", font->ident);
+ break;
+ case SFNT_TYPE_TRUETYPE:
+-#ifndef XETEX_MAC
++#ifndef XETEX
+ if (font->options->index > 0)
+ ERROR("Found TrueType font file while expecting TTC file (%s).", font->ident);
+ #endif
+@@ -962,7 +962,7 @@
+ offset = ttc_read_offset(sfont, opt->index);
+ break;
+ case SFNT_TYPE_TRUETYPE:
+-#ifdef XETEX_MAC /* disable the index check here because of how .dfonts are handled */
++#ifdef XETEX /* disable the index check here because of how .dfonts are handled */
+ offset = 0;
+ #else
+ if (opt->index > 0) {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110822/d9701b62/attachment.html>
More information about the macports-changes
mailing list