[Lunar-commits] r15063 - moonbase/trunk/devel/dbus

Moritz Heiber moe at lunar-linux.org
Thu May 26 07:24:56 UTC 2005


Author: moe
Date: 2005-05-26 07:24:55 +0000 (Thu, 26 May 2005)
New Revision: 15063

Added:
   moonbase/trunk/devel/dbus/POST_INSTALL
Modified:
   moonbase/trunk/devel/dbus/BUILD
   moonbase/trunk/devel/dbus/DEPENDS
Log:
* Take gtk-sharp off dbus' dependency chain as it causes
  a major loop.
* Added a POST_INSTALL to remind the user about gtk-sharp
* Modified BUILD accordingly



Modified: moonbase/trunk/devel/dbus/BUILD
===================================================================
--- moonbase/trunk/devel/dbus/BUILD	2005-05-25 22:57:46 UTC (rev 15062)
+++ moonbase/trunk/devel/dbus/BUILD	2005-05-26 07:24:55 UTC (rev 15063)
@@ -1,8 +1,14 @@
 (
  
-  if module_installed kdelibs3; then
+  if module_installed kdelibs3 ; then
      export PATH=$QTDIR/bin:$KDEDIR/bin:$PATH
   fi
+
+  if module_installed gtk-sharp ; then
+    OPTS="$OPTS --enable-mono"
+  else
+    OPTS="$OPTS --disable-mono"
+  fi
  
   OPTS="$OPTS --enable-glib --enable-x --enable-checks --enable-verbose-mode \
         --with-xml=libxml --with-system-pid-file=/var/run/messagebus.pid    \

Modified: moonbase/trunk/devel/dbus/DEPENDS
===================================================================
--- moonbase/trunk/devel/dbus/DEPENDS	2005-05-25 22:57:46 UTC (rev 15062)
+++ moonbase/trunk/devel/dbus/DEPENDS	2005-05-26 07:24:55 UTC (rev 15063)
@@ -1,8 +1,6 @@
 depends glib-2    &&
 depends libxml2   &&
 
-optional_depends "gtk-sharp" "--enable-mono" "--disable-mono" \
-                 "for mono/c# bindings" &&
 optional_depends "gtk+-2" "--enable-gtk" "--disable-gtk" \
                  "for Gtk+-2 bindings"  &&
 optional_depends "Pyrex" "--enable-python" "--disable-python" \

Added: moonbase/trunk/devel/dbus/POST_INSTALL
===================================================================
--- moonbase/trunk/devel/dbus/POST_INSTALL	2005-05-25 22:57:46 UTC (rev 15062)
+++ moonbase/trunk/devel/dbus/POST_INSTALL	2005-05-26 07:24:55 UTC (rev 15063)
@@ -0,0 +1,9 @@
+if ! module_installed gtk-sharp ; then
+
+message "${CYAN}You don't seem to have gtk-sharp installed"
+message "and there's nothing wrong about that."
+message	"But if you were to compile mono bindings for dbus"
+message	"you have to install gtk-sharp first and recompile"
+message "dbus afterwards.${DEFAULT_COLOR}"
+
+fi



More information about the Lunar-commits mailing list