public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/amarok] epel10.2: fix mpris support (kde#365275)
@ 2026-07-06 18:32 Rex Dieter
  0 siblings, 0 replies; only message in thread
From: Rex Dieter @ 2026-07-06 18:32 UTC (permalink / raw)
  To: git-commits

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)
 

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

only message in thread, other threads:[~2026-07-06 18:32 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:32 [rpms/amarok] epel10.2: fix mpris support (kde#365275) Rex Dieter

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