From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id wPb0HMhMRV/sIwAA0tVLHw (envelope-from ) for ; Tue, 25 Aug 2020 17:39:20 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 2NDoGMhMRV9tegAAB5/wlQ (envelope-from ) for ; Tue, 25 Aug 2020 17:39:20 +0000 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 214AF940631 for ; Tue, 25 Aug 2020 17:39:20 +0000 (UTC) Received: from localhost ([::1]:59320 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kAcul-0000VL-2N for larch@yhetil.org; Tue, 25 Aug 2020 13:39:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41072) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kAcuW-00009R-N1 for guix-patches@gnu.org; Tue, 25 Aug 2020 13:39:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52617) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kAcuW-0000iJ-Dm for guix-patches@gnu.org; Tue, 25 Aug 2020 13:39:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kAcuW-0002iw-BP for guix-patches@gnu.org; Tue, 25 Aug 2020 13:39:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#43045] [PATCH 7/7] gnu: Add komikku. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 25 Aug 2020 17:39:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43045 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 43045@debbugs.gnu.org Received: via spool by 43045-submit@debbugs.gnu.org id=B43045.159837710910384 (code B ref 43045); Tue, 25 Aug 2020 17:39:04 +0000 Received: (at 43045) by debbugs.gnu.org; 25 Aug 2020 17:38:29 +0000 Received: from localhost ([127.0.0.1]:35924 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kActw-0002hL-LK for submit@debbugs.gnu.org; Tue, 25 Aug 2020 13:38:28 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:3227) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kActp-0002h0-AS for 43045@debbugs.gnu.org; Tue, 25 Aug 2020 13:38:22 -0400 Received: from localhost.localdomain (213-147-177-210.hdsl.highway.telekom.at [213.147.177.210]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4Bbbn66Dp1z3x86 for <43045@debbugs.gnu.org>; Tue, 25 Aug 2020 19:38:18 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1598377098; bh=9jxN379YOOLF1yozCWsJ+mx0LO4nXmZazF0+uWL6AEs=; h=From:To:Subject:Date:In-Reply-To:References; b=KtUR7xWBDNbENvq+5/0t9MyQAjZkbjRqtpvQQkM/us1rUCnHwa8VIgozXtappeHIp Ymdk7wWY/Se/PZ0Y9S0OAlNHcKAgCGpyND1u7HTTrKIUM4A9eRZs+rcnGB/iGlsBqG Hr2ux1+lYix7JzCS+jB9WaNIIb1PVsUbulicN2PY= From: Leo Prikler Date: Tue, 25 Aug 2020 19:37:36 +0200 Message-Id: <20200825173735.16156-7-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200825173735.16156-1-leo.prikler@student.tugraz.at> References: <20200825173735.16156-1-leo.prikler@student.tugraz.at> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Spam-Scanner: SpamAssassin 3.003001 X-Spam-Score-relay: -1.9 X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -3.3 (---) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=tugraz.at header.s=mailrelay header.b=KtUR7xWB; dmarc=fail reason="SPF not aligned (relaxed)" header.from=student.tugraz.at (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: 5.09 X-TUID: Rjyz2gGMForM * gnu/packages/gnome.scm (komikku): New variable. --- gnu/packages/gnome.scm | 65 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index b14e25b1eb..cfc3c954b8 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -155,6 +155,7 @@ #:use-module (gnu packages polkit) #:use-module (gnu packages popt) #:use-module (gnu packages pretty-print) + #:use-module (gnu packages protobuf) #:use-module (gnu packages pulseaudio) #:use-module (gnu packages python) #:use-module (gnu packages python-crypto) @@ -11336,3 +11337,67 @@ environment (IDE) for writing GNOME-based software. It features fuzzy search, auto-completion, a mini code map, documentation browsing, Git integration, an integrated profiler via Sysprof, debugging support, and more.") (license license:gpl3+))) + +(define-public komikku + (package + (name "komikku") + (version "0.19.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.com/valos/Komikku/") + (commit (string-append "v" version)))) + (sha256 + (base32 + "16d7k500nd9klnjqqcgk3glhv2sy78yndkz3n0x7lynvblsy45kk")))) + (build-system meson-build-system) + (arguments + `(#:glib-or-gtk? #t + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-sources + (lambda _ + (substitute* "komikku/utils.py" + (("from komikku\\.servers import get_servers_list") + ;; code following that line should migrate old databases + ;; but the line itself results in an import error + "return data_dir_path")))) + (add-after 'unpack 'skip-gtk-update-icon-cache + (lambda _ + (substitute* "meson_post_install.py" + (("gtk-update-icon-cache") (which "true"))) + #t)) + (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap + (lambda* (#:key outputs #:allow-other-keys) + (let ((prog (string-append (assoc-ref outputs "out") + "/bin/komikku"))) + (wrap-program prog + `("PYTHONPATH" = (,(getenv "PYTHONPATH"))) + `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))) + #t)))))) + (inputs + `(("gobject-introspection" ,gobject-introspection) + ("gtk+" ,gtk+) + ("libhandy" ,libhandy) + ("libnotify" ,libnotify) + ("libsecret" ,libsecret) + ("python-beautifulsoup4" ,python-beautifulsoup4) + ("python-cloudscraper" ,python-cloudscraper) + ("python-dateparser" ,python-dateparser) + ("python-keyring" ,python-keyring) + ("python-lxml" ,python-lxml) + ("python-magic" ,python-magic) + ("python-pillow" ,python-pillow) + ("python-pure-protobuf" ,python-pure-protobuf) + ("python-pycairo" ,python-pycairo) + ("python-pygobject" ,python-pygobject) + ("python-unidecode" ,python-unidecode))) + (native-inputs + `(("glib:bin" ,glib "bin") + ("pkg-config" ,pkg-config))) + (home-page "https://gitlab.com/valos/Komikku") + (synopsis "Manga reader for GNOME") + (description "Komikku is an online/offline manga reader for GNOME, +developed with the aim of being used with the Librem 5 phone.") + (license license:gpl3+))) -- 2.28.0