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
--- 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 | |
4 | DISTNAME= rhythmbox-0.12.3 | | 4 | DISTNAME= rhythmbox-0.12.3 |
| | | 5 | PKGREVISION= 1 |
5 | CATEGORIES= audio gnome | | 6 | CATEGORIES= audio gnome |
6 | MASTER_SITES= ${MASTER_SITE_GNOME:=sources/rhythmbox/0.12/} | | 7 | MASTER_SITES= ${MASTER_SITE_GNOME:=sources/rhythmbox/0.12/} |
7 | EXTRACT_SUFX= .tar.bz2 | | 8 | EXTRACT_SUFX= .tar.bz2 |
8 | | | 9 | |
9 | MAINTAINER= pkgsrc-users@NetBSD.org | | 10 | MAINTAINER= pkgsrc-users@NetBSD.org |
10 | HOMEPAGE= http://www.gnome.org/projects/rhythmbox/ | | 11 | HOMEPAGE= http://www.gnome.org/projects/rhythmbox/ |
11 | COMMENT= Music management application for GNOME | | 12 | COMMENT= Music management application for GNOME |
12 | | | 13 | |
13 | PKG_DESTDIR_SUPPORT= user-destdir | | 14 | PKG_DESTDIR_SUPPORT= user-destdir |
14 | | | 15 | |
15 | .include "options.mk" | | 16 | .include "options.mk" |
16 | | | 17 | |
17 | GNU_CONFIGURE= YES | | 18 | GNU_CONFIGURE= YES |
--- 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 | |
3 | SHA1 (rhythmbox-0.12.3.tar.bz2) = f1def95f92993ade14f7b0ec2323e9d2e4aaad03 | | 3 | SHA1 (rhythmbox-0.12.3.tar.bz2) = f1def95f92993ade14f7b0ec2323e9d2e4aaad03 |
4 | RMD160 (rhythmbox-0.12.3.tar.bz2) = 8fc030b320065578b4a0851ecd87c5753b6dce93 | | 4 | RMD160 (rhythmbox-0.12.3.tar.bz2) = 8fc030b320065578b4a0851ecd87c5753b6dce93 |
5 | Size (rhythmbox-0.12.3.tar.bz2) = 4999529 bytes | | 5 | Size (rhythmbox-0.12.3.tar.bz2) = 4999529 bytes |
6 | SHA1 (patch-aa) = a31b22483c63ee73bf32ca583afcc82c29e9562a | | 6 | SHA1 (patch-aa) = a31b22483c63ee73bf32ca583afcc82c29e9562a |
7 | SHA1 (patch-ab) = ad082691fc80177a6d6f843278f04a0f5399c205 | | 7 | SHA1 (patch-ab) = ad082691fc80177a6d6f843278f04a0f5399c205 |
| | | 8 | SHA1 (patch-ac) = c5639f5ecef6c1b42a4071fc77338591f12683cc |
| | | 9 | SHA1 (patch-ad) = a7c4ce6c5ce65b7262a9a7de2c2f8414cf27f100 |
$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']
$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)