Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: dooble-qt6-2023.08.30
@ 2023-09-05 16:14 zen0bit
  2023-09-05 16:53 ` [PR REVIEW] " Eloitor
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: zen0bit @ 2023-09-05 16:14 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 659 bytes --]

There is a new pull request by zen0bit against master on the void-packages repository

https://github.com/oSoWoSo/VUR dooble-qt6
https://github.com/void-linux/void-packages/pull/45924

New package: dooble-qt6-2023.08.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, x64 glibc

A patch file from https://github.com/void-linux/void-packages/pull/45924.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-dooble-qt6-45924.patch --]
[-- Type: text/x-diff, Size: 3965 bytes --]

From 758c3df38a2a53703b4c3e6011a297e99a36e5ef Mon Sep 17 00:00:00 2001
From: zenobit <zen@osowoso.xyz>
Date: Tue, 5 Sep 2023 18:08:10 +0200
Subject: [PATCH] New package: dooble-qt6-2023.08.30

---
 .../translations-dooble_application.patch     | 20 ++++++++++++++++
 .../translations-dooble_settings.patch        | 21 ++++++++++++++++
 srcpkgs/dooble-qt6/template                   | 24 +++++++++++++++++++
 3 files changed, 65 insertions(+)
 create mode 100644 srcpkgs/dooble-qt6/patches/translations-dooble_application.patch
 create mode 100644 srcpkgs/dooble-qt6/patches/translations-dooble_settings.patch
 create mode 100644 srcpkgs/dooble-qt6/template

diff --git a/srcpkgs/dooble-qt6/patches/translations-dooble_application.patch b/srcpkgs/dooble-qt6/patches/translations-dooble_application.patch
new file mode 100644
index 0000000000000..2072e9150e672
--- /dev/null
+++ b/srcpkgs/dooble-qt6/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-qt6/patches/translations-dooble_settings.patch b/srcpkgs/dooble-qt6/patches/translations-dooble_settings.patch
new file mode 100644
index 0000000000000..726a248105f53
--- /dev/null
+++ b/srcpkgs/dooble-qt6/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-qt6/template b/srcpkgs/dooble-qt6/template
new file mode 100644
index 0000000000000..b02b1566ffaee
--- /dev/null
+++ b/srcpkgs/dooble-qt6/template
@@ -0,0 +1,24 @@
+# Template file for 'dooble-qt6'
+pkgname=dooble-qt6
+version=2023.08.30
+revision=1
+build_style=qmake
+configure_args="dooble.pro"
+hostmakedepends="qt6-webengine qt6-declarative-devel"
+makedepends="qt6-charts-devel qt6-webengine-devel qt6-webchannel-devel qt6-location-devel qt6-charts-devel qt6-wayland python3-QtPy"
+depends="glibc libgcc libstdc++ qt6-charts qt6-core qt6-declarative qt6-gui qt6-network qt6-plugin-sqlite qt6-printsupport qt6-sql qt6-webengine qt6-widgets"
+short_desc="Scientific browser. Minimal, cute, and unusually stable. Qt5 version"
+maintainer="Eloi Torrents <eloitor@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=d430cbc8fcbe7627d7494bd995d7e88beb728cd94bf4d3039cb3718e685391a7
+
+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
+}

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

* Re: [PR REVIEW] New package: dooble-qt6-2023.08.30
  2023-09-05 16:14 [PR PATCH] New package: dooble-qt6-2023.08.30 zen0bit
@ 2023-09-05 16:53 ` Eloitor
  2023-09-05 16:54 ` Eloitor
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Eloitor @ 2023-09-05 16:53 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 169 bytes --]

New review comment by Eloitor on void-packages repository

https://github.com/void-linux/void-packages/pull/45924#discussion_r1316152051

Comment:
Isn't it Qt6 version?

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

* Re: New package: dooble-qt6-2023.08.30
  2023-09-05 16:14 [PR PATCH] New package: dooble-qt6-2023.08.30 zen0bit
  2023-09-05 16:53 ` [PR REVIEW] " Eloitor
@ 2023-09-05 16:54 ` Eloitor
  2023-09-05 17:48 ` classabbyamp
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Eloitor @ 2023-09-05 16:54 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 204 bytes --]

New comment by Eloitor on void-packages repository

https://github.com/void-linux/void-packages/pull/45924#issuecomment-1706975472

Comment:
Thank you! Why a new package instead of just a regular update?

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

* Re: New package: dooble-qt6-2023.08.30
  2023-09-05 16:14 [PR PATCH] New package: dooble-qt6-2023.08.30 zen0bit
  2023-09-05 16:53 ` [PR REVIEW] " Eloitor
  2023-09-05 16:54 ` Eloitor
@ 2023-09-05 17:48 ` classabbyamp
  2023-09-05 20:16 ` [PR PATCH] [Updated] " zen0bit
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: classabbyamp @ 2023-09-05 17:48 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 218 bytes --]

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/45924#issuecomment-1707047284

Comment:
the existing dooble package should just be migrated to qt6 instead, imo

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

* Re: [PR PATCH] [Updated] New package: dooble-qt6-2023.08.30
  2023-09-05 16:14 [PR PATCH] New package: dooble-qt6-2023.08.30 zen0bit
                   ` (2 preceding siblings ...)
  2023-09-05 17:48 ` classabbyamp
@ 2023-09-05 20:16 ` zen0bit
  2023-09-05 20:18 ` zen0bit
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: zen0bit @ 2023-09-05 20:16 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 664 bytes --]

There is an updated pull request by zen0bit against master on the void-packages repository

https://github.com/oSoWoSo/VUR dooble-qt6
https://github.com/void-linux/void-packages/pull/45924

New package: dooble-qt6-2023.08.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, x64 glibc

A patch file from https://github.com/void-linux/void-packages/pull/45924.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-dooble-qt6-45924.patch --]
[-- Type: text/x-diff, Size: 3984 bytes --]

From e783107fa69655dda1f487dc31353a19856cad86 Mon Sep 17 00:00:00 2001
From: zenobit <zen@osowoso.xyz>
Date: Tue, 5 Sep 2023 18:08:10 +0200
Subject: [PATCH] New package: dooble-qt6-2023.08.30

---
 .../translations-dooble_application.patch     | 20 +++++++++++++++
 .../translations-dooble_settings.patch        | 21 ++++++++++++++++
 srcpkgs/dooble-qt6/template                   | 25 +++++++++++++++++++
 3 files changed, 66 insertions(+)
 create mode 100644 srcpkgs/dooble-qt6/patches/translations-dooble_application.patch
 create mode 100644 srcpkgs/dooble-qt6/patches/translations-dooble_settings.patch
 create mode 100644 srcpkgs/dooble-qt6/template

diff --git a/srcpkgs/dooble-qt6/patches/translations-dooble_application.patch b/srcpkgs/dooble-qt6/patches/translations-dooble_application.patch
new file mode 100644
index 0000000000000..2072e9150e672
--- /dev/null
+++ b/srcpkgs/dooble-qt6/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-qt6/patches/translations-dooble_settings.patch b/srcpkgs/dooble-qt6/patches/translations-dooble_settings.patch
new file mode 100644
index 0000000000000..726a248105f53
--- /dev/null
+++ b/srcpkgs/dooble-qt6/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-qt6/template b/srcpkgs/dooble-qt6/template
new file mode 100644
index 0000000000000..6684965146287
--- /dev/null
+++ b/srcpkgs/dooble-qt6/template
@@ -0,0 +1,25 @@
+# Template file for 'dooble-qt6'
+pkgname=dooble-qt6
+version=2023.08.30
+revision=1
+build_style=qmake
+configure_args="dooble.pro"
+hostmakedepends="qt6-webengine qt6-declarative-devel"
+makedepends="qt6-charts-devel qt6-webengine-devel qt6-webchannel-devel qt6-location-devel qt6-charts-devel qt6-wayland python3-QtPy"
+depends="glibc libgcc libstdc++ qt6-charts qt6-core qt6-declarative qt6-gui qt6-network qt6-plugin-sqlite qt6-printsupport qt6-sql qt6-webengine qt6-widgets"
+conflicts="dooble"
+short_desc="Scientific browser. Minimal, cute, and unusually stable. Qt6 version"
+maintainer="Eloi Torrents <eloitor@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=d430cbc8fcbe7627d7494bd995d7e88beb728cd94bf4d3039cb3718e685391a7
+
+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
+}

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

* Re: [PR PATCH] [Updated] New package: dooble-qt6-2023.08.30
  2023-09-05 16:14 [PR PATCH] New package: dooble-qt6-2023.08.30 zen0bit
                   ` (3 preceding siblings ...)
  2023-09-05 20:16 ` [PR PATCH] [Updated] " zen0bit
@ 2023-09-05 20:18 ` zen0bit
  2023-11-26 14:26 ` Eloitor
  2023-12-02  7:53 ` [PR PATCH] [Closed]: " classabbyamp
  6 siblings, 0 replies; 8+ messages in thread
From: zen0bit @ 2023-09-05 20:18 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 664 bytes --]

There is an updated pull request by zen0bit against master on the void-packages repository

https://github.com/oSoWoSo/VUR dooble-qt6
https://github.com/void-linux/void-packages/pull/45924

New package: dooble-qt6-2023.08.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, x64 glibc

A patch file from https://github.com/void-linux/void-packages/pull/45924.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-dooble-qt6-45924.patch --]
[-- Type: text/x-diff, Size: 3984 bytes --]

From 5dbdaaccaaa60d76f0c6d06875db69598d7f4b98 Mon Sep 17 00:00:00 2001
From: zenobit <zen@osowoso.xyz>
Date: Tue, 5 Sep 2023 18:08:10 +0200
Subject: [PATCH] New package: dooble-qt6-2023.08.30

---
 .../translations-dooble_application.patch     | 20 +++++++++++++++
 .../translations-dooble_settings.patch        | 21 ++++++++++++++++
 srcpkgs/dooble-qt6/template                   | 25 +++++++++++++++++++
 3 files changed, 66 insertions(+)
 create mode 100644 srcpkgs/dooble-qt6/patches/translations-dooble_application.patch
 create mode 100644 srcpkgs/dooble-qt6/patches/translations-dooble_settings.patch
 create mode 100644 srcpkgs/dooble-qt6/template

diff --git a/srcpkgs/dooble-qt6/patches/translations-dooble_application.patch b/srcpkgs/dooble-qt6/patches/translations-dooble_application.patch
new file mode 100644
index 0000000000000..2072e9150e672
--- /dev/null
+++ b/srcpkgs/dooble-qt6/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-qt6/patches/translations-dooble_settings.patch b/srcpkgs/dooble-qt6/patches/translations-dooble_settings.patch
new file mode 100644
index 0000000000000..726a248105f53
--- /dev/null
+++ b/srcpkgs/dooble-qt6/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-qt6/template b/srcpkgs/dooble-qt6/template
new file mode 100644
index 0000000000000..d916c0597cfea
--- /dev/null
+++ b/srcpkgs/dooble-qt6/template
@@ -0,0 +1,25 @@
+# Template file for 'dooble-qt6'
+pkgname=dooble-qt6
+version=2023.08.30
+revision=1
+build_style=qmake
+configure_args="dooble.pro"
+hostmakedepends="qt6-webengine qt6-declarative-devel"
+makedepends="qt6-charts-devel qt6-webengine-devel qt6-webchannel-devel qt6-location-devel qt6-charts-devel qt6-wayland python3-QtPy"
+depends="glibc libgcc libstdc++ qt6-charts qt6-core qt6-declarative qt6-gui qt6-network qt6-plugin-sqlite qt6-printsupport qt6-sql qt6-webengine qt6-widgets"
+short_desc="Scientific browser. Minimal, cute, and unusually stable. Qt6 version"
+maintainer="Eloi Torrents <eloitor@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=d430cbc8fcbe7627d7494bd995d7e88beb728cd94bf4d3039cb3718e685391a7
+conflicts="dooble"
+
+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
+}

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

* Re: New package: dooble-qt6-2023.08.30
  2023-09-05 16:14 [PR PATCH] New package: dooble-qt6-2023.08.30 zen0bit
                   ` (4 preceding siblings ...)
  2023-09-05 20:18 ` zen0bit
@ 2023-11-26 14:26 ` Eloitor
  2023-12-02  7:53 ` [PR PATCH] [Closed]: " classabbyamp
  6 siblings, 0 replies; 8+ messages in thread
From: Eloitor @ 2023-11-26 14:26 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 169 bytes --]

New comment by Eloitor on void-packages repository

https://github.com/void-linux/void-packages/pull/45924#issuecomment-1826798440

Comment:
This can be closed: #47412 

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

* Re: [PR PATCH] [Closed]: New package: dooble-qt6-2023.08.30
  2023-09-05 16:14 [PR PATCH] New package: dooble-qt6-2023.08.30 zen0bit
                   ` (5 preceding siblings ...)
  2023-11-26 14:26 ` Eloitor
@ 2023-12-02  7:53 ` classabbyamp
  6 siblings, 0 replies; 8+ messages in thread
From: classabbyamp @ 2023-12-02  7:53 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 515 bytes --]

There's a closed pull request on the void-packages repository

New package: dooble-qt6-2023.08.30
https://github.com/void-linux/void-packages/pull/45924

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, x64 glibc

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

end of thread, other threads:[~2023-12-02  7:53 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-05 16:14 [PR PATCH] New package: dooble-qt6-2023.08.30 zen0bit
2023-09-05 16:53 ` [PR REVIEW] " Eloitor
2023-09-05 16:54 ` Eloitor
2023-09-05 17:48 ` classabbyamp
2023-09-05 20:16 ` [PR PATCH] [Updated] " zen0bit
2023-09-05 20:18 ` zen0bit
2023-11-26 14:26 ` Eloitor
2023-12-02  7:53 ` [PR PATCH] [Closed]: " classabbyamp

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