public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Aurelien Bompard <abompard@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/amarok] epel10.2: - add patch 1 to fix Fedora bug 242862: Amarok doesn't support transfer of
Date: Mon, 06 Jul 2026 18:30:09 GMT	[thread overview]
Message-ID: <178336260930.1.1739737652301960902.rpms-amarok-b518bf8c66fd@fedoraproject.org> (raw)

        A new commit has been pushed.

        Repo   : rpms/amarok
        Branch : epel10.2
        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.2

        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

                 reply	other threads:[~2026-07-06 18:30 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178336260930.1.1739737652301960902.rpms-amarok-b518bf8c66fd@fedoraproject.org \
    --to=abompard@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox