rpms/texlive/F-10 texlive-dvipsconfig.patch, NONE, 1.1 texlive-elif.patch, NONE, 1.1 texlive-getline.patch, NONE, 1.1 texlive-poolfix.patch, NONE, 1.1 texlive-lacheck.patch, 1.2, 1.3 texlive-poppler.patch, 1.1, 1.2 texlive.spec, 1.43, 1.44 texlive.cron, 1.1, NONE

Jindrich Novy jnovy at fedoraproject.org
Wed Oct 21 17:26:46 UTC 2009


Author: jnovy

Update of /cvs/pkgs/rpms/texlive/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv24550

Modified Files:
	texlive-lacheck.patch texlive-poppler.patch texlive.spec 
Added Files:
	texlive-dvipsconfig.patch texlive-elif.patch 
	texlive-getline.patch texlive-poolfix.patch 
Removed Files:
	texlive.cron 
Log Message:
* Thu Oct 15 2009 Jindrich Novy <jnovy at redhat.com> 2007-45
- make kpathsea not dependent on texlive
- fix lacheck again (#451513)
- fix dvips configuration (#467542)
- update kpathsea description and summary (#519257)
- use upstream patch to fix pool overflow CVE-2009-1284 (#492136)
- don't complain if the pdvipsk hunks touching config.ps don't apply
- avoid clashes with getline() from glibc
- texlive-east-asian now requires texlive-texmf-east-asian (#487258)
- do not attempt to remove old fonts via cron in /var/lib/texmf,
  fonts are stored in ~/.texlive2007/texmf-var per-user
  (#477833, #463975, #453468)
- use correct paths in brp-* post install scriptlets (#468179)
- fix build with gcc4.4


texlive-dvipsconfig.patch:
 config.ps |  607 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++------
 1 file changed, 555 insertions(+), 52 deletions(-)

--- NEW FILE texlive-dvipsconfig.patch ---
diff -up texlive-2007/texk/dvipsk/config.ps.dvipsconfig texlive-2007/texk/dvipsk/config.ps
--- texlive-2007/texk/dvipsk/config.ps.dvipsconfig	2006-01-17 22:41:51.000000000 +0100
+++ texlive-2007/texk/dvipsk/config.ps	2009-10-15 21:01:23.000000000 +0200
@@ -1,83 +1,586 @@
-* Configuration file for dvips.
-*
-*  Default resolution.  This needs to be correct.
-D 300
-*
-*  Metafont mode to use to generate bitmap fonts.  This needs to be a
-*  mode with the specified resolution.  Various hardwired defaults are
-*  used for a few resolutions, but it is best to specify it explicitly.
-*  http://www.ctan.org/tex-archive/fonts/modes/modes.mf has a list of modes.
-*M modename
-*
-*  Amount of memory.  Not crucial to be exact, if you have a lot.
-m 470000
-*
-*  If unspecified, output goes to a file.
-*  To send output via a pipe to a printing program, use something like:
-*o |lpr
-*o |lpr -Pmyprinter
-*  To send output to standard output by default, use:
-*o -
-*
-*  z1 is "secure", i.e., inhibits execution of `shell commands` in \specials.
-*  Dvips allows this by default.
-*z1
-*
-*  Additional default .map files.
-* p +cmfonts.map
-* p +lafonts.map
-* p +cyrfonts.map
-* p +eufonts.map
-*
-*   Last resort bitmap sizes.
-R  240 270 300 329 360 432 518 622 746 896
-*
-*
-*   Paper size information.  First definition is the default.
-*
-*   If your default is a4 uncomment the following definition
-*   and comment out the letterSize definition.
-@ a4size 210mm 297mm
+% config.ps - configuration file for dvips.
+% Tomas Rokicki, Thomas Esser, Karl Berry, et al., 1986ff, public domain.
+
+% Memory available. Download the three-line PostScript file:
+%   %! Hey, we're PostScript
+%   /Times-Roman findfont 30 scalefont setfont 144 432 moveto
+%   vmstatus exch sub 40 string cvs show pop showpage
+% to determine this number. (It will be the only thing printed.)
+m 3500000
+
+% Run securely.  z2 disables both shell command execution in
+% `\special' and config files (via the `E' option) and opening of any
+% absolute filenames.  z1, the default, forbids shell escapes but
+% allows absolute filenames.  z0 allows both.  The corresponding
+% command line options are -R0|-R1|-R2
+z1
+
+% How to print, maybe with lp instead lpr, etc. If commented-out, output
+% will go into a file by default.
+%o |lpr
+
+% Default resolution of this device, in dots per inch.
+D 600
+X 600
+Y 600
+
+% Metafont mode.  (This is completely different from the -M
+% command-line option, which controls whether mktexpk is invoked.)
+% See ../../metafont/misc/modes.mf for a list of mode names.  This mode
+% and the D number above must agree, or mktexpk will get confused.
+M ljfour
+
+% Last resort bitmap sizes.
+R 300 600
+
+% Correct printer offset. You can use testpage.tex from the LaTeX
+% distribution to find these numbers.
+O 0pt,0pt
+
+% Bitmap font compression. Results in more compact output files, but
+% sometimes causes trouble. So the default is disabled. Set Z1 to enable
+% this feature.
+Z0
+
+% Partially download Type 1 fonts by default.  Only reason not to do
+% this is if you encounter bugs.  (Please report them to
+% @email{tex-k at tug.org} if you do.)
+j
+
+% This shows how to add your own map file.
+% Remove the comment and adjust the name:
+% p +myfonts.map
+
+% If we have setpagedevice, use that.
+% else if we have the a4 resp. letter operator, use that.
+% else do nothing to set the page size.
+% 
+% In the past, the a4size and letterSize definitions did not set the
+% page size, but we want to set it if we can so that ps2pdf can work
+% properly.  Here, a4 and a4size, and letter and letterSize, are
+% identical, and we prefer the a4/letter names -- texconfig uses them.
+ 
+% 0 0 595 842 is the right bounding box that applications expect
+% for A4.  Since dvips always rounds up, choose something slightly
+% smaller for our paper size.
+
+@ a4 210mm 297mm
 @+ ! %%DocumentPaperSizes: a4
- at + %%PaperSize: a4
+ at + %%BeginPaperSize: a4
+ at + /setpagedevice where
+ at +  { pop << /PageSize [595 842] >> setpagedevice }
+ at +  { /a4 where { pop a4 } if }
+ at + ifelse
+ at + %%EndPaperSize
 
-*@ letterSize 8.5in 11in
+@ letter 8.5in 11in
 @+ ! %%DocumentPaperSizes: Letter
+ at + %%BeginPaperSize: Letter
+ at + /setpagedevice where
+ at +  { pop << /PageSize [612 792] >> setpagedevice }
+ at +  { /letter where { pop letter } if }
+ at + ifelse
+ at + %%EndPaperSize
 
-@ letter 8.5in 11in
+@ a4size 210mm 297mm
+ at + ! %%DocumentPaperSizes: a4
+ at + %%BeginPaperSize: a4
+ at + /setpagedevice where
+ at +  { pop << /PageSize [595 842] >> setpagedevice }
+ at +  { /a4 where { pop a4 } if }
+ at + ifelse
+ at + %%EndPaperSize
+
+@ letterSize 8.5in 11in
 @+ ! %%DocumentPaperSizes: Letter
 @+ %%BeginPaperSize: Letter
- at + %letter
+ at + /setpagedevice where
+ at +  { pop << /PageSize [612 792] >> setpagedevice }
+ at +  { /letter where { pop letter } if }
+ at + ifelse
+ at + %%EndPaperSize
+
+% The jacow paper size is the smaller of letter and a4 in both
+% dimensions, and can therefore hopefully be printed on either paper
+% size.  As far as we know, Volker Schaa first used it for the JACOW
+% conference proceedings that he produced.
+@ jacow 210mm 11in
+ at + ! %%DocumentPaperSizes: jacow
+ at + %%BeginPaperSize: jacow
+ at + /setpagedevice where
+ at +  { pop << /PageSize [595 792] >> setpagedevice }
+ at + if
+ at + %%EndPaperSize
+
+% The smallbook paper size has been used by the Free Software Foundation
+% to print manuals for many years, and is part of Texinfo.
+@ smallbook 7in 9.25in
+ at + ! %%DocumentPaperSizes: smallbook
+ at + %%BeginPaperSize: smallbook
+ at + /setpagedevice where
+ at +  { pop << /PageSize [504 666] >> setpagedevice }
+ at + if
+ at + %%EndPaperSize
+
+@ halfexecutive 133mm 184mm
+ at + ! %%DocumentPaperSizes: halfexecutive
+ at + %%BeginPaperSize: halfexecutive
+ at + /setpagedevice where
+ at +  { pop << /PageSize [378 522] >> setpagedevice }
+ at + if
+ at + %%EndPaperSize
+
+@ halfletter 140mm 216mm
+ at + ! %%DocumentPaperSizes: halfletter
+ at + %%BeginPaperSize: halfletter
+ at + /setpagedevice where
+ at +  { pop << /PageSize [396 612] >> setpagedevice }
+ at + if
+ at + %%EndPaperSize
+
+@ statement 140mm 216mm
+ at + ! %%DocumentPaperSizes: statement
+ at + %%BeginPaperSize: statement
+ at + /setpagedevice where
+ at +  { pop << /PageSize [396 612] >> setpagedevice }
+ at + if
+ at + %%EndPaperSize
+
+@ executive 184mm 267mm
+ at + ! %%DocumentPaperSizes: executive
+ at + %%BeginPaperSize: executive
+ at + /setpagedevice where
+ at +  { pop << /PageSize [522 756] >> setpagedevice }
+ at + if
+ at + %%EndPaperSize
+
+% for powerdot
+@ screen 8.25in 11in
+ at + ! %%DocumentPaperSizes: Screen
+ at + %%BeginPaperSize: Screen
+ at + /setpagedevice where
+ at +  { pop << /PageSize [594 792] >> setpagedevice }
+ at + if
+ at + %%EndPaperSize
+
+% a common size for printers (in north america).
+@ sixbynine 6in 9in
+ at + ! %%DocumentPaperSizes: SixByNine
+ at + %%BeginPaperSize: SixByNine
+ at + /setpagedevice where
+ at +  { pop << /PageSize [432 648] >> setpagedevice }
+ at + if
+ at + %%EndPaperSize
+
+@ quarto 215mm 275mm
+ at + ! %%DocumentPaperSizes: quarto
+ at + %%BeginPaperSize: quarto
+ at + /setpagedevice where
+ at +  { pop << /PageSize [610 780] >> setpagedevice }
+ at + if
+ at + %%EndPaperSize
+
+@ note 216mm 279mm
+ at + ! %%DocumentPaperSizes: note
+ at + %%BeginPaperSize: note
+ at + /setpagedevice where
+ at +  { pop << /PageSize [612 792] >> setpagedevice }
+ at + if
+ at + %%EndPaperSize
+
+@ folio 216mm 330mm
+ at + ! %%DocumentPaperSizes: folio
+ at + %%BeginPaperSize: folio
+ at + /setpagedevice where
+ at +  { pop << /PageSize [612 936] >> setpagedevice }
+ at + if
 @+ %%EndPaperSize
 
 @ legal 8.5in 14in
 @+ ! %%DocumentPaperSizes: Legal
 @+ %%BeginPaperSize: Legal
- at + %legal
+ at + /setpagedevice where
+ at +  { pop << /PageSize [612 1008] >> setpagedevice }
+ at + if
+ at + %%EndPaperSize
+
+@ 10x14 10in 14in
+ at + ! %%DocumentPaperSizes: 10x14
+ at + %%BeginPaperSize: 10x14
+ at + /setpagedevice where
+ at +  { pop << /PageSize [720 1008] >> setpagedevice }
+ at + if
 @+ %%EndPaperSize
 
 @ ledger 17in 11in
 @+ ! %%DocumentPaperSizes: Ledger
 @+ %%BeginPaperSize: Ledger
- at + %ledger
+ at + /setpagedevice where
+ at +  { pop << /PageSize [1224 792] >> setpagedevice }
+ at + if
 @+ %%EndPaperSize
 
 @ tabloid 11in 17in
 @+ ! %%DocumentPaperSizes: Tabloid
 @+ %%BeginPaperSize: Tabloid
- at + %11x17
+ at + /setpagedevice where
+ at +  { pop << /PageSize [792 1224] >> setpagedevice }
+ at + if
 @+ %%EndPaperSize
 
-@ a4 210mm 297mm
- at + ! %%DocumentPaperSizes: a4
- at + %%BeginPaperSize: a4
- at + %a4
+@ 11x17 11in 17in
+ at + ! %%DocumentPaperSizes: 11x17
+ at + %%BeginPaperSize: 11x17
+ at + /setpagedevice where
+ at +  { pop << /PageSize [792 1224] >> setpagedevice }
+ at + if
+ at + %%EndPaperSize
+
+@ a0 841mm 1189mm
+ at + ! %%DocumentPaperSizes: a0
+ at + %%BeginPaperSize: a0
+ at + /setpagedevice where
+ at +  { pop << /PageSize [2384 3370] >> setpagedevice }
+ at +  { /a0 where { pop a0 } if }
+ at + ifelse
+ at + %%EndPaperSize
+
+@ a1 594mm 841mm
+ at + ! %%DocumentPaperSizes: a1
+ at + %%BeginPaperSize: a1
+ at + /setpagedevice where
+ at +  { pop << /PageSize [1684 2384] >> setpagedevice }
+ at +  { /a1 where { pop a1 } if }
+ at + ifelse
+ at + %%EndPaperSize
+
+@ a2 420mm 594mm
+ at + ! %%DocumentPaperSizes: a2
+ at + %%BeginPaperSize: a2
+ at + /setpagedevice where
+ at +  { pop << /PageSize [1191 1684] >> setpagedevice }
+ at +  { /a2 where { pop a2 } if }
+ at + ifelse
 @+ %%EndPaperSize
 
 @ a3 297mm 420mm
 @+ ! %%DocumentPaperSizes: a3
 @+ %%BeginPaperSize: a3
- at + %a3
+ at + /setpagedevice where
+ at +  { pop << /PageSize [842 1191] >> setpagedevice }
+ at +  { /a3 where { pop a3 } if }
+ at + ifelse
+ at + %%EndPaperSize
+
+@ a5 148mm 210mm
+ at + ! %%DocumentPaperSizes: a5
+ at + %%BeginPaperSize: a5
+ at + /setpagedevice where
+ at +  { pop << /PageSize [420 595] >> setpagedevice }
+ at +  { /a5 where { pop a5 } if }
+ at + ifelse
+ at + %%EndPaperSize
+
+@ a6 105mm 148mm
+ at + ! %%DocumentPaperSizes: a6
+ at + %%BeginPaperSize: a6
+ at + /setpagedevice where
+ at +  { pop << /PageSize [298 420] >> setpagedevice }
+ at +  { /a6 where { pop a6 } if }
+ at + ifelse
+ at + %%EndPaperSize
+
+@ a7 74mm 105mm
+ at + ! %%DocumentPaperSizes: a7
+ at + %%BeginPaperSize: a7
+ at + /setpagedevice where
+ at +  { pop << /PageSize [210 298] >> setpagedevice }
+ at +  { /a7 where { pop a7 } if }
+ at + ifelse
+ at + %%EndPaperSize
+
+@ a8 52mm 74mm
+ at + ! %%DocumentPaperSizes: a8
+ at + %%BeginPaperSize: a8
+ at + /setpagedevice where
+ at +  { pop << /PageSize [147 210] >> setpagedevice }
+ at +  { /a8 where { pop a8 } if }
+ at + ifelse
+ at + %%EndPaperSize
+
+@ a9 37mm 52mm
+ at + ! %%DocumentPaperSizes: a9
+ at + %%BeginPaperSize: a9
+ at + /setpagedevice where
+ at +  { pop << /PageSize [105 147] >> setpagedevice }
+ at +  { /a9 where { pop a9 } if }
+ at + ifelse
+ at + %%EndPaperSize
+
+@ a10 26mm 37mm
+ at + ! %%DocumentPaperSizes: a10
+ at + %%BeginPaperSize: a10
+ at + /setpagedevice where
+ at +  { pop << /PageSize [74 105] >> setpagedevice }
+ at +  { /a10 where { pop a10 } if }
+ at + ifelse
+ at + %%EndPaperSize
+
+@ jisb0 1030mm 1456mm
+ at + ! %%DocumentPaperSizes: jisb0
+ at + %%BeginPaperSize: jisb0
+ at + /setpagedevice where
+ at +  { pop << /PageSize [2920 4127] >> setpagedevice }
+ at +  { /jisb0 where { pop jisb0 } if }
+ at + ifelse
+ at + %%EndPaperSize
+
+@ jisb1 728mm 1030mm
+ at + ! %%DocumentPaperSizes: jisb1
+ at + %%BeginPaperSize: jisb1
+ at + /setpagedevice where
+ at +  { pop << /PageSize [2064 2920] >> setpagedevice }
+ at +  { /jisb1 where { pop jisb1 } if }
+ at + ifelse
+ at + %%EndPaperSize
+
+@ jisb2 515mm 728mm
+ at + ! %%DocumentPaperSizes: jisb2
+ at + %%BeginPaperSize: jisb2
+ at + /setpagedevice where
+ at +  { pop << /PageSize [1460 2064] >> setpagedevice }
+ at +  { /jisb2 where { pop jisb2 } if }
+ at + ifelse
+ at + %%EndPaperSize
+
+@ jisb3 364mm 515mm
+ at + ! %%DocumentPaperSizes: jisb3
+ at + %%BeginPaperSize: jisb3
+ at + /setpagedevice where
+ at +  { pop << /PageSize [1032 1460] >> setpagedevice }
+ at +  { /jisb3 where { pop jisb3 } if }
+ at + ifelse
+ at + %%EndPaperSize
+
+@ jisb4 257mm 364mm
+ at + ! %%DocumentPaperSizes: jisb4
+ at + %%BeginPaperSize: jisb4
+ at + /setpagedevice where
+ at +  { pop << /PageSize [729 1032] >> setpagedevice }
+ at +  { /jisb4 where { pop jisb4 } if }
+ at + ifelse
+ at + %%EndPaperSize
+
+@ jisb5 182mm 257mm
+ at + ! %%DocumentPaperSizes: jisb5
+ at + %%BeginPaperSize: jisb5
+ at + /setpagedevice where
+ at +  { pop << /PageSize [516 729] >> setpagedevice }
+ at +  { /jisb5 where { pop jisb5 } if }
+ at + ifelse
+ at + %%EndPaperSize
+
+@ jisb6 128mm 182mm
+ at + ! %%DocumentPaperSizes: jisb6
+ at + %%BeginPaperSize: jisb6
+ at + /setpagedevice where
+ at +  { pop << /PageSize [363 516] >> setpagedevice }
+ at +  { /jisb6 where { pop jisb6 } if }
+ at + ifelse
+ at + %%EndPaperSize
+
+@ jisb7 91mm 128mm
+ at + ! %%DocumentPaperSizes: jisb7
+ at + %%BeginPaperSize: jisb7
+ at + /setpagedevice where
+ at +  { pop << /PageSize [258 363] >> setpagedevice }
+ at +  { /jisb7 where { pop jisb7 } if }
+ at + ifelse
+ at + %%EndPaperSize
+
+@ jisb8 64mm 91mm
+ at + ! %%DocumentPaperSizes: jisb8
+ at + %%BeginPaperSize: jisb8
+ at + /setpagedevice where
+ at +  { pop << /PageSize [181 258] >> setpagedevice }
+ at +  { /jisb8 where { pop jisb8 } if }
+ at + ifelse
+ at + %%EndPaperSize
+
+@ b0 1000mm 1414mm
+ at + ! %%DocumentPaperSizes: b0
+ at + %%BeginPaperSize: b0
+ at + /setpagedevice where
+ at +  { pop << /PageSize [2835 4008] >> setpagedevice }
+ at +  { /b0 where { pop b0 } if }
+ at + ifelse
+ at + %%EndPaperSize
+
+@ b1 707mm 1000mm
+ at + ! %%DocumentPaperSizes: b1
+ at + %%BeginPaperSize: b1
+ at + /setpagedevice where
+ at +  { pop << /PageSize [2004 2835] >> setpagedevice }
+ at +  { /b1 where { pop b1 } if }
+ at + ifelse
+ at + %%EndPaperSize
+
+@ b2 500mm 707mm
+ at + ! %%DocumentPaperSizes: b2
+ at + %%BeginPaperSize: b2
+ at + /setpagedevice where
+ at +  { pop << /PageSize [1417 2004] >> setpagedevice }
+ at +  { /b2 where { pop b2 } if }
+ at + ifelse
+ at + %%EndPaperSize
+
+@ b3 353mm 500mm
+ at + ! %%DocumentPaperSizes: b3
+ at + %%BeginPaperSize: b3
+ at + /setpagedevice where
+ at +  { pop << /PageSize [1001 1417] >> setpagedevice }
+ at +  { /b3 where { pop b3 } if }
+ at + ifelse
+ at + %%EndPaperSize
+
+@ b4 250mm 353mm
+ at + ! %%DocumentPaperSizes: b4
+ at + %%BeginPaperSize: b4
+ at + /setpagedevice where
+ at +  { pop << /PageSize [709 1001] >> setpagedevice }
+ at +  { /b4 where { pop b4 } if }
+ at + ifelse
+ at + %%EndPaperSize
+
+@ b5 176mm 250mm
+ at + ! %%DocumentPaperSizes: b5
+ at + %%BeginPaperSize: b5
+ at + /setpagedevice where
+ at +  { pop << /PageSize [499 709] >> setpagedevice }
+ at +  { /b5 where { pop b5 } if }
+ at + ifelse
+ at + %%EndPaperSize
+
+@ b6 125mm 176mm
+ at + ! %%DocumentPaperSizes: b6
+ at + %%BeginPaperSize: b6
+ at + /setpagedevice where
+ at +  { pop << /PageSize [354 499] >> setpagedevice }
+ at +  { /b6 where { pop b6 } if }
+ at + ifelse
+ at + %%EndPaperSize
+
+@ c5 162mm 229mm
+ at + ! %%DocumentPaperSizes: c5
+ at + %%BeginPaperSize: c5
+ at + /setpagedevice where
+ at +  { pop << /PageSize [459 649] >> setpagedevice }
+ at +  { /c5 where { pop c5 } if }
+ at + ifelse
+ at + %%EndPaperSize
+
+@ DL 110mm 220mm
+ at + ! %%DocumentPaperSizes: DL
+ at + %%BeginPaperSize: DL
+ at + /setpagedevice where
+ at +  { pop << /PageSize [312 624] >> setpagedevice }
+ at + if
+ at + %%EndPaperSize
+
+@ Comm10 105mm 241mm
+ at + ! %%DocumentPaperSizes: Comm10
+ at + %%BeginPaperSize: Comm10
+ at + /setpagedevice where
+ at +  { pop << /PageSize [297 684] >> setpagedevice }
+ at + if
+ at + %%EndPaperSize
+
+@ Monarch 98.4mm 190.5mm
+ at + ! %%DocumentPaperSizes: Monarch
+ at + %%BeginPaperSize: Monarch
+ at + /setpagedevice where
+ at +  { pop << /PageSize [279 540] >> setpagedevice }
+ at + if
+ at + %%EndPaperSize
+
+@ archE 36in 48in
+ at + ! %%DocumentPaperSizes: archE
+ at + %%BeginPaperSize: archE
+ at + /setpagedevice where
+ at +  { pop << /PageSize [2592 3456] >> setpagedevice }
+ at + if
+ at + %%EndPaperSize
+
+@ archD 24in 36in
+ at + ! %%DocumentPaperSizes: archD
+ at + %%BeginPaperSize: archD
+ at + /setpagedevice where
+ at +  { pop << /PageSize [1728 2592] >> setpagedevice }
+ at + if
+ at + %%EndPaperSize
+
+@ archC 18in 24in
+ at + ! %%DocumentPaperSizes: archC
+ at + %%BeginPaperSize: archC
+ at + /setpagedevice where
+ at +  { pop << /PageSize [1296 1728] >> setpagedevice }
+ at + if
+ at + %%EndPaperSize
+
+@ archB 12in 18in
+ at + ! %%DocumentPaperSizes: archB
+ at + %%BeginPaperSize: archB
+ at + /setpagedevice where
+ at +  { pop << /PageSize [864 1296] >> setpagedevice }
+ at + if
+ at + %%EndPaperSize
+
+@ archA 9in 12in
+ at + ! %%DocumentPaperSizes: archA
+ at + %%BeginPaperSize: archA
+ at + /setpagedevice where
+ at +  { pop << /PageSize [648 864] >> setpagedevice }
+ at + if
+ at + %%EndPaperSize
+
+@ flsa 216mm 330.2mm
+ at + ! %%DocumentPaperSizes: flsa
+ at + %%BeginPaperSize: flsa
+ at + /setpagedevice where
+ at +  { pop << /PageSize [612 936] >> setpagedevice }
+ at + if
+ at + %%EndPaperSize
+
+@ flse 216mm 330.2mm
+ at + ! %%DocumentPaperSizes: flse
+ at + %%BeginPaperSize: flse
+ at + /setpagedevice where
+ at +  { pop << /PageSize [612 936] >> setpagedevice }
+ at + if
+ at + %%EndPaperSize
+
+@ csheet 431.8mm 558.8mm
+ at + ! %%DocumentPaperSizes: csheet
+ at + %%BeginPaperSize: csheet
+ at + /setpagedevice where
+ at +  { pop << /PageSize [1224 1584] >> setpagedevice }
+ at + if
+ at + %%EndPaperSize
+
+@ dsheet 558.8mm 863.6mm
+ at + ! %%DocumentPaperSizes: dsheet
+ at + %%BeginPaperSize: dsheet
+ at + /setpagedevice where
+ at +  { pop << /PageSize [1584 2448] >> setpagedevice }
+ at + if
+ at + %%EndPaperSize
+
+@ esheet 863.6mm 1117.6mm
+ at + ! %%DocumentPaperSizes: esheet
+ at + %%BeginPaperSize: esheet
+ at + /setpagedevice where
+ at +  { pop << /PageSize [2448 3168] >> setpagedevice }
+ at + if
 @+ %%EndPaperSize
 
 @ unknown 0in 0in

texlive-elif.patch:
 ParagraphLayout.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- NEW FILE texlive-elif.patch ---
diff -up texlive-2007/libs/icu-xetex/layoutex/ParagraphLayout.cpp.elif texlive-2007/libs/icu-xetex/layoutex/ParagraphLayout.cpp
--- texlive-2007/libs/icu-xetex/layoutex/ParagraphLayout.cpp.elif	2006-07-25 14:37:43.000000000 +0200
+++ texlive-2007/libs/icu-xetex/layoutex/ParagraphLayout.cpp	2009-02-26 10:28:40.000000000 +0100
@@ -745,7 +745,7 @@ le_int32 ParagraphLayout::getLanguageCod
 
     return nullLanguageCode;
 }
-#elif
+#else
 
 // TODO - dummy implementation for right now...
 le_int32 ParagraphLayout::getLanguageCode(const Locale *locale)

texlive-getline.patch:
 afm2pl/afm2pl.c     |   12 ++++++------
 dvipsk/afm2tfm.c    |    8 ++++----
 web2c/cpascal.h     |    1 +
 web2c/mpware/mpto.c |    8 ++++----
 4 files changed, 15 insertions(+), 14 deletions(-)

--- NEW FILE texlive-getline.patch ---
diff -up texlive-2007/texk/afm2pl/afm2pl.c.getline texlive-2007/texk/afm2pl/afm2pl.c
--- texlive-2007/texk/afm2pl/afm2pl.c.getline	2006-01-17 22:41:51.000000000 +0100
+++ texlive-2007/texk/afm2pl/afm2pl.c	2009-04-02 15:18:30.000000000 +0200
@@ -345,7 +345,7 @@ P2C (register int, x, register int, y)
 
 /* read a line from infile into buffer and obuffer */
 int
-  getline
+  _getline
 P1H (void)
 {
   register char *p;
@@ -781,7 +781,7 @@ P1H (void)
     afmencoding->vec[i] = ".notdef";
   afmencoding->name = "Unspecified";
 
-  while (getline ()) {
+  while (_getline ()) {
     switch (interest (paramstring ())) {
     case FontName:
       fontname = paramnewstring ();
@@ -963,7 +963,7 @@ gettoken ()
 
   while (1) {
     while (param == 0 || *param == 0) {
-      if (getline () == 0)
+      if (_getline () == 0)
         error ("! premature end in encoding file");
     }
     if (param[0] == '%') {
@@ -1540,7 +1540,7 @@ extraligkerninfo ()
     encfilename =
       openin (encfilename, kpse_enc_format, ".enc");
     for (lig_it = 0; lig_it < 2; lig_it++) {
-      while (getline ()) {
+      while (_getline ()) {
         /* search for (ligkern) comment in line */
         for (p = buffer; *p; p++)
           if (*p == '%') {
@@ -1576,7 +1576,7 @@ extraligkerninfo ()
     for (i = 0; i < ligfilenames->n; i++) {
       ligfilename = openin (ligfilenames->names[i],
                             kpse_lig_format, ".lig");
-      while (getline ())
+      while (_getline ())
         checkligkern (buffer, 0);       /* 2nd param 0: lig file */
       fclose (infile);
     }
@@ -1607,7 +1607,7 @@ extraligkerninfo ()
   for (i = 0; i < Ligfilenames->n; i++) {
     ligfilename = openin (Ligfilenames->names[i],
                           kpse_lig_format, ".lig");
-    while (getline ())
+    while (_getline ())
       checkligkern (buffer, 0);       /* 2nd param 0: lig file */
     fclose (infile);
   }
diff -up texlive-2007/texk/dvipsk/afm2tfm.c.getline texlive-2007/texk/dvipsk/afm2tfm.c
--- texlive-2007/texk/dvipsk/afm2tfm.c.getline	2009-04-02 15:10:49.000000000 +0200
+++ texlive-2007/texk/dvipsk/afm2tfm.c	2009-04-02 15:20:59.000000000 +0200
@@ -257,7 +257,7 @@ transform P2C(register int, x, register 
 }
 
 int
-getline P1H(void) {
+_getline P1H(void) {
    register char *p ;
    register int c ;
 
@@ -612,7 +612,7 @@ readadobe P1H(void) {
    ai = newchar() ;
    ai->adobenum = -1 ;
    ai->adobename = "||" ; /* boundary character name */
-   while (getline()) {
+   while (_getline()) {
       switch(interest(paramstring())) {
 case FontName:
          fontname = paramnewstring() ;
@@ -1888,7 +1888,7 @@ char *gettoken() {
 
    while (1) {
       while (param == 0 || *param == 0) {
-         if (getline() == 0)
+         if (_getline() == 0)
             error("! premature end in encoding file") ;
          for (p=buffer; *p; p++)
             if (*p == '%') {
@@ -1979,7 +1979,7 @@ struct encoding *readencoding P1C(char *
       p = gettoken() ;
       if (strcmp(p, "]"))
          error("! token 258 in encoding must be make-array (])") ;
-      while (getline()) {
+      while (_getline()) {
          for (p=buffer; *p; p++)
             if (*p == '%') {
                if (ignoreligkern == 0)
diff -up texlive-2007/texk/web2c/cpascal.h.getline texlive-2007/texk/web2c/cpascal.h
--- texlive-2007/texk/web2c/cpascal.h.getline	2006-12-27 00:37:34.000000000 +0100
+++ texlive-2007/texk/web2c/cpascal.h	2009-04-02 15:10:49.000000000 +0200
@@ -14,6 +14,7 @@
 
 /* We must include this first, to resolve many C issues.  */
 #include "config.h"
+#define getline _getline
 
 /* We only use getopt in the applications, not in web2c itself.  */
 #include <kpathsea/getopt.h>
diff -up texlive-2007/texk/web2c/mpware/mpto.c.getline texlive-2007/texk/web2c/mpware/mpto.c
--- texlive-2007/texk/web2c/mpware/mpto.c.getline	2006-11-28 14:24:53.000000000 +0100
+++ texlive-2007/texk/web2c/mpware/mpto.c	2009-04-02 15:10:50.000000000 +0200
@@ -99,7 +95,7 @@ usage(char *progn)
 }
 
 char *
-getline(void)
+_getline(void)
 {				/* returns NULL on EOF or error, otherwise buf */
     int c;
     unsigned loc = 0;
@@ -304,11 +300,11 @@ copytex(void)
     while (*aa == ' ' || *aa == '\t')
 	aa++;
     if (*aa == 0)
-	if ((aa = getline()) == NULL)
+	if ((aa = _getline()) == NULL)
 	    err("btex section does not end");
     do {
 	if (*aa == 0)
-	    if ((aa = getline()) == NULL)
+	    if ((aa = _getline()) == NULL)
 		err("btex section does not end");
 	    else
 		printf("\n");
@@ -465,7 +461,7 @@ Current maintainer: Taco Hoekwater.\n");
 	postverb = troff_postverb;
     }
     printf("%s", predoc);
-    while (getline() != NULL)
+    while (_getline() != NULL)
 	do_line();
     printf("%s", postdoc);
     exit(0);

texlive-poolfix.patch:
 bibtex.ch |    9 +++++++++
 1 file changed, 9 insertions(+)

--- NEW FILE texlive-poolfix.patch ---
diff -up texlive-2007/texk/web2c/bibtex.ch.poolfix texlive-2007/texk/web2c/bibtex.ch
--- texlive-2007/texk/web2c/bibtex.ch.poolfix	2006-12-27 00:37:34.000000000 +0100
+++ texlive-2007/texk/web2c/bibtex.ch	2009-10-16 06:55:52.000000000 +0200
@@ -1134,6 +1134,15 @@ while ((ex_buf_xptr < ex_buf_ptr) and
 @y
 @z
 
+% Forgot to check for pool overflow here.  Triggered by test case linked
+% from http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=520920.
+ at x
+while (sp_ptr < sp_end) do                      {shift the substring}
+ at y
+str_room(sp_end - sp_ptr);
+while (sp_ptr < sp_end) do                      {shift the substring}
+ at z
+
 % [459] Eliminate unreferenced statement label, because `undefined' is
 % now a constant expression that is not evaluated at the Web level. If
 % this label were ever required, it could be replaced by the constant

texlive-lacheck.patch:
 lacheck.lex |   16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)

Index: texlive-lacheck.patch
===================================================================
RCS file: /cvs/pkgs/rpms/texlive/F-10/texlive-lacheck.patch,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- texlive-lacheck.patch	27 Aug 2008 13:45:49 -0000	1.2
+++ texlive-lacheck.patch	21 Oct 2009 17:26:46 -0000	1.3
@@ -15,3 +15,30 @@ diff -up texlive-2007/texk/lacheck/lache
  }
  
  void e_checkend(n, name)
+@@ -1075,6 +1075,7 @@ char *name;
+ 	{
+ 	  print_bad_match(name,3);
+           pop();
++          if (gstackp <= 0) return;
+         }
+ 
+          pop();  
+@@ -1090,11 +1091,13 @@ int type;
+ 		 line_count, 
+ 		 eg_command( end_command , type) ) ;
+ 
+-	  printf("\"%s\", line %d: -> unmatched \"%s\"\n",
+-	         CG_FILE, 
+-		 CG_LINE, 
+-		 bg_command( CG_NAME ) ) ;
+-	  warn_count += 2;
++	  if (gstackp > 0) {
++		 printf("\"%s\", line %d: -> unmatched \"%s\"\n",
++		 	 CG_FILE, 
++		 	 CG_LINE, 
++		 	 bg_command( CG_NAME ) ) ;
++		 warn_count += 2;
++	  }
+ }
+ 
+ int check_top_level_end(end_command,type)

texlive-poppler.patch:
 configure                           |    6 ++--
 configure.in                        |    8 +++---
 texk/web2c/pdftexdir/pdftex.mk      |    7 ++++-
 texk/web2c/pdftexdir/pdftexextra.in |    2 -
 texk/web2c/pdftexdir/pdftoepdf.cc   |   45 +++++++++++++++++-------------------
 texk/web2c/pdftexdir/pdftosrc.cc    |   37 +++++++++++++++--------------
 texk/web2c/pdftexdir/utils.c        |    6 ++--
 texk/web2c/xetexdir/XeTeX_ext.c     |    8 ++----
 texk/web2c/xetexdir/pdfimage.cpp    |   24 +++++++++++++++----
 texk/web2c/xetexdir/xetex.mk        |   10 +++++---
 10 files changed, 86 insertions(+), 67 deletions(-)

Index: texlive-poppler.patch
===================================================================
RCS file: /cvs/pkgs/rpms/texlive/F-10/texlive-poppler.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- texlive-poppler.patch	2 Dec 2007 08:03:19 -0000	1.1
+++ texlive-poppler.patch	21 Oct 2009 17:26:46 -0000	1.2
@@ -1,6 +1,59 @@
+diff -up texlive-2007/configure.in.poppler texlive-2007/configure.in
+--- texlive-2007/configure.in.poppler	2007-01-09 02:17:11.000000000 +0100
++++ texlive-2007/configure.in	2009-10-15 14:57:43.000000000 +0200
+@@ -157,9 +157,9 @@ export needs_zlib
+ 
+ # we need libxpdf for pdf[ex]tex, xetex
+ test ! -d $srcdir/$LIBXPDFDIR && : ${needs_libxpdf=no}
+-test "$with_pdftex"  != no    && : ${needs_libxpdf=yes}
+-test "$with_pdfetex" != no    && : ${needs_libxpdf=yes}
+-test "$with_xetex"   != no    && : ${needs_libxpdf=yes}
++test "$with_pdftex"  != no    && : ${needs_libxpdf=no}
++test "$with_pdfetex" != no    && : ${needs_libxpdf=no}
++test "$with_xetex"   != no    && : ${needs_libxpdf=no}
+ : ${needs_libxpdf=no}
+ export needs_libxpdf
+ 
+@@ -207,7 +207,7 @@ dnl We cannot use variables (e.g. $LIBPN
+ sinclude(libs/libpng/libpng.ac)
+ sinclude(libs/zlib/zlib.ac)
+ sinclude(libs/ncurses/ncurses.ac)
+-sinclude(libs/xpdf/libxpdf.ac)
++#sinclude(libs/xpdf/libxpdf.ac)
+ sinclude(libs/t1lib/t1lib.ac)
+ sinclude(libs/gd/gd.ac)
+ sinclude(libs/freetype/freetype.ac)
+diff -up texlive-2007/configure.poppler texlive-2007/configure
+--- texlive-2007/configure.poppler	2007-01-09 15:16:26.000000000 +0100
++++ texlive-2007/configure	2009-10-15 14:57:43.000000000 +0200
+@@ -3442,9 +3442,9 @@ export needs_zlib
+ 
+ # we need libxpdf for pdf[ex]tex, xetex
+ test ! -d $srcdir/$LIBXPDFDIR && : ${needs_libxpdf=no}
+-test "$with_pdftex"  != no    && : ${needs_libxpdf=yes}
+-test "$with_pdfetex" != no    && : ${needs_libxpdf=yes}
+-test "$with_xetex"   != no    && : ${needs_libxpdf=yes}
++test "$with_pdftex"  != no    && : ${needs_libxpdf=no}
++test "$with_pdfetex" != no    && : ${needs_libxpdf=no}
++test "$with_xetex"   != no    && : ${needs_libxpdf=no}
+ : ${needs_libxpdf=no}
+ export needs_libxpdf
+ 
+diff -up texlive-2007/texk/web2c/pdftexdir/pdftexextra.in.poppler texlive-2007/texk/web2c/pdftexdir/pdftexextra.in
+--- texlive-2007/texk/web2c/pdftexdir/pdftexextra.in.poppler	2006-12-27 00:37:34.000000000 +0100
++++ texlive-2007/texk/web2c/pdftexdir/pdftexextra.in	2009-10-15 14:57:43.000000000 +0200
+@@ -26,7 +26,7 @@ $Id: pdftexextra.in,v 1.4 2004/08/26 18:
+    (generated from ../lib/texmfmp.c).
+ */
+ 
+-#define BANNER "This is pdfTeX, Version 3.141592-PDFTEX-VERSION-ETEX-VERSION"
++#define BANNER "This is pdfTeX using libpoppler, Version 3.141592-PDFTEX-VERSION-ETEX-VERSION"
+ #define COPYRIGHT_HOLDER "Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX)"
+ #define AUTHOR NULL
+ #define PROGRAM_HELP PDFTEXHELP
 diff -up texlive-2007/texk/web2c/pdftexdir/pdftex.mk.poppler texlive-2007/texk/web2c/pdftexdir/pdftex.mk
 --- texlive-2007/texk/web2c/pdftexdir/pdftex.mk.poppler	2006-12-27 00:37:34.000000000 +0100
-+++ texlive-2007/texk/web2c/pdftexdir/pdftex.mk	2007-11-28 11:53:15.000000000 +0100
++++ texlive-2007/texk/web2c/pdftexdir/pdftex.mk	2009-10-15 14:57:43.000000000 +0200
 @@ -2,6 +2,9 @@
  # This fragment contains the parts of the makefile that are most likely to
  # differ between releases of pdfeTeX.
@@ -31,7 +84,7 @@ diff -up texlive-2007/texk/web2c/pdftexd
  check: pdftosrc-check
 diff -up texlive-2007/texk/web2c/pdftexdir/pdftoepdf.cc.poppler texlive-2007/texk/web2c/pdftexdir/pdftoepdf.cc
 --- texlive-2007/texk/web2c/pdftexdir/pdftoepdf.cc.poppler	2006-12-27 00:37:34.000000000 +0100
-+++ texlive-2007/texk/web2c/pdftexdir/pdftoepdf.cc	2007-11-28 11:53:15.000000000 +0100
++++ texlive-2007/texk/web2c/pdftexdir/pdftoepdf.cc	2009-10-15 14:57:52.000000000 +0200
 @@ -26,25 +26,24 @@ $Id: pdftoepdf.cc,v 1.9 2006/09/01 18:06
  #include <stdio.h>
  #include <string.h>
@@ -93,6 +146,24 @@ diff -up texlive-2007/texk/web2c/pdftexd
      if (obj->isBool()) {
          pdf_printf("%s", obj->getBool()? "true" : "false");
      } else if (obj->isInt()) {
+@@ -634,7 +633,7 @@ static void writeEncodings()
+     }
+     for (r = encodingList; r != 0; r = n) {
+         n = r->next;
+-        delete r->font;
++        r->font->decRefCnt();
+         delete r;
+     }
+ }
+@@ -689,7 +688,7 @@ read_pdf_info(char *image_name, char *pa
+     // this works only for PDF 1.x -- but since any versions of PDF newer
+     // than 1.x will not be backwards compatible to PDF 1.x, pdfTeX will
+     // then have to changed drastically anyway.
+-    pdf_version_found = pdf_doc->doc->getPDFVersion();
++    pdf_version_found = pdf_doc->doc->getPDFMajorVersion() + pdf_doc->doc->getPDFMinorVersion()/10.;
+     pdf_version_wanted = 1 + (minor_pdf_version_wanted * 0.1);
+     if (pdf_version_found > pdf_version_wanted) {
+         char msg[] =
 @@ -703,7 +702,7 @@ read_pdf_info(char *image_name, char *pa
      epdf_num_pages = pdf_doc->doc->getCatalog()->getNumPages();
      if (page_name) {
@@ -102,21 +173,9 @@ diff -up texlive-2007/texk/web2c/pdftexd
          LinkDest *link = pdf_doc->doc->findDest(&name);
          if (link == 0 || !link->isOk())
              pdftex_fail("PDF inclusion: invalid destination <%s>", page_name);
-diff -up texlive-2007/texk/web2c/pdftexdir/pdftexextra.in.poppler texlive-2007/texk/web2c/pdftexdir/pdftexextra.in
---- texlive-2007/texk/web2c/pdftexdir/pdftexextra.in.poppler	2006-12-27 00:37:34.000000000 +0100
-+++ texlive-2007/texk/web2c/pdftexdir/pdftexextra.in	2007-11-28 11:53:15.000000000 +0100
-@@ -26,7 +26,7 @@ $Id: pdftexextra.in,v 1.4 2004/08/26 18:
-    (generated from ../lib/texmfmp.c).
- */
- 
--#define BANNER "This is pdfTeX, Version 3.141592-PDFTEX-VERSION-ETEX-VERSION"
-+#define BANNER "This is pdfTeX using libpoppler, Version 3.141592-PDFTEX-VERSION-ETEX-VERSION"
- #define COPYRIGHT_HOLDER "Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX)"
- #define AUTHOR NULL
- #define PROGRAM_HELP PDFTEXHELP
 diff -up texlive-2007/texk/web2c/pdftexdir/pdftosrc.cc.poppler texlive-2007/texk/web2c/pdftexdir/pdftosrc.cc
 --- texlive-2007/texk/web2c/pdftexdir/pdftosrc.cc.poppler	2006-12-27 00:37:34.000000000 +0100
-+++ texlive-2007/texk/web2c/pdftexdir/pdftosrc.cc	2007-11-28 12:03:48.000000000 +0100
++++ texlive-2007/texk/web2c/pdftexdir/pdftosrc.cc	2009-10-15 14:57:43.000000000 +0200
 @@ -25,22 +25,23 @@ $Id: //depot/Build/source.development/Te
  #include <stdio.h>
  #include <string.h>
@@ -165,7 +224,14 @@ diff -up texlive-2007/texk/web2c/pdftexd
      Stream *s;
      Object srcStream, srcName, catalogDict;
      FILE *outfile;
-@@ -62,7 +63,7 @@ int main(int argc, char *argv[])
+@@ -56,13 +57,13 @@ int main(int argc, char *argv[])
+     int objnum = 0, objgen = 0;
+     bool extract_xref_table = false;
+     int c;
+-    fprintf(stderr, "pdftosrc version %s\n", xpdfVersion);
++    fprintf(stderr, "pdftosrc\n");
+     if (argc < 2) {
+         fprintf(stderr,
                  "Usage: pdftosrc <PDF-file> [<stream-object-number>]\n");
          exit(1);
      }
@@ -176,8 +242,8 @@ diff -up texlive-2007/texk/web2c/pdftexd
      if (!doc->isOk()) {
 diff -up texlive-2007/texk/web2c/pdftexdir/utils.c.poppler texlive-2007/texk/web2c/pdftexdir/utils.c
 --- texlive-2007/texk/web2c/pdftexdir/utils.c.poppler	2007-01-01 18:20:03.000000000 +0100
-+++ texlive-2007/texk/web2c/pdftexdir/utils.c	2007-11-28 11:53:15.000000000 +0100
-@@ -37,7 +39,7 @@ $Id: //depot/Build/source.development/Te
++++ texlive-2007/texk/web2c/pdftexdir/utils.c	2009-10-15 14:57:43.000000000 +0200
+@@ -37,7 +37,7 @@ $Id: //depot/Build/source.development/Te
  #include "zlib.h"
  #include "ptexlib.h"
  #include "png.h"
@@ -186,18 +252,21 @@ diff -up texlive-2007/texk/web2c/pdftexd
  
  #define check_nprintf(size_get, size_want) \
      if ((unsigned)(size_get) >= (unsigned)(size_want)) \
-@@ -1261,7 +1263,7 @@ void initversionstring(char **versions)
+@@ -1261,9 +1261,9 @@ void initversionstring(char **versions)
      (void) asprintf(versions,
                      "Compiled with libpng %s; using libpng %s\n"
                      "Compiled with zlib %s; using zlib %s\n"
 -                    "Compiled with xpdf version %s\n",
-+                    "Compiled with libpoppler version %s\n",
++                    "Compiled with libpoppler\n",
                      PNG_LIBPNG_VER_STRING, png_libpng_ver,
-                     ZLIB_VERSION, zlib_version, xpdfVersion);
+-                    ZLIB_VERSION, zlib_version, xpdfVersion);
++                    ZLIB_VERSION, zlib_version);
  }
+ 
+ 
 diff -up texlive-2007/texk/web2c/xetexdir/pdfimage.cpp.poppler texlive-2007/texk/web2c/xetexdir/pdfimage.cpp
 --- texlive-2007/texk/web2c/xetexdir/pdfimage.cpp.poppler	2006-12-09 11:29:12.000000000 +0100
-+++ texlive-2007/texk/web2c/xetexdir/pdfimage.cpp	2007-11-28 11:53:15.000000000 +0100
++++ texlive-2007/texk/web2c/xetexdir/pdfimage.cpp	2009-10-15 14:57:43.000000000 +0200
 @@ -11,10 +11,24 @@
  
  #include "pdfimage.h"
@@ -238,7 +307,7 @@ diff -up texlive-2007/texk/web2c/xetexdi
  	if (!doc) {
 diff -up texlive-2007/texk/web2c/xetexdir/XeTeX_ext.c.poppler texlive-2007/texk/web2c/xetexdir/XeTeX_ext.c
 --- texlive-2007/texk/web2c/xetexdir/XeTeX_ext.c.poppler	2007-01-15 14:04:36.000000000 +0100
-+++ texlive-2007/texk/web2c/xetexdir/XeTeX_ext.c	2007-11-28 11:53:15.000000000 +0100
++++ texlive-2007/texk/web2c/xetexdir/XeTeX_ext.c	2009-10-15 14:57:43.000000000 +0200
 @@ -33,7 +33,7 @@ authorization from SIL International.
   */
  
@@ -253,13 +322,31 @@ diff -up texlive-2007/texk/web2c/xetexdi
  		"Compiled with fontconfig version %d.%d.%d; using %d.%d.%d\n"
  		"Compiled with libpng version %s; using %s\n"
 -		"Compiled with xpdf version %s\n"
-+		"Compiled with libpoppler version %s\n"
++		"Compiled with libpoppler\n"
  #endif
  		;
  
+@@ -205,7 +205,6 @@ void initversionstring(char **versions)
+ #ifdef XETEX_OTHER
+ 			+ strlen(PNG_LIBPNG_VER_STRING)
+ 			+ strlen(png_libpng_ver)
+-			+ strlen(xpdfVersion)
+ 			+ 6 * 3 /* for fontconfig version #s (won't really need 3 digits per field!) */
+ #endif
+ 			+ 6 * 3; /* for freetype version #s (ditto) */
+@@ -229,8 +228,7 @@ void initversionstring(char **versions)
+ 		,
+ 		FC_VERSION / 10000, (FC_VERSION % 10000) / 100, FC_VERSION % 100,
+ 		fc_version / 10000, (fc_version % 10000) / 100, fc_version % 100,
+-		PNG_LIBPNG_VER_STRING, png_libpng_ver,
+-		xpdfVersion
++		PNG_LIBPNG_VER_STRING, png_libpng_ver
+ #endif
+ 		);
+ }
 diff -up texlive-2007/texk/web2c/xetexdir/xetex.mk.poppler texlive-2007/texk/web2c/xetexdir/xetex.mk
---- texlive-2007/texk/web2c/xetexdir/xetex.mk.poppler	2007-11-28 11:53:15.000000000 +0100
-+++ texlive-2007/texk/web2c/xetexdir/xetex.mk	2007-11-28 11:53:15.000000000 +0100
+--- texlive-2007/texk/web2c/xetexdir/xetex.mk.poppler	2009-10-15 14:57:41.000000000 +0200
++++ texlive-2007/texk/web2c/xetexdir/xetex.mk	2009-10-15 14:57:43.000000000 +0200
 @@ -4,6 +4,10 @@
  
  Makefile: $(srcdir)/xetexdir/xetex.mk
@@ -298,44 +385,3 @@ diff -up texlive-2007/texk/web2c/xetexdi
  XeTeX_mac.o: $(srcdir)/xetexdir/XeTeX_mac.c xetexd.h
  	$(compile) $(ICUCFLAGS) $(TECKITFLAGS) $(ALL_CFLAGS) $(XETEX_DEFINES) -c $< -o $@
  
-diff -up texlive-2007/configure.poppler texlive-2007/configure
---- texlive-2007/configure.poppler	2007-01-09 15:16:26.000000000 +0100
-+++ texlive-2007/configure	2007-11-28 11:53:15.000000000 +0100
-@@ -3442,9 +3442,9 @@ export needs_zlib
- 
- # we need libxpdf for pdf[ex]tex, xetex
- test ! -d $srcdir/$LIBXPDFDIR && : ${needs_libxpdf=no}
--test "$with_pdftex"  != no    && : ${needs_libxpdf=yes}
--test "$with_pdfetex" != no    && : ${needs_libxpdf=yes}
--test "$with_xetex"   != no    && : ${needs_libxpdf=yes}
-+test "$with_pdftex"  != no    && : ${needs_libxpdf=no}
-+test "$with_pdfetex" != no    && : ${needs_libxpdf=no}
-+test "$with_xetex"   != no    && : ${needs_libxpdf=no}
- : ${needs_libxpdf=no}
- export needs_libxpdf
- 
-diff -up texlive-2007/configure.in.poppler texlive-2007/configure.in
---- texlive-2007/configure.in.poppler	2007-01-09 02:17:11.000000000 +0100
-+++ texlive-2007/configure.in	2007-11-28 11:53:15.000000000 +0100
-@@ -157,9 +157,9 @@ export needs_zlib
- 
- # we need libxpdf for pdf[ex]tex, xetex
- test ! -d $srcdir/$LIBXPDFDIR && : ${needs_libxpdf=no}
--test "$with_pdftex"  != no    && : ${needs_libxpdf=yes}
--test "$with_pdfetex" != no    && : ${needs_libxpdf=yes}
--test "$with_xetex"   != no    && : ${needs_libxpdf=yes}
-+test "$with_pdftex"  != no    && : ${needs_libxpdf=no}
-+test "$with_pdfetex" != no    && : ${needs_libxpdf=no}
-+test "$with_xetex"   != no    && : ${needs_libxpdf=no}
- : ${needs_libxpdf=no}
- export needs_libxpdf
- 
-@@ -207,7 +207,7 @@ dnl We cannot use variables (e.g. $LIBPN
- sinclude(libs/libpng/libpng.ac)
- sinclude(libs/zlib/zlib.ac)
- sinclude(libs/ncurses/ncurses.ac)
--sinclude(libs/xpdf/libxpdf.ac)
-+#sinclude(libs/xpdf/libxpdf.ac)
- sinclude(libs/t1lib/t1lib.ac)
- sinclude(libs/gd/gd.ac)
- sinclude(libs/freetype/freetype.ac)


Index: texlive.spec
===================================================================
RCS file: /cvs/pkgs/rpms/texlive/F-10/texlive.spec,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -p -r1.43 -r1.44
--- texlive.spec	27 Aug 2008 13:45:49 -0000	1.43
+++ texlive.spec	21 Oct 2009 17:26:46 -0000	1.44
@@ -21,7 +21,7 @@
 
 Name:		texlive
 Version:	%{texlive_ver}
-Release:	35%{?dist}
+Release:	45%{?dist}
 Summary:	Binaries for the TeX formatting system
 
 Group:		Applications/Publishing
@@ -35,7 +35,6 @@ URL:		http://tug.org/texlive/
 # non free source files removed with texlive-generate-tarball.sh
 Source0:	source-free.tar.bz2
 
-Source10:	texlive.cron
 # Filter out bad requirements (RH bug #59819).
 Source99:	texlive-filter-requires.sh
 Source100:	texlive-generate-tarball.sh
@@ -46,7 +45,7 @@ Source1001:	ftp://ftp.ascii.co.jp/pub/Te
 Source1002:	ftp://ftp.ascii.co.jp/pub/TeX/ascii-ptex/mendex/mendexk%{mendexk_ver}.tar.gz
 
 # Don't run brp-python-bytecompile
-%define __os_install_post  /usr/lib/rpm/redhat/brp-compress /usr/lib/rpm/redhat/brp-strip %{__strip} /usr/lib/rpm/redhat/brp-strip-static-archive %{__strip} /usr/lib/rpm/redhat/brp-strip-comment-note %{__strip} %{__objdump} %{nil}
+%define __os_install_post  /usr/lib/rpm/brp-compress /usr/lib/rpm/brp-strip %{__strip} /usr/lib/rpm/brp-strip-static-archive %{__strip} /usr/lib/rpm/brp-strip-comment-note %{__strip} %{__objdump} %{nil}
 
 ######
 # Red Hat-specific TeX configuration patches
@@ -75,6 +74,10 @@ Patch27:	texlive-poppler.patch
 Patch28:	texlive-man-notetex.patch
 Patch29:	texlive-man-context.patch
 Patch30:	texlive-lacheck.patch
+Patch31:	texlive-elif.patch
+Patch32:	texlive-getline.patch
+Patch33:	texlive-poolfix.patch
+Patch34:	texlive-dvipsconfig.patch
 
 ######
 # mpeters contributed patches
@@ -295,6 +298,7 @@ Group: Applications/Publishing
 Requires: texlive = %{version}-%{release}
 Requires: texlive-latex = %{version}-%{release}
 Requires: texlive-texmf-dvips = %{version}
+Requires: texlive-texmf-east-asian = %{version}
 Requires: texlive-texmf-errata-east-asian = %{version}
 Requires: mendexk
 Obsoletes: texlive-japanese < 2007-20
@@ -318,18 +322,19 @@ Provides: tex(context)
 ConTeXt is a document preparation system based on TeX.
 
 %package -n kpathsea
-Summary: Shared library needed by kpathsea and info files
+Summary: Path searching library for TeX-related files
 Group:   Development/Libraries
 Obsoletes: tetex-fonts < 3.0-99
-Requires: texlive = %{version}-%{release}
 
 %description -n kpathsea
-Shared library needed by kpathsea and info files.
+The library is at the centre of pretty much all Unix-based TeX
+executable. It is no longer distributed separately, but rather
+consititutes a central part of the sources of the TeX-live
+distribution.
 
 %package -n kpathsea-devel
 Summary: Files needed to build software against kpathsea
 Group:   Development/Libraries
-Requires:  kpathsea = %{version}-%{release}
 
 %description -n kpathsea-devel
 This package includes the kpathsea header files and the libkpathsea.so
@@ -390,6 +395,10 @@ chmod -x texk/dvipdfm/encodings.c
 %patch28 -p1 -b .notetex
 %patch29 -p1 -b .man-context
 %patch30 -p1 -b .lacheck
+%patch31 -p1 -b .elif
+%patch32 -p1 -b .getline
+%patch33 -p1 -b .poolfix
+%patch34 -p1 -b .dvipsconfig
 
 # fix non utf man pages
 %patch42 -p1 -b .notutf8-2
@@ -449,14 +458,13 @@ cp -lR texk/dvipsk texk/pdvipsk
 cd pdvipsk
 %patch1005 -p0
 cd -
-patch -d texk/pdvipsk -p1 < pdvipsk/dvipsk-%{pdvipsk_ver}.patch
+patch -d texk/pdvipsk -p1 < pdvipsk/dvipsk-%{pdvipsk_ver}.patch || :
 %patch1000 -p1 -b .pdvips
 ln -s dvips.1 texk/pdvipsk/pdvips.1
 
 # set up mendexk
 tar xfz %{SOURCE1002} -C texk
 
-
 %build
 set -x
 # define CCACHE_DIR to let the build pass with ccache enabled.
@@ -597,9 +605,6 @@ cp texk/kpathsea/paths.h __fedora_kpaths
 # these are owned by texmf-doc package
 rm -rf %{buildroot}%{_texmf_main}/doc/tetex
 
-# install cron file
-install -p -D -m755 %{SOURCE10} %{buildroot}%{_sysconfdir}/cron.daily/texlive.cron
-
 # remove pool files, they belong to texlive-texmf
 rm -rf %{buildroot}%{_texmf_main}/web2c/*.pool
 # ptex pool file is added later, and therefore kept
@@ -1023,7 +1028,6 @@ fi
 # man pages for other utilities
 %{_mandir}/man1/pdftosrc.1*
 # other stuff
-%{_sysconfdir}/cron.daily/texlive.cron
 %{_infodir}/web2c.info.*
 %{_texmf_main}/web2c/*.opt
 %{_texmf_main}/web2c/mktexdir
@@ -1233,6 +1237,21 @@ fi
 %{_mandir}/man1/texutil.1*
 
 %changelog
+* Thu Oct 15 2009 Jindrich Novy <jnovy at redhat.com> 2007-45
+- make kpathsea not dependent on texlive
+- fix lacheck again (#451513)
+- fix dvips configuration (#467542)
+- update kpathsea description and summary (#519257)
+- use upstream patch to fix pool overflow CVE-2009-1284 (#492136)
+- don't complain if the pdvipsk hunks touching config.ps don't apply
+- avoid clashes with getline() from glibc
+- texlive-east-asian now requires texlive-texmf-east-asian (#487258)
+- do not attempt to remove old fonts via cron in /var/lib/texmf,
+  fonts are stored in ~/.texlive2007/texmf-var per-user
+  (#477833, #463975, #453468)
+- use correct paths in brp-* post install scriptlets (#468179)
+- fix build with gcc4.4
+
 * Wed Aug 27 2008 Jindrich Novy <jnovy at redhat.com> - 2007-35
 - texlive-context requires texlive-texmf-context (#455163)
 - fix lacheck to not to segfault (#451513)


--- texlive.cron DELETED ---




More information about the fedora-extras-commits mailing list