Update of /cvsroot/fink/dists/10.7/stable/main/finkinfo/graphics
In directory vz-cvs-3.sog:/tmp/cvs-serv16196

Modified Files:
        figlet.info 
Added Files:
        figlet.patch 
Log Message:
figlet 2.2.5 release

Index: figlet.info
===================================================================
RCS file: /cvsroot/fink/dists/10.7/stable/main/finkinfo/graphics/figlet.info,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- figlet.info 25 Jul 2011 21:00:52 -0000      1.1
+++ figlet.info 13 Sep 2012 17:08:24 -0000      1.2
@@ -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



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to