1 |
commit: 593b14c1c7d9d6f18221114fce29f7065c5a9d73 |
2 |
Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Dec 1 14:25:28 2012 +0000 |
4 |
Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Dec 1 14:40:56 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=593b14c1 |
7 |
|
8 |
media-libs/gstreamer: copy from gentoo-x86 |
9 |
|
10 |
Compare 0.10 series with 1.0 and update both as needed. |
11 |
|
12 |
--- |
13 |
...er-0.10.36-disable-test_fail_abstract_new.patch | 35 ++++++++++++++++++++ |
14 |
...eamer-1.0.3.ebuild => gstreamer-0.10.36.ebuild} | 27 ++++++++++++--- |
15 |
media-libs/gstreamer/gstreamer-1.0.3.ebuild | 1 - |
16 |
3 files changed, 57 insertions(+), 6 deletions(-) |
17 |
|
18 |
diff --git a/media-libs/gstreamer/files/gstreamer-0.10.36-disable-test_fail_abstract_new.patch b/media-libs/gstreamer/files/gstreamer-0.10.36-disable-test_fail_abstract_new.patch |
19 |
new file mode 100644 |
20 |
index 0000000..8162478 |
21 |
--- /dev/null |
22 |
+++ b/media-libs/gstreamer/files/gstreamer-0.10.36-disable-test_fail_abstract_new.patch |
23 |
@@ -0,0 +1,35 @@ |
24 |
+From e4707bfb24a8175018975a542f6e1c3b84ac02dd Mon Sep 17 00:00:00 2001 |
25 |
+From: Alexandre Rostovtsev <tetromino@g.o> |
26 |
+Date: Sun, 21 Oct 2012 00:26:24 -0400 |
27 |
+Subject: [PATCH] test: disable test_fail_abstract_new |
28 |
+ |
29 |
+Depending on how glib is configured, whether there are systemwide |
30 |
+debugging tools running, etc., this test can produce other signals, not |
31 |
+necessarily signal 11. |
32 |
+--- |
33 |
+ tests/check/gst/gstobject.c | 9 --------- |
34 |
+ 1 file changed, 9 deletions(-) |
35 |
+ |
36 |
+diff --git a/tests/check/gst/gstobject.c b/tests/check/gst/gstobject.c |
37 |
+index d5956db..25995bf 100644 |
38 |
+--- a/tests/check/gst/gstobject.c |
39 |
++++ b/tests/check/gst/gstobject.c |
40 |
+@@ -531,15 +531,6 @@ gst_object_suite (void) |
41 |
+ |
42 |
+ /* FIXME: GLib shouldn't crash here, but issue a warning and return a NULL |
43 |
+ * object, or at least g_error() and then abort properly ... (tpm) */ |
44 |
+-#ifndef HAVE_OSX |
45 |
+- /* Disabled for OS/X because a) it's a pretty silly test anyway and |
46 |
+- * b) different OS/X versions raise different signals and it isn't worth |
47 |
+- * the effort to try and detect which one should be producing which |
48 |
+- */ |
49 |
+- /* SEGV tests go last so we can debug the others */ |
50 |
+- if (g_getenv ("CK_FORK") == NULL || strcmp (g_getenv ("CK_FORK"), "no") != 0) |
51 |
+- tcase_add_test_raise_signal (tc_chain, test_fail_abstract_new, SIGSEGV); |
52 |
+-#endif |
53 |
+ |
54 |
+ return s; |
55 |
+ } |
56 |
+-- |
57 |
+1.7.12.3 |
58 |
+ |
59 |
|
60 |
diff --git a/media-libs/gstreamer/gstreamer-1.0.3.ebuild b/media-libs/gstreamer/gstreamer-0.10.36.ebuild |
61 |
similarity index 74% |
62 |
copy from media-libs/gstreamer/gstreamer-1.0.3.ebuild |
63 |
copy to media-libs/gstreamer/gstreamer-0.10.36.ebuild |
64 |
index b2e9d8f..a8b5f2f 100644 |
65 |
--- a/media-libs/gstreamer/gstreamer-1.0.3.ebuild |
66 |
+++ b/media-libs/gstreamer/gstreamer-0.10.36.ebuild |
67 |
@@ -11,21 +11,29 @@ HOMEPAGE="http://gstreamer.freedesktop.org/" |
68 |
SRC_URI="http://${PN}.freedesktop.org/src/${PN}/${P}.tar.xz" |
69 |
|
70 |
LICENSE="LGPL-2+" |
71 |
-SLOT="1.0" |
72 |
+SLOT="0.10" |
73 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" |
74 |
IUSE="+introspection nls +orc test" |
75 |
|
76 |
-RDEPEND=">=dev-libs/glib-2.32:2 |
77 |
- dev-libs/libxml2 |
78 |
- introspection? ( >=dev-libs/gobject-introspection-1.31.1 )" |
79 |
+RDEPEND=">=dev-libs/glib-2.24:2 |
80 |
+ >=dev-libs/libxml2-2.4.9 |
81 |
+ introspection? ( >=dev-libs/gobject-introspection-0.6.8 )" |
82 |
DEPEND="${RDEPEND} |
83 |
app-arch/xz-utils |
84 |
- >=dev-util/gtk-doc-am-1.12 |
85 |
+ >=dev-util/gtk-doc-am-1.3 |
86 |
sys-devel/bison |
87 |
sys-devel/flex |
88 |
virtual/pkgconfig |
89 |
nls? ( sys-devel/gettext )" |
90 |
# gtk-doc-am to install API docs |
91 |
+RDEPEND="${RDEPEND} |
92 |
+ !<media-libs/gst-plugins-base-0.10.26" |
93 |
+ # ^^ queue2 move, mustn't have both libgstcoreleements.so and libgstqueue2.so at runtime providing the element at once |
94 |
+ |
95 |
+src_prepare() { |
96 |
+ # Disable silly test that's not guaranteed to pass on an arbitrary machine |
97 |
+ epatch "${FILESDIR}/${PN}-0.10.36-disable-test_fail_abstract_new.patch" |
98 |
+} |
99 |
|
100 |
src_configure() { |
101 |
if [[ ${CHOST} == *-interix* ]] ; then |
102 |
@@ -62,6 +70,15 @@ src_install() { |
103 |
# Punt useless .la files |
104 |
prune_libtool_files --modules |
105 |
|
106 |
+ # Drop unversioned binaries |
107 |
+ cd "${D}"/usr/bin |
108 |
+ local gst_bins |
109 |
+ for gst_bins in *-${SLOT} ; do |
110 |
+ [[ -e ${gst_bins} ]] || continue |
111 |
+ rm ${gst_bins/-${SLOT}/} |
112 |
+ elog "Removed ${gst_bins/-${SLOT}/}" |
113 |
+ done |
114 |
+ |
115 |
# Needed for orc-using gst plugins on hardened/PaX systems, bug #421579 |
116 |
use orc && pax-mark -m "${ED}usr/bin/gst-launch-${SLOT}" \ |
117 |
"${ED}usr/libexec/gstreamer-${SLOT}/gst-plugin-scanner" |
118 |
|
119 |
diff --git a/media-libs/gstreamer/gstreamer-1.0.3.ebuild b/media-libs/gstreamer/gstreamer-1.0.3.ebuild |
120 |
index b2e9d8f..85a5f78 100644 |
121 |
--- a/media-libs/gstreamer/gstreamer-1.0.3.ebuild |
122 |
+++ b/media-libs/gstreamer/gstreamer-1.0.3.ebuild |
123 |
@@ -16,7 +16,6 @@ KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd6 |
124 |
IUSE="+introspection nls +orc test" |
125 |
|
126 |
RDEPEND=">=dev-libs/glib-2.32:2 |
127 |
- dev-libs/libxml2 |
128 |
introspection? ( >=dev-libs/gobject-introspection-1.31.1 )" |
129 |
DEPEND="${RDEPEND} |
130 |
app-arch/xz-utils |