Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 937158 - media-video/kaffeine-2.0.18-r2 dvb "Update Scan Data over Internet" fails (patch)
Summary: media-video/kaffeine-2.0.18-r2 dvb "Update Scan Data over Internet" fails (pa...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Media-video project
URL: https://bugs.kde.org/show_bug.cgi?id=...
Whiteboard:
Keywords: PATCH, UPSTREAM
Depends on:
Blocks:
 
Reported: 2024-08-02 21:22 UTC by David Duchesne
Modified: 2024-12-14 23:37 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
kaffeine-2.0.18-allow-scantable-download-larger-than-64KiB (kaffeine-2.0.18-allow-scantable-download-larger-than-64KiB.patch,3.43 KB, patch)
2024-08-02 21:24 UTC, David Duchesne
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David Duchesne 2024-08-02 21:22:50 UTC
In :
Television
 -> Configure Television
  -> Update Scan Data over Internet

After I hit the button, the progress bar goes to 100% and an info box appears :
"Scan data update failed"

After applying the patch, then it updates fine :
"Scan data successfully updated. 96.10 KB received."

----
More info here :
https://bugs.launchpad.net/ubuntu/+source/kaffeine/+bug/1879923

dvbconfigdialog: increase max download size for scandata

By the time Kaffeine was written, a 64KB max limit were
enough, but nowadays, the scandata file has already 104KB.

Increase the limit up to 1MB, in order to fix download
issues with valid files.

While here, also improve the download messages to show
how much data was downloaded and to report the reason
why a download was aborted.

Reproducible: Always
Comment 1 David Duchesne 2024-08-02 21:24:03 UTC
Created attachment 898824 [details, diff]
kaffeine-2.0.18-allow-scantable-download-larger-than-64KiB
Comment 2 Larry the Git Cow gentoo-dev 2024-08-06 23:04:37 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fed7473d5f94e91e609dec75b726f8d6e6ee02f8

commit fed7473d5f94e91e609dec75b726f8d6e6ee02f8
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2024-08-06 23:03:49 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2024-08-06 23:03:49 +0000

    media-video/kaffeine: Add backports patchset, fix update scan data
    
    Patchset content:
    
    Andreas Sturmlechner (1):
          Port away from API deprecated in >KF-5.62
    
    Friedrich W. H. Kossebau (4):
          FindVLC.cmake: use <pkg>_VERSION over old <pkg>_VERSION_STRING pattern
          Port away from deprecated KMessageBox::sorry
          Port away from deprecated KMessageBox Yes/No API
          Add explicit moc includes to sources for moc-covered headers
    
    Jonathan Riddell (1):
          update homepage
    
    Mauro Carvalho Chehab (19):
          mediawidget.h: mark override virtual functions as such
          src: mark several functions as override
          dvb: avoid warning when EAGAIN == EWOULDBLOCK
          dvb: add a descriptor parser for registration descriptor
          dvbsi: improve stream type detection logic
          dvb: re-write bcdToTime function
          dvb: epg: add a warning if event lasts more than 24 hours
          mediawidget: don't keep screen saver suspended on exit
          get rid of deprecated qrand() function
          dvbconfigdialog: increase max download size for scandata
          qt: replace QList::swap() by QList::swapItemsAt()
          Replace std::endl by Qt::endl
          Replace Qt sort and search APIs
          Fix some warnings for random generator
          mediawidget: use angleDelta() instead of delta()
          dvb: fix QFlags() initialization
          vlc: use Qt::SkipEmptyParts
          Use QProcess::setProgram()
          CMake: Various fixes, translation handling
    
    Nicolas Fella (3):
          Fix activating existing window
          Add desktop file name to solid actions
          Don't invoke XScreenSaverSuspend on Wayland
    
    Pino Toscano (1):
          i18n: reduce the string puzzles
    
    Yuri Chornoivan (2):
          Update homepage address
          Fix minor EBN issues
    
    Closes: https://bugs.gentoo.org/937158
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 media-video/kaffeine/Manifest                      |  2 +
 .../kaffeine-2.0.18-cmake-no-dupl-po-targets.patch | 11 ++++
 media-video/kaffeine/kaffeine-2.0.18-r3.ebuild     | 74 ++++++++++++++++++++++
 3 files changed, 87 insertions(+)