Skip to content
Snippets Groups Projects
Commit 2ced76f7 authored by Rasmus Thomsen's avatar Rasmus Thomsen
Browse files

testing/gkraken: fix startup

parent 63c578f2
No related branches found
No related tags found
No related merge requests found
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
# Maintainer: Rasmus Thomsen <oss@cogitri.dev> # Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gkraken pkgname=gkraken
pkgver=0.13.0 pkgver=0.13.0
pkgrel=0 pkgrel=1
pkgdesc="GUI that allows to control cooling of NZXT Kraken X pumps from Linux" pkgdesc="GUI that allows to control cooling of NZXT Kraken X pumps from Linux"
url="https://gitlab.com/leinardi/gkraken" url="https://gitlab.com/leinardi/gkraken"
arch="noarch" arch="noarch"
...@@ -13,7 +13,8 @@ depends="python3 libdazzle libnotify py3-gobject3 py3-rx liquidctl py3-injector ...@@ -13,7 +13,8 @@ depends="python3 libdazzle libnotify py3-gobject3 py3-rx liquidctl py3-injector
makedepends="meson gobject-introspection-dev gtk+3.0-dev" makedepends="meson gobject-introspection-dev gtk+3.0-dev"
options="!check" # no tests options="!check" # no tests
source="https://gitlab.com/leinardi/gkraken/-/archive/$pkgver/gkraken-$pkgver.tar.gz source="https://gitlab.com/leinardi/gkraken/-/archive/$pkgver/gkraken-$pkgver.tar.gz
60-gkraken.rules" 60-gkraken.rules
no-gettext-python-support.patch"
build() { build() {
meson \ meson \
...@@ -34,4 +35,5 @@ package() { ...@@ -34,4 +35,5 @@ package() {
} }
sha512sums="615d3104d258cde08a9cfa1625a6c9368ab1788fb5777ab897c744e88ea1fb4cf8f6edd20395645bffe2171cc6c4e21c10ddfe66c7657184edd0c374f7bfae56 gkraken-0.13.0.tar.gz sha512sums="615d3104d258cde08a9cfa1625a6c9368ab1788fb5777ab897c744e88ea1fb4cf8f6edd20395645bffe2171cc6c4e21c10ddfe66c7657184edd0c374f7bfae56 gkraken-0.13.0.tar.gz
ef8a079e1232777f537e18dbced2192fe7a0b30ae821ceb96b825b50a76f0890a13b5cf062a8fcc77a9c545c39ff28adc987b1dbce021e327675ceb1bbbed883 60-gkraken.rules" ef8a079e1232777f537e18dbced2192fe7a0b30ae821ceb96b825b50a76f0890a13b5cf062a8fcc77a9c545c39ff28adc987b1dbce021e327675ceb1bbbed883 60-gkraken.rules
2b255e29e50fae08880f99940c2f4eeba59da7371f6874adf2607895909c1bd274cd149d56d0530041c67ceeafa4b028cf47c6b0605fc1dede00104bb0e6b4e5 no-gettext-python-support.patch"
diff --git a/gkraken/__main__.py b/gkraken/__main__.py
index 791d425..812628f 100755
--- a/gkraken/__main__.py
+++ b/gkraken/__main__.py
@@ -44,10 +44,6 @@ set_log_level(logging.INFO)
LOG = logging.getLogger(__name__)
-# POSIX locale settings
-locale.setlocale(locale.LC_ALL, locale.getlocale())
-locale.bindtextdomain(APP_PACKAGE_NAME, LOCALE_DIR)
-
gettext.bindtextdomain(APP_PACKAGE_NAME, LOCALE_DIR)
gettext.textdomain(APP_PACKAGE_NAME)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment