Package: laptop-mode-tools
Severity: wishlist
Tags: patch

I use pyside instead pyqt4, attached patch makes the gui work
also when the system has pyside and not pyqt4

you may add pyside as alternative in recommends

Regards


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.10-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash
--- lmt-config-gui.orig	2013-09-15 19:05:11.000000000 +0200
+++ lmt-config-gui	2013-09-16 03:29:11.125235320 +0200
@@ -1,6 +1,9 @@
 #!/usr/bin/env python
 
-from PyQt4 import QtGui, QtCore
+try:
+    from PyQt4 import QtGui, QtCore
+except ImportError:
+    from PySide import QtGui, QtCore
 
 import os, sys, shutil
 

Reply via email to