Update to rhythmbox-2.99.1.

This commit is contained in:
ajacoutot 2013-04-13 08:40:22 +00:00
parent 00ba833075
commit 801f1b340b
5 changed files with 6 additions and 72 deletions

View File

@ -1,12 +1,11 @@
# $OpenBSD: Makefile,v 1.116 2013/04/11 11:08:03 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.117 2013/04/13 08:40:22 ajacoutot Exp $
SHARED_ONLY= Yes
COMMENT= integrated music management application for GNOME
GNOME_PROJECT= rhythmbox
GNOME_VERSION= 2.99
REVISION= 0
GNOME_VERSION= 2.99.1
SHARED_LIBS += rhythmbox-core 0.0 # 7.0
@ -101,5 +100,7 @@ post-install:
rm ${PREFIX}/lib/mozilla/plugins/*.la
# XXX hangs: check at next upgrade of rhythmbox
rm -rf ${PREFIX}/{lib,share}/rhythmbox/plugins/replaygain
# requires cdda support in gvfs -> HAL/gudev
rm -rf ${PREFIX}/{lib,share}/rhythmbox/plugins/audiocd
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (rhythmbox-2.99.tar.xz) = WoiPbJYHxDZHhEaeVsJFM4+W2mVMYKEvrTyXJjiK1go=
SIZE (rhythmbox-2.99.tar.xz) = 6368348
SHA256 (rhythmbox-2.99.1.tar.xz) = 7TC7U0p4nitQ+VPjPu4LsJ84n+gT1DOofVBNB75fd3c=
SIZE (rhythmbox-2.99.1.tar.xz) = 6376048

View File

@ -1,16 +0,0 @@
$OpenBSD: patch-plugins_Makefile_in,v 1.5 2012/09/30 14:58:39 ajacoutot Exp $
audiocd plugin requires cdda support in gvfs which we do not provide as
this would require HAL or gudev.
--- plugins/Makefile.in.orig Sun Sep 30 11:39:55 2012
+++ plugins/Makefile.in Sun Sep 30 12:31:15 2012
@@ -423,7 +423,7 @@ top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
pluginincludedir = $(includedir)/rhythmbox/plugins
plugininclude_HEADERS = rb-plugin-macros.h
-SUBDIRS = audiocd audioscrobbler dbus-media-server generic-player \
+SUBDIRS = audioscrobbler dbus-media-server generic-player \
iradio mmkeys mpris power-manager $(am__append_1) \
$(am__append_2) $(am__append_3) $(am__append_4) \
$(am__append_5) $(am__append_6) $(am__append_7) \

View File

@ -1,32 +0,0 @@
$OpenBSD: patch-plugins_audioscrobbler_rb-audioscrobbler-entry_c,v 1.2 2012/03/12 07:42:11 ajacoutot Exp $
warning: format '%ld' expects type 'long int', but argument 2 has type 'time_t'
--- plugins/audioscrobbler/rb-audioscrobbler-entry.c.orig Sun Mar 11 09:56:46 2012
+++ plugins/audioscrobbler/rb-audioscrobbler-entry.c Mon Mar 12 08:03:21 2012
@@ -144,7 +144,7 @@ rb_audioscrobbler_entry_encode (AudioscrobblerEntry *e
encoded->mbid = soup_uri_encode (entry->mbid, EXTRA_URI_ENCODE_CHARS);
- encoded->timestamp = g_strdup_printf("%ld", (long)entry->play_time);
+ encoded->timestamp = g_strdup_printf("%d", (long)entry->play_time);
encoded->length = entry->length;
encoded->source = g_strdup (entry->source);
@@ -215,7 +215,7 @@ rb_audioscrobbler_entry_save_to_string (GString *strin
encoded = rb_audioscrobbler_entry_encode (entry);
g_string_append_printf (string,
- "a=%s&t=%s&b=%s&m=%s&l=%d&i=%ld\n",
+ "a=%s&t=%s&b=%s&m=%s&l=%d&i=%d\n",
encoded->artist,
encoded->title,
encoded->album,
@@ -232,6 +232,6 @@ rb_audioscrobbler_entry_debug (AudioscrobblerEntry *en
rb_debug (" album: %s", entry->album);
rb_debug (" title: %s", entry->title);
rb_debug (" length: %d", entry->length);
- rb_debug (" playtime: %ld", (long)entry->play_time);
+ rb_debug (" playtime: %d", (long)entry->play_time);
}

View File

@ -1,19 +0,0 @@
$OpenBSD: patch-plugins_audioscrobbler_rb-audioscrobbler_c,v 1.12 2012/03/12 07:42:11 ajacoutot Exp $
warning: format '%lu' expects type 'long unsigned int', but argument 6 has type 'time_t'
--- plugins/audioscrobbler/rb-audioscrobbler.c.orig Sun Mar 11 09:56:46 2012
+++ plugins/audioscrobbler/rb-audioscrobbler.c Mon Mar 12 08:04:08 2012
@@ -829,9 +829,9 @@ rb_audioscrobbler_should_handshake (RBAudioscrobbler *
}
if (time (NULL) < audioscrobbler->priv->handshake_next) {
- rb_debug ("Too soon; time=%ld, handshake_next=%ld",
- (long)time (NULL),
- (long)audioscrobbler->priv->handshake_next);
+ rb_debug ("Too soon; time=%d, handshake_next=%d",
+ time (NULL),
+ audioscrobbler->priv->handshake_next);
return FALSE;
}