Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] deluge: add patch to fix gettext warning
@ 2020-07-06 17:30 PaperMountainStudio
  2020-07-06 17:32 ` [PR PATCH] [Updated] " PaperMountainStudio
  2020-07-08  0:11 ` [PR PATCH] [Closed]: " sgn
  0 siblings, 2 replies; 3+ messages in thread
From: PaperMountainStudio @ 2020-07-06 17:30 UTC (permalink / raw)
  To: ml

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

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

https://github.com/PaperMountainStudio/void-packages 0001-deluge-add-patch-to-fix-gettext-warning.patch
https://github.com/void-linux/void-packages/pull/23423

deluge: add patch to fix gettext warning
patch is taken from upstream

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-0001-deluge-add-patch-to-fix-gettext-warning.patch-23423.patch --]
[-- Type: text/x-diff, Size: 2320 bytes --]

From d40bd1e50c0f835ac2314ce5d6e5efe9c40ed19f Mon Sep 17 00:00:00 2001
From: Paper <paper@tilde.institute>
Date: Mon, 6 Jul 2020 19:20:06 +0200
Subject: [PATCH] deluge: add patch to fix gettext warning

---
 .../0001-Fix-warning-related-to-gettext.patch | 25 +++++++++++++++++++
 srcpkgs/deluge/template                       |  3 ++-
 2 files changed, 27 insertions(+), 1 deletion(-)
 create mode 100644 srcpkgs/deluge/patches/0001-Fix-warning-related-to-gettext.patch

diff --git a/srcpkgs/deluge/patches/0001-Fix-warning-related-to-gettext.patch b/srcpkgs/deluge/patches/0001-Fix-warning-related-to-gettext.patch
new file mode 100644
index 00000000000..565cd4f952d
--- /dev/null
+++ b/srcpkgs/deluge/patches/0001-Fix-warning-related-to-gettext.patch
@@ -0,0 +1,25 @@
+From d6c96d629183e8bab2167ef56457f994017e7c85 Mon Sep 17 00:00:00 2001
+From: neeshy <neeshy@tfwno.gf>
+Date: Sat, 18 Apr 2020 23:23:51 -0400
+Subject: Fix warning related to gettext
+
+---
+ deluge/i18n/util.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/deluge/i18n/util.py b/deluge/i18n/util.py
+index bd002f7a2..90568fc5b 100644
+--- a/deluge/i18n/util.py
++++ b/deluge/i18n/util.py
+@@ -114,7 +114,7 @@ def setup_translation():
+         # Workaround for Python 2 unicode gettext (keyword removed in Py3).
+         kwargs = {} if not deluge.common.PY2 else {'unicode': True}
+ 
+-        gettext.install(I18N_DOMAIN, translations_path, names='ngettext', **kwargs)
++        gettext.install(I18N_DOMAIN, translations_path, names=['ngettext'], **kwargs)
+         builtins.__dict__['_n'] = builtins.__dict__['ngettext']
+ 
+         libintl = None
+-- 
+2.27.0
+
diff --git a/srcpkgs/deluge/template b/srcpkgs/deluge/template
index 107eee20d5f..94fb9bdd756 100644
--- a/srcpkgs/deluge/template
+++ b/srcpkgs/deluge/template
@@ -1,7 +1,7 @@
 # Template file for 'deluge'
 pkgname=deluge
 version=2.0.3
-revision=5
+revision=6
 archs=noarch
 build_style=python3-module
 pycompile_module="deluge"
@@ -15,6 +15,7 @@ license="GPL-3.0-or-later"
 homepage="https://deluge-torrent.org/"
 distfiles="https://ftp.osuosl.org/pub/deluge/source/2.0/deluge-${version}.tar.xz"
 checksum=7e7ae8e6ca2a2bf0d487227cecf81e27332f0b92b567cc2bda38e47d859da891
+patch_args="-Np1"
 
 system_accounts="deluge"
 deluge_homedir="/var/lib/deluge"

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

* Re: [PR PATCH] [Updated] deluge: add patch to fix gettext warning
  2020-07-06 17:30 [PR PATCH] deluge: add patch to fix gettext warning PaperMountainStudio
@ 2020-07-06 17:32 ` PaperMountainStudio
  2020-07-08  0:11 ` [PR PATCH] [Closed]: " sgn
  1 sibling, 0 replies; 3+ messages in thread
From: PaperMountainStudio @ 2020-07-06 17:32 UTC (permalink / raw)
  To: ml

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

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

https://github.com/PaperMountainStudio/void-packages 0001-deluge-add-patch-to-fix-gettext-warning.patch
https://github.com/void-linux/void-packages/pull/23423

deluge: add patch to fix gettext warning
patch is taken from upstream

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-0001-deluge-add-patch-to-fix-gettext-warning.patch-23423.patch --]
[-- Type: text/x-diff, Size: 3016 bytes --]

From dd28b0f1668277cf67be709f578a7af9630b60b4 Mon Sep 17 00:00:00 2001
From: Paper <paper@tilde.institute>
Date: Mon, 6 Jul 2020 19:20:06 +0200
Subject: [PATCH] deluge: add patch to fix gettext warning

---
 .../0001-Fix-warning-related-to-gettext.patch | 25 +++++++++++++++++++
 srcpkgs/deluge/template                       |  6 ++---
 2 files changed, 27 insertions(+), 4 deletions(-)
 create mode 100644 srcpkgs/deluge/patches/0001-Fix-warning-related-to-gettext.patch

diff --git a/srcpkgs/deluge/patches/0001-Fix-warning-related-to-gettext.patch b/srcpkgs/deluge/patches/0001-Fix-warning-related-to-gettext.patch
new file mode 100644
index 00000000000..565cd4f952d
--- /dev/null
+++ b/srcpkgs/deluge/patches/0001-Fix-warning-related-to-gettext.patch
@@ -0,0 +1,25 @@
+From d6c96d629183e8bab2167ef56457f994017e7c85 Mon Sep 17 00:00:00 2001
+From: neeshy <neeshy@tfwno.gf>
+Date: Sat, 18 Apr 2020 23:23:51 -0400
+Subject: Fix warning related to gettext
+
+---
+ deluge/i18n/util.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/deluge/i18n/util.py b/deluge/i18n/util.py
+index bd002f7a2..90568fc5b 100644
+--- a/deluge/i18n/util.py
++++ b/deluge/i18n/util.py
+@@ -114,7 +114,7 @@ def setup_translation():
+         # Workaround for Python 2 unicode gettext (keyword removed in Py3).
+         kwargs = {} if not deluge.common.PY2 else {'unicode': True}
+ 
+-        gettext.install(I18N_DOMAIN, translations_path, names='ngettext', **kwargs)
++        gettext.install(I18N_DOMAIN, translations_path, names=['ngettext'], **kwargs)
+         builtins.__dict__['_n'] = builtins.__dict__['ngettext']
+ 
+         libintl = None
+-- 
+2.27.0
+
diff --git a/srcpkgs/deluge/template b/srcpkgs/deluge/template
index 107eee20d5f..fe7051dbd9b 100644
--- a/srcpkgs/deluge/template
+++ b/srcpkgs/deluge/template
@@ -1,10 +1,9 @@
 # Template file for 'deluge'
 pkgname=deluge
 version=2.0.3
-revision=5
+revision=6
 archs=noarch
 build_style=python3-module
-pycompile_module="deluge"
 hostmakedepends="intltool python3-setuptools"
 depends="python3-setuptools python3-chardet python3-Twisted python3-Mako
  python3-xdg python3-rencode python3-setproctitle libtorrent-rasterbar-python3
@@ -15,6 +14,7 @@ license="GPL-3.0-or-later"
 homepage="https://deluge-torrent.org/"
 distfiles="https://ftp.osuosl.org/pub/deluge/source/2.0/deluge-${version}.tar.xz"
 checksum=7e7ae8e6ca2a2bf0d487227cecf81e27332f0b92b567cc2bda38e47d859da891
+patch_args="-Np1"
 
 system_accounts="deluge"
 deluge_homedir="/var/lib/deluge"
@@ -29,7 +29,6 @@ deluge-gtk_package() {
 	archs=noarch
 	replaces="deluge<1.3.14_1"
 	short_desc+=" - GTK+ frontend"
-	pycompile_module="deluge"
 	depends="${sourcepkg}-${version}_${revision} python3-gobject"
 	pkg_install() {
 		vmove usr/bin/deluge
@@ -45,7 +44,6 @@ deluge-web_package() {
 	archs=noarch
 	replaces="deluge<1.3.14_1"
 	short_desc+=" - Web frontend"
-	pycompile_module="deluge"
 	depends="${sourcepkg}-${version}_${revision}"
 	pkg_install() {
 		vmove usr/bin/deluge-web

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

* Re: [PR PATCH] [Closed]: deluge: add patch to fix gettext warning
  2020-07-06 17:30 [PR PATCH] deluge: add patch to fix gettext warning PaperMountainStudio
  2020-07-06 17:32 ` [PR PATCH] [Updated] " PaperMountainStudio
@ 2020-07-08  0:11 ` sgn
  1 sibling, 0 replies; 3+ messages in thread
From: sgn @ 2020-07-08  0:11 UTC (permalink / raw)
  To: ml

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

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

deluge: add patch to fix gettext warning
https://github.com/void-linux/void-packages/pull/23423

Description:
patch is taken from upstream

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

end of thread, other threads:[~2020-07-08  0:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-06 17:30 [PR PATCH] deluge: add patch to fix gettext warning PaperMountainStudio
2020-07-06 17:32 ` [PR PATCH] [Updated] " PaperMountainStudio
2020-07-08  0:11 ` [PR PATCH] [Closed]: " sgn

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