mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-02 02:42:56 +02:00
kupfer: Apply settings validation patch and add python-keybinder2 dependency
This commit is contained in:
parent
344942ecbf
commit
ee18e4ecc8
2 changed files with 26 additions and 2 deletions
23
srcpkgs/kupfer/patches/settings.patch
Normal file
23
srcpkgs/kupfer/patches/settings.patch
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
diff -aur kupfer-v208/kupfer/core/settings.py
|
||||||
|
kupfer-v208.modified/kupfer/core/settings.py
|
||||||
|
--- kupfer-v208/kupfer/core/settings.py 2012-06-01 10:51:14.000000000 -0700
|
||||||
|
+++ kupfer-v208.modified/kupfer/core/settings.py 2012-11-21 14:48:11.876592441
|
||||||
|
-0800
|
||||||
|
@@ -393,6 +393,8 @@
|
||||||
|
"""
|
||||||
|
Get a list of (id_, name) tuples for the given @category_key
|
||||||
|
"""
|
||||||
|
+ if not category_key in self._alternative_validators:
|
||||||
|
+ return
|
||||||
|
validator = self._alternative_validators[category_key]
|
||||||
|
for (id_, alternative) in self._alternatives[category_key].iteritems():
|
||||||
|
name = alternative["name"]
|
||||||
|
@@ -400,7 +402,8 @@
|
||||||
|
yield (id_, name)
|
||||||
|
|
||||||
|
def get_all_alternatives(self, category_key):
|
||||||
|
- return self._alternatives[category_key]
|
||||||
|
+ if category_key in self._alternatives:
|
||||||
|
+ return self._alternatives[category_key]
|
||||||
|
|
||||||
|
def get_preferred_alternative(self, category_key):
|
|
@ -1,10 +1,11 @@
|
||||||
# Template file for 'kupfer'
|
# Template file for 'kupfer'
|
||||||
pkgname=kupfer
|
pkgname=kupfer
|
||||||
version=208
|
version=208
|
||||||
revision=2
|
revision=3
|
||||||
|
patch_args="-Np1"
|
||||||
build_style=waf
|
build_style=waf
|
||||||
hostmakedepends="perl intltool"
|
hostmakedepends="perl intltool"
|
||||||
makedepends="python python-gobject2 pygtk python-xdg python-dbus"
|
makedepends="python python-gobject2 pygtk python-xdg python-dbus python-keybinder2"
|
||||||
depends="$makedepends"
|
depends="$makedepends"
|
||||||
short_desc="Interface for quick and convenient access to applications"
|
short_desc="Interface for quick and convenient access to applications"
|
||||||
maintainer="Enno Boland <eb@s01.de>"
|
maintainer="Enno Boland <eb@s01.de>"
|
||||||
|
|
Loading…
Add table
Reference in a new issue