[Lunar-commits] <moonbase> kdebase3: usb.ids bugfix and java support enabled in kdebase.

Zbigniew Luszpinski zbiggy at lunar-linux.org
Thu Jan 22 03:14:36 CET 2009


commit a6838a8f6b76c24f964d6a8d0d93719b054522b5
Author: Zbigniew Luszpinski <zbiggy at lunar-linux.org>
Date:   Thu Jan 22 02:14:36 2009 +0000

    kdebase3: usb.ids bugfix and java support enabled in kdebase.
    Before this patch kdebase installed its own outdated (year 2007) usb.ids somewhere in
    kde installation directory. The result was that kinfocenter do not recognizes well known
    usb devices. Now kde uses usb.ids file provided with usbutils module.
    Thanks to this now kde uses always up to date and most complete usb information.
    This patch also enables java support in kde if java is installed.
---
 kde3/base/kdebase3/BUILD |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/kde3/base/kdebase3/BUILD b/kde3/base/kdebase3/BUILD
index 71e6ac6..49565ec 100644
--- a/kde3/base/kdebase3/BUILD
+++ b/kde3/base/kdebase3/BUILD
@@ -8,6 +8,19 @@
 # So it can find the headers.
   sedit "s:/usr/include/dbus-1.0:/usr/include/dbus-1.0/qt3/dbus:g" configure  &&
 
+  if module_installed j2sdk; then
+    OPTS="$OPTS --with-java=/usr/lib/j2sdk$(installed_version j2sdk)"
+   if [ -d /usr/java ]; then
+    OPTS="$OPTS --with-java=/usr/java"
+   fi
+  else
+    OPTS="$OPTS --without-java"
+  fi  &&
+
+  if [ -f /usr/share/usb.ids ]; then
+  OPTS="$OPTS --with-usbids=/usr/share/usb.ids"
+  fi &&
+
   default_build  &&
 
   install -m755 $SCRIPT_DIRECTORY/kde /usr/bin/


More information about the Lunar-commits mailing list