From: Eloitor <Eloitor@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] dooble: add dictionaries.
Date: Mon, 04 Mar 2024 12:29:34 +0100 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-49075@inbox.vuxu.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 494 bytes --]
There is a new pull request by Eloitor against master on the void-packages repository
https://github.com/Eloitor/void-packages dooble
https://github.com/void-linux/void-packages/pull/49075
dooble: add dictionaries.
#### Testing the changes
- I tested the changes in this PR: **YES**
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
closes #49030
A patch file from https://github.com/void-linux/void-packages/pull/49075.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-dooble-49075.patch --]
[-- Type: text/x-diff, Size: 1770 bytes --]
From edfc64c66cce66e75827ddafd99637b8b6d42dcc Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Mon, 4 Mar 2024 13:27:30 +0100
Subject: [PATCH] dooble: add dictionaries.
---
srcpkgs/dooble/patches/dictionaries.patch | 11 +++++++++++
srcpkgs/dooble/template | 4 +++-
2 files changed, 14 insertions(+), 1 deletion(-)
create mode 100644 srcpkgs/dooble/patches/dictionaries.patch
diff --git a/srcpkgs/dooble/patches/dictionaries.patch b/srcpkgs/dooble/patches/dictionaries.patch
new file mode 100644
index 00000000000000..c153468928b81d
--- /dev/null
+++ b/srcpkgs/dooble/patches/dictionaries.patch
@@ -0,0 +1,11 @@
+--- a/Source/dooble_settings.cc
++++ b/Source/dooble_settings.cc
+@@ -2271,7 +2271,7 @@ void dooble_settings::show_qtwebengine_dictionaries_warning_label(void)
+
+ if(bytes.trimmed().isEmpty())
+ {
+- bytes = "qtwebengine_dictionaries";
++ bytes = "/usr/share/dooble/qtwebengine_dictionaries";
+
+ if(!QFileInfo(bytes).isReadable())
+ {
diff --git a/srcpkgs/dooble/template b/srcpkgs/dooble/template
index 9c4933e551a356..8175bcbbd718b7 100644
--- a/srcpkgs/dooble/template
+++ b/srcpkgs/dooble/template
@@ -1,7 +1,7 @@
# Template file for 'dooble'
pkgname=dooble
version=2024.01.25
-revision=1
+revision=2
archs="x86_64* aarch64*"
build_style=qmake
configure_args="dooble.pro"
@@ -19,6 +19,8 @@ do_install() {
vbin Dooble dooble
vinstall Distributions/dooble.desktop 644 usr/share/applications
vinstall Icons/Logo/dooble.png 644 usr/share/pixmaps
+ vmkdir usr/share/dooble/qtwebengine_dictionaries
+ vcopy qtwebengine_dictionaries usr/share/dooble
vmkdir usr/share/dooble/translations
vcopy "Translations/dooble_*.qm" usr/share/dooble/translations
vlicense LICENSE
next reply other threads:[~2024-03-04 11:29 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-04 11:29 Eloitor [this message]
2024-03-10 15:11 ` [PR PATCH] [Updated] [WIP] " Eloitor
2024-03-10 17:29 ` [PR PATCH] [Updated] " Eloitor
2024-03-10 17:30 ` Eloitor
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-49075@inbox.vuxu.org \
--to=eloitor@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).