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 20031116. This clos...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/27db77488ef5
branches:  trunk
changeset: 467836:27db77488ef5
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Sat Feb 07 04:59:43 2004 +0000

description:
Update dvipdfmx to 20031116.  This closes PR pkg/23961.
Approved by kei@ and wiz@.

Changes since 20021230:

        * Fixed a bug on the algorithm converting arc to cubic bezier
          curves in arc() (tpic.c), which is reported by Werner Lemberg.
        * PNG support completely rewritten. Color pallete images are
          now not converted to 24-bit RGB, colorspace Indexed is used
          instead. Added tRNS and alpha chunnel (transparency) support.
          Experimental gAMA, cHRM and sRGB support.
        * Fixed bug that dvipdfmx stops with error "Invalid Subr Index"
          when embedding CFF OpenType font.
        * Add a missing line including pdfparse.h in dvi.c, which is
          reported by Akira Kakuto.
        * Changed the default font map files for teTeX 2.x as suggested
          by Haruhiko Okumura.
        * A bug on the paper size checking routine of dvi_paper_size()
          in dvi.c is fixed, which is reported by Haruhiko Okumura.
        * A bug on the kerning routine of dev_set_string() in pdfdev.c is
          fixed, which is reported by Edward G.J. Lee.
        * Changed to embed images only one time.
        * Updated configure.in and config.h.in to support WORDS_BIGENDIAN
          and SIZEOF_SHORT, SIZEOF_INT, SIZEOF_LONG.
        * A faked font name was used for TrueType fonts without any PS
          font name as suggested by Hin-Tak Leung.
        * Built-in codes (originally from libgcrypt-1.1.42) was used
          for PDF encryption instead of the OpenSSL library as suggested
          by Thomas Esser.
        * A significant bug reported from Haruhiko Okumura is fixed.
          The bug occurs only if compiled with gcc 3.x, not gcc 2.x.
        * New feature, hexadecimal Unicode, suggested by iNOUE Koich!
          and Akira Kakuto is implemented.
        * Fixed bugs on reading and writing OpenType fonts.
        * Applied changes for MiKTeX in ps_include() (psimage.c).
        * Fixed a bug in cff_charsets_lookup() (cff.c).
        * Fixed a bug in string_mode() (pdfdev.c) reported by iNOUE Koich!.

diffstat:

 print/dvipdfmx/Makefile         |  13 ++++---------
 print/dvipdfmx/PLIST            |   6 +++---
 print/dvipdfmx/distinfo         |   8 ++++----
 print/dvipdfmx/patches/patch-aa |  37 ++++++++++++++++++++-----------------
 4 files changed, 31 insertions(+), 33 deletions(-)

diffs (104 lines):

diff -r 435fc3bdb1f8 -r 27db77488ef5 print/dvipdfmx/Makefile
--- a/print/dvipdfmx/Makefile   Sat Feb 07 02:58:10 2004 +0000
+++ b/print/dvipdfmx/Makefile   Sat Feb 07 04:59:43 2004 +0000
@@ -1,10 +1,9 @@
-# $NetBSD: Makefile,v 1.8 2003/12/24 13:02:01 jmmv Exp $
+# $NetBSD: Makefile,v 1.9 2004/02/07 04:59:43 minskim Exp $
 
-DISTNAME=      dvipdfmx-20021230
-PKGNAME=       dvipdfmx-0.0.0.20021230
-PKGREVISION=   3
+DISTNAME=      dvipdfmx-20031116
+PKGNAME=       ${DISTNAME:S/-/-0.0.0./}
 CATEGORIES=    print converters
-MASTER_SITES=  http://project.ktug.or.kr/dvipdfmx/snapshot/
+MASTER_SITES=  http://project.ktug.or.kr/dvipdfmx/snapshot/release/
 
 MAINTAINER=    kei%NetBSD.org@localhost
 HOMEPAGE=      http://project.ktug.or.kr/dvipdfmx/
@@ -24,10 +23,6 @@
 GNU_CONFIGURE=         YES
 #CONFIGURE_ARGS+=      --datadir=${PREFIX}/share
 
-post-patch:
-               ${RM} ${WRKSRC}/data/config/*.orig
-
-.include "../../security/openssl/buildlink2.mk"
 .include "../../graphics/png/buildlink2.mk"
 .include "../../print/teTeX-bin/kpathsea.buildlink2.mk"
 .include "../../devel/zlib/buildlink2.mk"
diff -r 435fc3bdb1f8 -r 27db77488ef5 print/dvipdfmx/PLIST
--- a/print/dvipdfmx/PLIST      Sat Feb 07 02:58:10 2004 +0000
+++ b/print/dvipdfmx/PLIST      Sat Feb 07 04:59:43 2004 +0000
@@ -1,7 +1,5 @@
-@comment $NetBSD: PLIST,v 1.2 2003/03/15 08:26:36 kei Exp $
+@comment $NetBSD: PLIST,v 1.3 2004/02/07 04:59:43 minskim Exp $
 bin/dvipdfmx
-share/texmf/dvipdfm/config/cid-x.map
-share/texmf/dvipdfm/config/dvipdfmx.cfg
 share/texmf/dvipdfm/CMap/78-EUC-H
 share/texmf/dvipdfm/CMap/78-EUC-V
 share/texmf/dvipdfm/CMap/78-H
@@ -202,4 +200,6 @@
 share/texmf/dvipdfm/CMap/UniKSCms-UCS2-V
 share/texmf/dvipdfm/CMap/V
 share/texmf/dvipdfm/CMap/WP-Symbol
+share/texmf/dvipdfm/config/cid-x.map
+share/texmf/dvipdfm/config/dvipdfmx.cfg
 @dirrm share/texmf/dvipdfm/CMap
diff -r 435fc3bdb1f8 -r 27db77488ef5 print/dvipdfmx/distinfo
--- a/print/dvipdfmx/distinfo   Sat Feb 07 02:58:10 2004 +0000
+++ b/print/dvipdfmx/distinfo   Sat Feb 07 04:59:43 2004 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.1.1.1 2003/02/24 15:29:25 kei Exp $
+$NetBSD: distinfo,v 1.2 2004/02/07 04:59:43 minskim Exp $
 
-SHA1 (dvipdfmx-20021230.tar.gz) = 64512f10c42bafaadf6edba4a265d721a07307b9
-Size (dvipdfmx-20021230.tar.gz) = 296700 bytes
-SHA1 (patch-aa) = 687bd287b02743b5b9c83188e364d666e4c59f88
+SHA1 (dvipdfmx-20031116.tar.gz) = 8ad9c9a2a7a7ac7e7430e7f678d1cc49ba604b6e
+Size (dvipdfmx-20031116.tar.gz) = 325457 bytes
+SHA1 (patch-aa) = eac64f0d6608ee238839a84a1daa92d8812aaa0a
diff -r 435fc3bdb1f8 -r 27db77488ef5 print/dvipdfmx/patches/patch-aa
--- a/print/dvipdfmx/patches/patch-aa   Sat Feb 07 02:58:10 2004 +0000
+++ b/print/dvipdfmx/patches/patch-aa   Sat Feb 07 04:59:43 2004 +0000
@@ -1,19 +1,22 @@
-$NetBSD: patch-aa,v 1.1.1.1 2003/02/24 15:29:25 kei Exp $
+$NetBSD: patch-aa,v 1.2 2004/02/07 04:59:43 minskim Exp $
 
---- data/config/dvipdfmx.cfg.orig      Sun Feb 23 18:44:33 2003
-+++ data/config/dvipdfmx.cfg   Sun Feb 23 18:44:52 2003
-@@ -76,10 +76,11 @@
+--- src/type0.c.orig   2002-12-30 00:12:42.000000000 -0600
++++ src/type0.c
+@@ -102,7 +102,7 @@ static void load_tounicode_cmap_identity
+   MFCLOSE (fp);
+ 
+   stream = pdf_new_stream(STREAM_COMPRESS);
+-  tounicode_cmap_identity = pdf_link_obj(pdf_ref_obj(stream));
++  tounicode_cmap_identity = pdf_ref_obj(stream);
  
- % Font map files
- %
--f cmr.map
--f psbase14.map
-+% f cmr.map
-+% f psbase14.map
- % Most distributions now use these names
--f lw35urw.map
-+% f lw35urw.map
- % Some use these names
- % f lw35urwa.map
- f cid-x.map
-+f dvipdfm.map
+   pdf_add_dict(pdf_stream_dict(stream),
+              pdf_new_name("Length"), pdf_new_number(length));
+@@ -398,7 +398,7 @@ int type0_font (const char *map_name, in
+     if (tounicode_cmap_identity == NULL)
+       load_tounicode_cmap_identity();
+     pdf_add_dict (font_resource, pdf_new_name("ToUnicode"),
+-                tounicode_cmap_identity);
++                pdf_link_obj(tounicode_cmap_identity));
+   }
+ 
+   /* finaly write Encoding */



Home | Main Index | Thread Index | Old Index