rev 20967 - in kde-extras/digikam/trunk/debian: . patches

Steven Michael Robbins smr at moszumanska.debian.org
Sun Dec 31 03:07:32 UTC 2017


Author: smr
Date: 2017-12-31 03:07:30 +0000 (Sun, 31 Dec 2017)
New Revision: 20967

Added:
   kde-extras/digikam/trunk/debian/patches/flickruploadlimits.patch
Modified:
   kde-extras/digikam/trunk/debian/changelog
   kde-extras/digikam/trunk/debian/patches/series
Log:
Add flickruploadlimits.patch from 5.6 branch.

Modified: kde-extras/digikam/trunk/debian/changelog
===================================================================
--- kde-extras/digikam/trunk/debian/changelog	2017-12-28 15:14:05 UTC (rev 20966)
+++ kde-extras/digikam/trunk/debian/changelog	2017-12-31 03:07:30 UTC (rev 20967)
@@ -1,3 +1,10 @@
+digikam (4:5.7.0-3) UNRELEASED; urgency=medium
+
+  * patches/flickruploadlimits.patch: New.  Raise flickr upload size limit
+    to that of videos.  Closes: #874675.
+
+ -- Steve M. Robbins <smr at debian.org>  Sat, 30 Dec 2017 11:59:06 -0600
+
 digikam (4:5.7.0-2) experimental; urgency=medium
 
   * Build with qtav, for video playback functionality.

Added: kde-extras/digikam/trunk/debian/patches/flickruploadlimits.patch
===================================================================
--- kde-extras/digikam/trunk/debian/patches/flickruploadlimits.patch	                        (rev 0)
+++ kde-extras/digikam/trunk/debian/patches/flickruploadlimits.patch	2017-12-31 03:07:30 UTC (rev 20967)
@@ -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/trunk/debian/patches/series
===================================================================
--- kde-extras/digikam/trunk/debian/patches/series	2017-12-28 15:14:05 UTC (rev 20966)
+++ kde-extras/digikam/trunk/debian/patches/series	2017-12-31 03:07:30 UTC (rev 20967)
@@ -1,2 +1,3 @@
 cmake-disable-jasper.patch
 cmake-add-quotes
+flickruploadlimits.patch




More information about the pkg-kde-commits mailing list