rev 18752 - in kde-extras/k3b/trunk/debian: . patches

Modestas Vainius modax at alioth.debian.org
Wed Dec 29 20:59:45 UTC 2010


Author: modax
Date: 2010-12-29 20:59:44 +0000 (Wed, 29 Dec 2010)
New Revision: 18752

Added:
   kde-extras/k3b/trunk/debian/patches/114_bug587996_bdr_capacity_fix.diff
Modified:
   kde-extras/k3b/trunk/debian/changelog
   kde-extras/k3b/trunk/debian/patches/series
Log:
Report a proper capacity for BD-R disks (patch
114_bug587996_bdr_capacity_fix.diff). (Closes: #587996)

Modified: kde-extras/k3b/trunk/debian/changelog
===================================================================
--- kde-extras/k3b/trunk/debian/changelog	2010-12-29 20:51:38 UTC (rev 18751)
+++ kde-extras/k3b/trunk/debian/changelog	2010-12-29 20:59:44 UTC (rev 18752)
@@ -1,6 +1,8 @@
 k3b (2.0.1-2) UNRELEASED; urgency=low
 
   * Fix a typo in the k3b.bug-script.
+  * Report a proper capacity for BD-R disks (patch
+    114_bug587996_bdr_capacity_fix.diff). (Closes: #587996)
 
  -- Modestas Vainius <modax at debian.org>  Wed, 29 Dec 2010 22:48:40 +0200
 

Added: kde-extras/k3b/trunk/debian/patches/114_bug587996_bdr_capacity_fix.diff
===================================================================
--- kde-extras/k3b/trunk/debian/patches/114_bug587996_bdr_capacity_fix.diff	                        (rev 0)
+++ kde-extras/k3b/trunk/debian/patches/114_bug587996_bdr_capacity_fix.diff	2010-12-29 20:59:44 UTC (rev 18752)
@@ -0,0 +1,19 @@
+From: Piotr FILICIAK <piotr at filiciak.pl>
+Subject: Report proper BD-R capacity (for LG BH10 and maybe others)
+Forwarded: yes
+Bug: http://bugs.kde.org/show_bug.cgi?id=243549
+Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=587996
+Origin: other, http://bugsfiles.kde.org/attachment.cgi?id=51896
+Last-Update: 2010-12-29
+
+--- a/libk3bdevice/k3bdevice_mmc.cpp
++++ b/libk3bdevice/k3bdevice_mmc.cpp
+@@ -319,7 +319,7 @@ bool K3b::Device::Device::readTrackInfor
+     // DVD-DL: 48 (MMC5)
+     // CD:     36 (MMC2)
+     //
+-    if( dataLen <= 4 ) {
++    if( dataLen <= 6 ) {
+         int m = mediaType();
+         if( m & (MEDIA_DVD_R_DL|MEDIA_DVD_R_DL_SEQ|MEDIA_DVD_R_DL_JUMP) )
+             dataLen = 48;

Modified: kde-extras/k3b/trunk/debian/patches/series
===================================================================
--- kde-extras/k3b/trunk/debian/patches/series	2010-12-29 20:51:38 UTC (rev 18751)
+++ kde-extras/k3b/trunk/debian/patches/series	2010-12-29 20:59:44 UTC (rev 18752)
@@ -4,3 +4,4 @@
 111_advice_debian_libk3b3-extracodes.diff
 112_dont_require_mp3.diff
 113_initial_preference.diff
+114_bug587996_bdr_capacity_fix.diff




More information about the pkg-kde-commits mailing list