summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGunnar Wrobel <wrobel@gentoo.org>2005-11-14 20:04:24 +0000
committerGunnar Wrobel <wrobel@gentoo.org>2005-11-14 20:04:24 +0000
commit3bb94ff27b7cdc48cd98b60c8ec009eecb2a1891 (patch)
tree1174e567bd9cd58ee8332354e24b8523fa129e76 /net-fs/flickrfs
parentFlickrfs fix (diff)
downloadoverlay-3bb94ff27b7cdc48cd98b60c8ec009eecb2a1891.tar.gz
overlay-3bb94ff27b7cdc48cd98b60c8ec009eecb2a1891.tar.bz2
overlay-3bb94ff27b7cdc48cd98b60c8ec009eecb2a1891.zip
Flickrfs fix
svn path=/; revision=523
Diffstat (limited to 'net-fs/flickrfs')
-rw-r--r--net-fs/flickrfs/files/flickrfs-1.1.patch30
1 files changed, 20 insertions, 10 deletions
diff --git a/net-fs/flickrfs/files/flickrfs-1.1.patch b/net-fs/flickrfs/files/flickrfs-1.1.patch
index 1a70743..46b5a8e 100644
--- a/net-fs/flickrfs/files/flickrfs-1.1.patch
+++ b/net-fs/flickrfs/files/flickrfs-1.1.patch
@@ -1,4 +1,4 @@
-diff -Naur flickrfs-1.1/flickrapi.py flickrfs-1.1-mod/flickrapi.py
+diff -Naur --exclude='*.pyc' flickrfs-1.1/flickrapi.py flickrfs-1.1-mod/flickrapi.py
--- flickrfs-1.1/flickrapi.py 2005-11-08 15:21:57.000000000 +0100
+++ flickrfs-1.1-mod/flickrapi.py 2005-11-14 19:47:37.000000000 +0100
@@ -1,4 +1,4 @@
@@ -7,14 +7,14 @@ diff -Naur flickrfs-1.1/flickrapi.py flickrfs-1.1-mod/flickrapi.py
#
# Flickr API implementation
#
-diff -Naur flickrfs-1.1/flickrfs.conf flickrfs-1.1-mod/flickrfs.conf
+diff -Naur --exclude='*.pyc' flickrfs-1.1/flickrfs.conf flickrfs-1.1-mod/flickrfs.conf
--- flickrfs-1.1/flickrfs.conf 1970-01-01 01:00:00.000000000 +0100
-+++ flickrfs-1.1-mod/flickrfs.conf 2005-11-14 20:48:31.000000000 +0100
++++ flickrfs-1.1-mod/flickrfs.conf 2005-11-14 21:03:03.000000000 +0100
@@ -0,0 +1,18 @@
+[USER]
+
+# for out-of-band auth inside a web browser
-+browserName : "/usr/bin/firefox"
++browserName : /usr/bin/firefox
+
+
+#-------------------------------------------------------------------
@@ -24,14 +24,14 @@ diff -Naur flickrfs-1.1/flickrfs.conf flickrfs-1.1-mod/flickrfs.conf
+# usage by different api's
+
+# API key
-+flickrAPIKey : "f8aa9917a9ae5e44a87cae657924f42d"
++flickrAPIKey : f8aa9917a9ae5e44a87cae657924f42d
+
+# shared "secret"
-+flickrSecret : "3fbf7144be7eca28"
++flickrSecret : 3fbf7144be7eca28
+
-diff -Naur flickrfs-1.1/flickrfs.py flickrfs-1.1-mod/flickrfs.py
+diff -Naur --exclude='*.pyc' flickrfs-1.1/flickrfs.py flickrfs-1.1-mod/flickrfs.py
--- flickrfs-1.1/flickrfs.py 2005-11-08 22:01:39.000000000 +0100
-+++ flickrfs-1.1-mod/flickrfs.py 2005-11-14 20:52:15.000000000 +0100
++++ flickrfs-1.1-mod/flickrfs.py 2005-11-14 21:01:30.000000000 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!python
@@ -65,7 +65,17 @@ diff -Naur flickrfs-1.1/flickrfs.py flickrfs-1.1-mod/flickrfs.py
class TransFlickr: #Transactions with flickr
def uploadfile(self, filepath, taglist, bufData, mode):
-@@ -700,6 +715,12 @@
+@@ -222,6 +237,9 @@
+ global token
+ global DefaultBlockSize
+ DefaultBlockSize = 4*1024 #4KB
++
++ print flickrAPIKey
++
+ fapi = FlickrAPI(flickrAPIKey, flickrSecret)
+
+ # proceed with auth
+@@ -700,6 +718,12 @@
#@+node:mainline
if __name__ == '__main__':
@@ -78,7 +88,7 @@ diff -Naur flickrfs-1.1/flickrfs.py flickrfs-1.1-mod/flickrfs.py
try:
server = Flickrfs()
server.multithreaded = 1;
-diff -Naur flickrfs-1.1/setup.py flickrfs-1.1-mod/setup.py
+diff -Naur --exclude='*.pyc' flickrfs-1.1/setup.py flickrfs-1.1-mod/setup.py
--- flickrfs-1.1/setup.py 1970-01-01 01:00:00.000000000 +0100
+++ flickrfs-1.1-mod/setup.py 2005-11-14 20:23:31.000000000 +0100
@@ -0,0 +1,20 @@