Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] dooble: add dictionaries.
@ 2024-03-04 11:29 Eloitor
  2024-03-10 15:11 ` [PR PATCH] [Updated] [WIP] " Eloitor
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Eloitor @ 2024-03-04 11:29 UTC (permalink / raw)
  To: ml

[-- 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-03-10 17:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-04 11:29 [PR PATCH] dooble: add dictionaries Eloitor
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

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).