From: "David Heidelberger" <d.okias@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/kde:master commit in: kde-base/nepomuk-core/files/, kde-base/nepomuk-core/
Date: Sun, 23 Jun 2013 18:49:34 +0000 (UTC) [thread overview]
Message-ID: <1372013045.957f6a26fb4bf1ad086b16ed7c71bef3f6c68c10.okias@gentoo> (raw)
commit: 957f6a26fb4bf1ad086b16ed7c71bef3f6c68c10
Author: David Heidelberger <david.heidelberger <AT> ixit <DOT> cz>
AuthorDate: Sun Jun 23 18:44:05 2013 +0000
Commit: David Heidelberger <d.okias <AT> gmail <DOT> com>
CommitDate: Sun Jun 23 18:44:05 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=957f6a26
[kde-base/nepomuk-core] 4.10.80, fix code to compile with new libav
Package-Manager: portage-2.1.12.9
---
kde-base/nepomuk-core/files/libav_fix.patch | 19 +++++++++++++++++++
kde-base/nepomuk-core/nepomuk-core-4.10.80.ebuild | 2 ++
2 files changed, 21 insertions(+)
diff --git a/kde-base/nepomuk-core/files/libav_fix.patch b/kde-base/nepomuk-core/files/libav_fix.patch
new file mode 100644
index 0000000..209be53
--- /dev/null
+++ b/kde-base/nepomuk-core/files/libav_fix.patch
@@ -0,0 +1,19 @@
+diff -Naur a/services/fileindexer/indexer/ffmpegextractor.cpp b/services/fileindexer/indexer/ffmpegextractor.cpp
+--- a/services/fileindexer/indexer/ffmpegextractor.cpp 2013-06-10 20:50:24.000000000 +0200
++++ b/services/fileindexer/indexer/ffmpegextractor.cpp 2013-06-23 20:36:27.336844353 +0200
+@@ -158,12 +158,12 @@
+ subRes.addProperty( NFO::height(), codec->height );
+
+ int aspectRatio = codec->sample_aspect_ratio.num;
+- int frameRate = stream->r_frame_rate.num;
++ int frameRate = stream->avg_frame_rate.num;
+
+ if( codec->sample_aspect_ratio.den )
+ aspectRatio /= codec->sample_aspect_ratio.den;
+- if( stream->r_frame_rate.den )
+- frameRate /= stream->r_frame_rate.den;
++ if( stream->avg_frame_rate.den )
++ frameRate /= stream->avg_frame_rate.den;
+
+ subRes.addProperty( NFO::aspectRatio(), aspectRatio );
+ subRes.addProperty( NFO::frameRate(), frameRate );
diff --git a/kde-base/nepomuk-core/nepomuk-core-4.10.80.ebuild b/kde-base/nepomuk-core/nepomuk-core-4.10.80.ebuild
index 533ef56..dd794d4 100644
--- a/kde-base/nepomuk-core/nepomuk-core-4.10.80.ebuild
+++ b/kde-base/nepomuk-core/nepomuk-core-4.10.80.ebuild
@@ -25,6 +25,8 @@ add_blocker nepomuk '<4.8.80'
RESTRICT="test"
# bug 392989
+PATCHES=( "${FILESDIR}/libav_fix.patch" )
+
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_with exif Exiv2)
next reply other threads:[~2013-06-23 18:49 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-23 18:49 David Heidelberger [this message]
-- strict thread matches above, loose matches on Subject: below --
2013-12-20 12:20 [gentoo-commits] proj/kde:master commit in: kde-base/nepomuk-core/files/, kde-base/nepomuk-core/ Johannes Huber
2013-06-28 12:58 David Heidelberger
2012-08-07 17:49 Johannes Huber
2012-08-06 20:42 Dennis Schridde
2012-06-01 16:13 Johannes Huber
2012-05-30 14:45 Johannes Huber
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=1372013045.957f6a26fb4bf1ad086b16ed7c71bef3f6c68c10.okias@gentoo \
--to=d.okias@gmail.com \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.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