summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2006-10-14 00:42:23 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2006-10-14 00:42:23 +0800
commit6aa8a876cb877c6171488d384ce746f05998b341 (patch)
treea280e45f11c2b83255c56add19b0905195ee6797
parentada303b4e3c3c3d9e7e88375f0f999182fe47859 (diff)
downloadmarcuscom-ports-6aa8a876cb877c6171488d384ce746f05998b341.tar
marcuscom-ports-6aa8a876cb877c6171488d384ce746f05998b341.tar.gz
marcuscom-ports-6aa8a876cb877c6171488d384ce746f05998b341.tar.bz2
marcuscom-ports-6aa8a876cb877c6171488d384ce746f05998b341.tar.lz
marcuscom-ports-6aa8a876cb877c6171488d384ce746f05998b341.tar.xz
marcuscom-ports-6aa8a876cb877c6171488d384ce746f05998b341.tar.zst
marcuscom-ports-6aa8a876cb877c6171488d384ce746f05998b341.zip
Fix the build, but I'm not sure how functional this is anymore.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7776 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r--multimedia/py-gstreamer80/files/patch-gst_arg-types.py11
-rw-r--r--multimedia/py-gstreamer80/files/patch-gst_gst.override17
-rw-r--r--multimedia/py-gstreamer80/files/patch-gst_gstpad.override22
3 files changed, 41 insertions, 9 deletions
diff --git a/multimedia/py-gstreamer80/files/patch-gst_arg-types.py b/multimedia/py-gstreamer80/files/patch-gst_arg-types.py
new file mode 100644
index 000000000..4711c7d2e
--- /dev/null
+++ b/multimedia/py-gstreamer80/files/patch-gst_arg-types.py
@@ -0,0 +1,11 @@
+--- gst/arg-types.py.orig Fri Oct 13 12:08:08 2006
++++ gst/arg-types.py Fri Oct 13 12:16:20 2006
+@@ -49,6 +49,8 @@ class GstDataPtrArg(ArgType):
+ info.add_parselist('O', ['&py_' + pname], [pname])
+ info.arglist.append(pname)
+ info.codebefore.append(self.normal % {'name': pname})
++ def write_return(self, ptype, ownsreturn, info):
++ return
+
+ class XmlNodeArg(ArgType):
+ """libxml2 node generator"""
diff --git a/multimedia/py-gstreamer80/files/patch-gst_gst.override b/multimedia/py-gstreamer80/files/patch-gst_gst.override
new file mode 100644
index 000000000..bf9073c50
--- /dev/null
+++ b/multimedia/py-gstreamer80/files/patch-gst_gst.override
@@ -0,0 +1,17 @@
+--- gst/gst.override.orig Fri Oct 13 12:03:56 2006
++++ gst/gst.override Fri Oct 13 12:03:42 2006
+@@ -570,14 +570,6 @@ _wrap_gst_type_find_factory_get_caps(PyG
+ return pyg_boxed_new(GST_TYPE_CAPS, ret, TRUE, TRUE);
+ }
+ %%
+-override gst_type_find_factory_get_caps noargs
+-static PyObject *
+-_wrap_gst_type_find_factory_get_caps(PyGObject *self)
+-{
+- GstCaps *ret = (GstCaps*)gst_type_find_factory_get_caps(GST_TYPE_FIND_FACTORY(self->obj));
+- return pyg_boxed_new(GST_TYPE_CAPS, ret, TRUE, TRUE);
+-}
+-%%
+ override-attr GError.domain
+ static PyObject *
+ _wrap_gst_g_error__get_domain(PyGObject *self, void *closure)
diff --git a/multimedia/py-gstreamer80/files/patch-gst_gstpad.override b/multimedia/py-gstreamer80/files/patch-gst_gstpad.override
index 446af1fe5..9ab49dc29 100644
--- a/multimedia/py-gstreamer80/files/patch-gst_gstpad.override
+++ b/multimedia/py-gstreamer80/files/patch-gst_gstpad.override
@@ -1,20 +1,24 @@
---- gst/gstpad.override.orig Tue Oct 10 18:58:35 2006
-+++ gst/gstpad.override Tue Oct 10 18:58:59 2006
-@@ -443,17 +443,6 @@ _wrap_gst_pad_link_filtered(PyGObject *s
+--- gst/gstpad.override.orig Wed May 4 06:59:39 2005
++++ gst/gstpad.override Fri Oct 13 12:40:22 2006
+@@ -443,16 +443,15 @@ _wrap_gst_pad_link_filtered(PyGObject *s
}
%%
-override gst_pad_get_negotiated_caps
--static PyObject *
++override gst_pad_pull noargs
+ static PyObject *
-_wrap_gst_pad_get_negotiated_caps(PyGObject *self)
--{
++_wrap_gst_pad_pull(PyGObject *self)
+ {
- const GstCaps *ret;
--
++ GstData *ret = (GstData*)gst_pad_pull(GST_PAD(self->obj));
+
- ret = gst_pad_get_negotiated_caps(GST_PAD(self->obj));
- /* pyg_boxed_new handles NULL checking */
- return pyg_boxed_new(GST_TYPE_CAPS, ret, TRUE, TRUE);
--}
--%%
++ return pyg_boxed_new(GST_TYPE_DATA, ret, TRUE, TRUE);
+ }
++
+ %%
override gst_pad_get_negotiated_caps noargs
static PyObject *
- _wrap_gst_pad_get_negotiated_caps(PyGObject *self)