]> git.ipfire.org Git - thirdparty/dbus.git/commitdiff
2005-01-18 Havoc Pennington <hp@redhat.com>
authorHavoc Pennington <hp@redhat.com>
Tue, 18 Jan 2005 22:20:38 +0000 (22:20 +0000)
committerHavoc Pennington <hp@redhat.com>
Tue, 18 Jan 2005 22:20:38 +0000 (22:20 +0000)
* rename dbus-daemon-1 to dbus-daemon throughout

ChangeLog
bus/Makefile.am
bus/dbus-daemon.1.in [moved from bus/dbus-daemon-1.1.in with 98% similarity]
bus/main.c
bus/messagebus.in
bus/rc.messagebus.in
configure.in
doc/TODO
test/glib/run-test.sh
tools/dbus-launch.1
tools/dbus-launch.c

index d64f8c2664c0bc989dfea30d2bcfd79579380beb..1a9bcfcf4bb5b9e757399682d93a5253255ad42a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2005-01-18  Havoc Pennington  <hp@redhat.com>
+
+       * rename dbus-daemon-1 to dbus-daemon throughout
+
 2005-01-18  Havoc Pennington  <hp@redhat.com>
 
         * Throughout, grand renaming to strip out the use of "service",
index f6e03d7758049256949c284f54956f68910ad6ad..b64808560675054125ac8bdc1abff23c5b31a6e1 100644 (file)
@@ -2,7 +2,7 @@
 configdir=$(sysconfdir)/dbus-1
 
 INCLUDES=-I$(top_srcdir) $(DBUS_BUS_CFLAGS)                            \
-       -DDAEMON_NAME=\"dbus-daemon-1\"  -DDBUS_COMPILATION             \
+       -DDAEMON_NAME=\"dbus-daemon\"  -DDBUS_COMPILATION               \
        -DDBUS_SYSTEM_CONFIG_FILE=\""$(configdir)/system.conf"\"        \
        -DDBUS_SESSION_CONFIG_FILE=\""$(configdir)/session.conf"\"
 
@@ -16,7 +16,7 @@ config_DATA=                                  \
        session.conf                            \
        system.conf
 
-bin_PROGRAMS=dbus-daemon-1
+bin_PROGRAMS=dbus-daemon
 
 if DBUS_USE_LIBXML
 XML_SOURCES=config-loader-libxml.c
@@ -56,11 +56,11 @@ BUS_SOURCES=                                        \
        utils.h                                 \
        $(XML_SOURCES)
 
-dbus_daemon_1_SOURCES=                         \
+dbus_daemon_SOURCES=                           \
        $(BUS_SOURCES)                          \
        main.c                                  
 
-dbus_daemon_1_LDADD=                                   \
+dbus_daemon_LDADD=                                     \
        $(EFENCE)                                       \
        $(DBUS_BUS_LIBS)                                \
        $(top_builddir)/dbus/libdbus-convenience.la
@@ -108,7 +108,7 @@ initd_SCRIPTS=      \
 
 endif
  ## Red Hat end
+
 ## Slackware start
 if DBUS_INIT_SCRIPTS_SLACKWARE
 
@@ -120,8 +120,8 @@ initd_SCRIPTS=      \
 endif
 ## Slackware end
 
-MAN_IN_FILES=dbus-daemon-1.1.in
-man_MANS = dbus-daemon-1.1
+MAN_IN_FILES=dbus-daemon.1.in
+man_MANS = dbus-daemon.1
 
 #### Extra dist 
 
similarity index 98%
rename from bus/dbus-daemon-1.1.in
rename to bus/dbus-daemon.1.in
index c38ca68a045bbc95b75be2b42c396b0297299989..902ff374ed3a6d68f765317621cc41aaad0902ab 100644 (file)
@@ -1,22 +1,22 @@
 .\" 
-.\" dbus-daemon-1 manual page.
+.\" dbus-daemon manual page.
 .\" Copyright (C) 2003 Red Hat, Inc.
 .\"
-.TH dbus-daemon-1 1
+.TH dbus-daemon 1
 .SH NAME
-dbus-daemon-1 \- Message bus daemon
+dbus-daemon \- Message bus daemon
 .SH SYNOPSIS
 .PP
-.B dbus-daemon-1
-dbus-daemon-1 [\-\-version] [\-\-session] [\-\-system] [\-\-config-file=FILE]
+.B dbus-daemon
+dbus-daemon [\-\-version] [\-\-session] [\-\-system] [\-\-config-file=FILE]
 [\-\-print-address[=DESCRIPTOR]] [\-\-print-pid[=DESCRIPTOR]] [\-\-fork]
 
 .SH DESCRIPTION
 
-\fIdbus-daemon-1\fP is the D-BUS message bus daemon. See
+\fIdbus-daemon\fP is the D-BUS message bus daemon. See
 http://www.freedesktop.org/software/dbus/ for more information about
 the big picture. D-BUS is first a library that provides one-to-one
-communication between any two applications; \fIdbus-daemon-1\fP is an
+communication between any two applications; \fIdbus-daemon\fP is an
 application that uses this library to implement a message bus
 daemon. Multiple programs connect to the message bus daemon and can
 exchange messages with one another.
@@ -25,7 +25,7 @@ exchange messages with one another.
 There are two standard message bus instances: the systemwide message bus 
 (installed on many systems as the "messagebus" init service) and the 
 per-user-login-session message bus (started each time a user logs in).
-\fIdbus-daemon-1\fP is used for both of these instances, but with 
+\fIdbus-daemon\fP is used for both of these instances, but with 
 a different configuration file.
 
 .PP
index 40ec9a0722b5bd63190e0e1c1313e241cd5ac52c..f4b188a9ff839c1cc0bed9b5db42021a72c0e94e 100644 (file)
@@ -62,7 +62,7 @@ signal_handler (int sig)
 static void
 usage (void)
 {
-  fprintf (stderr, "dbus-daemon-1 [--version] [--session] [--system] [--config-file=FILE] [--print-address[=DESCRIPTOR]] [--print-pid[=DESCRIPTOR]] [--fork] [--nofork]\n");
+  fprintf (stderr, DAEMON_NAME " [--version] [--session] [--system] [--config-file=FILE] [--print-address[=DESCRIPTOR]] [--print-pid[=DESCRIPTOR]] [--fork] [--nofork]\n");
   exit (1);
 }
 
index 7a35876417c77f11896d7bcfd9e3f95a19d899d8..55fef0fb591d4abf8c24d780735212da536db1fc 100755 (executable)
@@ -6,18 +6,18 @@
 # description:  This is a daemon which broadcasts notifications of system events \
 #               and other messages. See http://www.freedesktop.org/software/dbus/
 #
-# processname: dbus-daemon-1
+# processname: dbus-daemon
 # pidfile: @DBUS_SYSTEM_PID_FILE@
 #
 
 # Sanity checks.
-[ -x @EXPANDED_BINDIR@/dbus-daemon-1 ] || exit 0
+[ -x @EXPANDED_BINDIR@/dbus-daemon ] || exit 0
 
 # Source function library.
 . @EXPANDED_SYSCONFDIR@/rc.d/init.d/functions
 
 # so we can rearrange this easily
-processname=dbus-daemon-1
+processname=dbus-daemon
 servicename=messagebus
 
 RETVAL=0
index 4214a9f4c8256e249bd79860317f55d5cfff8f6f..46a3076da6bb542aa0e0d675d8ff6e40c1100e02 100644 (file)
@@ -6,26 +6,26 @@
 # description:  This is a daemon which broadcasts notifications of system events \
 #               and other messages. See http://www.freedesktop.org/software/dbus/
 #
-# processname: dbus-daemon-1
+# processname: dbus-daemon
 # pidfile: @DBUS_SYSTEM_PID_FILE@
 #
 
 # Sanity checks.
-#[ -x @EXPANDED_BINDIR@/dbus-daemon-1 ] || exit 0
+#[ -x @EXPANDED_BINDIR@/dbus-daemon ] || exit 0
 
 # Source function library.
 #. @EXPANDED_SYSCONFDIR@/rc.d/init.d/functions
 
 # so we can rearrange this easily
-#processname=dbus-daemon-1
+#processname=dbus-daemon
 #servicename=messagebus
 
 #RETVAL=0
 
 start() {
     echo "Starting system message bus"
-    if [ -x @EXPANDED_BINDIR@/dbus-daemon-1 ];then
-       @EXPANDED_BINDIR@/dbus-daemon-1 --system
+    if [ -x @EXPANDED_BINDIR@/dbus-daemon ];then
+       @EXPANDED_BINDIR@/dbus-daemon --system
     fi
     #daemon --check $servicename $processname --system
     #RETVAL=$?
@@ -39,7 +39,7 @@ stop() {
     ## we don't want to kill all the per-user $processname, we want
     ## to use the pid file *only*; because we use the fake nonexistent 
     ## program name "$servicename" that should be safe-ish
-    killall dbus-daemon-1
+    killall dbus-daemon
     #RETVAL=$?
     #echo
     #if [ $RETVAL -eq 0 ]; then
index ffac02723e0d809870defa64e683ef8353408e58..95ab6d1e765e9345834ee1ce3ab5db317156ee53 100644 (file)
@@ -1141,7 +1141,7 @@ bus/system.conf
 bus/session.conf
 bus/messagebus
 bus/rc.messagebus
-bus/dbus-daemon-1.1
+bus/dbus-daemon.1
 Makefile
 dbus/Makefile
 glib/Makefile
index eac3e50bb1730f99620ba2fe34c139015eab42b9..f7a064a013ea416244468ddaa14394fbf814ce2e 100644 (file)
--- a/doc/TODO
+++ b/doc/TODO
@@ -74,14 +74,8 @@ Important for 1.0 GLib Bindings
 Might as Well for 1.0
 ===
 
- - Probably no point in a version number in the daemon name
-   (s/dbus-daemon-1/dbus-daemon/)
-
  - add dbus_message_has_path(), maybe has_member/interface
 
- - dbus_message_iter_init_array_iterator has "iter" and "iterator" 
-   in the same function name
-
  - connection_open/connection_disconnect lacks symmetry, open/close
    or connect/disconnect
 
index 473946a9fe90135973aeedbd115771a783dc9b57..eddea5f8ef69796a34027504b5275eae2b359529 100755 (executable)
@@ -43,7 +43,7 @@ export MALLOC_CHECK_=2
 unset DBUS_SESSION_BUS_ADDRESS
 unset DBUS_SESSION_BUS_PID
 
-echo "Using daemon "`type dbus-daemon-1`
+echo "Using daemon "`type dbus-daemon`
 
 eval `$DBUS_TOP_BUILDDIR/tools/dbus-launch --sh-syntax --config-file=$CONFIG_FILE`
 
index 771dcb2ce898f4324d95d7f8e4aefc6419e9543b..33f0d2391bc48478f8f1a7605a8477c1404f46bc 100644 (file)
@@ -11,7 +11,7 @@ dbus-launch \- Utility to start a message bus from a shell script
 
 .SH DESCRIPTION
 
-The \fIdbus-launch\fP command is used to start \fIdbus-daemon-1\fP
+The \fIdbus-launch\fP command is used to start \fIdbus-daemon\fP
 from a shell script. It would normally be called from a user's login
 scripts. Unlike the daemon itself, \fIdbus-launch\fP exits, so
 backticks or the $() construct can be used to read information from
@@ -40,7 +40,7 @@ know which shell your script is written in.
 
 .PP
 See http://www.freedesktop.org/software/dbus/ for more information
-about D-BUS. See also the man page for \fIdbus-daemon-1\fP.
+about D-BUS. See also the man page for \fIdbus-daemon\fP.
 
 .PP
 Here is an example of how to use \fIdbus-launch\fP with an 
@@ -76,7 +76,7 @@ Choose \-\-csh-syntax or \-\-sh-syntax based on the SHELL environment variable.
 .TP
 .I "--config-file=FILENAME"
 Pass \-\-config-file=FILENAME to the bus daemon, instead of passing it 
-the \-\-session argument. See the man page for dbus-daemon-1
+the \-\-session argument. See the man page for dbus-daemon
 
 .TP
 .I "--csh-syntax"
index 01d1a9f9bee743a4162e172251dc877d345386fa..e24651a5efc65f413e8a7d384d1bcc13e5d19563 100644 (file)
@@ -756,7 +756,7 @@ main (int argc, char **argv)
       verbose ("=== Bus exec process created\n");
       
       /* Now we are the bus process (well, almost;
-       * dbus-daemon-1 itself forks again)
+       * dbus-daemon itself forks again)
        */
       close (bus_pid_to_launcher_pipe[READ_END]);
       close (bus_address_to_launcher_pipe[READ_END]);
@@ -771,8 +771,8 @@ main (int argc, char **argv)
 
       verbose ("Calling exec()\n");
       
-      execlp ("dbus-daemon-1",
-              "dbus-daemon-1",
+      execlp ("dbus-daemon",
+              "dbus-daemon",
               "--fork",
               "--print-pid", write_pid_fd_as_string,
               "--print-address", write_address_fd_as_string,