unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* bug#26500: [PATCH] gnu: Add mcomix.
@ 2017-04-14 17:50 nee
  2017-04-15  8:36 ` Arun Isaac
  0 siblings, 1 reply; 11+ messages in thread
From: nee @ 2017-04-14 17:50 UTC (permalink / raw)
  To: 26500

[-- Attachment #1: Type: text/plain, Size: 296 bytes --]

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.

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-mcomix.patch --]
[-- Type: text/x-patch; name="0001-gnu-Add-mcomix.patch", Size: 2414 bytes --]

From 7aee659716fab9cfcb9c22eed7ad302696ded374 Mon Sep 17 00:00:00 2001
From: nee <nee.git@cock.li>
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))
 
 (define-public feh
@@ -360,3 +362,31 @@ imaging.  It supports several HDR and LDR image formats, 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)))
-- 
2.12.2


^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2017-04-21 17:59 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-14 17:50 bug#26500: [PATCH] gnu: Add mcomix nee
2017-04-15  8:36 ` Arun Isaac
2017-04-15  9:09   ` ng0
2017-04-16  8:53     ` Arun Isaac
2017-04-17  4:45       ` nee
2017-04-17 19:21         ` Arun Isaac
2017-04-18 22:09           ` nee
2017-04-19 15:53             ` Arun Isaac
2017-04-19 19:54               ` ng0
2017-04-21  9:00               ` Ludovic Courtès
2017-04-21 17:57                 ` Arun Isaac

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).