summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArwed von Merkatz2007-09-30 12:52:45 +0200
committerArwed von Merkatz2007-09-30 12:52:45 +0200
commitc27c6757383216e86b8935066acc1f8e895566c9 (patch)
tree84e86fb036816310e7469937ad83882a4a2cccc9
parent23ac9e75803b913ff83148845dac2e7031326528 (diff)
sensors-applet: fixed xorg-modular check and added missing CONFIGURE
-rwxr-xr-xgnome2-apps/sensors-applet/CONFIGURE1
-rwxr-xr-xgnome2-apps/sensors-applet/DEPENDS3
-rw-r--r--gnome2-apps/sensors-applet/HISTORY4
3 files changed, 7 insertions, 1 deletions
diff --git a/gnome2-apps/sensors-applet/CONFIGURE b/gnome2-apps/sensors-applet/CONFIGURE
new file mode 100755
index 0000000000..ad6b500a2b
--- /dev/null
+++ b/gnome2-apps/sensors-applet/CONFIGURE
@@ -0,0 +1 @@
+config_query NVIDIA "Support nvidia graphics card monitoring?" n
diff --git a/gnome2-apps/sensors-applet/DEPENDS b/gnome2-apps/sensors-applet/DEPENDS
index bbd93e1d4f..ab98c6242b 100755
--- a/gnome2-apps/sensors-applet/DEPENDS
+++ b/gnome2-apps/sensors-applet/DEPENDS
@@ -1,6 +1,7 @@
depends gnome-panel &&
if [ "$NVIDIA" = "y" ]; then
- if [ "$(get_spell_provider $X11)" = xorg-server ]; then
+ . $GRIMOIRE/FUNCTIONS &&
+ if check_if_xorg_modular_libs gtk+2; then
depends nvidia-settings \
"--with-nvidia --with-x11=$TRACK_ROOT/usr/" "" z-rejected
else
diff --git a/gnome2-apps/sensors-applet/HISTORY b/gnome2-apps/sensors-applet/HISTORY
index 13c974e907..627670017a 100644
--- a/gnome2-apps/sensors-applet/HISTORY
+++ b/gnome2-apps/sensors-applet/HISTORY
@@ -1,3 +1,7 @@
+2007-09-30 Arwed v. Merkatz <v.merkatz@gmx.net>
+ * CONFIGURE: added as it was missing
+ * DEPENDS: fix xorg-modular check, checking if gtk+2 uses it
+
2006-08-26 Flavien Bridault <vlaaad@sourcemage.org>
* DETAILS: Updated to 1.7.8