A set of patches to compile bickley on x86_64 architecture (on openSuSE
11.1).
The patches only do a cast to the expected data types in some lines of
codes.
I've not tested the patched code on i586 architecture.
The attached patches are submitted under the terms here:
http://bugzilla.openedhand.com/waiver.html
Thanks.
--- a/bickley-0.4.120090518/src/audio-metadata.c 2009-05-16 19:38:21.000000000 +0200
+++ b/bickley-0.4.120090518/src/audio-metadata.c 2009-06-09 15:08:05.000000000 +0200
@@ -555,7 +555,7 @@
if (gst_element_query_duration (playbin, &format, &duration)) {
g_hash_table_insert (metadata, METADATA_AUDIO_DURATION,
- g_strdup_printf ("%lld", duration / GST_SECOND));
+ g_strdup_printf ("%lld", (long long int) duration / GST_SECOND));
}
bus = gst_element_get_bus (playbin);
--- a/bickley-0.4.120090518/src/bkl-investigator.c 2009-05-16 19:38:21.000000000 +0200
+++ b/bickley-0.4.120090518/src/bkl-investigator.c 2009-06-09 15:09:53.000000000 +0200
@@ -194,7 +194,7 @@
g_hash_table_insert (metadata, METADATA_FILE_URI, g_strdup (uri));
g_hash_table_insert (metadata, METADATA_FILE_SIZE,
- g_strdup_printf ("%lld", g_file_info_get_size (info)));
+ g_strdup_printf ("%lld", (long long int) g_file_info_get_size (info)));
g_file_info_get_modification_time (info, &result);
g_hash_table_insert (metadata, METADATA_FILE_MTIME,
--- a/bickley-0.4.120090518/src/pixbuf-thumbnail.c 2009-05-16 19:38:21.000000000 +0200
+++ b/bickley-0.4.120090518/src/pixbuf-thumbnail.c 2009-06-09 15:10:30.000000000 +0200
@@ -103,7 +103,7 @@
if (error != NULL) {
uri = g_file_get_uri (file);
g_warning ("Error writing %d bytes to pixbuf for %s: %s",
- count, uri, error->message);
+ (int) count, uri, error->message);
g_free (uri);
g_error_free (error);
_______________________________________________
Moblin dev Mailing List
[email protected]
To manage or unsubscribe from this mailing list visit:
https://lists.moblin.org/mailman/listinfo/dev or your user account on
http://moblin.org once logged in.
For more information on the Moblin Developer Mailing lists visit:
http://moblin.org/community/mailing-lists