Sun Aug 2 12:10:39 2009 UTC ()
fix some glitches with UPnP interaction, bump PKGREVISION


(drochner)
diff -r1.67 -r1.68 pkgsrc/audio/rhythmbox/Makefile
diff -r1.29 -r1.30 pkgsrc/audio/rhythmbox/distinfo
diff -r0 -r1.7 pkgsrc/audio/rhythmbox/patches/patch-ac
diff -r0 -r1.8 pkgsrc/audio/rhythmbox/patches/patch-ad

cvs diff -r1.67 -r1.68 pkgsrc/audio/rhythmbox/Makefile (expand / switch to unified diff)

--- pkgsrc/audio/rhythmbox/Makefile 2009/07/31 08:50:27 1.67
+++ pkgsrc/audio/rhythmbox/Makefile 2009/08/02 12:10:39 1.68
@@ -1,17 +1,18 @@ @@ -1,17 +1,18 @@
1# $NetBSD: Makefile,v 1.67 2009/07/31 08:50:27 drochner Exp $ 1# $NetBSD: Makefile,v 1.68 2009/08/02 12:10:39 drochner Exp $
2# 2#
3 3
4DISTNAME= rhythmbox-0.12.3 4DISTNAME= rhythmbox-0.12.3
 5PKGREVISION= 1
5CATEGORIES= audio gnome 6CATEGORIES= audio gnome
6MASTER_SITES= ${MASTER_SITE_GNOME:=sources/rhythmbox/0.12/} 7MASTER_SITES= ${MASTER_SITE_GNOME:=sources/rhythmbox/0.12/}
7EXTRACT_SUFX= .tar.bz2 8EXTRACT_SUFX= .tar.bz2
8 9
9MAINTAINER= pkgsrc-users@NetBSD.org 10MAINTAINER= pkgsrc-users@NetBSD.org
10HOMEPAGE= http://www.gnome.org/projects/rhythmbox/ 11HOMEPAGE= http://www.gnome.org/projects/rhythmbox/
11COMMENT= Music management application for GNOME 12COMMENT= Music management application for GNOME
12 13
13PKG_DESTDIR_SUPPORT= user-destdir 14PKG_DESTDIR_SUPPORT= user-destdir
14 15
15.include "options.mk" 16.include "options.mk"
16 17
17GNU_CONFIGURE= YES 18GNU_CONFIGURE= YES

cvs diff -r1.29 -r1.30 pkgsrc/audio/rhythmbox/distinfo (expand / switch to unified diff)

--- pkgsrc/audio/rhythmbox/distinfo 2009/07/31 08:50:27 1.29
+++ pkgsrc/audio/rhythmbox/distinfo 2009/08/02 12:10:39 1.30
@@ -1,7 +1,9 @@ @@ -1,7 +1,9 @@
1$NetBSD: distinfo,v 1.29 2009/07/31 08:50:27 drochner Exp $ 1$NetBSD: distinfo,v 1.30 2009/08/02 12:10:39 drochner Exp $
2 2
3SHA1 (rhythmbox-0.12.3.tar.bz2) = f1def95f92993ade14f7b0ec2323e9d2e4aaad03 3SHA1 (rhythmbox-0.12.3.tar.bz2) = f1def95f92993ade14f7b0ec2323e9d2e4aaad03
4RMD160 (rhythmbox-0.12.3.tar.bz2) = 8fc030b320065578b4a0851ecd87c5753b6dce93 4RMD160 (rhythmbox-0.12.3.tar.bz2) = 8fc030b320065578b4a0851ecd87c5753b6dce93
5Size (rhythmbox-0.12.3.tar.bz2) = 4999529 bytes 5Size (rhythmbox-0.12.3.tar.bz2) = 4999529 bytes
6SHA1 (patch-aa) = a31b22483c63ee73bf32ca583afcc82c29e9562a 6SHA1 (patch-aa) = a31b22483c63ee73bf32ca583afcc82c29e9562a
7SHA1 (patch-ab) = ad082691fc80177a6d6f843278f04a0f5399c205 7SHA1 (patch-ab) = ad082691fc80177a6d6f843278f04a0f5399c205
 8SHA1 (patch-ac) = c5639f5ecef6c1b42a4071fc77338591f12683cc
 9SHA1 (patch-ad) = a7c4ce6c5ce65b7262a9a7de2c2f8414cf27f100

File Added: pkgsrc/audio/rhythmbox/patches/Attic/patch-ac
$NetBSD: patch-ac,v 1.7 2009/08/02 12:10:39 drochner Exp $

--- plugins/coherence/upnp_coherence/MediaStore.py.orig	2009-07-31 15:20:44.000000000 +0200
+++ plugins/coherence/upnp_coherence/MediaStore.py
@@ -295,6 +295,7 @@ class MediaStore(BackendStore):
 
     def __init__(self, server, **kwargs):
         self.warning("__init__ MediaStore %r", kwargs)
+	BackendStore.__init__(self,server,**kwargs)
         self.server = server
         self.db = kwargs['db']
         self.plugin = kwargs['plugin']

File Added: pkgsrc/audio/rhythmbox/patches/Attic/patch-ad
$NetBSD: patch-ad,v 1.8 2009/08/02 12:10:39 drochner Exp $

--- plugins/coherence/upnp_coherence/MediaPlayer.py.orig	2009-07-31 15:50:21.000000000 +0200
+++ plugins/coherence/upnp_coherence/MediaPlayer.py
@@ -260,7 +260,7 @@ class RhythmboxPlayer(log.Loggable):
 
                 if duration is not None:
                     h,m,s = duration.split(':')
-                    seconds = int(h)*3600 + int(m)*60 + int(s)
+                    seconds = int(h)*3600 + int(m)*60 + int(round(float(s)))
                     self.info("%r %r:%r:%r %r", duration, h, m , s, seconds)
                     self.shell.props.db.set(self.entry, rhythmdb.PROP_DURATION, seconds)