Update of /cvsroot/fink/dists/10.4/stable/main/finkinfo/graphics
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv1972

Modified Files:
        figlet.info 
Added Files:
        figlet.patch 
Log Message:
figlet 2.2.5 from 10.7

Index: figlet.info
===================================================================
RCS file: /cvsroot/fink/dists/10.4/stable/main/finkinfo/graphics/figlet.info,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- figlet.info 3 Jun 2011 17:37:29 -0000       1.3
+++ figlet.info 7 Sep 2013 10:22:52 -0000       1.4
@@ -1,14 +1,17 @@
 Package: figlet
-Version: 2.2.4
+Version: 2.2.5
 Epoch: 1
 Revision: 1
 Maintainer: Hanspeter Niederstrasser <nie...@users.sourceforge.net>
 Source: ftp://ftp.figlet.org/pub/figlet/program/unix/%n-%v.tar.gz
-Source-MD5: ea048d8d0b56f9c58e55514d4eb04203
+Source-MD5: d88cb33a14f1469fff975d021ae2858e
+PatchFile: %n.patch
+PatchFile-MD5: 83be5cff8fa5d5cefee8d0891769f9ce
 PatchScript: <<
+       %{default_script}
        /usr/bin/perl -pi -e 's|/usr/local|%p|g' Makefile
        /usr/bin/perl -pi -e 's|\$\(prefix\)/man|\$\(prefix\)/share/man|g' 
Makefile
-       /usr/bin/perl -pi -e 's|-f small|$& -d \$FONTDIR|g' run-tests.sh
+       #/usr/bin/perl -pi -e 's|-f small|$& -d \$FONTDIR|g' run-tests.sh
 <<
 CompileScript: make
 InstallScript: make install DESTDIR=%d
@@ -17,6 +20,12 @@
 <<
 DocFiles: CHANGES FAQ LICENSE README figfont.txt
 Description: Makes large letters out of ordinary text
-DescPort: Previous version by Finlay Dobbie.
+DescPort: <<
+       Previous version by Finlay Dobbie.
+
+       Patch for run-tests.sh:
+       1c1293b3e31a9e4156ae7a0d099951c56f582da6
+       Fixed for 2.2.6 and up
+<<
 Homepage: http://www.figlet.org/
 License: BSD

--- NEW FILE: figlet.patch ---
>From 1c1293b3e31a9e4156ae7a0d099951c56f582da6 Mon Sep 17 00:00:00 2001
From: Claudio Matsuoka <cmatsu...@gmail.com>
Date: Sun, 3 Jun 2012 13:36:38 -0300
Subject: [PATCH] Make test script a bit more portable

Replaced mktemp which can be different/absent in some systems with
static filenames which should be good enough for our tests.

Signed-off-by: Claudio Matsuoka <cmatsu...@gmail.com>
---
 run-tests.sh |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/run-tests.sh b/run-tests.sh
index 26d2581..e6e1e3b 100755
--- a/run-tests.sh
+++ b/run-tests.sh
@@ -4,7 +4,7 @@ LC_ALL=POSIX
 export LC_ALL
 
 TESTDIR=tests
-OUTPUT=`mktemp`
+OUTPUT=.test-output.txt
 LOGFILE=tests.log
 CMD=./figlet
 FONTDIR="$1"
@@ -67,7 +67,7 @@ run_test 018 "tlf2 overlap centered mode" "$cmd -oc -f 
tests/emboss"
 run_test 019 "tlf2 full-width flush-left right-to-left mode" \
   "$cmd -WRl -f tests/emboss"
 run_test 020 "specify font directory" \
-  "X=`mktemp -d`;cp fonts/script.flf \$X/foo.flf;$cmd -d\$X -ffoo;rm -Rf \$X"
+  "X=.t;mkdir \$X;cp fonts/script.flf \$X/foo.flf;$cmd -d\$X -ffoo;rm -Rf \$X"
 run_test 021 "paragraph mode long line output" "$cmd -p -w250"
 run_test 022 "short line output" "$cmd -w5"
 run_test 023 "kerning paragraph centered mode (small)" "$cmd -kpc -fsmall"
-- 
1.7.10



------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to