Date: 6 Jan 2009 11:58:38 -0200 From: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: makc@issp.ac.ru Subject: ports/130235: [PATCH] graphics/qcomicbook: [SUMMARIZE CHANGES] Message-ID: <20090106135838.50269.qmail@exxodus.fedaykin.here> Resent-Message-ID: <200901061510.n06FA1Jb000462@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 130235 >Category: ports >Synopsis: [PATCH] graphics/qcomicbook: [SUMMARIZE CHANGES] >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Jan 06 15:10:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Mario Sergio Fujikawa Ferreira >Release: FreeBSD 7.1-PRERELEASE i386 >Organization: >Environment: System: FreeBSD exxodus.fedaykin.here 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #45: Wed Dec 24 09:02:08 BRST 2008 >Description: qcomicbook already support 7-Zip comic book archives. However,it does not recognize .cb7 extension accordingly. Just verify http://en.wikipedia.org/wiki/Comic_Book_Archive_file 1) Added optional run time dependency on archivers/p7zip port; 2) Added .cb7 referency to qcomicbook.1 man page; 3) Added .cb7 extension to the 7-Zip support code; 4) Bumped PORTREVISION. Added file(s): - files/patch-help__qcomicbook.1 - files/patch-src__imgarchivesink.cpp Port maintainer (makc@issp.ac.ru) is cc'd. These patches should be sent to the developer as well. Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- qcomicbook-0.4.0_5.patch begins here --- diff -ruN --exclude=CVS /usr/ports/graphics/qcomicbook/Makefile /usr/home/lioux/src/myports/tmp/qcomicbook/Makefile --- /usr/ports/graphics/qcomicbook/Makefile 2008-08-07 01:30:17.000000000 -0300 +++ /usr/home/lioux/src/myports/tmp/qcomicbook/Makefile 2009-01-06 01:20:37.000000000 -0200 @@ -7,7 +7,7 @@ PORTNAME= qcomicbook PORTVERSION= 0.4.0 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= graphics MASTER_SITES= http://linux.bydg.org/~yogin/qcomicbook/ @@ -30,4 +30,13 @@ "${DATADIR}/${PORTNAME}.png" \ "qcomicbook" "" false -.include <bsd.port.mk> +OPTIONS= 7ZIP "Enable support for 7-Zip (cb7) comic book archives" on + +.include <bsd.port.pre.mk> + +# 7-Zip (cb7) support +.if !defined(WITHOUT_7ZIP) +RUN_DEPENDS+= 7z:${PORTSDIR}/archivers/p7zip +.endif + +.include <bsd.port.post.mk> diff -ruN --exclude=CVS /usr/ports/graphics/qcomicbook/files/patch-help__qcomicbook.1 /usr/home/lioux/src/myports/tmp/qcomicbook/files/patch-help__qcomicbook.1 --- /usr/ports/graphics/qcomicbook/files/patch-help__qcomicbook.1 1969-12-31 21:00:00.000000000 -0300 +++ /usr/home/lioux/src/myports/tmp/qcomicbook/files/patch-help__qcomicbook.1 2009-01-06 01:08:12.000000000 -0200 @@ -0,0 +1,11 @@ +--- ./help/qcomicbook.1.orig 2009-01-06 01:06:54.000000000 -0200 ++++ ./help/qcomicbook.1 2009-01-06 01:07:40.000000000 -0200 +@@ -10,7 +10,7 @@ + QComicBook is a viewer for comic book archives containing jpeg/png/xpm/gif images, which aims at convenience and simplicity. + .PP + Features include: +- \- automatic decompression of zip (cbz), rar (cbr), ace (cba), targzipped (cbg) and tarbzip2ped (cbb) archives ++ \- automatic decompression of zip (cbz), rar (cbr), ace (cba), 7-Zip (cb7), targzipped (cbg) and tarbzip2ped (cbb) archives + \- full\-screen mode + \- two\-pages viewing + \- page scaling diff -ruN --exclude=CVS /usr/ports/graphics/qcomicbook/files/patch-src__imgarchivesink.cpp /usr/home/lioux/src/myports/tmp/qcomicbook/files/patch-src__imgarchivesink.cpp --- /usr/ports/graphics/qcomicbook/files/patch-src__imgarchivesink.cpp 1969-12-31 21:00:00.000000000 -0300 +++ /usr/home/lioux/src/myports/tmp/qcomicbook/files/patch-src__imgarchivesink.cpp 2009-01-06 01:08:12.000000000 -0200 @@ -0,0 +1,10 @@ +--- ./src/imgarchivesink.cpp.orig 2009-01-06 01:05:14.000000000 -0200 ++++ ./src/imgarchivesink.cpp 2009-01-06 01:06:26.000000000 -0200 +@@ -471,6 +471,7 @@ + inf.type = SEVENZIP_ARCHIVE; + inf.name = "7z"; + inf.extensions.append(".7z"); ++ inf.extensions.append(".cb7"); + if (which("7z") != QString::null) + { + inf.extractopts.append("7z"); --- qcomicbook-0.4.0_5.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090106135838.50269.qmail>