From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id aJccNDZ8vmA4bAAAgWs5BA (envelope-from ) for ; Mon, 07 Jun 2021 22:06:14 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id OGhYLzZ8vmAhOwAA1q6Kng (envelope-from ) for ; Mon, 07 Jun 2021 20:06:14 +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 1C65321446 for ; Mon, 7 Jun 2021 22:06:14 +0200 (CEST) Received: from localhost ([::1]:48212 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lqLVl-0001dO-45 for larch@yhetil.org; Mon, 07 Jun 2021 16:06:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36878) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lqLVb-0001ZL-0k for guix-patches@gnu.org; Mon, 07 Jun 2021 16:06:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45189) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lqLVa-0005jS-An for guix-patches@gnu.org; Mon, 07 Jun 2021 16:06:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lqLVZ-0001Ya-PX for guix-patches@gnu.org; Mon, 07 Jun 2021 16:06:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48909] [PATCH] gnu: Add goldendict. Resent-From: Sergey Trofimov Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 07 Jun 2021 20:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 48909 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48909@debbugs.gnu.org Cc: Sergey Trofimov X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16230963285919 (code B ref -1); Mon, 07 Jun 2021 20:06:01 +0000 Received: (at submit) by debbugs.gnu.org; 7 Jun 2021 20:05:28 +0000 Received: from localhost ([127.0.0.1]:56729 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lqLV1-0001XP-Ve for submit@debbugs.gnu.org; Mon, 07 Jun 2021 16:05:28 -0400 Received: from lists.gnu.org ([209.51.188.17]:35564) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lqLV0-0001XI-VY for submit@debbugs.gnu.org; Mon, 07 Jun 2021 16:05:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36650) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lqLV0-0001VE-QR for guix-patches@gnu.org; Mon, 07 Jun 2021 16:05:26 -0400 Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]:42909) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lqLUr-0005CR-Im for guix-patches@gnu.org; Mon, 07 Jun 2021 16:05:26 -0400 Received: by mail-wm1-x333.google.com with SMTP id l7-20020a05600c1d07b02901b0e2ebd6deso406651wms.1 for ; Mon, 07 Jun 2021 13:05:14 -0700 (PDT) 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=z5NzA929V5PUMvbKOGPwrIi5rwk/SthxCwLYfG/8dUg=; b=dfR4oDKRGTvTK9y3Hj9TdbDYx6WdH3YfpCuM9CUBz23lL+CmbTKd9GqI9rjOKveZY3 YqcrVKoeFDhP6t1EEqDUeq2GnMf6Tm9i1+j0jJYsuM53V2bV/PVfr1ixRPVATQVXKIr1 cEHBeklpD/5Ex6lXVbDEixft2fA7lsAYaTmyg= 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=z5NzA929V5PUMvbKOGPwrIi5rwk/SthxCwLYfG/8dUg=; b=GF6cns78UqvNFoqGt7u1IqqDxOwbkCm2CN8yXp20ssSKel3FG2aCoJnRH8S5uKMPJC iBFcia3X2sQgwSreBPrSHD7EGFvhT8NtO2Q0wC4uZ74SZQffG4JGVeCnCAu5YOZll4TW AAsHthKVTh38Ycc1po8q40PeiBOrRFTK14rYEWuRcgq0b6gTZEB1uPOSkm/hb/rV913a bfFcXYtlqReTcJg+D6ZQ2t00zRxXoWDRpJImaZGxPJS1O+NrFwot45cLYCLAks6Z/oKA jsJwrtbRHirvnyscFnvzyl6ppL3+C8oDtEGBS+pHYBK9ccwPT92+BjigHM1tMGbYH4t+ s80Q== X-Gm-Message-State: AOAM532As0zU+qC72PY5k4JmOL7Wj6/W2gdnQd+oZAC8qepu/qFhul1z DPjTY1qtY6m+L4/AmBhbfNDVD0RjkLQu8w== X-Google-Smtp-Source: ABdhPJzWkQ/QnZNhevdVHurhEMZI/cFiGtBDQ47ROmMJ5m0E0HQ1C5GZ0WqK1JWBABeI8+gDA4zmvg== X-Received: by 2002:a05:600c:2256:: with SMTP id a22mr691156wmm.113.1623096313106; Mon, 07 Jun 2021 13:05:13 -0700 (PDT) Received: from localhost ([92.206.237.187]) by smtp.gmail.com with ESMTPSA id k25sm600688wmi.36.2021.06.07.13.05.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Jun 2021 13:05:12 -0700 (PDT) From: Sergey Trofimov Date: Mon, 7 Jun 2021 22:05:32 +0200 Message-Id: <20210607200532.27565-1-sarg@sarg.org.ru> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: none client-ip=2a00:1450:4864:20::333; envelope-from=sarg@sarg.org.ru; helo=mail-wm1-x333.google.com X-Spam_score_int: -19 X-Spam_score: -2.0 X-Spam_bar: -- X-Spam_report: (-2.0 / 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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_PDS_PRO_TLD=0.01, URIBL_SBL_A=0.1 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=1623096374; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=z5NzA929V5PUMvbKOGPwrIi5rwk/SthxCwLYfG/8dUg=; b=ScmGAzAtLKnGYyEA2Fnaj944MXplUyz3wkSg1zgikqdTy8lbOeUTZcRLZgdHOaNwQVQQUR vOz9eZ1mUpW3p24Ws1aOQiOH2zcDfETHy/qP7BGJ/yLYqmOIJzwj3KSib+9Ctg9PE7WY7X O3vYg39tn6kTwKCJEHC8Gr5EWrYCkv2ag+aJ6wezMp5Mtqehfn9P5kTwoKpELEMZEvvG9r hQkX53OyXRCXjvtauMBm4oGjyzfp0VtiKAsxUzFVmfh41+Cy0mcwKzAmpvMki7DDqIy38p 1jsz51BaVkpEws6Aa1ua/qCCefA+7l1OqqjePMQgGQq4Gx5ALeolQDlr2tOjqg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1623096374; a=rsa-sha256; cv=none; b=LOwUdgVxF0zlheuMgX8nHA8UQ5nv9yrYJfpbmPqy0w40Kmff88wD52g5ihs5iuXrbEH4C8 Mz/QcDxWzsMNTNlT7ff2ToBTHlIRWkZqmPS1i1Tb6ZMQS+F6Z63BBlZ17LCVsK7c6SYOuf 2+S8TceX5+XlDay+T+MaKFPVto5+wFnFzuIeDraeB9GWRJ/pETrlr7HZQQUXgKxT6ykBFU FWYS+PF75vBQIDJ4ngWrhLOrIPb36q1PTwjXbaw+cVQgjYWiCcaDRSKZx3iaQYw5hHyYOF VVCCfJP+QcFE2xJzujiNVTVF9exC7xVV7PNCgswUBAMuyZDQeIkzKon8eA6k+w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=sarg.org.ru header.s=google header.b=dfR4oDKR; 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: 3.58 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=sarg.org.ru header.s=google header.b=dfR4oDKR; 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: 1C65321446 X-Spam-Score: 3.58 X-Migadu-Scanner: scn1.migadu.com X-TUID: nAbqUfJttksx --- gnu/packages/dictionaries.scm | 63 +++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) diff --git a/gnu/packages/dictionaries.scm b/gnu/packages/dictionaries.scm index 2b1f7f0ad1..74e15b884b 100644 --- a/gnu/packages/dictionaries.scm +++ b/gnu/packages/dictionaries.scm @@ -52,6 +52,12 @@ #:use-module (gnu packages texinfo) #:use-module (gnu packages compression) #:use-module (gnu packages tcl) + #:use-module (gnu packages xiph) + #:use-module (gnu packages libreoffice) + #:use-module (gnu packages xorg) + #:use-module (gnu packages image) + #:use-module (gnu packages qt) + #:use-module (gnu packages video) #:use-module (gnu packages xml)) @@ -398,6 +404,63 @@ intelligible and easily correctable.") (license (list license:gpl2 ; main license license:expat)))) ; utf8/* +(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+))) + (define-public sdcv (package (name "sdcv") -- 2.31.1