Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Feb 2007 00:24:43 +0100 (CET)
From:      Martin Tournoij <carpetsmoker@xs4all.nl>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        john@mcaree.org
Subject:   ports/109504: update graphics/comical
Message-ID:  <20070224232443.4C884B82B@glitch.carpetsmoker.net>
Resent-Message-ID: <200702242330.l1ONU4ke012474@freefall.freebsd.org>

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

>Number:         109504
>Category:       ports
>Synopsis:       update graphics/comical
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Feb 24 23:30:03 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Martin Tournoij
>Release:        FreeBSD 6.2-RELEASE-p1 i386
>Organization:
>Environment:
System: FreeBSD glitch.carpetsmoker.net 6.2-RELEASE-p1 FreeBSD 6.2-RELEASE-p1 #0: Thu Feb 15 20:56:16 CET 2007 carpetsmoker@glitch.carpetsmoker.net:/usr/obj/nfs/tinderbox/jails/6.2/src/sys/GENERIC i386


	
>Description:

- Update to 0.8
- Removed X_PREFIX
- Uses PLIST_FILES instead of pkg-plist
- Updated pkg-descr

>How-To-Repeat:
	
>Fix:

--- patch-comical begins here ---
diff -urN ./Makefile /home/carpetsmoker/ports/graphics/comical/Makefile
--- ./Makefile	Sat Feb 24 20:03:24 2007
+++ /home/carpetsmoker/ports/graphics/comical/Makefile	Sat Feb 24 19:47:21 2007
@@ -2,33 +2,37 @@
 # Date created:        6 June 2005
 # Whom:                John McAree <john@mcaree.org>
 #
-# $FreeBSD: ports/graphics/comical/Makefile,v 1.4 2006/12/01 07:38:55 pav Exp $
-#
+# $FreeBSD$
 
 PORTNAME=	comical
-PORTVERSION=	0.4.1
-PORTREVISION=	1
+PORTVERSION=	0.8
 CATEGORIES=	graphics
-MASTER_SITES=	http://www.mcaree.org/Comical/ \
-		http://www.sketchyorigins.com/Comical/
+MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR=	${PORTNAME}
 
 MAINTAINER=	john@mcaree.org
 COMMENT=	A sequential image viewer
 
 USE_GMAKE=	yes
-USE_WX=		2.4
-WX_CONF_ARGS=	absolute
-GNU_CONFIGURE=	yes
-USE_X_PREFIX=	yes
+USE_WX=		2.6+
+WX_UNICODE=	yes
+PLIST_FILES=	bin/comical
 
 .include <bsd.port.pre.mk>
 
+post-patch:
+	@${REINPLACE_CMD} -e "s|wx-config|${WX_CONFIG}|;" \
+		${WRKSRC}/Makefile
+	@${REINPLACE_CMD} -e "s|wx-config|${WX_CONFIG}|; \
+		s|-D_UNIX|-D_UNIX -DwxUSE_UNICODE|;" \
+			${WRKSRC}/src/Makefile
+
 .if ${ARCH} != "i386"
-BROKEN=		"does not compile - not 64-bit clean"
+BROKEN=		does not compile - not 64-bit clean
 .endif
 
 .if ${OSVERSION} < 500000
-BROKEN=		"does not compile with gcc-2.95"
+BROKEN=		does not compile with gcc-2.95
 .endif
 
 .include <bsd.port.post.mk>
diff -urN ./distinfo /home/carpetsmoker/ports/graphics/comical/distinfo
--- ./distinfo	Sat Feb 24 20:03:24 2007
+++ /home/carpetsmoker/ports/graphics/comical/distinfo	Sat Feb 24 18:35:13 2007
@@ -1,3 +1,3 @@
-MD5 (comical-0.4.1.tar.gz) = 50e0f3a8ad252470461efe74a6ca6060
-SHA256 (comical-0.4.1.tar.gz) = 0b2ac1db7aa4303423e2cf8d0e786214fd093cdda62f8b5d2e0f10a99d566bf7
-SIZE (comical-0.4.1.tar.gz) = 404828
+MD5 (comical-0.8.tar.gz) = f5808e28fd5a2a3d21b59cdad10eca3d
+SHA256 (comical-0.8.tar.gz) = 0b6527cc06b25a937041f1eb248d0fd881cf055362097036b939817f785ab85e
+SIZE (comical-0.8.tar.gz) = 480270
diff -urN ./pkg-descr /home/carpetsmoker/ports/graphics/comical/pkg-descr
--- ./pkg-descr	Sat Feb 24 20:03:24 2007
+++ /home/carpetsmoker/ports/graphics/comical/pkg-descr	Sat Feb 24 19:57:20 2007
@@ -1,8 +1,18 @@
-Comical is a sequential image viewer. It supports viewing images from archives
-(bzip, zip and rar format), as well as fullscreen viewing. Image formats
-supported are JPEG, PNG, GIF, and TIFF.
+Finally - a cross-platform, open-source CBR and CBZ reader!  Read your
+favorite scanned comic books and graphic novels with Comical's
+absurdly easy GUI and in-your-face double page display!
 
-WWW: http://mlf.sketchyorigins.com/
+Nifty Features:
+* Single-Page or Double-Page display modes.
+* Zoom modes: Fit, Fit-to-Width, Fit-to-Height, Original, Custom.
+* Crisp image scaling with algorithms adapted from FreeImage 3.
+* Detects double pages scanned together and displays it accordingly.
+* Page rotation.
+* Full-Screen mode.
+* Left-to-Right or Right-to-Left browsing.
+* Displays JPG, GIF, and PNG images.
+* Supports RAR(.cbr) and ZIP(.cbz) comic book archives
+* Supports all encrypted RAR archives as well as ZIP archives with
+  pkzip 2.04g encryption.
 
-- John
-john@mcaree.org
+WWW: http://comical.sourceforge.net/
diff -urN ./pkg-plist /home/carpetsmoker/ports/graphics/comical/pkg-plist
--- ./pkg-plist	Sat Feb 24 20:03:24 2007
+++ /home/carpetsmoker/ports/graphics/comical/pkg-plist	Thu Jan  1 01:00:00 1970
@@ -1 +0,0 @@
-bin/comical
--- patch-comical ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



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