summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2009-09-10 09:41:49 +0000
committerAlexis Ballier <aballier@gentoo.org>2009-09-10 09:41:49 +0000
commit2e53cb130422bbe2e97c01d09b6678629ede64cd (patch)
tree36c0f17dbe39c69efd5f24c3ecdb961b86420c9b /media-libs/schroedinger
parentstable x86/amd64, bug 283155 (diff)
downloadhistorical-2e53cb130422bbe2e97c01d09b6678629ede64cd.tar.gz
historical-2e53cb130422bbe2e97c01d09b6678629ede64cd.tar.bz2
historical-2e53cb130422bbe2e97c01d09b6678629ede64cd.zip
Add a patch by Randall Wald <rdwald@gmail.com>, bug #284071, to include the correct headers so that we get the required function declarations.
Package-Manager: portage-2.2_rc40/cvs/Linux x86_64
Diffstat (limited to 'media-libs/schroedinger')
-rw-r--r--media-libs/schroedinger/ChangeLog10
-rw-r--r--media-libs/schroedinger/Manifest14
-rw-r--r--media-libs/schroedinger/files/schroedinger-1.0.7-gst_adapter_get_buffer.patch66
-rw-r--r--media-libs/schroedinger/schroedinger-1.0.7-r2.ebuild39
4 files changed, 127 insertions, 2 deletions
diff --git a/media-libs/schroedinger/ChangeLog b/media-libs/schroedinger/ChangeLog
index ebd31e2b284d..2ababeb9acef 100644
--- a/media-libs/schroedinger/ChangeLog
+++ b/media-libs/schroedinger/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for media-libs/schroedinger
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/schroedinger/ChangeLog,v 1.29 2009/08/16 12:49:50 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/schroedinger/ChangeLog,v 1.30 2009/09/10 09:41:49 aballier Exp $
+
+*schroedinger-1.0.7-r2 (10 Sep 2009)
+
+ 10 Sep 2009; Alexis Ballier <aballier@gentoo.org>
+ +schroedinger-1.0.7-r2.ebuild,
+ +files/schroedinger-1.0.7-gst_adapter_get_buffer.patch:
+ Add a patch by Randall Wald <rdwald@gmail.com>, bug #284071, to include
+ the correct headers so that we get the required function declarations.
*schroedinger-1.0.7-r1 (16 Aug 2009)
diff --git a/media-libs/schroedinger/Manifest b/media-libs/schroedinger/Manifest
index 08e11c772aa2..00a301f0d09b 100644
--- a/media-libs/schroedinger/Manifest
+++ b/media-libs/schroedinger/Manifest
@@ -1,8 +1,20 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX schroedinger-1.0.7-gst_adapter_get_buffer.patch 2867 RMD160 e8f148d40c9ac398c78535ec37c5a2e44d48a299 SHA1 fe637417744071f220f060aca84280f284ffa4f7 SHA256 df3a5b6c74adef43a3e854c306ba63e21ec1de847bca48b13b4877d226ee9c75
AUX schroedinger-1.0.7-gst_adapter_masked_scan_uint32.patch 2230 RMD160 8af19661b6e79c743ce0d312430b1a3176b8ecd0 SHA1 c1db22825f709160aec542cab922903a12d40671 SHA256 86213867480a0f20ba8ba4d3bbbb773b84f34bc7fc073c097205c41370f69a1e
DIST schroedinger-1.0.5.tar.gz 828150 RMD160 a957c8322182b2780a35b6b085b430523332518b SHA1 a2ee0dabfc75b0c53c0c9acf8c6f60d91d279c26 SHA256 bbb73ebc3a22f53e75dfbaa1718eebcc5a3619bb200b50df42d5377b99ebf4d4
DIST schroedinger-1.0.7.tar.gz 877696 RMD160 07e01d82fec882f66ff4046e69ce83dc2fb65970 SHA1 87da84f942668249f96a42d4b85c13743e8b2c07 SHA256 a1be06dbd7e996ea6034560fe8af5cd30ffdc4a1892d1f79a4262feee1c46b00
EBUILD schroedinger-1.0.5.ebuild 1000 RMD160 a3728efc73ab484d8e9a47485375132e21cc2b8e SHA1 af5144700b489180f11cf10563e3c42a73dd658f SHA256 d6be3ea1a501c15d151c3a65f5e4cea3d217d9ddb2f7ac496d8b0f4241335b20
EBUILD schroedinger-1.0.7-r1.ebuild 1077 RMD160 b8c146379d70ad47ea00e731c45f956b07c7c083 SHA1 d109317970f34562370c495c02e8122c86a093f1 SHA256 1981d57a12d80492730f76c249952bf1fd09dc133cb9f31d038ca18d0cae9f89
+EBUILD schroedinger-1.0.7-r2.ebuild 1132 RMD160 bef214a6bccb13eaacb81988e66dbeb0fe8e74a3 SHA1 8c0b020e3b295d4ce41fa0bed2caac5464833af2 SHA256 c6ec4e125512bc25d5ac6ecf15610c72b84e2682eb1d1585d98e8fd160cfbcdf
EBUILD schroedinger-1.0.7.ebuild 1153 RMD160 7a7c149e7c3142c3e3fb9b483b1ded379b6a85cf SHA1 360ca6bb4140ef8210a0874b15641884440b186c SHA256 4fa64e987ff435447ca590a94b4a87b5b8c729e04d8237cf53aaa024317969f4
-MISC ChangeLog 4339 RMD160 892ced238f264653e42caeb45c9ef542384bc1ee SHA1 b789726d24c49cbf4aabf3b8874f7561173be651 SHA256 bbab0dc37a19bf99d7930d36629353b7ed88d8d4d2cb5f90a286b298bad18137
+MISC ChangeLog 4667 RMD160 b95530dba26acffc12b0f0a654da0e89d8125dd4 SHA1 e541417e223bacdd15f25db781b116a66364acd5 SHA256 107b5e38041dfd5a6af9882e16d3e15ac170db811de8ef3cc61303d1af19cd1d
MISC metadata.xml 275 RMD160 42f439fba1a5e257faae1816b9cc0fc18219fed5 SHA1 34ecd51be9f76b4637d91138641106513f18b685 SHA256 3ae7db9576ba39c1c15c3375d308fd166ca5e49a4d59451422bd5b3b20d58184
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.11 (GNU/Linux)
+
+iEYEARECAAYFAkqoyeIACgkQvFcC4BYPU0qDgQCgrHdDsE0oAR0qBjQua0FzEhw9
+538Ani45fIFraqyY1PrjDwS4m9X8B45V
+=3JW1
+-----END PGP SIGNATURE-----
diff --git a/media-libs/schroedinger/files/schroedinger-1.0.7-gst_adapter_get_buffer.patch b/media-libs/schroedinger/files/schroedinger-1.0.7-gst_adapter_get_buffer.patch
new file mode 100644
index 000000000000..b66108262abc
--- /dev/null
+++ b/media-libs/schroedinger/files/schroedinger-1.0.7-gst_adapter_get_buffer.patch
@@ -0,0 +1,66 @@
+https://bugs.gentoo.org/show_bug.cgi?id=284071
+
+
+------- Comment #2 From Randall Wald 2009-09-10 08:48:52 0000 [reply] -------
+
+After looking a bit at the code that was breaking, I realized that the problem
+occurred because the developers had created modified versions of some system
+gstreamer header files (notably, adding the gst_adapter_get_buffer function),
+but then used #includes which referred to the system copies, not the new copies
+they wanted. I made a patch to switch which copies of these files are included,
+and this let my build of schroedinger pass QA. I'll attach my patch and the
+modified ebuild which uses it.
+
+------- Comment #3 From Randall Wald 2009-09-10 08:53:04 0000 [reply] -------
+
+Created an attachment (id=203664) [edit]
+Patch to change which headers are included in a few key files
+
+This patch modifies three files (gstbasevideoparse.h, gstbasevideodecoder.h,
+and gstbasevideocodec.h) to use copies of gstbasevideocodec.h and
+gstbasevideoutils.h included with schroedinger's source tarball, rather than
+using the system copies of these files. This is important because the
+schroedinger copy of gstbasevideoutils.h defines the function
+gst_adapter_get_buffer, while the system copy (at least, on my system) does
+not.
+
+
+diff -ur schroedinger-1.0.7/gst-libs/gst/video/gstbasevideoparse.h.orig schroedinger-1.0.7/gst-libs/gst/video/gstbasevideoparse.h
+--- schroedinger-1.0.7/gst-libs/gst/video/gstbasevideoparse.h.orig 2009-09-10 04:37:44.206319157 -0400
++++ schroedinger-1.0.7/gst-libs/gst/video/gstbasevideoparse.h 2009-09-10 04:38:06.719330934 -0400
+@@ -20,8 +20,8 @@
+ #ifndef _GST_BASE_VIDEO_PARSE_H_
+ #define _GST_BASE_VIDEO_PARSE_H_
+
+-#include <gst/video/gstbasevideocodec.h>
+-#include <gst/video/gstbasevideoutils.h>
++#include "gstbasevideocodec.h"
++#include "gstbasevideoutils.h"
+
+ G_BEGIN_DECLS
+
+diff -ur schroedinger-1.0.7/gst-libs/gst/video/gstbasevideodecoder.h.orig schroedinger-1.0.7/gst-libs/gst/video/gstbasevideodecoder.h
+--- schroedinger-1.0.7/gst-libs/gst/video/gstbasevideodecoder.h.orig 2009-09-10 04:38:21.985071525 -0400
++++ schroedinger-1.0.7/gst-libs/gst/video/gstbasevideodecoder.h 2009-09-10 04:38:49.917081149 -0400
+@@ -20,7 +20,7 @@
+ #ifndef _GST_BASE_VIDEO_DECODER_H_
+ #define _GST_BASE_VIDEO_DECODER_H_
+
+-#include <gst/video/gstbasevideocodec.h>
++#include "gstbasevideocodec.h"
+
+ G_BEGIN_DECLS
+
+diff -ur schroedinger-1.0.7/gst-libs/gst/video/gstbasevideocodec.h.orig schroedinger-1.0.7/gst-libs/gst/video/gstbasevideocodec.h
+--- schroedinger-1.0.7/gst-libs/gst/video/gstbasevideocodec.h.orig 2009-09-10 04:39:10.407323883 -0400
++++ schroedinger-1.0.7/gst-libs/gst/video/gstbasevideocodec.h 2009-09-10 04:39:25.443233871 -0400
+@@ -22,7 +22,7 @@
+
+ #include <gst/gst.h>
+ #include <gst/video/gstvideocompat.h>
+-#include <gst/video/gstbasevideoutils.h>
++#include "gstbasevideoutils.h"
+
+ G_BEGIN_DECLS
+
+
diff --git a/media-libs/schroedinger/schroedinger-1.0.7-r2.ebuild b/media-libs/schroedinger/schroedinger-1.0.7-r2.ebuild
new file mode 100644
index 000000000000..b93e3d89caec
--- /dev/null
+++ b/media-libs/schroedinger/schroedinger-1.0.7-r2.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/schroedinger/schroedinger-1.0.7-r2.ebuild,v 1.1 2009/09/10 09:41:49 aballier Exp $
+
+EAPI=2
+inherit eutils libtool
+
+DESCRIPTION="C-based libraries and GStreamer plugins for the Dirac video codec"
+HOMEPAGE="http://www.diracvideo.org"
+SRC_URI="http://www.diracvideo.org/download/${PN}/${P}.tar.gz"
+
+LICENSE="|| ( MPL-1.1 LGPL-2.1 GPL-2 MIT )"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE="gstreamer"
+
+RDEPEND=">=dev-libs/liboil-0.3.16
+ gstreamer? ( >=media-libs/gstreamer-0.10.24
+ >=media-libs/gst-plugins-base-0.10.24 )"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-gst_adapter_masked_scan_uint32.patch
+ epatch "${FILESDIR}"/${P}-gst_adapter_get_buffer.patch
+ elibtoolize
+}
+
+src_configure() {
+ econf \
+ --disable-dependency-tracking \
+ --disable-gtk-doc \
+ $(use_enable gstreamer)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc AUTHORS NEWS TODO
+}