diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2010-06-10 19:44:28 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2010-06-10 19:44:28 +0000 |
commit | 3be649fea556174d149f278f08a2a98d9652dcf2 (patch) | |
tree | 14cf9ec169e2f7ee6eb67c656549ed9c51210526 /app-text | |
parent | Fix dependencies. Use -fno-strict-aliasing. (diff) | |
download | gentoo-2-3be649fea556174d149f278f08a2a98d9652dcf2.tar.gz gentoo-2-3be649fea556174d149f278f08a2a98d9652dcf2.tar.bz2 gentoo-2-3be649fea556174d149f278f08a2a98d9652dcf2.zip |
old
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'app-text')
-rw-r--r-- | app-text/xpdf/Manifest | 18 | ||||
-rw-r--r-- | app-text/xpdf/files/sample-xpdfrc | 92 | ||||
-rw-r--r-- | app-text/xpdf/files/xpdf-3.02-as-needed.patch | 11 | ||||
-rw-r--r-- | app-text/xpdf/files/xpdf-3.02-poppler-0.10.0.patch | 42 | ||||
-rw-r--r-- | app-text/xpdf/files/xpdf-3.02-poppler-0.11.0.patch | 13 | ||||
-rw-r--r-- | app-text/xpdf/files/xpdf-3.02-poppler-nodrm.patch | 52 | ||||
-rw-r--r-- | app-text/xpdf/files/xpdfrc.5 | 480 | ||||
-rw-r--r-- | app-text/xpdf/xpdf-3.02-r2.ebuild | 75 |
8 files changed, 0 insertions, 783 deletions
diff --git a/app-text/xpdf/Manifest b/app-text/xpdf/Manifest index d1912c199bd6..0607c59c3905 100644 --- a/app-text/xpdf/Manifest +++ b/app-text/xpdf/Manifest @@ -1,23 +1,5 @@ -AUX sample-xpdfrc 3619 RMD160 336b60e59a5aadaeb0c93c4edf315103ea76d8ee SHA1 4a20a0289357d84bd5e32ec5eab63cffe8d9bea0 SHA256 1c5cf49e7241b741a46b1851dcf3d845ee036bdecb4faf1c60dbac77565ca2f7 -AUX xpdf-3.02-as-needed.patch 398 RMD160 b27967e9c14f8522508da8e22351acbfadf189e2 SHA1 0d124338be45e51b3fa52d401e3d92442ec3de50 SHA256 328715e47d95d867e9fb8fe3d632d8a40370ff056bd57cf8f4cf21f4bab49509 -AUX xpdf-3.02-poppler-0.10.0.patch 1590 RMD160 343cdc65c065c37352fb50fbb123bec3a8a0f8ed SHA1 3072d67a302b3d80289fd64cf8d40228a90891f5 SHA256 0be3e858f06e2f130b1705094fb76bb4ea65f4d5ad6fd31fb40bb843aa3858b5 -AUX xpdf-3.02-poppler-0.11.0.patch 314 RMD160 20806826221797a5026b9e706bd17af1b9e1530c SHA1 52baf1491066c759338db952fd64bc6cc03ac2ab SHA256 4fabf222c3064b20ea86e4a60f64ee9b7639f50ac9e276d9621c2a9bfe2dc404 -AUX xpdf-3.02-poppler-nodrm.patch 1633 RMD160 707bd5287e05b1d7469431c9fa67aba6bb4bd27e SHA1 5fa0e0790b85843c91d64f2b9cd1df91bf8507a1 SHA256 515a89af7c097f7d6b373e27be870d25b897444e31cf5f3af5a840c144ddd84c -AUX xpdfrc.5 17548 RMD160 215ed02d4653b5aaf3dc6b4d029bd5434343e619 SHA1 0fe82390a85c2c37313390c8a1bb79069bcc249b SHA256 645d58cf1266ac7037af5288d9b02a6b9eb40bb3fa49516612f3e6fb0d9960d5 DIST xpdf-3.02-patchset-02.tar.bz2 9617 RMD160 4889feeb94b04426b03e6cde1566c44fc7628806 SHA1 820afc87d224042923bae1a7de3723e77f7a6451 SHA256 85feb8a59550a40e1dcf63a7d9bfa1e439312f8c68c964376bd04ea07e9a0b75 DIST xpdf-3.02-poppler-20071121.tar.bz2 107935 RMD160 faf276c824ef12f44609ef7610dc309c87ee3c96 SHA1 bb548689ca2107e99e51b48060e0b583ed9e10ed SHA256 5e04476110ef9ec122e5aa427b4be5e79a003d2740ec8c65b32f526a03b52ed5 -DIST xpdf-arabic-2003-feb-16.tar.gz 1058 RMD160 5790c247333125a1ed1df0cbcacf0ffd876c9f58 SHA1 abcd48c6f4226320a76c6bb8ae1550a410cab573 SHA256 b196448a54bcbf7d8af551c75299ed95ccf1bb304208f23479ae3dcc6e84e1fc -DIST xpdf-chinese-simplified-2004-jul-27.tar.gz 835960 RMD160 6241d2ff1270566f74ee6b98b1b96a50d2e4b41d SHA1 c873db6d74b3b455f794dd7c9804a63dcf68d547 SHA256 ac886f7bccdc7c70fcfcbd9916ea907a93f0fe698ff7ca81da8f312c7fab07d7 -DIST xpdf-chinese-traditional-2004-jul-27.tar.gz 794604 RMD160 fdf9c84db84e85daa048f96e67039d41ae5027a5 SHA1 e9625395da01ef2765bd844300e752fa3aba34b6 SHA256 49269682ac4b5af2b54763dd2fe7f539ba0ec2452f0545980f4927ffa2a5f2ed -DIST xpdf-cyrillic-2003-jun-28.tar.gz 1660 RMD160 3010d686fdd46d5282a679aacfd02d95acb15c5e SHA1 77ce057eb788268729c7e56baf6c27ce9d876214 SHA256 a5c6e151107d246995a0f73c7d33a611a8cc03192cc498a3e550a8f7d67e98de -DIST xpdf-greek-2003-jun-28.tar.gz 1263 RMD160 95c8abaab369a302b857d95f9f1d139d91b066ff SHA1 600d576c2aed29bd51135a1aad2f2342449f255f SHA256 57f0a188e8a01f72fdb1352e8769c45fe101ac5ae82cb5a1446bd807408eb45b -DIST xpdf-hebrew-2003-feb-16.tar.gz 1314 RMD160 77f33aadf3602767ba2a2ed3c9b5c38ab00988c5 SHA1 b37d7b969b63e55aaf4bdaac1d518fba9922e32b SHA256 890d209fc55eaea6df6b0e18a3d26a505690309b44b02da4f447f405252302ff -DIST xpdf-japanese-2004-jul-27.tar.gz 494803 RMD160 dbc2b4feb6141a5f9f3663717c807faca64580ff SHA1 93182eaf9daf39dd09e054f4556bbdaf4c260bd2 SHA256 b7419fc10d078628a407e5966146450acbe81d9a5e7f63448916536f0ac6432f -DIST xpdf-korean-2005-jul-07.tar.gz 470455 RMD160 9e5bab5f0f8bcdc7fa5506f7311b7044e374c33f SHA1 f9de9175787852de554cbbd4a8d857c945dd5503 SHA256 ee8ae069ae613a24c7f500666a1a50cc5783f253feba61ebdbe2ef458232974f -DIST xpdf-latin2-2002-oct-22.tar.gz 1435 RMD160 7dd1f32d0e857789983d64ee71fedfde13123947 SHA1 e5fbf01c758c670973a34e67d56790c0b9e9eda4 SHA256 f74eab0a8d5b5b77becd344910be5218666aba06b9c02554549d2e6c1ae42643 -DIST xpdf-thai-2002-jan-16.tar.gz 1873 RMD160 5bb942b4a50cf1ff9758dbfbb9cd6e3310c059c3 SHA1 93de04cb2211a7451d6e8f62ddef1748d2fa37f4 SHA256 9708a88ed37150ecdbba3abb01cf86f1a8a75192a758af729a59f7162722e931 -DIST xpdf-turkish-2002-apr-10.tar.gz 1140 RMD160 25e49dd17c93d6904372f1223c2204543ddbf22d SHA1 2a225c726ebef40f63902081604064bd8b4ae117 SHA256 25b992d294e2e135e2b1b3d93010d97f33b3e2cd9437aa903d2795016a10e6c7 -EBUILD xpdf-3.02-r2.ebuild 2833 RMD160 f0efe055bc6069d2e098f686e879d671287f6de0 SHA1 bdc1b4f090677a748e0b273397131684410db311 SHA256 a9f4bd8d9476f73949141d044e87f1183a776aa1e89df7d7092fe0bdbc90394b EBUILD xpdf-3.02-r4.ebuild 1819 RMD160 baa920e92d78780e9d4438669cd98ff727725f89 SHA1 17f17aeccb614059eb33dd0750f94ad2749a0f1d SHA256 a58d661941279d1ff0df4c4b1099ce096cd1014fed2a8dbff394678120ffe656 MISC ChangeLog 24740 RMD160 191daca29a77e0a4ffdbd8f087fb90ff94d708bb SHA1 015d6fa3d0b0423dd21d21a20f4e14b46a9df9b4 SHA256 869354784fd44681d5473f6b5a7631caefa07911e6bda0e0c1c6e70cf0451e41 MISC metadata.xml 234 RMD160 553d24231ed003084bcef961dccbd659d67e03d9 SHA1 34590aace0d52fd29fc6e1511c30a898826fe414 SHA256 7014fa9f87f6eedd08a265737c2884aafcb4ca673bfcec5b0a3f9fabbe5ef194 diff --git a/app-text/xpdf/files/sample-xpdfrc b/app-text/xpdf/files/sample-xpdfrc deleted file mode 100644 index ca5dc4244bf0..000000000000 --- a/app-text/xpdf/files/sample-xpdfrc +++ /dev/null @@ -1,92 +0,0 @@ -#======================================================================== -# -# Sample xpdfrc file -# -# The Xpdf tools look for a config file in two places: -# 1. ~/.xpdfrc -# 2. in a system-wide directory, typically /usr/local/etc/xpdfrc -# -# This sample config file demonstrates some of the more common -# configuration options. Everything here is commented out. You -# should edit things (especially the file/directory paths, since -# they'll likely be different on your system), and uncomment whichever -# options you want to use. For complete details on config file syntax -# and available options, please see the xpdfrc(5) man page. -# -# Also, the Xpdf language support packages each include a set of -# options to be added to the xpdfrc file. -# -# http://www.foolabs.com/xpdf/ -# -#======================================================================== - -#----- display fonts - -# These map the Base-14 fonts to the Type 1 fonts that ship with -# ghostscript. You'll almost certainly want to use something like -# this, but you'll need to adjust this to point to wherever -# ghostscript is installed on your system. (But if the fonts are -# installed in a "standard" location, xpdf will find them -# automatically.) - -#displayFontT1 Times-Roman /usr/share/fonts/default/ghostscript/n021003l.pfb -#displayFontT1 Times-Italic /usr/share/fonts/default/ghostscript/n021023l.pfb -#displayFontT1 Times-Bold /usr/share/fonts/default/ghostscript/n021004l.pfb -#displayFontT1 Times-BoldItalic /usr/share/fonts/default/ghostscript/n021024l.pfb -#displayFontT1 Helvetica /usr/share/fonts/default/ghostscript/n019003l.pfb -#displayFontT1 Helvetica-Oblique /usr/share/fonts/default/ghostscript/n019023l.pfb -#displayFontT1 Helvetica-Bold /usr/share/fonts/default/ghostscript/n019004l.pfb -#displayFontT1 Helvetica-BoldOblique /usr/share/fonts/default/ghostscript/n019024l.pfb -#displayFontT1 Courier /usr/share/fonts/default/ghostscript/n022003l.pfb -#displayFontT1 Courier-Oblique /usr/share/fonts/default/ghostscript/n022023l.pfb -#displayFontT1 Courier-Bold /usr/share/fonts/default/ghostscript/n022004l.pfb -#displayFontT1 Courier-BoldOblique /usr/share/fonts/default/ghostscript/n022024l.pfb -#displayFontT1 Symbol /usr/share/fonts/default/ghostscript/s050000l.pfb -#displayFontT1 ZapfDingbats /usr/share/fonts/default/ghostscript/d050000l.pfb - -# If you need to display PDF files that refer to non-embedded fonts, -# you should add one or more fontDir options to point to the -# directories containing the font files. Xpdf will only look at .pfa, -# .pfb, and .ttf files in those directories (other files will simply -# be ignored). - -#fontDir /usr/local/fonts/bakoma - -#----- PostScript output control - -# Set the default PostScript file or command. - -#psFile "|lpr -Pmyprinter" - -# Set the default PostScript paper size -- this can be letter, legal, -# A4, or A3. You can also specify a paper size as width and height -# (in points). - -#psPaperSize letter - -#----- text output control - -# Choose a text encoding for copy-and-paste and for pdftotext output. -# The Latin1, ASCII7, and UTF-8 encodings are built into Xpdf. Other -# encodings are available in the language support packages. - -#textEncoding UTF-8 - -# Choose the end-of-line convention for multi-line copy-and-past and -# for pdftotext output. The available options are unix, mac, and dos. - -#textEOL unix - -#----- misc settings - -# Enable t1lib, FreeType, and anti-aliased text. - -#enableT1lib yes -#enableFreeType yes -#antialias yes - -# Set the command used to run a web browser when a URL hyperlink is -# clicked. - -#urlCommand "netscape -remote 'openURL(%s)'" -urlCommand "firefox %s" diff --git a/app-text/xpdf/files/xpdf-3.02-as-needed.patch b/app-text/xpdf/files/xpdf-3.02-as-needed.patch deleted file mode 100644 index d5c1106c4074..000000000000 --- a/app-text/xpdf/files/xpdf-3.02-as-needed.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/Makefile 2009-01-01 12:11:09.000000000 -0600 -+++ b/Makefile 2009-01-01 12:11:14.000000000 -0600 -@@ -5,7 +5,7 @@ - CPPFLAGS+= $(INCLUDES) -DHAVE_DIRENT_H - - xpdf: CoreOutputDev.o GlobalParams.o ImageOutputDev.o PDFCore.o XPDFApp.o XPDFCore.o XPDFTree.o XPDFViewer.o parseargs.o xpdf.o -- $(CXX) -o xpdf $(LIBS) *.o -+ $(CXX) $(CXXFLAGS) $(LDFLAGS) -o xpdf *.o $(LIBS) - - clean: - rm -f *.o xpdf diff --git a/app-text/xpdf/files/xpdf-3.02-poppler-0.10.0.patch b/app-text/xpdf/files/xpdf-3.02-poppler-0.10.0.patch deleted file mode 100644 index fcf0d7f06195..000000000000 --- a/app-text/xpdf/files/xpdf-3.02-poppler-0.10.0.patch +++ /dev/null @@ -1,42 +0,0 @@ -diff -pur --exclude='*~' xpdf-3.02-poppler.orig/config.h xpdf-3.02-poppler/config.h ---- xpdf-3.02-poppler.orig/config.h 2008-10-14 20:00:41.000000000 +0200 -+++ xpdf-3.02-poppler/config.h 2008-10-14 21:08:15.000000000 +0200 -@@ -28,6 +28,7 @@ - #define supportedPDFVersionNum 1.7 - - // copyright notice -+#undef xpdfCopyright - #define xpdfCopyright "Copyright 1996-2007 Glyph & Cog, LLC" - - // Windows resource file stuff -diff -pur --exclude='*~' xpdf-3.02-poppler.orig/XPDFCore.cc xpdf-3.02-poppler/XPDFCore.cc ---- xpdf-3.02-poppler.orig/XPDFCore.cc 2008-10-14 20:00:41.000000000 +0200 -+++ xpdf-3.02-poppler/XPDFCore.cc 2008-10-14 21:13:48.000000000 +0200 -@@ -22,6 +22,7 @@ - #include "GlobalParams.h" - #include "PDFDoc.h" - #include "Link.h" -+#include "FileSpec.h" - #include "ErrorCodes.h" - #include "GfxState.h" - #include "CoreOutputDev.h" -@@ -465,7 +466,7 @@ void XPDFCore::doAction(LinkAction *acti - GooString *fileName, *fileName2; - GooString *cmd; - GooString *actionName; -- Object movieAnnot, obj1, obj2; -+ Object movieAnnot, obj1, obj2, obj3; - GooString *msg; - int i; - -@@ -631,7 +632,9 @@ void XPDFCore::doAction(LinkAction *acti - if (movieAnnot.isDict()) { - if (movieAnnot.dictLookup("Movie", &obj1)->isDict()) { - if (obj1.dictLookup("F", &obj2)) { -- if ((fileName = LinkAction::getFileSpecName(&obj2))) { -+ if (getFileSpecNameForPlatform(&obj2, &obj3)) { -+ fileName = obj3.getString()->copy(); -+ obj3.free(); - if (!isAbsolutePath(fileName->getCString())) { - fileName2 = appendToPath( - grabPath(doc->getFileName()->getCString()), diff --git a/app-text/xpdf/files/xpdf-3.02-poppler-0.11.0.patch b/app-text/xpdf/files/xpdf-3.02-poppler-0.11.0.patch deleted file mode 100644 index 4545a4dce446..000000000000 --- a/app-text/xpdf/files/xpdf-3.02-poppler-0.11.0.patch +++ /dev/null @@ -1,13 +0,0 @@ -Index: xpdf-3.02-poppler/PDFCore.cc -=================================================================== ---- xpdf-3.02-poppler.orig/PDFCore.cc -+++ xpdf-3.02-poppler/PDFCore.cc -@@ -49,7 +49,7 @@ PDFCorePage::~PDFCorePage() { - delete links; - } - if (text) { -- delete text; -+ text->decRefCnt(); - } - } - diff --git a/app-text/xpdf/files/xpdf-3.02-poppler-nodrm.patch b/app-text/xpdf/files/xpdf-3.02-poppler-nodrm.patch deleted file mode 100644 index f03be4d77f9b..000000000000 --- a/app-text/xpdf/files/xpdf-3.02-poppler-nodrm.patch +++ /dev/null @@ -1,52 +0,0 @@ -diff -Nur xpdf-3.02-poppler.orig/PDFCore.cc xpdf-3.02-poppler/PDFCore.cc ---- xpdf-3.02-poppler.orig/PDFCore.cc 2007-11-18 12:23:58.000000000 +0100 -+++ xpdf-3.02-poppler/PDFCore.cc 2007-11-18 12:24:07.000000000 +0100 -@@ -1563,9 +1563,6 @@ - int x0, y0, x1, y1, t; - GooString *s; - -- if (!doc->okToCopy()) { -- return NULL; -- } - if ((page = findPage(pg))) { - cvtUserToDev(pg, xMin, yMin, &x0, &y0); - cvtUserToDev(pg, xMax, yMax, &x1, &y1); -diff -Nur xpdf-3.02-poppler.orig/XPDFCore.cc xpdf-3.02-poppler/XPDFCore.cc ---- xpdf-3.02-poppler.orig/XPDFCore.cc 2007-11-18 12:23:58.000000000 +0100 -+++ xpdf-3.02-poppler/XPDFCore.cc 2007-11-18 12:25:18.000000000 +0100 -@@ -384,11 +384,7 @@ - #ifndef NO_TEXT_SELECT - if (selectULX != selectLRX && - selectULY != selectLRY) { -- if (doc->okToCopy()) { - copySelection(); -- } else { -- error(-1, "Copying of text from this document is not allowed."); -- } - } - #endif - } -@@ -407,9 +403,6 @@ - int pg; - double ulx, uly, lrx, lry; - -- if (!doc->okToCopy()) { -- return; -- } - if (getSelection(&pg, &ulx, &uly, &lrx, &lry)) { - //~ for multithreading: need a mutex here - if (currentSelection) { -diff -Nur xpdf-3.02-poppler.orig/XPDFViewer.cc xpdf-3.02-poppler/XPDFViewer.cc ---- xpdf-3.02-poppler.orig/XPDFViewer.cc 2007-11-18 12:23:58.000000000 +0100 -+++ xpdf-3.02-poppler/XPDFViewer.cc 2007-11-18 12:24:10.000000000 +0100 -@@ -3406,10 +3406,6 @@ - PSOutputDev *psOut; - - doc = viewer->core->getDoc(); -- if (!doc->okToPrint()) { -- error(-1, "Printing this document is not allowed."); -- return; -- } - - viewer->core->setBusyCursor(gTrue); - diff --git a/app-text/xpdf/files/xpdfrc.5 b/app-text/xpdf/files/xpdfrc.5 deleted file mode 100644 index 235803d50fa2..000000000000 --- a/app-text/xpdf/files/xpdfrc.5 +++ /dev/null @@ -1,480 +0,0 @@ -.\" Copyright 2002-2005 Glyph & Cog, LLC -.TH xpdfrc 5 "17 August 2005" -.SH NAME -xpdfrc \- configuration file for Xpdf tools (version 3.01) -.SH DESCRIPTION -All of the Xpdf tools read a single configuration file. If you have a -.I .xpdfrc -file in your home directory, it will be read. Otherwise, a -system-wide configuration file will be read from -.IR /usr/local/etc/xpdfrc , -if it exists. (This is its default location; depending on build -options, it may be placed elsewhere.) On Win32 systems, the -.I xpdfrc -file should be placed in the same directory as the executables. -.PP -The xpdfrc file consists of a series of configuration options, one -per line. Blank lines and lines starting with a \'#' (comments) are -ignored. -.PP -The following sections list all of the configuration options, sorted -into functional groups. There is an examples section at the end. -.SH INCLUDE FILES -.TP -.BI include " config\-file" -Includes the specified config file. The effect of this is equivalent -to inserting the contents of -.I config\-file -directly into the parent config file in place of the -.I include -command. Config files can be nested arbitrarily deeply. -.SH CHARACTER MAPPING -.TP -.BI nameToUnicode " map\-file" -Specifies a file with the mapping from character names to Unicode. -This is used to handle PDF fonts that have valid encodings but no -ToUnicode entry. Each line of a nameToUnicode file looks like this: - -.I " " hex\-string name - -The -.I hex\-string -is the Unicode (UCS-2) character index, and -.I name -is the corresponding character name. Multiple nameToUnicode files can -be used; if a character name is given more than once, the code in the -last specified file is used. There is a built-in default -nameToUnicode table with all of Adobe's standard character names. -.TP -.BI cidToUnicode " registry\-ordering map\-file" -Specifies the file with the mapping from character collection to -Unicode. Each line of a cidToUnicode file represents one character: - -.I " " hex\-string - -The -.I hex\-string -is the Unicode (UCS-2) index for that character. The first line maps -CID 0, the second line CID 1, etc. File size is determined by size of -the character collection. Only one file is allowed per character -collection; the last specified file is used. There are no built-in -cidToUnicode mappings. -.TP -.BI unicodeToUnicode " font\-name\-substring map\-file" -This is used to work around PDF fonts which have incorrect Unicode -information. It specifies a file which maps from the given -(incorrect) Unicode indexes to the correct ones. The mapping will be -used for any font whose name contains -.IR font\-name\-substring . -Each line of a unicodeToUnicode file represents one Unicode character: - -.RI " " in\-hex " " out\-hex1 " " out\-hex2 " ..." - -The -.I in\-hex -field is an input (incorrect) Unicode index, and the rest of the -fields are one or more output (correct) Unicode indexes. Each -occurrence of -.I in\-hex -will be converted to the specified output sequence. -.TP -.BI unicodeMap " encoding\-name map\-file" -Specifies the file with mapping from Unicode to -.IR encoding\-name . -These encodings are used for X display fonts and text output (see -below). Each line of a unicodeMap file represents a range of one or -more Unicode characters which maps linearly to a range in the output -encoding: -.nf - -.I " " in\-start\-hex in\-end\-hex out\-start\-hex - -.fi -Entries for single characters can be abbreviated to: -.nf - -.I " " in\-hex out\-hex - -.fi -The -.I in\-start\-hex -and -.I in\-end\-hex -fields (or the single -.I in\-hex -field) specify the Unicode range. The -.I out\-start\-hex -field (or the -.I out\-hex -field) specifies the start of the output encoding range. The length -of the -.I out\-start\-hex -(or -.IR out\-hex ) -string determines the length of the output characters (e.g., UTF-8 -uses different numbers of bytes to represent characters in different -ranges). Entries must be given in increasing Unicode order. Only one -file is allowed per encoding; the last specified file is used. The -.IR Latin1 , -.IR ASCII7 , -.IR Symbol , -.IR ZapfDingbats , -.IR UTF-8 , -and -.I UCS-2 -encodings are predefined. -.TP -.BI cMapDir " registry\-ordering dir" -Specifies a search directory, -.IR dir , -for CMaps for the -.I registry\-ordering -character collection. There can be multiple directories for a -particular collection. There are no default CMap directories. -.TP -.BI toUnicodeDir " dir" -Specifies a search directory, -.IR dir , -for ToUnicode CMaps. There can be multiple ToUnicode directories. -There are no default ToUnicode directories. -.SH DISPLAY FONTS -.TP -.BI displayFontT1 " PDF\-font\-name T1\-file" -Maps a PDF font, -.IR PDF\-font\-name , -to a Type 1 font for display. The Type 1 font file, -.IR T1\-file , -should be a standard .pfa or .pfb file. -.TP -.BI displayFontTT " PDF\-font\-name TT\-file" -Maps a PDF font, -.IR PDF\-font\-name , -to a TrueType font for display. The TrueType font file, -.IR TT\-file , -should be a standard .ttf file. -.TP -.BI displayNamedCIDFontT1 " PDF\-font\-name T1\-file" -Maps a specific PDF CID (16-bit) font, -.IR PDF\-font\-name , -to a CID font (16-bit PostScript font), for display. There are no -default CID font mappings. -.TP -.BI displayCIDFontT1 " registry\-ordering T1\-file" -Maps the -.I registry\-ordering -character collection to a CID font (16-bit PostScript font), for -display. This mapping is used if the font name doesn't match any of -the fonts declared with displayNamedCIDFont* commands. There are no -default CID font mappings. -.TP -.BI displayNamedCIDFontTT " PDF\-font\-name TT\-file" -Maps a specific PDF CID (16-bit) font, -.IR PDF\-font\-name , -to a (16-bit) TrueType font, for display. There are no default CID -font mappings. -.TP -.BI displayCIDFontTT " registry\-ordering TT\-file" -Maps the -.I registry\-ordering -character collection to a (16-bit) TrueType font, for display. This -mapping is used if the font name doesn't match any of the fonts -declared with displayNamedCIDFont* commands. There are no default CID -font mappings. -.TP -.BI fontDir " dir" -Specifies a search directory for external font files. There can be -multiple fontDir directories. If a PDF file uses a font but doesn't -embed it, these directories will be searched for a matching font file. -These fonts are used by both xpdf (for display) and pdftops (for -embedding in the generated PostScript). Type 1 fonts must have a -suffix of ".pfa", ".pfb", ".ps", or no suffix at all. TrueType fonts -must have a ".ttf" suffix. Other files in these directories will be -ignored. There are no default fontDir directories. -.SH POSTSCRIPT CONTROL -.TP -.BI psPaperSize " width(pts) height(pts)" -Sets the paper size for PostScript output. The -.I width -and -.I height -parameters give the paper size in PostScript points (1 point = 1/72 -inch). -.TP -.BR psPaperSize " letter | legal | A4 | A3 | match" -Sets the paper size for PostScript output to a standard size. The -default paper size is set when xpdf and pdftops are built, typically -to "letter" or "A4". This can also be set to "match", which will set -the paper size to match the size specified in the PDF file. -.TP -.BR psImageableArea " llx lly urx ury" -Sets the imageable area for PostScript output. The four integers are -the coordinates of the lower-left and upper-right corners of the -imageable region, specified in points (with the origin being the -lower-left corner of the paper). This defaults to the full paper -size; the psPaperSize option will reset the imageable area -coordinates. -.TP -.BR psCrop " yes | no" -If set to "yes", PostScript output is cropped to the CropBox specified -in the PDF file; otherwise no cropping is done. This defaults to -"yes". -.TP -.BR psExpandSmaller " yes | no" -If set to "yes", PDF pages smaller than the PostScript imageable area -are expanded to fill the imageable area. Otherwise, no scalling is -done on smaller pages. This defaults to "no". -.TP -.BR psShrinkLarger " yes | no" -If set to yes, PDF pages larger than the PostScript imageable area are -shrunk to fit the imageable area. Otherwise, no scaling is done on -larger pages. This defaults to "yes". -.TP -.BR psCenter " yes | no" -If set to yes, PDF pages smaller than the PostScript imageable area -(after any scaling) are centered in the imageable area. Otherwise, -they are aligned at the lower-left corner of the imageable area. This -defaults to "yes". -.TP -.BR psDuplex " yes | no" -If set to "yes", the generated PostScript will set the "Duplex" -pagedevice entry. This tells duplex-capable printers to enable -duplexing. This defaults to "no". -.TP -.BR psLevel " level1 | level1sep | level2 | level2sep | level3 | level3Sep" -Sets the PostScript level to generate. This defaults to "level2". -.TP -.BI psFont " PDF\-font\-name PS\-font\-name" -When the -.I PDF\-font\-name -font is used in a PDF file, it will be translated to the PostScript -font -.IR PS\-font\-name , -which is assumed to be resident in the printer. Typically, -.I PDF\-font\-name -and -.I PS\-font\-name -are the same. By default, only the Base-14 fonts are assumed to be -resident. -.TP -.BI psNamedFont16 " PDF\-font\-name wMode PS\-font\-name encoding" -When the 16-bit font -.I PDF\-font\-name -is used in a PDF file with the -.I wMode -writing mode and is not embedded, the -.I PS\-font\-name -font is substituted for it. The writing mode must be either \'H' for -horizontal or \'V' for vertical. The -.I PS\-font\-name -font is assumed to be resident in the printer and to use the specified -encoding (which must have been defined with the unicodeMap command). -.TP -.BI psFont16 " registry\-ordering wMode PS\-font\-name encoding" -When a 16-bit font using the -.I registry\-ordering -character collection and -.I wMode -writing mode is not embedded and does not match any of the fonts -declared in psNamedFont16 commands, the -.I PS\-font\-name -font is substituted for it. The writing mode must be either \'H' for -horizontal or \'V' for vertical. The -.I PS\-font\-name -font is assumed to be resident in the printer and to use the specified -writing mode and encoding (which must have been defined with the -unicodeMap command). -.TP -.BR psEmbedType1Fonts " yes | no" -If set to "no", prevents embedding of Type 1 fonts in generated -PostScript. This defaults to "yes". -.TP -.BR psEmbedTrueTypeFonts " yes | no" -If set to "no", prevents embedding of TrueType fonts in generated -PostScript. This defaults to "yes". -.TP -.BR psEmbedCIDTrueTypeFonts " yes | no" -If set to "no", prevents embedding of CID TrueType fonts in generated -PostScript. For Level 3 PostScript, this generates a CID font, for -lower levels it generates a non-CID composite font. -.TP -.BR psEmbedCIDPostScriptFonts " yes | no" -If set to "no", prevents embedding of CID PostScript fonts in -generated PostScript. For Level 3 PostScript, this generates a CID -font, for lower levels it generates a non-CID composite font. -.TP -.BR psOPI " yes | no" -If set to "yes", generates PostScript OPI comments for all images and -forms which have OPI information. This option is only available if -the Xpdf tools were compiled with OPI support. This defaults to "no". -.TP -.BR psASCIIHex " yes | no" -If set to "yes", the ASCIIHexEncode filter will be used instead of -ASCII85Encode for binary data. This defaults to "no". -.TP -.BI psFile " file\-or\-command" -Sets the default PostScript file or print command for xpdf. Commands -start with a \'|' character; anything else is a file. If the file -name or command contains spaces it must be quoted. This defaults to -unset, which tells xpdf to generate a name of the form <file>.ps for a -PDF file <file>.pdf. -.TP -.BI fontDir " dir" -See the description above, in the DISPLAY FONTS section. -.SH TEXT CONTROL -.TP -.BI textEncoding " encoding\-name" -Sets the encoding to use for text output. (This can be overridden -with the "-enc" switch on the command line.) The -.I encoding\-name -must be defined with the unicodeMap command (see above). This -defaults to "Latin1". -.TP -.BR textEOL " unix | dos | mac" -Sets the end-of-line convention to use for text output. The options -are: -.nf - - unix = LF - dos = CR+LF - mac = CR - -.fi -(This can be overridden with the "-eol" switch on the command line.) -The default value is based on the OS where xpdf and pdftotext were -built. -.TP -.BR textPageBreaks " yes | no" -If set to "yes", text extraction will insert page breaks (form feed -characters) between pages. This defaults to "yes". -.TP -.BR textKeepTinyChars " yes | no" -If set to "yes", text extraction will keep all characters. If set to -"no", text extraction will discard tiny (smaller than 3 point) -characters after the first 50000 per page, avoiding extremely slow run -times for PDF files that use special fonts to do shading or -cross-hatching. This defaults to "no". -.SH MISCELLANEOUS SETTINGS -.TP -.BR initialZoom " \fIpercentage\fR | page | width" -Sets the initial zoom factor. A number specifies a zoom percentage, -where 100 means 72 dpi. You may also specify \'page', to fit the page -to the window size, or \'width', to fit the page width to the window -width. -.TP -.BR enableT1lib " yes | no" -Enables or disables use of t1lib (a Type 1 font rasterizer). This is -only relevant if the Xpdf tools were built with t1lib support. -("enableT1lib" replaces the old "t1libControl" option.) This option -defaults to "yes". -.TP -.BR enableFreeType " yes | no" -Enables or disables use of FreeType (a TrueType / Type 1 font -rasterizer). This is only relevant if the Xpdf tools were built with -FreeType support. ("enableFreeType" replaces the old -"freetypeControl" option.) This option defaults to "yes". -.TP -.BR antialias " yes | no" -Enables or disables font anti-aliasing in the PDF rasterizer. This -option affects all font rasterizers. ("antialias" replaces the -anti-aliasing control provided by the old "t1libControl" and -"freetypeControl" options.) This default to "yes". -.TP -.BI urlCommand " command" -Sets the command executed when you click on a URL link. The string -"%s" will be replaced with the URL. (See the example below.) This -has no default value. -.TP -.BI movieCommand " command" -Sets the command executed when you click on a movie annotation. The -string "%s" will be replaced with the movie file name. This has no -default value. -.TP -.BI mapNumericCharNames " yes | no" -If set to "yes", the Xpdf tools will attempt to map various numeric -character names sometimes used in font subsets. In some cases this -leads to usable text, and in other cases it leads to gibberish -- -there is no way for Xpdf to tell. This defaults to "yes". -.TP -.BI printCommands " yes | no" -If set to "yes", drawing commands are printed as they're executed -(useful for debugging). This defaults to "no". -.TP -.BI errQuiet " yes | no" -If set to "yes", this suppresses all error and warning messages from -all of the Xpdf tools. This defaults to "no". -.SH EXAMPLES -The following is a sample xpdfrc file. -.nf - -# from the Thai support package -nameToUnicode /usr/local/share/xpdf/Thai.nameToUnicode - -# from the Japanese support package -cidToUnicode Adobe-Japan1 /usr/local/share/xpdf/Adobe-Japan1.cidToUnicode -unicodeMap JISX0208 /usr/local/share/xpdf/JISX0208.unicodeMap -cMapDir Adobe-Japan1 /usr/local/share/xpdf/cmap/Adobe-Japan1 - -# use the Base-14 Type 1 fonts from ghostscript -displayFontT1 Times-Roman /usr/local/share/ghostscript/fonts/n021003l.pfb -displayFontT1 Times-Italic /usr/local/share/ghostscript/fonts/n021023l.pfb -displayFontT1 Times-Bold /usr/local/share/ghostscript/fonts/n021004l.pfb -displayFontT1 Times-BoldItalic /usr/local/share/ghostscript/fonts/n021024l.pfb -displayFontT1 Helvetica /usr/local/share/ghostscript/fonts/n019003l.pfb -displayFontT1 Helvetica-Oblique /usr/local/share/ghostscript/fonts/n019023l.pfb -displayFontT1 Helvetica-Bold /usr/local/share/ghostscript/fonts/n019004l.pfb -displayFontT1 Helvetica-BoldOblique /usr/local/share/ghostscript/fonts/n019024l.pfb -displayFontT1 Courier /usr/local/share/ghostscript/fonts/n022003l.pfb -displayFontT1 Courier-Oblique /usr/local/share/ghostscript/fonts/n022023l.pfb -displayFontT1 Courier-Bold /usr/local/share/ghostscript/fonts/n022004l.pfb -displayFontT1 Courier-BoldOblique /usr/local/share/ghostscript/fonts/n022024l.pfb -displayFontT1 Symbol /usr/local/share/ghostscript/fonts/s050000l.pfb -displayFontT1 ZapfDingbats /usr/local/share/ghostscript/fonts/d050000l.pfb - -# use the Bakoma Type 1 fonts -# (this assumes they happen to be installed in /usr/local/fonts/bakoma) -fontDir /usr/local/fonts/bakoma - -# set some PostScript options -psPaperSize letter -psDuplex no -psLevel level2 -psEmbedType1Fonts yes -psEmbedTrueTypeFonts yes -psFile "| lpr -Pprinter5" - -# assume that the PostScript printer has the Univers and -# Univers-Bold fonts -psFont Univers Univers -psFont Univers-Bold Univers-Bold - -# set the text output options -textEncoding UTF-8 -textEOL unix - -# misc options -t1libControl low -freetypeControl low -urlCommand "netscape -remote 'openURL(%s)'" - -.fi -.SH FILES -.TP -.B /usr/local/etc/xpdfrc -This is the default location for the system-wide configuration file. -Depending on build options, it may be placed elsewhere. -.TP -.B $HOME/.xpdfrc -This is the user's configuration file. If it exists, it will be read -in place of the system-wide file. -.SH AUTHOR -The Xpdf software and documentation are copyright 1996-2005 Glyph & -Cog, LLC. -.SH "SEE ALSO" -.BR xpdf (1), -.BR pdftops (1), -.BR pdftotext (1), -.BR pdfinfo (1), -.BR pdftoppm (1), -.BR pdfimages (1) -.br -.B http://www.foolabs.com/xpdf/ diff --git a/app-text/xpdf/xpdf-3.02-r2.ebuild b/app-text/xpdf/xpdf-3.02-r2.ebuild deleted file mode 100644 index 1de214e08906..000000000000 --- a/app-text/xpdf/xpdf-3.02-r2.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/xpdf/xpdf-3.02-r2.ebuild,v 1.10 2010/02/10 19:59:09 ssuominen Exp $ - -EAPI=2 - -inherit eutils flag-o-matic - -DESCRIPTION="An X Viewer for PDF Files" -HOMEPAGE="http://www.foolabs.com/xpdf/" -SRC_URI="http://gentooexperimental.org/~genstef/dist/${P}-poppler-20071121.tar.bz2 - linguas_ar? ( ftp://ftp.foolabs.com/pub/xpdf/xpdf-arabic-2003-feb-16.tar.gz ) - linguas_zh_CN? ( ftp://ftp.foolabs.com/pub/xpdf/xpdf-chinese-simplified-2004-jul-27.tar.gz ) - linguas_zh_TW? ( ftp://ftp.foolabs.com/pub/xpdf/xpdf-chinese-traditional-2004-jul-27.tar.gz ) - linguas_ru? ( ftp://ftp.foolabs.com/pub/xpdf/xpdf-cyrillic-2003-jun-28.tar.gz ) - linguas_el? ( ftp://ftp.foolabs.com/pub/xpdf/xpdf-greek-2003-jun-28.tar.gz ) - linguas_he? ( ftp://ftp.foolabs.com/pub/xpdf/xpdf-hebrew-2003-feb-16.tar.gz ) - linguas_ja? ( ftp://ftp.foolabs.com/pub/xpdf/xpdf-japanese-2004-jul-27.tar.gz ) - linguas_ko? ( ftp://ftp.foolabs.com/pub/xpdf/xpdf-korean-2005-jul-07.tar.gz ) - linguas_la? ( ftp://ftp.foolabs.com/pub/xpdf/xpdf-latin2-2002-oct-22.tar.gz ) - linguas_th? ( ftp://ftp.foolabs.com/pub/xpdf/xpdf-thai-2002-jan-16.tar.gz ) - linguas_tr? ( ftp://ftp.foolabs.com/pub/xpdf/xpdf-turkish-2002-apr-10.tar.gz )" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~x86-fbsd" -IUSE="nodrm linguas_ar linguas_zh_CN linguas_zh_TW linguas_ru linguas_el linguas_he linguas_ja linguas_ko linguas_la linguas_th linguas_tr" - -RDEPEND="app-text/poppler - x11-libs/openmotif - x11-libs/libX11 - x11-libs/libXpm" -DEPEND="${RDEPEND} - dev-util/pkgconfig" - -S=${WORKDIR}/${P}-poppler - -pkg_setup() { - append-flags '-DSYSTEM_XPDFRC="\"/etc/xpdfrc\""' -} - -src_prepare() { - use nodrm && epatch "${FILESDIR}/${P}-poppler-nodrm.patch" - epatch "${FILESDIR}/${P}-poppler-0.10.0.patch" - epatch "${FILESDIR}/${P}-poppler-0.11.0.patch" - epatch "${FILESDIR}/${P}-as-needed.patch" -} - -src_install() { - dobin xpdf - doman xpdf.1 "${FILESDIR}"/xpdfrc.5 - insinto /etc - newins "${FILESDIR}"/sample-xpdfrc xpdfrc - dodoc README ANNOUNCE CHANGES - - use linguas_ar && install_lang arabic - use linguas_zh_CN && install_lang chinese-simplified - use linguas_zh_TW && install_lang chinese-traditional - use linguas_ru && install_lang cyrillic - use linguas_el && install_lang greek - use linguas_he && install_lang hebrew - use linguas_ja && install_lang japanese - use linguas_ko && install_lang korean - use linguas_la && install_lang latin2 - use linguas_th && install_lang thai - use linguas_tr && install_lang turkish -} - -install_lang() { - cd ../xpdf-$1 - sed 's,/usr/local/share/xpdf/,/usr/share/xpdf/,g' add-to-xpdfrc >> "${D}"/etc/xpdfrc - insinto /usr/share/xpdf/$1 - doins -r *.unicodeMap *ToUnicode - [[ -d CMap ]] && doins -r CMap -} |