[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Ltib] patch: dbus update to 1.4.16
From: |
Fritz Mueller |
Subject: |
[Ltib] patch: dbus update to 1.4.16 |
Date: |
Mon, 30 Jan 2012 00:14:57 -0800 |
Apologies for the binary attachments! Mac mail client must have a setting
wrong... Here are the patch and dbus script files as inline plain text:
Index: config/userspace/pkg_map
===================================================================
RCS file: /sources/ltib/ltib/config/userspace/pkg_map,v
retrieving revision 1.30
diff -u -r1.30 pkg_map
--- config/userspace/pkg_map 28 Nov 2011 17:41:02 -0000 1.30
+++ config/userspace/pkg_map 30 Jan 2012 07:23:17 -0000
@@ -29,7 +29,6 @@
PKG_SASH = sash
PKG_COREUTILS = coreutils
PKG_SEQ = seq
-PKG_DBUS = dbus
PKG_ZLIB = zlib
PKG_LFS_UTILS = lfs-utils
PKG_FINDUTILS = findutils
@@ -112,6 +111,7 @@
PKG_WHICH = which
PKG_FAKEROOT = fakeroot
PKG_EXPAT = expat
+PKG_DBUS = dbus
PKG_GDB = gdb
PKG_GDB_BDM = m68k-gdb-bdm
PKG_STRACE = strace
Index: config/userspace/sysconfig.lkc
===================================================================
RCS file: /sources/ltib/ltib/config/userspace/sysconfig.lkc,v
retrieving revision 1.2
diff -u -r1.2 sysconfig.lkc
--- config/userspace/sysconfig.lkc 12 Dec 2008 17:11:31 -0000 1.2
+++ config/userspace/sysconfig.lkc 30 Jan 2012 07:23:17 -0000
@@ -214,4 +214,13 @@
The config file pango.modules must be created on the target.
endif
+config SYSCFG_START_DBUS
+ depends PKG_DBUS
+ bool "start D-Bus system bus daemon"
+ default y
+ help
+ Starts the global D-Bus system bus instance. This is used by Avahi
+ for communication between Avahi clients and the Avahi daemon, among
+ other things.
+
endmenu
Index: dist/lfs-5.1/dbus/dbus.spec
===================================================================
RCS file: /sources/ltib/ltib/dist/lfs-5.1/dbus/dbus.spec,v
retrieving revision 1.1
diff -u -r1.1 dbus.spec
--- dist/lfs-5.1/dbus/dbus.spec 5 Jun 2009 10:49:18 -0000 1.1
+++ dist/lfs-5.1/dbus/dbus.spec 30 Jan 2012 07:23:23 -0000
@@ -2,8 +2,8 @@
Summary : Message bus system for applications to talk to one another
Name : dbus
-Version : 1.2.6
-Release : 1
+Version : 1.4.16
+Release : 2
License : AFLv2.1 or GPLv2
Vendor : Free Desktop
Packager : Thierry Pierret/Stuart Hughes/Tarek Allaoua
@@ -22,7 +22,7 @@
%Build
# Note --with-xml could also specify libxml
config_opts='ac_cv_have_abstract_sockets=yes'
-extra_opts='--with-xml=expat --without-x --enable-tests=no --enable-selinux=no'
+extra_opts='--with-xml=expat --without-x --enable-tests=no --enable-selinux=no
--localstatedir=/tmp'
eval $config_opts \
./configure --prefix=%{_prefix} --host=$CFGHOST --build=%{_build} \
Index: dist/lfs-5.1/sysconfig/sysconfig.spec
===================================================================
RCS file: /sources/ltib/ltib/dist/lfs-5.1/sysconfig/sysconfig.spec,v
retrieving revision 1.7
diff -u -r1.7 sysconfig.spec
--- dist/lfs-5.1/sysconfig/sysconfig.spec 18 Mar 2009 18:20:35 -0000
1.7
+++ dist/lfs-5.1/sysconfig/sysconfig.spec 30 Jan 2012 07:23:26 -0000
@@ -91,14 +91,18 @@
then
pango=pango
fi
+if [ "$SYSCFG_START_DBUS" = "y" ]
+then
+ dbus=dbus
+fi
cat <<EOF > $RPM_BUILD_ROOT/%{pfx}/etc/rc.d/rc.conf
-all_services="mount-proc-sys mdev udev hostname devfsd depmod modules
filesystems syslog network inetd portmap dropbear sshd boa smb dhcpd settime
qtopia watchdog gtk2 pango"
-all_services_r="pango gtk2 watchdog qtopia settime dhcpd smb boa sshd dropbear
portmap inetd network syslog filesystems modules depmod devfsd hostname udev
mdev mount-proc-sys"
+all_services="mount-proc-sys mdev udev hostname devfsd depmod modules
filesystems syslog network inetd portmap dropbear sshd boa smb dhcpd settime
qtopia watchdog gtk2 pango dbus"
+all_services_r="dbus pango gtk2 watchdog qtopia settime dhcpd smb boa sshd
dropbear portmap inetd network syslog filesystems modules depmod devfsd
hostname udev mdev mount-proc-sys"
-cfg_services="mount-proc-sys $mdev $udev hostname $devfsd depmod modules
filesystems $syslog $network $inetd $portmap $dropbear $sshd $boa $smb $dhcpd
$settime $qtopia $watchdog $gtk2 $pango"
+cfg_services="mount-proc-sys $mdev $udev hostname $devfsd depmod modules
filesystems $syslog $network $inetd $portmap $dropbear $sshd $boa $smb $dhcpd
$settime $qtopia $watchdog $gtk2 $pango $dbus"
-cfg_services_r="$pango $gtk2 $watchdog $qtopia $settime $dhcpd $smb $boa $sshd
$dropbear $portmap $inetd $network $syslog filesystems modules depmod $devfsd
hostname $udev $mdev mount-proc-sys"
+cfg_services_r="$dbus $pango $gtk2 $watchdog $qtopia $settime $dhcpd $smb $boa
$sshd $dropbear $portmap $inetd $network $syslog filesystems modules depmod
$devfsd hostname $udev $mdev mount-proc-sys"
export HOSTNAME="${SYSCFG_HOSTNAME:-$PLATFORM}"
export NTP_SERVER="$SYSCFG_NTP_SERVER"
(new dbus script file for skel package follows)
#!/bin/sh
if [ ! -x /usr/bin/dbus-daemon ]
then
exit 0
fi
if [ "$1" = "stop" -o "$1" = "restart" ]
then
echo "Stopping dbus system daemon: "
killall -q /usr/bin/dbus-daemon
rm -f /tmp/run/dbus/*
fi
if [ "$1" = "start" -o "$1" = "restart" ]
then
echo "Starting dbus system daemon: "
/usr/bin/dbus-daemon --system
fi
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Ltib] patch: dbus update to 1.4.16,
Fritz Mueller <=