summaryrefslogtreecommitdiff
path: root/print/dvipdfmx
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2004-02-07 04:59:43 +0000
committerminskim <minskim@pkgsrc.org>2004-02-07 04:59:43 +0000
commitdf218d693aec84b373a276f2b545b1125f9fe990 (patch)
tree2e7cc67d6ccdc45d52137db147fb19166613bee5 /print/dvipdfmx
parent6f963e4f2e4c2c35f6e2729387881c1382bcaef1 (diff)
downloadpkgsrc-df218d693aec84b373a276f2b545b1125f9fe990.tar.gz
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 (limited to 'print/dvipdfmx')
-rw-r--r--print/dvipdfmx/Makefile13
-rw-r--r--print/dvipdfmx/PLIST6
-rw-r--r--print/dvipdfmx/distinfo8
-rw-r--r--print/dvipdfmx/patches/patch-aa37
4 files changed, 31 insertions, 33 deletions
diff --git a/print/dvipdfmx/Makefile b/print/dvipdfmx/Makefile
index eaf78d5d032..59d27549415 100644
--- a/print/dvipdfmx/Makefile
+++ b/print/dvipdfmx/Makefile
@@ -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
HOMEPAGE= http://project.ktug.or.kr/dvipdfmx/
@@ -24,10 +23,6 @@ INSTALL_EXTRA_TMPL+= ${.CURDIR}/INSTALL
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 --git a/print/dvipdfmx/PLIST b/print/dvipdfmx/PLIST
index 19fa7a7aa6d..abd6a8ca9fb 100644
--- a/print/dvipdfmx/PLIST
+++ b/print/dvipdfmx/PLIST
@@ -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-H
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 --git a/print/dvipdfmx/distinfo b/print/dvipdfmx/distinfo
index abeaa50a7de..6afd25237da 100644
--- a/print/dvipdfmx/distinfo
+++ b/print/dvipdfmx/distinfo
@@ -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 --git a/print/dvipdfmx/patches/patch-aa b/print/dvipdfmx/patches/patch-aa
index 754efeda32c..5d6a337fd46 100644
--- a/print/dvipdfmx/patches/patch-aa
+++ b/print/dvipdfmx/patches/patch-aa
@@ -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);
- % 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
+ stream = pdf_new_stream(STREAM_COMPRESS);
+- tounicode_cmap_identity = pdf_link_obj(pdf_ref_obj(stream));
++ tounicode_cmap_identity = pdf_ref_obj(stream);
+
+ 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 */