gstreamer fix and update
This commit is contained in:
@@ -16,17 +16,11 @@ def setup():
|
||||
|
||||
options = '--with-package-name="GStreamer for PisiLinux" \
|
||||
--with-package-origin="http://www.pisilinux.org" \
|
||||
--enable-nls \
|
||||
--disable-dependency-tracking \
|
||||
--disable-examples \
|
||||
--enable-introspection \
|
||||
--disable-static \
|
||||
--disable-rpath \
|
||||
--disable-valgrind \
|
||||
--disable-gtk-doc'
|
||||
|
||||
if get.buildTYPE() == "emul32":
|
||||
options += " --bindir=/usr/bin32 \
|
||||
--libdir=/usr/lib32 \
|
||||
--libexecdir=/usr/libexec32 \
|
||||
--disable-introspection"
|
||||
|
||||
|
||||
+60
@@ -0,0 +1,60 @@
|
||||
From 5bff3ba949d2ac0a9946c1240e6d4a5bb53fda99 Mon Sep 17 00:00:00 2001
|
||||
From: Tim-Philipp Müller <tim.muller@collabora.co.uk>
|
||||
Date: Wed, 08 Aug 2012 13:49:23 +0000
|
||||
Subject: tests: remove silly test_fail_abstract_new check
|
||||
|
||||
Our check would make sure that GLib segfaults when
|
||||
someone tries to instantiate an abstract type, which
|
||||
is an extremely useful thing to check for.
|
||||
|
||||
In newer GLibs this is fixed and we get an abort with
|
||||
a g_error() now it seems, so let's just remove this
|
||||
check entirely.
|
||||
---
|
||||
(limited to 'tests/check/gst/gstobject.c')
|
||||
|
||||
diff --git a/tests/check/gst/gstobject.c b/tests/check/gst/gstobject.c
|
||||
index 6f7ccb8..ce2ed3e 100644
|
||||
--- a/tests/check/gst/gstobject.c
|
||||
+++ b/tests/check/gst/gstobject.c
|
||||
@@ -72,19 +72,6 @@ gst_fake_object_get_type (void)
|
||||
return fake_object_type;
|
||||
}
|
||||
|
||||
-#ifndef HAVE_OSX
|
||||
-/* g_object_new on abstract GstObject should fail */
|
||||
-GST_START_TEST (test_fail_abstract_new)
|
||||
-{
|
||||
- GstObject *object;
|
||||
-
|
||||
- ASSERT_CRITICAL (object = g_object_new (gst_object_get_type (), NULL));
|
||||
- fail_unless (object == NULL, "Created an instance of abstract GstObject");
|
||||
-}
|
||||
-
|
||||
-GST_END_TEST;
|
||||
-#endif
|
||||
-
|
||||
/* g_object_new on GstFakeObject should succeed */
|
||||
GST_START_TEST (test_fake_object_new)
|
||||
{
|
||||
@@ -529,18 +516,6 @@ gst_object_suite (void)
|
||||
tcase_add_test (tc_chain, test_fake_object_has_ancestor);
|
||||
//tcase_add_checked_fixture (tc_chain, setup, teardown);
|
||||
|
||||
- /* FIXME: GLib shouldn't crash here, but issue a warning and return a NULL
|
||||
- * object, or at least g_error() and then abort properly ... (tpm) */
|
||||
-#ifndef HAVE_OSX
|
||||
- /* Disabled for OS/X because a) it's a pretty silly test anyway and
|
||||
- * b) different OS/X versions raise different signals and it isn't worth
|
||||
- * the effort to try and detect which one should be producing which
|
||||
- */
|
||||
- /* SEGV tests go last so we can debug the others */
|
||||
- if (g_getenv ("CK_FORK") == NULL || strcmp (g_getenv ("CK_FORK"), "no") != 0)
|
||||
- tcase_add_test_raise_signal (tc_chain, test_fail_abstract_new, SIGSEGV);
|
||||
-#endif
|
||||
-
|
||||
return s;
|
||||
}
|
||||
|
||||
--
|
||||
cgit v0.9.0.2-2-gbebe
|
||||
@@ -15,12 +15,14 @@
|
||||
<Description>GStreamer is a streaming media framework, based on graphs of filters which operate on media data. Applications using this library can do anything from real-time sound processing to playing videos, and just about anything else media-related.</Description>
|
||||
<Archive sha1sum="27931b00eb5d50bc477e32e2dda7440f4179e7ac" type="tarxz">http://ftp.gnome.org/pub/gnome/sources/gstreamer/0.10/gstreamer-0.10.36.tar.xz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>glib2-devel</Dependency>
|
||||
<Dependency>gobject-introspection-devel</Dependency>
|
||||
<Dependency>gobject-introspection-devel</Dependency>
|
||||
<Dependency>libxml2-devel</Dependency>
|
||||
<Dependency>glib2-devel</Dependency>
|
||||
<Dependency>gsl-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<!-- FIXME: this is a workaround for following plugin changes, in case timestamp has not changed, it is a bit too complex though-->
|
||||
<Patch level="1">tests-remove-silly-test_fail_abstract_new-check.patch</Patch>
|
||||
<Patch level="1">wrapper-plugins.patch</Patch>
|
||||
<Patch level="1">bison3.patch</Patch>
|
||||
</Patches>
|
||||
@@ -80,6 +82,13 @@
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="4">
|
||||
<Date>2017-02-17</Date>
|
||||
<Version>0.10.36</Version>
|
||||
<Comment>Rebuild</Comment>
|
||||
<Name>Pisi Linux Community</Name>
|
||||
<Email>admin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2016-06-09</Date>
|
||||
<Version>0.10.36</Version>
|
||||
|
||||
Reference in New Issue
Block a user