rpms/obex-data-server/devel obex-data-server-0.3.4-bluez4.patch, 1.1, 1.2 obex-data-server.spec, 1.9, 1.10
Bastien Nocera
hadess at fedoraproject.org
Fri Sep 12 16:53:55 UTC 2008
Author: hadess
Update of /cvs/pkgs/rpms/obex-data-server/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv6761
Modified Files:
obex-data-server-0.3.4-bluez4.patch obex-data-server.spec
Log Message:
* Fri Sep 12 2008 - Bastien Nocera <bnocera at redhat.com> - 0.3.4-4
- Update bluez 4.x patch for the latest D-Bus API
obex-data-server-0.3.4-bluez4.patch:
Index: obex-data-server-0.3.4-bluez4.patch
===================================================================
RCS file: /cvs/pkgs/rpms/obex-data-server/devel/obex-data-server-0.3.4-bluez4.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- obex-data-server-0.3.4-bluez4.patch 11 Sep 2008 13:01:10 -0000 1.1
+++ obex-data-server-0.3.4-bluez4.patch 12 Sep 2008 16:53:24 -0000 1.2
@@ -1,11 +1,35 @@
---- obex-data-server-0.3.4/src/ods-bluez.c 2008-06-27 16:21:14.000000000 +0100
-+++ obex-data-server-0.3.4.new/src/ods-bluez.c 2008-09-11 13:56:37.000000000 +0100
-@@ -314,7 +314,7 @@ get_remote_service_record_cb (DBusGProxy
+Index: src/ods-bluez.c
+===================================================================
+--- src/ods-bluez.c (revision 1878)
++++ src/ods-bluez.c (working copy)
+@@ -109,18 +109,18 @@
+ ods_bluez_init (OdsBluez *bluez)
+ {
+ GError *error = NULL;
+- gchar *adapter_object = NULL;
++ char *adapter_object = NULL;
+
+ OdsBluezClass *klass = ODS_BLUEZ_GET_CLASS (bluez);
+ bluez->priv = ODS_BLUEZ_GET_PRIVATE (bluez);
+
+ bluez->priv->manager_proxy = dbus_g_proxy_new_for_name (klass->connection,
+ "org.bluez",
+- "/org/bluez",
++ "/",
+ "org.bluez.Manager");
+ if (!dbus_g_proxy_call (bluez->priv->manager_proxy, "DefaultAdapter", &error,
+ G_TYPE_INVALID,
+- G_TYPE_STRING, &adapter_object,
++ DBUS_TYPE_G_OBJECT_PATH, &adapter_object,
+ G_TYPE_INVALID)) {
+ g_warning("Unable to connect to dbus: %s", error->message);
+ g_clear_error (&error);
+@@ -349,7 +349,7 @@
goto err;
}
-
+
- sdp_record = sdp_extract_pdu ((uint8_t *)record_array->data, &scanned);
+ sdp_record = sdp_extract_pdu ((uint8_t *)record_array->data, record_array->len, &scanned);
-
+
/* get channel for this service */
if (sdp_get_access_protos (sdp_record, &protos) != 0) {
Index: obex-data-server.spec
===================================================================
RCS file: /cvs/pkgs/rpms/obex-data-server/devel/obex-data-server.spec,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- obex-data-server.spec 11 Sep 2008 13:01:10 -0000 1.9
+++ obex-data-server.spec 12 Sep 2008 16:53:25 -0000 1.10
@@ -1,6 +1,6 @@
Name: obex-data-server
Version: 0.3.4
-Release: 3%{?dist}
+Release: 4%{?dist}
Epoch: 1
Summary: D-Bus service for Obex access
@@ -25,7 +25,7 @@
%prep
%setup -q
-%patch0 -p1 -b .bluez4
+%patch0 -p0 -b .bluez4
%build
%configure
@@ -63,6 +63,9 @@
%{_mandir}/man1/obex-data-server.1.gz
%changelog
+* Fri Sep 12 2008 - Bastien Nocera <bnocera at redhat.com> - 0.3.4-4
+- Update bluez 4.x patch for the latest D-Bus API
+
* Thu Sep 11 2008 - Bastien Nocera <bnocera at redhat.com> - 0.3.4-3
- Rebuild with BlueZ 4.x patch
More information about the fedora-extras-commits
mailing list