From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id EKqROw40QGJzFgAAgWs5BA (envelope-from ) for ; Sun, 27 Mar 2022 11:53:18 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id KB0oOA40QGKEFAAAauVa8A (envelope-from ) for ; Sun, 27 Mar 2022 11:53:18 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id BFC0C13095 for ; Sun, 27 Mar 2022 11:53:17 +0200 (CEST) Received: from localhost ([::1]:59764 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nYPaG-0003cR-Ex for larch@yhetil.org; Sun, 27 Mar 2022 05:53:16 -0400 Received: from eggs.gnu.org ([209.51.188.92]:48506) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nYPa1-0003cH-W8 for bug-guix@gnu.org; Sun, 27 Mar 2022 05:53:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33234) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nYPa1-0005Oq-NJ for bug-guix@gnu.org; Sun, 27 Mar 2022 05:53:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nYPa1-0001HH-Ja for bug-guix@gnu.org; Sun, 27 Mar 2022 05:53:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#54558: Mcomix 2.0.1 do not install locale data. Resent-From: "Feng Shu" Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 27 Mar 2022 09:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54558 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 54558@debbugs.gnu.org Received: via spool by 54558-submit@debbugs.gnu.org id=B54558.16483747394844 (code B ref 54558); Sun, 27 Mar 2022 09:53:01 +0000 Received: (at 54558) by debbugs.gnu.org; 27 Mar 2022 09:52:19 +0000 Received: from localhost ([127.0.0.1]:55364 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nYPZL-0001G3-7J for submit@debbugs.gnu.org; Sun, 27 Mar 2022 05:52:19 -0400 Received: from m12-11.163.com ([220.181.12.11]:5949) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nYPZH-0001FV-Pa for 54558@debbugs.gnu.org; Sun, 27 Mar 2022 05:52:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-ID:MIME-Version; bh=OVcrV EXBdmObczJU0XMTo6HaX0OvEro5ZEWOZGAvhds=; b=lR7t34CWwP11FOsuE7aE1 4yLOSHMNGdhrf+BVExSIM8uBKmj+R0sf9CJnvnJIR3HQKR5fxYDKeYV36GeKuJXd TLyFFRAw95n8mDrizh+yZiJl3FF7KweSNxTdcRV5cepNlAXeJA2j20Igu4w9BQHJ ItP2lVI9QgTxmB64ejQZOo= Received: from Guix (unknown [117.92.30.200]) by smtp7 (Coremail) with SMTP id C8CowABXXnbEM0Bi1stOEQ--.40481S2; Sun, 27 Mar 2022 17:52:05 +0800 (CST) From: "Feng Shu" References: <87ee2om8pz.fsf@163.com> <87sfr3zqdg.fsf@163.com> Date: Sun, 27 Mar 2022 17:52:04 +0800 In-Reply-To: <87sfr3zqdg.fsf@163.com> (Feng Shu's message of "Sun, 27 Mar 2022 17:39:07 +0800") Message-ID: <878rsvg1tn.fsf@163.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-CM-TRANSID: C8CowABXXnbEM0Bi1stOEQ--.40481S2 X-Coremail-Antispam: 1Uf129KBjvJXoWxAr1UWr1rJFyDuw4xAr1fWFg_yoW5urWxpa sIgw13CryrJr18Xwn3XF4jvFyYg3y0krnYyw4avr1I9a18GFW0qryIgrZY9F1IqasxGw1D Ww4kZ3y5ur4rWFDanT9S1TB71UUUUUUqnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDUYxBIdaVFxhVjvjDU0xZFpf9x0pRg6phUUUUU= X-Originating-IP: [117.92.30.200] X-CM-SenderInfo: 5wxpt2lkx6il2tof0z/xtbB0wXQ1FXltb6AOgAAsT X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Feng Shu Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1648374798; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=OVcrVEXBdmObczJU0XMTo6HaX0OvEro5ZEWOZGAvhds=; b=Hwht3dJqYjb84HcNEeXLK8LI87Vs5q0HYL4CzICe4jvGukjwii/ar5rE93oBQKPJa3ShB3 60s4sP7OARUIuVCupb0FzI/FYIYwy7dGWxQCqJPD2LAWCRL+Er6iGBpEUO5FV7rOfq+Ass mR3wtaQbC2EM0UYQqcAvagRPQWc1EQg2/CPL75YrV9DolNwIx58BEe2l/vgiFLUoeScGa+ 8V5rJt5RDUN/OToCQooP6Zjfa5h7XpLEnyMl36iUCNNs2MAkqubSxdOrRoMgdDpzeXsRIW 1LNxA3rOS4bC2W2qLDW19aJVHZtPU+Fy7hzfcyUgx+WKUVA370Zj8h3r9BPY9g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1648374798; a=rsa-sha256; cv=none; b=F++rGvhZ78m8S+a1XVL1KhjKKKPMnP0iOqlu55k7VOlsp6tu2LyX09W/dU9G9Ywr6V0+ep K14bL2JKtqpfqsuU3wGz5oQOiqUPH3hLVEa1zuk54np5SffbefSGtOOvILqoQIqpIdK6Sz YY8EYS4cadYsb6QgpGZB88jX4USBZ1xGPLrBmZ9gov2WC+3zyZ+YKwEYZhXfktM/0BRI4v 2xOeCW03JbV8LaSH+8quINNyVNKEH1+w904+sMzen9pF1NdkUZ+CM1P0xbT9oyon/S4IO7 2EgH/IiiJ63QZSoWJq33/+hsq+j1vUb/nTfBBMOH6jz149LOrEFUhBd4mnGfaA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=163.com header.s=s110527 header.b=lR7t34CW; dmarc=fail reason="SPF not aligned (relaxed)" header.from=163.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 7.43 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=163.com header.s=s110527 header.b=lR7t34CW; dmarc=fail reason="SPF not aligned (relaxed)" header.from=163.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: BFC0C13095 X-Spam-Score: 7.43 X-Migadu-Scanner: scn1.migadu.com X-TUID: ajSY4HAD658r --=-=-= Content-Type: text/plain "Feng Shu" writes: > "Feng Shu" writes: > >> I think Mcomix 2.0.1 do not install locale date. > > I try to code a patch: > > From bc1627e85cde9569b96057daa863184566863858 Mon Sep 17 00:00:00 2001 > From: Feng Shu > Date: Sun, 27 Mar 2022 17:35:13 +0800 > Subject: [PATCH] gnu: mcomix: Install messages directory. > > * gnu/packages/image-viewers.scm (mcomix) > [arguments]: Install messages directory. > --- > gnu/packages/image-viewers.scm | 51 +++++++++++++++++----------------- > 1 file changed, 26 insertions(+), 25 deletions(-) > > diff --git a/gnu/packages/image-viewers.scm b/gnu/packages/image-viewers.scm > index 05a8151c29..7410605077 100644 > --- a/gnu/packages/image-viewers.scm > +++ b/gnu/packages/image-viewers.scm > @@ -695,31 +695,32 @@ (define-public mcomix > (substitute* "mcomix/image_tools.py" > (("assert name not in supported_formats_gdk") > "if name in supported_formats_gdk: continue")))) > - (add-after 'install 'install-data > - (lambda* (#:key outputs #:allow-other-keys) > - (copy-recursively > - "mcomix/images" > - (string-append (assoc-ref outputs "out") > - "/lib/python" > - #$(version-major+minor > - (package-version (this-package-input "python"))) > - "/site-packages/mcomix/images")))) > - (add-after 'install 'install-messages > - (lambda* (#:key outputs #:allow-other-keys) > - (copy-recursively > - "mcomix/messages" > - (string-append (assoc-ref outputs "out") > - "/share/locale")))) > - (add-after 'glib-or-gtk-compile-schemas 'glib-or-gtk-wrap > - (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)) > - (add-after 'wrap 'gi-wrap > - (lambda* (#:key outputs #:allow-other-keys) > - (let ((bin (string-append (assoc-ref outputs "out") "/bin"))) > - (for-each > - (lambda (prog) > - (wrap-program prog > - `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))) > - (list (string-append bin "/mcomix"))))))))) > + (add-after 'install 'install-data > + (lambda* (#:key outputs #:allow-other-keys) > + (copy-recursively > + "mcomix/images" > + (string-append (assoc-ref outputs "out") > + "/lib/python" > + #$(version-major+minor > + (package-version (this-package-input "python"))) > + "/site-packages/mcomix/images")) > + (copy-recursively > + "mcomix/messages" > + (string-append (assoc-ref outputs "out") > + "/lib/python" > + #$(version-major+minor > + (package-version (this-package-input "python"))) > + "/site-packages/mcomix/messages")))) > + (add-after 'glib-or-gtk-compile-schemas 'glib-or-gtk-wrap > + (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)) > + (add-after 'wrap 'gi-wrap > + (lambda* (#:key outputs #:allow-other-keys) > + (let ((bin (string-append (assoc-ref outputs "out") "/bin"))) > + (for-each > + (lambda (prog) > + (wrap-program prog > + `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))) > + (list (string-append bin "/mcomix"))))))))) > (home-page "https://sourceforge.net/p/mcomix/wiki/Home/") > (synopsis "Image viewer for comics") > (description "MComix is a customizable image viewer that specializes as > -- > 2.34.0 Sorry, the above is wrong patch, please see below: --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-gnu-mcomix-Install-messages-directory.patch >From a84f1c8d1ad923f2b90fdf40a0655f8015f122a8 Mon Sep 17 00:00:00 2001 From: Feng Shu Date: Sun, 27 Mar 2022 17:47:52 +0800 Subject: [PATCH] gnu: mcomix: Install messages directory. * gnu/packages/image-viewers.scm (mcomix) [arguments]: Install messages directory. --- gnu/packages/image-viewers.scm | 45 ++++++++++++++++++++-------------- 1 file changed, 26 insertions(+), 19 deletions(-) diff --git a/gnu/packages/image-viewers.scm b/gnu/packages/image-viewers.scm index 09c448e8f5..7410605077 100644 --- a/gnu/packages/image-viewers.scm +++ b/gnu/packages/image-viewers.scm @@ -695,25 +695,32 @@ (define-public mcomix (substitute* "mcomix/image_tools.py" (("assert name not in supported_formats_gdk") "if name in supported_formats_gdk: continue")))) - (add-after 'install 'install-data - (lambda* (#:key outputs #:allow-other-keys) - (copy-recursively - "mcomix/images" - (string-append (assoc-ref outputs "out") - "/lib/python" - #$(version-major+minor - (package-version (this-package-input "python"))) - "/site-packages/mcomix/images")))) - (add-after 'glib-or-gtk-compile-schemas 'glib-or-gtk-wrap - (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)) - (add-after 'wrap 'gi-wrap - (lambda* (#:key outputs #:allow-other-keys) - (let ((bin (string-append (assoc-ref outputs "out") "/bin"))) - (for-each - (lambda (prog) - (wrap-program prog - `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))) - (list (string-append bin "/mcomix"))))))))) + (add-after 'install 'install-data + (lambda* (#:key outputs #:allow-other-keys) + (copy-recursively + "mcomix/images" + (string-append (assoc-ref outputs "out") + "/lib/python" + #$(version-major+minor + (package-version (this-package-input "python"))) + "/site-packages/mcomix/images")) + (copy-recursively + "mcomix/messages" + (string-append (assoc-ref outputs "out") + "/lib/python" + #$(version-major+minor + (package-version (this-package-input "python"))) + "/site-packages/mcomix/messages")))) + (add-after 'glib-or-gtk-compile-schemas 'glib-or-gtk-wrap + (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)) + (add-after 'wrap 'gi-wrap + (lambda* (#:key outputs #:allow-other-keys) + (let ((bin (string-append (assoc-ref outputs "out") "/bin"))) + (for-each + (lambda (prog) + (wrap-program prog + `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))) + (list (string-append bin "/mcomix"))))))))) (home-page "https://sourceforge.net/p/mcomix/wiki/Home/") (synopsis "Image viewer for comics") (description "MComix is a customizable image viewer that specializes as -- 2.34.0 --=-=-= Content-Type: text/plain -- --=-=-=--