# dbus-base/cfg - "Build" settings for package #--------------------------------------------------------------------- [technotes] 1. It's probably inadvisable to rebuild "dbus-base" and/or the other "dbus*" packages under XOrg. This may lead to lock-ups. #--------------------------------------------------------------------- 2. After rebuilding "dbus-base" and/or the other "dbus*" packages and/ or restarting the "dbus" daemon, you may need to reboot the system. Alternatively, the following steps may be sufficient: a. Log out and log-in again, or just start some new X-terminal sessions b. From the new login sessions (or the new X-terminal sessions), restart any applications that use "dbus" Reason: This issue is related to environment variables that are set by the "dbus" daemon startup procedure. For more information, see the following sections. #--------------------------------------------------------------------- 3. This distro's version of "dbus-launch" is a wrapper that runs the "real" version of "dbus-launch" and post-processes the output. Part of the output is saved to a "bash" script that's "sourced" indirectly by "/etc/profile" when a "bash" user logs in (or when "bash" shells are started). These steps are required because we need to set an environ- ment variable that's used by various "dbus" client applications. Note: The wrapper source file is named "dbus-launch.wrapper.in". #--------------------------------------------------------------------- 4. Presently, the "dbus-launch" wrapper mentioned previously can only be executed by "root", because it writes to a file that's owned by "root" (the "bash" script mentioned previously) and we don't want to make that script world-writable. If the restriction is a problem, these issues may require further thought. #--------------------------------------------------------------------- [buildtimes] 00.02 hours (or 001.07 minutes) - Dell Inspiron 6400 2.0 GHz Intel Duo 7200 2GB RAM 00.02 hours (or 001.08 minutes) - 2021 L.A. dedi box: 6x2 CPU 32GB RAM 00.02 hours (or 001.20 minutes) - ThinkPad E540 i7 4x2 16GB RAM 00.03 hours (or 001.90 minutes) - HP Pavilion dv8 8GB RAM 00.03 hours (or 002.03 minutes) - Toshiba Satellite C655 E-300 CPU 4GB RAM #--------------------------------------------------------------------- [settings] build = default exepack = yes fortran = disabled license = See "license*.txt" in installed tree licfile = COPYING nls = disabled proddir = $PRODTREE/gtkcore purge = no shareddir = yes strip = no tmpsize = 17M unpack = relaxed #--------------------------------------------------------------------- [depends] actools expat gawk grep glib20:strict libxml2 pkgconf python:strict python2-core:strict python2-tcltk:strict sed xorg #--------------------------------------------------------------------- [configure] (killany -5 dbus-daemon || true) if test -z "`grep messagebus /etc/group`" ; then groupadd messagebus fi if test -z "`grep messagebus /etc/passwd`" ; then useradd messagebus \ -g messagebus -d /tmp -s /bin/false -p notused fi ETCDIR=$PKGDIR_PROD/etc MANBASE=$PKGDIR_PROD/man mkdir -p $ETCDIR $MANBASE bash ./configure \ --prefix=$PKGDIR_PROD \ --build=$LACARCHBUILD \ --host=$LACARCHHOST \ --disable-dependency-tracking \ --disable-doxygen-docs \ --disable-systemd \ --disable-xml-docs \ --enable-shared=yes \ --enable-static=no \ --localstatedir=/var \ --mandir=$MANBASE \ --sysconfdir=$ETCDIR \ \ --with-console-auth-dir=/var/run/console \ --with-system-pid-file=/var/run/dbus/pid \ --with-system-socket=/var/run/dbus/system_bus_socket #--------------------------------------------------------------------- [postbuild] BINDIR=$PKGDIR_PROD/bin DOCDIR=$PKGDIR_PROD/doc INCDIR=$PKGDIR_PROD/include LIBDIR=$PKGDIR_PROD/lib SETUPDIR=$PKGDIR_PROD/setup mkdir -p $BINDIR $DOCDIR $INCDIR $LIBDIR mkdir -p $SETUPDIR SPCMISC=$PKGDIR_SPECIAL/misc SPCWRAP=$PKGDIR_SPECIAL/wrappers ln -nsf $LIBDIR/dbus-1.0/include/dbus/dbus-arch-deps.h \ $INCDIR/dbus-1.0/dbus/ pushd $INCDIR ln -nsf dbus-1.0/dbus . popd pushd $BINDIR cp -p $SPCMISC/dbus-{start,stop} . chmod 755 dbus-{start,stop} mv dbus-launch{,.bin} sed -e "s|__META_PREFIX__|$PKGDIR_PROD|g" \ -e "s|__META_PRODTREE__|$PRODTREE|g" \ < $SPCWRAP/dbus-launch.wrapper.in \ > dbus-launch chmod 755 dbus-launch popd # The daemon is a special case. For unknown reasons, it comes out in a # format that doesn't look like a standard executable to the "build" # system's package-system integration code. This may prevent stripping # and compression. Since the program is fairly large, we'll fix things # up here. cd $BINDIR X=dbus-daemon (upx -d $X || true) strip $X upx --lzma $X cp -p $PKGDIR_SPECIAL/rc.dbus /etc/rc.d/ chmod 755 /etc/rc.d/rc.dbus #--------------------------------------------------------------------- # Original URLs. These URLs were valid at one point, but may have died # since then. If you download newer versions of tarballs [etc.], don't # delete the original versions, as you may not be able to replace # them. [urls] url_debian = http://packages.debian.org/unstable/source/dbus url_home = http://www.freedesktop.org/wiki/Software/dbus url_lfs = n/a url_tarball = http://dbus.freedesktop.org/releases/dbus/\ dbus-1.14.10.tar.xz #--------------------------------------------------------------------- [history] 170505 Updated from 1.8.20 to 1.10.18 170912 Updated to 1.10.22 171028 Updated to 1.10.24 171119 Updated to 1.12.2 180308 Updated to 1.12.6 180501 Updated to 1.12.8 180908 Updated to 1.12.10 181206 Updated to 1.12.12 190518 Updated to 1.12.14 190617 Updated to 1.12.16 210125 Updated to 1.12.20 220227 Updated to 1.12.22 230619 Updated to 1.14.6 230625 Updated to 1.14.8 240308 Updated to 1.14.10