a2ps/a2ps-4.14-ogonkify.patch
OBS User mrdocs eb180fc106 Accepting request 243897 from home:sfalken:branches:Publishing
- Updated to 4.14
  * No UTF-8 Support yet, Basically a maintenance release.
  * GNU a2ps is now licensed under GPLv3 or later
  * Can now be built with Modern GNU Autotools, and gcc>=3.4
  * Numerous minor bugfixes, including:
    * input buffer overflow
    * IA64, PPC, and AMD64 fixes
    * Several security issues (CVE-2004-1377)
  * Addition of a number of new stylesheets
  * Translations for Japanese, Dutch, and French added/updated
- Patches rebased for 4.14 sources
  * Added:
    a2ps-4.14-acroread.patch
    a2ps-4.14-linker.patch
    a2ps-4.14-ogonkify.patch
    a2ps-4.14-tempfile.patch
    a2ps-4.14.diff
  * Removed:
    a2ps-4.13.acroread.patch
    a2ps-4.13.linker.patch
    a2ps-4.13-ogonkify.patch
    a2ps-4.13-tempfile.patch
    a2ps-4.13.dif
    a2ps-4.13-gv-arguments.patch
    a2ps-4.13-nb.patch
    a2ps-4.13-space.patch
  * Modified:
    CVE-2014-0466.diff
- Deleted a2ps-4.13.tar.gz, replaced with a2ps-4.14.tar.gz
- a2ps.spec cleanup, and updating to work with new sources.

OBS-URL: https://build.opensuse.org/request/show/243897
OBS-URL: https://build.opensuse.org/package/show/Publishing/a2ps?expand=0&rev=36
2014-08-09 18:32:57 +00:00

187 lines
6.0 KiB
Diff
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

diff -rupN a2ps-4.14.old/ogonkify/compose.ps a2ps-4.14/ogonkify/compose.ps
--- a2ps-4.14.old/ogonkify/compose.ps 2007-12-28 18:09:17.000000000 -0800
+++ a2ps-4.14/ogonkify/compose.ps 2014-08-06 19:39:41.746447491 -0700
@@ -3,7 +3,7 @@
% By J. Chroboczek <jec@dcs.ed.ac.uk>
%
% -- code follows this line --
-%%BeginResource: procset compose 0.8 0
+%%BeginResource: procset compose 0.8 1
% Copyright (c) 1996-1999 by J. Chroboczek
% This code may be distributed under the terms of the
% GNU Public License, either version 3 of the license, or (at your
@@ -153,7 +153,8 @@ makeCompositeDict begin
{} forall pop pop [ 5 1 roll 0 0] makefont setfont % newnamedict
0 0 moveto
(5) stringwidth pop % newname dict w
- (M) false charpath pathbbox 4 1 roll pop pop pop % newnamedict w h
+ (M) false charpath pathbbox newpath 4 1 roll pop pop pop
+ % newnamedict w h
3 2 roll % newname w h dict
dup length dict dup 3 1 roll begin % newname w h newdict
diff -rupN a2ps-4.14.old/ogonkify/doc/ogonkify.1 a2ps-4.14/ogonkify/doc/ogonkify.1
--- a2ps-4.14.old/ogonkify/doc/ogonkify.1 2007-02-13 08:14:07.000000000 -0800
+++ a2ps-4.14/ogonkify/doc/ogonkify.1 2014-08-06 19:44:31.584847546 -0700
@@ -1,6 +1,6 @@
.TH OGONKIFY 1 "14 May 1999" "McKornik Jr."
-.\" Time-stamp: <99/05/21 14:43:47 jec>
+.\" Time-stamp: <14/08/06 19:40:00 swd>
.SH NAME
ogonkify \- international support for PostScript
@@ -262,7 +262,8 @@ or eventually
.IP
% ogonkify \-N \-CT <alamakota.ps | lpr
.LP
-Typical usage with other programs is:
+Typical usage with other programs, in the case of the Latin-2
+encoding is:
.IP
.nf
% ogonkify \-M \-AT <alamakota.ps | lpr
@@ -272,6 +273,19 @@ Typical usage with other programs is:
% ogonkify \-XF \-ATH <alamakota.ps | lpr
.fi
.LP
+For the Latin-5 encoding, it would be similar:
+.IP
+.nf
+% ogonkify \-N -AT -eL5 <alamakota.ps | lpr
+.fi
+.LP
+while for the Latin-9 (Latin-0) encoding it would typically be
+.IP
+.nf
+% ogonkify \-N \-E \-eL9 <alamkota.ps | lpr
+.fi
+.LP
+
.SH BUGS
Characters with an `ogonek' should be constructed differently (for
diff -rupN a2ps-4.14.old/ogonkify/doc/ogonkify.info a2ps-4.14/ogonkify/doc/ogonkify.info
--- a2ps-4.14.old/ogonkify/doc/ogonkify.info 2007-12-28 18:11:11.000000000 -0800
+++ a2ps-4.14/ogonkify/doc/ogonkify.info 2014-08-06 19:54:36.906104041 -0700
@@ -1,9 +1,9 @@
-This is ogonkify.info, produced by makeinfo version 3.12i from
-ogonkify.texi.
+This is ogonkify.info, produced by makeinfo version 1.68 from
+the input file ogonkify.texi.
INFO-DIR-SECTION Printing Tools
START-INFO-DIR-ENTRY
-* ogonkify: (ogonkify). Ogonkify
+* ogonkify: (ogonkify). Ogonkify
END-INFO-DIR-ENTRY
This is the Ogonkify manual, Copyright (C) 1996-1999 by Juliusz
@@ -48,7 +48,7 @@ Perl code character-building, it should
formative years. The author will not accept any responsibility for any
moral grief caused.
- I would like to ask you _not_ to distribute the generated fonts
+ I would like to ask you *not* to distribute the generated fonts
without including a pointer to the original AFMs and the rest of the
code. Furthermore, please notify me if you decide to include this code
in a larger piece of software.
@@ -387,19 +387,19 @@ Chroboczek, <jec@dcs.ed.ac.uk>.

Tag Table:
-Node: Top276
-Node: License866
-Node: Using Ogonkify2161
-Node: Ghostscript2602
-Node: Standard Applications3086
-Node: a2ps3571
-Node: genscript4003
-Node: Adding new characters5548
-Node: Composite background6146
-Node: AFM files9661
-Node: Generated fonts10868
-Node: Composite usage12867
-Node: Composite example14413
-Node: Reaching the author15327
+Node: Top297
+Node: License887
+Node: Using Ogonkify2182
+Node: Ghostscript2623
+Node: Standard Applications3107
+Node: a2ps3592
+Node: genscript4024
+Node: Adding new characters5569
+Node: Composite background6167
+Node: AFM files9682
+Node: Generated fonts10889
+Node: Composite usage12888
+Node: Composite example14434
+Node: Reaching the author15348

End Tag Table
diff -rupN a2ps-4.14.old/ogonkify/doc/ogonkify.texi a2ps-4.14/ogonkify/doc/ogonkify.texi
--- a2ps-4.14.old/ogonkify/doc/ogonkify.texi 2007-12-28 18:09:38.000000000 -0800
+++ a2ps-4.14/ogonkify/doc/ogonkify.texi 2014-08-06 19:56:17.178966101 -0700
@@ -5,11 +5,11 @@
@setchapternewpage off
@c %**end of header
-@c Time-stamp: <99/05/14 04:30:20 jec>
+@c Time-stamp: <14/08/06 19:55:00 swd>
@dircategory Printing Tools
@direntry
-* ogonkify: (ogonkify). Ogonkify
+* ogonkify: (ogonkify). Ogonkify
@end direntry
@ifinfo
diff -rupN a2ps-4.14.old/ogonkify/ogonkify.in.in a2ps-4.14/ogonkify/ogonkify.in.in
--- a2ps-4.14.old/ogonkify/ogonkify.in.in 2007-12-28 18:05:05.000000000 -0800
+++ a2ps-4.14/ogonkify/ogonkify.in.in 2014-08-06 19:59:53.821986881 -0700
@@ -13,7 +13,7 @@
# Warning: this program is written in Perl
$PROGNAME='ogonkify';
-$VERSION='v. 0.7.0 by J. Chroboczek';
+$VERSION='v. 0.7.1 by J. Chroboczek';
# Directory with the IBM Courier fonts
$IBMFONTS="@IBMFONTS@";
@@ -237,6 +237,9 @@ if(!$encodings{$encoding}) {
$where=0;
while(<>) {
if($where==0) {
+ if($doNetscape && /^%%Title:/) {
+ $_="%%Title: \n";
+ }
print;
if(($doMosaic || $doMp) && /^%%EndComments/) {
$_="%%BeginProlog\n";
@@ -252,14 +255,14 @@ while(<>) {
for(@procsets) {
&procset($_);
}
- for(@downloadFonts) {
- &downloadFont($_);
- }
if($eurify) {
for(@standardFont) {
&eurifyFont($_);
}
}
+ for(@downloadFonts) {
+ &downloadFont($_);
+ }
while(($from,$to)=each %remappings) {
&remap($from,$to);
}
diff -rupN a2ps-4.14.old/ogonkify/VERSION a2ps-4.14/ogonkify/VERSION
--- a2ps-4.14.old/ogonkify/VERSION 2002-03-04 10:46:26.000000000 -0800
+++ a2ps-4.14/ogonkify/VERSION 2014-08-06 19:37:39.440166595 -0700
@@ -1,2 +1,2 @@
This is the version of `ogonkify' distributed as of
-Fri May 21 14:56:35 BST 1999
+Wed Aug 6 19:37:00 PST 2014