From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 07 16:05:28 2021 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 To: guix-patches@gnu.org Subject: [PATCH] gnu: Add goldendict. 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-Spam-Score: -1.5 (-) X-Debbugs-Envelope-To: submit Cc: Sergey Trofimov X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.5 (--) --- 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 From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 08 10:36:30 2021 Received: (at 48909) by debbugs.gnu.org; 8 Jun 2021 14:36:30 +0000 Received: from localhost ([127.0.0.1]:59443 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lqcqE-0000rQ-6c for submit@debbugs.gnu.org; Tue, 08 Jun 2021 10:36:30 -0400 Received: from mout-p-101.mailbox.org ([80.241.56.151]:32980) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lqcq9-0000r4-70 for 48909@debbugs.gnu.org; Tue, 08 Jun 2021 10:36:29 -0400 Received: from smtp1.mailbox.org (smtp1.mailbox.org [80.241.60.240]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-101.mailbox.org (Postfix) with ESMTPS id 4Fzt8f4FZlzQk93; Tue, 8 Jun 2021 16:36:18 +0200 (CEST) X-Virus-Scanned: amavisd-new at heinlein-support.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brendan.scot; s=MBO0001; t=1623162976; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=htbbu/eXB5ku8tIAVKbzJ9dNYtGYRjTvfHmOIIctUGs=; b=r9yvirGIfJ67gaeusLQCn3p/g+AIHivDYuMLD8CoMk+Py2rNkOOafO0WK38SCubpnTy/Ig n5YRRUsRq0QXQbfOYYRjof0OGRulsR74AqQ1BbgEzmV2VZk6FoIynKJxHyEn6hALj6vmaa n6zXCVmgT7vemuC4DpiH0psBASuBz4HYVk1wT+5sid831WjO3gkg9FI4bn+84Se6Y6qo0t i6644YEIYhgmMC2royaF1Bm+wVvE8jr4EapgDYkx0ivdw/MozG5O9UFjLnjkYAcHGibprk NFXylKhMD6M6tx0DsiWUyeTUqwsvwmJ2qW/gtoiakztAfYnLbLWnnT69MuS6Sg== Received: from smtp1.mailbox.org ([80.241.60.240]) by spamfilter03.heinlein-hosting.de (spamfilter03.heinlein-hosting.de [80.241.56.117]) (amavisd-new, port 10030) with ESMTP id f-kr-BwWUaZb; Tue, 8 Jun 2021 16:36:14 +0200 (CEST) Date: Tue, 8 Jun 2021 16:36:13 +0200 (CEST) From: Brendan Tildesley To: "48909@debbugs.gnu.org" <48909@debbugs.gnu.org> Message-ID: <1051806061.54116.1623162973231@office.mailbox.org> Subject: [PATCH] gnu: Add goldendict. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Priority: 3 Importance: Normal X-MBO-SPAM-Probability: X-Rspamd-Score: -1.96 / 15.00 / 15.00 X-Rspamd-Queue-Id: 4B449189F X-Rspamd-UID: 2d00d0 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 48909 Cc: Sergey Trofimov X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) The program phones home to check for updates at this url http://goldendict.org/latest_release.php?current=1.5.0-RC2+git&platform=x11 Setting checkForNewReleases( false ), in config.cc should fix it... Actually Nix has a patch to disable updates that edits some other lines for some reason. Theres also a substitute fixing the hardcoded hunspell-1.6.1. Not sure if that is needed. Also consider adding opencc as an input and adding "CONFIG+=chinese_conversion_support" I tried packaging this years ago but I got stuck figuring out how Goldendict is supposed to find system installed dictionaries. Ludo suggested a patch but I can't code in C/C++ so I was unable to do it. https://lists.gnu.org/archive/html/guix-devel/2017-10/msg00238.html You can see that Goldendict looks in these places for dictionaries: #ifdef Q_OS_LINUX if ( QDir( "/usr/share/stardict/dic" ).exists() ) c.paths.push_back( Path( "/usr/share/stardict/dic", true ) ); if ( QDir( "/usr/share/dictd" ).exists() ) c.paths.push_back( Path( "/usr/share/dictd", true ) ); if ( QDir( "/usr/share/opendict/dictionaries" ).exists() ) c.paths.push_back( Path( "/usr/share/opendict/dictionaries", true ) ); if ( QDir( "/usr/share/goldendict-wordnet" ).exists() ) c.paths.push_back( Path( "/usr/share/goldendict-wordnet", true ) ); if ( QDir( "/usr/share/WyabdcRealPeopleTTS" ).exists() ) c.soundDirs.push_back( SoundDir( "/usr/share/WyabdcRealPeopleTTS", "WyabdcRealPeopleTTS" ) ); if ( QDir( "/usr/share/myspell/dicts" ).exists() ) c.hunspell.dictionariesPath = "/usr/share/myspell/dicts"; I think Guix/Nix support should be added directly upstream, so it can look in /run/current-system/profile/share and $GUIX_PROFILE/share for dictionaries. However it would still be good to add goldendict and work on that later. From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 08 16:06:56 2021 Received: (at 48909) by debbugs.gnu.org; 8 Jun 2021 20:06:56 +0000 Received: from localhost ([127.0.0.1]:59851 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lqhzv-0005EN-Ee for submit@debbugs.gnu.org; Tue, 08 Jun 2021 16:06:56 -0400 Received: from mail-wm1-f42.google.com ([209.85.128.42]:42837) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lqhzp-0005E3-0K for 48909@debbugs.gnu.org; Tue, 08 Jun 2021 16:06:50 -0400 Received: by mail-wm1-f42.google.com with SMTP id l7-20020a05600c1d07b02901b0e2ebd6deso2707019wms.1 for <48909@debbugs.gnu.org>; Tue, 08 Jun 2021 13:06:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sarg.org.ru; s=google; h=references:user-agent:from:to:cc:subject:in-reply-to:message-id :date:mime-version; bh=KNnfaDxQfGsa+a+ctxo4pphtuRKbxI0g9e41/sfYveE=; b=dpou5RFxZpOucNDhl50hCIhyS91p4sOBR/+5aIdLC/DBGIa2AEUA7r1B6IUBki5Ni8 NeeMsyfFOIpwUlFGHDJoTP1922/+kPqLbvoeJ3Q74dzXbxvY0JZ93/V73VGshVuXW0Af nUau6/EWtUv1n+h/03QWkVdjrr0AI22QHE8fo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:message-id:date:mime-version; bh=KNnfaDxQfGsa+a+ctxo4pphtuRKbxI0g9e41/sfYveE=; b=tESgQJKS8TD3Q6usPzHgoK/kQtMNVGikgfHfXpik5qEDGKwfjOf8ibW6m5ZJG8vA7y pnV21qXq59Aw1ZHzAP/fC1sTWyTv0UuZCb9v4auVe8dLvFqU/trtGkStNHABzLgD/NGw DB1N7rBj71ESmUBGbfZ3FktuWGF1InNTl2EfrxHQHceL4QSmQQ1vZSoX8vTBo/5x7u63 661t1FEZcRmSRBkFUaoMEW4crhVPtcd/dwhUQMXreN+Q4fqPE2jZjmejlo7gwkyC0D8z gmUPJ6YbcXEjJJanqQfoqWsiB7yrdeer4E3i3xpC+AK3Pxv4Evd8M/rMclb9wz3TPhrg kU/Q== X-Gm-Message-State: AOAM530SGI/uCMGLXHdExl5yoZtAVTqnMszkOPQE8Sy/7a6B1j2Tbsqc mKP/MjcmEE4y9+acZZZQl1zQeu4niWtTEw== X-Google-Smtp-Source: ABdhPJy1hg5mPtQp0HSTinvswDfzPzAzgHCfNLV0WQmRMvecDG6b1DR7jegqW+sqG4PpK38ptQ465g== X-Received: by 2002:a1c:9804:: with SMTP id a4mr24368307wme.34.1623182799039; Tue, 08 Jun 2021 13:06:39 -0700 (PDT) Received: from localhost ([92.206.237.187]) by smtp.gmail.com with ESMTPSA id q11sm20557759wrx.80.2021.06.08.13.06.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Jun 2021 13:06:38 -0700 (PDT) References: <1051806061.54116.1623162973231@office.mailbox.org> User-agent: mu4e 1.4.15; emacs 28.0.50 From: Sergey Trofimov To: 48909@debbugs.gnu.org Subject: Re: [PATCH] gnu: Add goldendict. In-reply-to: <1051806061.54116.1623162973231@office.mailbox.org> Message-ID: <87tum8qfwo.fsf@sarg.org.ru> Date: Tue, 08 Jun 2021 22:07:19 +0200 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 0.8 (/) X-Debbugs-Envelope-To: 48909 Cc: mail@brendan.scot X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.2 (/) --=-=-= Content-Type: text/plain; format=flowed I've reused the patch from nixpkgs and added opencc dependency. --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-gnu-Add-goldendict.patch >From e5c96b58f23f56da605b4ccdf3cef7d04ef379c9 Mon Sep 17 00:00:00 2001 From: Sergey Trofimov Date: Mon, 7 Jun 2021 21:50:30 +0200 Subject: [PATCH] gnu: Add goldendict. --- gnu/packages/dictionaries.scm | 65 +++++++++++++++++++ .../goldendict-remove-check-for-update.patch | 49 ++++++++++++++ 2 files changed, 114 insertions(+) create mode 100644 gnu/packages/patches/goldendict-remove-check-for-update.patch diff --git a/gnu/packages/dictionaries.scm b/gnu/packages/dictionaries.scm index 2b1f7f0ad1..92c6d6d742 100644 --- a/gnu/packages/dictionaries.scm +++ b/gnu/packages/dictionaries.scm @@ -52,6 +52,13 @@ #: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 textutils) + #:use-module (gnu packages qt) + #:use-module (gnu packages video) #:use-module (gnu packages xml)) @@ -398,6 +405,64 @@ 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")) + (patches (search-patches "goldendict-remove-check-for-update.patch")))) + (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" + "CONFIG+=chinese_conversion_support" + "QMAKE_LRELEASE=lrelease" + (string-append "PREFIX=" + (assoc-ref outputs "out")))))))) + + (native-inputs + `(("pkg-config" ,pkg-config) + ("qttools" ,qttools))) + (inputs + `(("ao" ,ao) + ("bzip2" ,bzip2) + ("hunspell" ,hunspell) + ("ffmpeg" ,ffmpeg) + ("libtiff" ,libtiff) + ("libvorbis" ,libvorbis) + ("libxtst" ,libxtst) + ("opencc" ,opencc) + ("qtx11extras" ,qtx11extras) + ("qtbase" ,qtbase) + ("qtmultimedia" ,qtmultimedia) + ("qtsvg" ,qtsvg) + ("qttools" ,qttools) + ("qtwebkit" ,qtwebkit) + ("qtwebview" ,qtwebview) + ("lzo" ,lzo) + ("x11proto-record-x11" ,xproto) + ("zlib" ,zlib))) + (synopsis "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") diff --git a/gnu/packages/patches/goldendict-remove-check-for-update.patch b/gnu/packages/patches/goldendict-remove-check-for-update.patch new file mode 100644 index 0000000000..c5984963c3 --- /dev/null +++ b/gnu/packages/patches/goldendict-remove-check-for-update.patch @@ -0,0 +1,49 @@ +diff --git i/config.cc w/config.cc +index 04b63f5..7a453d9 100644 +--- i/config.cc ++++ w/config.cc +@@ -182,7 +182,7 @@ Preferences::Preferences(): + pronounceOnLoadPopup( false ), + useInternalPlayer( InternalPlayerBackend::anyAvailable() ), + internalPlayerBackend( InternalPlayerBackend::defaultBackend() ), +- checkForNewReleases( true ), ++ checkForNewReleases( false ), + disallowContentFromOtherSites( false ), + enableWebPlugins( false ), + hideGoldenDictHeader( false ), +@@ -867,8 +867,8 @@ Class load() THROW_SPEC( exError ) + c.preferences.proxyServer.systemProxyPassword = proxy.namedItem( "systemProxyPassword" ).toElement().text(); + } + +- if ( !preferences.namedItem( "checkForNewReleases" ).isNull() ) +- c.preferences.checkForNewReleases = ( preferences.namedItem( "checkForNewReleases" ).toElement().text() == "1" ); ++ //if ( !preferences.namedItem( "checkForNewReleases" ).isNull() ) ++ // c.preferences.checkForNewReleases = ( preferences.namedItem( "checkForNewReleases" ).toElement().text() == "1" ); + + if ( !preferences.namedItem( "disallowContentFromOtherSites" ).isNull() ) + c.preferences.disallowContentFromOtherSites = ( preferences.namedItem( "disallowContentFromOtherSites" ).toElement().text() == "1" ); +@@ -1819,9 +1819,9 @@ void save( Class const & c ) THROW_SPEC( exError ) + proxy.appendChild( opt ); + } + +- opt = dd.createElement( "checkForNewReleases" ); +- opt.appendChild( dd.createTextNode( c.preferences.checkForNewReleases ? "1" : "0" ) ); +- preferences.appendChild( opt ); ++ //opt = dd.createElement( "checkForNewReleases" ); ++ //opt.appendChild( dd.createTextNode( c.preferences.checkForNewReleases ? "1" : "0" ) ); ++ //preferences.appendChild( opt ); + + opt = dd.createElement( "disallowContentFromOtherSites" ); + opt.appendChild( dd.createTextNode( c.preferences.disallowContentFromOtherSites ? "1" : "0" ) ); +diff --git i/preferences.cc w/preferences.cc +index 72c3147..7e48f00 100644 +--- i/preferences.cc ++++ w/preferences.cc +@@ -314,6 +314,7 @@ Preferences::Preferences( QWidget * parent, Config::Class & cfg_ ): + this, SLOT( customProxyToggled( bool ) ) ); + + ui.checkForNewReleases->setChecked( p.checkForNewReleases ); ++ ui.checkForNewReleases->setEnabled( false ); + ui.disallowContentFromOtherSites->setChecked( p.disallowContentFromOtherSites ); + ui.enableWebPlugins->setChecked( p.enableWebPlugins ); + ui.hideGoldenDictHeader->setChecked( p.hideGoldenDictHeader ); -- 2.32.0 --=-=-= Content-Type: text/plain; format=flowed Brendan Tildesley writes: > The program phones home to check for updates at this url > Also consider adding opencc as an input and adding > "CONFIG+=chinese_conversion_support" --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 13 16:41:04 2021 Received: (at 48909) by debbugs.gnu.org; 13 Jun 2021 20:41:04 +0000 Received: from localhost ([127.0.0.1]:44440 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lsWul-0002FC-Th for submit@debbugs.gnu.org; Sun, 13 Jun 2021 16:41:04 -0400 Received: from eggs.gnu.org ([209.51.188.92]:59316) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lsWuj-0002Ea-HB for 48909@debbugs.gnu.org; Sun, 13 Jun 2021 16:41:01 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:52454) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lsWuc-0003dk-8B; Sun, 13 Jun 2021 16:40:54 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=57648 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lsWuc-0000dl-0o; Sun, 13 Jun 2021 16:40:54 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Sergey Trofimov Subject: Re: bug#48909: [PATCH] gnu: Add goldendict. References: <1051806061.54116.1623162973231@office.mailbox.org> <87tum8qfwo.fsf@sarg.org.ru> Date: Sun, 13 Jun 2021 22:40:52 +0200 In-Reply-To: <87tum8qfwo.fsf@sarg.org.ru> (Sergey Trofimov's message of "Tue, 08 Jun 2021 22:07:19 +0200") Message-ID: <87lf7dzeej.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 48909 Cc: 48909@debbugs.gnu.org, mail@brendan.scot X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi Sergey, Sergey Trofimov skribis: > I've reused the patch from nixpkgs and added opencc dependency. > >>>From e5c96b58f23f56da605b4ccdf3cef7d04ef379c9 Mon Sep 17 00:00:00 2001 > From: Sergey Trofimov > Date: Mon, 7 Jun 2021 21:50:30 +0200 > Subject: [PATCH] gnu: Add goldendict. > > --- > gnu/packages/dictionaries.scm | 65 +++++++++++++++++++ > .../goldendict-remove-check-for-update.patch | 49 ++++++++++++++ > 2 files changed, 114 insertions(+) > create mode 100644 gnu/packages/patches/goldendict-remove-check-for-upda= te.patch Overall it LGTM, and it=E2=80=99s great that you addressed the issue Brendan mentioned. Minor issues: [...] > +++ b/gnu/packages/patches/goldendict-remove-check-for-update.patch > @@ -0,0 +1,49 @@ > +diff --git i/config.cc w/config.cc Please add a line or two at the top explaining what the patch does. Also add this file to =E2=80=98gnu/local.mk=E2=80=99. Bonus points if you attempt a ChangeLog-style commit log. :-) (See .) Could you send an updated patch? Thank you! Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 14 02:26:36 2021 Received: (at 48909) by debbugs.gnu.org; 14 Jun 2021 06:26:36 +0000 Received: from localhost ([127.0.0.1]:44764 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lsg3L-0008Dq-P8 for submit@debbugs.gnu.org; Mon, 14 Jun 2021 02:26:36 -0400 Received: from mail-wr1-f50.google.com ([209.85.221.50]:41798) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lsg3J-0008DY-7S for 48909@debbugs.gnu.org; Mon, 14 Jun 2021 02:26:30 -0400 Received: by mail-wr1-f50.google.com with SMTP id o3so13158440wri.8 for <48909@debbugs.gnu.org>; Sun, 13 Jun 2021 23:26:29 -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=1m93hh1TF/sXXR8C7Ix2Fl5Zb3pGjJnSXxmUd8D8FTU=; b=lcXN9fxjYAq0BmgY/VzJplps3umOMiYQ88htQQRqzmTDCHq8wEItPntax2bt9JmjoN 964rrpHIGZ/u7/v0uXwI4fNyE3XsCtksTiZZLT+aCr73GjtQc1qZzsUaulQ7oF21f7Jk J9usxe/JXiP20Zr2qdVPdDEr4PqN4vCH99wzQ= 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=1m93hh1TF/sXXR8C7Ix2Fl5Zb3pGjJnSXxmUd8D8FTU=; b=EBlke3UCIl3HWKcaZ9Ed+gXQ8vs9EMoH0wzvGQHfi0G3t3n9ISGDuS0HQH9sF+BJw/ N/r4WQ9LFNxTFv5cf5rdWTS8Y+FvbG8fqUrQcDFQ5+h/xZdOCTyntOqeYJTdgVzfuX/w 4kXqUsS+oDAPWhIDgFqH+6CaFzwlgj1ptx/ihHUN2RF4crr8oGqriPnovxHICGnFxoAD z0IBD0q64+zpOQkNZc06JYWChdjM/D+qyQHn5pX+uNd3HmjbNuwl4PR92hM9QnstHZrg rqLVm86Y97V/zpMDYnsP5ilzgDGfpK6JgkHF9M1lw78/tufgHtKhvBtmI1mJ8zudFOL8 xNlg== X-Gm-Message-State: AOAM532Cf7gUBGqMuFkPW6PHB8mCXSaEj0UnJd1R5ZuM1lyrEcydrNF9 bjcpUZbuNaPEhwJEvZt4A83Hb/V6ltInHNOn X-Google-Smtp-Source: ABdhPJwwBkO9MLwXInukTnhHM644Bpf8i5RvG5jljnIyLFCK7oWdmTwQQ8bJihBKJj5nbcOi5JvqyQ== X-Received: by 2002:adf:a193:: with SMTP id u19mr17100419wru.9.1623651982632; Sun, 13 Jun 2021 23:26:22 -0700 (PDT) Received: from localhost ([92.206.237.187]) by smtp.gmail.com with ESMTPSA id p15sm7673254wmq.43.2021.06.13.23.26.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 13 Jun 2021 23:26:21 -0700 (PDT) From: Sergey Trofimov To: 48909@debbugs.gnu.org Subject: [PATCH] gnu: Add goldendict. Date: Mon, 14 Jun 2021 08:26:56 +0200 Message-Id: <20210614062656.4499-1-sarg@sarg.org.ru> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 48909 Cc: Sergey Trofimov X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) * gnu/packages/dictionaries.scm (goldendict): New variable. --- gnu/local.mk | 1 + gnu/packages/dictionaries.scm | 70 +++++++++++++++++++ .../goldendict-remove-check-for-update.patch | 52 ++++++++++++++ 3 files changed, 123 insertions(+) create mode 100644 gnu/packages/patches/goldendict-remove-check-for-update.patch diff --git a/gnu/local.mk b/gnu/local.mk index 73556cc184..43765836b4 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -1161,6 +1161,7 @@ dist_patch_DATA = \ %D%/packages/patches/gobject-introspection-absolute-shlib-path.patch \ %D%/packages/patches/gobject-introspection-cc.patch \ %D%/packages/patches/gobject-introspection-girepository.patch \ + %D%/packages/patches/goldendict-remove-check-for-update.patch \ %D%/packages/patches/go-skip-gc-test.patch \ %D%/packages/patches/gpm-glibc-2.26.patch \ %D%/packages/patches/gpodder-disable-updater.patch \ diff --git a/gnu/packages/dictionaries.scm b/gnu/packages/dictionaries.scm index 5ca9e128ff..79b10ed9ac 100644 --- a/gnu/packages/dictionaries.scm +++ b/gnu/packages/dictionaries.scm @@ -52,6 +52,13 @@ #: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 textutils) + #:use-module (gnu packages qt) + #:use-module (gnu packages video) #:use-module (gnu packages xml)) @@ -398,6 +405,69 @@ intelligible and easily correctable.") (license (list license:gpl2 ; main license license:expat)))) ; utf8/* +(define-public goldendict + (package + (name "goldendict") + (version "2021-06-12") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/goldendict/goldendict.git") + (commit "57c4c33780d1fb20156ca2f819de62bfb974b867"))) + (sha256 + (base32 "0d4swrkqv9q1b1zp5z7c36yv9skdsfsbyfynv2nxclhg1ra87svp")) + (patches (search-patches "goldendict-remove-check-for-update.patch")) + (modules '((guix build utils))) + (snippet '(begin + (for-each delete-file-recursively + '("winlibs" "maclibs")) + #t)))) + (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" + "CONFIG+=chinese_conversion_support" + "QMAKE_LRELEASE=lrelease" + (string-append "PREFIX=" + (assoc-ref outputs "out")))))))) + + (native-inputs + `(("pkg-config" ,pkg-config) + ("qttools" ,qttools))) + (inputs + `(("ao" ,ao) + ("bzip2" ,bzip2) + ("hunspell" ,hunspell) + ("ffmpeg" ,ffmpeg) + ("libtiff" ,libtiff) + ("libvorbis" ,libvorbis) + ("libxtst" ,libxtst) + ("opencc" ,opencc) + ("qtx11extras" ,qtx11extras) + ("qtbase" ,qtbase) + ("qtmultimedia" ,qtmultimedia) + ("qtsvg" ,qtsvg) + ("qttools" ,qttools) + ("qtwebkit" ,qtwebkit) + ("qtwebview" ,qtwebview) + ("lzo" ,lzo) + ("x11proto-record-x11" ,xproto) + ("zlib" ,zlib))) + (synopsis "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") diff --git a/gnu/packages/patches/goldendict-remove-check-for-update.patch b/gnu/packages/patches/goldendict-remove-check-for-update.patch new file mode 100644 index 0000000000..84d9b1767e --- /dev/null +++ b/gnu/packages/patches/goldendict-remove-check-for-update.patch @@ -0,0 +1,52 @@ +https://github.com/NixOS/nixpkgs/blob/217b221/pkgs/applications/misc/goldendict/0001-dont-check-for-updates.patch +Disable calling home for updates. + +diff --git i/config.cc w/config.cc +index 04b63f5..7a453d9 100644 +--- i/config.cc ++++ w/config.cc +@@ -182,7 +182,7 @@ Preferences::Preferences(): + pronounceOnLoadPopup( false ), + useInternalPlayer( InternalPlayerBackend::anyAvailable() ), + internalPlayerBackend( InternalPlayerBackend::defaultBackend() ), +- checkForNewReleases( true ), ++ checkForNewReleases( false ), + disallowContentFromOtherSites( false ), + enableWebPlugins( false ), + hideGoldenDictHeader( false ), +@@ -867,8 +867,8 @@ Class load() THROW_SPEC( exError ) + c.preferences.proxyServer.systemProxyPassword = proxy.namedItem( "systemProxyPassword" ).toElement().text(); + } + +- if ( !preferences.namedItem( "checkForNewReleases" ).isNull() ) +- c.preferences.checkForNewReleases = ( preferences.namedItem( "checkForNewReleases" ).toElement().text() == "1" ); ++ //if ( !preferences.namedItem( "checkForNewReleases" ).isNull() ) ++ // c.preferences.checkForNewReleases = ( preferences.namedItem( "checkForNewReleases" ).toElement().text() == "1" ); + + if ( !preferences.namedItem( "disallowContentFromOtherSites" ).isNull() ) + c.preferences.disallowContentFromOtherSites = ( preferences.namedItem( "disallowContentFromOtherSites" ).toElement().text() == "1" ); +@@ -1819,9 +1819,9 @@ void save( Class const & c ) THROW_SPEC( exError ) + proxy.appendChild( opt ); + } + +- opt = dd.createElement( "checkForNewReleases" ); +- opt.appendChild( dd.createTextNode( c.preferences.checkForNewReleases ? "1" : "0" ) ); +- preferences.appendChild( opt ); ++ //opt = dd.createElement( "checkForNewReleases" ); ++ //opt.appendChild( dd.createTextNode( c.preferences.checkForNewReleases ? "1" : "0" ) ); ++ //preferences.appendChild( opt ); + + opt = dd.createElement( "disallowContentFromOtherSites" ); + opt.appendChild( dd.createTextNode( c.preferences.disallowContentFromOtherSites ? "1" : "0" ) ); +diff --git i/preferences.cc w/preferences.cc +index 72c3147..7e48f00 100644 +--- i/preferences.cc ++++ w/preferences.cc +@@ -314,6 +314,7 @@ Preferences::Preferences( QWidget * parent, Config::Class & cfg_ ): + this, SLOT( customProxyToggled( bool ) ) ); + + ui.checkForNewReleases->setChecked( p.checkForNewReleases ); ++ ui.checkForNewReleases->setEnabled( false ); + ui.disallowContentFromOtherSites->setChecked( p.disallowContentFromOtherSites ); + ui.enableWebPlugins->setChecked( p.enableWebPlugins ); + ui.hideGoldenDictHeader->setChecked( p.hideGoldenDictHeader ); -- 2.32.0 From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 03 10:13:15 2021 Received: (at 48909) by debbugs.gnu.org; 3 Jul 2021 14:13:15 +0000 Received: from localhost ([127.0.0.1]:39640 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lzgOM-000076-N1 for submit@debbugs.gnu.org; Sat, 03 Jul 2021 10:13:15 -0400 Received: from mail-wm1-f46.google.com ([209.85.128.46]:36365) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lzgOI-00006W-Gg for 48909@debbugs.gnu.org; Sat, 03 Jul 2021 10:13:08 -0400 Received: by mail-wm1-f46.google.com with SMTP id m41-20020a05600c3b29b02901dcd3733f24so10929205wms.1 for <48909@debbugs.gnu.org>; Sat, 03 Jul 2021 07:13:06 -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=b7mwLMZMjmmxfCtZWG46kGLbk2HTsD7eIiDsHXkwJ18=; b=cbQZ4s24eNidficWau41Y19HhdwNiDwZgAKXfTTvH1e5PfyXtvp8F3mJz7rHt9rqxr nyr3FRwcxPk679lMG+TNbCWXEjoNpIgFe/a403eaopCqOFpWHnYpvv5Dvfaii5F6Vw19 Xo9cpLiKb9dQlKtNJOAQHQbp7n7zDgJp1j/JY= 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=b7mwLMZMjmmxfCtZWG46kGLbk2HTsD7eIiDsHXkwJ18=; b=WFL8iIU5pI7X8RjJ3qJymXKr96SaptRIKlC3wg33Icn9f2zSbST0/bAmyoclrU9hg9 EsTSwpJn/vlErla/TB0oVhO3m6J3ElhbaHMCHkMZJlx5AsJuHNoAL0cIP57kWALLX7WT ff5qowHEwi20a8tyViEgWIM2mTYFUqxS/oCijeRd/v7+4oaGC7DcsxX6eSqk8j3mO8JL v3pGDMQPClGoXFfDWVCV9HOO+rXFKXsNqPNfpC5unUguBJ5wwBI5YW33eYbj9j7lzzm+ FgkASYuWxXbI6BlyV0srCGgnsPiZjBAOb1QwTjv3vaOKuuYoF+ADr2fG/oSaWEr3Ujgh DRGw== X-Gm-Message-State: AOAM532eeKDLOCa1TSGbjhoGjufT/aE5a7hKyKnITxoBv8ktmZOvnopp nDad+TsskBgBRK83lu8aeA3ju8kgSLSumj+L X-Google-Smtp-Source: ABdhPJz8qkYDHnY+Ym/0uiJ3+HAT4PHPHtwhogbqFb7TtyS9fjPZlW3coczmvtN3hVuHPmgaND/LDg== X-Received: by 2002:a05:600c:4f96:: with SMTP id n22mr5115113wmq.116.1625321580239; Sat, 03 Jul 2021 07:13:00 -0700 (PDT) Received: from localhost ([92.206.237.187]) by smtp.gmail.com with ESMTPSA id x21sm11662593wmj.6.2021.07.03.07.12.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Jul 2021 07:12:59 -0700 (PDT) From: Sergey Trofimov To: 48909@debbugs.gnu.org Subject: [PATCH] gnu: Add goldendict. Date: Sat, 3 Jul 2021 16:13:33 +0200 Message-Id: <20210703141333.31876-1-sarg@sarg.org.ru> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 48909 Cc: Sergey Trofimov X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/dictionaries.scm (goldendict): New variable. --- gnu/local.mk | 1 + gnu/packages/dictionaries.scm | 72 +++++++++++++++++++ .../goldendict-remove-check-for-update.patch | 52 ++++++++++++++ 3 files changed, 125 insertions(+) create mode 100644 gnu/packages/patches/goldendict-remove-check-for-update.patch diff --git a/gnu/local.mk b/gnu/local.mk index 509970f044..bcac89c79c 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -1170,6 +1170,7 @@ dist_patch_DATA = \ %D%/packages/patches/gobject-introspection-absolute-shlib-path.patch \ %D%/packages/patches/gobject-introspection-cc.patch \ %D%/packages/patches/gobject-introspection-girepository.patch \ + %D%/packages/patches/goldendict-remove-check-for-update.patch \ %D%/packages/patches/go-skip-gc-test.patch \ %D%/packages/patches/gpm-glibc-2.26.patch \ %D%/packages/patches/gpodder-disable-updater.patch \ diff --git a/gnu/packages/dictionaries.scm b/gnu/packages/dictionaries.scm index 5ca9e128ff..03cf1f3a5d 100644 --- a/gnu/packages/dictionaries.scm +++ b/gnu/packages/dictionaries.scm @@ -52,6 +52,13 @@ #: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 textutils) + #:use-module (gnu packages qt) + #:use-module (gnu packages video) #:use-module (gnu packages xml)) @@ -398,6 +405,71 @@ intelligible and easily correctable.") (license (list license:gpl2 ; main license license:expat)))) ; utf8/* +(define-public goldendict + (let ((commit "baff02a14b3f70f0d0a55bef550dbb74dcbf0ce8") + (revision "0")) + (package + (name "goldendict") + (version (git-version "1.5.0-RC2" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/goldendict/goldendict") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1l5ymxl34pw01vfq721wfgzvq4zw4iwvb73nhsb94m3l2za5k5j2")) + (patches (search-patches "goldendict-remove-check-for-update.patch")) + (modules '((guix build utils))) + (snippet '(begin + (for-each delete-file-recursively + '("winlibs" "maclibs")) + #t)))) + (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" + "CONFIG+=chinese_conversion_support" + "QMAKE_LRELEASE=lrelease" + (string-append "PREFIX=" + (assoc-ref outputs "out")))))))) + + (native-inputs + `(("pkg-config" ,pkg-config) + ("qttools" ,qttools))) + (inputs + `(("ao" ,ao) + ("bzip2" ,bzip2) + ("hunspell" ,hunspell) + ("ffmpeg" ,ffmpeg) + ("libtiff" ,libtiff) + ("libvorbis" ,libvorbis) + ("libxtst" ,libxtst) + ("opencc" ,opencc) + ("qtx11extras" ,qtx11extras) + ("qtbase" ,qtbase-5) + ("qtmultimedia" ,qtmultimedia) + ("qtsvg" ,qtsvg) + ("qtwebkit" ,qtwebkit) + ("qtwebview" ,qtwebview) + ("lzo" ,lzo) + ("x11proto-record-x11" ,xproto) + ("zlib" ,zlib))) + (synopsis "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") diff --git a/gnu/packages/patches/goldendict-remove-check-for-update.patch b/gnu/packages/patches/goldendict-remove-check-for-update.patch new file mode 100644 index 0000000000..84d9b1767e --- /dev/null +++ b/gnu/packages/patches/goldendict-remove-check-for-update.patch @@ -0,0 +1,52 @@ +https://github.com/NixOS/nixpkgs/blob/217b221/pkgs/applications/misc/goldendict/0001-dont-check-for-updates.patch +Disable calling home for updates. + +diff --git i/config.cc w/config.cc +index 04b63f5..7a453d9 100644 +--- i/config.cc ++++ w/config.cc +@@ -182,7 +182,7 @@ Preferences::Preferences(): + pronounceOnLoadPopup( false ), + useInternalPlayer( InternalPlayerBackend::anyAvailable() ), + internalPlayerBackend( InternalPlayerBackend::defaultBackend() ), +- checkForNewReleases( true ), ++ checkForNewReleases( false ), + disallowContentFromOtherSites( false ), + enableWebPlugins( false ), + hideGoldenDictHeader( false ), +@@ -867,8 +867,8 @@ Class load() THROW_SPEC( exError ) + c.preferences.proxyServer.systemProxyPassword = proxy.namedItem( "systemProxyPassword" ).toElement().text(); + } + +- if ( !preferences.namedItem( "checkForNewReleases" ).isNull() ) +- c.preferences.checkForNewReleases = ( preferences.namedItem( "checkForNewReleases" ).toElement().text() == "1" ); ++ //if ( !preferences.namedItem( "checkForNewReleases" ).isNull() ) ++ // c.preferences.checkForNewReleases = ( preferences.namedItem( "checkForNewReleases" ).toElement().text() == "1" ); + + if ( !preferences.namedItem( "disallowContentFromOtherSites" ).isNull() ) + c.preferences.disallowContentFromOtherSites = ( preferences.namedItem( "disallowContentFromOtherSites" ).toElement().text() == "1" ); +@@ -1819,9 +1819,9 @@ void save( Class const & c ) THROW_SPEC( exError ) + proxy.appendChild( opt ); + } + +- opt = dd.createElement( "checkForNewReleases" ); +- opt.appendChild( dd.createTextNode( c.preferences.checkForNewReleases ? "1" : "0" ) ); +- preferences.appendChild( opt ); ++ //opt = dd.createElement( "checkForNewReleases" ); ++ //opt.appendChild( dd.createTextNode( c.preferences.checkForNewReleases ? "1" : "0" ) ); ++ //preferences.appendChild( opt ); + + opt = dd.createElement( "disallowContentFromOtherSites" ); + opt.appendChild( dd.createTextNode( c.preferences.disallowContentFromOtherSites ? "1" : "0" ) ); +diff --git i/preferences.cc w/preferences.cc +index 72c3147..7e48f00 100644 +--- i/preferences.cc ++++ w/preferences.cc +@@ -314,6 +314,7 @@ Preferences::Preferences( QWidget * parent, Config::Class & cfg_ ): + this, SLOT( customProxyToggled( bool ) ) ); + + ui.checkForNewReleases->setChecked( p.checkForNewReleases ); ++ ui.checkForNewReleases->setEnabled( false ); + ui.disallowContentFromOtherSites->setChecked( p.disallowContentFromOtherSites ); + ui.enableWebPlugins->setChecked( p.enableWebPlugins ); + ui.hideGoldenDictHeader->setChecked( p.hideGoldenDictHeader ); -- 2.32.0 From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 03 13:30:12 2021 Received: (at 48909) by debbugs.gnu.org; 3 Jul 2021 17:30:12 +0000 Received: from localhost ([127.0.0.1]:39785 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lzjT2-0007aI-1j for submit@debbugs.gnu.org; Sat, 03 Jul 2021 13:30:12 -0400 Received: from mail-wr1-f51.google.com ([209.85.221.51]:42675) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lzjSz-0007Yy-E8 for 48909@debbugs.gnu.org; Sat, 03 Jul 2021 13:30:11 -0400 Received: by mail-wr1-f51.google.com with SMTP id t6so6618771wrm.9 for <48909@debbugs.gnu.org>; Sat, 03 Jul 2021 10:30:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sarg.org.ru; s=google; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=; b=SPhwJNBvNuDYhtJwlymOuSI2khTrVGgoyjQ3OmGv6PUNJwsE3id740SeCa9dsbtseI QC0USP4WXEVQ7bsoADhCTxUU3lUHzD+M2WrPK5heQQ6IkR+IrAXQf249JJlfoo/2mdeT 3FUCPfyg+0ojNNRrpRZcXuyqiEiKnvFUGweto= 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 :content-transfer-encoding; bh=47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=; b=FRXD52v8p1WjzKdZZKoP9RhgnUyL9IB+haj6eTG62vq8gZvPuOTxpbDRE2o2kS7nZh mqT2iLn/XB51MqsMRsDoqztVoqn7lzqtH9m/ssJ0VuG4vGi42UF6/y5ZIJym5Q+jTmTB gux1gzU8r9fMaePDIR8BvdfstCMaeSwNwBU669a8MieGkCOt96hSiGeF7vsGkYZW3NWg 62wrsrI5Fjf6Ka5Xk3jJPhHU1yO1whYnXantXHrF4uKwVJV1JW8Wz2SoevlFxgnYVkUU 54S1ysd/xS7Er3VIIldIlcGvo/PLWF5lIiGRHvmHFN/LqzoKyzgax2tbOoDb6+mu/lWZ iXWQ== X-Gm-Message-State: AOAM532NNwDxu+7FbavJDLyi4MfUKrx3ZuGpx1uqHGWcYTuXCHqA20ZG TGsgD8fc89Csxr6FLrv5P8SWgstJVxaoC/wX X-Google-Smtp-Source: ABdhPJxF2lbaOM9Bp3oJz0YLFuwX6fOxtDm0LU5SlRO5MN8H6Iaj9n0Zn45E5G0yR3UzN1lj8fiUSg== X-Received: by 2002:a05:6000:1091:: with SMTP id y17mr6283531wrw.100.1625333403220; Sat, 03 Jul 2021 10:30:03 -0700 (PDT) Received: from localhost ([92.206.237.187]) by smtp.gmail.com with ESMTPSA id 12sm17725982wme.28.2021.07.03.10.30.01 for <48909@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Jul 2021 10:30:02 -0700 (PDT) From: Sergey Trofimov To: 48909@debbugs.gnu.org Subject: Rebased on the latest commit in master. Date: Sat, 3 Jul 2021 19:30:18 +0200 Message-Id: <20210703173018.6342-1-sarg@sarg.org.ru> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 48909 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 03 13:31:55 2021 Received: (at 48909) by debbugs.gnu.org; 3 Jul 2021 17:31:55 +0000 Received: from localhost ([127.0.0.1]:39789 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lzjUc-0007d8-BH for submit@debbugs.gnu.org; Sat, 03 Jul 2021 13:31:55 -0400 Received: from mail-wm1-f47.google.com ([209.85.128.47]:55224) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lzjUZ-0007cp-2R for 48909@debbugs.gnu.org; Sat, 03 Jul 2021 13:31:48 -0400 Received: by mail-wm1-f47.google.com with SMTP id l1so8561855wme.4 for <48909@debbugs.gnu.org>; Sat, 03 Jul 2021 10:31:47 -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=l4707dxryeaBUsvzJqGPhZFuzZoo/vZsDWZo7D/jxZs=; b=iwgalxroIp3D/GDEjCUwa1UB6CBgs/1nnu23eEjOcxA+k2Q/I35cUNgZjK1hVWhfcN t9+CyHhVNK5CzjEw6oi7HXE31OkezliqjzJiKCDpms4jf6QAJbaUyJiTw0McF8n8SY3B GqQFvEFcICFKmDPcmZGjI8TbDthHPJteihPhE= 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=l4707dxryeaBUsvzJqGPhZFuzZoo/vZsDWZo7D/jxZs=; b=iiY5oMhjPohFtcRonThOfV13o1eW5rMij2/roqDoEwR3uI42wRi9tbpnG0FUP/t4hq VIe8DKhLSQgxzelDf2bi8hqfSbpUNgukpSuF3RSsEvv42Xb2YVDOJzngvNwZgFidne8x nwhRa3k56GYpaXBwWVUymDOcRFkHtxW4QBFhDdyRV1f1MerNUHbobIPw+ZxmElBEsnGy Z6pp4P5DBqnx1FeOzv1M+2/8rzX/p2Yk5jQlFigr6mQSJtgeu9flMcilZ8RWs7rKFFK5 XCkjSu/y1pO+fxMbEe6qTLZw7FBmyPOx+usyfDQgeZ+xH5+wWBF0txe8qnNsVu50An9c J+tA== X-Gm-Message-State: AOAM532w09yB9JXQ+w3xF03DiO06lTZkElCLFOIJGhK+qtwNLReqh+We 1COBbaSQEL2CTg1QaY12cBVZp+Hlhce1Dl9I X-Google-Smtp-Source: ABdhPJz3GK44W+sxUC9W6YcbyvB1P7RKYcXd1dtpI1996ILsMF+pQgHbmbaGii9isWi3yzDh7o7vlQ== X-Received: by 2002:a05:600c:219a:: with SMTP id e26mr5628701wme.63.1625333500947; Sat, 03 Jul 2021 10:31:40 -0700 (PDT) Received: from localhost ([92.206.237.187]) by smtp.gmail.com with ESMTPSA id n2sm1480399wrx.40.2021.07.03.10.31.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Jul 2021 10:31:40 -0700 (PDT) From: Sergey Trofimov To: 48909@debbugs.gnu.org Subject: [PATCH] gnu: Add goldendict. Date: Sat, 3 Jul 2021 19:32:22 +0200 Message-Id: <20210703173222.6441-1-sarg@sarg.org.ru> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 48909 Cc: Sergey Trofimov X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/dictionaries.scm (goldendict): New variable. --- gnu/local.mk | 1 + gnu/packages/dictionaries.scm | 72 +++++++++++++++++++ .../goldendict-remove-check-for-update.patch | 52 ++++++++++++++ 3 files changed, 125 insertions(+) create mode 100644 gnu/packages/patches/goldendict-remove-check-for-update.patch diff --git a/gnu/local.mk b/gnu/local.mk index b197ec55f9..e27af238c7 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -1169,6 +1169,7 @@ dist_patch_DATA = \ %D%/packages/patches/gobject-introspection-absolute-shlib-path.patch \ %D%/packages/patches/gobject-introspection-cc.patch \ %D%/packages/patches/gobject-introspection-girepository.patch \ + %D%/packages/patches/goldendict-remove-check-for-update.patch \ %D%/packages/patches/go-fix-script-tests.patch \ %D%/packages/patches/go-skip-gc-test.patch \ %D%/packages/patches/gpm-glibc-2.26.patch \ diff --git a/gnu/packages/dictionaries.scm b/gnu/packages/dictionaries.scm index 5ca9e128ff..03cf1f3a5d 100644 --- a/gnu/packages/dictionaries.scm +++ b/gnu/packages/dictionaries.scm @@ -52,6 +52,13 @@ #: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 textutils) + #:use-module (gnu packages qt) + #:use-module (gnu packages video) #:use-module (gnu packages xml)) @@ -398,6 +405,71 @@ intelligible and easily correctable.") (license (list license:gpl2 ; main license license:expat)))) ; utf8/* +(define-public goldendict + (let ((commit "baff02a14b3f70f0d0a55bef550dbb74dcbf0ce8") + (revision "0")) + (package + (name "goldendict") + (version (git-version "1.5.0-RC2" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/goldendict/goldendict") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1l5ymxl34pw01vfq721wfgzvq4zw4iwvb73nhsb94m3l2za5k5j2")) + (patches (search-patches "goldendict-remove-check-for-update.patch")) + (modules '((guix build utils))) + (snippet '(begin + (for-each delete-file-recursively + '("winlibs" "maclibs")) + #t)))) + (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" + "CONFIG+=chinese_conversion_support" + "QMAKE_LRELEASE=lrelease" + (string-append "PREFIX=" + (assoc-ref outputs "out")))))))) + + (native-inputs + `(("pkg-config" ,pkg-config) + ("qttools" ,qttools))) + (inputs + `(("ao" ,ao) + ("bzip2" ,bzip2) + ("hunspell" ,hunspell) + ("ffmpeg" ,ffmpeg) + ("libtiff" ,libtiff) + ("libvorbis" ,libvorbis) + ("libxtst" ,libxtst) + ("opencc" ,opencc) + ("qtx11extras" ,qtx11extras) + ("qtbase" ,qtbase-5) + ("qtmultimedia" ,qtmultimedia) + ("qtsvg" ,qtsvg) + ("qtwebkit" ,qtwebkit) + ("qtwebview" ,qtwebview) + ("lzo" ,lzo) + ("x11proto-record-x11" ,xproto) + ("zlib" ,zlib))) + (synopsis "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") diff --git a/gnu/packages/patches/goldendict-remove-check-for-update.patch b/gnu/packages/patches/goldendict-remove-check-for-update.patch new file mode 100644 index 0000000000..84d9b1767e --- /dev/null +++ b/gnu/packages/patches/goldendict-remove-check-for-update.patch @@ -0,0 +1,52 @@ +https://github.com/NixOS/nixpkgs/blob/217b221/pkgs/applications/misc/goldendict/0001-dont-check-for-updates.patch +Disable calling home for updates. + +diff --git i/config.cc w/config.cc +index 04b63f5..7a453d9 100644 +--- i/config.cc ++++ w/config.cc +@@ -182,7 +182,7 @@ Preferences::Preferences(): + pronounceOnLoadPopup( false ), + useInternalPlayer( InternalPlayerBackend::anyAvailable() ), + internalPlayerBackend( InternalPlayerBackend::defaultBackend() ), +- checkForNewReleases( true ), ++ checkForNewReleases( false ), + disallowContentFromOtherSites( false ), + enableWebPlugins( false ), + hideGoldenDictHeader( false ), +@@ -867,8 +867,8 @@ Class load() THROW_SPEC( exError ) + c.preferences.proxyServer.systemProxyPassword = proxy.namedItem( "systemProxyPassword" ).toElement().text(); + } + +- if ( !preferences.namedItem( "checkForNewReleases" ).isNull() ) +- c.preferences.checkForNewReleases = ( preferences.namedItem( "checkForNewReleases" ).toElement().text() == "1" ); ++ //if ( !preferences.namedItem( "checkForNewReleases" ).isNull() ) ++ // c.preferences.checkForNewReleases = ( preferences.namedItem( "checkForNewReleases" ).toElement().text() == "1" ); + + if ( !preferences.namedItem( "disallowContentFromOtherSites" ).isNull() ) + c.preferences.disallowContentFromOtherSites = ( preferences.namedItem( "disallowContentFromOtherSites" ).toElement().text() == "1" ); +@@ -1819,9 +1819,9 @@ void save( Class const & c ) THROW_SPEC( exError ) + proxy.appendChild( opt ); + } + +- opt = dd.createElement( "checkForNewReleases" ); +- opt.appendChild( dd.createTextNode( c.preferences.checkForNewReleases ? "1" : "0" ) ); +- preferences.appendChild( opt ); ++ //opt = dd.createElement( "checkForNewReleases" ); ++ //opt.appendChild( dd.createTextNode( c.preferences.checkForNewReleases ? "1" : "0" ) ); ++ //preferences.appendChild( opt ); + + opt = dd.createElement( "disallowContentFromOtherSites" ); + opt.appendChild( dd.createTextNode( c.preferences.disallowContentFromOtherSites ? "1" : "0" ) ); +diff --git i/preferences.cc w/preferences.cc +index 72c3147..7e48f00 100644 +--- i/preferences.cc ++++ w/preferences.cc +@@ -314,6 +314,7 @@ Preferences::Preferences( QWidget * parent, Config::Class & cfg_ ): + this, SLOT( customProxyToggled( bool ) ) ); + + ui.checkForNewReleases->setChecked( p.checkForNewReleases ); ++ ui.checkForNewReleases->setEnabled( false ); + ui.disallowContentFromOtherSites->setChecked( p.disallowContentFromOtherSites ); + ui.enableWebPlugins->setChecked( p.enableWebPlugins ); + ui.hideGoldenDictHeader->setChecked( p.hideGoldenDictHeader ); -- 2.32.0 From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 22 16:06:14 2022 Received: (at 48909) by debbugs.gnu.org; 22 Jan 2022 21:06:14 +0000 Received: from localhost ([127.0.0.1]:38055 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nBNaP-0006kt-Sa for submit@debbugs.gnu.org; Sat, 22 Jan 2022 16:06:14 -0500 Received: from mail-4325.protonmail.ch ([185.70.43.25]:60961) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nBNaN-0006kd-I6 for 48909@debbugs.gnu.org; Sat, 22 Jan 2022 16:06:12 -0500 Date: Sat, 22 Jan 2022 21:06:03 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail2; t=1642885565; bh=K6nsioMrHEfO6uKu7xPbEoL/QFNoGS4dGWR9sH7lKtA=; h=Date:To:From:Reply-To:Subject:Message-ID:From:To:Cc; b=gshPGIMW0JfbXPcZ5zorP2+6quu682RBAupD1RjXsdrLDSgNJibM0TtLfO18kLkxQ S82lcy8LXA5NQvw4FTDnh4t/a+8EPB4CmMuD97z499GymZ/XpxG9eO126qrBHQI8sj T1Yk0mLBe19sFjndwUiWK5B0QwFzlxGAdQbp1NqR/rUG0urKBQ86BlJwzBfg7cx6kW 1+Ftf4fAy6Mv3xmEHMNAniBWpLISrNW0U2Ed7SQa2x+NtSYgGzMDiMYvCWe9i9vkJG hvZJYcAxmDtcylS+FUw86NKpCv9YE+lsp8ev81Q7JDhEIL6GKTsSV+JLKgcR/hcKgg qEuYv0x1gx4Rw== To: "48909@debbugs.gnu.org" <48909@debbugs.gnu.org> From: =?utf-8?Q?P=C4=81ladhammika?= Subject: [PATCH] gnu: Add goldendict. Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 48909 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: =?utf-8?Q?P=C4=81ladhammika?= Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Whatever happened with this patch? All the best, P=C4=81ladhammika From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 27 12:17:07 2022 Received: (at 48909) by debbugs.gnu.org; 27 Mar 2022 16:17:08 +0000 Received: from localhost ([127.0.0.1]:56465 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nYVZj-0004p2-Mx for submit@debbugs.gnu.org; Sun, 27 Mar 2022 12:17:07 -0400 Received: from baptiste.telenet-ops.be ([195.130.132.51]:43450) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nYVZe-0004of-Mm for 48909@debbugs.gnu.org; Sun, 27 Mar 2022 12:17:06 -0400 Received: from [172.20.10.5] ([188.188.29.207]) by baptiste.telenet-ops.be with bizsmtp id BUH0270054U7BGC01UH0lJ; Sun, 27 Mar 2022 18:17:01 +0200 Message-ID: Subject: Re: [PATCH] gnu: Add goldendict From: Maxime Devos To: 48909@debbugs.gnu.org Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-Fl8j5lHdOdHji/KHFjxf" MIME-Version: 1.0 Date: Sun, 27 Mar 2022 18:09:46 +0200 User-Agent: Evolution 3.38.3-1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1648397821; bh=X2s3vvOJauvfJrqLU6JN5C/6ailZ4n2SKX0f2xd/7+Q=; h=Subject:From:To:Date; b=T4h8/bxTkPaampTdZ1RYnXuP8Xv+m0UO+oEibd2yc3yIlbUS+m0dR2hc7VzMvZ8YP TrIJ6ts8UIjGwCaQIBbh/Wzo5A5gyzEZ7AHEi7k9XpRkll4qTZIXo6+ArwVpHe59NK iyfcwC/X9U4NoXtb9L6b1TvirYhCkk1HQdRUCLngXoNRWDoo0yG4DNVJxQW74SA57D 4isXYHsOrA/toh9IEIyJWggZDz/7nL97pQUF6ACcrpY+MYou/fah2jtgFvfuTRV7Tl /RVnHZEhK/Y4rSIZhr6Q/WE6+GcGgxhFPIXIzOKFW+pheY3XHF+DSTv9SuMXygxj02 voCpBuvrD2ucQ== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 48909 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --=-Fl8j5lHdOdHji/KHFjxf Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, > + (let ((commit "baff02a14b3f70f0d0a55bef550dbb74dcbf0ce8") > + (version (git-version "1.5.0-RC2" revision commit)) > + (commit commit))) Is this an actual upstream version? If so, 'git-version' is not necessary here. Also, do we want to package release candidates, or only regular releases? > + #t)))) Not necessary anymore. > + (for-each delete-file-recursively > + '("winlibs" "maclibs")) What is the reason for removal? (bundling, nonfree, broken, ...?) > + "CONFIG+=3Dno_epwing_support" Why not support 'epwing', whatever that is?=20 > + https://github.com/NixOS/nixpkgs/blob/217b221/pkgs/applications/misc/golden= dict/0001-dont-check-for-updates.patch This will do, but ideally upstream would just have some kind of configuration flag that distributions could set. > + "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 renderin This is leaning a bit against the =E2=80=98no marketing phrases rule=E2=80= =99 from (guix)Synopses and Descriptions. Greetings, Maxime. --=-Fl8j5lHdOdHji/KHFjxf Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYkCMNxccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7lecAQDImpNDHt9m0YNUv7o7jk/2t1dy TSX/RyW2HkHMQrwTHwD/aLl0ESz1Wec+/5lDQ7vkC11J6Hq0aiuSBzJUrPfROQ0= =7l7j -----END PGP SIGNATURE----- --=-Fl8j5lHdOdHji/KHFjxf-- From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 28 04:27:19 2022 Received: (at 48909) by debbugs.gnu.org; 28 Mar 2022 08:27:19 +0000 Received: from localhost ([127.0.0.1]:57269 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nYkiY-00067p-HP for submit@debbugs.gnu.org; Mon, 28 Mar 2022 04:27:19 -0400 Received: from mail-ej1-f42.google.com ([209.85.218.42]:44548) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nYkiW-00067d-Jq for 48909@debbugs.gnu.org; Mon, 28 Mar 2022 04:27:13 -0400 Received: by mail-ej1-f42.google.com with SMTP id lr4so18600763ejb.11 for <48909@debbugs.gnu.org>; Mon, 28 Mar 2022 01:27:12 -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=krRkL73at7quy0NapY70NtzLm0z7BTqP9O9d0CvZ5KQ=; b=efuLOXWA4WiKHL8ALYitw/nmA1LhZ8D2326sICifPO/IQmJSmGaEp9zBmgLZPgUEXB atIB98hNiigAY9MOHOhnLI2BkKXrmIzP4ydSMrmhSNQ0/jC6GbfMaG29ht8MTu3COtLe n1iUxqW1m9wYaeIzcgjOwl6om8KLIJtLIbxkQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=krRkL73at7quy0NapY70NtzLm0z7BTqP9O9d0CvZ5KQ=; b=K3FpK/ZD6uHqbHkPYmX5OBNfSnfDyESCONQ8S6+xlhgtGV9k/XJBmvDe/EpjGWoebv AYG0lTh7gaEBzNvLSV9FhnCCjeiBR3z1qzwO7aeq3P3xses98pfP+wGJ3ILe3uyhJO+D 1kNtCV5IBfRo/ZYCU0TlKD9ZWa4a/8w9OoICsOIvZ5YCCpgkdfXye9nSWyPWICXOb2bO 9E0xoyHzDujjSsDAwq/KgiytxtRysZ+GDfaUla9P2tj7z64dd2Ua/5fFYnj7fX6riNe9 6tDc7qmCs0hYtK+7E7Lr3wprrj/ZGPAdPAR5Ai9fSlyWhuLOeDCKno0S/4yHsA1RToVl PM9w== X-Gm-Message-State: AOAM531PgavyDOE8sv1DwqJGoTJ72cWHQmHlc+6591PvPjaIgqh9zC5N eTZPwVSL4WXzX+Ur1vNRYTh9bptlNtLTmQ== X-Google-Smtp-Source: ABdhPJx5PwCrJvT7C1SMFwC0ZWrojIN3Ok7J7IiqvC//5ryrNDsrkvoEmbEW7jKuS4bbkiuF9w4TeA== X-Received: by 2002:a17:907:2cc2:b0:6df:f4ec:eebd with SMTP id hg2-20020a1709072cc200b006dff4eceebdmr26498883ejc.486.1648456026314; Mon, 28 Mar 2022 01:27:06 -0700 (PDT) Received: from localhost (static.178.231.47.78.clients.your-server.de. [78.47.231.178]) by smtp.gmail.com with ESMTPSA id t19-20020a056402525300b0041952a1a764sm6799137edd.33.2022.03.28.01.27.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Mar 2022 01:27:05 -0700 (PDT) From: Sergey Trofimov To: 48909@debbugs.gnu.org Subject: [PATCH] gnu: Add goldendict. Date: Mon, 28 Mar 2022 10:26:54 +0200 Message-Id: <20220328082654.24539-1-sarg@sarg.org.ru> X-Mailer: git-send-email 2.34.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 48909 Cc: Sergey Trofimov X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/dictionaries.scm (goldendict): New variable. --- gnu/local.mk | 1 + gnu/packages/dictionaries.scm | 53 +++++++++++++++++++ .../goldendict-remove-check-for-update.patch | 52 ++++++++++++++++++ 3 files changed, 106 insertions(+) create mode 100644 gnu/packages/patches/goldendict-remove-check-for-update.patch diff --git a/gnu/local.mk b/gnu/local.mk index 4f60046a5e..c1fe54d514 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -1204,6 +1204,7 @@ dist_patch_DATA = \ %D%/packages/patches/gobject-introspection-absolute-shlib-path.patch \ %D%/packages/patches/gobject-introspection-cc.patch \ %D%/packages/patches/gobject-introspection-girepository.patch \ + %D%/packages/patches/goldendict-remove-check-for-update.patch \ %D%/packages/patches/go-fix-script-tests.patch \ %D%/packages/patches/go-github-com-golang-snappy-32bit-test.patch \ %D%/packages/patches/go-github-com-urfave-cli-fix-tests.patch \ diff --git a/gnu/packages/dictionaries.scm b/gnu/packages/dictionaries.scm index f9d6e57877..fd4172ebb6 100644 --- a/gnu/packages/dictionaries.scm +++ b/gnu/packages/dictionaries.scm @@ -38,6 +38,7 @@ (define-module (gnu packages dictionaries) #:use-module (gnu packages autotools) #:use-module (gnu packages base) #:use-module (gnu packages curl) + #:use-module (gnu packages education) #:use-module (gnu packages emacs) #:use-module (gnu packages flex) #:use-module (gnu packages fribidi) @@ -52,6 +53,13 @@ (define-module (gnu packages dictionaries) #: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 textutils) + #:use-module (gnu packages qt) + #:use-module (gnu packages video) #:use-module (gnu packages xml)) @@ -389,6 +397,51 @@ (define-public apertium (license (list license:gpl2 ; main license license:expat)))) ; utf8/* +(define-public goldendict + (let ((commit "8acb288c9e9bdb3c6bf2e803954dd3b6ac273c05") + (revision "0")) + (package + (name "goldendict") + (version (git-version "1.5.0-RC2" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/goldendict/goldendict") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0lhpmrsglqmwz9d6hr29ncm163hvdqqnxmw9frhgyrblw977wzni")) + (patches (search-patches "goldendict-remove-check-for-update.patch")) + (modules '((guix build utils))) + (snippet '(begin + ;; Remove bundled libraries. + (for-each delete-file-recursively + '("winlibs" "maclibs")))))) + (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+=chinese_conversion_support" + "QMAKE_LRELEASE=lrelease" + (string-append "PREFIX=" + (assoc-ref outputs "out")))))))) + + (native-inputs (list pkg-config qttools)) + (inputs (list ao bzip2 hunspell ffmpeg libeb libtiff libvorbis libxtst + opencc qtx11extras qtbase-5 qtmultimedia qtsvg qtwebkit + qtwebview lzo xorgproto zlib)) + (synopsis "Feature-rich dictionary lookup program") + (description + "GoldenDict is a dictionary lookup program, +supporting multiple dictionary formats (StarDict, Babylon, Lingvo, Dictd, AARD, +MDict, SDict) and online dictionaries.") + (home-page "http://goldendict.org/") + (license license:gpl3+)))) + (define-public sdcv (package (name "sdcv") diff --git a/gnu/packages/patches/goldendict-remove-check-for-update.patch b/gnu/packages/patches/goldendict-remove-check-for-update.patch new file mode 100644 index 0000000000..84d9b1767e --- /dev/null +++ b/gnu/packages/patches/goldendict-remove-check-for-update.patch @@ -0,0 +1,52 @@ +https://github.com/NixOS/nixpkgs/blob/217b221/pkgs/applications/misc/goldendict/0001-dont-check-for-updates.patch +Disable calling home for updates. + +diff --git i/config.cc w/config.cc +index 04b63f5..7a453d9 100644 +--- i/config.cc ++++ w/config.cc +@@ -182,7 +182,7 @@ Preferences::Preferences(): + pronounceOnLoadPopup( false ), + useInternalPlayer( InternalPlayerBackend::anyAvailable() ), + internalPlayerBackend( InternalPlayerBackend::defaultBackend() ), +- checkForNewReleases( true ), ++ checkForNewReleases( false ), + disallowContentFromOtherSites( false ), + enableWebPlugins( false ), + hideGoldenDictHeader( false ), +@@ -867,8 +867,8 @@ Class load() THROW_SPEC( exError ) + c.preferences.proxyServer.systemProxyPassword = proxy.namedItem( "systemProxyPassword" ).toElement().text(); + } + +- if ( !preferences.namedItem( "checkForNewReleases" ).isNull() ) +- c.preferences.checkForNewReleases = ( preferences.namedItem( "checkForNewReleases" ).toElement().text() == "1" ); ++ //if ( !preferences.namedItem( "checkForNewReleases" ).isNull() ) ++ // c.preferences.checkForNewReleases = ( preferences.namedItem( "checkForNewReleases" ).toElement().text() == "1" ); + + if ( !preferences.namedItem( "disallowContentFromOtherSites" ).isNull() ) + c.preferences.disallowContentFromOtherSites = ( preferences.namedItem( "disallowContentFromOtherSites" ).toElement().text() == "1" ); +@@ -1819,9 +1819,9 @@ void save( Class const & c ) THROW_SPEC( exError ) + proxy.appendChild( opt ); + } + +- opt = dd.createElement( "checkForNewReleases" ); +- opt.appendChild( dd.createTextNode( c.preferences.checkForNewReleases ? "1" : "0" ) ); +- preferences.appendChild( opt ); ++ //opt = dd.createElement( "checkForNewReleases" ); ++ //opt.appendChild( dd.createTextNode( c.preferences.checkForNewReleases ? "1" : "0" ) ); ++ //preferences.appendChild( opt ); + + opt = dd.createElement( "disallowContentFromOtherSites" ); + opt.appendChild( dd.createTextNode( c.preferences.disallowContentFromOtherSites ? "1" : "0" ) ); +diff --git i/preferences.cc w/preferences.cc +index 72c3147..7e48f00 100644 +--- i/preferences.cc ++++ w/preferences.cc +@@ -314,6 +314,7 @@ Preferences::Preferences( QWidget * parent, Config::Class & cfg_ ): + this, SLOT( customProxyToggled( bool ) ) ); + + ui.checkForNewReleases->setChecked( p.checkForNewReleases ); ++ ui.checkForNewReleases->setEnabled( false ); + ui.disallowContentFromOtherSites->setChecked( p.disallowContentFromOtherSites ); + ui.enableWebPlugins->setChecked( p.enableWebPlugins ); + ui.hideGoldenDictHeader->setChecked( p.hideGoldenDictHeader ); -- 2.34.0 From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 28 05:47:13 2022 Received: (at 48909) by debbugs.gnu.org; 28 Mar 2022 09:47:13 +0000 Received: from localhost ([127.0.0.1]:57319 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nYlxx-00088I-3L for submit@debbugs.gnu.org; Mon, 28 Mar 2022 05:47:13 -0400 Received: from mail-lf1-f45.google.com ([209.85.167.45]:46620) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nYlxu-000883-VC for 48909@debbugs.gnu.org; Mon, 28 Mar 2022 05:47:12 -0400 Received: by mail-lf1-f45.google.com with SMTP id e16so23660503lfc.13 for <48909@debbugs.gnu.org>; Mon, 28 Mar 2022 02:47:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sarg.org.ru; s=google; h=mime-version:from:date:message-id:subject:to; bh=QLv+1SslxgavtaaV3E8DQYH8WqkSiIfv5wZA8szB+Gg=; b=NGC0l62XBd6eLlRUnInm3zUvrxhvZIlQdbjc2QShKgJoKdlXf0fO3k1nzWEh8YZ4V+ p2GTq4sVfL449a6qHcZW5MHfHPNovjqzQ1LPycB31sRir7fkRLPah3/jADUPCMbo2QvU Xgk9Saa8NlOFRPpw/bhAZzZcau7BpvOuK++Vw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=QLv+1SslxgavtaaV3E8DQYH8WqkSiIfv5wZA8szB+Gg=; b=z/jcbgpqzgogvnDEyq+O+JO3a6mCcJVaDCK2t0EhcCX0P+qND9NVFJPdDUVEsMHqFI 5kfdD4a89r4qBI0ubcGbP6GLuGrwhWKpmz3y747cxVUvmMInda10EOF2IpuQ+44qs3tN Mh1d6zqmfd5cep0NA+FK/2t8RpV7GnOdFh93cim9LzRIbHqumttAYNcSRL43DZB0f9TZ BMwKO7BuzuguNtvGtJfP9WTjOCrB2xAiXInb3uZK/Ll+DHyIFT1yV6er6qKexC4Mp6L9 8odbgOdCx3jWL7vP9rwNdjRriMTWW9+f8di+ldcFKkSZaauyWA7LEam1cGhYyIZswbOb 8cwg== X-Gm-Message-State: AOAM532p7r3ruKMr8f9E+UWGZgw+ew1R/MPLRAIr+ubIGIrg2np0eTuf dIlkY1FzzGMqJ4VphtRBLk76fCrHd2UhjB8Ygp0wua/Gc24/9A== X-Google-Smtp-Source: ABdhPJzGEbcTXWGZ0E120xTc0LkVMYopJzhiVLq12ovoDentLGJ5YChWVZhnERqwTgdQjYwvct2UxpgUEAJtwSNcUGo= X-Received: by 2002:a19:5f59:0:b0:44a:2040:522f with SMTP id a25-20020a195f59000000b0044a2040522fmr18283937lfj.590.1648460824323; Mon, 28 Mar 2022 02:47:04 -0700 (PDT) MIME-Version: 1.0 From: Sergey Trofimov Date: Mon, 28 Mar 2022 11:46:28 +0200 Message-ID: Subject: Package definition updated. To: 48909@debbugs.gnu.org Content-Type: text/plain; charset="UTF-8" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 48909 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Dear guix maintainers, I've updated the goldendict package according to the latest guidelines. Regarding versioning - goldendict team neglects proper versioning for a long time, not sure that would change any time soon. Here is a discussion around that: https://github.com/goldendict/goldendict/issues/953 From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 23 17:30:19 2024 Received: (at 48909) by debbugs.gnu.org; 23 Jan 2024 22:30:19 +0000 Received: from localhost ([127.0.0.1]:44103 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rSPHf-000580-ET for submit@debbugs.gnu.org; Tue, 23 Jan 2024 17:30:19 -0500 Received: from mail-wr1-x42a.google.com ([2a00:1450:4864:20::42a]:53306) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rSPHd-00057g-7x for 48909@debbugs.gnu.org; Tue, 23 Jan 2024 17:30:18 -0500 Received: by mail-wr1-x42a.google.com with SMTP id ffacd0b85a97d-33929364bdaso3179668f8f.2 for <48909@debbugs.gnu.org>; Tue, 23 Jan 2024 14:30:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706049006; x=1706653806; darn=debbugs.gnu.org; h=mime-version:message-id:date:subject:to:from:from:to:cc:subject :date:message-id:reply-to; bh=mndBrAW2wC3pETs/SNfs1X19mUFvHlTOcE3w7Q5yeG8=; b=Uk3S5K2pVlNTqjShQvDfIlI2KmKqvXv8APWbfX1IQRB4qlVSClsrgE7Q+kWfHlG3Nq hbCzZRKdCtEUHPJBzvzDuCH3iUj48wC46P90tdlKRcWItQBHWF11eEyaOn0VPJNhSmcC YwtgsARw0YCNf2PFZAG3BJlL1NxAfNqU65LwTP/G3JetVYxaetv3Me4Qq1rXJRNXJiQu 87xXqWfB15SJOYvZhm+cfrGbO1Jtt6VBuV7fqzwHEeuXcd5lKnJO1fGyqNnj3+DX0GS/ x0dTrYyYO8YZtOQFUKIx0mL64LZS3lNfQYAp1Pj9BXsOzRxHHz46LBO3Z+VnmLGDcS+c WD4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706049006; x=1706653806; h=mime-version:message-id:date:subject:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=mndBrAW2wC3pETs/SNfs1X19mUFvHlTOcE3w7Q5yeG8=; b=As6dCMLj2SRSgac3UeAXavL6Rh8/uYcssyduUx2P9TEQBXwzxcIyqt36vlPVNQ+iJl jT4mskwUz6x721Sqsodszi6DVhlJKbOE7MaPpq1ZJMSmP9cVXSVhZhTo4bg7auyayRn9 h8bFQQVZ+CqDEr315iBuoHhxy1EYSuvFut7jI/eOEQcwEw5GbNaTB1glUG9Ik1rNyCXi gngbVtwwJQWdsEYhZMhvp8OBEQvLQv/WKyfi86S2o2HuyBfbRTZw17kr4ikU97EVt8AP Xf+pbdmH97yOgAdqiUOg8C5OlkHi2oRVbfBHMwzZQce9n3F/j//mfq2hvNmjbAqTbo7V RyFw== X-Gm-Message-State: AOJu0YxHq8UUxEkBkeATHQ5b3rAAM3ZilKY/ThkHrCs7Ok8wrHerZ7Ba DriBO2Hfz9JePwaFJmz4yz9ezL251LIwZPrneV+wdLrIomXQEsaKm11f4nUqXtM= X-Google-Smtp-Source: AGHT+IFNBkdEBVIl/uSHwjN2zXMm7tKjqgYNCIGdEdRlAoD3B8kwpHclkVr4M2SscO8h3kR/5Sfrzw== X-Received: by 2002:adf:f243:0:b0:336:b937:3d0e with SMTP id b3-20020adff243000000b00336b9373d0emr3634900wrp.14.1706049006191; Tue, 23 Jan 2024 14:30:06 -0800 (PST) Received: from guxtil (cpc100856-bagu15-2-0-cust368.1-3.cable.virginm.net. [82.25.93.113]) by smtp.gmail.com with ESMTPSA id u11-20020adfa18b000000b00337d2d1e0ecsm14605297wru.104.2024.01.23.14.30.05 for <48909@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jan 2024 14:30:05 -0800 (PST) From: Sharlatan Hellseher To: 48909@debbugs.gnu.org Subject: [PATCH] gnu: Add goldendict. Date: Tue, 23 Jan 2024 22:30:00 +0000 Message-ID: <87sf2nn0nr.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 48909 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain Hi, QtWebKit was removed https://issues.guix.gnu.org/53289. Porting to QtWebEngine is not initiated yet https://github.com/goldendict/goldendict/issues/1081. Review in some time when there would be option to build the project without QtWebKit. Thanks, Oleg --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEmEeB3micIcJkGAhndtcnv/Ys0rUFAmWwPegACgkQdtcnv/Ys 0rWN/w/9GPjSsKqbyr24JFEmbnXckBF6tHbNMzCyFQ44yEEpWz8v86L0rQNJg2FG hWOR2QzWAuH+rI/xXxtEQ3wU+F+59x/8RGnvznA/TEB9ekIA3g8M0vf9RT9bdKs9 hSAQ+K+/ygZLaM172vUN6zGTCn/Lmb+zuBHePobv4mVWW0mfXAHWQf1xoueZGRNo dacDJpqXrQdrxWeXX0bHamoJ7e3dAFtwJxTLQ9w5tWLDSyo7WntIv/D9X9KSn68E 87kBrChGGQHtLzxwaNgZe5EtoUiqNKY4kC+xhbEzifjTw+dSiG+vGG8UtHLp/oo3 mnISZcX0Niz6va6lgPeCZuQV3GhwGJyhTbstQUXvyI26M1aBrsu9ywYlYE6mTyQO T1wlPKTCV2fIX42d8J+IOBY2clLWJFV7+gkmJKuTKfgOTC/ti0N7LSk1rLs4ZX+h LlouiWVvUqARc4DzD7739yAH5aSqBxRux+sIu2N2LVp5E/0q/qstBybbKW0inEmo MlJvOel/fjFNhl/a0Ht9Ra8GZmpbesbML3/UNTwUj/7O7fmGu55uUpjR86X7JHCg DMfs/FWuXgPQ6XyEmj4uCRSpvtxIbTdBhycGAD2DKEu0/N2JTwY4jNhBxZ2AZfvh v6UDvU6IepIF/8h3tNmIb+ZbQ1SCvWdgp5LbkLsaBeBz83A6YNQ= =DmFV -----END PGP SIGNATURE----- --=-=-=--