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 McLoDMgC+18eRAAA0tVLHw (envelope-from ) for ; Sun, 10 Jan 2021 13:36:08 +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 8JgtCMgC+19DXwAAB5/wlQ (envelope-from ) for ; Sun, 10 Jan 2021 13:36:08 +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 B6F5D9402D4 for ; Sun, 10 Jan 2021 13:36:06 +0000 (UTC) Received: from localhost ([::1]:48472 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kyat3-00077W-Ni for larch@yhetil.org; Sun, 10 Jan 2021 08:36:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:57250) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kyaeW-0005Q3-Dw for guix-patches@gnu.org; Sun, 10 Jan 2021 08:21:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:41871) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kyaeU-0004B9-Qt for guix-patches@gnu.org; Sun, 10 Jan 2021 08:21:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kyaeU-0000RB-NM for guix-patches@gnu.org; Sun, 10 Jan 2021 08:21:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#45766] [PATCH] gnu: Add goldendict. Resent-From: Sergey Trofimov Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 10 Jan 2021 13:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 45766 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 45766@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16102848391597 (code B ref -1); Sun, 10 Jan 2021 13:21:02 +0000 Received: (at submit) by debbugs.gnu.org; 10 Jan 2021 13:20:39 +0000 Received: from localhost ([127.0.0.1]:53417 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kyae7-0000Pf-9F for submit@debbugs.gnu.org; Sun, 10 Jan 2021 08:20:39 -0500 Received: from lists.gnu.org ([209.51.188.17]:48794) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kyae5-0000PU-Es for submit@debbugs.gnu.org; Sun, 10 Jan 2021 08:20:37 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:57104) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kyae3-0005Ig-Uq for guix-patches@gnu.org; Sun, 10 Jan 2021 08:20:36 -0500 Received: from mail-ed1-x52f.google.com ([2a00:1450:4864:20::52f]:34875) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kyadu-00040H-Fh for guix-patches@gnu.org; Sun, 10 Jan 2021 08:20:32 -0500 Received: by mail-ed1-x52f.google.com with SMTP id u19so16070565edx.2 for ; Sun, 10 Jan 2021 05:20:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sarg.org.ru; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=ZCyAsoaK+xD+PK2hzkQtgO+R1daHdGi1vzdIySHE4qs=; b=lUCxlA81kbIpa1Cf8GBIptRZA4xdRZ8Wd2Ht9gSXdROQPexDg9lkG7l55kJKc95+Ac yoRWtkCHWuv6cy9/k7LJ7A5Q90cVag/zqgXotGKGgVBSEKoD0HJVIN1i1TSezyYGRDSB hJhRuX77G/sZnc4cG1T04+i5f6kL4vs6Gi2W8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=ZCyAsoaK+xD+PK2hzkQtgO+R1daHdGi1vzdIySHE4qs=; b=RK5N9YC8ubgqLBxFkiBXxlObMWS5lcX6/HuSoUsAvxTDQxnTS66sJXGCyD5+k7YzXB JkxKmZGKOyqqkMEjQTFKJ/PACkkKrTEFSBPolwQfwm14KJbpUnOaK/OedX9eqd+58FGr 3Kot537iVWOOsSzUIrt6WQcSTyDbskriOETMoQ3Dx8JzkZK7Lh3W3/yseipaSnek+LE9 2Hd19qZfdZVVX80arHYqG7R2xeOyA1uW3/FacB3oGQswSo0pNibaJYS6zBQ/W5xQX6oC e4WlQleKTAM6t2wTd9k4ztlygumxtzJSJFfKaO9AS2bLVbXSV40MyBnBlkp+2oTx9nKL IU4Q== X-Gm-Message-State: AOAM533j5OB8sHYBQl1OWUq2p2aS7YM9AHiSA0KCb2KyIrEjMr8n5PwI t1yp7uwCIbMFjrta4vYPLQrjmD5MNSN1Zh5ygMY= X-Google-Smtp-Source: ABdhPJwUi6llmp7//EYBO9ro+zpbc36EPLnXtBkW4P7V0BrpXOHgD9v7hvNx/dzeMoesvQLB2BG9RQ== X-Received: by 2002:a50:f0dc:: with SMTP id a28mr11298203edm.291.1610284822080; Sun, 10 Jan 2021 05:20:22 -0800 (PST) Received: from localhost ([92.206.237.93]) by smtp.gmail.com with ESMTPSA id p22sm5721990ejx.59.2021.01.10.05.20.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 Jan 2021 05:20:21 -0800 (PST) From: Sergey Trofimov Date: Sun, 10 Jan 2021 14:20:27 +0100 Message-Id: <20210110132027.8113-1-sarg@sarg.org.ru> X-Mailer: git-send-email 2.30.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: none client-ip=2a00:1450:4864:20::52f; envelope-from=sarg@sarg.org.ru; helo=mail-ed1-x52f.google.com X-Spam_score_int: 0 X-Spam_score: -0.1 X-Spam_bar: / X-Spam_report: (-0.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, PDS_OTHER_BAD_TLD=1.999, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=no 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: , Cc: Sergey Trofimov Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: 3.65 Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=sarg.org.ru header.s=google header.b=lUCxlA81; dmarc=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: B6F5D9402D4 X-Spam-Score: 3.65 X-Migadu-Scanner: scn0.migadu.com X-TUID: pisdp87j6SIs --- gnu/packages/dictionaries.scm | 57 +++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) diff --git a/gnu/packages/dictionaries.scm b/gnu/packages/dictionaries.scm index b49e287313..537f2da607 100644 --- a/gnu/packages/dictionaries.scm +++ b/gnu/packages/dictionaries.scm @@ -449,3 +449,60 @@ intelligible and easily correctable.") (description "sdcv is simple text-based utility for work with dictionaries in StarDict's format.") (license license:gpl2+))) + +(define-public goldendict + (package + (name "goldendict") + (version "2020-12-09") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/goldendict/goldendict.git") + (commit "261e45a5d79f9df2fbc050292410bed0f4ef3132"))) + + (sha256 + (base32 "01pny06d4cmwf998hpqd7xx7mccbbasb8js1bv3rkdi1ljg01f7n")))) + (build-system gnu-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'configure + (lambda* (#:key inputs outputs #:allow-other-keys) + (invoke "qmake" "goldendict.pro" + "CONFIG+=no_epwing_support" + (string-append "QMAKE_LRELEASE=" + (assoc-ref inputs "qttools") + "/bin/lrelease") + (string-append "PREFIX=" + (assoc-ref outputs "out")))))))) + + (native-inputs + `(("pkg-config" ,pkg-config))) + (inputs + `(("libvorbis" ,libvorbis) + ("zlib" ,zlib) + ("hunspell" ,hunspell) + ("x11proto-record-x11" ,xproto) + ("libtiff" ,libtiff) + ("qtbase" ,qtbase) + ("qtmultimedia" ,qtmultimedia) + ("qtsvg" ,qtsvg) + ("qttools" ,qttools) + ("qtwebkit" ,qtwebkit) + ("qtwebview" ,qtwebview) + ("qtx11extras" ,qtx11extras) + ("libxtst" ,libxtst) + ("lzo" ,lzo) + ("bzip2" ,bzip2) + ("ao" ,ao) + ("ffmpeg" ,ffmpeg))) + (synopsis "A feature-rich dictionary lookup program") + (description + "GoldenDict is a feature-rich dictionary lookup program, +supporting multiple dictionary formats (StarDict, Babylon, Lingvo, Dictd, AARD, +MDict, SDict) and online dictionaries, featuring perfect article rendering with +the complete markup, illustrations and other content retained, and allowing you +to type in words without any accents or correct case.") + (home-page "http://goldendict.org/") + (license license:gpl3+))) -- 2.30.0