[Lunar-commits] CVS: moonbase/devel/dbus BUILD, 1.2, 1.3 DEPENDS, 1.4, 1.5 DETAILS, 1.5, 1.6 POST_INSTALL, 1.1, NONE

Chad Kittel v3rt1g0 at lunar-linux.org
Sun Jan 16 00:00:44 UTC 2005


Update of /var/cvs/lunar/moonbase/devel/dbus
In directory espresso.foo-projects.org:/tmp/cvs-serv21645/dbus

Modified Files:
	BUILD DEPENDS DETAILS 
Removed Files:
	POST_INSTALL 
Log Message:
Version bump.  Moved the POST_INSTALL stuff out of that file because on 
a firstime install the user gets an error and the service doesn't start 
because a directory has yet to be created.  Putting it in the BUILD file 
fixes that.  Also removed the required depends on Python as it is really 
optional.


Index: BUILD
===================================================================
RCS file: /var/cvs/lunar/moonbase/devel/dbus/BUILD,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- BUILD	14 Oct 2004 20:28:57 -0000	1.2
+++ BUILD	16 Jan 2005 00:00:41 -0000	1.3
@@ -1,11 +1,20 @@
 (
+  
+  DBUS_USERNAME=messagebus
+  DBUS_GROUPNAME=messagebus
+  
+  OPTS="$OPTS --enable-glib --enable-x --enable-checks --enable-verbose-mode \
+        --disable-xml-docs --with-system-pid-file=/var/run/messagebus.pid    \
+        --with-system-socket=/var/lib/dbus/system_bus_socket                 \
+        --with-session-socket-dir=/tmp"
+  
+  default_build &&
 
-   export OPTS="$OPTS --enable-python --enable-glib --enable-asserts --disable-tests --enable-verbose-mode --with-system-pid-file=/var/run/messagebus.pid --with-system-socket=/var/lib/dbus/system_bus_socket --with-session-socket-dir=/tmp" &&
-   default_build &&
- 
-   if module_installed mono; then
-   rm -fr /usr/lib/mono/dbus-sharp/* &&
-   ln -sf /usr/lib/mono/gac/dbus-sharp/0.22.0.0__9eef2692033670f5/dbus-sharp.dll /usr/lib/mono/dbus-sharp/dbus-sharp.dll
-   fi 
+  # The following used to be in POST_INSTALL but the service wasn't starting
+  # on FIRST install due to the lack of existing /var/lib/dbus
+  groupadd $DBUS_GROUPNAME                   2>/dev/null
+  useradd  $DBUS_USERNAME -g $DBUS_GROUPNAME 2>/dev/null
+  mkdir -p /var/lib/dbus
+  chown -R ${DBUS_GROUPNAME}:$DBUS_GROUPNAME /var/lib/dbus
 
 ) > $C_FIFO 2>&1

Index: DEPENDS
===================================================================
RCS file: /var/cvs/lunar/moonbase/devel/dbus/DEPENDS,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- DEPENDS	31 Jul 2004 16:25:12 -0000	1.4
+++ DEPENDS	16 Jan 2005 00:00:42 -0000	1.5
@@ -1,10 +1,8 @@
-depends pkgconfig  &&
-depends expat      &&
-depends libxml2    &&
-depends glib-2     &&
-depends Pyrex      &&
+depends glib-2    &&
+depends libxml2   &&
+depends pkgconfig &&
 
-optional_depends "gtk+-2"  "--enable-gtk"          "" "gtk bindings"     &&
-optional_depends "qt3"     "--enable-qt"           "" "qt bindings"      &&
-optional_depends "mono"    "--enable-mono"         "" "mono c# bindings" &&
-optional_depends "doxygen" "--enable-doxygen-docs" "" "build doxygen documentation"
+optional_depends "mono"   "--enable-mono"   "" "for mono/c# bindings" &&
+optional_depends "gtk+-2" "--enable-gtk"    "" "for Gtk+-2 bindings"  &&
+optional_depends "Pyrex"  "--enable-python" "" "for Python bindings"  &&
+optional_depends "qt3"    "--enable-qt"     "" "for QT bindings"

Index: DETAILS
===================================================================
RCS file: /var/cvs/lunar/moonbase/devel/dbus/DETAILS,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- DETAILS	1 Dec 2004 11:46:51 -0000	1.5
+++ DETAILS	16 Jan 2005 00:00:42 -0000	1.6
@@ -1,19 +1,18 @@
           MODULE=dbus
-         VERSION=0.22
+         VERSION=0.23
           SOURCE=$MODULE-$VERSION.tar.gz
-      SOURCE_URL=http://freedesktop.org/software/dbus/releases/
-      SOURCE_VFY=sha1:9a32a9c9e92a43461235f5016c8d350da20cd588
+      SOURCE_URL=http://$MODULE.freedesktop.org/releases/
+      SOURCE_VFY=sha1:c42a507757bec03445fd650d8ede87bec4c1b713
         WEB_SITE=http://dbus.freedesktop.org
          ENTERED=20031219
-         UPDATED=20040918
+         UPDATED=20050115
       MAINTAINER=nhudson at lunar-linux.org
-           SHORT="D-BUS is a message bus system for applications."
+           SHORT="A message bus system for applications"
 
 cat << EOF
-D-BUS is a message bus system, a simple way for applications to talk 
-to one another.
-It supplies both a system daemon and a per-user-login-session daemon.  
-Also, the message bus is built on top of general one-to-one message 
-passing framework, which can be used by any two apps to communicate 
-directly.
+D-BUS is a message bus system, a simple way for applications to talk
+to one another.  It supplies both a system daemon and a 
+per-user-login-session daemon.  Also, the message bus is built on top
+of general one-to-one message passing framework, which can be used by
+any two apps to communicate directly.
 EOF

--- POST_INSTALL DELETED ---



More information about the Lunar-commits mailing list