public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Rex Dieter <rdieter@math.unl.edu>
To: git-commits@fedoraproject.org
Subject: [rpms/amarok] epel10.2: fix mpris support (kde#365275)
Date: Mon, 06 Jul 2026 18:32:08 GMT [thread overview]
Message-ID: <178336272896.1.15999859534713237688.rpms-amarok-5b4ff7863526@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/amarok
Branch : epel10.2
Commit : 5b4ff7863526c2ba7de46fa327d068639e9ad6bb
Author : Rex Dieter <rdieter@math.unl.edu>
Date : 2016-07-23T11:05:41-05:00
Stats : +25/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/amarok/c/5b4ff7863526c2ba7de46fa327d068639e9ad6bb?branch=epel10.2
Log:
fix mpris support (kde#365275)
---
diff --git a/amarok-kdebug365275.patch b/amarok-kdebug365275.patch
new file mode 100644
index 0000000..05377cd
--- /dev/null
+++ b/amarok-kdebug365275.patch
@@ -0,0 +1,17 @@
+diff --git a/src/dbus/mpris2/MediaPlayer2.cpp b/src/dbus/mpris2/MediaPlayer2.cpp
+index cbe1a2a..a1d1bda 100644
+--- a/src/dbus/mpris2/MediaPlayer2.cpp
++++ b/src/dbus/mpris2/MediaPlayer2.cpp
+@@ -94,11 +94,7 @@ QString MediaPlayer2::Identity() const
+
+ QString MediaPlayer2::DesktopEntry() const
+ {
+- // Amarok desktop file is installed in $prefix/share/applications/kde4/
+- // rather than in $prefix/share/applications. The standard way to
+- // represent this dir is with a "kde4-" prefix. See:
+- // http://standards.freedesktop.org/menu-spec/1.0/go01.html#term-desktop-file-id
+- return QLatin1String("kde4-amarok");
++ return QLatin1String("amarok");
+ }
+
+ QStringList MediaPlayer2::SupportedUriSchemes() const
diff --git a/amarok.spec b/amarok.spec
index 54faf97..2443c21 100644
--- a/amarok.spec
+++ b/amarok.spec
@@ -8,7 +8,7 @@
Name: amarok
Summary: Media player
Version: 2.8.90
-Release: 6%{?dist}
+Release: 7%{?dist}
# KDE e.V. may determine that future GPL versions are accepted
License: GPLv2 or GPLv3
@@ -33,6 +33,9 @@ Patch1: amarok-2.8.0-no_kdewebkit.patch
Patch100: amarok-2.8.90-mysql_found.patch
# fix build using gcc6, https://bugs.kde.org/show_bug.cgi?id=363054
Patch101: amarok-2.8.90-gcc6.patch
+# fix mpris support, https://git.reviewboard.kde.org/r/128418/
+# https://bugs.kde.org/show_bug.cgi?id=365275
+Patch102: amarok-kdebug365275.patch
## upstream patches
Patch3: 0003-Fix-TagLib-version-check.patch
@@ -163,6 +166,7 @@ Requires: %{name} = %{version}-%{release}
## upstreamable
#patch100 -p1 -b .mysql_found
%patch101 -p1 -b .gcc6
+%patch102 -p1 -b .kdebug365275
%build
@@ -330,6 +334,9 @@ fi
%changelog
+* Sat Jul 23 2016 Rex Dieter <rdieter@fedoraproject.org> - 2.8.90-7
+- fix mpris support (kde#365275)
+
* Wed Jun 01 2016 Rex Dieter <rdieter@fedoraproject.org> - 2.8.90-6
- pull in upstream fixes, fix build with gcc6 (kde#363054)
reply other threads:[~2026-07-06 18:32 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=178336272896.1.15999859534713237688.rpms-amarok-5b4ff7863526@fedoraproject.org \
--to=rdieter@math.unl.edu \
--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