From 95b4a11e709f7508ffdc547442df81f0d1784ea2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mattias=20Andr=C3=A9e?= Date: Mon, 20 Aug 2012 21:35:20 +0200 Subject: [PATCH] m pdf/info + dependency test script --- dependency-test.sh | 45 ++++++++++++++++++++++++++++++++++++++++ manuals/ponysay.texinfo | 2 +- ponysay.pdf | Bin 333828 -> 333828 bytes 3 files changed, 46 insertions(+), 1 deletion(-) create mode 100755 dependency-test.sh diff --git a/dependency-test.sh b/dependency-test.sh new file mode 100755 index 00000000..770873c5 --- /dev/null +++ b/dependency-test.sh @@ -0,0 +1,45 @@ +#!/bin/sh + +br=0 +bs=0 +bo=0 +rr=0 +ro=0 + +(hash make 2>/dev/null) || (br=1 ; echo 'Missing make, install make [build required]') +(hash sed 2>/dev/null) || (br=1 ; echo 'Missing sed, install sed [build required]') +(hash install 2>/dev/null) || (br=1 ; echo 'Missing install, install coreutils [build required]') +(hash unlink 2>/dev/null) || (br=1 ; echo 'Missing uninstall, install coreutils [build required]') +(hash rm 2>/dev/null) || (br=1 ; echo 'Missing rm, install coreutils [build required]') +(hash ln 2>/dev/null) || (br=1 ; echo 'Missing ln, install coreutils [build required]') +(hash mkdir 2>/dev/null) || (br=1 ; echo 'Missing mkdir, install coreutils [build required]') +(hash cp 2>/dev/null) || (br=1 ; echo 'Missing cp, install coreutils [build required]') +(hash cut 2>/dev/null) || (br=1 ; echo 'Missing cut, install coreutils [build required]') + +(hash bash 2>/dev/null) || (bs=1 ; echo 'Missing bash, install bash [build recommended]') + +(hash gzip 2>/dev/null) || (bo=1 ; echo 'Missing gzip, install gzip [build optional]') +(hash makeinfo 2>/dev/null) || (bo=1 ; echo 'Missing makeinfo, install texinfo [build optional]') +(hash install-info 2>/dev/null) || (bo=1 ; echo 'Missing install-info, install info [build optional]') + +(hash stty 2>/dev/null) || (rr=1 ; echo 'Missing stty, install coreutils [runtime required]') +(hash python 2>/dev/null) || (rr=1 ; echo 'Missing python, install python>=3 [runtime required]') + +(hash cut 2>/dev/null) && (hash python 2>/dev/null) && + (test ! $(env python --version 2>&1 | cut -d ' ' -f 2 | cut -d '.' -f 1) = 3) && ( + (hash python3 2>/dev/null) || + (rr=1 ; echo 'Missing python>=3, install python (may be named python3) [runtime required]')) + +(hash tty2colourfultty 2>/dev/null) || (ro=1 ; echo 'Missing tty2colourfultty, install util-say [runtime optional]') +(hash ponysay2ttyponysay 2>/dev/null) || (ro=1 ; echo 'Missing ponysay2ttyponysay, install util-say [runtime optional]') + +( (test $br = 1) || (test $rr = 1) || (test $ro = 1) ) && echo + +(test $br = 1) && echo 'You will not be able to build and install ponysay.' +(test $rr = 1) && echo 'You will not be able to run ponysay.' +(test $br = 1) && (test $rr = 0) && echo 'Unable to verify version of python.' + +(test $br = 0) && (test $bs = 0) && (test $bo = 0) && (test $rr = 0) && (test $ro = 0) && + echo && echo 'Everything appears to be in order, enjoy ponysay!' + +echo diff --git a/manuals/ponysay.texinfo b/manuals/ponysay.texinfo index f998a672..ccb41208 100644 --- a/manuals/ponysay.texinfo +++ b/manuals/ponysay.texinfo @@ -631,7 +631,7 @@ Currently the only translation is Spanish with the language code @code{es}. If you do not want the English manpage add the option @command{--without-man}. If you do not want the @command{info} manual add the option @command{--without-info}. If you are installing the @command{info} manual but are not privileged to execute -@command{info-install} add the option @command{--without-info-install}. +@command{install-info} add the option @command{--without-info-install}. The following argumentless options are also recognised: diff --git a/ponysay.pdf b/ponysay.pdf index 4e634fcb2e176c1ecf00aae6ee9742e7169cb9bc..d96a57f29a3e00ebab9b42de18a258307b2c011a 100644 GIT binary patch delta 1669 zcmV;02738~uoQ%_6o9k=4rZ6}?gA;dH)a8`2_yCAILWU>Fg4b6y{7iDzM@zk^*^kv z(n4%0%HJYf2iQ0*Y zn(R6bRBe`-m^N9yLxY)`E`CB$8k_-V!8vdq^no5wZdSLf-RNd*)u0hn0cIL`FZP3Re=rLc!7XqAr* zH~?C~DWJdSvupqif+27LjDTLVrVR}~%ok(eDp&^V;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