From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id MIzbCAMxQGJ9hgEAgWs5BA (envelope-from ) for ; Sun, 27 Mar 2022 11:40:19 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id UC9OBQMxQGKKLAAAauVa8A (envelope-from ) for ; Sun, 27 Mar 2022 11:40:19 +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 C9F322D121 for ; Sun, 27 Mar 2022 11:40:17 +0200 (CEST) Received: from localhost ([::1]:57016 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nYPNg-0000zC-5l for larch@yhetil.org; Sun, 27 Mar 2022 05:40:16 -0400 Received: from eggs.gnu.org ([209.51.188.92]:46628) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nYPNS-0000z0-6o for bug-guix@gnu.org; Sun, 27 Mar 2022 05:40:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33213) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nYPNR-0003Hh-Tm for bug-guix@gnu.org; Sun, 27 Mar 2022 05:40:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nYPNR-0000sl-MW for bug-guix@gnu.org; Sun, 27 Mar 2022 05:40: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:40: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.16483739653336 (code B ref 54558); Sun, 27 Mar 2022 09:40:01 +0000 Received: (at 54558) by debbugs.gnu.org; 27 Mar 2022 09:39:25 +0000 Received: from localhost ([127.0.0.1]:55343 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nYPMr-0000rk-3l for submit@debbugs.gnu.org; Sun, 27 Mar 2022 05:39:25 -0400 Received: from m12-13.163.com ([220.181.12.13]:64081) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nYPMl-0000rP-FX for 54558@debbugs.gnu.org; Sun, 27 Mar 2022 05:39:23 -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=X+4tU R8ZtxF0Hy1Sz6A6vsqj8vk9+Mi7Cv5wLM9mwO4=; b=lv1SXmT340IYKQbBuIVxu uHTSyeBqjlOkzYF30HQBm8rwvtOrgyug2sjNmKxTbNC2UcpkvnnJX/BzWcvgdLOr uw7fEO0GlHAPbA9gi24+dJGllzQTjn/5711P/+gYELpklcBWhECk7QOd414aHi1q WEO4SfYjkvbtrs7YMXw81w= Received: from Guix (unknown [117.92.30.200]) by smtp9 (Coremail) with SMTP id DcCowADHKJi7MEBiurzHCg--.35707S2; Sun, 27 Mar 2022 17:39:08 +0800 (CST) From: "Feng Shu" References: <87ee2om8pz.fsf@163.com> Date: Sun, 27 Mar 2022 17:39:07 +0800 In-Reply-To: <87ee2om8pz.fsf@163.com> (Feng Shu's message of "Sun, 27 Mar 2022 10:26:32 +0800") Message-ID: <87sfr3zqdg.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: DcCowADHKJi7MEBiurzHCg--.35707S2 X-Coremail-Antispam: 1Uf129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7v73 VFW2AGmfu7bjvjm3AaLaJ3UbIYCTnIWIevJa73UjIFyTuYvjTRtOzxUUUUU X-Originating-IP: [117.92.30.200] X-CM-SenderInfo: 5wxpt2lkx6il2tof0z/xtbB3xTQ1GBHIQOEVQAAsb 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=1648374018; 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=X+4tUR8ZtxF0Hy1Sz6A6vsqj8vk9+Mi7Cv5wLM9mwO4=; b=lZLI+tdf4OuqV4j1ApDh4Rz4lpBO83nnJq9yYJ0WJeM7beD41LMOXAwUWg+Wi+j3N9q5H8 jsKO9UiQHtIAEobDIgABiopP9v/B46v1dz3i9Yr02eDxUX5vxf75jOmIqlVJz/lnxLbkbz JuqOkvd4Rxrjn49G1aOl7UgC8ukXRYs1iZ6ImGYf7g2UIOnXm0gYWp9VOmqxQ1gZN+ndha 9MeNx0/QI85jAz7MNObq3GyVRgoJEUwwoSXrMV9E4eI28yrBc2YAfohyPvEBuAN2QBaVLo bQyrkRmcU9HankggQdFm5qsj5uR5AGEuglKVvv7jaovW1PfOc6wyc2YX+WzE7A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1648374018; a=rsa-sha256; cv=none; b=LjAXbsy4Wf+VecIKScGfWNdxizLWzTWhksurnVu5/In6L2c6dDwhNBVzHNLEpsV/Xarvcu xGf2YVky+b+SBf/IswEVLo19vbSiGEKYk/nu4RI4GmfZi0pUJIGtGHKBWubXGMXa7yR14p q7l08DG9oiLXVV5/Jru9q/ooXQ8IMmReGkNF3qGToMFdkdCjR4RVVHrC0w8aC2LcD5yVvg vhX2E+dYZCB+3rcMDXXVME3b8P9zvCY1eO/yKZ65uu6FB2P3qr6oLuweo4i1i7k1PVzj+2 3DN19INhP3o+j9dE/q9kwLWDY8d2wHlkDr44frr6U+CDjHeaAMs/VOUNwq/jlA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=163.com header.s=s110527 header.b=lv1SXmT3; 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: 4.53 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=163.com header.s=s110527 header.b=lv1SXmT3; 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: C9F322D121 X-Spam-Score: 4.53 X-Migadu-Scanner: scn0.migadu.com X-TUID: e7X7fHofULpx --=-=-= Content-Type: text/plain "Feng Shu" writes: > I think Mcomix 2.0.1 do not install locale date. I try to code a patch: --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-gnu-mcomix-Install-messages-directory.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 --=-=-= Content-Type: text/plain -- --=-=-=--