rev 20880 - in kde-extras/digikam/branches/5.6/debian: . patches

Steven Michael Robbins smr at moszumanska.debian.org
Mon Oct 2 03:40:40 UTC 2017


Author: smr
Date: 2017-10-02 03:40:39 +0000 (Mon, 02 Oct 2017)
New Revision: 20880

Added:
   kde-extras/digikam/branches/5.6/debian/patches/flickruploadlimits.patch
Modified:
   kde-extras/digikam/branches/5.6/debian/changelog
   kde-extras/digikam/branches/5.6/debian/patches/series
Log:
Raise flickr upload size to allow large videos.

Modified: kde-extras/digikam/branches/5.6/debian/changelog
===================================================================
--- kde-extras/digikam/branches/5.6/debian/changelog	2017-10-02 03:26:11 UTC (rev 20879)
+++ kde-extras/digikam/branches/5.6/debian/changelog	2017-10-02 03:40:39 UTC (rev 20880)
@@ -1,3 +1,10 @@
+digikam (4:5.6.0-2) unstable; urgency=medium
+
+  * patches/flickruploadlimits.patch.  New.  Raise flickr upload size
+    limit to that of videos.  Closes: #874675.
+
+ -- Steve M. Robbins <smr at debian.org>  Sun, 01 Oct 2017 22:40:20 -0500
+
 digikam (4:5.6.0-1) unstable; urgency=medium
 
   * kipi-plugins: Change konqueror from Recommends to Suggested.  Closes:

Added: kde-extras/digikam/branches/5.6/debian/patches/flickruploadlimits.patch
===================================================================
--- kde-extras/digikam/branches/5.6/debian/patches/flickruploadlimits.patch	                        (rev 0)
+++ kde-extras/digikam/branches/5.6/debian/patches/flickruploadlimits.patch	2017-10-02 03:40:39 UTC (rev 20880)
@@ -0,0 +1,26 @@
+From: John Goerzen <jgoerzen at complete.org>
+Patch for #874675
+
+kipi-plugins: flickr uploader: restricts video uploads to max photo size
+
+
+Flickr has separate size limits for photos and videos.  This is using
+the photo size limit (200MB right now) for all uploads, including
+videos, which have a 1GB limit on Flickr.
+
+The attached patch uses the video limit for all uploads.  This at least
+avoids artificially blocking some uploads; an API error would result on
+photos over 200MB, but I think this is both acceptable and incredibly
+rare.
+
+--- digikam-5.6.0.orig/extra/kipi-plugins/flickr/flickrtalker.cpp
++++ digikam-5.6.0/extra/kipi-plugins/flickr/flickrtalker.cpp
+@@ -949,7 +949,7 @@
+                 {
+                     e = details.toElement();
+ 
+-                    if (details.nodeName() == QString::fromLatin1("photos"))
++                    if (details.nodeName() == QString::fromLatin1("videos"))
+                     {
+                         QDomAttr a = e.attributeNode(QString::fromLatin1("maxupload"));
+                         m_maxSize = a.value();

Modified: kde-extras/digikam/branches/5.6/debian/patches/series
===================================================================
--- kde-extras/digikam/branches/5.6/debian/patches/series	2017-10-02 03:26:11 UTC (rev 20879)
+++ kde-extras/digikam/branches/5.6/debian/patches/series	2017-10-02 03:40:39 UTC (rev 20880)
@@ -1,2 +1,3 @@
 cmake-disable-jasper.patch
 cmake-v9-fix.patch
+flickruploadlimits.patch




More information about the pkg-kde-commits mailing list