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: patch to work with libgpod 0.4.2
Date: Mon, 06 Jul 2026 18:03:33 GMT [thread overview]
Message-ID: <178336101350.1.5523136198889438265.rpms-amarok-41209cd8bbd2@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/amarok
Branch : epel10
Commit : 41209cd8bbd2e75e007803df2d8b791771f77aeb
Author : Aurelien Bompard <abompard@fedoraproject.org>
Date : 2007-01-25T19:12:30+00:00
Stats : +53/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/amarok/c/41209cd8bbd2e75e007803df2d8b791771f77aeb?branch=epel10
Log:
patch to work with libgpod 0.4.2
---
diff --git a/amarok-1.4.4-libgpod-0.4.2.patch b/amarok-1.4.4-libgpod-0.4.2.patch
new file mode 100644
index 0000000..f57f075
--- /dev/null
+++ b/amarok-1.4.4-libgpod-0.4.2.patch
@@ -0,0 +1,47 @@
+--- amarok-1.4.4/amarok/src/mediadevice/ipod/ipodmediadevice.cpp.mediatype 2006-10-26 16:40:20.000000000 -0400
++++ amarok-1.4.4/amarok/src/mediadevice/ipod/ipodmediadevice.cpp 2006-12-14 16:22:41.000000000 -0500
+@@ -302,7 +302,7 @@
+ track->genre = g_strdup( metaBundle.genre()->utf8() );
+
+
+- track->unk208 = 0x01; // for audio
++ track->mediatype = 0x01; // for audio
+ if(type=="wav")
+ {
+ track->filetype = g_strdup( "wav" );
+@@ -323,7 +323,7 @@
+ #else
+ track->flag3 |= 0x01; // remember current position in track
+ #endif
+- track->unk208 = 0x08; // for audiobooks
++ track->mediatype = 0x08; // for audiobooks
+ }
+ else if(type=="m4v" || type=="mp4v" || type=="mov" || type=="mpg" || type=="mp4")
+ {
+@@ -331,7 +331,7 @@
+ #ifdef HAVE_ITDB_SKIP_SHUFFLE_FLAG
+ track->movie_flag = 0x01; // for videos
+ #endif
+- track->unk208 = 0x02; // for videos
++ track->mediatype = 0x02; // for videos
+ }
+ else if(type=="aa")
+ {
+@@ -341,7 +341,7 @@
+ #else
+ track->flag3 |= 0x01; // remember current position in track
+ #endif
+- track->unk208 = 0x08; // for audiobooks
++ track->mediatype = 0x08; // for audiobooks
+
+ TagLib::Audible::File f( QFile::encodeName( propertiesBundle.url().path() ) );
+ TagLib::Audible::Tag *t = f.getAudibleTag();
+@@ -384,7 +384,7 @@
+ #ifdef HAVE_ITDB_MARK_UNPLAYED
+ track->mark_unplayed = podcastInfo->listened ? 0x01 : 0x02;
+ #endif
+- track->unk208 = track->unk208==0x02 ? 0x06 : 0x04; // video or audio podcast
++ track->mediatype = track->mediatype==0x02 ? 0x06 : 0x04; // video or audio podcast
+ track->flag4 = 0x01; // also show description on iPod
+ QString plaindesc = podcastInfo->description;
+ plaindesc.replace( QRegExp("<[^>]*>"), "" );
diff --git a/amarok.spec b/amarok.spec
index 82f4a17..09bc3ea 100644
--- a/amarok.spec
+++ b/amarok.spec
@@ -4,7 +4,7 @@
Name: amarok
Summary: Media player for KDE
Version: 1.4.4
-Release: 6%{?dist}
+Release: 7%{?dist}
Group: Applications/Multimedia
License: GPL
@@ -12,6 +12,7 @@ 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
Patch0: amarok-1.4.4-lastfm+xine-lib-1.1.3.patch
+Patch1: amarok-1.4.4-libgpod-0.4.2.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: kdemultimedia-devel >= 6:3.2
@@ -82,6 +83,7 @@ use any of xmms' visualisation plugins with Amarok.
%prep
%setup -q
%patch0 -p1 -b .lastfm
+%patch1 -p1 -b .libgpod
@@ -240,6 +242,9 @@ rm -fr $RPM_BUILD_ROOT
%changelog
+* Thu Jan 25 2007 Aurelien Bompard <abompard@fedoraproject.org> 1.4.4-7
+- add patch to enable building with libgpod >= 0.4.2, thanks go to Todd Zullinger
+
* Wed Jan 17 2007 Aurelien Bompard <abompard@fedoraproject.org> 1.4.4-6
- rebuild for new libgpod
reply other threads:[~2026-07-06 18:03 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=178336101350.1.5523136198889438265.rpms-amarok-41209cd8bbd2@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