Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Mar 2002 14:00:18 +0000 (GMT)
From:      Dominic Mitchell <dom@happygiraffe.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        jon@phuq.co.uk
Subject:   ports/36164: new version of graphics/cthumb
Message-ID:  <20020321140018.80A5262DA@cathbad.happygiraffe.net>

next in thread | raw e-mail | index | archive | help

>Number:         36164
>Category:       ports
>Synopsis:       new version of graphics/cthumb
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 21 06:10:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Dominic Mitchell
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
The HappyGiraffe Institute for Happy Giraffes
>Environment:
System: FreeBSD cathbad.happygiraffe.net 5.0-CURRENT FreeBSD 5.0-CURRENT #42: Wed Mar 20 16:23:53 GMT 2002 root@cathbad.happygiraffe.net:/usr/obj/usr/src/sys/CATHBAD i386


	perl 5.6.1
>Description:
	This is the latest version of cthumb, thanks to Jon Wilson
	<jon@phuq.co.uk>.  From the cthumb website, here is what is new:

	* cleanup, adding with back arrows and positioning them correctly.
	* help recognize when comments start with html code.
	* change doctype so that mozilla renders without small artifacts
	  around tables.
	* make automatic album generation (cthumb -c *.jpg) more robust by
	  generating only some parameters that are really needed, and in the
	  right order.
	* small bug fixes for stability. 

>How-To-Repeat:
	n/a
>Fix:

Here's the patch.  Note that we now have a patch, so you'll need to
"mkdir files" before applying this patch.

diff -urN /usr/ports/graphics/cthumb/Makefile cthumb/Makefile
--- /usr/ports/graphics/cthumb/Makefile	Fri Dec 14 12:28:29 2001
+++ cthumb/Makefile	Thu Mar 21 13:34:57 2002
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	cthumb
-PORTVERSION=	4.0
+PORTVERSION=	4.1
 CATEGORIES=	graphics www
 MASTER_SITES=	http://puchol.com/cpg/software/cthumb/
 
@@ -21,6 +21,7 @@
 SITE_PERL_ARCH=	${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}
 
 GNU_CONFIGURE=	yes
+CONFIGURE_ARGS= --with-themedir=${PREFIX}/share/${PORTNAME}
 
 MAN1=		cthumb.1
 
@@ -51,8 +52,7 @@
 
 post-configure:
 	@${PERL} -pi \
-		-e 's|${PREFIX}/share/images/cthumb|${DATADIR}|g;' \
-		-e 's|cp -a|cp -R|g;' \
+		-e 's|cp -r|cp -Rf|g;' \
 		${WRKSRC}/cthumb
 
 do-install:
diff -urN /usr/ports/graphics/cthumb/distinfo cthumb/distinfo
--- /usr/ports/graphics/cthumb/distinfo	Wed Jan  2 08:49:31 2002
+++ cthumb/distinfo	Thu Mar 21 13:38:23 2002
@@ -1 +1 @@
-MD5 (cthumb-4.0.tar.gz) = e0be0811b94aa3457bfe391e4c754cf9
+MD5 (cthumb-4.1.tar.gz) = 503579736485bcff382d0ea3caeb70f9
diff -urN /usr/ports/graphics/cthumb/files/patch-aa cthumb/files/patch-aa
--- /usr/ports/graphics/cthumb/files/patch-aa	Thu Jan  1 01:00:00 1970
+++ cthumb/files/patch-aa	Thu Mar 21 13:35:01 2002
@@ -0,0 +1,22 @@
+--- cthumb.in.bak	Sat Dec 15 23:00:19 2001
++++ cthumb.in	Wed Mar 20 17:11:31 2002
+@@ -454,6 +454,7 @@
+     if ($CheckThumbnails) {
+ 	eval "require Image::Size";
+ 	if (defined $Image::Size::VERSION) {
++            $Image::Size::VERSION = $Image::Size::VERSION;
+ 	    $HaveImageSizePerlModule=1;
+ 	}
+     }
+@@ -557,7 +558,10 @@
+     if ($NoMainIndex) {
+ 	unlink($indextmp);
+     } else {
+-        if (system ("diff -q $indextmp $MainIndexName &> /dev/null")) {
++	local $ENV{SHELL}='/bin/sh';
++	system ("diff -q $indextmp $MainIndexName 2>/dev/null");
++	my $difret = $? >> 8;
++        if ($difret != 0) {
+ 	    print "Index for $descfname in: $MainIndexName\n";
+ 	    my $cmd = "mv $indextmp $MainIndexName";
+ 	    if (system($cmd)) { print "cthumb warning: command '$cmd' failed: $!\n"; }
diff -urN /usr/ports/graphics/cthumb/pkg-plist cthumb/pkg-plist
--- /usr/ports/graphics/cthumb/pkg-plist	Fri Dec 14 12:28:29 2001
+++ cthumb/pkg-plist	Thu Mar 21 13:35:04 2002
@@ -1,5 +1,6 @@
 bin/cthumb
 share/cthumb/blue-steel.theme/1.gif
+share/cthumb/blue-steel.theme/back.png
 share/cthumb/blue-steel.theme/bot.png
 share/cthumb/blue-steel.theme/left.png
 share/cthumb/blue-steel.theme/next.png
@@ -8,6 +9,7 @@
 share/cthumb/blue-steel.theme/theme.conf
 share/cthumb/blue-steel.theme/top.png
 share/cthumb/classic-clips.theme/1.gif
+share/cthumb/classic-clips.theme/back.png
 share/cthumb/classic-clips.theme/bot.png
 share/cthumb/classic-clips.theme/left.png
 share/cthumb/classic-clips.theme/next.png
@@ -16,6 +18,7 @@
 share/cthumb/classic-clips.theme/theme.conf
 share/cthumb/classic-clips.theme/top.png
 share/cthumb/classic.theme/1.gif
+share/cthumb/classic.theme/back.png
 share/cthumb/classic.theme/bot.png
 share/cthumb/classic.theme/left.png
 share/cthumb/classic.theme/next.png
@@ -24,6 +27,7 @@
 share/cthumb/classic.theme/theme.conf
 share/cthumb/classic.theme/top.png
 share/cthumb/crosshair.theme/1.gif
+share/cthumb/crosshair.theme/back.png
 share/cthumb/crosshair.theme/bot.png
 share/cthumb/crosshair.theme/left.png
 share/cthumb/crosshair.theme/next.png
@@ -55,6 +59,7 @@
 share/cthumb/film.theme/top-8.png
 share/cthumb/film.theme/top-9.png
 share/cthumb/flaps.theme/1.gif
+share/cthumb/flaps.theme/back.png
 share/cthumb/flaps.theme/bot.png
 share/cthumb/flaps.theme/left.png
 share/cthumb/flaps.theme/next.png
@@ -63,6 +68,7 @@
 share/cthumb/flaps.theme/theme.conf
 share/cthumb/flaps.theme/top.png
 share/cthumb/float-medium.theme/1.gif
+share/cthumb/float-medium.theme/back.png
 share/cthumb/float-medium.theme/bot.png
 share/cthumb/float-medium.theme/left.png
 share/cthumb/float-medium.theme/next.png
@@ -71,6 +77,7 @@
 share/cthumb/float-medium.theme/theme.conf
 share/cthumb/float-medium.theme/top.png
 share/cthumb/float-more.theme/1.gif
+share/cthumb/float-more.theme/back.png
 share/cthumb/float-more.theme/bot.png
 share/cthumb/float-more.theme/left.png
 share/cthumb/float-more.theme/next.png
@@ -79,6 +86,7 @@
 share/cthumb/float-more.theme/theme.conf
 share/cthumb/float-more.theme/top.png
 share/cthumb/float-thick.theme/1.gif
+share/cthumb/float-thick.theme/back.png
 share/cthumb/float-thick.theme/bot.png
 share/cthumb/float-thick.theme/left.png
 share/cthumb/float-thick.theme/next.png
@@ -87,6 +95,7 @@
 share/cthumb/float-thick.theme/theme.conf
 share/cthumb/float-thick.theme/top.png
 share/cthumb/float.theme/1.gif
+share/cthumb/float.theme/back.png
 share/cthumb/float.theme/bot.png
 share/cthumb/float.theme/left.png
 share/cthumb/float.theme/next.png
@@ -95,6 +104,7 @@
 share/cthumb/float.theme/theme.conf
 share/cthumb/float.theme/top.png
 share/cthumb/ithumb.theme/1.gif
+share/cthumb/ithumb.theme/back.png
 share/cthumb/ithumb.theme/bot.png
 share/cthumb/ithumb.theme/left.png
 share/cthumb/ithumb.theme/next.png
@@ -103,6 +113,7 @@
 share/cthumb/ithumb.theme/theme.conf
 share/cthumb/ithumb.theme/top.png
 share/cthumb/neat-round.theme/1.gif
+share/cthumb/neat-round.theme/back.png
 share/cthumb/neat-round.theme/bot.png
 share/cthumb/neat-round.theme/left.png
 share/cthumb/neat-round.theme/next.png
@@ -111,6 +122,7 @@
 share/cthumb/neat-round.theme/theme.conf
 share/cthumb/neat-round.theme/top.png
 share/cthumb/neat-square.theme/1.gif
+share/cthumb/neat-square.theme/back.png
 share/cthumb/neat-square.theme/bot.png
 share/cthumb/neat-square.theme/left.png
 share/cthumb/neat-square.theme/next.png
@@ -120,6 +132,7 @@
 share/cthumb/neat-square.theme/top.png
 share/cthumb/oak.theme/1.gif
 share/cthumb/oak.theme/Copyright
+share/cthumb/oak.theme/back.png
 share/cthumb/oak.theme/bot.png
 share/cthumb/oak.theme/left.png
 share/cthumb/oak.theme/next.png
@@ -128,6 +141,7 @@
 share/cthumb/oak.theme/theme.conf
 share/cthumb/oak.theme/top.png
 share/cthumb/postcard.theme/1.gif
+share/cthumb/postcard.theme/back.png
 share/cthumb/postcard.theme/bot.png
 share/cthumb/postcard.theme/left.png
 share/cthumb/postcard.theme/next.png
@@ -136,6 +150,7 @@
 share/cthumb/postcard.theme/theme.conf
 share/cthumb/postcard.theme/top.png
 share/cthumb/shiny-tube.theme/1.gif
+share/cthumb/shiny-tube.theme/back.png
 share/cthumb/shiny-tube.theme/bot.png
 share/cthumb/shiny-tube.theme/left.png
 share/cthumb/shiny-tube.theme/next.png
@@ -144,6 +159,7 @@
 share/cthumb/shiny-tube.theme/theme.conf
 share/cthumb/shiny-tube.theme/top.png
 share/cthumb/simpleframe.theme/1.gif
+share/cthumb/simpleframe.theme/back.png
 share/cthumb/simpleframe.theme/bot.png
 share/cthumb/simpleframe.theme/left.png
 share/cthumb/simpleframe.theme/next.png
@@ -152,6 +168,7 @@
 share/cthumb/simpleframe.theme/theme.conf
 share/cthumb/simpleframe.theme/top.png
 share/cthumb/slides-big.theme/1.gif
+share/cthumb/slides-big.theme/back.png
 share/cthumb/slides-big.theme/bot.png
 share/cthumb/slides-big.theme/left.png
 share/cthumb/slides-big.theme/next.png
@@ -160,6 +177,7 @@
 share/cthumb/slides-big.theme/theme.conf
 share/cthumb/slides-big.theme/top.png
 share/cthumb/slides-clean.theme/1.gif
+share/cthumb/slides-clean.theme/back.png
 share/cthumb/slides-clean.theme/bot.png
 share/cthumb/slides-clean.theme/left.png
 share/cthumb/slides-clean.theme/next.png
@@ -168,6 +186,7 @@
 share/cthumb/slides-clean.theme/theme.conf
 share/cthumb/slides-clean.theme/top.png
 share/cthumb/slides-huge.theme/1.gif
+share/cthumb/slides-huge.theme/back.png
 share/cthumb/slides-huge.theme/bot.png
 share/cthumb/slides-huge.theme/left.png
 share/cthumb/slides-huge.theme/next.png
@@ -176,6 +195,7 @@
 share/cthumb/slides-huge.theme/theme.conf
 share/cthumb/slides-huge.theme/top.png
 share/cthumb/slides-small.theme/1.gif
+share/cthumb/slides-small.theme/back.png
 share/cthumb/slides-small.theme/bot.png
 share/cthumb/slides-small.theme/left.png
 share/cthumb/slides-small.theme/next.png
@@ -184,6 +204,7 @@
 share/cthumb/slides-small.theme/theme.conf
 share/cthumb/slides-small.theme/top.png
 share/cthumb/spotlight.theme/1.gif
+share/cthumb/spotlight.theme/back.png
 share/cthumb/spotlight.theme/bot.png
 share/cthumb/spotlight.theme/left.png
 share/cthumb/spotlight.theme/next.png
@@ -192,6 +213,7 @@
 share/cthumb/spotlight.theme/theme.conf
 share/cthumb/spotlight.theme/top.png
 share/cthumb/tv-large.theme/1.gif
+share/cthumb/tv-large.theme/back.png
 share/cthumb/tv-large.theme/bot.png
 share/cthumb/tv-large.theme/left.png
 share/cthumb/tv-large.theme/next.png
@@ -200,6 +222,7 @@
 share/cthumb/tv-large.theme/theme.conf
 share/cthumb/tv-large.theme/top.png
 share/cthumb/tv.theme/1.gif
+share/cthumb/tv.theme/back.png
 share/cthumb/tv.theme/bot.png
 share/cthumb/tv.theme/left.png
 share/cthumb/tv.theme/next.png
@@ -207,11 +230,11 @@
 share/cthumb/tv.theme/right.png
 share/cthumb/tv.theme/theme.conf
 share/cthumb/tv.theme/top.png
-share/doc/cthumb/ChangeLog
 share/doc/cthumb/INSTALL
 share/doc/cthumb/README
 share/doc/cthumb/TO-DO
 share/doc/cthumb/VERSION
+share/doc/cthumb/ChangeLog
 share/doc/cthumb/cthumbrc.sample
 @dirrm share/cthumb/blue-steel.theme
 @dirrm share/cthumb/classic-clips.theme
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020321140018.80A5262DA>