summaryrefslogtreecommitdiff
path: root/community/awn-extras-applets/check-dependencies.patch
blob: 959d3a113d6ea59940cf9729fe9f5509d3e69285 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
diff -Naur awn-extras-0.4.0.orig/applets/maintained/comics/comics.py awn-extras-0.4.0/applets/maintained/comics/comics.py
--- awn-extras-0.4.0.orig/applets/maintained/comics/comics.py	2010-03-26 17:14:53.000000000 +0100
+++ awn-extras-0.4.0/applets/maintained/comics/comics.py	2012-11-15 17:28:52.045595715 +0100
@@ -30,7 +30,7 @@
 from awn.extras import _
 
 # Import Comics! modules, but check dependencies first
-awn.check_dependencies(globals(), 'feedparser', 'pynotify')
+awn.check_dependencies(globals(), 'feedparser', 'pynotify', 'rsvg')
 from pynotify import init as notify_init, Notification
 
 import comics_manage
diff -Naur awn-extras-0.4.0.orig/applets/maintained/media-player/media_player.py awn-extras-0.4.0/applets/maintained/media-player/media_player.py
--- awn-extras-0.4.0.orig/applets/maintained/media-player/media_player.py	2010-01-06 00:01:33.000000000 +0100
+++ awn-extras-0.4.0/applets/maintained/media-player/media_player.py	2012-11-15 17:28:54.925659573 +0100
@@ -17,13 +17,15 @@
 import os
 import sys
 
+import awn
+awn.check_dependencies(globals(), 'pygst')
+
 import pygst
 pygst.require("0.10")
 import gst
 import gtk
 import gobject
 
-import awn
 from desktopagnostic import config
 
 
diff -Naur awn-extras-0.4.0.orig/applets/maintained/slickswitcher/slickswitcher.py awn-extras-0.4.0/applets/maintained/slickswitcher/slickswitcher.py
--- awn-extras-0.4.0.orig/applets/maintained/slickswitcher/slickswitcher.py	2010-04-08 14:31:25.000000000 +0200
+++ awn-extras-0.4.0/applets/maintained/slickswitcher/slickswitcher.py	2012-11-15 17:31:32.025809983 +0100
@@ -25,6 +25,9 @@
 import gobject
 
 import cairo
+
+awn.check_dependencies(globals(), 'wnck')
+
 import drawing, switch, settings
 from os.path import exists, isdir
 import os
diff -Naur awn-extras-0.4.0.orig/applets/maintained/volume-control/volume-control.py awn-extras-0.4.0/applets/maintained/volume-control/volume-control.py
--- awn-extras-0.4.0.orig/applets/maintained/volume-control/volume-control.py	2010-01-06 00:01:34.000000000 +0100
+++ awn-extras-0.4.0/applets/maintained/volume-control/volume-control.py	2012-11-15 17:28:26.368359913 +0100
@@ -30,6 +30,9 @@
 
 from awn.extras import awnlib, __version__
 
+import awn
+awn.check_dependencies(globals(), 'pygst')
+
 import pygst
 pygst.require("0.10")
 import gst
diff -Naur awn-extras-0.4.0.orig/applets/unmaintained/stacks/stacks_applet.py awn-extras-0.4.0/applets/unmaintained/stacks/stacks_applet.py
--- awn-extras-0.4.0.orig/applets/unmaintained/stacks/stacks_applet.py	2009-11-16 00:31:16.000000000 +0100
+++ awn-extras-0.4.0/applets/unmaintained/stacks/stacks_applet.py	2012-11-15 17:28:41.778701431 +0100
@@ -25,6 +25,9 @@
 import pango
 import awn
 import cairo
+
+awn.check_dependencies(globals(), 'gnome.ui', 'gnomedesktop')
+
 import gnome.ui
 import gnomedesktop
 import time