[SCM] Debian packaging for sketch 3D line drawing software branch, debian/Doc-make-pl, updated. upstream/0.2.89-14-g128ff96
David Bremner
bremner at unb.ca
Sun Jan 10 12:42:04 UTC 2010
The following commit has been merged in the debian/Doc-make-pl branch:
commit bbe42521ce57e79caaf9e58f7802c59921746fd5
Author: David Bremner <bremner at unb.ca>
Date: Sun Jan 10 07:38:13 2010 -0400
Revert "build the .txt versions of the examples even if nobitmaps is specified"
This reverts commit 5184983d11ad9232ba38ce357ce522cb6b2625c3.
Although this change seems to be correct, it serves no purpose in the
debian build, and just causes the patch to upstream to become more
complicated and less about supporting linux.
diff --git a/Doc/make.pl b/Doc/make.pl
index 5b2eb78..c143663 100644
--- a/Doc/make.pl
+++ b/Doc/make.pl
@@ -26,15 +26,14 @@ sub make_example {
# fix up bounding box (originally this was not necessary; something was "improved")
system("epstool --copy --bbox tmp.eps $ex.eps") == 0 or die "$!";
unlink "tmp.eps";
+ local *F;
+ open(F, "> $ex.txt") or die "$!";
+ print F "Image $ex omitted in text version of this document.";
+ close F;
system("$GS -q -dQUIET -dNOPAUSE -dBATCH -dEPSCrop -sDEVICE=pdfwrite -sOutputFile=$ex.pdf -r120 $ex.eps") == 0 or die "$!";
system("$GS -q -dQUIET -dNOPAUSE -dBATCH -dEPSCrop -sDEVICE=png256 -sOutputFile=$ex.png -r120 $ex.eps") == 0 or die "$!";
unlink <$ex-tmp.*>;
}
- local *F;
- open(F, "> $ex.txt") or die "$!";
- print F "Image $ex omitted in text version of this document.";
- close F;
-
}
sub make_all {
--
Debian packaging for sketch 3D line drawing software
More information about the debian-science-commits
mailing list