[SCM] Synaptiks packaging repository, a touchpad configuration utility used in KDE branch, master, updated. debian/0.8.1-2-2-g67d5cbb

Maximiliano Curia maxy at moszumanska.debian.org
Fri Sep 12 17:30:24 UTC 2014


Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/synaptiks.git;a=commitdiff;h=67d5cbb

The following commit has been merged in the master branch:
commit 67d5cbbd9b112ab49419780746175f82550e2494
Author: Maximiliano Curia <maxy at gnuservers.com.ar>
Date:   Fri Sep 12 19:29:48 2014 +0200

    New patch: turkish_lower_issue (Closes: #760840)
---
 debian/changelog                   |  2 +-
 debian/patches/series              |  1 +
 debian/patches/turkish_lower_issue | 29 +++++++++++++++++++++++++++++
 3 files changed, 31 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index ba4e5b6..4515b8b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,6 @@
 synaptiks (0.8.1-3~) UNRELEASED; urgency=medium
 
-  * 
+  * New patch: turkish_lower_issue (Closes: #760840)
 
  -- Maximiliano Curia <maxy at debian.org>  Fri, 12 Sep 2014 19:14:36 +0200
 
diff --git a/debian/patches/series b/debian/patches/series
index 46c4ffb..1da660f 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 xinput_version_detect
 0001-Remove-several-features-that-will-no-longer-be-expos.patch
+turkish_lower_issue
diff --git a/debian/patches/turkish_lower_issue b/debian/patches/turkish_lower_issue
new file mode 100644
index 0000000..7316b44
--- /dev/null
+++ b/debian/patches/turkish_lower_issue
@@ -0,0 +1,29 @@
+Index: synaptiks/synaptiks/kde/widgets/__init__.py
+===================================================================
+--- synaptiks.orig/synaptiks/kde/widgets/__init__.py	2014-09-12 19:24:05.767650556 +0200
++++ synaptiks/synaptiks/kde/widgets/__init__.py	2014-09-12 19:27:12.480158233 +0200
+@@ -36,6 +36,7 @@
+ from __future__ import (print_function, division, unicode_literals,
+                         absolute_import)
+ 
++import string
+ import os
+ 
+ from PyQt4.QtCore import PYQT_VERSION
+@@ -48,6 +49,9 @@
+ 
+ PACKAGE_DIRECTORY = os.path.dirname(__file__)
+ 
++def ascii_lower(s):
++    return s.translate(
++        string.maketrans(string.ascii_uppercase, string.ascii_lowercase))
+ 
+ class DynamicUserInterfaceMixin(object):
+     """
+@@ -68,5 +72,5 @@
+         """
+         ui_description_filename = os.path.join(
+             PACKAGE_DIRECTORY, 'ui',
+-            self.__class__.__name__.lower() + '.ui')
++            ascii_lower(self.__class__.__name__) + '.ui')
+         loadUi(ui_description_filename, self)

-- 
Synaptiks packaging repository, a touchpad configuration utility used in KDE



More information about the pkg-kde-commits mailing list