[audacious] Apply patch to restore play-stop-play resume from beginning behaviour.
Michael Schwendt
mschwendt at fedoraproject.org
Thu Apr 25 18:41:28 UTC 2013
commit f9f8370cc41dba676a2b3674c9793b5aa55c5131
Author: Michael Schwendt <mschwendt at fedoraproject.org>
Date: Thu Apr 25 20:41:20 2013 +0200
Apply patch to restore play-stop-play resume from beginning behaviour.
audacious-3.4-beta1-resume-git89e1806.patch | 16 ++++++++++++++++
audacious.spec | 8 +++++++-
2 files changed, 23 insertions(+), 1 deletions(-)
---
diff --git a/audacious-3.4-beta1-resume-git89e1806.patch b/audacious-3.4-beta1-resume-git89e1806.patch
new file mode 100644
index 0000000..26871d4
--- /dev/null
+++ b/audacious-3.4-beta1-resume-git89e1806.patch
@@ -0,0 +1,16 @@
+diff -Nur audacious-3.4-beta1-orig/src/audacious/drct.c audacious-3.4-beta1/src/audacious/drct.c
+--- audacious-3.4-beta1-orig/src/audacious/drct.c 2013-04-22 00:07:56.000000000 +0200
++++ audacious-3.4-beta1/src/audacious/drct.c 2013-04-25 20:37:29.140878903 +0200
+@@ -49,7 +49,11 @@
+ }
+ }
+ else
+- drct_play_playlist (playlist_get_active ());
++ {
++ int playlist = playlist_get_active ();
++ playlist_set_position (playlist, playlist_get_position (playlist));
++ drct_play_playlist (playlist);
++ }
+ }
+
+ void drct_play_pause (void)
diff --git a/audacious.spec b/audacious.spec
index 1fad186..b2a7f8a 100644
--- a/audacious.spec
+++ b/audacious.spec
@@ -8,7 +8,7 @@
Name: audacious
Version: 3.4
-Release: 0.1.beta1%{?dist}
+Release: 0.2.beta1%{?dist}
License: BSD
Summary: Advanced audio player
@@ -17,6 +17,8 @@ Group: Applications/Multimedia
Source0: http://distfiles.audacious-media-player.org/audacious-%{tar_ver}.tar.bz2
+Patch0: audacious-3.4-beta1-resume-git89e1806.patch
+
BuildRequires: gettext
BuildRequires: gtk3-devel
BuildRequires: libguess-devel
@@ -92,6 +94,7 @@ Files needed when building software for the Audacious audio player.
%prep
%setup -q -n %{name}-%{tar_ver}
+%patch0 -p1 -b .resume
# https://bugzilla.redhat.com/925050
# fixed upstream after 3.4-beta1
autoreconf -f -I m4
@@ -169,6 +172,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%changelog
+* Thu Apr 25 2013 Michael Schwendt <mschwendt at fedoraproject.org> - 3.4-0.2.beta1
+- Apply patch to restore play-stop-play resume from beginning behaviour.
+
* Mon Apr 22 2013 Michael Schwendt <mschwendt at fedoraproject.org> - 3.4-0.1.beta1
- Generic plugin API/ABI bumped to 43, still compatible with 3.3.x.
- Update to 3.4-beta1.
More information about the scm-commits
mailing list