rpms/amarok/F-7 amarok-1.4.7-utf8.patch, NONE, 1.1 amarok.spec, 1.81, 1.82

Aurelien Bompard (abompard) fedora-extras-commits at redhat.com
Fri Sep 28 07:45:08 UTC 2007


Author: abompard

Update of /cvs/pkgs/rpms/amarok/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv31877/F-7

Modified Files:
	amarok.spec 
Added Files:
	amarok-1.4.7-utf8.patch 
Log Message:
* Fri Sep 28 2007 Aurelien Bompard <abompard at fedoraproject.org> 1.4.7-5
- add patch 1 to fix Fedora bug 242862: Amarok doesn't support transfer
  of Unicode filenames to MTP devices


amarok-1.4.7-utf8.patch:

--- NEW FILE amarok-1.4.7-utf8.patch ---
--- amarok-1.4.7.old/amarok/src/mediadevice/mtp/mtpmediadevice.cpp	2007-08-07 13:48:28.000000000 -0400
+++ amarok-1.4.7/amarok/src/mediadevice/mtp/mtpmediadevice.cpp	2007-09-27 03:18:19.000000000 -0400
@@ -295,9 +295,9 @@
     debug() << "Parent id : " << parent_id << endl;
 
     m_critical_mutex.lock();
-    debug() << "Sending track... " << bundle.url().path().latin1() << endl;
+    debug() << "Sending track... " << bundle.url().path().utf8() << endl;
     int ret = LIBMTP_Send_Track_From_File(
-        m_device, bundle.url().path().latin1(), trackmeta,
+        m_device, bundle.url().path().utf8(), trackmeta,
         progressCallback, this, parent_id
     );
     m_critical_mutex.unlock();


Index: amarok.spec
===================================================================
RCS file: /cvs/pkgs/rpms/amarok/F-7/amarok.spec,v
retrieving revision 1.81
retrieving revision 1.82
diff -u -r1.81 -r1.82
--- amarok.spec	2 Sep 2007 12:44:48 -0000	1.81
+++ amarok.spec	28 Sep 2007 07:44:31 -0000	1.82
@@ -4,7 +4,7 @@
 Name:       amarok
 Summary:    Media player for KDE
 Version:    1.4.7
-Release:    4%{?dist}
+Release:    5%{?dist}
 
 Group: 	    Applications/Multimedia
 License:    GPLv2+
@@ -12,7 +12,10 @@
 # http://download.kde.org/download.php?url=stable/amarok/1.4.3/src
 #Source0:    http://mirrors.isc.org/pub/kde/stable/amarok/%{version}/src/amarok-%{version}.tar.bz2
 Source0:    ftp://ftp.kde.org/pub/kde/stable/amarok/%{version}/src/amarok-%{version}.tar.bz2
+# KDE bug 147126: amarok freezes when trying to play mp3 files without mp3 support
 Patch0:     amarok-1.4.7-147126.patch
+# Fedora bug 242862: Amarok doesn't support transfer of Unicode filenames to MTP devices
+Patch1:     amarok-1.4.7-utf8.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  kdemultimedia-devel >= 6:3.2
@@ -87,6 +90,7 @@
 %prep
 %setup -q
 %patch0 -p0 -b .147126
+%patch1 -p1 -b .utf8
 
 
 
@@ -243,6 +247,10 @@
 
 
 %changelog
+* Fri Sep 28 2007 Aurelien Bompard <abompard at fedoraproject.org> 1.4.7-5
+- add patch 1 to fix Fedora bug 242862: Amarok doesn't support transfer
+  of Unicode filenames to MTP devices
+
 * Sun Sep 02 2007 Aurelien Bompard <abompard at fedoraproject.org> 1.4.7-4
 - add patch for kde bug 147126 : amarok freezes when trying to play
   mp3 files without mp3 support




More information about the fedora-extras-commits mailing list