From patchwork Sat Sep 4 12:50:47 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Nicol=C3=B2_Balzarotti?= X-Patchwork-Id: 32615 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id AC1F127BBE3; Sat, 4 Sep 2021 13:51:19 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2, SPF_HELO_PASS,T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 2AC7727BBE1 for ; Sat, 4 Sep 2021 13:51:19 +0100 (BST) Received: from localhost ([::1]:49890 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mMV8g-0003aG-7m for patchwork@mira.cbaines.net; Sat, 04 Sep 2021 08:51:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47026) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mMV8Q-0003YQ-3i for guix-patches@gnu.org; Sat, 04 Sep 2021 08:51:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35309) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mMV8P-0003EP-ST for guix-patches@gnu.org; Sat, 04 Sep 2021 08:51:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mMV8P-0003hM-NR for guix-patches@gnu.org; Sat, 04 Sep 2021 08:51:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50372] Add qolibri with its dependency Resent-From: =?utf-8?q?Nicol=C3=B2?= Balzarotti Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 04 Sep 2021 12:51:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 50372 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 50372@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.163075985714204 (code B ref -1); Sat, 04 Sep 2021 12:51:01 +0000 Received: (at submit) by debbugs.gnu.org; 4 Sep 2021 12:50:57 +0000 Received: from localhost ([127.0.0.1]:46855 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mMV8L-0003h2-AM for submit@debbugs.gnu.org; Sat, 04 Sep 2021 08:50:57 -0400 Received: from lists.gnu.org ([209.51.188.17]:53190) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mMV8J-0003gu-9e for submit@debbugs.gnu.org; Sat, 04 Sep 2021 08:50:56 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47010) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mMV8G-0003Vh-V2 for guix-patches@gnu.org; Sat, 04 Sep 2021 08:50:54 -0400 Received: from mail-ed1-x52f.google.com ([2a00:1450:4864:20::52f]:38632) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mMV8F-00034v-9f for guix-patches@gnu.org; Sat, 04 Sep 2021 08:50:52 -0400 Received: by mail-ed1-x52f.google.com with SMTP id q3so2723394edt.5 for ; Sat, 04 Sep 2021 05:50:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:mime-version; bh=INkPLXVCiwJOfrBLGYluIyi2Vm5bgu7MYlOleR+fRUc=; b=krZL9KjslrajCNYoPCiv7EK87XCpjRl8Po8+lT9eEAYfv9y8LvOHq4A1agxBevSn9C gQ7ilGZH+uAcP0iL7yNH7b9Ae4c5oCcT6LdJUD17qTp/FJmONInn6bS3RJktyTyowh8l CW1JZPXL2/NlKWefdpOu1ivLwho5F71U1fEC3Z5bXa8U52eE35XiHvYzgrsaoxE39zcW QawsMzgo8Hus+UQ26z3CkQOIQLQ6wDaWGdxdYwu12Obz56JGEomPQokb+x3F84raSQ3P RtZzoxNL5Q8fGfkowwmA0x14ri+ueOQRM8hGysTKalRPIUGqa48Txh4nBENsmUl3kv8L z9+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=INkPLXVCiwJOfrBLGYluIyi2Vm5bgu7MYlOleR+fRUc=; b=hdXbDGPk7PrEHVEfFCs07fkzkNGmzd05Eq+KXnThlS/HAlUji24HV7Wc8wrWOacmj1 BYcjblMl6I8XHAX8Y3D3iFpyYQDNHR38PjfBin50cx01+IVG2udFODV456ueyitNw32m wkvkVCoRGaj1tT5S6XSkGAEjxkvKFFkEW9A+fIajRho6VdYfSgB1RPACudrk7sY9jS50 9lFx1oVRUWhHTBx0cO0VNa7XLzJFlQvLEiXRQ1SpIfeGRqM9FjKDkJ5LcgnGqGZa3iYt bxtVem9Z2eWviqi3ojNvL9JZLJRvBPIr4kKHWWrDx14ECIwDvfmxXJPoYzru9i/LqXpl azzg== X-Gm-Message-State: AOAM530pwYrNyXm5ItHLedFN9MKTe/LcXYPNgXs33SVMOqBla4RdjdPs RlXHM/vvxECE3OWPyTrhQwPi4POMT8M= X-Google-Smtp-Source: ABdhPJzLjUv6UA0Zw6Vd1lbR4oj76aNLJfGIWyw3h7D1lg8KGEP5jttDJIP6fFZds+2RYnPRu5izBg== X-Received: by 2002:a50:e789:: with SMTP id b9mr4062910edn.101.1630759849586; Sat, 04 Sep 2021 05:50:49 -0700 (PDT) Received: from guix (host-79-54-201-89.retail.telecomitalia.it. [79.54.201.89]) by smtp.gmail.com with ESMTPSA id s18sm1067317ejh.12.2021.09.04.05.50.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 04 Sep 2021 05:50:48 -0700 (PDT) From: =?utf-8?q?Nicol=C3=B2?= Balzarotti Date: Sat, 04 Sep 2021 14:50:47 +0200 Message-ID: <87wnnwijx4.fsf@guix.i-did-not-set--mail-host-address--so-tickle-me> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::52f; envelope-from=anothersms@gmail.com; helo=mail-ed1-x52f.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches Hi guix! Those two patches add qolibri, a dictionary viewver for the EPWING format (used by Japanese dictionaries) and libeb, a library used by qolibri to read those dictionaries. I could not find an homepage for libeb: AUR and NixOS do not have a working one (404 and missing), so I added the website where the file can be downloaded (but the website is in Japanese, if the libeb page was just moved I could not find it). Both packages build and guix lint does not complain. I was not sure about the best place for libeb (maybe it fits better under cdrom.scm) Thanks! Nicolò From 6d8228deb30b4aedfaadf6cda76bbe346a184baa Mon Sep 17 00:00:00 2001 From: nixo Date: Sat, 4 Sep 2021 14:26:17 +0200 Subject: [PATCH 2/2] gnu: Add qolibri. * gnu/packages/education.scm (qolibri): New variable. --- gnu/packages/education.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/education.scm b/gnu/packages/education.scm index 897dd37088..2039347ddc 100644 --- a/gnu/packages/education.scm +++ b/gnu/packages/education.scm @@ -1045,6 +1045,40 @@ formats.") (home-page "https://sra.co.jp/") (license license:bsd-3))) +(define-public qolibri + (package + (name "qolibri") + (version "2.1.4") + (source + (origin + (method git-fetch) + (uri (git-reference + (url"https://github.com/ludios/qolibri") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "066y7jcq9vg6hnvn7qxckzhd1qkgfzpzhw69nw5psm43qbaca8lg")))) + (build-system qt-build-system) + (arguments + '(#:tests? #f)) ; no test target + (native-inputs + `(("qttools", qttools))) + (inputs + `(("libeb" ,libeb) + ("qtbase" ,qtbase-5) + ("qtmultimedia" ,qtmultimedia) + ("qtquickcontrols2" ,qtquickcontrols2) + ("qtdeclarative" ,qtdeclarative) + ("qtwebchannel" ,qtwebchannel) + ("qtwebengine" ,qtwebengine) + ("zlib" ,zlib))) + (synopsis "EPWING dictionary reader") + (description "qolibri is a dictionary viewer for the EPWING dictionary +format. Most monolingual Japanese dictionaries can only be found in the +EPWING format.") + (home-page "https://github.com/ludios/qolibri") + (license license:gpl2))) + (define-public mdk (package (name "mdk") -- 2.33.0