pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/print/dvipdfmx Update dvipdfmx to 20090708.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a465bfcad995
branches:  trunk
changeset: 569415:a465bfcad995
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Sat Jan 16 03:52:40 2010 +0000

description:
Update dvipdfmx to 20090708.

Major changes:
    - Add -E option that enables DVIPDFM emulation mode in DVIPDFMx.
    - Don't try to convert included PDF files whose version number
      is higher than output file version. (If run as dvipdfm,
      conversion still occurs.)
    - Added dvipdfm compatibility mode. This mode is triggered
      if dvipdfmx is called as "dvipdfm", and likewise extractbb
      as "ebb". (The latter mode was already present.)
    - Made predefined paper sizes match values given by libpaper.

diffstat:

 print/dvipdfmx/Makefile         |   69 ++++++++----
 print/dvipdfmx/PLIST            |  218 +--------------------------------------
 print/dvipdfmx/distinfo         |   13 +-
 print/dvipdfmx/files/map.tmpl   |    6 +-
 print/dvipdfmx/map.mk           |    6 +-
 print/dvipdfmx/patches/patch-aa |   27 ----
 print/dvipdfmx/patches/patch-ab |   38 ++++--
 print/dvipdfmx/patches/patch-ac |   15 ++
 print/dvipdfmx/patches/patch-ad |   13 ++
 9 files changed, 122 insertions(+), 283 deletions(-)

diffs (truncated from 483 to 300 lines):

diff -r 262dac432be0 -r a465bfcad995 print/dvipdfmx/Makefile
--- a/print/dvipdfmx/Makefile   Sat Jan 16 03:50:42 2010 +0000
+++ b/print/dvipdfmx/Makefile   Sat Jan 16 03:52:40 2010 +0000
@@ -1,37 +1,60 @@
-# $NetBSD: Makefile,v 1.32 2009/09/02 08:34:14 wiz Exp $
+# $NetBSD: Makefile,v 1.33 2010/01/16 03:52:40 minskim Exp $
 
-DISTNAME=      dvipdfmx-20070518
-PKGNAME=       ${DISTNAME:S/-/-0.0.0./}
-PKGREVISION=   2
+DISTNAME=      texlive-20091011-source
+PKGNAME=       dvipdfmx-20090708
 CATEGORIES=    print converters
-MASTER_SITES=  http://project.ktug.or.kr/dvipdfmx/snapshot/release/
+MASTER_SITES=  ${MASTER_SITE_TEX_CTAN:=systems/texlive/Source/}
+EXTRACT_SUFX=  .tar.xz
 
-MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+MAINTAINER=    minskim%NetBSD.org@localhost
 HOMEPAGE=      http://project.ktug.or.kr/dvipdfmx/
-COMMENT=       Dvi to pdf converter with CID-keyed font support
-
-DEPENDS+=      adobe-cmaps>=20060615:../../fonts/adobe-cmaps
+COMMENT=       DVI to PDF converter with CID-keyed font support
 
 CONFLICTS+=    dvipdfm-[0-9]*
 CONFLICTS+=    ja-dvipdfm-[0-9]*
+DEPENDS+=      tex-pdftex-[0-9]*:../../print/tex-pdftex
 
-USE_TOOLS+=            gs:run
-GNU_CONFIGURE=         YES
-MAKE_ENV+=             PKG_LOCALTEXMFPREFIX=${PREFIX:Q}/share/texmf-dist
+EXTRACT_ELEMENTS=      ${DISTNAME}/build-aux \
+                       ${DISTNAME}/texk/dvipdfmx
+
+PKG_DESTDIR_SUPPORT=   user-destdir
+
+GNU_CONFIGURE= yes
+USE_TOOLS+=    gs:run ps2pdf:run
+WRKSRC=                ${WRKDIR}/${DISTNAME}/texk/dvipdfmx
+
+CONFIGURE_ARGS+=       --with-system-kpathsea \
+               --with-kpathsea-includes=${BUILDLINK_PREFIX.kpathsea}/include \
+               --with-kpathsea-libdir=${BUILDLINK_PREFIX.kpathsea}/lib
+CONFIGURE_ARGS+=       --with-system-zlib \
+               --with-zlib-includes=${BUILDLINK_PREFIX.zlib}/include \
+               --with-zlib-libdir=${BUILDLINK_PREFIX.zlib}/lib
+CONFIGURE_ARGS+=       --with-system-libpng \
+               --with-libpng-includes=${BUILDLINK_PREFIX.png}/include \
+               --with-libpng-libdir=${BUILDLINK_PREFIX.png}/lib
+CONFIGURE_ARGS+=       --with-paper=${BUILDLINK_PREFIX.libpaper}
+
+PKG_SYSCONFSUBDIR=     texmf
+
+MAKE_DIRS+=    ${PKG_SYSCONFDIR}/dvipdfmx
+CONF_FILES=    ${PREFIX}/share/texmf/dvipdfmx/dvipdfmx.cfg \
+               ${PKG_SYSCONFDIR}/dvipdfmx/dvipdfmx.cfg
+
+SUBST_CLASSES+=                paths
+SUBST_MESSAGE.paths=   Setting paths to commands.
+SUBST_STAGE.paths=     pre-configure
+SUBST_FILES.paths=     data/dvipdfmx.cfg src/dvipdft
+SUBST_SED.paths=       -e 's,@DVIPDFM@,${PREFIX}/bin/dvipdfm,g' \
+                       -e 's,@GS@,${TOOLS_PATH.gs},g' \
+                       -e 's,@PS2PDF@,${LOCALBASE}/bin/ps2pdf,g'
+
+TEX_TEXMF_DIRS+=       ${PKG_SYSCONFDIR}
+TEX_TEXMF_DIRS+=       ${PREFIX}/share/texmf
+TEX_TEXMF_DIRS+=       ${PREFIX}/share/texmf-dist
 
 .include "../../graphics/png/buildlink3.mk"
 .include "../../devel/zlib/buildlink3.mk"
-.include "../../print/dvipdfmx/map.mk"
 .include "../../print/kpathsea/buildlink3.mk"
 .include "../../print/kpathsea/texmf.mk"
-
-post-install:
-       cd ${PREFIX}/share/texmf-dist/dvipdfm; \
-       for file in ../../Adobe/Resource/CMap/*; do \
-               ${LN} -sf $$file `${BASENAME} $$file`; \
-       done
-       ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/dvipdfmx
-       ${MV} ${PREFIX}/share/texmf-dist/dvipdfm/dvipdfmx.cfg \
-               ${PREFIX}/share/examples/dvipdfmx/
-
+.include "../../print/libpaper/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 262dac432be0 -r a465bfcad995 print/dvipdfmx/PLIST
--- a/print/dvipdfmx/PLIST      Sat Jan 16 03:50:42 2010 +0000
+++ b/print/dvipdfmx/PLIST      Sat Jan 16 03:52:40 2010 +0000
@@ -1,209 +1,11 @@
-@comment $NetBSD: PLIST,v 1.13 2009/06/14 18:11:54 joerg Exp $
+@comment $NetBSD: PLIST,v 1.14 2010/01/16 03:52:40 minskim Exp $
+bin/dvipdfm
 bin/dvipdfmx
-bin/xbb
-share/examples/dvipdfmx/dvipdfmx.cfg
-share/texmf-dist/dvipdfm/78-EUC-H
-share/texmf-dist/dvipdfm/78-EUC-V
-share/texmf-dist/dvipdfm/78-H
-share/texmf-dist/dvipdfm/78-RKSJ-H
-share/texmf-dist/dvipdfm/78-RKSJ-V
-share/texmf-dist/dvipdfm/78-V
-share/texmf-dist/dvipdfm/78ms-RKSJ-H
-share/texmf-dist/dvipdfm/78ms-RKSJ-V
-share/texmf-dist/dvipdfm/83pv-RKSJ-H
-share/texmf-dist/dvipdfm/90ms-RKSJ-H
-share/texmf-dist/dvipdfm/90ms-RKSJ-UCS2
-share/texmf-dist/dvipdfm/90ms-RKSJ-V
-share/texmf-dist/dvipdfm/90msp-RKSJ-H
-share/texmf-dist/dvipdfm/90msp-RKSJ-V
-share/texmf-dist/dvipdfm/90pv-RKSJ-H
-share/texmf-dist/dvipdfm/90pv-RKSJ-UCS2
-share/texmf-dist/dvipdfm/90pv-RKSJ-UCS2C
-share/texmf-dist/dvipdfm/90pv-RKSJ-V
-share/texmf-dist/dvipdfm/Add-H
-share/texmf-dist/dvipdfm/Add-RKSJ-H
-share/texmf-dist/dvipdfm/Add-RKSJ-V
-share/texmf-dist/dvipdfm/Add-V
-share/texmf-dist/dvipdfm/Adobe-CNS1-0
-share/texmf-dist/dvipdfm/Adobe-CNS1-1
-share/texmf-dist/dvipdfm/Adobe-CNS1-2
-share/texmf-dist/dvipdfm/Adobe-CNS1-3
-share/texmf-dist/dvipdfm/Adobe-CNS1-4
-share/texmf-dist/dvipdfm/Adobe-CNS1-5
-share/texmf-dist/dvipdfm/Adobe-CNS1-UCS2
-share/texmf-dist/dvipdfm/Adobe-GB1-0
-share/texmf-dist/dvipdfm/Adobe-GB1-1
-share/texmf-dist/dvipdfm/Adobe-GB1-2
-share/texmf-dist/dvipdfm/Adobe-GB1-3
-share/texmf-dist/dvipdfm/Adobe-GB1-4
-share/texmf-dist/dvipdfm/Adobe-GB1-5
-share/texmf-dist/dvipdfm/Adobe-GB1-UCS2
-share/texmf-dist/dvipdfm/Adobe-Japan1-0
-share/texmf-dist/dvipdfm/Adobe-Japan1-1
-share/texmf-dist/dvipdfm/Adobe-Japan1-2
-share/texmf-dist/dvipdfm/Adobe-Japan1-3
-share/texmf-dist/dvipdfm/Adobe-Japan1-4
-share/texmf-dist/dvipdfm/Adobe-Japan1-5
-share/texmf-dist/dvipdfm/Adobe-Japan1-6
-share/texmf-dist/dvipdfm/Adobe-Japan1-UCS2
-share/texmf-dist/dvipdfm/Adobe-Japan2-0
-share/texmf-dist/dvipdfm/Adobe-Korea1-0
-share/texmf-dist/dvipdfm/Adobe-Korea1-1
-share/texmf-dist/dvipdfm/Adobe-Korea1-2
-share/texmf-dist/dvipdfm/Adobe-Korea1-UCS2
-share/texmf-dist/dvipdfm/B5-H
-share/texmf-dist/dvipdfm/B5-V
-share/texmf-dist/dvipdfm/B5pc-H
-share/texmf-dist/dvipdfm/B5pc-UCS2
-share/texmf-dist/dvipdfm/B5pc-UCS2C
-share/texmf-dist/dvipdfm/B5pc-V
-share/texmf-dist/dvipdfm/CNS-EUC-H
-share/texmf-dist/dvipdfm/CNS-EUC-V
-share/texmf-dist/dvipdfm/CNS01-RKSJ-H
-share/texmf-dist/dvipdfm/CNS02-RKSJ-H
-share/texmf-dist/dvipdfm/CNS03-RKSJ-H
-share/texmf-dist/dvipdfm/CNS04-RKSJ-H
-share/texmf-dist/dvipdfm/CNS05-RKSJ-H
-share/texmf-dist/dvipdfm/CNS06-RKSJ-H
-share/texmf-dist/dvipdfm/CNS07-RKSJ-H
-share/texmf-dist/dvipdfm/CNS1-H
-share/texmf-dist/dvipdfm/CNS1-V
-share/texmf-dist/dvipdfm/CNS15-RKSJ-H
-share/texmf-dist/dvipdfm/CNS2-H
-share/texmf-dist/dvipdfm/CNS2-V
-share/texmf-dist/dvipdfm/ETHK-B5-H
-share/texmf-dist/dvipdfm/ETHK-B5-V
-share/texmf-dist/dvipdfm/ETen-B5-H
-share/texmf-dist/dvipdfm/ETen-B5-UCS2
-share/texmf-dist/dvipdfm/ETen-B5-V
-share/texmf-dist/dvipdfm/EUC-H
-share/texmf-dist/dvipdfm/EUC-UCS2
-share/texmf-dist/dvipdfm/EUC-V
-share/texmf-dist/dvipdfm/Ext-H
-share/texmf-dist/dvipdfm/Ext-RKSJ-H
-share/texmf-dist/dvipdfm/Ext-RKSJ-V
-share/texmf-dist/dvipdfm/Ext-V
-share/texmf-dist/dvipdfm/GB-EUC-H
-share/texmf-dist/dvipdfm/GB-EUC-V
-share/texmf-dist/dvipdfm/GB-H
-share/texmf-dist/dvipdfm/GB-RKSJ-H
-share/texmf-dist/dvipdfm/GB-V
-share/texmf-dist/dvipdfm/GBK-EUC-H
-share/texmf-dist/dvipdfm/GBK-EUC-UCS2
-share/texmf-dist/dvipdfm/GBK-EUC-V
-share/texmf-dist/dvipdfm/GBK2K-H
-share/texmf-dist/dvipdfm/GBK2K-V
-share/texmf-dist/dvipdfm/GBKp-EUC-H
-share/texmf-dist/dvipdfm/GBKp-EUC-V
-share/texmf-dist/dvipdfm/GBT-EUC-H
-share/texmf-dist/dvipdfm/GBT-EUC-V
-share/texmf-dist/dvipdfm/GBT-H
-share/texmf-dist/dvipdfm/GBT-RKSJ-H
-share/texmf-dist/dvipdfm/GBT-V
-share/texmf-dist/dvipdfm/GBTpc-EUC-H
-share/texmf-dist/dvipdfm/GBTpc-EUC-V
-share/texmf-dist/dvipdfm/GBpc-EUC-H
-share/texmf-dist/dvipdfm/GBpc-EUC-UCS2
-share/texmf-dist/dvipdfm/GBpc-EUC-UCS2C
-share/texmf-dist/dvipdfm/GBpc-EUC-V
-share/texmf-dist/dvipdfm/H
-share/texmf-dist/dvipdfm/HK-RKSJ-H
-share/texmf-dist/dvipdfm/HKdla-B5-H
-share/texmf-dist/dvipdfm/HKdla-B5-V
-share/texmf-dist/dvipdfm/HKdlb-B5-H
-share/texmf-dist/dvipdfm/HKdlb-B5-V
-share/texmf-dist/dvipdfm/HKgccs-B5-H
-share/texmf-dist/dvipdfm/HKgccs-B5-V
-share/texmf-dist/dvipdfm/HKm314-B5-H
-share/texmf-dist/dvipdfm/HKm314-B5-V
-share/texmf-dist/dvipdfm/HKm471-B5-H
-share/texmf-dist/dvipdfm/HKm471-B5-V
-share/texmf-dist/dvipdfm/HKscs-B5-H
-share/texmf-dist/dvipdfm/HKscs-B5-V
-share/texmf-dist/dvipdfm/Hankaku
-share/texmf-dist/dvipdfm/Hiragana
-share/texmf-dist/dvipdfm/Hojo-EUC-H
-share/texmf-dist/dvipdfm/Hojo-EUC-V
-share/texmf-dist/dvipdfm/Hojo-H
-share/texmf-dist/dvipdfm/Hojo-RKSJ-H
-share/texmf-dist/dvipdfm/Hojo-V
-share/texmf-dist/dvipdfm/Identity-H
-share/texmf-dist/dvipdfm/Identity-V
-share/texmf-dist/dvipdfm/KSC-EUC-H
-share/texmf-dist/dvipdfm/KSC-EUC-V
-share/texmf-dist/dvipdfm/KSC-H
-share/texmf-dist/dvipdfm/KSC-Johab-H
-share/texmf-dist/dvipdfm/KSC-Johab-V
-share/texmf-dist/dvipdfm/KSC-RKSJ-H
-share/texmf-dist/dvipdfm/KSC-V
-share/texmf-dist/dvipdfm/KSC2-RKSJ-H
-share/texmf-dist/dvipdfm/KSCms-UHC-H
-share/texmf-dist/dvipdfm/KSCms-UHC-HW-H
-share/texmf-dist/dvipdfm/KSCms-UHC-HW-V
-share/texmf-dist/dvipdfm/KSCms-UHC-UCS2
-share/texmf-dist/dvipdfm/KSCms-UHC-V
-share/texmf-dist/dvipdfm/KSCpc-EUC-H
-share/texmf-dist/dvipdfm/KSCpc-EUC-UCS2
-share/texmf-dist/dvipdfm/KSCpc-EUC-UCS2C
-share/texmf-dist/dvipdfm/KSCpc-EUC-V
-share/texmf-dist/dvipdfm/Katakana
-share/texmf-dist/dvipdfm/NWP-H
-share/texmf-dist/dvipdfm/NWP-V
-share/texmf-dist/dvipdfm/RKSJ-H
-share/texmf-dist/dvipdfm/RKSJ-V
-share/texmf-dist/dvipdfm/Roman
-share/texmf-dist/dvipdfm/TCVN-RKSJ-H
-share/texmf-dist/dvipdfm/UniCNS-UCS2-H
-share/texmf-dist/dvipdfm/UniCNS-UCS2-V
-share/texmf-dist/dvipdfm/UniCNS-UTF16-H
-share/texmf-dist/dvipdfm/UniCNS-UTF16-V
-share/texmf-dist/dvipdfm/UniCNS-UTF32-H
-share/texmf-dist/dvipdfm/UniCNS-UTF32-V
-share/texmf-dist/dvipdfm/UniCNS-UTF8-H
-share/texmf-dist/dvipdfm/UniCNS-UTF8-V
-share/texmf-dist/dvipdfm/UniGB-UCS2-H
-share/texmf-dist/dvipdfm/UniGB-UCS2-V
-share/texmf-dist/dvipdfm/UniGB-UTF16-H
-share/texmf-dist/dvipdfm/UniGB-UTF16-V
-share/texmf-dist/dvipdfm/UniGB-UTF32-H
-share/texmf-dist/dvipdfm/UniGB-UTF32-V
-share/texmf-dist/dvipdfm/UniGB-UTF8-H
-share/texmf-dist/dvipdfm/UniGB-UTF8-V
-share/texmf-dist/dvipdfm/UniHojo-UCS2-H
-share/texmf-dist/dvipdfm/UniHojo-UCS2-V
-share/texmf-dist/dvipdfm/UniHojo-UTF16-H
-share/texmf-dist/dvipdfm/UniHojo-UTF16-V
-share/texmf-dist/dvipdfm/UniHojo-UTF32-H
-share/texmf-dist/dvipdfm/UniHojo-UTF32-V
-share/texmf-dist/dvipdfm/UniHojo-UTF8-H
-share/texmf-dist/dvipdfm/UniHojo-UTF8-V
-share/texmf-dist/dvipdfm/UniJIS-UCS2-H
-share/texmf-dist/dvipdfm/UniJIS-UCS2-HW-H
-share/texmf-dist/dvipdfm/UniJIS-UCS2-HW-V
-share/texmf-dist/dvipdfm/UniJIS-UCS2-V
-share/texmf-dist/dvipdfm/UniJIS-UTF16-H
-share/texmf-dist/dvipdfm/UniJIS-UTF16-V
-share/texmf-dist/dvipdfm/UniJIS-UTF32-H
-share/texmf-dist/dvipdfm/UniJIS-UTF32-V
-share/texmf-dist/dvipdfm/UniJIS-UTF8-H
-share/texmf-dist/dvipdfm/UniJIS-UTF8-V
-share/texmf-dist/dvipdfm/UniJISPro-UCS2-HW-V
-share/texmf-dist/dvipdfm/UniJISPro-UCS2-V
-share/texmf-dist/dvipdfm/UniJISPro-UTF8-V
-share/texmf-dist/dvipdfm/UniJISX0213-UTF32-H
-share/texmf-dist/dvipdfm/UniJISX0213-UTF32-V
-share/texmf-dist/dvipdfm/UniKS-UCS2-H
-share/texmf-dist/dvipdfm/UniKS-UCS2-V
-share/texmf-dist/dvipdfm/UniKS-UTF16-H
-share/texmf-dist/dvipdfm/UniKS-UTF16-V
-share/texmf-dist/dvipdfm/UniKS-UTF32-H
-share/texmf-dist/dvipdfm/UniKS-UTF32-V
-share/texmf-dist/dvipdfm/UniKS-UTF8-H
-share/texmf-dist/dvipdfm/UniKS-UTF8-V
-share/texmf-dist/dvipdfm/UniKSCms-UCS2-H
-share/texmf-dist/dvipdfm/UniKSCms-UCS2-V
-share/texmf-dist/dvipdfm/V
-share/texmf-dist/dvipdfm/WP-Symbol
-share/texmf-dist/dvipdfm/cid-x.map



Home | Main Index | Thread Index | Old Index