pkgsrc/graphics/fly/patches/patch-ag
agc 811bdb55f5 Add support for gd-1.6.3, and associated GIF -> PNG migration. Convert
GIF images to PNG ones using netpbm at installation time. Update the
HTML documentation to use the generated PNG graphics.

Update to version 1.6.5 of fly whilst we're here.
Version: 1.6.5 15th January 1999
       Minor bug fix.  Seg fault on garbage input file or empty input
       file.  Thanks to Anatoly A.  Orehovsky <tolik@mpeks.tomsk.su>
       for the report and code fix.

Version: 1.6.4 24th November 1998
       Minor bug fixes.  Removing warnings and fixing minor errors in
       some print statements.  Thanks to Bernie Kirby
       <bernie@iii.rmit.edu.au> for reporting the warnings.

Version: 1.6.3 22nd October 1998
       Minor additional feature:  any pair of diametrically opposite
       vertices in any order will now be accepted for rect and frect.

Version: 1.6.2 25th September 1998
       Minor bug fix - some return codes in case of fatal errors were
                 0 when they should have been 1.
       Addition of code for win32 binmode problem.  (thanks to Shoji
                 Mori <mori@moriken.com>)
1999-08-27 10:11:01 +00:00

72 lines
2.5 KiB
Text

$NetBSD: patch-ag,v 1.1 1999/08/27 10:11:03 agc Exp $
Update for PNG support
--- doc/examples.html 1999/08/27 09:51:38 1.1
+++ doc/examples.html 1999/08/27 09:55:19
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
- <title>GIFs on the fly: Examples
+ <title>PNGs on the fly: Examples
</title>
<link rev="made" href="mailto:gleeson@unimelb.edu.au">
<meta name="description"
@@ -18,7 +18,7 @@
<td><h1>fly: Documentation: Examples</h1>
</td>
<td><a href="http://www.unimelb.edu.au/fly/"><img
- src="fly-logo.gif" border="0" hspace="5" vspace="5"
+ src="fly-logo.png" border="0" hspace="5" vspace="5"
alt=" [fly] " width="157" height="52"></a>
</td>
</tr>
@@ -36,7 +36,7 @@
<PRE>#!/usr/local/bin/perl
$flyprog = &quot;/usr/local/bin/fly&quot;;
-$outfile = &quot;temp.gif&quot;;
+$outfile = &quot;temp.png&quot;;
open(FLY,&quot;| $flyprog -o $outfile &quot;);
print FLY &quot;new\n&quot;;
@@ -70,7 +70,7 @@
fill 160,96,0,0,0
EOD
-fly -i /tmp/fly.$$ -o test.gif
+fly -i /tmp/fly.$$ -o test.png
</PRE>
</DD>
<DT>Fly Scripts</DT>
@@ -91,9 +91,9 @@
</DD>
</DL>
<P>Can you guess what the above examples produce?
- <A HREF="example.gif">Here's the answer!</A>
+ <A HREF="example.png">Here's the answer!</A>
</P>
-<P><IMG SRC="new.gif" ALT="[New!]"> I have created a <A
+<P><IMG SRC="new.png" ALT="[New!]"> I have created a <A
HREF="http://www.unimelb.edu.au/%7Egleeson/cgi-bin/fly-tester.pl">Fly
Tester</A> CGI program that lets you test fly commands quickly in a
convenient interface. The program is also included in the fly
@@ -102,13 +102,13 @@
<!-- ===================================================================== -->
<hr size="2" noshade>
- <p align="center"><a href="index.html"><img src="nav-home.gif" border="0"
+ <p align="center"><a href="index.html"><img src="nav-home.png" border="0"
alt="[Home]" width="52" height="24"></a> <a
- href="documentation.html"><img src="nav-docs.gif" border="0"
+ href="documentation.html"><img src="nav-docs.png" border="0"
alt="[Documentation]" width="120" height="24"></a> <a
- href="copyright.html"><img src="nav-copyright.gif" border="0"
+ href="copyright.html"><img src="nav-copyright.png" border="0"
alt="[Copyright]" width="86" height="24"></a> <a href="feedback.html"><img
- src="nav-feedback.gif" border="0" alt="[Feedback]" width="80"
+ src="nav-feedback.png" border="0" alt="[Feedback]" width="80"
height="24"></a>
</p>