[-- Attachment #1: Type: text/plain, Size: 666 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/39405 [WIP] New package: dooble-2022.06.15 #### Testing the changes - I tested the changes in this PR: **briefly** #### New package - This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES** #### Local build testing - I built this PR locally for my native architecture, x86_64 A patch file from https://github.com/void-linux/void-packages/pull/39405.patch is attached [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: github-pr-dooble-39405.patch --] [-- Type: text/x-diff, Size: 1197 bytes --] From 82c9f09a8b42c0e898606eaeda18f2a399c1cca5 Mon Sep 17 00:00:00 2001 From: Eloi Torrents <elotor@disroot.org> Date: Mon, 19 Sep 2022 10:49:24 +0200 Subject: [PATCH] New package: dooble-2022.06.15 dooble: update to 2022.06.15. --- srcpkgs/dooble/template | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 srcpkgs/dooble/template diff --git a/srcpkgs/dooble/template b/srcpkgs/dooble/template new file mode 100644 index 000000000000..129351a16d53 --- /dev/null +++ b/srcpkgs/dooble/template @@ -0,0 +1,18 @@ +# Template file for 'dooble' +pkgname=dooble +version=2022.06.15 +revision=1 +build_style=qmake +configure_args="dooble.pro" +hostmakedepends="qt5-qmake" +makedepends="qt5-charts-devel qt5-webengine-devel qt5-webchannel-devel qt5-location-devel" +short_desc="Dooble, the scientific browser. Minimal, cute, and unusually stable" +maintainer="Eloi Torrents <elotor@disroot.org>" +license="GPL-3.0-or-later" +homepage="https://textbrowser.github.io/dooble/" +distfiles="https://github.com/textbrowser/dooble/archive/refs/tags/${version}.tar.gz" +checksum=3af9a06c477f9317cf279389bd66237109fa205fb5526f4df7909250dc2c8e41 + +do_install() { + vbin Dooble + }
[-- Attachment #1: Type: text/plain, Size: 671 bytes --] There is an updated 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/39405 [WIP] New package: dooble-2022.06.15 #### Testing the changes - I tested the changes in this PR: **briefly** #### New package - This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES** #### Local build testing - I built this PR locally for my native architecture, x86_64 A patch file from https://github.com/void-linux/void-packages/pull/39405.patch is attached [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: github-pr-dooble-39405.patch --] [-- Type: text/x-diff, Size: 1192 bytes --] From 75aab4f077d38ac293a3bbaa2ce7628d4f17d0e7 Mon Sep 17 00:00:00 2001 From: Eloi Torrents <elotor@disroot.org> Date: Mon, 19 Sep 2022 10:49:24 +0200 Subject: [PATCH] New package: dooble-2022.06.15 dooble: update to 2022.06.15. --- srcpkgs/dooble/template | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 srcpkgs/dooble/template diff --git a/srcpkgs/dooble/template b/srcpkgs/dooble/template new file mode 100644 index 000000000000..11fcfdc44519 --- /dev/null +++ b/srcpkgs/dooble/template @@ -0,0 +1,18 @@ +# Template file for 'dooble' +pkgname=dooble +version=2022.06.15 +revision=1 +build_style=qmake +configure_args="dooble.pro" +hostmakedepends="qt5-qmake" +makedepends="qt5-charts-devel qt5-webengine-devel qt5-webchannel-devel qt5-location-devel" +short_desc="Dooble, the scientific browser. Minimal, cute, and unusually stable" +maintainer="Eloi Torrents <elotor@disroot.org>" +license="GPL-3.0-or-later" +homepage="https://textbrowser.github.io/dooble/" +distfiles="https://github.com/textbrowser/dooble/archive/refs/tags/${version}.tar.gz" +checksum=3af9a06c477f9317cf279389bd66237109fa205fb5526f4df7909250dc2c8e41 + +do_install() { + vbin Dooble +}
[-- Attachment #1: Type: text/plain, Size: 671 bytes --] There is an updated 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/39405 [WIP] New package: dooble-2022.06.15 #### Testing the changes - I tested the changes in this PR: **briefly** #### New package - This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES** #### Local build testing - I built this PR locally for my native architecture, x86_64 A patch file from https://github.com/void-linux/void-packages/pull/39405.patch is attached [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: github-pr-dooble-39405.patch --] [-- Type: text/x-diff, Size: 1192 bytes --] From d2f8ee3187b5249278018e6e970daa12a1ee0a44 Mon Sep 17 00:00:00 2001 From: Eloi Torrents <elotor@disroot.org> Date: Mon, 19 Sep 2022 10:49:24 +0200 Subject: [PATCH] New package: dooble-2022.06.15 dooble: update to 2022.06.15. --- srcpkgs/dooble/template | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 srcpkgs/dooble/template diff --git a/srcpkgs/dooble/template b/srcpkgs/dooble/template new file mode 100644 index 000000000000..11fcfdc44519 --- /dev/null +++ b/srcpkgs/dooble/template @@ -0,0 +1,18 @@ +# Template file for 'dooble' +pkgname=dooble +version=2022.06.15 +revision=1 +build_style=qmake +configure_args="dooble.pro" +hostmakedepends="qt5-qmake" +makedepends="qt5-charts-devel qt5-webengine-devel qt5-webchannel-devel qt5-location-devel" +short_desc="Dooble, the scientific browser. Minimal, cute, and unusually stable" +maintainer="Eloi Torrents <elotor@disroot.org>" +license="GPL-3.0-or-later" +homepage="https://textbrowser.github.io/dooble/" +distfiles="https://github.com/textbrowser/dooble/archive/refs/tags/${version}.tar.gz" +checksum=3af9a06c477f9317cf279389bd66237109fa205fb5526f4df7909250dc2c8e41 + +do_install() { + vbin Dooble +}
[-- Attachment #1: Type: text/plain, Size: 225 bytes --] New review comment by classabbyamp on void-packages repository https://github.com/void-linux/void-packages/pull/39405#discussion_r977037211 Comment: [BSD-3-Clause](https://github.com/textbrowser/dooble/blob/master/LICENSE)
[-- Attachment #1: Type: text/plain, Size: 739 bytes --] New review comment by classabbyamp on void-packages repository https://github.com/void-linux/void-packages/pull/39405#discussion_r977051797 Comment: based on the [AUR package](https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=dooble): ```suggestion vbin Dooble dooble vinstall dooble.desktop 644 usr/share/applications vinstall Icons/Logo/dooble.png 644 usr/share/pixmaps vlicense LICENSE ``` (renamed the bin file so it plays nice with the desktop file) would be nice to also add the translations, but it seems to assume they're in `$PWD/Translations`. might be something to bring up with the upstream. ``` vmkdir usr/share/dooble/Translations vcopy "Translations/dooble_*.qm" usr/share/dooble/Translations ```
[-- Attachment #1: Type: text/plain, Size: 671 bytes --] There is an updated 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/39405 [WIP] New package: dooble-2022.06.15 #### Testing the changes - I tested the changes in this PR: **briefly** #### New package - This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES** #### Local build testing - I built this PR locally for my native architecture, x86_64 A patch file from https://github.com/void-linux/void-packages/pull/39405.patch is attached [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: github-pr-dooble-39405.patch --] [-- Type: text/x-diff, Size: 1325 bytes --] From 8c9ab49bee0b7158aba2062ac6c211b1987e9840 Mon Sep 17 00:00:00 2001 From: Eloi Torrents <elotor@disroot.org> Date: Mon, 19 Sep 2022 10:49:24 +0200 Subject: [PATCH] New package: dooble-2022.06.15 dooble: update to 2022.06.15. --- srcpkgs/dooble/template | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 srcpkgs/dooble/template diff --git a/srcpkgs/dooble/template b/srcpkgs/dooble/template new file mode 100644 index 000000000000..e715b633af67 --- /dev/null +++ b/srcpkgs/dooble/template @@ -0,0 +1,21 @@ +# Template file for 'dooble' +pkgname=dooble +version=2022.06.15 +revision=1 +build_style=qmake +configure_args="dooble.pro" +hostmakedepends="qt5-qmake" +makedepends="qt5-charts-devel qt5-webengine-devel qt5-webchannel-devel qt5-location-devel" +short_desc="Dooble, the scientific browser. Minimal, cute, and unusually stable" +maintainer="Eloi Torrents <elotor@disroot.org>" +license="BSD-3-Clause" +homepage="https://textbrowser.github.io/dooble/" +distfiles="https://github.com/textbrowser/dooble/archive/refs/tags/${version}.tar.gz" +checksum=3af9a06c477f9317cf279389bd66237109fa205fb5526f4df7909250dc2c8e41 + +do_install() { + vbin Dooble dooble + vinstall dooble.desktop 644 usr/share/applications + vinstall Icons/Logo/dooble.png 644 usr/share/pixmaps + vlicense LICENSE +}
[-- Attachment #1: Type: text/plain, Size: 206 bytes --] New review comment by Eloitor on void-packages repository https://github.com/void-linux/void-packages/pull/39405#discussion_r977699839 Comment: Thank you I'll take a look at it and open an issue upstream
[-- Attachment #1: Type: text/plain, Size: 276 bytes --] New review comment by sgn on void-packages repository https://github.com/void-linux/void-packages/pull/39405#discussion_r978558514 Comment: Patch this file: https://github.com/textbrowser/dooble/blob/94498e29d616de51287e752c57e287dcdccdc578/Source/dooble_application.cc#L81
[-- Attachment #1: Type: text/plain, Size: 628 bytes --] New review comment by sgn on void-packages repository https://github.com/void-linux/void-packages/pull/39405#discussion_r978648524 Comment: Here is the patch: ```diff --- dooble_application.cc.orig 2022-09-23 20:15:31.021472658 +0700 +++ dooble_application.cc 2022-09-23 20:16:49.754946070 +0700 @@ -81,9 +81,7 @@ if(path.isEmpty()) ok = m_translator->load("dooble_" + QLocale::system().name(), - QDir::currentPath() + - QDir::separator() + - "Translations"); + "/usr/share/dooble/translations"); else ok = m_translator->load("dooble_" + QLocale::system().name(), path); ```
[-- Attachment #1: Type: text/plain, Size: 671 bytes --] There is an updated 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/39405 [WIP] New package: dooble-2022.06.15 #### Testing the changes - I tested the changes in this PR: **briefly** #### New package - This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES** #### Local build testing - I built this PR locally for my native architecture, x86_64 A patch file from https://github.com/void-linux/void-packages/pull/39405.patch is attached [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: github-pr-dooble-39405.patch --] [-- Type: text/x-diff, Size: 2130 bytes --] From 68315e822b1a32d5334246fc950918dce9208639 Mon Sep 17 00:00:00 2001 From: Eloi Torrents <elotor@disroot.org> Date: Mon, 19 Sep 2022 10:49:24 +0200 Subject: [PATCH] New package: dooble-2022.06.15 dooble: update to 2022.06.15. dooble: update to 2022.06.15. --- srcpkgs/dooble/template | 21 +++++++++++++++++++++ srcpkgs/dooble/translations.patch | 12 ++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 srcpkgs/dooble/template create mode 100644 srcpkgs/dooble/translations.patch diff --git a/srcpkgs/dooble/template b/srcpkgs/dooble/template new file mode 100644 index 000000000000..e715b633af67 --- /dev/null +++ b/srcpkgs/dooble/template @@ -0,0 +1,21 @@ +# Template file for 'dooble' +pkgname=dooble +version=2022.06.15 +revision=1 +build_style=qmake +configure_args="dooble.pro" +hostmakedepends="qt5-qmake" +makedepends="qt5-charts-devel qt5-webengine-devel qt5-webchannel-devel qt5-location-devel" +short_desc="Dooble, the scientific browser. Minimal, cute, and unusually stable" +maintainer="Eloi Torrents <elotor@disroot.org>" +license="BSD-3-Clause" +homepage="https://textbrowser.github.io/dooble/" +distfiles="https://github.com/textbrowser/dooble/archive/refs/tags/${version}.tar.gz" +checksum=3af9a06c477f9317cf279389bd66237109fa205fb5526f4df7909250dc2c8e41 + +do_install() { + vbin Dooble dooble + vinstall dooble.desktop 644 usr/share/applications + vinstall Icons/Logo/dooble.png 644 usr/share/pixmaps + vlicense LICENSE +} diff --git a/srcpkgs/dooble/translations.patch b/srcpkgs/dooble/translations.patch new file mode 100644 index 000000000000..d10c51bfdc73 --- /dev/null +++ b/srcpkgs/dooble/translations.patch @@ -0,0 +1,12 @@ +--- dooble_application.cc.orig 2022-09-23 20:15:31.021472658 +0700 ++++ dooble_application.cc 2022-09-23 20:16:49.754946070 +0700 +@@ -81,9 +81,7 @@ + + if(path.isEmpty()) + ok = m_translator->load("dooble_" + QLocale::system().name(), +- QDir::currentPath() + +- QDir::separator() + +- "Translations"); ++ "/usr/share/dooble/translations"); + else + ok = m_translator->load("dooble_" + QLocale::system().name(), path);
[-- Attachment #1: Type: text/plain, Size: 211 bytes --] New review comment by Eloitor on void-packages repository https://github.com/void-linux/void-packages/pull/39405#discussion_r979075318 Comment: Thank you!!!!!!! Now only the aarch64 builds give problems...
[-- Attachment #1: Type: text/plain, Size: 310 bytes --] New review comment by classabbyamp on void-packages repository https://github.com/void-linux/void-packages/pull/39405#discussion_r979078366 Comment: don't forget to install the translations too ``` vmkdir usr/share/dooble/Translations vcopy "Translations/dooble_*.qm" usr/share/dooble/translations ```
[-- Attachment #1: Type: text/plain, Size: 239 bytes --] New review comment by classabbyamp on void-packages repository https://github.com/void-linux/void-packages/pull/39405#discussion_r979078890 Comment: > Now only the aarch64 builds give problems... add qt5-host-tools to hostmakedepends
[-- Attachment #1: Type: text/plain, Size: 671 bytes --] There is an updated 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/39405 [WIP] New package: dooble-2022.06.15 #### Testing the changes - I tested the changes in this PR: **briefly** #### New package - This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES** #### Local build testing - I built this PR locally for my native architecture, x86_64 A patch file from https://github.com/void-linux/void-packages/pull/39405.patch is attached [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: github-pr-dooble-39405.patch --] [-- Type: text/x-diff, Size: 2282 bytes --] From bee2460424b3d3aae2a91efe6562e698d795a1d7 Mon Sep 17 00:00:00 2001 From: Eloi Torrents <elotor@disroot.org> Date: Mon, 19 Sep 2022 10:49:24 +0200 Subject: [PATCH] New package: dooble-2022.06.15 dooble: update to 2022.06.15. dooble: update to 2022.06.15. dooble: update to 2022.06.15. --- srcpkgs/dooble/template | 23 +++++++++++++++++++++++ srcpkgs/dooble/translations.patch | 12 ++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 srcpkgs/dooble/template create mode 100644 srcpkgs/dooble/translations.patch diff --git a/srcpkgs/dooble/template b/srcpkgs/dooble/template new file mode 100644 index 000000000000..fdedd028dafb --- /dev/null +++ b/srcpkgs/dooble/template @@ -0,0 +1,23 @@ +# Template file for 'dooble' +pkgname=dooble +version=2022.06.15 +revision=1 +build_style=qmake +configure_args="dooble.pro" +hostmakedepends="qt5-qmake qt5-host-tools" +makedepends="qt5-charts-devel qt5-webengine-devel qt5-webchannel-devel qt5-location-devel" +short_desc="Dooble, the scientific browser. Minimal, cute, and unusually stable" +maintainer="Eloi Torrents <elotor@disroot.org>" +license="BSD-3-Clause" +homepage="https://textbrowser.github.io/dooble/" +distfiles="https://github.com/textbrowser/dooble/archive/refs/tags/${version}.tar.gz" +checksum=3af9a06c477f9317cf279389bd66237109fa205fb5526f4df7909250dc2c8e41 + +do_install() { + vbin Dooble dooble + vinstall dooble.desktop 644 usr/share/applications + vinstall Icons/Logo/dooble.png 644 usr/share/pixmaps + vlicense LICENSE + vmkdir usr/share/dooble/Translations + vcopy "Translations/dooble_*.qm" usr/share/dooble/translations +} diff --git a/srcpkgs/dooble/translations.patch b/srcpkgs/dooble/translations.patch new file mode 100644 index 000000000000..d10c51bfdc73 --- /dev/null +++ b/srcpkgs/dooble/translations.patch @@ -0,0 +1,12 @@ +--- dooble_application.cc.orig 2022-09-23 20:15:31.021472658 +0700 ++++ dooble_application.cc 2022-09-23 20:16:49.754946070 +0700 +@@ -81,9 +81,7 @@ + + if(path.isEmpty()) + ok = m_translator->load("dooble_" + QLocale::system().name(), +- QDir::currentPath() + +- QDir::separator() + +- "Translations"); ++ "/usr/share/dooble/translations"); + else + ok = m_translator->load("dooble_" + QLocale::system().name(), path);
[-- Attachment #1: Type: text/plain, Size: 183 bytes --] New review comment by sgn on void-packages repository https://github.com/void-linux/void-packages/pull/39405#discussion_r979215111 Comment: Add `qt5-webengine` to `hostmakedepends`
[-- Attachment #1: Type: text/plain, Size: 671 bytes --] There is an updated 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/39405 [WIP] New package: dooble-2022.06.15 #### Testing the changes - I tested the changes in this PR: **briefly** #### New package - This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES** #### Local build testing - I built this PR locally for my native architecture, x86_64 A patch file from https://github.com/void-linux/void-packages/pull/39405.patch is attached [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: github-pr-dooble-39405.patch --] [-- Type: text/x-diff, Size: 2204 bytes --] From 7d67c2f5d70dd100b0bdc0694e3f0d9568545c5b Mon Sep 17 00:00:00 2001 From: Eloi Torrents <elotor@disroot.org> Date: Mon, 19 Sep 2022 10:49:24 +0200 Subject: [PATCH] New package: dooble-2022.06.15 --- srcpkgs/dooble/template | 23 +++++++++++++++++++++++ srcpkgs/dooble/translations.patch | 12 ++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 srcpkgs/dooble/template create mode 100644 srcpkgs/dooble/translations.patch diff --git a/srcpkgs/dooble/template b/srcpkgs/dooble/template new file mode 100644 index 000000000000..d591d5c27d87 --- /dev/null +++ b/srcpkgs/dooble/template @@ -0,0 +1,23 @@ +# Template file for 'dooble' +pkgname=dooble +version=2022.06.15 +revision=1 +build_style=qmake +configure_args="dooble.pro" +hostmakedepends="qt5-qmake qt5-host-tools qt5-webengine" +makedepends="qt5-charts-devel qt5-webengine-devel qt5-webchannel-devel qt5-location-devel" +short_desc="Dooble, the scientific browser. Minimal, cute, and unusually stable" +maintainer="Eloi Torrents <elotor@disroot.org>" +license="BSD-3-Clause" +homepage="https://textbrowser.github.io/dooble/" +distfiles="https://github.com/textbrowser/dooble/archive/refs/tags/${version}.tar.gz" +checksum=3af9a06c477f9317cf279389bd66237109fa205fb5526f4df7909250dc2c8e41 + +do_install() { + vbin Dooble dooble + vinstall dooble.desktop 644 usr/share/applications + vinstall Icons/Logo/dooble.png 644 usr/share/pixmaps + vlicense LICENSE + vmkdir usr/share/dooble/Translations + vcopy "Translations/dooble_*.qm" usr/share/dooble/translations +} diff --git a/srcpkgs/dooble/translations.patch b/srcpkgs/dooble/translations.patch new file mode 100644 index 000000000000..d10c51bfdc73 --- /dev/null +++ b/srcpkgs/dooble/translations.patch @@ -0,0 +1,12 @@ +--- dooble_application.cc.orig 2022-09-23 20:15:31.021472658 +0700 ++++ dooble_application.cc 2022-09-23 20:16:49.754946070 +0700 +@@ -81,9 +81,7 @@ + + if(path.isEmpty()) + ok = m_translator->load("dooble_" + QLocale::system().name(), +- QDir::currentPath() + +- QDir::separator() + +- "Translations"); ++ "/usr/share/dooble/translations"); + else + ok = m_translator->load("dooble_" + QLocale::system().name(), path);
[-- Attachment #1: Type: text/plain, Size: 671 bytes --] There is an updated 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/39405 [WIP] New package: dooble-2022.06.15 #### Testing the changes - I tested the changes in this PR: **briefly** #### New package - This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES** #### Local build testing - I built this PR locally for my native architecture, x86_64 A patch file from https://github.com/void-linux/void-packages/pull/39405.patch is attached [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: github-pr-dooble-39405.patch --] [-- Type: text/x-diff, Size: 3267 bytes --] From 30dbfd5c11ddbe0957190ceec5ca4e358db5da0d Mon Sep 17 00:00:00 2001 From: Eloi Torrents <elotor@disroot.org> Date: Mon, 19 Sep 2022 10:49:24 +0200 Subject: [PATCH 1/2] New package: dooble-2022.06.15 --- srcpkgs/dooble/template | 23 +++++++++++++++++++++++ srcpkgs/dooble/translations.patch | 12 ++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 srcpkgs/dooble/template create mode 100644 srcpkgs/dooble/translations.patch diff --git a/srcpkgs/dooble/template b/srcpkgs/dooble/template new file mode 100644 index 000000000000..d591d5c27d87 --- /dev/null +++ b/srcpkgs/dooble/template @@ -0,0 +1,23 @@ +# Template file for 'dooble' +pkgname=dooble +version=2022.06.15 +revision=1 +build_style=qmake +configure_args="dooble.pro" +hostmakedepends="qt5-qmake qt5-host-tools qt5-webengine" +makedepends="qt5-charts-devel qt5-webengine-devel qt5-webchannel-devel qt5-location-devel" +short_desc="Dooble, the scientific browser. Minimal, cute, and unusually stable" +maintainer="Eloi Torrents <elotor@disroot.org>" +license="BSD-3-Clause" +homepage="https://textbrowser.github.io/dooble/" +distfiles="https://github.com/textbrowser/dooble/archive/refs/tags/${version}.tar.gz" +checksum=3af9a06c477f9317cf279389bd66237109fa205fb5526f4df7909250dc2c8e41 + +do_install() { + vbin Dooble dooble + vinstall dooble.desktop 644 usr/share/applications + vinstall Icons/Logo/dooble.png 644 usr/share/pixmaps + vlicense LICENSE + vmkdir usr/share/dooble/Translations + vcopy "Translations/dooble_*.qm" usr/share/dooble/translations +} diff --git a/srcpkgs/dooble/translations.patch b/srcpkgs/dooble/translations.patch new file mode 100644 index 000000000000..d10c51bfdc73 --- /dev/null +++ b/srcpkgs/dooble/translations.patch @@ -0,0 +1,12 @@ +--- dooble_application.cc.orig 2022-09-23 20:15:31.021472658 +0700 ++++ dooble_application.cc 2022-09-23 20:16:49.754946070 +0700 +@@ -81,9 +81,7 @@ + + if(path.isEmpty()) + ok = m_translator->load("dooble_" + QLocale::system().name(), +- QDir::currentPath() + +- QDir::separator() + +- "Translations"); ++ "/usr/share/dooble/translations"); + else + ok = m_translator->load("dooble_" + QLocale::system().name(), path); From 1583472491a081d1890a5d36a1d5868ce155b7f9 Mon Sep 17 00:00:00 2001 From: Eloi Torrents <elotor@disroot.org> Date: Mon, 19 Sep 2022 10:49:24 +0200 Subject: [PATCH 2/2] New package: dooble-2022.06.15 --- srcpkgs/dooble/patches/translations.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 srcpkgs/dooble/patches/translations.patch diff --git a/srcpkgs/dooble/patches/translations.patch b/srcpkgs/dooble/patches/translations.patch new file mode 100644 index 000000000000..3276867f48d9 --- /dev/null +++ b/srcpkgs/dooble/patches/translations.patch @@ -0,0 +1,12 @@ +--- a/Source/dooble_application.cc 2022-09-23 20:15:31.021472658 +0700 ++++ a/Source/dooble_application.cc 2022-09-23 20:16:49.754946070 +0700 +@@ -81,9 +81,7 @@ + + if(path.isEmpty()) + ok = m_translator->load("dooble_" + QLocale::system().name(), +- QDir::currentPath() + +- QDir::separator() + +- "Translations"); ++ "/usr/share/dooble/translations"); + else + ok = m_translator->load("dooble_" + QLocale::system().name(), path);
[-- Attachment #1: Type: text/plain, Size: 671 bytes --] There is an updated 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/39405 [WIP] New package: dooble-2022.06.15 #### Testing the changes - I tested the changes in this PR: **briefly** #### New package - This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES** #### Local build testing - I built this PR locally for my native architecture, x86_64 A patch file from https://github.com/void-linux/void-packages/pull/39405.patch is attached [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: github-pr-dooble-39405.patch --] [-- Type: text/x-diff, Size: 3036 bytes --] From 6742428775128a50cc66ae3ff41115d53aabb627 Mon Sep 17 00:00:00 2001 From: Eloi Torrents <elotor@disroot.org> Date: Mon, 19 Sep 2022 10:49:24 +0200 Subject: [PATCH] New package: dooble-2022.06.15 --- srcpkgs/dooble/patches/translations.patch | 12 ++++++++++++ srcpkgs/dooble/template | 23 +++++++++++++++++++++++ srcpkgs/dooble/translations.patch | 12 ++++++++++++ 3 files changed, 47 insertions(+) create mode 100644 srcpkgs/dooble/patches/translations.patch create mode 100644 srcpkgs/dooble/template create mode 100644 srcpkgs/dooble/translations.patch diff --git a/srcpkgs/dooble/patches/translations.patch b/srcpkgs/dooble/patches/translations.patch new file mode 100644 index 000000000000..3276867f48d9 --- /dev/null +++ b/srcpkgs/dooble/patches/translations.patch @@ -0,0 +1,12 @@ +--- a/Source/dooble_application.cc 2022-09-23 20:15:31.021472658 +0700 ++++ a/Source/dooble_application.cc 2022-09-23 20:16:49.754946070 +0700 +@@ -81,9 +81,7 @@ + + if(path.isEmpty()) + ok = m_translator->load("dooble_" + QLocale::system().name(), +- QDir::currentPath() + +- QDir::separator() + +- "Translations"); ++ "/usr/share/dooble/translations"); + else + ok = m_translator->load("dooble_" + QLocale::system().name(), path); diff --git a/srcpkgs/dooble/template b/srcpkgs/dooble/template new file mode 100644 index 000000000000..d591d5c27d87 --- /dev/null +++ b/srcpkgs/dooble/template @@ -0,0 +1,23 @@ +# Template file for 'dooble' +pkgname=dooble +version=2022.06.15 +revision=1 +build_style=qmake +configure_args="dooble.pro" +hostmakedepends="qt5-qmake qt5-host-tools qt5-webengine" +makedepends="qt5-charts-devel qt5-webengine-devel qt5-webchannel-devel qt5-location-devel" +short_desc="Dooble, the scientific browser. Minimal, cute, and unusually stable" +maintainer="Eloi Torrents <elotor@disroot.org>" +license="BSD-3-Clause" +homepage="https://textbrowser.github.io/dooble/" +distfiles="https://github.com/textbrowser/dooble/archive/refs/tags/${version}.tar.gz" +checksum=3af9a06c477f9317cf279389bd66237109fa205fb5526f4df7909250dc2c8e41 + +do_install() { + vbin Dooble dooble + vinstall dooble.desktop 644 usr/share/applications + vinstall Icons/Logo/dooble.png 644 usr/share/pixmaps + vlicense LICENSE + vmkdir usr/share/dooble/Translations + vcopy "Translations/dooble_*.qm" usr/share/dooble/translations +} diff --git a/srcpkgs/dooble/translations.patch b/srcpkgs/dooble/translations.patch new file mode 100644 index 000000000000..d10c51bfdc73 --- /dev/null +++ b/srcpkgs/dooble/translations.patch @@ -0,0 +1,12 @@ +--- dooble_application.cc.orig 2022-09-23 20:15:31.021472658 +0700 ++++ dooble_application.cc 2022-09-23 20:16:49.754946070 +0700 +@@ -81,9 +81,7 @@ + + if(path.isEmpty()) + ok = m_translator->load("dooble_" + QLocale::system().name(), +- QDir::currentPath() + +- QDir::separator() + +- "Translations"); ++ "/usr/share/dooble/translations"); + else + ok = m_translator->load("dooble_" + QLocale::system().name(), path);
[-- Attachment #1: Type: text/plain, Size: 671 bytes --] There is an updated 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/39405 [WIP] New package: dooble-2022.06.15 #### Testing the changes - I tested the changes in this PR: **briefly** #### New package - This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES** #### Local build testing - I built this PR locally for my native architecture, x86_64 A patch file from https://github.com/void-linux/void-packages/pull/39405.patch is attached [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: github-pr-dooble-39405.patch --] [-- Type: text/x-diff, Size: 2265 bytes --] From 023287cf72d05c3e952ce48cb5018c256894bb7b Mon Sep 17 00:00:00 2001 From: Eloi Torrents <elotor@disroot.org> Date: Mon, 19 Sep 2022 10:49:24 +0200 Subject: [PATCH] New package: dooble-2022.06.15 --- srcpkgs/dooble/patches/translations.patch | 12 ++++++++++++ srcpkgs/dooble/template | 23 +++++++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 srcpkgs/dooble/patches/translations.patch create mode 100644 srcpkgs/dooble/template diff --git a/srcpkgs/dooble/patches/translations.patch b/srcpkgs/dooble/patches/translations.patch new file mode 100644 index 000000000000..3276867f48d9 --- /dev/null +++ b/srcpkgs/dooble/patches/translations.patch @@ -0,0 +1,12 @@ +--- a/Source/dooble_application.cc 2022-09-23 20:15:31.021472658 +0700 ++++ a/Source/dooble_application.cc 2022-09-23 20:16:49.754946070 +0700 +@@ -81,9 +81,7 @@ + + if(path.isEmpty()) + ok = m_translator->load("dooble_" + QLocale::system().name(), +- QDir::currentPath() + +- QDir::separator() + +- "Translations"); ++ "/usr/share/dooble/translations"); + else + ok = m_translator->load("dooble_" + QLocale::system().name(), path); diff --git a/srcpkgs/dooble/template b/srcpkgs/dooble/template new file mode 100644 index 000000000000..d591d5c27d87 --- /dev/null +++ b/srcpkgs/dooble/template @@ -0,0 +1,23 @@ +# Template file for 'dooble' +pkgname=dooble +version=2022.06.15 +revision=1 +build_style=qmake +configure_args="dooble.pro" +hostmakedepends="qt5-qmake qt5-host-tools qt5-webengine" +makedepends="qt5-charts-devel qt5-webengine-devel qt5-webchannel-devel qt5-location-devel" +short_desc="Dooble, the scientific browser. Minimal, cute, and unusually stable" +maintainer="Eloi Torrents <elotor@disroot.org>" +license="BSD-3-Clause" +homepage="https://textbrowser.github.io/dooble/" +distfiles="https://github.com/textbrowser/dooble/archive/refs/tags/${version}.tar.gz" +checksum=3af9a06c477f9317cf279389bd66237109fa205fb5526f4df7909250dc2c8e41 + +do_install() { + vbin Dooble dooble + vinstall dooble.desktop 644 usr/share/applications + vinstall Icons/Logo/dooble.png 644 usr/share/pixmaps + vlicense LICENSE + vmkdir usr/share/dooble/Translations + vcopy "Translations/dooble_*.qm" usr/share/dooble/translations +}
[-- Attachment #1: Type: text/plain, Size: 671 bytes --] There is an updated 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/39405 [WIP] New package: dooble-2022.06.15 #### Testing the changes - I tested the changes in this PR: **briefly** #### New package - This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES** #### Local build testing - I built this PR locally for my native architecture, x86_64 A patch file from https://github.com/void-linux/void-packages/pull/39405.patch is attached [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: github-pr-dooble-39405.patch --] [-- Type: text/x-diff, Size: 2265 bytes --] From ab2f7fd7d81881ca7141453730055c6e4a260dda Mon Sep 17 00:00:00 2001 From: Eloi Torrents <elotor@disroot.org> Date: Mon, 19 Sep 2022 10:49:24 +0200 Subject: [PATCH] New package: dooble-2022.06.15 --- srcpkgs/dooble/patches/translations.patch | 12 ++++++++++++ srcpkgs/dooble/template | 23 +++++++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 srcpkgs/dooble/patches/translations.patch create mode 100644 srcpkgs/dooble/template diff --git a/srcpkgs/dooble/patches/translations.patch b/srcpkgs/dooble/patches/translations.patch new file mode 100644 index 000000000000..3276867f48d9 --- /dev/null +++ b/srcpkgs/dooble/patches/translations.patch @@ -0,0 +1,12 @@ +--- a/Source/dooble_application.cc 2022-09-23 20:15:31.021472658 +0700 ++++ a/Source/dooble_application.cc 2022-09-23 20:16:49.754946070 +0700 +@@ -81,9 +81,7 @@ + + if(path.isEmpty()) + ok = m_translator->load("dooble_" + QLocale::system().name(), +- QDir::currentPath() + +- QDir::separator() + +- "Translations"); ++ "/usr/share/dooble/translations"); + else + ok = m_translator->load("dooble_" + QLocale::system().name(), path); diff --git a/srcpkgs/dooble/template b/srcpkgs/dooble/template new file mode 100644 index 000000000000..0fd02ab609a2 --- /dev/null +++ b/srcpkgs/dooble/template @@ -0,0 +1,23 @@ +# Template file for 'dooble' +pkgname=dooble +version=2022.06.15 +revision=1 +build_style=qmake +configure_args="dooble.pro" +hostmakedepends="qt5-qmake qt5-host-tools qt5-webengine" +makedepends="qt5-charts-devel qt5-webengine-devel qt5-webchannel-devel qt5-location-devel" +short_desc="Dooble, the scientific browser. Minimal, cute, and unusually stable" +maintainer="Eloi Torrents <elotor@disroot.org>" +license="BSD-3-Clause" +homepage="https://textbrowser.github.io/dooble/" +distfiles="https://github.com/textbrowser/dooble/archive/refs/tags/${version}.tar.gz" +checksum=3af9a06c477f9317cf279389bd66237109fa205fb5526f4df7909250dc2c8e41 + +do_install() { + vbin Dooble dooble + vinstall dooble.desktop 644 usr/share/applications + vinstall Icons/Logo/dooble.png 644 usr/share/pixmaps + vlicense LICENSE + vmkdir usr/share/dooble/translations + vcopy "Translations/dooble_*.qm" usr/share/dooble/translations +}
[-- Attachment #1: Type: text/plain, Size: 468 bytes --] New comment by Eloitor on void-packages repository https://github.com/void-linux/void-packages/pull/39405#issuecomment-1260434440 Comment: This template now builds successfully. I installed it in my computer, the translations appear in the correct folder `/usr/share/dooble/translations/`. I then tried to change the language of the program in edit > settings > display > language but the only option available is English.... Everyting else seems to work fine.
[-- Attachment #1: Type: text/plain, Size: 469 bytes --] New comment by Eloitor on void-packages repository https://github.com/void-linux/void-packages/pull/39405#issuecomment-1260434440 Comment: This template now builds successfully. I installed it in my computer, the translations appear in the correct folder `/usr/share/dooble/translations/`. I then tried to change the language of the program in edit > settings > display > language but the only option available is English.... Everything else seems to work fine.
[-- Attachment #1: Type: text/plain, Size: 665 bytes --] There is an updated 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/39405 New package: dooble-2022.06.15 #### Testing the changes - I tested the changes in this PR: **briefly** #### New package - This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES** #### Local build testing - I built this PR locally for my native architecture, x86_64 A patch file from https://github.com/void-linux/void-packages/pull/39405.patch is attached [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: github-pr-dooble-39405.patch --] [-- Type: text/x-diff, Size: 2294 bytes --] From 7c952f62681dc783dab5663f4511fbdb8d0e84c8 Mon Sep 17 00:00:00 2001 From: Eloi Torrents <elotor@disroot.org> Date: Mon, 19 Sep 2022 10:49:24 +0200 Subject: [PATCH] New package: dooble-2022.06.15 --- srcpkgs/dooble/patches/translations.patch | 12 ++++++++++++ srcpkgs/dooble/template | 24 +++++++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 srcpkgs/dooble/patches/translations.patch create mode 100644 srcpkgs/dooble/template diff --git a/srcpkgs/dooble/patches/translations.patch b/srcpkgs/dooble/patches/translations.patch new file mode 100644 index 000000000000..3276867f48d9 --- /dev/null +++ b/srcpkgs/dooble/patches/translations.patch @@ -0,0 +1,12 @@ +--- a/Source/dooble_application.cc 2022-09-23 20:15:31.021472658 +0700 ++++ a/Source/dooble_application.cc 2022-09-23 20:16:49.754946070 +0700 +@@ -81,9 +81,7 @@ + + if(path.isEmpty()) + ok = m_translator->load("dooble_" + QLocale::system().name(), +- QDir::currentPath() + +- QDir::separator() + +- "Translations"); ++ "/usr/share/dooble/translations"); + else + ok = m_translator->load("dooble_" + QLocale::system().name(), path); diff --git a/srcpkgs/dooble/template b/srcpkgs/dooble/template new file mode 100644 index 000000000000..815912f0cb8f --- /dev/null +++ b/srcpkgs/dooble/template @@ -0,0 +1,24 @@ +# Template file for 'dooble' +pkgname=dooble +version=2022.06.15 +revision=1 +build_style=qmake +configure_args="dooble.pro" +hostmakedepends="qt5-qmake qt5-host-tools qt5-webengine" +makedepends="qt5-charts-devel qt5-webengine-devel qt5-webchannel-devel qt5-location-devel" +depends="qt5-plugin-sqlite" +short_desc="Dooble, the scientific browser. Minimal, cute, and unusually stable" +maintainer="Eloi Torrents <elotor@disroot.org>" +license="BSD-3-Clause" +homepage="https://textbrowser.github.io/dooble/" +distfiles="https://github.com/textbrowser/dooble/archive/refs/tags/${version}.tar.gz" +checksum=3af9a06c477f9317cf279389bd66237109fa205fb5526f4df7909250dc2c8e41 + +do_install() { + vbin Dooble dooble + vinstall dooble.desktop 644 usr/share/applications + vinstall Icons/Logo/dooble.png 644 usr/share/pixmaps + vlicense LICENSE + vmkdir usr/share/dooble/translations + vcopy "Translations/dooble_*.qm" usr/share/dooble/translations +}
[-- Attachment #1: Type: text/plain, Size: 665 bytes --] There is an updated 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/39405 New package: dooble-2022.06.15 #### Testing the changes - I tested the changes in this PR: **briefly** #### New package - This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES** #### Local build testing - I built this PR locally for my native architecture, x86_64 A patch file from https://github.com/void-linux/void-packages/pull/39405.patch is attached [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: github-pr-dooble-39405.patch --] [-- Type: text/x-diff, Size: 2254 bytes --] From f4e19dd6635e8effc8f4a41c77063dd9ea34d372 Mon Sep 17 00:00:00 2001 From: Eloi Torrents <elotor@disroot.org> Date: Mon, 19 Sep 2022 10:49:24 +0200 Subject: [PATCH] New package: dooble-2022.10.15 --- srcpkgs/dooble/patches/translations.patch | 10 ++++++++++ srcpkgs/dooble/template | 24 +++++++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 srcpkgs/dooble/patches/translations.patch create mode 100644 srcpkgs/dooble/template diff --git a/srcpkgs/dooble/patches/translations.patch b/srcpkgs/dooble/patches/translations.patch new file mode 100644 index 000000000000..8df08b946d0c --- /dev/null +++ b/srcpkgs/dooble/patches/translations.patch @@ -0,0 +1,10 @@ +--- a/Source/dooble_application.cc ++++ b/Source/dooble_application.cc +@@ -70,7 +70,7 @@ void dooble_application::install_translator(void) + + if(dooble_settings::setting("language_index").toInt() == 1) // System + { +- QString path(""); ++ QString path("/usr/share/dooble/translations"); + auto name(QLocale::system().name()); + auto variable(qgetenv("DOOBLE_TRANSLATIONS_PATH").trimmed()); diff --git a/srcpkgs/dooble/template b/srcpkgs/dooble/template new file mode 100644 index 000000000000..1a086fe83528 --- /dev/null +++ b/srcpkgs/dooble/template @@ -0,0 +1,24 @@ +# Template file for 'dooble' +pkgname=dooble +version=2022.10.15 +revision=1 +build_style=qmake +configure_args="dooble.pro" +hostmakedepends="qt5-qmake qt5-host-tools qt5-webengine" +makedepends="qt5-charts-devel qt5-webengine-devel qt5-webchannel-devel qt5-location-devel" +depends="qt5-plugin-sqlite" +short_desc="Dooble, the scientific browser. Minimal, cute, and unusually stable" +maintainer="Eloi Torrents <elotor@disroot.org>" +license="BSD-3-Clause" +homepage="https://textbrowser.github.io/dooble/" +distfiles="https://github.com/textbrowser/dooble/archive/refs/tags/${version}.tar.gz" +checksum=24c99cddc2f6a505b761afcdba8f44157617593c2170bb854f78dce0d2494847 + +do_install() { + vbin Dooble dooble + vinstall dooble.desktop 644 usr/share/applications + vinstall Icons/Logo/dooble.png 644 usr/share/pixmaps + vlicense LICENSE + vmkdir usr/share/dooble/translations + vcopy "Translations/dooble_*.qm" usr/share/dooble/translations +}
[-- Attachment #1: Type: text/plain, Size: 665 bytes --] There is an updated 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/39405 New package: dooble-2022.10.15 #### Testing the changes - I tested the changes in this PR: **briefly** #### New package - This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES** #### Local build testing - I built this PR locally for my native architecture, x86_64 A patch file from https://github.com/void-linux/void-packages/pull/39405.patch is attached [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: github-pr-dooble-39405.patch --] [-- Type: text/x-diff, Size: 2254 bytes --] From 9f4e4920aac4f952215ee39fe3c2197c7bbb3503 Mon Sep 17 00:00:00 2001 From: Eloi Torrents <elotor@disroot.org> Date: Mon, 19 Sep 2022 10:49:24 +0200 Subject: [PATCH] New package: dooble-2022.11.15 --- srcpkgs/dooble/patches/translations.patch | 10 ++++++++++ srcpkgs/dooble/template | 24 +++++++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 srcpkgs/dooble/patches/translations.patch create mode 100644 srcpkgs/dooble/template diff --git a/srcpkgs/dooble/patches/translations.patch b/srcpkgs/dooble/patches/translations.patch new file mode 100644 index 000000000000..8df08b946d0c --- /dev/null +++ b/srcpkgs/dooble/patches/translations.patch @@ -0,0 +1,10 @@ +--- a/Source/dooble_application.cc ++++ b/Source/dooble_application.cc +@@ -70,7 +70,7 @@ void dooble_application::install_translator(void) + + if(dooble_settings::setting("language_index").toInt() == 1) // System + { +- QString path(""); ++ QString path("/usr/share/dooble/translations"); + auto name(QLocale::system().name()); + auto variable(qgetenv("DOOBLE_TRANSLATIONS_PATH").trimmed()); diff --git a/srcpkgs/dooble/template b/srcpkgs/dooble/template new file mode 100644 index 000000000000..fa93950f9409 --- /dev/null +++ b/srcpkgs/dooble/template @@ -0,0 +1,24 @@ +# Template file for 'dooble' +pkgname=dooble +version=2022.11.15 +revision=1 +build_style=qmake +configure_args="dooble.pro" +hostmakedepends="qt5-qmake qt5-host-tools qt5-webengine" +makedepends="qt5-charts-devel qt5-webengine-devel qt5-webchannel-devel qt5-location-devel" +depends="qt5-plugin-sqlite" +short_desc="Dooble, the scientific browser. Minimal, cute, and unusually stable" +maintainer="Eloi Torrents <elotor@disroot.org>" +license="BSD-3-Clause" +homepage="https://textbrowser.github.io/dooble/" +distfiles="https://github.com/textbrowser/dooble/archive/refs/tags/${version}.tar.gz" +checksum=1db1a65832b5bae8d35f691fdddbb72745b3cd3da5b51e8fa79f1fc83e5bdef3 + +do_install() { + vbin Dooble dooble + vinstall dooble.desktop 644 usr/share/applications + vinstall Icons/Logo/dooble.png 644 usr/share/pixmaps + vlicense LICENSE + vmkdir usr/share/dooble/translations + vcopy "Translations/dooble_*.qm" usr/share/dooble/translations +}
[-- Attachment #1: Type: text/plain, Size: 665 bytes --] There is an updated 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/39405 New package: dooble-2022.11.15 #### Testing the changes - I tested the changes in this PR: **briefly** #### New package - This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES** #### Local build testing - I built this PR locally for my native architecture, x86_64 A patch file from https://github.com/void-linux/void-packages/pull/39405.patch is attached [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: github-pr-dooble-39405.patch --] [-- Type: text/x-diff, Size: 2254 bytes --] From e06e2e2d852934470bae2071f0f771862889c519 Mon Sep 17 00:00:00 2001 From: Eloi Torrents <elotor@disroot.org> Date: Mon, 19 Sep 2022 10:49:24 +0200 Subject: [PATCH] New package: dooble-2022.11.15 --- srcpkgs/dooble/patches/translations.patch | 10 ++++++++++ srcpkgs/dooble/template | 24 +++++++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 srcpkgs/dooble/patches/translations.patch create mode 100644 srcpkgs/dooble/template diff --git a/srcpkgs/dooble/patches/translations.patch b/srcpkgs/dooble/patches/translations.patch new file mode 100644 index 000000000000..8df08b946d0c --- /dev/null +++ b/srcpkgs/dooble/patches/translations.patch @@ -0,0 +1,10 @@ +--- a/Source/dooble_application.cc ++++ b/Source/dooble_application.cc +@@ -70,7 +70,7 @@ void dooble_application::install_translator(void) + + if(dooble_settings::setting("language_index").toInt() == 1) // System + { +- QString path(""); ++ QString path("/usr/share/dooble/translations"); + auto name(QLocale::system().name()); + auto variable(qgetenv("DOOBLE_TRANSLATIONS_PATH").trimmed()); diff --git a/srcpkgs/dooble/template b/srcpkgs/dooble/template new file mode 100644 index 000000000000..8d451996a492 --- /dev/null +++ b/srcpkgs/dooble/template @@ -0,0 +1,24 @@ +# Template file for 'dooble' +pkgname=dooble +version=2022.12.25 +revision=1 +build_style=qmake +configure_args="dooble.pro" +hostmakedepends="qt5-qmake qt5-host-tools qt5-webengine" +makedepends="qt5-charts-devel qt5-webengine-devel qt5-webchannel-devel qt5-location-devel" +depends="qt5-plugin-sqlite" +short_desc="Dooble, the scientific browser. Minimal, cute, and unusually stable" +maintainer="Eloi Torrents <elotor@disroot.org>" +license="BSD-3-Clause" +homepage="https://textbrowser.github.io/dooble/" +distfiles="https://github.com/textbrowser/dooble/archive/refs/tags/${version}.tar.gz" +checksum=b219f69f86d3e05343f43966d99af5f4d92705387ba9f64ac836b0be7db083b2 + +do_install() { + vbin Dooble dooble + vinstall dooble.desktop 644 usr/share/applications + vinstall Icons/Logo/dooble.png 644 usr/share/pixmaps + vlicense LICENSE + vmkdir usr/share/dooble/translations + vcopy "Translations/dooble_*.qm" usr/share/dooble/translations +}
[-- Attachment #1: Type: text/plain, Size: 682 bytes --] There is an updated 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/39405 New package: dooble-2022.12.25 #### Testing the changes - I tested the changes in this PR: **briefly** #### New package - This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES** #### Local build testing - I built this PR locally for my native architecture, x86_64 closes #39353 A patch file from https://github.com/void-linux/void-packages/pull/39405.patch is attached [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: github-pr-dooble-39405.patch --] [-- Type: text/x-diff, Size: 2254 bytes --] From 354db8f04810c2a8fa7e8be66a744406e700d307 Mon Sep 17 00:00:00 2001 From: Eloi Torrents <elotor@disroot.org> Date: Mon, 19 Sep 2022 10:49:24 +0200 Subject: [PATCH] New package: dooble-2022.11.15 --- srcpkgs/dooble/patches/translations.patch | 10 ++++++++++ srcpkgs/dooble/template | 24 +++++++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 srcpkgs/dooble/patches/translations.patch create mode 100644 srcpkgs/dooble/template diff --git a/srcpkgs/dooble/patches/translations.patch b/srcpkgs/dooble/patches/translations.patch new file mode 100644 index 000000000000..8df08b946d0c --- /dev/null +++ b/srcpkgs/dooble/patches/translations.patch @@ -0,0 +1,10 @@ +--- a/Source/dooble_application.cc ++++ b/Source/dooble_application.cc +@@ -70,7 +70,7 @@ void dooble_application::install_translator(void) + + if(dooble_settings::setting("language_index").toInt() == 1) // System + { +- QString path(""); ++ QString path("/usr/share/dooble/translations"); + auto name(QLocale::system().name()); + auto variable(qgetenv("DOOBLE_TRANSLATIONS_PATH").trimmed()); diff --git a/srcpkgs/dooble/template b/srcpkgs/dooble/template new file mode 100644 index 000000000000..71a41812278e --- /dev/null +++ b/srcpkgs/dooble/template @@ -0,0 +1,24 @@ +# Template file for 'dooble' +pkgname=dooble +version=2023.01.25 +revision=1 +build_style=qmake +configure_args="dooble.pro" +hostmakedepends="qt5-qmake qt5-host-tools qt5-webengine" +makedepends="qt5-charts-devel qt5-webengine-devel qt5-webchannel-devel qt5-location-devel" +depends="qt5-plugin-sqlite" +short_desc="Dooble, the scientific browser. Minimal, cute, and unusually stable" +maintainer="Eloi Torrents <elotor@disroot.org>" +license="BSD-3-Clause" +homepage="https://textbrowser.github.io/dooble/" +distfiles="https://github.com/textbrowser/dooble/archive/refs/tags/${version}.tar.gz" +checksum=72b891631032f055d05007d097244c912b58ab9a2a5734244c901948dbed2f81 + +do_install() { + vbin Dooble dooble + vinstall dooble.desktop 644 usr/share/applications + vinstall Icons/Logo/dooble.png 644 usr/share/pixmaps + vlicense LICENSE + vmkdir usr/share/dooble/translations + vcopy "Translations/dooble_*.qm" usr/share/dooble/translations +}
[-- Attachment #1: Type: text/plain, Size: 682 bytes --] There is an updated 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/39405 New package: dooble-2023.01.25 #### Testing the changes - I tested the changes in this PR: **briefly** #### New package - This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES** #### Local build testing - I built this PR locally for my native architecture, x86_64 closes #39353 A patch file from https://github.com/void-linux/void-packages/pull/39405.patch is attached [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: github-pr-dooble-39405.patch --] [-- Type: text/x-diff, Size: 2254 bytes --] From 1d70dcba240f565474089a806a80feff94c3a2c2 Mon Sep 17 00:00:00 2001 From: Eloi Torrents <elotor@disroot.org> Date: Mon, 19 Sep 2022 10:49:24 +0200 Subject: [PATCH] New package: dooble-2023.01.25 --- srcpkgs/dooble/patches/translations.patch | 10 ++++++++++ srcpkgs/dooble/template | 24 +++++++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 srcpkgs/dooble/patches/translations.patch create mode 100644 srcpkgs/dooble/template diff --git a/srcpkgs/dooble/patches/translations.patch b/srcpkgs/dooble/patches/translations.patch new file mode 100644 index 000000000000..8df08b946d0c --- /dev/null +++ b/srcpkgs/dooble/patches/translations.patch @@ -0,0 +1,10 @@ +--- a/Source/dooble_application.cc ++++ b/Source/dooble_application.cc +@@ -70,7 +70,7 @@ void dooble_application::install_translator(void) + + if(dooble_settings::setting("language_index").toInt() == 1) // System + { +- QString path(""); ++ QString path("/usr/share/dooble/translations"); + auto name(QLocale::system().name()); + auto variable(qgetenv("DOOBLE_TRANSLATIONS_PATH").trimmed()); diff --git a/srcpkgs/dooble/template b/srcpkgs/dooble/template new file mode 100644 index 000000000000..71a41812278e --- /dev/null +++ b/srcpkgs/dooble/template @@ -0,0 +1,24 @@ +# Template file for 'dooble' +pkgname=dooble +version=2023.01.25 +revision=1 +build_style=qmake +configure_args="dooble.pro" +hostmakedepends="qt5-qmake qt5-host-tools qt5-webengine" +makedepends="qt5-charts-devel qt5-webengine-devel qt5-webchannel-devel qt5-location-devel" +depends="qt5-plugin-sqlite" +short_desc="Dooble, the scientific browser. Minimal, cute, and unusually stable" +maintainer="Eloi Torrents <elotor@disroot.org>" +license="BSD-3-Clause" +homepage="https://textbrowser.github.io/dooble/" +distfiles="https://github.com/textbrowser/dooble/archive/refs/tags/${version}.tar.gz" +checksum=72b891631032f055d05007d097244c912b58ab9a2a5734244c901948dbed2f81 + +do_install() { + vbin Dooble dooble + vinstall dooble.desktop 644 usr/share/applications + vinstall Icons/Logo/dooble.png 644 usr/share/pixmaps + vlicense LICENSE + vmkdir usr/share/dooble/translations + vcopy "Translations/dooble_*.qm" usr/share/dooble/translations +}
[-- Attachment #1: Type: text/plain, Size: 682 bytes --] There is an updated 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/39405 New package: dooble-2023.01.25 #### Testing the changes - I tested the changes in this PR: **briefly** #### New package - This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES** #### Local build testing - I built this PR locally for my native architecture, x86_64 closes #39353 A patch file from https://github.com/void-linux/void-packages/pull/39405.patch is attached [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: github-pr-dooble-39405.patch --] [-- Type: text/x-diff, Size: 2254 bytes --] From d94ffc3ac8d1317a9d1280d2437caddb61beda0e Mon Sep 17 00:00:00 2001 From: Eloi Torrents <elotor@disroot.org> Date: Mon, 19 Sep 2022 10:49:24 +0200 Subject: [PATCH] New package: dooble-2023.01.30 --- srcpkgs/dooble/patches/translations.patch | 10 ++++++++++ srcpkgs/dooble/template | 24 +++++++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 srcpkgs/dooble/patches/translations.patch create mode 100644 srcpkgs/dooble/template diff --git a/srcpkgs/dooble/patches/translations.patch b/srcpkgs/dooble/patches/translations.patch new file mode 100644 index 000000000000..8df08b946d0c --- /dev/null +++ b/srcpkgs/dooble/patches/translations.patch @@ -0,0 +1,10 @@ +--- a/Source/dooble_application.cc ++++ b/Source/dooble_application.cc +@@ -70,7 +70,7 @@ void dooble_application::install_translator(void) + + if(dooble_settings::setting("language_index").toInt() == 1) // System + { +- QString path(""); ++ QString path("/usr/share/dooble/translations"); + auto name(QLocale::system().name()); + auto variable(qgetenv("DOOBLE_TRANSLATIONS_PATH").trimmed()); diff --git a/srcpkgs/dooble/template b/srcpkgs/dooble/template new file mode 100644 index 000000000000..5158b1b748a0 --- /dev/null +++ b/srcpkgs/dooble/template @@ -0,0 +1,24 @@ +# Template file for 'dooble' +pkgname=dooble +version=2023.01.30 +revision=1 +build_style=qmake +configure_args="dooble.pro" +hostmakedepends="qt5-qmake qt5-host-tools qt5-webengine" +makedepends="qt5-charts-devel qt5-webengine-devel qt5-webchannel-devel qt5-location-devel" +depends="qt5-plugin-sqlite" +short_desc="Dooble, the scientific browser. Minimal, cute, and unusually stable" +maintainer="Eloi Torrents <elotor@disroot.org>" +license="BSD-3-Clause" +homepage="https://textbrowser.github.io/dooble/" +distfiles="https://github.com/textbrowser/dooble/archive/refs/tags/${version}.tar.gz" +checksum=2d4eb72a5b17d550af133a7ea5ad587fd762b4244d4c472710a26fa894827a3d + +do_install() { + vbin Dooble dooble + vinstall dooble.desktop 644 usr/share/applications + vinstall Icons/Logo/dooble.png 644 usr/share/pixmaps + vlicense LICENSE + vmkdir usr/share/dooble/translations + vcopy "Translations/dooble_*.qm" usr/share/dooble/translations +}
[-- Attachment #1: Type: text/plain, Size: 682 bytes --] There is an updated 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/39405 New package: dooble-2023.01.30 #### Testing the changes - I tested the changes in this PR: **briefly** #### New package - This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES** #### Local build testing - I built this PR locally for my native architecture, x86_64 closes #39353 A patch file from https://github.com/void-linux/void-packages/pull/39405.patch is attached [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: github-pr-dooble-39405.patch --] [-- Type: text/x-diff, Size: 3614 bytes --] From d94ffc3ac8d1317a9d1280d2437caddb61beda0e Mon Sep 17 00:00:00 2001 From: Eloi Torrents <elotor@disroot.org> Date: Mon, 19 Sep 2022 10:49:24 +0200 Subject: [PATCH 1/2] New package: dooble-2023.01.30 --- srcpkgs/dooble/patches/translations.patch | 10 ++++++++++ srcpkgs/dooble/template | 24 +++++++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 srcpkgs/dooble/patches/translations.patch create mode 100644 srcpkgs/dooble/template diff --git a/srcpkgs/dooble/patches/translations.patch b/srcpkgs/dooble/patches/translations.patch new file mode 100644 index 000000000000..8df08b946d0c --- /dev/null +++ b/srcpkgs/dooble/patches/translations.patch @@ -0,0 +1,10 @@ +--- a/Source/dooble_application.cc ++++ b/Source/dooble_application.cc +@@ -70,7 +70,7 @@ void dooble_application::install_translator(void) + + if(dooble_settings::setting("language_index").toInt() == 1) // System + { +- QString path(""); ++ QString path("/usr/share/dooble/translations"); + auto name(QLocale::system().name()); + auto variable(qgetenv("DOOBLE_TRANSLATIONS_PATH").trimmed()); diff --git a/srcpkgs/dooble/template b/srcpkgs/dooble/template new file mode 100644 index 000000000000..5158b1b748a0 --- /dev/null +++ b/srcpkgs/dooble/template @@ -0,0 +1,24 @@ +# Template file for 'dooble' +pkgname=dooble +version=2023.01.30 +revision=1 +build_style=qmake +configure_args="dooble.pro" +hostmakedepends="qt5-qmake qt5-host-tools qt5-webengine" +makedepends="qt5-charts-devel qt5-webengine-devel qt5-webchannel-devel qt5-location-devel" +depends="qt5-plugin-sqlite" +short_desc="Dooble, the scientific browser. Minimal, cute, and unusually stable" +maintainer="Eloi Torrents <elotor@disroot.org>" +license="BSD-3-Clause" +homepage="https://textbrowser.github.io/dooble/" +distfiles="https://github.com/textbrowser/dooble/archive/refs/tags/${version}.tar.gz" +checksum=2d4eb72a5b17d550af133a7ea5ad587fd762b4244d4c472710a26fa894827a3d + +do_install() { + vbin Dooble dooble + vinstall dooble.desktop 644 usr/share/applications + vinstall Icons/Logo/dooble.png 644 usr/share/pixmaps + vlicense LICENSE + vmkdir usr/share/dooble/translations + vcopy "Translations/dooble_*.qm" usr/share/dooble/translations +} From df9a6fdd50fc6ee678c43408f450a03d6cd20759 Mon Sep 17 00:00:00 2001 From: Eloi Torrents <eloitor@disroot.org> Date: Mon, 20 Feb 2023 15:43:30 +0100 Subject: [PATCH 2/2] dooble: update to 2023.02.20. --- srcpkgs/dooble/template | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/srcpkgs/dooble/template b/srcpkgs/dooble/template index 5158b1b748a0..25d81ab9f9bd 100644 --- a/srcpkgs/dooble/template +++ b/srcpkgs/dooble/template @@ -1,6 +1,6 @@ # Template file for 'dooble' pkgname=dooble -version=2023.01.30 +version=2023.02.20 revision=1 build_style=qmake configure_args="dooble.pro" @@ -12,13 +12,14 @@ maintainer="Eloi Torrents <elotor@disroot.org>" license="BSD-3-Clause" homepage="https://textbrowser.github.io/dooble/" distfiles="https://github.com/textbrowser/dooble/archive/refs/tags/${version}.tar.gz" -checksum=2d4eb72a5b17d550af133a7ea5ad587fd762b4244d4c472710a26fa894827a3d +checksum=fa2a8f2687c44547f32b1d8f6879ede8792e23197e8ac01d99e619529ce57717 do_install() { vbin Dooble dooble vinstall dooble.desktop 644 usr/share/applications vinstall Icons/Logo/dooble.png 644 usr/share/pixmaps - vlicense LICENSE vmkdir usr/share/dooble/translations vcopy "Translations/dooble_*.qm" usr/share/dooble/translations + vcopy "Translations/dooble_*.ts" usr/share/dooble/translations + vlicense LICENSE }
[-- Attachment #1: Type: text/plain, Size: 682 bytes --] There is an updated 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/39405 New package: dooble-2023.01.30 #### Testing the changes - I tested the changes in this PR: **briefly** #### New package - This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES** #### Local build testing - I built this PR locally for my native architecture, x86_64 closes #39353 A patch file from https://github.com/void-linux/void-packages/pull/39405.patch is attached [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: github-pr-dooble-39405.patch --] [-- Type: text/x-diff, Size: 2319 bytes --] From 37b137335a17f12d1c6bb59ac477b8268fa5b57f Mon Sep 17 00:00:00 2001 From: Eloi Torrents <elotor@disroot.org> Date: Mon, 19 Sep 2022 10:49:24 +0200 Subject: [PATCH] New package: dooble-2023.02.20. --- srcpkgs/dooble/patches/translations.patch | 10 +++++++++ srcpkgs/dooble/template | 25 +++++++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 srcpkgs/dooble/patches/translations.patch create mode 100644 srcpkgs/dooble/template diff --git a/srcpkgs/dooble/patches/translations.patch b/srcpkgs/dooble/patches/translations.patch new file mode 100644 index 000000000000..8df08b946d0c --- /dev/null +++ b/srcpkgs/dooble/patches/translations.patch @@ -0,0 +1,10 @@ +--- a/Source/dooble_application.cc ++++ b/Source/dooble_application.cc +@@ -70,7 +70,7 @@ void dooble_application::install_translator(void) + + if(dooble_settings::setting("language_index").toInt() == 1) // System + { +- QString path(""); ++ QString path("/usr/share/dooble/translations"); + auto name(QLocale::system().name()); + auto variable(qgetenv("DOOBLE_TRANSLATIONS_PATH").trimmed()); diff --git a/srcpkgs/dooble/template b/srcpkgs/dooble/template new file mode 100644 index 000000000000..25d81ab9f9bd --- /dev/null +++ b/srcpkgs/dooble/template @@ -0,0 +1,25 @@ +# Template file for 'dooble' +pkgname=dooble +version=2023.02.20 +revision=1 +build_style=qmake +configure_args="dooble.pro" +hostmakedepends="qt5-qmake qt5-host-tools qt5-webengine" +makedepends="qt5-charts-devel qt5-webengine-devel qt5-webchannel-devel qt5-location-devel" +depends="qt5-plugin-sqlite" +short_desc="Dooble, the scientific browser. Minimal, cute, and unusually stable" +maintainer="Eloi Torrents <elotor@disroot.org>" +license="BSD-3-Clause" +homepage="https://textbrowser.github.io/dooble/" +distfiles="https://github.com/textbrowser/dooble/archive/refs/tags/${version}.tar.gz" +checksum=fa2a8f2687c44547f32b1d8f6879ede8792e23197e8ac01d99e619529ce57717 + +do_install() { + vbin Dooble dooble + vinstall dooble.desktop 644 usr/share/applications + vinstall Icons/Logo/dooble.png 644 usr/share/pixmaps + vmkdir usr/share/dooble/translations + vcopy "Translations/dooble_*.qm" usr/share/dooble/translations + vcopy "Translations/dooble_*.ts" usr/share/dooble/translations + vlicense LICENSE +}
[-- Attachment #1: Type: text/plain, Size: 682 bytes --] There is an updated 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/39405 New package: dooble-2023.01.30 #### Testing the changes - I tested the changes in this PR: **briefly** #### New package - This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES** #### Local build testing - I built this PR locally for my native architecture, x86_64 closes #39353 A patch file from https://github.com/void-linux/void-packages/pull/39405.patch is attached [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: github-pr-dooble-39405.patch --] [-- Type: text/x-diff, Size: 2384 bytes --] From 67e2117df2a85a6bbd29a38eebedd8c2469aa312 Mon Sep 17 00:00:00 2001 From: Eloi Torrents <elotor@disroot.org> Date: Mon, 19 Sep 2022 10:49:24 +0200 Subject: [PATCH] New package: dooble-2023.02.20. --- srcpkgs/dooble/patches/translations.patch | 10 +++++++++ srcpkgs/dooble/template | 26 +++++++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 srcpkgs/dooble/patches/translations.patch create mode 100644 srcpkgs/dooble/template diff --git a/srcpkgs/dooble/patches/translations.patch b/srcpkgs/dooble/patches/translations.patch new file mode 100644 index 000000000000..8df08b946d0c --- /dev/null +++ b/srcpkgs/dooble/patches/translations.patch @@ -0,0 +1,10 @@ +--- a/Source/dooble_application.cc ++++ b/Source/dooble_application.cc +@@ -70,7 +70,7 @@ void dooble_application::install_translator(void) + + if(dooble_settings::setting("language_index").toInt() == 1) // System + { +- QString path(""); ++ QString path("/usr/share/dooble/translations"); + auto name(QLocale::system().name()); + auto variable(qgetenv("DOOBLE_TRANSLATIONS_PATH").trimmed()); diff --git a/srcpkgs/dooble/template b/srcpkgs/dooble/template new file mode 100644 index 000000000000..575f53bdd2e3 --- /dev/null +++ b/srcpkgs/dooble/template @@ -0,0 +1,26 @@ +# Template file for 'dooble' +pkgname=dooble +version=2023.02.20 +revision=1 +build_style=qmake +configure_args="dooble.pro" +hostmakedepends="qt5-qmake qt5-host-tools qt5-webengine" +makedepends="qt5-charts-devel qt5-webengine-devel qt5-webchannel-devel qt5-location-devel" +depends="qt5-plugin-sqlite" +short_desc="Dooble, the scientific browser. Minimal, cute, and unusually stable" +maintainer="Eloi Torrents <elotor@disroot.org>" +license="BSD-3-Clause" +homepage="https://textbrowser.github.io/dooble/" +distfiles="https://github.com/textbrowser/dooble/archive/refs/tags/${version}.tar.gz" +checksum=fa2a8f2687c44547f32b1d8f6879ede8792e23197e8ac01d99e619529ce57717 + +do_install() { + vbin Dooble dooble + vinstall dooble.desktop 644 usr/share/applications + vinstall Icons/Logo/dooble.png 644 usr/share/pixmaps + vmkdir usr/share/dooble/Translations + vcopy "Translations/dooble_*.ts" usr/share/dooble/Translations + vcopy "Translations/dooble_*.qm" usr/share/dooble/Translations + vcopy "Translations/qtbase_*.qm" usr/share/dooble/Translations + vlicense LICENSE +}
[-- Attachment #1: Type: text/plain, Size: 682 bytes --] There is an updated 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/39405 New package: dooble-2023.01.30 #### Testing the changes - I tested the changes in this PR: **briefly** #### New package - This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES** #### Local build testing - I built this PR locally for my native architecture, x86_64 closes #39353 A patch file from https://github.com/void-linux/void-packages/pull/39405.patch is attached [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: github-pr-dooble-39405.patch --] [-- Type: text/x-diff, Size: 2384 bytes --] From 8f232371bcc3b772e98271c18460fbdf780842e6 Mon Sep 17 00:00:00 2001 From: Eloi Torrents <elotor@disroot.org> Date: Mon, 19 Sep 2022 10:49:24 +0200 Subject: [PATCH] New package: dooble-2023.02.20. --- srcpkgs/dooble/patches/translations.patch | 10 +++++++++ srcpkgs/dooble/template | 26 +++++++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 srcpkgs/dooble/patches/translations.patch create mode 100644 srcpkgs/dooble/template diff --git a/srcpkgs/dooble/patches/translations.patch b/srcpkgs/dooble/patches/translations.patch new file mode 100644 index 000000000000..8df08b946d0c --- /dev/null +++ b/srcpkgs/dooble/patches/translations.patch @@ -0,0 +1,10 @@ +--- a/Source/dooble_application.cc ++++ b/Source/dooble_application.cc +@@ -70,7 +70,7 @@ void dooble_application::install_translator(void) + + if(dooble_settings::setting("language_index").toInt() == 1) // System + { +- QString path(""); ++ QString path("/usr/share/dooble/translations"); + auto name(QLocale::system().name()); + auto variable(qgetenv("DOOBLE_TRANSLATIONS_PATH").trimmed()); diff --git a/srcpkgs/dooble/template b/srcpkgs/dooble/template new file mode 100644 index 000000000000..575f53bdd2e3 --- /dev/null +++ b/srcpkgs/dooble/template @@ -0,0 +1,26 @@ +# Template file for 'dooble' +pkgname=dooble +version=2023.02.20 +revision=1 +build_style=qmake +configure_args="dooble.pro" +hostmakedepends="qt5-qmake qt5-host-tools qt5-webengine" +makedepends="qt5-charts-devel qt5-webengine-devel qt5-webchannel-devel qt5-location-devel" +depends="qt5-plugin-sqlite" +short_desc="Dooble, the scientific browser. Minimal, cute, and unusually stable" +maintainer="Eloi Torrents <elotor@disroot.org>" +license="BSD-3-Clause" +homepage="https://textbrowser.github.io/dooble/" +distfiles="https://github.com/textbrowser/dooble/archive/refs/tags/${version}.tar.gz" +checksum=fa2a8f2687c44547f32b1d8f6879ede8792e23197e8ac01d99e619529ce57717 + +do_install() { + vbin Dooble dooble + vinstall dooble.desktop 644 usr/share/applications + vinstall Icons/Logo/dooble.png 644 usr/share/pixmaps + vmkdir usr/share/dooble/Translations + vcopy "Translations/dooble_*.ts" usr/share/dooble/Translations + vcopy "Translations/dooble_*.qm" usr/share/dooble/Translations + vcopy "Translations/qtbase_*.qm" usr/share/dooble/Translations + vlicense LICENSE +}
[-- Attachment #1: Type: text/plain, Size: 682 bytes --] There is an updated 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/39405 New package: dooble-2023.01.30 #### Testing the changes - I tested the changes in this PR: **briefly** #### New package - This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES** #### Local build testing - I built this PR locally for my native architecture, x86_64 closes #39353 A patch file from https://github.com/void-linux/void-packages/pull/39405.patch is attached [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: github-pr-dooble-39405.patch --] [-- Type: text/x-diff, Size: 2384 bytes --] From 2dd6f0106b56de00933a7bf31d7d49de4f04fee9 Mon Sep 17 00:00:00 2001 From: Eloi Torrents <elotor@disroot.org> Date: Mon, 19 Sep 2022 10:49:24 +0200 Subject: [PATCH] New package: dooble-2023.02.20. --- srcpkgs/dooble/patches/translations.patch | 10 +++++++++ srcpkgs/dooble/template | 26 +++++++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 srcpkgs/dooble/patches/translations.patch create mode 100644 srcpkgs/dooble/template diff --git a/srcpkgs/dooble/patches/translations.patch b/srcpkgs/dooble/patches/translations.patch new file mode 100644 index 000000000000..0db0bfc7ff62 --- /dev/null +++ b/srcpkgs/dooble/patches/translations.patch @@ -0,0 +1,10 @@ +--- a/Source/dooble_application.cc ++++ b/Source/dooble_application.cc +@@ -70,7 +70,7 @@ void dooble_application::install_translator(void) + + if(dooble_settings::setting("language_index").toInt() == 1) // System + { +- QString path(""); ++ QString path("/usr/share/dooble/Translations"); + auto name(QLocale::system().name()); + auto variable(qgetenv("DOOBLE_TRANSLATIONS_PATH").trimmed()); diff --git a/srcpkgs/dooble/template b/srcpkgs/dooble/template new file mode 100644 index 000000000000..575f53bdd2e3 --- /dev/null +++ b/srcpkgs/dooble/template @@ -0,0 +1,26 @@ +# Template file for 'dooble' +pkgname=dooble +version=2023.02.20 +revision=1 +build_style=qmake +configure_args="dooble.pro" +hostmakedepends="qt5-qmake qt5-host-tools qt5-webengine" +makedepends="qt5-charts-devel qt5-webengine-devel qt5-webchannel-devel qt5-location-devel" +depends="qt5-plugin-sqlite" +short_desc="Dooble, the scientific browser. Minimal, cute, and unusually stable" +maintainer="Eloi Torrents <elotor@disroot.org>" +license="BSD-3-Clause" +homepage="https://textbrowser.github.io/dooble/" +distfiles="https://github.com/textbrowser/dooble/archive/refs/tags/${version}.tar.gz" +checksum=fa2a8f2687c44547f32b1d8f6879ede8792e23197e8ac01d99e619529ce57717 + +do_install() { + vbin Dooble dooble + vinstall dooble.desktop 644 usr/share/applications + vinstall Icons/Logo/dooble.png 644 usr/share/pixmaps + vmkdir usr/share/dooble/Translations + vcopy "Translations/dooble_*.ts" usr/share/dooble/Translations + vcopy "Translations/dooble_*.qm" usr/share/dooble/Translations + vcopy "Translations/qtbase_*.qm" usr/share/dooble/Translations + vlicense LICENSE +}
[-- Attachment #1: Type: text/plain, Size: 682 bytes --] There is an updated 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/39405 New package: dooble-2023.01.30 #### Testing the changes - I tested the changes in this PR: **briefly** #### New package - This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES** #### Local build testing - I built this PR locally for my native architecture, x86_64 closes #39353 A patch file from https://github.com/void-linux/void-packages/pull/39405.patch is attached [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: github-pr-dooble-39405.patch --] [-- Type: text/x-diff, Size: 3866 bytes --] From aa762d1c007f437bdc4d0f0463f1cf546b60c7aa Mon Sep 17 00:00:00 2001 From: Eloi Torrents <elotor@disroot.org> Date: Mon, 19 Sep 2022 10:49:24 +0200 Subject: [PATCH] New package: dooble-2023.02.20. --- .../translations-dooble_application.patch | 20 ++++++++++++++ .../translations-dooble_settings.patch | 21 +++++++++++++++ srcpkgs/dooble/template | 26 +++++++++++++++++++ 3 files changed, 67 insertions(+) create mode 100644 srcpkgs/dooble/patches/translations-dooble_application.patch create mode 100644 srcpkgs/dooble/patches/translations-dooble_settings.patch create mode 100644 srcpkgs/dooble/template diff --git a/srcpkgs/dooble/patches/translations-dooble_application.patch b/srcpkgs/dooble/patches/translations-dooble_application.patch new file mode 100644 index 000000000000..2072e9150e67 --- /dev/null +++ b/srcpkgs/dooble/patches/translations-dooble_application.patch @@ -0,0 +1,20 @@ +--- a/Source/dooble_application.cc ++++ b/Source/dooble_application.cc +@@ -76,16 +76,13 @@ void dooble_application::install_translator(void) + + if(dooble_settings::setting("language_index").toInt() == 1) // System + { +- QString path(""); ++ QString path("/usr/share/translations/"); + auto name(QLocale::system().name()); + auto variable(qgetenv("DOOBLE_TRANSLATIONS_PATH").trimmed()); + + if(!variable.isEmpty()) + path = QString::fromLocal8Bit(variable.constData()); + +- if(path.isEmpty()) +- path = QDir::currentPath() + QDir::separator() + "Translations"; +- + m_translator = new QTranslator(this); + + if(m_translator->load("dooble_" + name, path)) \ No newline at end of file diff --git a/srcpkgs/dooble/patches/translations-dooble_settings.patch b/srcpkgs/dooble/patches/translations-dooble_settings.patch new file mode 100644 index 000000000000..726a248105f5 --- /dev/null +++ b/srcpkgs/dooble/patches/translations-dooble_settings.patch @@ -0,0 +1,21 @@ +--- a/Source/dooble_settings.cc ++++ b/Source/dooble_settings.cc +@@ -188,17 +188,11 @@ dooble_settings::dooble_settings(void):dooble_main_window() + } + else + { +- QString path(""); ++ QString path("/usr/share/dooble/translations/"); + auto variable(qgetenv("DOOBLE_TRANSLATIONS_PATH").trimmed()); + + if(!variable.isEmpty()) + path = QString::fromLocal8Bit(variable.constData()); +- else +- { +- path = QDir::currentPath(); +- path.append(QDir::separator()); +- path.append("Translations"); +- } + + if(!path.endsWith(QDir::separator())) + path.append(QDir::separator()); \ No newline at end of file diff --git a/srcpkgs/dooble/template b/srcpkgs/dooble/template new file mode 100644 index 000000000000..61a797acd7b7 --- /dev/null +++ b/srcpkgs/dooble/template @@ -0,0 +1,26 @@ +# Template file for 'dooble' +pkgname=dooble +version=2023.02.20 +revision=1 +build_style=qmake +configure_args="dooble.pro" +hostmakedepends="qt5-qmake qt5-host-tools qt5-webengine" +makedepends="qt5-charts-devel qt5-webengine-devel qt5-webchannel-devel qt5-location-devel" +depends="qt5-plugin-sqlite" +short_desc="Dooble, the scientific browser. Minimal, cute, and unusually stable" +maintainer="Eloi Torrents <elotor@disroot.org>" +license="BSD-3-Clause" +homepage="https://textbrowser.github.io/dooble/" +distfiles="https://github.com/textbrowser/dooble/archive/refs/tags/${version}.tar.gz" +checksum=fa2a8f2687c44547f32b1d8f6879ede8792e23197e8ac01d99e619529ce57717 + +do_install() { + vbin Dooble dooble + vinstall dooble.desktop 644 usr/share/applications + vinstall Icons/Logo/dooble.png 644 usr/share/pixmaps + vmkdir usr/share/dooble/translations + vcopy "Translations/dooble_*.ts" usr/share/dooble/translations + vcopy "Translations/dooble_*.qm" usr/share/dooble/translations + vcopy "Translations/qtbase_*.qm" usr/share/dooble/translations + vlicense LICENSE +}
[-- Attachment #1: Type: text/plain, Size: 682 bytes --] There is an updated 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/39405 New package: dooble-2023.01.30 #### Testing the changes - I tested the changes in this PR: **briefly** #### New package - This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES** #### Local build testing - I built this PR locally for my native architecture, x86_64 closes #39353 A patch file from https://github.com/void-linux/void-packages/pull/39405.patch is attached [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: github-pr-dooble-39405.patch --] [-- Type: text/x-diff, Size: 3739 bytes --] From 6e5162317eb2a8e40720ab5f91980d983b5a44ae Mon Sep 17 00:00:00 2001 From: Eloi Torrents <elotor@disroot.org> Date: Mon, 19 Sep 2022 10:49:24 +0200 Subject: [PATCH] New package: dooble-2023.02.20. --- .../translations-dooble_application.patch | 20 ++++++++++++++++ .../translations-dooble_settings.patch | 21 ++++++++++++++++ srcpkgs/dooble/template | 24 +++++++++++++++++++ 3 files changed, 65 insertions(+) create mode 100644 srcpkgs/dooble/patches/translations-dooble_application.patch create mode 100644 srcpkgs/dooble/patches/translations-dooble_settings.patch create mode 100644 srcpkgs/dooble/template diff --git a/srcpkgs/dooble/patches/translations-dooble_application.patch b/srcpkgs/dooble/patches/translations-dooble_application.patch new file mode 100644 index 000000000000..2072e9150e67 --- /dev/null +++ b/srcpkgs/dooble/patches/translations-dooble_application.patch @@ -0,0 +1,20 @@ +--- a/Source/dooble_application.cc ++++ b/Source/dooble_application.cc +@@ -76,16 +76,13 @@ void dooble_application::install_translator(void) + + if(dooble_settings::setting("language_index").toInt() == 1) // System + { +- QString path(""); ++ QString path("/usr/share/translations/"); + auto name(QLocale::system().name()); + auto variable(qgetenv("DOOBLE_TRANSLATIONS_PATH").trimmed()); + + if(!variable.isEmpty()) + path = QString::fromLocal8Bit(variable.constData()); + +- if(path.isEmpty()) +- path = QDir::currentPath() + QDir::separator() + "Translations"; +- + m_translator = new QTranslator(this); + + if(m_translator->load("dooble_" + name, path)) \ No newline at end of file diff --git a/srcpkgs/dooble/patches/translations-dooble_settings.patch b/srcpkgs/dooble/patches/translations-dooble_settings.patch new file mode 100644 index 000000000000..726a248105f5 --- /dev/null +++ b/srcpkgs/dooble/patches/translations-dooble_settings.patch @@ -0,0 +1,21 @@ +--- a/Source/dooble_settings.cc ++++ b/Source/dooble_settings.cc +@@ -188,17 +188,11 @@ dooble_settings::dooble_settings(void):dooble_main_window() + } + else + { +- QString path(""); ++ QString path("/usr/share/dooble/translations/"); + auto variable(qgetenv("DOOBLE_TRANSLATIONS_PATH").trimmed()); + + if(!variable.isEmpty()) + path = QString::fromLocal8Bit(variable.constData()); +- else +- { +- path = QDir::currentPath(); +- path.append(QDir::separator()); +- path.append("Translations"); +- } + + if(!path.endsWith(QDir::separator())) + path.append(QDir::separator()); \ No newline at end of file diff --git a/srcpkgs/dooble/template b/srcpkgs/dooble/template new file mode 100644 index 000000000000..4da0c23f0902 --- /dev/null +++ b/srcpkgs/dooble/template @@ -0,0 +1,24 @@ +# Template file for 'dooble' +pkgname=dooble +version=2023.02.20 +revision=1 +build_style=qmake +configure_args="dooble.pro" +hostmakedepends="qt5-qmake qt5-host-tools qt5-webengine" +makedepends="qt5-charts-devel qt5-webengine-devel qt5-webchannel-devel qt5-location-devel" +depends="qt5-plugin-sqlite" +short_desc="Dooble, the scientific browser. Minimal, cute, and unusually stable" +maintainer="Eloi Torrents <elotor@disroot.org>" +license="BSD-3-Clause" +homepage="https://textbrowser.github.io/dooble/" +distfiles="https://github.com/textbrowser/dooble/archive/refs/tags/${version}.tar.gz" +checksum=fa2a8f2687c44547f32b1d8f6879ede8792e23197e8ac01d99e619529ce57717 + +do_install() { + vbin Dooble dooble + vinstall dooble.desktop 644 usr/share/applications + vinstall Icons/Logo/dooble.png 644 usr/share/pixmaps + vmkdir usr/share/dooble/translations + vcopy "Translations/dooble_*.qm" usr/share/dooble/translations + vlicense LICENSE +}
[-- Attachment #1: Type: text/plain, Size: 243 bytes --] New comment by Eloitor on void-packages repository https://github.com/void-linux/void-packages/pull/39405#issuecomment-1437438971 Comment: I finally succeeded at patching Dooble to have translation files in `/usr/share/dooble/translations`.
[-- Attachment #1: Type: text/plain, Size: 527 bytes --] There's a merged pull request on the void-packages repository New package: dooble-2023.01.30 https://github.com/void-linux/void-packages/pull/39405 Description: #### Testing the changes - I tested the changes in this PR: **briefly** #### New package - This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES** #### Local build testing - I built this PR locally for my native architecture, x86_64 closes #39353