From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51149) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cz5OA-0000Nk-Fq for guix-patches@gnu.org; Fri, 14 Apr 2017 13:52:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cz5O6-0002L2-JI for guix-patches@gnu.org; Fri, 14 Apr 2017 13:52:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:49221) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cz5O6-0002Kv-FV for guix-patches@gnu.org; Fri, 14 Apr 2017 13:52:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cz5O6-0002R6-76 for guix-patches@gnu.org; Fri, 14 Apr 2017 13:52:02 -0400 Subject: bug#26500: [PATCH] gnu: Add mcomix. Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50969) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cz5NA-0000LW-1V for guix-patches@gnu.org; Fri, 14 Apr 2017 13:51:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cz5N6-0001uh-0Q for guix-patches@gnu.org; Fri, 14 Apr 2017 13:51:04 -0400 Received: from cock.li ([185.100.85.212]:54182) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cz5N5-0001sx-Im for guix-patches@gnu.org; Fri, 14 Apr 2017 13:50:59 -0400 From: nee Message-ID: Date: Fri, 14 Apr 2017 19:50:52 +0200 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------5E6B16D499494EFD65FDDB3D" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 26500@debbugs.gnu.org This is a multi-part message in MIME format. --------------5E6B16D499494EFD65FDDB3D Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello, here is mcomix. I tested it with zip, CBZ, 7zip pdf files, and a directory with normal images, they all work fine. I also tried unrar, but couldn't extract any archive with it, neither through mcomix, nor manually through the commandline tool, so this might be a separate problem. --------------5E6B16D499494EFD65FDDB3D Content-Type: text/x-patch; name="0001-gnu-Add-mcomix.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="0001-gnu-Add-mcomix.patch" =46rom 7aee659716fab9cfcb9c22eed7ad302696ded374 Mon Sep 17 00:00:00 2001 From: nee Date: Fri, 14 Apr 2017 19:09:40 +0200 Subject: [PATCH] gnu: Add mcomix. * gnu/packages/image-viewers.scm (mcomix): New variable. --- gnu/packages/image-viewers.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/image-viewers.scm b/gnu/packages/image-viewers.= scm index 830ce10ea..d1e14f053 100644 --- a/gnu/packages/image-viewers.scm +++ b/gnu/packages/image-viewers.scm @@ -28,6 +28,7 @@ #:use-module (guix packages) #:use-module (guix build-system gnu) #:use-module (guix build-system cmake) + #:use-module (guix build-system python) #:use-module (gnu packages autotools) #:use-module (gnu packages algebra) #:use-module (gnu packages base) @@ -46,6 +47,7 @@ #:use-module (gnu packages pkg-config) #:use-module (gnu packages qt) #:use-module (gnu packages xorg) + #:use-module (gnu packages python) #:use-module (gnu packages)) =20 (define-public feh @@ -360,3 +362,31 @@ imaging. It supports several HDR and LDR image form= ats, and it can: @item Copy EXIF data between sets of images. @end itemize\n") (license license:gpl2+))) + +(define-public mcomix + (package + (name "mcomix") + (version "1.2.1") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://sourceforge/mcomix/MComix-" version= + "/mcomix-" version ".tar.bz2")) + (sha256 + (base32 + "0fzsf9pklhfs1rzwzj64c0v30b74nk94p93h371rpg45qnfiahvy")))) + (build-system python-build-system) + ;; Python 2.5 or newer (Python 3 and up is not supported) + (arguments `(#:python ,python-2)) + (propagated-inputs `(("python2-pygtk" ,python2-pygtk) + ("gtk+" ,gtk+) + ("python2-pillow" ,python2-pillow))) + (home-page "https://sourceforge.net/p/mcomix/wiki/Home/") + (synopsis "Image viewer for comics") + (description "A customizable image viewer that specializes as +a comic and manga reader. It supports a variety of container formats +including CBR, CBZ, CB7, CBT, LHA. +For 7z support install the p7zip package. +For rar support install the unrar package. +For pdf support install the mupdf package.") + (license license:gpl2))) --=20 2.12.2 --------------5E6B16D499494EFD65FDDB3D--