FreeBSD Bugzilla – Attachment 124997 Details for
Bug 168535
audio/pithos port update 0.3.14 to 0.3.17
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 5.93 KB, created by
John Hixson
on 2012-06-01 20:10:11 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
John Hixson
Created:
2012-06-01 20:10:11 UTC
Size:
5.93 KB
patch
obsolete
>diff -urN audio/pithos/Makefile pithos/Makefile >--- audio/pithos/Makefile 2012-04-27 14:02:43.000000000 -0700 >+++ audio/pithos/Makefile 2012-06-01 11:39:31.000000000 -0700 >@@ -6,7 +6,7 @@ > # > > PORTNAME= pithos >-PORTVERSION= 0.3.14 >+PORTVERSION= 0.3.17 > PORTREVISION= 1 > CATEGORIES= audio > MASTER_SITES= DEBIAN >@@ -35,7 +35,7 @@ > > post-patch: > ${REINPLACE_CMD} -e "s,../data/,${DATADIR}/," ${WRKSRC}/pithos/pithosconfig.py >- ${REINPLACE_CMD} -e "s,Icon=pithos,${DATADIR}/media/icon.png," ${WRKSRC}/pithos.desktop.in >+ ${REINPLACE_CMD} -e "s,Icon=pithos,${DATADIR}/media/icon.png," ${WRKSRC}/pithos.desktop > > post-install: > @${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 555 \ >diff -urN audio/pithos/distinfo pithos/distinfo >--- audio/pithos/distinfo 2012-04-16 11:47:55.000000000 -0700 >+++ audio/pithos/distinfo 2012-06-01 11:24:04.000000000 -0700 >@@ -1,2 +1,2 @@ >-SHA256 (pithos_0.3.14.orig.tar.gz) = 94bddb70259712d5605de461e7d2cf816d5b0b65ffedf35cee71b2d1f7041bc5 >-SIZE (pithos_0.3.14.orig.tar.gz) = 141370 >+SHA256 (pithos_0.3.17.orig.tar.gz) = ef6ee1545fa60b065b0043d79fe89fd1c1b70fe4ae944055d2c7b9d890cf1bde >+SIZE (pithos_0.3.17.orig.tar.gz) = 141332 >diff -urN audio/pithos/files/patch-bin-pithos pithos/files/patch-bin-pithos >--- audio/pithos/files/patch-bin-pithos 1969-12-31 16:00:00.000000000 -0800 >+++ audio/pithos/files/patch-bin-pithos 2012-06-01 11:36:22.000000000 -0700 >@@ -0,0 +1,8 @@ >+--- bin/pithos 2012-05-03 13:47:11.000000000 -0700 >++++ bin/pithos 2012-06-01 11:27:29.000000000 -0700 >+@@ -1,4 +1,4 @@ >+-#!/usr/bin/python >++#!/usr/bin/env python >+ # -*- coding: utf-8; tab-width: 4; indent-tabs-mode: nil; -*- >+ ### BEGIN LICENSE >+ # Copyright (C) 2010-2012 Kevin Mehall <km@kevinmehall.net> >diff -urN audio/pithos/files/patch-bin__pithos pithos/files/patch-bin__pithos >--- audio/pithos/files/patch-bin__pithos 2012-04-16 11:47:55.000000000 -0700 >+++ audio/pithos/files/patch-bin__pithos 1969-12-31 16:00:00.000000000 -0800 >@@ -1,8 +0,0 @@ >---- ./bin/pithos.orig 2011-12-14 16:33:47.000000000 -0800 >-+++ ./bin/pithos 2012-04-16 10:58:58.472393323 -0700 >-@@ -1,4 +1,4 @@ >--#!/usr/bin/python >-+#!/usr/bin/env python >- # -*- coding: utf-8; tab-width: 4; indent-tabs-mode: nil; -*- >- ### BEGIN LICENSE >- # Copyright (C) 2010 Kevin Mehall <km@kevinmehall.net> >diff -urN audio/pithos/files/patch-pandora.py pithos/files/patch-pandora.py >--- audio/pithos/files/patch-pandora.py 2012-04-27 14:02:43.000000000 -0700 >+++ audio/pithos/files/patch-pandora.py 1969-12-31 16:00:00.000000000 -0800 >@@ -1,31 +0,0 @@ >---- pithos/pandora/pandora.py.orig 2011-12-14 16:33:47.000000000 -0800 >-+++ pithos/pandora/pandora.py 2012-04-27 13:41:25.000000000 -0700 >-@@ -22,7 +22,7 @@ >- from pithos.pandora.xmlrpc import * >- from pithos.pandora.blowfish import Blowfish >- >--PROTOCOL_VERSION = "33" >-+PROTOCOL_VERSION = "34" >- RPC_URL = "www.pandora.com/radio/xmlrpc/v"+PROTOCOL_VERSION+"?" >- USER_AGENT = "Mozilla/5.0 (X11; U; Linux i586; de; rv:5.0) Gecko/20100101 Firefox/5.0 (compatible; Pithos/0.3)" >- HTTP_TIMEOUT = 30 >-@@ -161,12 +161,16 @@ >- def connect(self, user, password): >- self.rid = "%07iP"%(int(time.time()) % 10000000) >- self.listenerId = self.authToken = None >-+ >-+ logging.info("Attempting to connect..."); >-+ timeurl = urllib2.urlopen("http://ridetheclown.com/s2/synctime.php"); >-+ pandora_time=int(timeurl.read(),10); >-+ logging.info("Synctime is %s", pandora_time) >- >-- pandora_time = self.xmlrpc_call('misc.sync', [], [], secure=True, includeTime=False) >-- pandora_time = int(re.sub(r"\D", "", pandora_decrypt(pandora_time))) >- self.time_offset = pandora_time - time.time() >- >-- user = self.xmlrpc_call('listener.authenticateListener', [user, password], [], secure=True) >-+ user = self.xmlrpc_call('listener.authenticateListener', ["",user, password,"html5tuner","","","HTML5",True], [], secure=True) >-+ >- >- self.webAuthToken = user['webAuthToken'] >- self.listenerId = user['listenerId'] >\ No newline at end of file >diff -urN audio/pithos/files/patch-setup.py pithos/files/patch-setup.py >--- audio/pithos/files/patch-setup.py 2012-04-16 11:47:55.000000000 -0700 >+++ audio/pithos/files/patch-setup.py 2012-06-01 11:41:20.000000000 -0700 >@@ -1,6 +1,6 @@ >---- ./setup.py.orig 2011-12-14 16:33:47.000000000 -0800 >-+++ ./setup.py 2012-04-16 10:58:58.477390915 -0700 >-@@ -17,67 +17,19 @@ >+--- setup.py 2012-05-03 13:47:11.000000000 -0700 >++++ setup.py 2012-06-01 11:40:31.000000000 -0700 >+@@ -17,74 +17,19 @@ > > ###################### DO NOT TOUCH THIS (HEAD TO THE SECOND PART) ###################### > >@@ -54,6 +54,13 @@ > - DistUtilsExtra.auto.install_auto.run(self) > - update_data_path(self.prefix, previous_value) > - >+-from distutils.cmd import Command >+-class OverrideI18NCommand(Command): >+- def initialize_options(self): pass >+- def finalize_options(self): pass >+- def run(self): >+- self.distribution.data_files.append(('share/applications', ['pithos.desktop'])) >+- > -from DistUtilsExtra.command.build_extra import build_extra > -from DistUtilsExtra.command.build_icons import build_icons > - >@@ -63,18 +70,16 @@ > name='pithos', > - version='0.3', > - ext_modules=[], >-- license='GPL-3', >-+ version='0.3.14', >-+ description='Pandora.com client for the GNOME desktop', >++ version='0.3.17', >+ license='GPL-3', > author='Kevin Mehall', > author_email='km@kevinmehall.net', >-- description='Pandora.com client for the GNOME desktop', >+ description='Pandora.com client for the GNOME desktop', > - #long_description='Here a longer description', > url='https://launchpad.net/pithos', >-- cmdclass={'install': InstallAndUpdateDataDirectory, 'build_icons':build_icons, 'build':build_extra} >+- cmdclass={'install': InstallAndUpdateDataDirectory, 'build_icons':build_icons, 'build':build_extra, 'build_i18n':OverrideI18NCommand} > - ) > - >-+ license='GPL-3', > + packages=['pithos', 'pithos.pandora', 'pithos.plugins'], > + package_dir = {'pithos':'pithos'} > +)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 168535
: 124997