Hello community,
here is the log from the commit of package dbus-1-glib
checked in at Wed Aug 16 12:57:26 CEST 2006.
--------
New Changes file:
--- /dev/null 2002-12-09 23:01:21.000000000 +0100
+++ dbus-1-glib/dbus-1-glib.changes 2006-08-16 11:07:41.000000000 +0200
@@ -0,0 +1,14 @@
+-------------------------------------------------------------------
+Tue Aug 1 23:03:57 CEST 2006 - thoenig@suse.de
+
+- new upstream version 0.71
+- new package: dbus-1-glib-devel
+- moved dbus-binding-tool from dbus-1-glib to dbus-1-glib-devel
+- moved GLib header and .la files from dbus-1-devel to
+ dbus-1-glib-devel
+
+-------------------------------------------------------------------
+Tue Aug 1 23:03:23 CEST 2006 - thoenig@suse.de
+
+- split out binings to sparate spec files
+
New:
----
dbus-1-glib.changes
dbus-1-glib.spec
dbus-glib-0.71.tar.gz
dbus-glib-gvalue-utils-fix-thoenig-01.patch
dbus-glib-introspect-fix-thoenig-01.patch
dbus-glib-nameownerchange-workaround-thoenig-01.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ dbus-1-glib.spec ++++++
#
# spec file for package dbus-1-glib (Version 0.71)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: dbus-1-glib
BuildRequires: dbus-1 dbus-1-devel dbus-1-x11 expat glib2-devel libxml2-devel
URL: http://dbus.freedesktop.org/
License: Other uncritical OpenSource License, Other License(s), see package
Group: Development/Libraries/Other
Version: 0.71
Release: 2
Autoreqprov: on
Summary: GLib-based library for using D-Bus
Source0: dbus-glib-%{version}.tar.gz
Patch0: dbus-glib-nameownerchange-workaround-thoenig-01.patch
Patch1: dbus-glib-introspect-fix-thoenig-01.patch
Patch2: dbus-glib-gvalue-utils-fix-thoenig-01.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: dbus-1 = %( echo `rpm -q --queryformat '%{VERSION}-%{RELEASE}' dbus-1`)
%package -n dbus-1-glib-devel
Summary: Developer package for D-BUS/GLib bindings
Requires: dbus-1 = %( echo `rpm -q --queryformat '%{VERSION}-%{RELEASE}' dbus-1`)
Requires: dbus-1-devel = %( echo `rpm -q --queryformat '%{VERSION}-%{RELEASE}' dbus-1-devel`)
Requires: dbus-1-glib = %{version}
Requires: glib2-devel
Autoreqprov: on
Group: Development/Libraries/Other
%description
D-Bus add-on library to integrate the standard D-Bus library with the
GLib thread abstraction and main loop.
Authors:
--------
Olivier Andrieu
Hey John,
Has there been a particular reason to use the system bus -- and not a session bus as before -- for buildings ./tools of the GLib bindings?
Timo
--- tools/Makefile.am_org 2006-08-01 21:04:47.000000000 +0200
+++ tools/Makefile.am 2006-08-01 21:06:09.000000000 +0200
@@ -8,8 +8,8 @@
BUILT_SOURCES = dbus-glib-bindings.h dbus-bus-introspect.xml
-dbus-bus-introspect.xml:
- DBUS_TOP_BUILDDIR=$(top_builddir) dbus-send --system --print-reply=literal --dest=org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus.Introspectable.Introspect > dbus-bus-introspect.xml.tmp && mv dbus-bus-introspect.xml.tmp dbus-bus-introspect.xml
+dbus-bus-introspect.xml:
+ DBUS_TOP_BUILDDIR=$(top_builddir) $(srcdir)/run-with-tmp-session-bus.sh dbus-send --print-reply=literal --dest=org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus.Introspectable.Introspect > dbus-bus-introspect.xml.tmp && mv dbus-bus-introspect.xml.tmp dbus-bus-introspect.xml
EXTRA_DIST = run-with-tmp-session-bus.sh
--- tools/run-with-tmp-session-bus.sh_org 2006-08-01 21:39:00.000000000 +0200
+++ tools/run-with-tmp-session-bus.sh 2006-08-01 21:39:30.000000000 +0200
@@ -27,7 +27,7 @@
echo "escaped service dir is: $ESCAPED_SERVICE_DIR" >&2
## create a configuration file based on the standard session.conf
-cat $DBUS_TOP_BUILDDIR/tools/session.conf | \
+cat /etc/dbus-1/session.conf | \
sed -e 's/<servicedir>.*$/<servicedir>'$ESCAPED_SERVICE_DIR'<\/servicedir>/g' | \
sed -e 's/ $CONFIG_FILE
++++++ dbus-glib-nameownerchange-workaround-thoenig-01.patch ++++++
--- dbus/dbus-gproxy.c 2005-11-30 20:32:26.000000000 +0100
+++ dbus/dbus-gproxy.c 2006-02-21 22:42:46.000000000 +0100
@@ -494,6 +494,9 @@
const DBusGProxyNameOwnerInfo *info = a;
const char *name = b; + g_return_val_if_fail (a != NULL, 1);
+ g_return_val_if_fail (b != NULL, 1);
+
return strcmp (info->name, name);
}
@@ -556,6 +559,8 @@
GSList *names;
gboolean insert;
+ g_return_if_fail (info != NULL);
+
names = g_hash_table_lookup (manager->owner_names, owner);
/* Only need to g_hash_table_insert the first time */
@@ -749,7 +754,8 @@
}
else
{
- insert_nameinfo (manager, new_owner, info);
+ if (info != NULL)
+ insert_nameinfo (manager, new_owner, info);
}
}
}
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org