From 72d8e0ab83d16e5dedd323354fa37d9f52ca1b1e Mon Sep 17 00:00:00 2001 From: Dan Mueth Date: Mon, 12 Mar 2001 08:20:35 +0000 Subject: Setting up basics of build system. Still needs some tweaking. 2001-03-12 Dan Mueth Setting up basics of build system. Still needs some tweaking. * AUTHORS: * COPYING: * COPYING-DOCS: * Makefile.am: * autogen.sh: * configure.in: * gnome-user-docs.spec.in: * sgmldocs.make: * omf-install/Makefile.am: * introduction-to-gnome/Makefile.am: * introduction-to-gnome/C/Makefile.am: Removing these for now, until we can fix up the build to properly do PS docs. * introduction-to-gnome/C/figures/Makefile: * introduction-to-gnome/C/figures/gnome-logo-large.png: * introduction-to-gnome/C/figures/img2eps: Renaming gnome-intro... to introduction-to-gnome... Sasha wrote these docs. * introduction-to-gnome/C/gnome-intro-C.omf: * introduction-to-gnome/C/gnome-intro.sgml: * introduction-to-gnome/C/introduction-to-gnome-C.omf: * introduction-to-gnome/C/introduction-to-gnome.sgml: --- introduction-to-gnome/C/figures/img2eps | 58 --------------------------------- 1 file changed, 58 deletions(-) delete mode 100755 introduction-to-gnome/C/figures/img2eps (limited to 'introduction-to-gnome/C/figures/img2eps') diff --git a/introduction-to-gnome/C/figures/img2eps b/introduction-to-gnome/C/figures/img2eps deleted file mode 100755 index eebd959..0000000 --- a/introduction-to-gnome/C/figures/img2eps +++ /dev/null @@ -1,58 +0,0 @@ -#!/usr/bin/perl -# -# -# convert image to Encapsulated Postscript, with possible scaling of width -# - -$width = ""; - -if ($ARGV[0] =~ /^--width=(.+)$/) { - $width = $1; - shift (@ARGV); -} - -#print "width =",$width,"\n"; - -#print "argv =",$ARGV[0],"\n"; - -$infile = $ARGV[0]; - -if (!(-e $infile)) { -print "File doesn't exist\n"; -exit 1; -} - -$imagesz = `identify $ARGV[0]`; - -($name, $size, $rest) = split / /, $imagesz, 3; -#print $name, " ", $size, " ", $rest, "\n"; -#print "imagesz = ",$size,"\n"; - -($x, $y) = split /x/, $size, 2; -($y, $rest) = split /\+/, $y, 2; - -#print $x," by ",$y, "\n"; - -# -# if width set, we need to scale -# - -if ($width != "") { - $scale = $width * (72.0/$x); -} else { - $scale = 1; -} - -$scale = 72.0/$scale; -#print "scale = ",$scale,"\n"; - -$outfile = $infile; -$outfile =~ s/\.png/\.eps/; - -#print $infile," ",$outfile,"\n"; -system("convert $infile tmpimage.pgm"); -#system("giftopnm $infile | ppmtopgm > tmpimage.pgm"); -system("convert -density $scale tmpimage.pgm $outfile"); -system("rm tmpimage.pgm"); - - -- cgit