From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 6B3EK8RrM2GLRgAAgWs5BA (envelope-from ) for ; Sat, 04 Sep 2021 14:51:16 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 0NNrJ8RrM2GQdQAAbx9fmQ (envelope-from ) for ; Sat, 04 Sep 2021 12:51:16 +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 97BC6EB75 for ; Sat, 4 Sep 2021 14:51:15 +0200 (CEST) Received: from localhost ([::1]:49890 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mMV8c-0003aG-Md for larch@yhetil.org; Sat, 04 Sep 2021 08:51:14 -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 Content-Type: multipart/mixed; boundary="=-=-=" 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1630759876; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=INkPLXVCiwJOfrBLGYluIyi2Vm5bgu7MYlOleR+fRUc=; b=IAmnPNb+IOCzz5VGa3TAN9cX5lAAwUkaicariPeRuZOtKkMhXTAtGOO7c52dtbTwC8F/G9 yWuYut4edGxVXcSxOvMcDEA8zwXP+gjYRMyCwH4g8/0U2yjoVSeIXKLMQbJAXJdDHuD1HR aPcgI02wLz26NLh09GRjnoUuy6hhibF5wDmFyVg42jACA2pfGNtQR8QmscMO26WkhNVZBq fwUrJs/0LQYiI/qRXWUpYaDcm8kjlTCJThz26vywVPo0EEWKRHEmvDcZnbduINek0TpVxS aOORAkb4zKZM3yNOHDMGaRAPYdekQb3j23ZNvn41VATh2u0qs9Dpcu5+6Ui+ng== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1630759876; a=rsa-sha256; cv=none; b=VW01TZmUnT6dfR5GTWt1ASY3jXEErAB0/Rwt8+X9TiWNNz7YT/4GsLhRTUFs6rBwlFlOBT aNRRVKqGlS3/dfmRO9JbGVP9NrYSMfBZDKIhO/KDqtZmL17QDPpGSFaHNoN+oqimx1l9GQ 9mg5vf8ug0nrqEn+nwpChLIOGZAp9lkJVmFS2FF9ramSkA0+ZU0g1dZktRjq3W5RO3my2g XR1qLUIwauDVuwiYAAtZ9SINcMZI00MUgKLIbESHhGxub1e6FAFPhM5MwuNj57LUdgK8v9 gs56uBKSb3gzudh29Cc7kwbDdO8pVJmQ5v1nistfnsSMtuF7hHUTmD1IfwgO9Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=krZL9Kjs; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (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-Migadu-Spam-Score: 0.18 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=krZL9Kjs; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (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-Migadu-Queue-Id: 97BC6EB75 X-Spam-Score: 0.18 X-Migadu-Scanner: scn0.migadu.com X-TUID: O9D9mLcABBe9 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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=C3=B2 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-gnu-Add-libeb.patch >From 0474a605bb952443b94ea1bdd3a681c7d1daf367 Mon Sep 17 00:00:00 2001 From: nixo Date: Sat, 4 Sep 2021 14:15:27 +0200 Subject: [PATCH 1/2] gnu: Add libeb. * gnu/packages/education.scm (libeb): New variable. --- gnu/packages/education.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/education.scm b/gnu/packages/education.scm index f0120c8af2..897dd37088 100644 --- a/gnu/packages/education.scm +++ b/gnu/packages/education.scm @@ -1019,6 +1019,32 @@ factoring numbers and simplifying fractions, as well as zapping rocks floating through space.") (license license:gpl3+))) +(define-public libeb + (package + (name "libeb") + (version "4.4.3") + (source + (origin + (method url-fetch) + (uri + (string-append "ftp://ftp.sra.co.jp/pub/misc/eb/eb-" version ".tar.bz2")) + (sha256 + (base32 + "0psbdzirazfnn02hp3gsx7xxss9f1brv4ywp6a15ihvggjki1rxb")))) + (build-system gnu-build-system) + (native-inputs ; Required for building docs + `(("perl" ,perl))) + (inputs + `(("zlib" ,zlib))) + (synopsis "C library for accessing Japanese CD-ROM books") + (description "The EB library is a library for accessing CD-ROM +books, which are a common way to distribute electronic dictionaries in +Japan. It supports the EB, EBG, EBXA, EBXA-C, S-EBXA and EPWING +formats.") + ;; FIXME: I cannot find a real home page + (home-page "https://sra.co.jp/") + (license license:bsd-3))) + (define-public mdk (package (name "mdk") -- 2.33.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0002-gnu-Add-qolibri.patch >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 --=-=-=--