Update of /cvsroot/fink/experimental/bmaret/finkinfo
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19896

Modified Files:
        poppler.info 
Added Files:
        poppler.patch 
Log Message:
Added xpdfrc file.

Index: poppler.info
===================================================================
RCS file: /cvsroot/fink/experimental/bmaret/finkinfo/poppler.info,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- poppler.info        15 Sep 2005 18:08:36 -0000      1.1
+++ poppler.info        20 Sep 2005 15:50:22 -0000      1.2
@@ -1,6 +1,6 @@
 Package: poppler
 Version: 0.4.2
-Revision: 1
+Revision: 2
 Description: PDF rendering library
 License: GPL
 Maintainer: Sebastien Maret <[EMAIL PROTECTED]>
@@ -11,7 +11,14 @@
 BuildDependsOnly: True
 Source: http://poppler.freedesktop.org/%n-%v.tar.gz
 Source-MD5: beb1eea135a3c5b679a7a22d01a500c0
+ConfigureParams: --mandir=%p/share/man SYSTEM_XPDFRC=%p/etc/xpdfrc.poppler
+PatchScript: sed 's|@PREFIX@|%p|g' <%a/%n.patch | patch -p1
 GCC: 3.3
+InstallScript: <<
+  make install prefix=%i
+  install -d %i/etc
+  install -m 644 xpdfrc.poppler %i/etc/
+<<
 DocFiles: README README-XPDF COPYING
 Shlibs: <<
   %p/lib/poppler.0.dylib 1.0.0 poppler (>= 0.4.1-1)
@@ -29,4 +36,8 @@
 DescDetail: <<
 Poppler is a PDF rendering library based on the xpdf-3.0 code base.
 <<
+DescPort: <<
+xpdfrc file borrowed from xpdf. It is renamed xpdfrc.poppler to avoid
+a conflict with xpdf. 
+<<
 

--- NEW FILE: poppler.patch ---
diff -ruN poppler-0.4.2/xpdfrc.poppler poppler-0.4.2.patched/xpdfrc.poppler
--- poppler-0.4.2/xpdfrc.poppler        1969-12-31 19:00:00.000000000 -0500
+++ poppler-0.4.2.patched/xpdfrc.poppler        2005-09-20 11:03:35.000000000 
-0400
@@ -0,0 +1,91 @@
+#========================================================================
+#
+# 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              
@PREFIX@/share/ghostscript/fonts/n021003l.pfb
+displayFontT1 Times-Italic             
@PREFIX@/share/ghostscript/fonts/n021023l.pfb
+displayFontT1 Times-Bold               
@PREFIX@/share/ghostscript/fonts/n021004l.pfb
+displayFontT1 Times-BoldItalic         
@PREFIX@/share/ghostscript/fonts/n021024l.pfb
+displayFontT1 Helvetica                
@PREFIX@/share/ghostscript/fonts/n019003l.pfb
+displayFontT1 Helvetica-Oblique        
@PREFIX@/share/ghostscript/fonts/n019023l.pfb
+displayFontT1 Helvetica-Bold           
@PREFIX@/share/ghostscript/fonts/n019004l.pfb
+displayFontT1 Helvetica-BoldOblique    
@PREFIX@/share/ghostscript/fonts/n019024l.pfb
+displayFontT1 Courier                  
@PREFIX@/share/ghostscript/fonts/n022003l.pfb
+displayFontT1 Courier-Oblique          
@PREFIX@/share/ghostscript/fonts/n022023l.pfb
+displayFontT1 Courier-Bold             
@PREFIX@/share/ghostscript/fonts/n022004l.pfb
+displayFontT1 Courier-BoldOblique      
@PREFIX@/share/ghostscript/fonts/n022024l.pfb
+displayFontT1 Symbol                   
@PREFIX@/share/ghostscript/fonts/s050000l.pfb
+displayFontT1 ZapfDingbats             
@PREFIX@/share/ghostscript/fonts/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     "open 'openURL(%s)'"



-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. 
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to