From: Eric S. Raymond Date: Thu, 6 Sep 2001 18:41:02 +0000 (+0000) Subject: Ready to ship. X-Git-Tag: 2.2 X-Git-Url: http://thyrsus.com/gitweb/?a=commitdiff_plain;h=a2bd771306ea807e1276e72b078d4da48035cfab;p=imgsizer.git Ready to ship. --- diff --git a/Makefile b/Makefile index 944ffc5..5d17244 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ # Makefile for the imgsizer distribution -VERS=2.1 +VERS=2.2 # These choices are correct for Linux. Season to taste. BINDIR = /usr/bin diff --git a/README b/README index 17410dd..dca5fa2 100644 --- a/README +++ b/README @@ -15,10 +15,11 @@ Files in this directory: Put imgsizer on your execution path and the man page in a man source directory somewhere. That's it. -You will need identify(1) from the ImageMagick tools suite to make this -work. If you are using Linux or any of the free BSDs it is probably -already on your system; otherwise, you should be able to get it from -ftp://ftp.x.org/contrib/applications/ImageMagick. +You will need either identify(1) from the ImageMagick tools or +rdjpgcom(1) and a modern version of file(1) to make this work. If you +are using Linux or any of the free BSDs these tools are probably +already on your system; otherwise, you should be able to get +identify(1) from ftp://ftp.x.org/contrib/applications/ImageMagick. Usual open-source terms -- copy, use, and redistribute as you like, don't take my name off it, and clearly mark any modified versions. diff --git a/imgsizer b/imgsizer index 1b5235a..a7dce2e 100755 --- a/imgsizer +++ b/imgsizer @@ -3,9 +3,7 @@ # imgsizer -- correct image sizes in WWW pages # by Eric S. Raymond # -# Fix up IMG tags in given documents to contain correct sizes. No longer -# requires the identify(1) program from the ImageMagick suite if you have -# a decent file(1) and rdjpgcom(1). +# Fix up IMG tags in given documents to contain correct sizes. # # Works with Python 1.5.2 # @@ -47,7 +45,7 @@ # # Rewritten in Python by Eric S. Raymond 11 July 2001 # -# Time to get rid of the dependency on httpget. The -l option is cone, too; +# Time to get rid of the dependency on httpget. The -l option is gone, too; # instead, we deduce the right case by looking at the leading tag. -q # is gone; we always emit without quotes. -m is gone too, instead we # try commands in least to most expensive order, and notice when a command @@ -59,7 +57,7 @@ # import sys, os, getopt, cmp, string, re, urllib, commands -version = "2.1, 26 July 2001"; +version = "2.2, 06 September 2001"; splash = """imgsizer version %s, Eric S. Raymond See for updates.""" diff --git a/imgsizer.xml b/imgsizer.xml index 10d7b7a..eeb4ec7 100644 --- a/imgsizer.xml +++ b/imgsizer.xml @@ -1,4 +1,4 @@ -.TH IMGSIZER 1 "8 Mar 2000" +.TH IMGSIZER 1 "6 Sep 2001" .AT 3 .SH NAME imgsizer \- automatically splice in height and width params for HTML IMG tags @@ -68,7 +68,7 @@ This script is written in Python, and thus requires a Python interpreter on the host system. It also requires either the .IR identify (1) utility distributed in the open-source ImageMagick suite of image-display -and manipulation tools, or, with the \-\-no\-magick option, a modern +and manipulation tools, or a modern version of .IR file (1) and