- added imgmax patch: add imgmax=d arg to get original size photos master auto/th/PicasaWebDownloader-1_2-1
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 25 Mar 2012 07:47:51 +0000 (07:47 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    PicasaWebDownloader-imgmax.patch -> 1.1
    PicasaWebDownloader.spec -> 1.4

PicasaWebDownloader-imgmax.patch [new file with mode: 0644]
PicasaWebDownloader.spec

diff --git a/PicasaWebDownloader-imgmax.patch b/PicasaWebDownloader-imgmax.patch
new file mode 100644 (file)
index 0000000..b2db6ec
--- /dev/null
@@ -0,0 +1,11 @@
+--- PicasaWebDownloader-1.2/Program.cs.orig    2008-09-11 18:10:26.000000000 +0200
++++ PicasaWebDownloader-1.2/Program.cs 2012-03-25 09:46:04.956436678 +0200
+@@ -64,7 +64,7 @@
+         /// corresponding Google data API URLs.
+         /// </summary>
+         const string GoogleAPIReplacementPattern =
+-            "http://picasaweb.google.${tld}/data/feed/api/user/${username}/album${qual}/${album}?kind=photo&${authkey}";
++            "http://picasaweb.google.${tld}/data/feed/api/user/${username}/album${qual}/${album}?kind=photo&imgmax=d&${authkey}";
+           /// <summary>
+           /// A regular expression used to match counter suffixes ("(2)", "(3)" etc.) in filenames.
index 604d648..c4f45f2 100644 (file)
@@ -7,8 +7,11 @@ License:       WTFPL
 Group:         Applications/Graphics
 Source0:       http://www.tomergabel.com/content/binary/PicasaWebDownloader12.zip
 # Source0-md5: e98b327af6fff08964aeb18fae1a0fc4
+Patch0:                %{name}-imgmax.patch
 URL:           http://www.tomergabel.com/PicasaWebDownloader.aspx
 BuildRequires: mono-csharp
+BuildRequires: rpmbuild(macros) >= 1.566
+BuildRequires: sed >= 4.0
 BuildRequires: unzip
 Requires:      mono
 ExcludeArch:   i386
@@ -25,6 +28,8 @@ Windows).
 
 %prep
 %setup -q -c
+%undos Program.cs
+%patch0 -p1
 
 %build
 gmcs -out:PicasaWebDownloader.exe Program.cs AssemblyInfo.cs
This page took 0.087213 seconds and 4 git commands to generate.