[45497] trunk/dports/graphics/xpdf

ricci at macports.org ricci at macports.org
Fri Jan 16 10:34:28 PST 2009


Revision: 45497
          http://trac.macports.org/changeset/45497
Author:   ricci at macports.org
Date:     2009-01-16 10:34:27 -0800 (Fri, 16 Jan 2009)
Log Message:
-----------
add patches to translate 'st' and 'ue' ligatures to plain text
take maintainership (with open maintainer)

Modified Paths:
--------------
    trunk/dports/graphics/xpdf/Portfile

Added Paths:
-----------
    trunk/dports/graphics/xpdf/files/patch-xpdf-NameToUnicodeTable.h.diff
    trunk/dports/graphics/xpdf/files/patch-xpdf-UnicodeMapTables.h.diff

Modified: trunk/dports/graphics/xpdf/Portfile
===================================================================
--- trunk/dports/graphics/xpdf/Portfile	2009-01-16 18:22:55 UTC (rev 45496)
+++ trunk/dports/graphics/xpdf/Portfile	2009-01-16 18:34:27 UTC (rev 45497)
@@ -4,14 +4,14 @@
 
 name         xpdf
 version      3.02
-revision     2
+revision     3
 description  Xpdf is a viewer for PDF files.
 long_description \
     Xpdf is a viewer for Portable Document Format \
     (PDF) files.  These are also sometimes also called \
     Acrobat files, from the name of Adobes PDF software.
 
-maintainers    nomaintainer
+maintainers    ricci openmaintainer
 categories   graphics print
 platforms    darwin
 homepage     http://www.foolabs.com/xpdf/
@@ -47,7 +47,9 @@
 		     port:libpaper port:openmotif port:t1lib
 depends_run  path:share/ghostscript/fonts:ghostscript
 
-patchfiles   xpdf-3.02-salvage-your-eye.patch
+patchfiles   xpdf-3.02-salvage-your-eye.patch \
+             patch-xpdf-NameToUnicodeTable.h.diff \
+             patch-xpdf-UnicodeMapTables.h.diff
 
 
 pre-patch {

Added: trunk/dports/graphics/xpdf/files/patch-xpdf-NameToUnicodeTable.h.diff
===================================================================
--- trunk/dports/graphics/xpdf/files/patch-xpdf-NameToUnicodeTable.h.diff	                        (rev 0)
+++ trunk/dports/graphics/xpdf/files/patch-xpdf-NameToUnicodeTable.h.diff	2009-01-16 18:34:27 UTC (rev 45497)
@@ -0,0 +1,11 @@
+--- xpdf/NameToUnicodeTable.h.orig	2007-02-27 14:05:52.000000000 -0800
++++ xpdf/NameToUnicodeTable.h	2009-01-15 18:08:24.000000000 -0800
+@@ -1093,5 +1093,8 @@
+   {0x007c, "|"},
+   {0x007d, "}"},
+   {0x007e, "~"},
++  {0xfb05, "st"},
++  {0xfb06, "st"},
++  {0x1d6b, "ue"},
+   { 0, NULL }
+ };

Added: trunk/dports/graphics/xpdf/files/patch-xpdf-UnicodeMapTables.h.diff
===================================================================
--- trunk/dports/graphics/xpdf/files/patch-xpdf-UnicodeMapTables.h.diff	                        (rev 0)
+++ trunk/dports/graphics/xpdf/files/patch-xpdf-UnicodeMapTables.h.diff	2009-01-16 18:34:27 UTC (rev 45497)
@@ -0,0 +1,40 @@
+--- xpdf/UnicodeMapTables.h.orig	2007-02-27 14:05:52.000000000 -0800
++++ xpdf/UnicodeMapTables.h	2009-01-16 10:26:16.000000000 -0800
+@@ -25,6 +25,7 @@
+   { 0x0178, 0x0178, 0x59, 1 },
+   { 0x017d, 0x017d, 0x5a, 1 },
+   { 0x017e, 0x017e, 0x7a, 1 },
++  { 0x1d6b, 0x1d6b, 0x7565, 2 },
+   { 0x02c6, 0x02c6, 0x5e, 1 },
+   { 0x02da, 0x02da, 0xb0, 1 },
+   { 0x02dc, 0x02dc, 0x7e, 1 },
+@@ -64,7 +65,9 @@
+   { 0xfb01, 0xfb01, 0x6669, 2 },
+   { 0xfb02, 0xfb02, 0x666c, 2 },
+   { 0xfb03, 0xfb03, 0x666669, 3 },
+-  { 0xfb04, 0xfb04, 0x66666c, 3 }
++  { 0xfb04, 0xfb04, 0x66666c, 3 },
++  { 0xfb05, 0xfb05, 0x7374, 2 },
++  { 0xfb06, 0xfb06, 0x7374, 2 }
+ };
+ #define latin1UnicodeMapLen (sizeof(latin1UnicodeMapRanges) / sizeof(UnicodeMapRange))
+ 
+@@ -144,6 +147,7 @@
+   { 0x0160, 0x0160, 0x53, 1 },
+   { 0x0178, 0x0178, 0x59, 1 },
+   { 0x017d, 0x017d, 0x5a, 1 },
++  { 0x1d6b, 0x1d6b, 0x7565, 2 },
+   { 0x2013, 0x2013, 0x2d, 1 },
+   { 0x2014, 0x2014, 0x2d2d, 2 },
+   { 0x2018, 0x2018, 0x60, 1 },
+@@ -197,7 +201,9 @@
+   { 0xfb01, 0xfb01, 0x6669, 2 },
+   { 0xfb02, 0xfb02, 0x666c, 2 },
+   { 0xfb03, 0xfb03, 0x666669, 3 },
+-  { 0xfb04, 0xfb04, 0x66666c, 3 }
++  { 0xfb04, 0xfb04, 0x66666c, 3 },
++  { 0xfb05, 0xfb05, 0x7374, 2 },
++  { 0xfb06, 0xfb06, 0x7374, 2 }
+ };
+ #define ascii7UnicodeMapLen (sizeof(ascii7UnicodeMapRanges) / sizeof(UnicodeMapRange))
+ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090116/67a8c841/attachment.html>


More information about the macports-changes mailing list