packages: PicasaWebDownloader/PicasaWebDownloader.spec, PicasaWebDownloader...

qboosh qboosh at pld-linux.org
Sun Mar 25 09:47:56 CEST 2012


Author: qboosh                       Date: Sun Mar 25 07:47:56 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- added imgmax patch: add imgmax=d arg to get original size photos

---- Files affected:
packages/PicasaWebDownloader:
   PicasaWebDownloader.spec (1.3 -> 1.4) , PicasaWebDownloader-imgmax.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/PicasaWebDownloader/PicasaWebDownloader.spec
diff -u packages/PicasaWebDownloader/PicasaWebDownloader.spec:1.3 packages/PicasaWebDownloader/PicasaWebDownloader.spec:1.4
--- packages/PicasaWebDownloader/PicasaWebDownloader.spec:1.3	Sun Mar 25 09:25:47 2012
+++ packages/PicasaWebDownloader/PicasaWebDownloader.spec	Sun Mar 25 09:47:51 2012
@@ -8,8 +8,11 @@
 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
@@ -26,6 +29,8 @@
 
 %prep
 %setup -q -c
+%undos Program.cs
+%patch0 -p1
 
 %build
 gmcs -out:PicasaWebDownloader.exe Program.cs AssemblyInfo.cs
@@ -48,6 +53,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2012/03/25 07:47:51  qboosh
+- added imgmax patch: add imgmax=d arg to get original size photos
+
 Revision 1.3  2012/03/25 07:25:47  qboosh
 - updated to 1.2
 - removed obsolete url patch

================================================================
Index: packages/PicasaWebDownloader/PicasaWebDownloader-imgmax.patch
diff -u /dev/null packages/PicasaWebDownloader/PicasaWebDownloader-imgmax.patch:1.1
--- /dev/null	Sun Mar 25 09:47:56 2012
+++ packages/PicasaWebDownloader/PicasaWebDownloader-imgmax.patch	Sun Mar 25 09:47:51 2012
@@ -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.
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/packages/PicasaWebDownloader/PicasaWebDownloader.spec?r1=1.3&r2=1.4



More information about the pld-cvs-commit mailing list