Package: libgeoclue-dev
Version: 0.11.1-4
Severity: minor
Tags: patch
Hello.
In the documentation, it's used / * comment * /, instead of /* comment */.
Greetings.
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.29-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages libgeoclue-dev depends on:
ii libdbus-glib-1-dev 0.80-4 simple interprocess messaging syst
ii libgeoclue0 0.11.1-4 C API for GeoClue
ii libxml2-dev 2.7.3.dfsg-1 Development files for the GNOME XM
ii pkg-config 0.22-1 manage compile and link flags for
libgeoclue-dev recommends no packages.
libgeoclue-dev suggests no packages.
-- no debconf information
diff -Nudar geoclue-0.11.1.orig/docs/reference/html/GeoclueMasterClient.html geoclue-0.11.1/docs/reference/html/GeoclueMasterClient.html
--- geoclue-0.11.1.orig/docs/reference/html/GeoclueMasterClient.html 2008-04-25 17:57:00.000000000 -0300
+++ geoclue-0.11.1/docs/reference/html/GeoclueMasterClient.html 2009-07-08 14:41:30.000000000 -0300
@@ -136,7 +136,7 @@
client = geoclue_master_create_client (master, NULL, NULL);
if (!client) {
- / * handle error * /
+ /* handle error */
}
if (!geoclue_master_client_set_requirements (client,
@@ -144,17 +144,17 @@
0, FALSE,
GEOCLUE_RESOURCE_NETWORK,
&error)) {
- / * handle error * /
+ /* handle error */
}
address = geoclue_master_client_create_address (client, error);
if (!address) {
- / * handle error * /
+ /* handle error */
}
-/ * Now we can use address just like we'd use a normal address provider,
+/* Now we can use address just like we'd use a normal address provider,
but GeoclueMasterClient makes sure that underneath the provider
- that best matches our requirements is used * /
+ that best matches our requirements is used */
</pre></div>
<p>
diff -Nudar geoclue-0.11.1.orig/docs/reference/html/GeoclueProvider.html geoclue-0.11.1/docs/reference/html/GeoclueProvider.html
--- geoclue-0.11.1.orig/docs/reference/html/GeoclueProvider.html 2008-04-25 17:57:00.000000000 -0300
+++ geoclue-0.11.1/docs/reference/html/GeoclueProvider.html 2009-07-08 14:41:30.000000000 -0300
@@ -104,7 +104,7 @@
pos = geoclue_position_new ("org.freedesktop.Geoclue.Providers.Example",
"/org/freedesktop/Geoclue/Providers/Example");
if (pos == NULL) {
- / * error * /
+ /* error */
}
if (geoclue_provider_get_provider_info (GEOCLUE_PROVIDER (pos),
&name, NULL, &error)) {
diff -Nudar geoclue-0.11.1.orig/docs/reference/html/simple-example.html geoclue-0.11.1/docs/reference/html/simple-example.html
--- geoclue-0.11.1.orig/docs/reference/html/simple-example.html 2008-04-25 17:57:00.000000000 -0300
+++ geoclue-0.11.1/docs/reference/html/simple-example.html 2009-07-08 14:41:30.000000000 -0300
@@ -45,12 +45,12 @@
g_type_init ();
- / * Create the position object * /
+ /* Create the position object */
pos = geoclue_position_new ("org.freedesktop.Geoclue.Providers.Hostip",
"/org/freedesktop/Geoclue/Providers/Hostip");
- / * call get_position. Note that unneeded output variables (here
- timestamp, altitude and accuracy) can be left NULL * /
+ /* call get_position. Note that unneeded output variables (here
+ timestamp, altitude and accuracy) can be left NULL */
fields = geoclue_position_get_position (pos, NULL,
&lat, &lon, NULL,
NULL, &error);
@@ -84,7 +84,7 @@
<pre class="programlisting">
#include <geoclue/geoclue-position.h>
-/ * device name or bluetooth address * /
+/* device name or bluetooth address */
#define GPS_DEVICE_NAME "00:02:76:C5:81:BF"
static void
@@ -115,11 +115,11 @@
g_type_init ();
- / * Create the position object * /
+ /* Create the position object */
pos = geoclue_position_new ("org.freedesktop.Geoclue.Providers.Gypsy",
"/org/freedesktop/Geoclue/Providers/Gypsy");
- / * Set GPS device name option for Gypsy * /
+ /* Set GPS device name option for Gypsy */
options = g_hash_table_new (g_str_hash, g_str_equal);
g_hash_table_insert (options, "org.freedesktop.Geoclue.GPSDevice", GPS_DEVICE_NAME);
if (!geoclue_provider_set_options (GEOCLUE_PROVIDER (pos), options, &error)) {
@@ -131,7 +131,7 @@
}
g_hash_table_destroy (options);
- / * connect to signal * /
+ /* connect to signal */
g_signal_connect (G_OBJECT (pos), "position-changed",
G_CALLBACK (position_changed), NULL);
diff -Nudar geoclue-0.11.1.orig/docs/reference/html/simple-master-example.html geoclue-0.11.1/docs/reference/html/simple-master-example.html
--- geoclue-0.11.1.orig/docs/reference/html/simple-master-example.html 2008-04-25 17:57:00.000000000 -0300
+++ geoclue-0.11.1/docs/reference/html/simple-master-example.html 2009-07-08 14:41:30.000000000 -0300
@@ -65,7 +65,7 @@
g_type_init ();
- / * create a MasterClient using Master * /
+ /* create a MasterClient using Master */
master = geoclue_master_get_default ();
client = geoclue_master_create_client (master, NULL, &error);
g_object_unref (master);
@@ -76,8 +76,8 @@
return 1;
}
- / * Set our requirements: We want at least city level accuracy, require signals,
- and allow the use of network (but not e.g. GPS) * /
+ /* Set our requirements: We want at least city level accuracy, require signals,
+ and allow the use of network (but not e.g. GPS) */
if (!geoclue_master_client_set_requirements (client,
GEOCLUE_ACCURACY_LEVEL_LOCALITY,
0, TRUE,
@@ -90,7 +90,7 @@
}
- / * Get a Position object * /
+ /* Get a Position object */
pos = geoclue_master_client_create_position (client, NULL);
if (!pos) {
g_printerr ("Failed to get a position object");
@@ -98,8 +98,8 @@
return 1;
}
- / * call get_position. We do not know which provider actually provides
- the answer (although we could find out using MasterClient API) * /
+ /* call get_position. We do not know which provider actually provides
+ the answer (although we could find out using MasterClient API) */
fields = geoclue_position_get_position (pos, NULL,
&lat, &lon, NULL,
NULL, &error);
diff -Nudar geoclue-0.11.1.orig/docs/reference/implementing-providers.xml geoclue-0.11.1/docs/reference/implementing-providers.xml
--- geoclue-0.11.1.orig/docs/reference/implementing-providers.xml 2008-04-25 10:39:19.000000000 -0300
+++ geoclue-0.11.1/docs/reference/implementing-providers.xml 2009-07-08 14:40:05.000000000 -0300
@@ -341,7 +341,7 @@
{
static GeoclueAccuracy *accuracy = geoclue_accuracy_new (GEOCLUE_ACCURACY_LEVEL_NONE, 0, 0);
- / * make up some coordinates * /
+ /* make up some coordinates */
static double lat = 60.0;
static double lon = 25.0;
diff -Nudar geoclue-0.11.1.orig/docs/reference/using-geoclue.xml geoclue-0.11.1/docs/reference/using-geoclue.xml
--- geoclue-0.11.1.orig/docs/reference/using-geoclue.xml 2008-04-25 17:49:40.000000000 -0300
+++ geoclue-0.11.1/docs/reference/using-geoclue.xml 2009-07-08 14:41:30.000000000 -0300
@@ -116,12 +116,12 @@
g_type_init ();
- / * Create the position object * /
+ /* Create the position object */
pos = geoclue_position_new ("org.freedesktop.Geoclue.Providers.Hostip",
"/org/freedesktop/Geoclue/Providers/Hostip");
- / * call get_position. Note that unneeded output variables (here
- timestamp, altitude and accuracy) can be left NULL * /
+ /* call get_position. Note that unneeded output variables (here
+ timestamp, altitude and accuracy) can be left NULL */
fields = geoclue_position_get_position (pos, NULL,
&lat, &lon, NULL,
NULL, &error);
@@ -155,7 +155,7 @@
<programlisting>
#include <geoclue/geoclue-position.h>
-/ * device name or bluetooth address * /
+/* device name or bluetooth address */
#define GPS_DEVICE_NAME "00:02:76:C5:81:BF"
static void
@@ -186,11 +186,11 @@
g_type_init ();
- / * Create the position object * /
+ /* Create the position object */
pos = geoclue_position_new ("org.freedesktop.Geoclue.Providers.Gypsy",
"/org/freedesktop/Geoclue/Providers/Gypsy");
- / * Set GPS device name option for Gypsy * /
+ /* Set GPS device name option for Gypsy */
options = g_hash_table_new (g_str_hash, g_str_equal);
g_hash_table_insert (options, "org.freedesktop.Geoclue.GPSDevice", GPS_DEVICE_NAME);
if (!geoclue_provider_set_options (GEOCLUE_PROVIDER (pos), options, &error)) {
@@ -202,7 +202,7 @@
}
g_hash_table_destroy (options);
- / * connect to signal * /
+ /* connect to signal */
g_signal_connect (G_OBJECT (pos), "position-changed",
G_CALLBACK (position_changed), NULL);
@@ -260,7 +260,7 @@
g_type_init ();
- / * create a MasterClient using Master * /
+ /* create a MasterClient using Master */
master = geoclue_master_get_default ();
client = geoclue_master_create_client (master, NULL, &error);
g_object_unref (master);
@@ -271,8 +271,8 @@
return 1;
}
- / * Set our requirements: We want at least city level accuracy, require signals,
- and allow the use of network (but not e.g. GPS) * /
+ /* Set our requirements: We want at least city level accuracy, require signals,
+ and allow the use of network (but not e.g. GPS) */
if (!geoclue_master_client_set_requirements (client,
GEOCLUE_ACCURACY_LEVEL_LOCALITY,
0, TRUE,
@@ -285,7 +285,7 @@
}
- / * Get a Position object * /
+ /* Get a Position object */
pos = geoclue_master_client_create_position (client, NULL);
if (!pos) {
g_printerr ("Failed to get a position object");
@@ -293,8 +293,8 @@
return 1;
}
- / * call get_position. We do not know which provider actually provides
- the answer (although we could find out using MasterClient API) * /
+ /* call get_position. We do not know which provider actually provides
+ the answer (although we could find out using MasterClient API) */
fields = geoclue_position_get_position (pos, NULL,
&lat, &lon, NULL,
NULL, &error);
diff -Nudar geoclue-0.11.1.orig/docs/reference/xml/gc-web-service.xml geoclue-0.11.1/docs/reference/xml/gc-web-service.xml
--- geoclue-0.11.1.orig/docs/reference/xml/gc-web-service.xml 2008-04-25 17:57:00.000000000 -0300
+++ geoclue-0.11.1/docs/reference/xml/gc-web-service.xml 2009-07-08 14:40:31.000000000 -0300
@@ -73,22 +73,22 @@
web_service = g_object_new (GC_TYPE_WEB_SERVICE, NULL);
gc_web_service_set_base_url (web_service, "http://example.org");
-/ * Add namespaces if needed * /
+/* Add namespaces if needed */
gc_web_service_add_namespace (web_service,
"ns_name", "http://example.org/ns");
. . .
-/ * Fetch document "http://api.example.org?key1=val1&key2=val2" * /
+/* Fetch document "http://api.example.org?key1=val1&key2=val2" */
if (!gc_web_service_query (web_service,
"key1", "val1"
"key2", val2"
(char *)0)) {
- / * error * /
+ /* error */
return;
}
-/ * Use XPath expressions to parse the xml in fetched document * /
+/* Use XPath expressions to parse the xml in fetched document */
gchar *str;
if (gc_web_service_get_string (web_service,
&str, "//path/to/element")) {
diff -Nudar geoclue-0.11.1.orig/docs/reference/xml/geoclue-master-client.xml geoclue-0.11.1/docs/reference/xml/geoclue-master-client.xml
--- geoclue-0.11.1.orig/docs/reference/xml/geoclue-master-client.xml 2008-04-25 17:57:00.000000000 -0300
+++ geoclue-0.11.1/docs/reference/xml/geoclue-master-client.xml 2009-07-08 14:41:30.000000000 -0300
@@ -119,7 +119,7 @@
client = geoclue_master_create_client (master, NULL, NULL);
if (!client) {
- / * handle error * /
+ /* handle error */
}
if (!geoclue_master_client_set_requirements (client,
@@ -127,17 +127,17 @@
0, FALSE,
GEOCLUE_RESOURCE_NETWORK,
&error)) {
- / * handle error * /
+ /* handle error */
}
address = geoclue_master_client_create_address (client, error);
if (!address) {
- / * handle error * /
+ /* handle error */
}
-/ * Now we can use address just like we'd use a normal address provider,
+/* Now we can use address just like we'd use a normal address provider,
but GeoclueMasterClient makes sure that underneath the provider
- that best matches our requirements is used * /
+ that best matches our requirements is used */
</programlisting>
</informalexample></para>
<para>
diff -Nudar geoclue-0.11.1.orig/docs/reference/xml/geoclue-provider.xml geoclue-0.11.1/docs/reference/xml/geoclue-provider.xml
--- geoclue-0.11.1.orig/docs/reference/xml/geoclue-provider.xml 2008-04-25 17:57:00.000000000 -0300
+++ geoclue-0.11.1/docs/reference/xml/geoclue-provider.xml 2009-07-08 14:41:30.000000000 -0300
@@ -87,7 +87,7 @@
pos = geoclue_position_new ("org.freedesktop.Geoclue.Providers.Example",
"/org/freedesktop/Geoclue/Providers/Example");
if (pos == NULL) {
- / * error * /
+ /* error */
}
if (geoclue_provider_get_provider_info (GEOCLUE_PROVIDER (pos),
&name, NULL, &error)) {