rpms/dbus/devel 00-start-message-bus.sh, NONE, 1.1 dbus.spec, 1.137, 1.138

Ray Strode (rstrode) fedora-extras-commits at redhat.com
Mon Feb 4 18:46:54 UTC 2008


Author: rstrode

Update of /cvs/pkgs/rpms/dbus/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv19543

Modified Files:
	dbus.spec 
Added Files:
	00-start-message-bus.sh 
Log Message:
* Mon Feb  4 2008 Ray Strode <rstrode at redhat.com> - 1.1.4-3
- Start message bus from xinitrc.d instead of hard coding it
at the end of Xsession



--- NEW FILE 00-start-message-bus.sh ---
#!/bin/sh
# Copyright (C) 2008 Red Hat, Inc.
#
# All rights reserved. This copyrighted material is made available to anyone
# wishing to use, modify, copy, or redistribute it subject to the terms and
# conditions of the GNU General Public License version 2.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#
if [ -z "$DBUS_SESSION_BUS_ADDRESS" ]; then
        eval `dbus-launch --sh-syntax --exit-with-session`
fi


Index: dbus.spec
===================================================================
RCS file: /cvs/pkgs/rpms/dbus/devel/dbus.spec,v
retrieving revision 1.137
retrieving revision 1.138
diff -u -r1.137 -r1.138
--- dbus.spec	4 Feb 2008 17:12:47 -0000	1.137
+++ dbus.spec	4 Feb 2008 18:45:56 -0000	1.138
@@ -8,10 +8,11 @@
 Summary: D-BUS message bus
 Name: dbus
 Version: 1.1.4
-Release: 2%{?dist}
+Release: 3%{?dist}
 URL: http://www.freedesktop.org/software/dbus/
 Source0: http://dbus.freedesktop.org/releases/dbus/%{name}-%{version}.tar.gz
 Source1: doxygen_to_devhelp.xsl
+Source2: 00-start-message-bus.sh
 License: GPLv2+ or AFL
 Group: System Environment/Libraries
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 
@@ -139,6 +140,8 @@
 cp doc/dbus-tutorial.html %{buildroot}%{_datadir}/devhelp/books/dbus
 cp doc/api/html/* %{buildroot}%{_datadir}/devhelp/books/dbus/api
 
+install -D -m755 %{SOURCE2} %{buildroot}%{_sysconfdir}/X11/xinit/xinitrc.d/00-start-message-bus.sh
+
 ## %find_lang %{gettext_package}
 
 %clean
@@ -203,6 +206,7 @@
 
 %{_bindir}/dbus-launch
 %{_datadir}/man/man*/dbus-launch.1.gz
+%{_sysconfdir}/X11/xinit/xinitrc.d/00-start-message-bus.sh
 
 %files doc
 %defattr(-,root,root)
@@ -219,6 +223,10 @@
 %{_includedir}/*
 
 %changelog
+* Mon Feb  4 2008 Ray Strode <rstrode at redhat.com> - 1.1.4-3
+- Start message bus from xinitrc.d instead of hard coding it
+at the end of Xsession
+
 * Mon Feb  4 2008 Matthias Clasen <mclasen at redhat.com> - 1.1.4-2
 - Make it build against the latest gcc/glibc
 




More information about the fedora-extras-commits mailing list