public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/amarok] epel10: - add patch 1 to fix Fedora bug 242862: Amarok doesn't support transfer of
@ 2026-07-06 18:03 Aurelien Bompard
  0 siblings, 0 replies; only message in thread
From: Aurelien Bompard @ 2026-07-06 18:03 UTC (permalink / raw)
  To: git-commits

        A new commit has been pushed.

        Repo   : rpms/amarok
        Branch : epel10
        Commit : b518bf8c66fdf7c1431a4ce6c0c5d0b40cf7fac1
        Author : Aurelien Bompard <abompard@fedoraproject.org>
        Date   : 2007-09-28T07:44:38+00:00
        Stats  : +23/-1 in 2 file(s)
        URL    : https://src.fedoraproject.org/rpms/amarok/c/b518bf8c66fdf7c1431a4ce6c0c5d0b40cf7fac1?branch=epel10

        Log:
        - add patch 1 to fix Fedora bug 242862: Amarok doesn't support transfer of
Unicode filenames to MTP devices

---
diff --git a/amarok-1.4.7-utf8.patch b/amarok-1.4.7-utf8.patch
new file mode 100644
index 0000000..d83d6f3
--- /dev/null
+++ b/amarok-1.4.7-utf8.patch
@@ -0,0 +1,14 @@
+--- 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();

diff --git a/amarok.spec b/amarok.spec
index 46f84af..eeacf5d 100644
--- a/amarok.spec
+++ b/amarok.spec
@@ -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 @@ Url:        http://amarok.kde.org
 # 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 @@ use any of xmms' visualisation plugins with Amarok.
 %prep
 %setup -q
 %patch0 -p0 -b .147126
+%patch1 -p1 -b .utf8
 
 
 
@@ -243,6 +247,10 @@ rm -fr $RPM_BUILD_ROOT
 
 
 %changelog
+* Fri Sep 28 2007 Aurelien Bompard <abompard@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@fedoraproject.org> 1.4.7-4
 - add patch for kde bug 147126 : amarok freezes when trying to play
   mp3 files without mp3 support

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-06 18:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-06 18:03 [rpms/amarok] epel10: - add patch 1 to fix Fedora bug 242862: Amarok doesn't support transfer of Aurelien Bompard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox